From: wessels <> Date: Sat, 7 Dec 1996 00:55:09 +0000 (+0000) Subject: disable mallinfo for netware 2.03 X-Git-Tag: SQUID_3_0_PRE1~5314 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=176d10ee200a668cdef74a29021684aaf82932ea;p=thirdparty%2Fsquid.git disable mallinfo for netware 2.03 --- diff --git a/configure b/configure index c4b08cad89..8860aba0ef 100755 --- a/configure +++ b/configure @@ -514,7 +514,7 @@ fi -# From configure.in Revision: 1.59 +# From configure.in Revision: 1.60 ac_aux_dir= for ac_dir in aux $srcdir/aux; do if test -f $ac_dir/install-sh; then @@ -2546,6 +2546,17 @@ EOF ;; esac +# Recommended by Balint Nagy Endre +case "$host" in + *-univel-sysv4.2MP) + if test `uname -v` = "2.03"; then + echo "disabling mallinfo for $host" + ac_cv_func_mallinfo=no + fi + ;; +esac + + for ac_func in \ bcopy \ getdtablesize \ @@ -2583,7 +2594,7 @@ 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; }; then +if { (eval echo configure:2622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -2658,7 +2669,7 @@ 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; }; then +if { (eval echo configure:2697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -2708,7 +2719,7 @@ if test "$cross_compiling" = yes; then SQUID_MAXFD=256 else cat > conftest.$ac_ext < @@ -2760,7 +2771,7 @@ main() { } EOF -{ (eval echo configure:2764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } +{ (eval echo configure:2775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } if test -s conftest && (./conftest; exit) 2>/dev/null; then SQUID_MAXFD=`cat conftestval` else @@ -2779,7 +2790,7 @@ if test "$cross_compiling" = yes; then SQUID_UDP_SO_SNDBUF=16384 else cat > conftest.$ac_ext < @@ -2798,7 +2809,7 @@ main () } EOF -{ (eval echo configure:2802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } +{ (eval echo configure:2813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } if test -s conftest && (./conftest; exit) 2>/dev/null; then SQUID_UDP_SO_SNDBUF=`cat conftestval` else @@ -2817,7 +2828,7 @@ if test "$cross_compiling" = yes; then SQUID_UDP_SO_RCVBUF=16384 else cat > conftest.$ac_ext < @@ -2836,7 +2847,7 @@ main () } EOF -{ (eval echo configure:2840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } +{ (eval echo configure:2851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } if test -s conftest && (./conftest; exit) 2>/dev/null; then SQUID_UDP_SO_RCVBUF=`cat conftestval` else @@ -2855,7 +2866,7 @@ if test "$cross_compiling" = yes; then SQUID_TCP_SO_SNDBUF=16384 else cat > conftest.$ac_ext < @@ -2874,7 +2885,7 @@ main () } EOF -{ (eval echo configure:2878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } +{ (eval echo configure:2889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } if test -s conftest && (./conftest; exit) 2>/dev/null; then SQUID_TCP_SO_SNDBUF=`cat conftestval` else @@ -2893,7 +2904,7 @@ if test "$cross_compiling" = yes; then SQUID_TCP_SO_RCVBUF=16384 else cat > conftest.$ac_ext < @@ -2912,7 +2923,7 @@ main () } EOF -{ (eval echo configure:2916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } +{ (eval echo configure:2927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } if test -s conftest && (./conftest; exit) 2>/dev/null; then SQUID_TCP_SO_RCVBUF=`cat conftestval` else @@ -2928,7 +2939,7 @@ EOF echo $ac_n "checking if sys_errlist is already defined""... $ac_c" 1>&6 cat > conftest.$ac_ext < int main() { return 0; } @@ -2936,7 +2947,7 @@ int t() { char *s = sys_errlist[0]; ; return 0; } EOF -if { (eval echo configure:2940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2951: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* echo "$ac_t""yes" 1>&6 else @@ -2952,7 +2963,7 @@ rm -f conftest* echo $ac_n "checking for libresolv _dns_ttl_ hack""... $ac_c" 1>&6 cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; }; then +if { (eval echo configure:2975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then rm -rf conftest* echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF diff --git a/configure.in b/configure.in index 0f8a1eafd6..e0f99219b5 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.60 1996/12/05 21:24:56 wessels Exp $ +dnl $Id: configure.in,v 1.61 1996/12/06 17:55:09 wessels Exp $ dnl dnl dnl AC_INIT(src/main.c) AC_CONFIG_HEADER(include/autoconf.h) -AC_REVISION($Revision: 1.60 $)dnl +AC_REVISION($Revision: 1.61 $)dnl AC_PREFIX_DEFAULT(/usr/local/squid) AC_CONFIG_AUX_DIR(aux) @@ -274,6 +274,17 @@ dnl Please change your configure script. AIX doesn't need -lbsd. ;; esac +# Recommended by Balint Nagy Endre +case "$host" in + *-univel-sysv4.2MP) + if test `uname -v` = "2.03"; then + echo "disabling mallinfo for $host" + ac_cv_func_mallinfo=no + fi + ;; +esac + + dnl Check for library functions AC_CHECK_FUNCS(\ bcopy \