mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-19 11:42:27 +00:00
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
This commit is contained in:
@@ -88,8 +88,10 @@ if test "x${PBX_$1}" != "x1" -a "${USE_$1}" != "no"; then
|
|||||||
fi
|
fi
|
||||||
$1_LIB=""
|
$1_LIB=""
|
||||||
$1_INCLUDE=""
|
$1_INCLUDE=""
|
||||||
PBX_$1=0
|
|
||||||
else
|
else
|
||||||
|
if test "x${pbxfuncname}" = "x" ; then # only checking headers -> no library
|
||||||
|
$1_LIB=""
|
||||||
|
fi
|
||||||
PBX_$1=1
|
PBX_$1=1
|
||||||
AC_DEFINE_UNQUOTED([HAVE_$1], 1, [Define to indicate the ${$1_DESCRIP} library])
|
AC_DEFINE_UNQUOTED([HAVE_$1], 1, [Define to indicate the ${$1_DESCRIP} library])
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user