From cbb1975c8caa4277b0d1cad7e8427dc241cf2958 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 14 Sep 2006 10:34:03 +0000 Subject: [PATCH] r18514: fix configure caching of AC_VERIFY_C_PROTOTYPE() macro metze (This used to be commit 8e49dc69e7d588c85c9e9e7b24b595c61c1da95a) --- source4/lib/replace/libreplace_macros.m4 | 6 +++--- 1 file 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]) +]) -- 2.34.1