From 11430c032ba634f8a82ac58dd5d763d4b38ab1d7 Mon Sep 17 00:00:00 2001 From: wessels <> Date: Tue, 21 Oct 1997 08:45:00 +0000 Subject: [PATCH] rearrange snprintf/vsnprintf --- configure | 12 ++++++------ configure.in | 6 +++--- lib/Makefile.in | 3 ++- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/configure b/configure index 6d4b7f5db0..d213446dfe 100755 --- a/configure +++ b/configure @@ -520,7 +520,7 @@ fi -# From configure.in Revision: 1.78 +# From configure.in Revision: 1.80 ac_aux_dir= for ac_dir in aux $srcdir/aux; do if test -f $ac_dir/install-sh; then @@ -2854,6 +2854,7 @@ for ac_func in \ setrlimit \ setsid \ sigaction \ + snprintf \ srand48 \ srandom \ sysconf \ @@ -2864,12 +2865,12 @@ for ac_func in \ do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:2868: checking for $ac_func" >&5 +echo "configure:2869: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -2926,7 +2927,7 @@ case "$host" in esac echo $ac_n "checking if GNUregex needs to be compiled""... $ac_c" 1>&6 -echo "configure:2930: checking if GNUregex needs to be compiled" >&5 +echo "configure:2931: checking if GNUregex needs to be compiled" >&5 if test "$ac_cv_func_regcomp" = "no" ; then USE_GNUREGEX="yes" else @@ -2955,7 +2956,6 @@ fi for ac_func in \ tempnam \ strerror \ - snprintf \ do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 diff --git a/configure.in b/configure.in index 90ebc7d364..da125f9248 100644 --- a/configure.in +++ b/configure.in @@ -3,13 +3,13 @@ dnl Configuration input file for Squid dnl dnl Duane Wessels, wessels@nlanr.net, February 1996 (autoconf v2.9) dnl -dnl $Id: configure.in,v 1.79 1997/10/20 23:21:36 wessels Exp $ +dnl $Id: configure.in,v 1.80 1997/10/21 02:45:00 wessels Exp $ dnl dnl dnl AC_INIT(src/main.c) AC_CONFIG_HEADER(include/autoconf.h) -AC_REVISION($Revision: 1.79 $)dnl +AC_REVISION($Revision: 1.80 $)dnl AC_PREFIX_DEFAULT(/usr/local/squid) AC_CONFIG_AUX_DIR(aux) @@ -338,6 +338,7 @@ AC_CHECK_FUNCS(\ setrlimit \ setsid \ sigaction \ + snprintf \ srand48 \ srandom \ sysconf \ @@ -381,7 +382,6 @@ AC_SUBST(LIBREGEX) AC_REPLACE_FUNCS(\ tempnam \ strerror \ - snprintf \ ) AC_MSG_CHECKING(Default FD_SETSIZE value) diff --git a/lib/Makefile.in b/lib/Makefile.in index 49b5c74c32..68d2bbf4f8 100644 --- a/lib/Makefile.in +++ b/lib/Makefile.in @@ -3,7 +3,7 @@ # # Darren Hardy, hardy@cs.colorado.edu, April 1994 # -# $Id: Makefile.in,v 1.24 1997/05/26 04:04:53 wessels Exp $ +# $Id: Makefile.in,v 1.25 1997/10/21 02:45:00 wessels Exp $ # prefix = @prefix@ srcdir = @srcdir@ @@ -34,6 +34,7 @@ UTILOBJS = rfc1123.o \ splay.o \ safe_inet_addr.o \ iso3307.o \ + snprintf.o \ $(LIBOBJS) REGEXOBJS = GNUregex.o LIBS = libmiscutil.a @LIBREGEX@ -- 2.47.3