diff options
author | Luigi Rizzo <rizzo@icir.org> | 2006-10-04 23:41:08 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2006-10-04 23:41:08 +0000 |
commit | 4b55f8d98f1c68e91cfddceebc61f7fada9bfecc (patch) | |
tree | 040820552a0e1fd5d48b21f93046d8c6d0d1a801 /acinclude.m4 | |
parent | 5cf27a303dfcf5bdf2bd23c274c10aa912f081aa (diff) |
when only checking headers, do not set $1_LIB.
Also PBX_$1=0 is the default so we don't need to set it explicitly.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44421 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index c3c3e12b4..c4c822d70 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -88,8 +88,10 @@ if test "x${PBX_$1}" != "x1" -a "${USE_$1}" != "no"; then fi $1_LIB="" $1_INCLUDE="" - PBX_$1=0 else + if test "x${pbxfuncname}" = "x" ; then # only checking headers -> no library + $1_LIB="" + fi PBX_$1=1 AC_DEFINE_UNQUOTED([HAVE_$1], 1, [Define to indicate the ${$1_DESCRIP} library]) fi |