diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-11-06 10:40:07 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:44:34 +0100 |
commit | 37f6b948b7598ca8c532154f3c9833ea0965e887 (patch) | |
tree | c109c751c1b606832141bc580e22c7bee1ddfb35 | |
parent | 7a09d8c4e4ea90b965c0421a487147bca7cbd944 (diff) | |
download | samba-37f6b948b7598ca8c532154f3c9833ea0965e887.tar.gz samba-37f6b948b7598ca8c532154f3c9833ea0965e887.tar.bz2 samba-37f6b948b7598ca8c532154f3c9833ea0965e887.zip |
r25870: libreplace: AC_VERIFY_C_PROTOTYPE() needs AC_LANG_SOURCE() to bring in confdefs.h
metze
(This used to be commit c6b6466c33ffab2b59e1a275922b6f3a7f2af98c)
-rw-r--r-- | source4/lib/replace/libreplace_macros.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/replace/libreplace_macros.m4 b/source4/lib/replace/libreplace_macros.m4 index da46f6734f..92fecd3db8 100644 --- a/source4/lib/replace/libreplace_macros.m4 +++ b/source4/lib/replace/libreplace_macros.m4 @@ -291,14 +291,14 @@ dnl check if the prototype in the header matches the given one 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 |