#!/bin/sh prefix="/usr" exec_prefix="/usr" VERSION="1.8.4" CFLAGS="-DOPENSSL_API_COMPAT=10100 -fno-strict-aliasing -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing -D_GNU_SOURCE" CPPFLAGS=" " LDFLAGS=" " PYTHON_CPPFLAGS="-I/usr/include/python3.10" PYTHON_LDFLAGS="@PYTHON_LDFLAGS@" LIBS=" -lssl -lcrypto" LIBDIR="/usr/lib" INCLUDEDIR="/usr/include" LIBVERSION="9:0:6" 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