On Mon, Oct 08, 2001 at 01:14:03AM -0400, Michael Richardson wrote:
> It looks like a simple case of hacking aclocal.m4 a la "places"
> above it.
Presumably you mean hacking it to do something along the lines of
places=`ls $srcdir/.. | sed -e 's,/$,,' -e 's,^,../,' | \
egrep '/libpcap-[0-9]*.[0-9]*(.[0-9]*)?([ab][0-9]*)?$'`
and then doing
elif test -r $srcdir/$places/pcap.h; then
V_INCLS="-I$d -I$srcdir/$places $V_INCLS"
rather than
elif test -r $srcdir/../libpcap/pcap.h; then
$2="-I$d -I$srcdir/../libpcap $$2"
(or maybe something such as
places=`ls $srcdir/.. | sed -e 's,/$,,' -e 's,^,$srcdir/../,' | \
egrep '/libpcap-[0-9]*.[0-9]*(.[0-9]*)?([ab][0-9]*)?$'`
and
elif test -r $places/pcap.h; then
V_INCLS="-I$d -I$places $V_INCLS"
) although, while you're at it, you might want to just do
elif test -r $srcdir/$places/pcap.h; then
V_INCLS="-I$srcdir/$places $V_INCLS"
as the "-I$d" doesn't, as far as I know, do any good, as there's no
"pcap.h" file in "$d".
(Don't forget to check that into the 3.7 branch or slip the tag.)
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe