From 79d0cd4b17065438433ed8e95c4b70401482d0e8 Mon Sep 17 00:00:00 2001 From: tilghman Date: Sun, 9 May 2010 02:14:04 +0000 Subject: Cleanup a bit more by getting rid of useless version defines. Also make library detection use passed CFLAGS. (closes issue #17309) Reported by: stuarth git-svn-id: http://svn.digium.com/svn/asterisk/trunk@262102 f38db490-d61c-443f-a65b-d21fe96a405b --- autoconf/ast_c_define_check.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autoconf/ast_c_define_check.m4') 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) ] ) -- cgit v1.2.3