nitpicking configure.in on AIX

From: Gerard Eviston <geviston@dont-contact.us>
Date: Wed, 8 Jan 2003 20:56:25 +1000

I don't think the check below is necessary for AIX 5, which has perfectly
normal snprintf and header files. Not sure about the the existence of
vsnprintf, but AC_CHECK_FUNC will take care of that.

Regards
Gerard

*** configure.in.orig Wed Jan 8 11:21:29 2003
--- configure.in Wed Jan 8 17:39:34 2003
***************
*** 1525,1537 ****
        *-ibm-aix*)
                echo "Removing -lbsd for AIX..."
                LIBS=`echo $LIBS | sed -e s/-lbsd//`
  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
                ;;
        *m88k*)
                CFLAGS="$CFLAGS -D_SQUID_MOTOROLA_"
--- 1525,1541 ----
        *-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.
! *-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_"
Received on Wed Jan 08 2003 - 04:01:28 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:06 MST