dnl Configuration input file for Squid
dnl
-dnl $Id: configure.in,v 1.446 2006/12/24 14:12:24 serassio Exp $
+dnl $Id: configure.in,v 1.447 2006/12/24 14:19:27 serassio Exp $
dnl
dnl
dnl
AC_CONFIG_AUX_DIR(cfgaux)
AC_CONFIG_SRCDIR([src/main.cc])
AM_INIT_AUTOMAKE([tar-ustar])
-AC_REVISION($Revision: 1.446 $)dnl
+AC_REVISION($Revision: 1.447 $)dnl
AC_PREFIX_DEFAULT(/usr/local/squid)
AM_MAINTAINER_MODE
getrlimit \
getrusage \
getspnam \
+ gettimeofday \
htobe16 \
htole16 \
lrand48 \
/*
- * $Id: squid_mswin.h,v 1.2 2006/09/09 15:29:59 serassio Exp $
+ * $Id: squid_mswin.h,v 1.3 2006/12/24 14:19:28 serassio Exp $
*
* AUTHOR: Andrey Shorin <tolsty@tushino.com>
* AUTHOR: Guido Serassio <serassio@squid-cache.org>
long f_spare[6]; /* spare for later */
};
+#ifndef HAVE_GETTIMEOFDAY
struct timezone
{
int tz_minuteswest; /* minutes west of Greenwich */
int tz_dsttime; /* type of dst correction */
};
+#endif
#define CHANGE_FD_SETSIZE 1
#if CHANGE_FD_SETSIZE && SQUID_MAXFD > DEFAULT_FD_SETSIZE
SQUIDCEXTERN int chroot (const char *);
SQUIDCEXTERN int ftruncate(int, off_t);
+#ifndef HAVE_GETTIMEOFDAY
SQUIDCEXTERN int gettimeofday(struct timeval * ,void *);
+#endif
SQUIDCEXTERN int kill(pid_t, int);
SQUIDCEXTERN int statfs(const char *, struct statfs *);
SQUIDCEXTERN int truncate(const char *, off_t);
/*
- * $Id: win32lib.c,v 1.2 2006/09/09 15:29:59 serassio Exp $
+ * $Id: win32lib.c,v 1.3 2006/12/24 14:19:28 serassio Exp $
*
* Windows support
* AUTHOR: Guido Serassio <serassio@squid-cache.org>
return 0;
}
+#ifndef HAVE_GETTIMEOFDAY
int
gettimeofday(struct timeval *pcur_time, void *tzp)
{
}
return 0;
}
+#endif
int
statfs(const char *path, struct statfs *sfs)