summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-14 10:34:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:18:40 -0500
commitcbb1975c8caa4277b0d1cad7e8427dc241cf2958 (patch)
tree1ef75a560886c62fd40c5e75c9b7a453d3cf9a19 /source4/lib
parenta0e87e5dc79bc631cb2362ebbf4d91913a342273 (diff)
downloadsamba-cbb1975c8caa4277b0d1cad7e8427dc241cf2958.tar.gz
samba-cbb1975c8caa4277b0d1cad7e8427dc241cf2958.tar.bz2
samba-cbb1975c8caa4277b0d1cad7e8427dc241cf2958.zip
r18514: fix configure caching of AC_VERIFY_C_PROTOTYPE() macro
metze (This used to be commit 8e49dc69e7d588c85c9e9e7b24b595c61c1da95a)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/replace/libreplace_macros.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/replace/libreplace_macros.m4 b/source4/lib/replace/libreplace_macros.m4
index 91f816c75d..4a645ef81f 100644
--- a/source4/lib/replace/libreplace_macros.m4
+++ b/source4/lib/replace/libreplace_macros.m4
@@ -282,9 +282,9 @@ AC_DEFUN(AC_VERIFY_C_PROTOTYPE,
}
],[
AS_TR_SH([ac_cv_c_prototype_$1])=yes
- $3
],[
AS_TR_SH([ac_cv_c_prototype_$1])=no
- $4
])
-)])
+)
+AS_IF([test $AS_TR_SH([ac_cv_c_prototype_$1]) = yes],[$3],[$4])
+])