X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/75dfb67fd068cc291e22f4f813b407812ebd09d2..993289f9a8abcaa85250856d5940b569b7f21068:/projects/stargazer/build?ds=sidebyside diff --git a/projects/stargazer/build b/projects/stargazer/build index 60c8e1ff..a3b64c19 100755 --- a/projects/stargazer/build +++ b/projects/stargazer/build @@ -335,6 +335,20 @@ else fi fi +echo -n "Checking for linux/netfilter_ipv4/ip_queue.h... " +echo "#include int main() { return 0; }" > build_check.c +$CC $CFLAGS $LDFLAGS build_check.c -lexpat -o fake > /dev/null 2> /dev/null +if [ $? != 0 ] +then + CHECK_IP_QUEUE_H=no + echo "no" +else + CHECK_IP_QUEUE_H=yes + DEFS="$DEFS HAS_IP_QUEUE_H" + echo "yes" +fi +rm -f fake + rm -f build_check.c if [ "$CHECK_EXPAT" != "yes" ]