mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
BuildSystem: Only if found LibPRI, check its optional parts.
Change-Id: If8445f899ee4ce0c606c484943d4ce0c8e43b5da
This commit is contained in:
committed by
George Joseph
parent
007a6ab05a
commit
47e887dbf6
2
configure
vendored
2
configure
vendored
@@ -26608,6 +26608,7 @@ _ACEOF
|
||||
fi
|
||||
|
||||
|
||||
if test "x$PBX_PRI" = "x1" ; then
|
||||
|
||||
if test "x${PBX_PRI_SETUP_ACK_INBAND}" != "x1" -a "${USE_PRI_SETUP_ACK_INBAND}" != "no"; then
|
||||
pbxlibdir=""
|
||||
@@ -28533,6 +28534,7 @@ fi
|
||||
|
||||
|
||||
# ------------------------------------^
|
||||
fi
|
||||
|
||||
|
||||
if test "x${PBX_RESAMPLE}" != "x1" -a "${USE_RESAMPLE}" != "no"; then
|
||||
|
@@ -2457,6 +2457,7 @@ AST_PKG_CONFIG_CHECK([PORTAUDIO], [portaudio-2.0])
|
||||
AST_EXT_LIB_CHECK([PORTAUDIO], [portaudio], [Pa_GetDeviceCount], [portaudio.h])
|
||||
|
||||
AST_EXT_LIB_CHECK([PRI], [pri], [pri_connected_line_update], [libpri.h])
|
||||
if test "x$PBX_PRI" = "x1" ; then
|
||||
AST_EXT_LIB_CHECK([PRI_SETUP_ACK_INBAND], [pri], [pri_setup_ack], [libpri.h])
|
||||
AST_EXT_LIB_CHECK([PRI_L2_PERSISTENCE], [pri], [pri_persistent_layer2_option], [libpri.h])
|
||||
AST_EXT_LIB_CHECK([PRI_DATETIME_SEND], [pri], [pri_date_time_send_option], [libpri.h])
|
||||
@@ -2482,6 +2483,7 @@ AST_EXT_LIB_CHECK([PRI_INBANDDISCONNECT], [pri], [pri_set_inbanddisconnect], [li
|
||||
AST_EXT_LIB_CHECK([PRI_SERVICE_MESSAGES], [pri], [pri_maintenance_service], [libpri.h])
|
||||
AST_EXT_LIB_CHECK([PRI_REVERSE_CHARGE], [pri], [pri_sr_set_reversecharge], [libpri.h])
|
||||
# ------------------------------------^
|
||||
fi
|
||||
|
||||
AST_EXT_LIB_CHECK([RESAMPLE], [resample], [resample_open], [libresample.h], [-lm])
|
||||
|
||||
|
Reference in New Issue
Block a user