From: guy Date: Tue, 2 Jan 2001 22:36:50 +0000 (+0000) Subject: Patch from Pekka Savola to keep from dragging in our X-Git-Tag: tcpdump-3.5.1~13 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/5c46e9a6ccd9455a924619f4886ee2a044b5cc70?ds=inline Patch from Pekka Savola to keep from dragging in our version of "snprintf()" unless the platform on which we're running lacks "snprintf()" or "vsnprintf()" - if it lacks one of the "asprintf" family of routines, we don't drag it in, as we don't use those routines. --- diff --git a/CREDITS b/CREDITS index db30a50a..53da8479 100644 --- a/CREDITS +++ b/CREDITS @@ -34,6 +34,7 @@ Additional people who have contributed patches: Motonori Shindo Onno van der Linden Pasvorn Boonmark + Pekka Savola Peter Jeremy Rafal Maszkowski Richard Sharpe diff --git a/configure.in b/configure.in index 4b7e10a8..978a86bb 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -dnl @(#) $Header: /tcpdump/master/tcpdump/configure.in,v 1.130 2000-12-09 02:58:47 fenner Exp $ (LBL) +dnl @(#) $Header: /tcpdump/master/tcpdump/configure.in,v 1.131 2001-01-02 22:36:50 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,7 @@ dnl dnl Process this file with autoconf to produce a configure script. dnl -AC_REVISION($Revision: 1.130 $) +AC_REVISION($Revision: 1.131 $) AC_PREREQ(2.13) AC_INIT(tcpdump.c) @@ -461,7 +461,7 @@ if test $usegetipnodeby = yes; then fi needsnprintf=no -AC_CHECK_FUNCS(vsnprintf snprintf asprintf asnprintf vasprintf vasnprintf,, +AC_CHECK_FUNCS(vsnprintf snprintf,, [needsnprintf=yes]) if test $needsnprintf = yes; then LIBOBJS="$LIBOBJS snprintf.o"