aboutsummaryrefslogtreecommitdiffstats
path: root/autoconf/ast_c_define_check.m4
diff options
context:
space:
mode:
Diffstat (limited to 'autoconf/ast_c_define_check.m4')
-rw-r--r--autoconf/ast_c_define_check.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/autoconf/ast_c_define_check.m4 b/autoconf/ast_c_define_check.m4
index adf31223e..52b979110 100644
--- a/autoconf/ast_c_define_check.m4
+++ b/autoconf/ast_c_define_check.m4
@@ -23,7 +23,7 @@ AC_DEFUN([AST_C_DEFINE_CHECK],
[ AC_MSG_RESULT(yes)
PBX_$1=1
AC_DEFINE([HAVE_$1], 1, [Define if your system has the $1 headers.])
- AC_DEFINE([HAVE_$1_VERSION], $4, [Define $1 headers version])
+ m4_ifval([$4], [AC_DEFINE([HAVE_$1_VERSION], $4, [Define $1 headers version])])
],
[ AC_MSG_RESULT(no) ]
)