Viewing File: /usr/local/cpanel/3rdparty/bin/ldns-config
#!/bin/sh
prefix="/usr/local/cpanel/3rdparty"
exec_prefix="/usr/local/cpanel/3rdparty"
VERSION="1.8.1"
CFLAGS="-fno-strict-aliasing -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic"
CPPFLAGS=" "
LDFLAGS="-Wl,-z,relro "
PYTHON_CPPFLAGS=""
PYTHON_LDFLAGS="@PYTHON_LDFLAGS@"
LIBS=" -lcrypto"
LIBDIR="/usr/local/cpanel/3rdparty/lib64"
INCLUDEDIR="/usr/local/cpanel/3rdparty/include"
LIBVERSION="5:0:2"
for arg in $@
do
if [ $arg = "--cflags" ]
then
echo "-I${INCLUDEDIR}"
fi
if [ $arg = "--python-cflags" ]
then
echo "${PYTHON_CPPFLAGS} -I${INCLUDEDIR}"
fi
if [ $arg = "--libs" ]
then
echo "${LDFLAGS} -L${LIBDIR} ${LIBS} -lldns"
fi
if [ $arg = "--python-libs" ]
then
echo "${LDFLAGS} ${PYTHON_LDFLAGS} -L${LIBDIR} ${LIBS} -lldns"
fi
if [ $arg = "-h" ] || [ $arg = "--help" ]
then
echo "Usage: $0 [--cflags] [--python-cflags] [--libs] [--python-libs] [--version]"
fi
if [ $arg = "--version" ]
then
echo "${VERSION}"
fi
if [ $arg = "--libversion" ]
then
echo "${LIBVERSION}"
fi
done
Back to Directory
File Manager