dnl This file is part of the Autoconf packaging for Ethereal.
dnl Copyright (C) 1998-2000 by Gerald Combs.
dnl
-dnl $Id: acinclude.m4,v 1.8 2001/06/27 07:47:49 guy Exp $
+dnl $Id: acinclude.m4,v 1.9 2001/07/27 07:10:13 guy Exp $
dnl
# Configure paths for GLIB
else
#
# The user specified a directory in which libpcap resides,
- # so add that directory to the search path.
+ # so add the "include" subdirectory of that directory to
+ # the include file search path.
#
# XXX - if there's also a libpcap in a directory that's
# already in CFLAGS, CPPFLAGS, or LDFLAGS, this won't
# as the compiler and/or linker will search that other
# directory before it searches the specified directory.
#
- CFLAGS="$CFLAGS -I$pcap_dir"
- CPPFLAGS="$CPPFLAGS -I$pcap_dir"
+ CFLAGS="$CFLAGS -I$pcap_dir/include"
+ CPPFLAGS="$CPPFLAGS -I$pcap_dir/include"
fi
# Pcap header check