/usr/sbin/ldns-config is in libldns-dev 1.6.17-1ubuntu0.1.
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 | #!/bin/sh
prefix="/usr"
exec_prefix="${prefix}"
VERSION="1.6.17"
CFLAGS="-Wstrict-prototypes -Wwrite-strings -W -Wall -g -O2"
CPPFLAGS=" "
LDFLAGS=" "
LIBS=" -lcrypto -ldl"
LIBDIR="${exec_prefix}/lib"
INCLUDEDIR="${prefix}/include"
LIBVERSION="@LIBLDNS_CURRENT@.@LIBLDNS_REVISION@.@LIBLDNS_AGE@"
for arg in $@
do
if [ $arg = "--cflags" ]
then
echo "-I${INCLUDEDIR}"
fi
if [ $arg = "--libs" ]
then
echo "${LDFLAGS} -L${LIBDIR} ${LIBS} -lldns"
fi
if [ $arg = "-h" ] || [ $arg = "--help" ]
then
echo "Usage: $0 [--cflags] [--libs] [--version]"
fi
if [ $arg = "--version" ]
then
echo "${VERSION}"
fi
if [ $arg = "--libversion" ]
then
echo "${LIBVERSION}"
fi
done
|