r741 - trunk/varnish-cache

des at projects.linpro.no des at projects.linpro.no
Mon Aug 7 18:45:28 CEST 2006


Author: des
Date: 2006-08-07 18:45:28 +0200 (Mon, 07 Aug 2006)
New Revision: 741

Modified:
   trunk/varnish-cache/configure.ac
Log:
Don't trust the documentation - when it says "additional headers", it
actually means "additional code to place before main() in the test program"


Modified: trunk/varnish-cache/configure.ac
===================================================================
--- trunk/varnish-cache/configure.ac	2006-08-07 16:42:11 UTC (rev 740)
+++ trunk/varnish-cache/configure.ac	2006-08-07 16:45:28 UTC (rev 741)
@@ -70,11 +70,11 @@
 AC_CHECK_DECL([asprintf],
 	AC_DEFINE(HAVE_ASPRINTF,1,[Define to 1 if asprintf() is available]),
 	,
-	[stdio.h])
+	[#include <stdio.h>])
 AC_CHECK_DECL([vasprintf],
 	AC_DEFINE(HAVE_VASPRINTF,1,[Define to 1 if vasprintf() is available]),
 	,
-	[stdio.h])
+	[#include <stdio.h>])
 
 AC_CHECK_DECL([SO_ACCEPTFILER],
 	AC_DEFINE(HAVE_ACCEPT_FILTERS,1,[Define to 1 if you have accept filters]),




More information about the varnish-commit mailing list