Skip to content
Snippets Groups Projects
configure 1.4 MiB
Newer Older
  • Learn to ignore specific revisions
  •     CURSES_DESCRIP="curses"
        CURSES_OPTION="curses"
    
    # Check whether --with-curses was given.
    if test "${with_curses+set}" = set; then
      withval=$with_curses;
    
    	case ${withval} in
    	n|no)
    	USE_CURSES=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} CURSES"
    	;;
    	*)
    	CURSES_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} CURSES"
    	;;
    	esac
    
        PBX_CURSES=0
    
        CRYPTO_DESCRIP="OpenSSL Cryptography support"
        CRYPTO_OPTION="crypto"
    
    
    # Check whether --with-crypto was given.
    if test "${with_crypto+set}" = set; then
      withval=$with_crypto;
    
    	case ${withval} in
    	n|no)
    	USE_CRYPTO=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} CRYPTO"
    	;;
    	*)
    	CRYPTO_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} CRYPTO"
    	;;
    	esac
    
        PBX_CRYPTO=0
    
        GSM_DESCRIP="External GSM library"
    
        GSM_OPTION="gsm"
    
    # Check whether --with-gsm was given.
    if test "${with_gsm+set}" = set; then
      withval=$with_gsm;
    
    	case ${withval} in
    	n|no)
    	USE_GSM=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} GSM"
    	;;
    	*)
    	GSM_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} GSM"
    	;;
    	esac
    
        GTK_DESCRIP="gtk libraries"
        GTK_OPTION="gtk"
    
    # Check whether --with-gtk was given.
    if test "${with_gtk+set}" = set; then
      withval=$with_gtk;
    	case ${withval} in
    	n|no)
    	USE_GTK=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} GTK"
    	;;
    	*)
    	GTK_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} GTK"
    	;;
    	esac
    
    fi
    
        PBX_GTK=0
    
    
    
    
    
    
        GTK2_DESCRIP="gtk2 libraries"
        GTK2_OPTION="gtk2"
    
    # Check whether --with-gtk2 was given.
    if test "${with_gtk2+set}" = set; then
      withval=$with_gtk2;
    	case ${withval} in
    	n|no)
    	USE_GTK2=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} GTK2"
    	;;
    	*)
    	GTK2_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} GTK2"
    	;;
    	esac
    
    fi
    
        PBX_GTK2=0
    
    
    
    
    
    
    
        ICONV_DESCRIP="Iconv Library"
        ICONV_OPTION="iconv"
    
    # Check whether --with-iconv was given.
    if test "${with_iconv+set}" = set; then
      withval=$with_iconv;
    	case ${withval} in
    	n|no)
    	USE_ICONV=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} ICONV"
    	;;
    	*)
    	ICONV_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} ICONV"
    	;;
    	esac
    
    fi
    
        PBX_ICONV=0
    
    
    
    
    
    
    
        IKSEMEL_DESCRIP="Iksemel Jabber Library"
        IKSEMEL_OPTION="iksemel"
    
    # Check whether --with-iksemel was given.
    if test "${with_iksemel+set}" = set; then
      withval=$with_iksemel;
    
    	case ${withval} in
    	n|no)
    	USE_IKSEMEL=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} IKSEMEL"
    	;;
    	*)
    	IKSEMEL_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} IKSEMEL"
    	;;
    	esac
    
        PBX_IKSEMEL=0
    
        IMAP_TK_DESCRIP="UW IMAP Toolkit"
        IMAP_TK_OPTION="imap"
    
    # 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
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} IMAP_TK"
    	;;
    	*)
    	IMAP_TK_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} IMAP_TK"
    	;;
    	esac
    
        PBX_IMAP_TK=0
    
        ISDNNET_DESCRIP="ISDN4Linux Library"
        ISDNNET_OPTION="isdnnet"
    
    
    # Check whether --with-isdnnet was given.
    if test "${with_isdnnet+set}" = set; then
      withval=$with_isdnnet;
    
    	case ${withval} in
    	n|no)
    	USE_ISDNNET=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} ISDNNET"
    	;;
    	*)
    	ISDNNET_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} ISDNNET"
    	;;
    	esac
    
        PBX_ISDNNET=0
    
        KDE_DESCRIP="KDE"
        KDE_OPTION="kde"
    
    # Check whether --with-kde was given.
    if test "${with_kde+set}" = set; then
      withval=$with_kde;
    
    	case ${withval} in
    	n|no)
    	USE_KDE=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} KDE"
    	;;
    	*)
    	KDE_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} KDE"
    	;;
    	esac
    
        LTDL_DESCRIP="libtool"
        LTDL_OPTION="ltdl"
    
    
    # Check whether --with-ltdl was given.
    if test "${with_ltdl+set}" = set; then
      withval=$with_ltdl;
    
    	case ${withval} in
    	n|no)
    	USE_LTDL=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} LTDL"
    	;;
    	*)
    	LTDL_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} LTDL"
    	;;
    	esac
    
        LUA_DESCRIP="Lua"
        LUA_OPTION="lua"
    
    
    # Check whether --with-lua was given.
    if test "${with_lua+set}" = set; then
      withval=$with_lua;
    
    	case ${withval} in
    	n|no)
    	USE_LUA=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} LUA"
    	;;
    	*)
    	LUA_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} LUA"
    	;;
    	esac
    
        MISDN_DESCRIP="mISDN User Library"
        MISDN_OPTION="misdn"
    
    
    # Check whether --with-misdn was given.
    if test "${with_misdn+set}" = set; then
      withval=$with_misdn;
    
    	case ${withval} in
    	n|no)
    	USE_MISDN=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} MISDN"
    	;;
    	*)
    	MISDN_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} MISDN"
    	;;
    	esac
    
        PBX_MISDN=0
    
        NBS_DESCRIP="Network Broadcast Sound"
        NBS_OPTION="nbs"
    
    # Check whether --with-nbs was given.
    if test "${with_nbs+set}" = set; then
      withval=$with_nbs;
    
    	case ${withval} in
    	n|no)
    	USE_NBS=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} NBS"
    	;;
    	*)
    	NBS_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} NBS"
    	;;
    	esac
    
        NCURSES_DESCRIP="ncurses"
        NCURSES_OPTION="ncurses"
    
    # Check whether --with-ncurses was given.
    if test "${with_ncurses+set}" = set; then
      withval=$with_ncurses;
    
    	case ${withval} in
    	n|no)
    	USE_NCURSES=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} NCURSES"
    	;;
    	*)
    	NCURSES_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} NCURSES"
    	;;
    	esac
    
        PBX_NCURSES=0
    
        NETSNMP_DESCRIP="Net-SNMP"
        NETSNMP_OPTION="netsnmp"
    
    # Check whether --with-netsnmp was given.
    if test "${with_netsnmp+set}" = set; then
      withval=$with_netsnmp;
    
    	case ${withval} in
    	n|no)
    	USE_NETSNMP=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} NETSNMP"
    	;;
    	*)
    	NETSNMP_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} NETSNMP"
    	;;
    	esac
    
        PBX_NETSNMP=0
    
        NEWT_DESCRIP="newt"
        NEWT_OPTION="newt"
    
    
    # Check whether --with-newt was given.
    if test "${with_newt+set}" = set; then
      withval=$with_newt;
    
    	case ${withval} in
    	n|no)
    	USE_NEWT=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} NEWT"
    	;;
    	*)
    	NEWT_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} NEWT"
    	;;
    	esac
    
        UNIXODBC_DESCRIP="unixODBC"
        UNIXODBC_OPTION="odbc"
    
    
    # Check whether --with-odbc was given.
    if test "${with_odbc+set}" = set; then
      withval=$with_odbc;
    
    	case ${withval} in
    	n|no)
    	USE_UNIXODBC=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} UNIXODBC"
    	;;
    	*)
    	UNIXODBC_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} UNIXODBC"
    	;;
    	esac
    
        PBX_UNIXODBC=0
    
        OGG_DESCRIP="OGG"
        OGG_OPTION="ogg"
    
    
    # Check whether --with-ogg was given.
    if test "${with_ogg+set}" = set; then
      withval=$with_ogg;
    
    	case ${withval} in
    	n|no)
    	USE_OGG=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} OGG"
    	;;
    	*)
    	OGG_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} OGG"
    	;;
    	esac
    
        OSPTK_DESCRIP="OSP Toolkit"
        OSPTK_OPTION="osptk"
    
    
    # Check whether --with-osptk was given.
    if test "${with_osptk+set}" = set; then
      withval=$with_osptk;
    
    	case ${withval} in
    	n|no)
    	USE_OSPTK=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} OSPTK"
    	;;
    	*)
    	OSPTK_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} OSPTK"
    	;;
    	esac
    
        PBX_OSPTK=0
    
        OSS_DESCRIP="Open Sound System"
        OSS_OPTION="oss"
    
    # Check whether --with-oss was given.
    if test "${with_oss+set}" = set; then
      withval=$with_oss;
    
    	case ${withval} in
    	n|no)
    	USE_OSS=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} OSS"
    	;;
    	*)
    	OSS_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} OSS"
    	;;
    	esac
    
        PGSQL_DESCRIP="PostgreSQL"
        PGSQL_OPTION="postgres"
    
    # Check whether --with-postgres was given.
    if test "${with_postgres+set}" = set; then
      withval=$with_postgres;
    	case ${withval} in
    	n|no)
    	USE_PGSQL=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} PGSQL"
    	;;
    	*)
    	PGSQL_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} PGSQL"
    	;;
    	esac
    
    fi
    
        PBX_PGSQL=0
    
    
    
    
    
    
    
        POPT_DESCRIP="popt"
        POPT_OPTION="popt"
    
    
    # Check whether --with-popt was given.
    if test "${with_popt+set}" = set; then
      withval=$with_popt;
    
    	case ${withval} in
    	n|no)
    	USE_POPT=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} POPT"
    	;;
    	*)
    	POPT_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} POPT"
    	;;
    	esac
    
        PORTAUDIO_DESCRIP="PortAudio"
        PORTAUDIO_OPTION="portaudio"
    
    # Check whether --with-portaudio was given.
    if test "${with_portaudio+set}" = set; then
      withval=$with_portaudio;
    
    	case ${withval} in
    	n|no)
    
    	ac_mandatory_list="${ac_mandatory_list} PORTAUDIO"
    
    	PORTAUDIO_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} PORTAUDIO"
    
        PRI_DESCRIP="ISDN PRI"
        PRI_OPTION="pri"
    
    # Check whether --with-pri was given.
    if test "${with_pri+set}" = set; then
      withval=$with_pri;
    
    	case ${withval} in
    	n|no)
    	USE_PRI=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} PRI"
    	;;
    	*)
    	PRI_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} PRI"
    	;;
    	esac
    
        SS7_DESCRIP="ISDN SS7"
        SS7_OPTION="ss7"
    
    Matthew Fredrickson's avatar
    Matthew Fredrickson committed
    
    # Check whether --with-ss7 was given.
    if test "${with_ss7+set}" = set; then
      withval=$with_ss7;
    
    	case ${withval} in
    	n|no)
    	USE_SS7=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} SS7"
    	;;
    	*)
    	SS7_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} SS7"
    	;;
    	esac
    
        PWLIB_DESCRIP="PWlib"
        PWLIB_OPTION="pwlib"
    
    
    # Check whether --with-pwlib was given.
    if test "${with_pwlib+set}" = set; then
      withval=$with_pwlib;
    
    	case ${withval} in
    	n|no)
    	USE_PWLIB=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} PWLIB"
    	;;
    	*)
    	PWLIB_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} PWLIB"
    	;;
    	esac
    
        PBX_PWLIB=0
    
        OPENH323_DESCRIP="OpenH323"
        OPENH323_OPTION="h323"
    
    
    # Check whether --with-h323 was given.
    if test "${with_h323+set}" = set; then
      withval=$with_h323;
    
    	case ${withval} in
    	n|no)
    	USE_OPENH323=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} OPENH323"
    	;;
    	*)
    	OPENH323_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} OPENH323"
    	;;
    	esac
    
        PBX_OPENH323=0
    
        QT_DESCRIP="Qt"
        QT_OPTION="qt"
    
    
    # Check whether --with-qt was given.
    if test "${with_qt+set}" = set; then
      withval=$with_qt;
    
    	case ${withval} in
    	n|no)
    	USE_QT=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} QT"
    	;;
    	*)
    	QT_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} QT"
    	;;
    	esac
    
        RADIUS_DESCRIP="Radius Client"
        RADIUS_OPTION="radius"
    
    
    # Check whether --with-radius was given.
    if test "${with_radius+set}" = set; then
      withval=$with_radius;
    
    	case ${withval} in
    	n|no)
    	USE_RADIUS=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} RADIUS"
    	;;
    	*)
    	RADIUS_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} RADIUS"
    	;;
    	esac
    
        PBX_RADIUS=0
    
        SPEEX_DESCRIP="Speex"
        SPEEX_OPTION="speex"
    
    # Check whether --with-speex was given.
    if test "${with_speex+set}" = set; then
      withval=$with_speex;
    
    	case ${withval} in
    	n|no)
    	USE_SPEEX=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} SPEEX"
    	;;
    	*)
    	SPEEX_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} SPEEX"
    	;;
    	esac
    
        PBX_SPEEX=0
    
        SQLITE_DESCRIP="SQLite"
        SQLITE_OPTION="sqlite"
    
    
    # Check whether --with-sqlite was given.
    if test "${with_sqlite+set}" = set; then
      withval=$with_sqlite;
    
    	case ${withval} in
    	n|no)
    	USE_SQLITE=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} SQLITE"
    	;;
    	*)
    	SQLITE_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} SQLITE"
    	;;
    	esac
    
        PBX_SQLITE=0
    
        SQLITE3_DESCRIP="SQLite"
        SQLITE3_OPTION="sqlite3"
    
    
    # Check whether --with-sqlite3 was given.
    if test "${with_sqlite3+set}" = set; then
      withval=$with_sqlite3;
    
    	case ${withval} in
    	n|no)
    	USE_SQLITE3=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} SQLITE3"
    	;;
    	*)
    	SQLITE3_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} SQLITE3"
    	;;
    	esac
    
        PBX_SQLITE3=0
    
        SUPPSERV_DESCRIP="mISDN Supplemental Services"
        SUPPSERV_OPTION="suppserv"
    
    
    # Check whether --with-suppserv was given.
    if test "${with_suppserv+set}" = set; then
      withval=$with_suppserv;
    
    	case ${withval} in
    	n|no)
    	USE_SUPPSERV=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} SUPPSERV"
    	;;
    	*)
    	SUPPSERV_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} SUPPSERV"
    	;;
    	esac
    
        PBX_SUPPSERV=0
    
        OPENSSL_DESCRIP="OpenSSL Secure Sockets Layer support"
        OPENSSL_OPTION="ssl"
    
    # Check whether --with-ssl was given.
    if test "${with_ssl+set}" = set; then
      withval=$with_ssl;
    
    	case ${withval} in
    	n|no)
    	USE_OPENSSL=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} OPENSSL"
    	;;
    	*)
    	OPENSSL_DIR="${withval}"
    	ac_mandatory_list="${ac_mandatory_list} OPENSSL"
    	;;
    	esac
    
        PBX_OPENSSL=0
    
        FREETDS_DESCRIP="FreeTDS"
        FREETDS_OPTION="tds"
    
    # Check whether --with-tds was given.
    if test "${with_tds+set}" = set; then
      withval=$with_tds;
    
    	case ${withval} in
    	n|no)
    	USE_FREETDS=no
    	;;
    	y|ye|yes)
    	ac_mandatory_list="${ac_mandatory_list} FREETDS"
    	;;
    	*)