/usr/bin/daq-modules-config is in libdaq-dev 2.0.4-3build2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | #! /bin/sh
#
# Script to give the appropriate compiler flags and linker flags
# to use when building code that uses LibDAQ modules.
#
prefix=/usr
exec_prefix=${prefix}
LIBDIR=${exec_prefix}/lib
STATIC_LIBS=" -lsfbpf -lpcap -lsfbpf -lpcap"
static=0
show_libs=0
while [ "$#" != 0 ]
do
case "$1" in
--static)
static=1
;;
--libs)
show_libs=1
;;
esac
shift
done
if [ "$static" = 1 ]
then
#
# Include LIBS so that the flags include libraries containing
# routines that LibDAQ uses.
#
if [ "$show_libs" = 1 ] ; then
echo "-L$LIBDIR -ldaq_static_modules $STATIC_LIBS"
fi
fi
|