mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 06:48:25 +00:00
BuildSystem: Only if found LibPRI, check its optional parts.
Change-Id: If8445f899ee4ce0c606c484943d4ce0c8e43b5da
This commit is contained in:
committed by
George Joseph
parent
9a928cae86
commit
f44cab8b82
2
configure
vendored
2
configure
vendored
@@ -26645,6 +26645,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=""
|
||||
@@ -28570,6 +28571,7 @@ fi
|
||||
|
||||
|
||||
# ------------------------------------^
|
||||
fi
|
||||
|
||||
|
||||
if test "x${PBX_RESAMPLE}" != "x1" -a "${USE_RESAMPLE}" != "no"; then
|
||||
|
||||
@@ -2484,6 +2484,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])
|
||||
@@ -2509,6 +2510,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])
|
||||
AST_EXT_LIB_CHECK([FFTW3], [fftw3], [fftw_malloc], [fftw3.h])
|
||||
|
||||
Reference in New Issue
Block a user