Newer
Older
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
main ()
{
#if !JSON_INTEGER_IS_LONG_LONG
#error "not long long"
#endif
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
$as_echo "#define AST_JSON_INT_T long long" >>confdefs.h
else
$as_echo "#define AST_JSON_INT_T long" >>confdefs.h
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CPPFLAGS="${saved_cppflags}"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
$as_echo "#define HAVE_JANSSON_BUNDLED 1" >>confdefs.h
if test "$PJPROJECT_BUNDLED" = "yes" ; then
if test "${ac_mandatory_list#*PJPROJECT*}" != "$ac_mandatory_list" ; then
as_fn_error $? "--with-pjproject and --with-pjproject-bundled can't both be specified" "$LINENO" 5
fi
if test "${with_pjproject}" != "no" && test "${with_pjproject}" != "n" ; then
ac_mandatory_list="$ac_mandatory_list PJPROJECT"
PJPROJECT_DIR="${ac_top_build_prefix}third-party/pjproject"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for embedded pjproject (may have to download)" >&5
$as_echo_n "checking for embedded pjproject (may have to download)... " >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: configuring" >&5
$as_echo "configuring" >&6; }
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
if test "x${DOWNLOAD_TO_STDOUT}" = "x" ; then
as_fn_error $? "A download utility (wget, curl, or fetch) is required to download bundled pjproject" "$LINENO" 5
fi
if test "${BZIP2}" = ":" ; then
as_fn_error $? "bzip2 is required to extract the pjproject tar file" "$LINENO" 5
fi
if test "${TAR}" = ":" ; then
as_fn_error $? "tar is required to extract the pjproject tar file" "$LINENO" 5
fi
if test "${PATCH}" = ":" ; then
as_fn_error $? "patch is required to configure bundled pjproject" "$LINENO" 5
fi
if test "${SED}" = ":" ; then
as_fn_error $? "sed is required to configure bundled pjproject" "$LINENO" 5
fi
if test "${NM}" = ":" ; then
as_fn_error $? "nm is required to build bundled pjproject" "$LINENO" 5
fi
if test "${MD5}" = ":" ; then
as_fn_error $? "md5sum is required to build bundled pjproject" "$LINENO" 5
fi
if test "${CAT}" = ":" ; then
as_fn_error $? "cat is required to build bundled pjproject" "$LINENO" 5
fi
if test "${CUT}" = ":" ; then
as_fn_error $? "cut is required to build bundled pjproject" "$LINENO" 5
fi
if test "${GREP}" = ":" ; then
as_fn_error $? "grep is required to build bundled pjproject" "$LINENO" 5
fi
if test "${FIND}" = ":" ; then
as_fn_error $? "find is required to build bundled pjproject" "$LINENO" 5
fi
if test "x${AST_DEVMODE}" != "x" ; then
if test "${REALPATH}" = ":" ; then
as_fn_error $? "realpath is required to build bundled pjproject in dev mode" "$LINENO" 5
fi
fi
this_host=$(./config.sub $(./config.guess))
if test "$build" != "$this_host" ; then
PJPROJECT_CONFIGURE_OPTS="${PJPROJECT_CONFIGURE_OPTS} --build=$build_alias"
fi
if test "$host" != "$this_host" ; then
PJPROJECT_CONFIGURE_OPTS="${PJPROJECT_CONFIGURE_OPTS} --host=$host_alias"
fi
# This was a copy of the autoconf generated code from the root ./configure.
# Hopefully, when you read this, the code is still the same.
if test "${with_ssl+set}" = set; then :
case $with_ssl in
n|no)
PJPROJECT_CONFIGURE_OPTS="${PJPROJECT_CONFIGURE_OPTS} --disable-ssl"
;;
y|ye|yes)
# Not to mention SSL is the default in PJProject and means "autodetect".
# In Asterisk, "./configure --with-ssl" means "must be present".
PJPROJECT_CONFIGURE_OPTS="${PJPROJECT_CONFIGURE_OPTS} --with-ssl"
PJPROJECT_CONFIGURE_OPTS="${PJPROJECT_CONFIGURE_OPTS} --with-ssl=${with_ssl}"
else
if test $PBX_OPENSSL -eq 1 ; then
PJPROJECT_CONFIGURE_OPTS="${PJPROJECT_CONFIGURE_OPTS} --with-ssl"
fi
# Determine if we're doing an out-of-tree build...
if test -L ${PJPROJECT_DIR}/source -o -d ${PJPROJECT_DIR}/source/.git ; then
$as_echo "#define HAVE_PJPROJECT_BUNDLED_OOT 1" >>confdefs.h
PJPROJECT_BUNDLED_OOT=yes
fi
export TAR PATCH SED NM EXTERNALS_CACHE_DIR AST_DOWNLOAD_CACHE DOWNLOAD_TO_STDOUT DOWNLOAD_TIMEOUT DOWNLOAD MD5 CAT CUT GREP FIND REALPATH
export NOISY_BUILD AST_DEVMODE
${GNU_MAKE} --quiet --no-print-directory -C ${PJPROJECT_DIR} \
PJPROJECT_CONFIGURE_OPTS="$PJPROJECT_CONFIGURE_OPTS" \
EXTERNALS_CACHE_DIR="${EXTERNALS_CACHE_DIR:-${AST_DOWNLOAD_CACHE}}" \
PJPROJECT_BUNDLED_OOT="${PJPROJECT_BUNDLED_OOT}" \
configure
if test $? -ne 0 ; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
$as_echo "failed" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: Unable to configure ${PJPROJECT_DIR}" >&5
$as_echo "$as_me: Unable to configure ${PJPROJECT_DIR}" >&6;}
as_fn_error $? "Re-run the ./configure command with 'NOISY_BUILD=yes' appended to see error details." "$LINENO" 5
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bundled pjproject" >&5
$as_echo_n "checking for bundled pjproject... " >&6; }
PJPROJECT_INCLUDE=$(${GNU_MAKE} --quiet --no-print-directory -C ${PJPROJECT_DIR} \
PJPROJECT_CONFIGURE_OPTS="$PJPROJECT_CONFIGURE_OPTS" \
EXTERNALS_CACHE_DIR="${EXTERNALS_CACHE_DIR:-${AST_DOWNLOAD_CACHE}}" \
PJPROJECT_BUNDLED_OOT="${PJPROJECT_BUNDLED_OOT}" \
echo_cflags)
PJPROJECT_CFLAGS="$PJPROJECT_INCLUDE"
PBX_PJPROJECT=1
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
$as_echo "#define HAVE_PJPROJECT 1" >>confdefs.h
$as_echo "#define HAVE_PJPROJECT_BUNDLED 1" >>confdefs.h
$as_echo "#define HAVE_PJSIP_DLG_CREATE_UAS_AND_INC_LOCK 1" >>confdefs.h
$as_echo "#define HAVE_PJ_TRANSACTION_GRP_LOCK 1" >>confdefs.h
$as_echo "#define HAVE_PJSIP_REPLACE_MEDIA_STREAM 1" >>confdefs.h
$as_echo "#define HAVE_PJSIP_GET_DEST_INFO 1" >>confdefs.h
$as_echo "#define HAVE_PJ_SSL_CERT_LOAD_FROM_FILES2 1" >>confdefs.h
$as_echo "#define HAVE_PJSIP_EXTERNAL_RESOLVER 1" >>confdefs.h
$as_echo "#define HAVE_PJSIP_TLS_TRANSPORT_PROTO 1" >>confdefs.h
$as_echo "#define HAVE_PJSIP_EVSUB_GRP_LOCK 1" >>confdefs.h
$as_echo "#define HAVE_PJSIP_INV_SESSION_REF 1" >>confdefs.h
$as_echo "#define HAVE_PJSIP_AUTH_CLT_DEINIT 1" >>confdefs.h
$as_echo "#define HAVE_PJSIP_TSX_LAYER_FIND_TSX2 1" >>confdefs.h
$as_echo "#define HAVE_PJSIP_INV_ACCEPT_MULTIPLE_SDP_ANSWERS 1" >>confdefs.h
$as_echo "#define HAVE_PJSIP_ENDPOINT_COMPACT_FORM 1" >>confdefs.h
$as_echo "#define HAVE_PJSIP_TRANSPORT_DISABLE_CONNECTION_REUSE 1" >>confdefs.h
$as_echo "#define HAVE_PJSIP_OAUTH_AUTHENTICATION 1" >>confdefs.h
$as_echo "#define HAVE_PJPROJECT_ON_VALID_ICE_PAIR_CALLBACK 1" >>confdefs.h
$as_echo "#define HAVE_PJSIP_TLS_TRANSPORT_RESTART 1" >>confdefs.h
$as_echo "#define HAVE_PJSIP_EVSUB_PENDING_NOTIFY 1" >>confdefs.h
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
fi
# AST_EXT_LIB_SETUP is used to tell configure to handle variables for
# various packages.
# $1 is the prefix for the variables in makeopts and autoconfig.h
# $2 is the short comment, $4 is the long comment
# $3 is the name used in --with- or --without- flags for configure.
#
# Package option names should be in alphabetical order
# by the --with option name (the third field),
# to make things easier for the users.
ALSA_DESCRIP="Advanced Linux Sound Architecture"
ALSA_OPTION="asound"
PBX_ALSA=0
# Check whether --with-asound was given.
if test "${with_asound+set}" = set; then :
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
withval=$with_asound;
case ${withval} in
n|no)
USE_ALSA=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_ALSA=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} ALSA"
;;
*)
ALSA_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} ALSA"
;;
esac
fi
BFD_DESCRIP="Debug symbol decoding"
BFD_OPTION="bfd"
PBX_BFD=0
# Check whether --with-bfd was given.
if test "${with_bfd+set}" = set; then :
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
withval=$with_bfd;
case ${withval} in
n|no)
USE_BFD=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_BFD=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} BFD"
;;
*)
BFD_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} BFD"
;;
esac
fi
# BKTR is used for backtrace support on platforms that do not
# have it natively.
BKTR_DESCRIP="Stack Backtrace"
BKTR_OPTION="execinfo"
PBX_BKTR=0
# Check whether --with-execinfo was given.
if test "${with_execinfo+set}" = set; then :
withval=$with_execinfo;
case ${withval} in
n|no)
USE_BKTR=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_BKTR=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} BKTR"
;;
*)
BKTR_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} BKTR"
;;
esac
BLUETOOTH_DESCRIP="Bluetooth"
BLUETOOTH_OPTION="bluetooth"
PBX_BLUETOOTH=0
# Check whether --with-bluetooth was given.
if test "${with_bluetooth+set}" = set; then :
withval=$with_bluetooth;
case ${withval} in
n|no)
USE_BLUETOOTH=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_BLUETOOTH=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} BLUETOOTH"
;;
*)
BLUETOOTH_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} BLUETOOTH"
;;
esac
CAP_DESCRIP="POSIX 1.e capabilities"
CAP_OPTION="cap"
PBX_CAP=0
# Check whether --with-cap was given.
if test "${with_cap+set}" = set; then :
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
withval=$with_cap;
case ${withval} in
n|no)
USE_CAP=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_CAP=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} CAP"
;;
*)
CAP_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} CAP"
;;
esac
fi
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
CODEC2_DESCRIP="Codec 2 Audio Decoder/Encoder"
CODEC2_OPTION="codec2"
PBX_CODEC2=0
# Check whether --with-codec2 was given.
if test "${with_codec2+set}" = set; then :
withval=$with_codec2;
case ${withval} in
n|no)
USE_CODEC2=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_CODEC2=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} CODEC2"
;;
*)
CODEC2_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} CODEC2"
;;
esac
fi
COROSYNC_DESCRIP="Corosync"
COROSYNC_OPTION="cpg"
PBX_COROSYNC=0
# Check whether --with-cpg was given.
if test "${with_cpg+set}" = set; then :
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
withval=$with_cpg;
case ${withval} in
n|no)
USE_COROSYNC=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_COROSYNC=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} COROSYNC"
;;
*)
COROSYNC_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} COROSYNC"
;;
esac
fi
COROSYNC_CFG_STATE_TRACK_DESCRIP="A callback only in corosync 1.x"
COROSYNC_CFG_STATE_TRACK_OPTION=cfg
COROSYNC_CFG_STATE_TRACK_DIR=${COROSYNC_DIR}
PBX_COROSYNC_CFG_STATE_TRACK=0
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
CRYPT_DESCRIP="password and data encryption"
CRYPT_OPTION="crypt"
PBX_CRYPT=0
# Check whether --with-crypt was given.
if test "${with_crypt+set}" = set; then :
withval=$with_crypt;
case ${withval} in
n|no)
USE_CRYPT=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_CRYPT=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} CRYPT"
;;
*)
CRYPT_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} CRYPT"
;;
esac
fi
DAHDI_DESCRIP="DAHDI"
DAHDI_OPTION="dahdi"
PBX_DAHDI=0
# Check whether --with-dahdi was given.
if test "${with_dahdi+set}" = set; then :
withval=$with_dahdi;
case ${withval} in
n|no)
USE_DAHDI=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_DAHDI=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} DAHDI"
;;
*)
DAHDI_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} DAHDI"
;;
esac
FFMPEG_DESCRIP="Ffmpeg and avcodec"
FFMPEG_OPTION="avcodec"
PBX_FFMPEG=0
# Check whether --with-avcodec was given.
if test "${with_avcodec+set}" = set; then :
withval=$with_avcodec;
case ${withval} in
n|no)
USE_FFMPEG=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_FFMPEG=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} FFMPEG"
;;
*)
FFMPEG_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} FFMPEG"
;;
esac
GSM_DESCRIP="External GSM"
GSM_OPTION="gsm"
PBX_GSM=0
# Check whether --with-gsm was given.
if test "${with_gsm+set}" = set; then :
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
withval=$with_gsm;
case ${withval} in
n|no)
USE_GSM=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_GSM=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} GSM"
;;
*)
GSM_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} GSM"
;;
esac
fi
ILBC_DESCRIP="System iLBC"
ILBC_OPTION="ilbc"
PBX_ILBC=0
# Check whether --with-ilbc was given.
if test "${with_ilbc+set}" = set; then :
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
withval=$with_ilbc;
case ${withval} in
n|no)
USE_ILBC=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_ILBC=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} ILBC"
;;
*)
ILBC_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} ILBC"
;;
esac
fi
GTK2_DESCRIP="gtk2"
GTK2_OPTION="gtk2"
PBX_GTK2=0
# Check whether --with-gtk2 was given.
if test "${with_gtk2+set}" = set; then :
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
withval=$with_gtk2;
case ${withval} in
n|no)
USE_GTK2=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_GTK2=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} GTK2"
;;
*)
GTK2_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} GTK2"
;;
esac
fi
GMIME_DESCRIP="GMime"
GMIME_OPTION="gmime"
PBX_GMIME=0
# Check whether --with-gmime was given.
if test "${with_gmime+set}" = set; then :
withval=$with_gmime;
case ${withval} in
n|no)
USE_GMIME=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_GMIME=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} GMIME"
;;
*)
GMIME_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} GMIME"
;;
esac
fi
HOARD_DESCRIP="Hoard Memory Allocator"
HOARD_OPTION="hoard"
PBX_HOARD=0
# Check whether --with-hoard was given.
if test "${with_hoard+set}" = set; then :
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
withval=$with_hoard;
case ${withval} in
n|no)
USE_HOARD=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_HOARD=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} HOARD"
;;
*)
HOARD_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} HOARD"
;;
esac
ICAL_DESCRIP="iCal"
ICAL_OPTION="ical"
PBX_ICAL=0
# Check whether --with-ical was given.
if test "${with_ical+set}" = set; then :
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
withval=$with_ical;
case ${withval} in
n|no)
USE_ICAL=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_ICAL=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} ICAL"
;;
*)
ICAL_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} ICAL"
;;
esac
ICONV_DESCRIP="Iconv"
ICONV_OPTION="iconv"
PBX_ICONV=0
# Check whether --with-iconv was given.
if test "${with_iconv+set}" = set; then :
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
withval=$with_iconv;
case ${withval} in
n|no)
USE_ICONV=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_ICONV=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} ICONV"
;;
*)
ICONV_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} ICONV"
;;
esac
IKSEMEL_DESCRIP="Iksemel Jabber"
IKSEMEL_OPTION="iksemel"
PBX_IKSEMEL=0
# Check whether --with-iksemel was given.
if test "${with_iksemel+set}" = set; then :
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
withval=$with_iksemel;
case ${withval} in
n|no)
USE_IKSEMEL=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_IKSEMEL=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} IKSEMEL"
;;
*)
IKSEMEL_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} IKSEMEL"
;;
esac
IMAP_TK_DESCRIP="UW IMAP Toolkit"
IMAP_TK_OPTION="imap"
PBX_IMAP_TK=0
# Check whether --with-imap was given.
if test "${with_imap+set}" = set; then :
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
withval=$with_imap;
case ${withval} in
n|no)
USE_IMAP_TK=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_IMAP_TK=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} IMAP_TK"
;;
*)
IMAP_TK_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} IMAP_TK"
;;
esac
fi
INOTIFY_DESCRIP="inotify support"
INOTIFY_OPTION="inotify"
PBX_INOTIFY=0
# Check whether --with-inotify was given.
if test "${with_inotify+set}" = set; then :
withval=$with_inotify;
case ${withval} in
n|no)
USE_INOTIFY=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_INOTIFY=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} INOTIFY"
;;
*)
INOTIFY_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} INOTIFY"
;;
esac
fi
IODBC_DESCRIP="iODBC"
IODBC_OPTION="iodbc"
PBX_IODBC=0
# Check whether --with-iodbc was given.
if test "${with_iodbc+set}" = set; then :
withval=$with_iodbc;
case ${withval} in
n|no)
USE_IODBC=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_IODBC=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} IODBC"
;;
*)
IODBC_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} IODBC"
;;
esac
fi
JACK_DESCRIP="Jack Audio Connection Kit"
JACK_OPTION="jack"
PBX_JACK=0
# Check whether --with-jack was given.
if test "${with_jack+set}" = set; then :
withval=$with_jack;
case ${withval} in
n|no)
USE_JACK=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_JACK=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} JACK"
;;
*)
JACK_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} JACK"
;;
esac
fi
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
JANSSON_DESCRIP="Jansson JSON library"
JANSSON_OPTION="jansson"
PBX_JANSSON=0
# Check whether --with-jansson was given.
if test "${with_jansson+set}" = set; then :
withval=$with_jansson;
case ${withval} in
n|no)
USE_JANSSON=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_JANSSON=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} JANSSON"
;;
*)
JANSSON_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} JANSSON"
;;
esac
fi
URIPARSER_DESCRIP="uriparser library"
URIPARSER_OPTION="uriparser"
PBX_URIPARSER=0
# Check whether --with-uriparser was given.