diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-05-09 02:17:17 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-05-09 02:17:17 +0000 |
commit | c46746ef2000f9341c4b640cb889d0870c13d462 (patch) | |
tree | fdd2671fc0e96701a1444bd0dee4216c5774c8b0 /autoconf/ast_c_compile_check.m4 | |
parent | 274fd2b1f0f9b26c714ce1183fd6012702b93f82 (diff) |
Merged revisions 262102 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r262102 | tilghman | 2010-05-08 21:14:04 -0500 (Sat, 08 May 2010) | 5 lines
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/branches/1.6.2@262105 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'autoconf/ast_c_compile_check.m4')
-rw-r--r-- | autoconf/ast_c_compile_check.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoconf/ast_c_compile_check.m4 b/autoconf/ast_c_compile_check.m4 index 0d49ec3ca..ed1563017 100644 --- a/autoconf/ast_c_compile_check.m4 +++ b/autoconf/ast_c_compile_check.m4 @@ -22,7 +22,7 @@ AC_DEFUN([AST_C_COMPILE_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) ] ) |