aboutsummaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>1999-09-09 21:29:58 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>1999-09-09 21:29:58 +0000
commit731ef55b7418bd1fd079176fc0be080b59b7db28 (patch)
tree9f34ecdbfe3e054592566adbf3a445b79be5bac3 /acinclude.m4
parent7f93e52e900248aad24e7aed75359371b011d258 (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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@642 f5534014-38df-0310-8fa8-9805f1628bb7
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.))
])