mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-18 15:49:56 +00:00
Update ChangeLog. Merge revisions 339719,340878,341088 from branches/1.8/
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.8.0-rc2@341282 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -58,7 +58,8 @@ AC_ARG_WITH([$1], AC_HELP_STRING([--with-$1=PATH], [use $3 in PATH]),
|
||||
AC_SUBST($2)
|
||||
])
|
||||
|
||||
# AST_EXT_LIB_SETUP_DEPENDENT([package symbol name], [package friendly name], [master package symbol name], [master package option name])
|
||||
# Setup required dependent package
|
||||
# AST_EXT_LIB_SETUP_DEPENDENT([dependent package symbol name], [dependent package friendly name], [master package symbol name], [master package name])
|
||||
|
||||
AC_DEFUN([AST_EXT_LIB_SETUP_DEPENDENT],
|
||||
[
|
||||
@@ -81,6 +82,23 @@ AC_SUBST([$1_DIR])
|
||||
AC_SUBST([PBX_$1])
|
||||
])
|
||||
|
||||
# Setup optional dependent package
|
||||
# AST_EXT_LIB_SETUP_OPTIONAL([optional package symbol name], [optional package friendly name], [master package symbol name], [master package name])
|
||||
|
||||
AC_DEFUN([AST_EXT_LIB_SETUP_OPTIONAL],
|
||||
[
|
||||
$1_DESCRIP="$2"
|
||||
m4_ifval([$4], [$1_OPTION=$4])
|
||||
m4_ifval([$3], [$1_DIR=${$3_DIR}
|
||||
])
|
||||
PBX_$1=0
|
||||
AH_TEMPLATE(m4_bpatsubst([[HAVE_$1]], [(.*)]), [Define to 1 if $3 has the $2 feature.])
|
||||
AC_SUBST([$1_LIB])
|
||||
AC_SUBST([$1_INCLUDE])
|
||||
AC_SUBST([$1_DIR])
|
||||
AC_SUBST([PBX_$1])
|
||||
])
|
||||
|
||||
# Check for existence of a given package ($1), either looking up a function
|
||||
# in a library, or, if no function is supplied, only check for the
|
||||
# existence of the header files.
|
||||
|
||||
Reference in New Issue
Block a user