svn commit: samba r25870 - in branches/SAMBA_4_0/source/lib/replace: .

metze at samba.org metze at samba.org
Tue Nov 6 10:40:10 GMT 2007


Author: metze
Date: 2007-11-06 10:40:07 +0000 (Tue, 06 Nov 2007)
New Revision: 25870

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25870

Log:
libreplace: AC_VERIFY_C_PROTOTYPE() needs AC_LANG_SOURCE() to bring in confdefs.h

metze
Modified:
   branches/SAMBA_4_0/source/lib/replace/libreplace_macros.m4


Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/libreplace_macros.m4
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/libreplace_macros.m4	2007-11-06 09:33:23 UTC (rev 25869)
+++ branches/SAMBA_4_0/source/lib/replace/libreplace_macros.m4	2007-11-06 10:40:07 UTC (rev 25870)
@@ -291,14 +291,14 @@
 dnl AC_VERIFY_C_PROTOTYPE(prototype,functionbody,[IF-TRUE].[IF-FALSE],[extraheaders])
 AC_DEFUN(AC_VERIFY_C_PROTOTYPE,
 [AC_CACHE_CHECK([for prototype $1], AS_TR_SH([ac_cv_c_prototype_$1]),
-	AC_COMPILE_IFELSE([
+	AC_COMPILE_IFELSE([AC_LANG_SOURCE([
 		AC_INCLUDES_DEFAULT
 		$5
 		$1
 		{
 			$2
 		}
-	],[
+	])],[
 		AS_TR_SH([ac_cv_c_prototype_$1])=yes
 	],[
 		AS_TR_SH([ac_cv_c_prototype_$1])=no



More information about the samba-cvs mailing list