Skip to content
Snippets Groups Projects
configure 940 KiB
Newer Older
  • Learn to ignore specific revisions
  • 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
    
    		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 "$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
    
    
    
    $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
    
    
    
    Joshua Colp's avatar
    Joshua Colp committed
    $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
    
    # 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 :
    
      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 :
    
      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 :
    
      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
    
    
    
    
    
    
    
    
    
        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 :
    
      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
    
    
    
    
    
    
    
    
        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 :
    
      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
    
    
        ILBC_DESCRIP="System iLBC"
        ILBC_OPTION="ilbc"
        PBX_ILBC=0
    
    # Check whether --with-ilbc was given.
    
    if test "${with_ilbc+set}" = set; then :
    
      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 :
    
      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
    
    
        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
    
        HOARD_DESCRIP="Hoard Memory Allocator"
        HOARD_OPTION="hoard"
        PBX_HOARD=0
    
    # Check whether --with-hoard was given.
    
    if test "${with_hoard+set}" = set; then :
    
      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 :
    
      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 :
    
      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 :
    
      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 :
    
      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
    
    
        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
    
        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
    
        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
    
    David M. Lee's avatar
    David M. Lee committed
        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
    
    
    
    
    
    
    
    
    
    Joshua Colp's avatar
    Joshua Colp committed
        URIPARSER_DESCRIP="uriparser library"
        URIPARSER_OPTION="uriparser"
        PBX_URIPARSER=0
    
    # Check whether --with-uriparser was given.