|
Packit |
04dc98 |
dnl Process this file with autoconf to create configure.
|
|
Packit |
04dc98 |
|
|
Packit |
04dc98 |
AC_INIT([libnetfilter_cttimeout], [1.0.0])
|
|
Packit |
04dc98 |
AC_CONFIG_AUX_DIR([build-aux])
|
|
Packit |
04dc98 |
AC_CANONICAL_HOST
|
|
Packit |
04dc98 |
AC_CONFIG_MACRO_DIR([m4])
|
|
Packit |
04dc98 |
AC_CONFIG_HEADERS([config.h])
|
|
Packit |
04dc98 |
|
|
Packit |
04dc98 |
AM_INIT_AUTOMAKE([-Wall foreign tar-pax no-dist-gzip dist-bzip2
|
|
Packit |
04dc98 |
1.6 subdir-objects])
|
|
Packit |
04dc98 |
|
|
Packit |
04dc98 |
dnl kernel style compile messages
|
|
Packit |
04dc98 |
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
|
Packit |
04dc98 |
|
|
Packit |
04dc98 |
dnl Dependencies
|
|
Packit |
04dc98 |
PKG_CHECK_MODULES([LIBMNL], [libmnl >= 1.0.0])
|
|
Packit |
04dc98 |
|
|
Packit |
04dc98 |
AC_PROG_CC
|
|
Packit |
04dc98 |
AM_PROG_CC_C_O
|
|
Packit |
04dc98 |
AC_DISABLE_STATIC
|
|
Packit |
04dc98 |
LT_INIT
|
|
Packit |
04dc98 |
CHECK_GCC_FVISIBILITY
|
|
Packit |
04dc98 |
case "$host" in
|
|
Packit |
04dc98 |
*-*-linux*) ;;
|
|
Packit |
04dc98 |
*) AC_MSG_ERROR([Linux only, dude!]);;
|
|
Packit |
04dc98 |
esac
|
|
Packit |
04dc98 |
|
|
Packit |
04dc98 |
regular_CPPFLAGS="-D_FILE_OFFSET_BITS=64 -D_REENTRANT"
|
|
Packit |
04dc98 |
regular_CFLAGS="-Wall -Waggregate-return -Wmissing-declarations \
|
|
Packit |
04dc98 |
-Wmissing-prototypes -Wshadow -Wstrict-prototypes \
|
|
Packit |
04dc98 |
-Wformat=2 -pipe"
|
|
Packit |
04dc98 |
AC_SUBST([regular_CPPFLAGS])
|
|
Packit |
04dc98 |
AC_SUBST([regular_CFLAGS])
|
|
Packit |
04dc98 |
AC_CONFIG_FILES([Makefile src/Makefile include/Makefile include/libnetfilter_cttimeout/Makefile include/linux/Makefile include/linux/netfilter/Makefile examples/Makefile libnetfilter_cttimeout.pc doxygen.cfg])
|
|
Packit |
04dc98 |
AC_OUTPUT
|