r768 - trunk/varnish-cache

des at projects.linpro.no des at projects.linpro.no
Tue Aug 8 14:42:49 CEST 2006


Author: des
Date: 2006-08-08 14:42:49 +0200 (Tue, 08 Aug 2006)
New Revision: 768

Modified:
   trunk/varnish-cache/configure.ac
Log:
Defining _GNU_SOURCE gives us native asprintf() and strptime() on glibc
systems, and has no effect on FreeBSD.

Modified: trunk/varnish-cache/configure.ac
===================================================================
--- trunk/varnish-cache/configure.ac	2006-08-08 12:31:19 UTC (rev 767)
+++ trunk/varnish-cache/configure.ac	2006-08-08 12:42:49 UTC (rev 768)
@@ -27,6 +27,7 @@
 	CFLAGS="${CFLAGS} -Werror")
 
 # Checks for programs.
+AC_GNU_SOURCE
 AC_PROG_CC
 AC_PROG_CPP
 AC_PROG_INSTALL
@@ -61,6 +62,7 @@
 AC_CHECK_FUNCS([strerror])
 AC_FUNC_STRERROR_R
 AC_CHECK_FUNCS([socket])
+AC_CHECK_FUNCS([strptime])
 
 # These functions are provided by libcompat on platforms where they
 # are not available




More information about the varnish-commit mailing list