summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-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])
+])