dnl Process this file with autoconf to create configure. AC_INIT AC_CANONICAL_SYSTEM AM_INIT_AUTOMAKE(libnetfilter_log, 0.0.12) AC_PROG_CC AM_PROG_LIBTOOL AC_PROG_INSTALL AC_PROG_LN_S 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 makefile AC_OUTPUT(Makefile src/Makefile include/Makefile include/libnetfilter_log/Makefile utils/Makefile)