summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDavid Brodski <david@brodski.eu>2010-08-03 17:52:40 +0000
committerDavid Brodski <david@brodski.eu>2010-08-03 17:52:40 +0000
commit2f9d5ce6ec4abad89d07c5238ee9f71e64e46fc4 (patch)
tree8e20dcae8c83abd9ce11cbdd628f82b21ad4f3bc /configure.ac
parent6c1c263b8fb00534edc106b131d0b1ddeef1d07a (diff)
Error Message for libpcap was wrong
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 0a46e77ac..76eec8912 100644
--- a/configure.ac
+++ b/configure.ac
@@ -345,7 +345,7 @@ AC_SUBST(POSTGRES_CPPFLAGS)
AC_SUBST(POSTGRES_LDFLAGS)
# test for pcap
-pcap=false
+pcap=0
AC_MSG_CHECKING(for libpcap)
AC_ARG_WITH(pcap,
[ --with-pcap=PFX base of pcap installation],
@@ -364,15 +364,15 @@ AC_ARG_WITH(pcap,
EXT_LIB_PATH="-L$with_pcap/lib $EXT_LIB_PATH"
PCAP_LDFLAGS="-L$with_pcap/lib"
PCAP_CPPFLAGS="-I$with_pcap/include"
- pcap=true)
+ pcap=1)
LDFLAGS=$SAVE_LDFLAGS
CPPFLAGS=$SAVE_CPPFLAGS
;;
esac
],
[AC_MSG_RESULT([--with-pcap not specified])
- AC_CHECK_HEADERS(pcap.h, pcap=true)])
-AM_CONDITIONAL(HAVE_PCAP, test x$pcap = xtrue)
+ AC_CHECK_HEADERS(pcap.h, pcap=1)])
+AM_CONDITIONAL(HAVE_PCAP, test x$pcap = x1)
AC_SUBST(PCAP_CPPFLAGS)
AC_SUBST(PCAP_LDFLAGS)