dnl Process this file with autoconf to create configure. AC_INIT AC_CANONICAL_SYSTEM AM_INIT_AUTOMAKE(libnetfilter_queue, 0.0.12) AC_PROG_CC AC_EXEEXT AM_PROG_LIBTOOL AC_PROG_INSTALL AC_SUBST(LIBTOOL_DEPS) case $target in *-*-linux*) ;; *) AC_MSG_ERROR([Linux only, dude!]);; esac AC_CHECK_LIB([nfnetlink], [nfnl_listen]) AC_CHECK_HEADER([libnfnetlink/linux_nfnetlink.h], [AC_MSG_RESULT([found])], [AC_MSG_ERROR([libnfnetlink 0.0.12 or later needed])]) dnl Output the makefiles AC_OUTPUT(Makefile include/Makefile include/libnetfilter_queue/Makefile src/Makefile utils/Makefile)