tcpdump mailing list archives
Patch : fix minor configure wart for libpcap
From: Erik de Castro Lopo <erikd+tcpdump () sensorynetworks com>
Date: Tue, 6 Jan 2004 10:26:17 +1100
Hi all,
I'm working on a patch for libpcap's configure script when I found a
small problem (running autoconf version 2.57 on a Redhat 9 machine).
When I run autoconf on the unmodified configure.in from CVS I get
the following error which prevents a new configure script from
being generated:
configure.in:35: error: do not use LIBOBJS directly, use AC_LIBOBJ
(see section `AC_LIBOBJ vs LIBOBJS'
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
I believe that the use of LIBOBJS here is legitimate (because libpcap
doesn't use automake) and the patch below prevents autoconf flagging this
as an error.
Cheers,
Erik
diff -u -r1.104 configure.in
--- configure.in 15 Dec 2003 01:35:04 -0000 1.104
+++ configure.in 5 Jan 2004 23:23:30 -0000
@@ -32,6 +32,7 @@
AC_CHECK_FUNCS(ether_hostton strerror strlcpy)
needsnprintf=no
+m4_pattern_allow(LIBOBJS)
LIBOBJS=
AC_CHECK_FUNCS(vsnprintf snprintf,,
[needsnprintf=yes])
--
------------------------------------------------------
[N] Erik de Castro Lopo, Senior Computer Engineer
[E] erik.de.castro.lopo () sensorynetworks com
[W] http://www.sensorynetworks.com
[T] +61 2 83022726
[F] +61 2 94750316
[A] L4/140 William St, East Sydney NSW 2011, Australia
------------------------------------------------------
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:tcpdump-workers-request () tcpdump org?body=unsubscribe
Current thread:
- Patch : fix minor configure wart for libpcap Erik de Castro Lopo (Jan 05)
- Re: Patch : fix minor configure wart for libpcap Guy Harris (Jan 05)
- Re: Patch : fix minor configure wart for libpcap Erik de Castro Lopo (Jan 06)
- Re: Patch : fix minor configure wart for libpcap Guy Harris (Jan 08)
- Re: Patch : fix minor configure wart for libpcap Guy Harris (Jan 13)
- Re: Patch : fix minor configure wart for libpcap Erik de Castro Lopo (Jan 06)
- Re: Patch : fix minor configure wart for libpcap Guy Harris (Jan 05)
