summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
author/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org>2005-11-11 14:01:12 +0000
committer/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org>2005-11-11 14:01:12 +0000
commitf07644d7341c378bfe93cb6ed2e587c78f2e3aa8 (patch)
tree45997a074c12308ab259fb6f66eb245847055706 /configure.in
parent33617e404022f3d2be96fe75ac577367afc9decc (diff)
downloadconntrack-tools-f07644d7341c378bfe93cb6ed2e587c78f2e3aa8.tar.gz
conntrack-tools-f07644d7341c378bfe93cb6ed2e587c78f2e3aa8.zip
- don't install the header files when 'make install' is run. they're private
- don't check for kernel header files, since we don't include any.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in35
1 files changed, 0 insertions, 35 deletions
diff --git a/configure.in b/configure.in
index 22c97f7..e0e046a 100644
--- a/configure.in
+++ b/configure.in
@@ -38,41 +38,6 @@ dnl AC_CHECK_FUNCS([memset])
dnl--------------------------------
-AC_DEFUN([NF_KERNEL_SOURCE],[
-
- if test "$with_kernel" = ""; then
- KERNEL="`uname -r`"
- else
- KERNEL="$with_kernel"
- fi
-
- THIS_PREFIX=""
- for i in "/lib/modules/$KERNEL/build/include" "$KERNEL" "$KERNEL/include" "/usr/src/linux-$KERNEL" "/usr/src/kernel-$KERNEL" "/usr/src/linux-headers-$KERNEL" "/usr/src/kernel-headers-$KERNEL"
- do
- AC_MSG_CHECKING([Looking for kernel source or headers in $i])
- if test -r "$i/linux/config.h"
- then
- THIS_PREFIX="$i"
- AC_MSG_RESULT([found])
- break
- fi
- AC_MSG_RESULT([ ])
- done
- if test -r "$THIS_PREFIX/linux/config.h" ; then
- AC_SUBST(KERNELDIR,[$THIS_PREFIX])
- AC_MSG_RESULT([found])
- else
- AC_MSG_ERROR([not found $THIS_PREFIX])
- fi
-
- # somehow add this as an include path
-])
-
-AC_ARG_WITH(kernel,
- AC_HELP_STRING([--with-kernel=DIR],
- [ Show location of kernel source. Default is to use uname -r and look in /lib/modules/KERNEL/build/include. ]),
- NF_KERNEL_SOURCE($with_kernel),NF_KERNEL_SOURCE())
-
if test ! -z "$libdir"; then
MODULE_DIR="\\\"$libdir/conntrack/\\\""
CFLAGS="$CFLAGS -DCONNTRACK_LIB_DIR=$MODULE_DIR"