summaryrefslogtreecommitdiff
path: root/autoconf/ast_c_compile_check.m4
diff options
context:
space:
mode:
Diffstat (limited to 'autoconf/ast_c_compile_check.m4')
-rw-r--r--autoconf/ast_c_compile_check.m46
1 files changed, 1 insertions, 5 deletions
diff --git a/autoconf/ast_c_compile_check.m4 b/autoconf/ast_c_compile_check.m4
index ed1563017..ebdaefa89 100644
--- a/autoconf/ast_c_compile_check.m4
+++ b/autoconf/ast_c_compile_check.m4
@@ -4,11 +4,7 @@
AC_DEFUN([AST_C_COMPILE_CHECK],
[
if test "x${PBX_$1}" != "x1" -a "${USE_$1}" != "no"; then
- if test "x$5" != "x"; then
- AC_MSG_CHECKING([for $5])
- else
- AC_MSG_CHECKING([if "$2" compiles using $3])
- fi
+ AC_MSG_CHECKING(m4_ifval([$5],[for $5],[if "$2" compiles using $3]))
saved_cppflags="${CPPFLAGS}"
if test "x${$1_DIR}" != "x"; then
$1_INCLUDE="-I${$1_DIR}/include"