mirror of
https://github.com/asterisk/asterisk.git
synced 2026-06-09 03:45:27 +00:00
Merge "res_corosync: Fix linking issue with Corosync 2.x"
This commit is contained in:
4
configure
vendored
4
configure
vendored
@@ -31953,7 +31953,7 @@ if eval \${$as_ac_Lib+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
ac_check_lib_save_LIBS=$LIBS
|
||||
LIBS="-lcpg ${pbxlibdir} -lcpg $LIBS"
|
||||
LIBS="-lcpg ${pbxlibdir} -lcpg -lcfg $LIBS"
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
@@ -31995,7 +31995,7 @@ fi
|
||||
|
||||
# now check for the header.
|
||||
if test "${AST_COROSYNC_FOUND}" = "yes"; then
|
||||
COROSYNC_LIB="${pbxlibdir} -lcpg -lcpg"
|
||||
COROSYNC_LIB="${pbxlibdir} -lcpg -lcpg -lcfg"
|
||||
# if --with-COROSYNC=DIR has been specified, use it.
|
||||
if test "x${COROSYNC_DIR}" != "x"; then
|
||||
COROSYNC_INCLUDE="-I${COROSYNC_DIR}/include"
|
||||
|
||||
@@ -2425,7 +2425,7 @@ fi
|
||||
|
||||
AST_EXT_LIB_CHECK([CODEC2], [codec2], [codec2_create], [codec2/codec2.h])
|
||||
|
||||
AST_EXT_LIB_CHECK([COROSYNC], [cpg], [cpg_join], [corosync/cpg.h], [-lcpg])
|
||||
AST_EXT_LIB_CHECK([COROSYNC], [cpg], [cpg_join], [corosync/cpg.h], [-lcpg -lcfg])
|
||||
AST_EXT_LIB_CHECK([COROSYNC_CFG_STATE_TRACK], [cfg], [corosync_cfg_state_track], [corosync/cfg.h], [-lcfg])
|
||||
|
||||
AST_EXT_LIB_CHECK([SPEEX], [speex], [speex_encode], [speex/speex.h], [-lm])
|
||||
|
||||
Reference in New Issue
Block a user