aboutsummaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-09-09 21:29:58 +0000
committerGuy Harris <guy@alum.mit.edu>1999-09-09 21:29:58 +0000
commit92c4f1d830c543163cde05c7d7a82f0f3f359d7b (patch)
tree9f34ecdbfe3e054592566adbf3a445b79be5bac3 /acinclude.m4
parentca61d69c63d7637e42920530803e82bbe93b8bb4 (diff)
Expand the message printed if "configure" can't find "net/bpf.h" to
remind you that if you've installed "libpcap" from source, you have to do "make install-incl" as well. svn path=/trunk/; revision=642
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 0587fb0c04..f0d5d41ae0 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -185,7 +185,8 @@ AC_DEFUN(AC_ETHEREAL_PCAP_CHECK,
fi
# Pcap checks
- AC_CHECK_HEADER(net/bpf.h,, AC_MSG_ERROR(Header file net/bpf.h not found.))
+ AC_CHECK_HEADER(net/bpf.h,,
+ AC_MSG_ERROR([[Header file net/bpf.h not found; if you installed libpcap from source, did you also do \"make install-incl\"?]]))
AC_CHECK_HEADER(pcap.h,, AC_MSG_ERROR(Header file pcap.h not found.))
AC_CHECK_LIB(pcap, pcap_open_offline,, AC_MSG_ERROR(Library libpcap not found.))
])