summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authormetze <metze@0c0555d6-39d7-0310-84fc-f1cc0bd64818>2007-11-06 10:40:07 +0000
committerStefan Metzmacher <metze@samba.org>2007-11-09 09:53:00 +0100
commitf54458939df4ab199c058ff06c68dbc513be8e05 (patch)
tree345866bb558a59ac94b8a15065db627ed4db0641 /source3/lib
parent673d502ba3ffb70df2e75d0b521f946d7f0a2a2e (diff)
downloadsamba-f54458939df4ab199c058ff06c68dbc513be8e05.tar.gz
samba-f54458939df4ab199c058ff06c68dbc513be8e05.tar.bz2
samba-f54458939df4ab199c058ff06c68dbc513be8e05.zip
libreplace: AC_VERIFY_C_PROTOTYPE() needs AC_LANG_SOURCE() to bring in confdefs.h
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25870 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 95dfbd3a6c22ff6381c8b220b06ec3a5cf59c06b)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/replace/libreplace_macros.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/replace/libreplace_macros.m4 b/source3/lib/replace/libreplace_macros.m4
index da46f6734f..92fecd3db8 100644
--- a/source3/lib/replace/libreplace_macros.m4
+++ b/source3/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