diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2010-05-09 02:14:04 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2010-05-09 02:14:04 +0000 |
commit | 92a865067744cc75fde81d12208d05170ca7ae3c (patch) | |
tree | 053a57eed4fb47a80a181651e177cb0992974680 /autoconf/ast_c_define_check.m4 | |
parent | 49b292babfb72e4cf5e446e1a012fb4d2e735ba4 (diff) |
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: https://origsvn.digium.com/svn/asterisk/trunk@262102 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'autoconf/ast_c_define_check.m4')
-rw-r--r-- | autoconf/ast_c_define_check.m4 | 2 |
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) ] ) |