diff options
author | Guy Harris <guy@alum.mit.edu> | 2010-02-19 00:15:29 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2010-02-19 00:15:29 +0000 |
commit | 980ac5960e87c635e114dffaa8986da6d094a6bc (patch) | |
tree | ea2e9a53205fb2025f679d1dafd45beb2346a304 /acinclude.m4 | |
parent | 88035881c3c9d852545d65ca23363871184f9fbb (diff) |
Don't say "Checking for broken pcap-config" if we don't have a
pcap-config to check for brokenness.
svn path=/trunk/; revision=31919
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 7c91260d54..ecc28bd7d9 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -329,13 +329,15 @@ AC_DEFUN([AC_WIRESHARK_PCAP_CHECK], # AC_PATH_PROG(PCAP_CONFIG, pcap-config) - # - # Now check whether it's the libpcap 1.0 version, which - # put a space after "-L" - on some platforms, that doesn't - # work. - # - AC_MSG_CHECKING(for broken pcap-config) if test -n "$PCAP_CONFIG" ; then + # + # Found it. + # + # Now check whether it's the libpcap 1.0 version, which + # put a space after "-L" - on some platforms, that doesn't + # work. + # + AC_MSG_CHECKING(for broken pcap-config) case "`\"$PCAP_CONFIG\" --libs`" in "-L "*) @@ -356,8 +358,8 @@ AC_DEFUN([AC_WIRESHARK_PCAP_CHECK], fi if test -n "$PCAP_CONFIG" ; then # - # Found - use it to get the include flags for - # libpcap. + # Found it, and it's usable; use it to get the include flags + # for libpcap. # CFLAGS="$CFLAGS `\"$PCAP_CONFIG\" --cflags`" CPPFLAGS="$CPPFLAGS `\"$PCAP_CONFIG\" --cflags`" |