]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
AIX updated by Gerard Eviston
authorhno <>
Tue, 29 Apr 2003 22:08:18 +0000 (22:08 +0000)
committerhno <>
Tue, 29 Apr 2003 22:08:18 +0000 (22:08 +0000)
configure.in
src/tools.cc

index 48776d02cd9cbda1af29d04d6da1e3cd958c1b7e..ca787e9473a28f10a722dc107633666680500df2 100644 (file)
@@ -3,7 +3,7 @@ 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.331 2003/04/27 00:18:00 hno Exp $
+dnl  $Id: configure.in,v 1.332 2003/04/29 16:08:18 hno Exp $
 dnl
 dnl
 dnl
@@ -13,7 +13,7 @@ AC_CONFIG_SRCDIR([src/main.cc])
 AC_CONFIG_AUX_DIR(cfgaux)
 AM_INIT_AUTOMAKE(squid, 3.0-DEVEL)
 AM_CONFIG_HEADER(include/autoconf.h)
-AC_REVISION($Revision: 1.331 $)dnl
+AC_REVISION($Revision: 1.332 $)dnl
 AC_PREFIX_DEFAULT(/usr/local/squid)
 AM_MAINTAINER_MODE
 
@@ -1802,13 +1802,17 @@ dnl Please change your configure script.  AIX doesn't need -lbsd.
        *-ibm-aix*)
                echo "Removing -lbsd for AIX..."
                LIBS=`echo $LIBS | sed -e s/-lbsd//`
+               case "$host" in
 dnl From: mlaster@metavillage.com (Mike Laster)
 dnl AIX 4.1.4.x does not have header files for snprintf/vsnprintf
 dnl So using the internal versions generates a load of warnings
 dnl during compile.
-               echo "disabling snprintf/vsnprintf for $host"
-               ac_cv_func_snprintf=no
-               ac_cv_func_vsnprintf=no
+                       *-ibm-aix4*)
+                               echo "disabling snprintf/vsnprintf for $host"
+                               ac_cv_func_snprintf=no
+                               ac_cv_func_vsnprintf=no
+                       ;;
+               esac
                ;;
        *m88k*)
                CFLAGS="$CFLAGS -D_SQUID_MOTOROLA_"
index 38d2052723d60831a6762bbd2120b6a28b45254f..4c3a938244d945bac6981f666158cc163550b6d0 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: tools.cc,v 1.235 2003/04/24 06:35:09 hno Exp $
+ * $Id: tools.cc,v 1.236 2003/04/29 16:08:19 hno Exp $
  *
  * DEBUG: section 21    Misc Functions
  * AUTHOR: Harvest Derived
@@ -255,6 +255,9 @@ rusage_maxrss(struct rusage *r)
     return r->ru_maxrss;
 #elif defined(_SQUID_OSF_)
 
+    return r->ru_maxrss;
+#elif defined(_SQUID_AIX_)
+
     return r->ru_maxrss;
 #elif defined(BSD4_4)