--------------------- PatchSet 910 Date: 2003/08/31 07:46:35 Author: serassio Branch: nt Tag: (none) Log: Cosmetic changes to configure.in Members: configure.in:1.26.2.21->1.26.2.22 Index: squid3/configure.in =================================================================== RCS file: /cvsroot/squid-sf//squid3/configure.in,v retrieving revision 1.26.2.21 retrieving revision 1.26.2.22 diff -u -r1.26.2.21 -r1.26.2.22 --- squid3/configure.in 24 Aug 2003 08:03:49 -0000 1.26.2.21 +++ squid3/configure.in 31 Aug 2003 07:46:35 -0000 1.26.2.22 @@ -3,7 +3,7 @@ dnl dnl Duane Wessels, wessels@nlanr.net, February 1996 (autoconf v2.9) dnl -dnl $Id: configure.in,v 1.26.2.21 2003/08/24 08:03:49 serassio Exp $ +dnl $Id: configure.in,v 1.26.2.22 2003/08/31 07:46:35 serassio Exp $ dnl dnl dnl @@ -13,7 +13,7 @@ AC_CONFIG_AUX_DIR(cfgaux) AM_INIT_AUTOMAKE(squid, 3.0-PRE3-CVS-NT) AM_CONFIG_HEADER(include/autoconf.h) -AC_REVISION($Revision: 1.26.2.21 $)dnl +AC_REVISION($Revision: 1.26.2.22 $)dnl AC_PREFIX_DEFAULT(/usr/local/squid) AM_MAINTAINER_MODE @@ -1468,6 +1468,7 @@ AC_HEADER_DIRENT AC_HEADER_STDC +dnl Override crypt.h and getopt.h detect on MinGW becasue are provided with source code case "$host_os" in mingw|mingw32) ac_cv_header_crypt_h='yes' @@ -1606,11 +1607,14 @@ #include #endif]) +dnl Override rusage() and getopt() detect on MinGW becasue are emulated in source code case "$host_os" in mingw|mingw32) AC_DEFINE(HAVE_STRUCT_RUSAGE) ac_cv_func_getrusage='yes' echo "Using own rusage." + AC_LIBOBJ(getopt) + echo "Using own getopt." ;; *) AC_CHECK_TYPE(struct rusage,AC_DEFINE(HAVE_STRUCT_RUSAGE,1,[The system provides struct rusage]),,[ @@ -1783,8 +1787,6 @@ LIBS="$save_LIBS" done AC_MSG_RESULT($have_winsock) - echo "Using own getopt." - AC_LIBOBJ(getopt) ;; *) ;; @@ -2516,7 +2518,7 @@ mingw|mingw32) echo "Using Win32 resolver instead." ;; - *) + *) echo "Will use our own inet_ntoa()." AC_LIBOBJ(inet_ntoa) # echo "WARNING: This looks bad, and probably prevents Squid from working." @@ -2524,7 +2526,7 @@ # echo " to use the IRIX C compiler instead." # sleep 10 ;; - esac + esac fi if test "$ac_cv_header_sys_statvfs_h" = "yes" ; then