]> The Tcpdump Group git mirrors - libpcap/commitdiff
Autoconf 2.5x won't let you modify LIBOBJS directly; use AC_LIBOBJ to
authorguy <guy>
Wed, 14 Jan 2004 03:00:36 +0000 (03:00 +0000)
committerguy <guy>
Wed, 14 Jan 2004 03:00:36 +0000 (03:00 +0000)
modify it.

AC_LIBOBJ isn't supported by pre-2.50 autoconf; require 2.50.

configure.in

index 55645b6b993acbf6a0f321366ec97086dbb9052b..9b0920859cfe421646712a5b2bbaa7417fb8ff44 100644 (file)
@@ -1,4 +1,4 @@
-dnl @(#) $Header: /tcpdump/master/libpcap/configure.in,v 1.104 2003-12-15 01:35:04 guy Exp $ (LBL)
+dnl @(#) $Header: /tcpdump/master/libpcap/configure.in,v 1.105 2004-01-14 03:00:36 guy Exp $ (LBL)
 dnl
 dnl Copyright (c) 1994, 1995, 1996, 1997
 dnl    The Regents of the University of California.  All rights reserved.
@@ -6,7 +6,8 @@ dnl
 dnl Process this file with autoconf to produce a configure script.
 dnl
 
-AC_REVISION($Revision: 1.104 $)
+AC_REVISION($Revision: 1.105 $)
+AC_PREREQ(2.50)
 AC_INIT(pcap.c)
 
 AC_CANONICAL_SYSTEM
@@ -32,13 +33,11 @@ AC_LBL_FIXINCLUDES
 AC_CHECK_FUNCS(ether_hostton strerror strlcpy)
 
 needsnprintf=no
-LIBOBJS=
 AC_CHECK_FUNCS(vsnprintf snprintf,,
        [needsnprintf=yes])
 if test $needsnprintf = yes; then
-       LIBOBJS="$LIBOBJS snprintf.o"
+       AC_LIBOBJ(snprintf.o)
 fi
-AC_SUBST(LIBOBJS)
 
 dnl to pacify those who hate protochain insn
 AC_MSG_CHECKING(if --disable-protochain option is specified)