Newer
Older
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
if test "${with_uriparser+set}" = set; then :
withval=$with_uriparser;
case ${withval} in
n|no)
USE_URIPARSER=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_URIPARSER=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} URIPARSER"
;;
*)
URIPARSER_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} URIPARSER"
;;
esac
fi
KQUEUE_DESCRIP="kqueue support"
KQUEUE_OPTION="kqueue"
PBX_KQUEUE=0
# Check whether --with-kqueue was given.
if test "${with_kqueue+set}" = set; then :
withval=$with_kqueue;
case ${withval} in
n|no)
USE_KQUEUE=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_KQUEUE=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} KQUEUE"
;;
*)
KQUEUE_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} KQUEUE"
;;
esac
LDAP_DESCRIP="OpenLDAP"
LDAP_OPTION="ldap"
PBX_LDAP=0
# Check whether --with-ldap was given.
if test "${with_ldap+set}" = set; then :
withval=$with_ldap;
case ${withval} in
n|no)
USE_LDAP=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_LDAP=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} LDAP"
;;
*)
LDAP_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} LDAP"
;;
esac
PBX_CURL=0
# Check whether --with-libcurl was given.
if test "${with_libcurl+set}" = set; then :
withval=$with_libcurl; _libcurl_with=$withval
_libcurl_with=yes
fi
if test "$_libcurl_with" != "no" ; then
for ac_prog in gawk mawk nawk awk
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
else
if test -n "$AWK"; then
ac_cv_prog_AWK="$AWK" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
IFS=$as_save_IFS
fi
fi
AWK=$ac_cv_prog_AWK
if test -n "$AWK"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
fi
test -n "$AWK" && break
done
_libcurl_version_parse="eval $AWK '{split(\$NF,A,\".\"); X=256*256*A[1]+256*A[2]+A[3]; print X;}'"
_libcurl_try_link=yes
if test -d "$_libcurl_with" ; then
CURL_INCLUDE="-I$withval/include"
_libcurl_ldflags="-L$withval/lib"
# Extract the first word of "curl-config", so it can be a program name with args.
set dummy curl-config; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path__libcurl_config+:} false; then :
else
case $_libcurl_config in
[\\/]* | ?:[\\/]*)
ac_cv_path__libcurl_config="$_libcurl_config" # Let the user override the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in "$withval/bin"
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path__libcurl_config="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
IFS=$as_save_IFS
;;
esac
fi
_libcurl_config=$ac_cv_path__libcurl_config
if test -n "$_libcurl_config"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_libcurl_config" >&5
$as_echo "$_libcurl_config" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
fi
else
# Extract the first word of "curl-config", so it can be a program name with args.
set dummy curl-config; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path__libcurl_config+:} false; then :
case $_libcurl_config in
[\\/]* | ?:[\\/]*)
ac_cv_path__libcurl_config="$_libcurl_config" # Let the user override the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path__libcurl_config="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
IFS=$as_save_IFS
_libcurl_config=$ac_cv_path__libcurl_config
if test -n "$_libcurl_config"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_libcurl_config" >&5
$as_echo "$_libcurl_config" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
fi
if test x$_libcurl_config != "x" ; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the version of libcurl" >&5
$as_echo_n "checking for the version of libcurl... " >&6; }
if ${libcurl_cv_lib_curl_version+:} false; then :
else
libcurl_cv_lib_curl_version=`$_libcurl_config --version | $AWK '{print $2}'`
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libcurl_cv_lib_curl_version" >&5
$as_echo "$libcurl_cv_lib_curl_version" >&6; }
_libcurl_version=`echo $libcurl_cv_lib_curl_version | $_libcurl_version_parse`
_libcurl_wanted=`echo 7.10.1 | $_libcurl_version_parse`
if test $_libcurl_wanted -gt 0 ; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl >= version 7.10.1" >&5
$as_echo_n "checking for libcurl >= version 7.10.1... " >&6; }
if test $_libcurl_version -ge $_libcurl_wanted ; then
libcurl_cv_lib_version_ok=yes
else
libcurl_cv_lib_version_ok=no
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libcurl_cv_lib_version_ok" >&5
$as_echo "$libcurl_cv_lib_version_ok" >&6; }
if test $_libcurl_wanted -eq 0 || test x$libcurl_cv_lib_version_ok = xyes ; then
if test x"$CURL_INCLUDE" = "x" ; then
CURL_INCLUDE=`$_libcurl_config --cflags`
fi
if test x"$CURL_LIB" = "x" ; then
CURL_LIB=`$_libcurl_config --libs`
# This is so silly, but Apple actually has a bug in their
# curl-config script. Fixed in Tiger, but there are still
# lots of Panther installs around.
case "${host}" in
powerpc-apple-darwin7*)
CURL_LIB=`echo $CURL_LIB | sed -e 's|-arch i386||g'`
;;
esac
fi
# All curl-config scripts support --feature
_libcurl_features=`$_libcurl_config --feature`
# Is it modern enough to have --protocols? (7.12.4)
if test $_libcurl_version -ge 461828 ; then
_libcurl_protocols=`$_libcurl_config --protocols`
fi
else
_libcurl_try_link=no
fi
unset _libcurl_wanted
fi
if test $_libcurl_try_link = yes ; then
# we didn't find curl-config, so let's see if the user-supplied
# link line (or failing that, "-lcurl") is enough.
CURL_LIB=${CURL_LIB-"$_libcurl_ldflags -lcurl"}
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcurl is usable" >&5
$as_echo_n "checking whether libcurl is usable... " >&6; }
if ${libcurl_cv_lib_curl_usable+:} false; then :
else
_libcurl_save_cppflags=$CPPFLAGS
CPPFLAGS="$CURL_INCLUDE $CPPFLAGS"
_libcurl_save_libs=$LIBS
LIBS="$CURL_LIB $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* Try and use a few common options to force a failure if we are
missing symbols or can't link. */
int x;
curl_easy_setopt(NULL,CURLOPT_URL,NULL);
x=CURL_ERROR_SIZE;
x=CURLOPT_WRITEFUNCTION;
x=CURLOPT_WRITEDATA;
x=CURLOPT_ERRORBUFFER;
x=CURLOPT_STDERR;
x=CURLOPT_VERBOSE;
if (x) {;}
;
return 0;
}
_ACEOF
libcurl_cv_lib_curl_usable=yes
else
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
CPPFLAGS=$_libcurl_save_cppflags
LIBS=$_libcurl_save_libs
unset _libcurl_save_cppflags
unset _libcurl_save_libs
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libcurl_cv_lib_curl_usable" >&5
$as_echo "$libcurl_cv_lib_curl_usable" >&6; }
if test $libcurl_cv_lib_curl_usable = yes ; then
# Does curl_free() exist in this version of libcurl?
# If not, fake it with free()
_libcurl_save_cppflags=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $CURL_INCLUDE"
_libcurl_save_libs=$LIBS
LIBS="$LIBS $CURL_LIB"
ac_fn_c_check_func "$LINENO" "curl_free" "ac_cv_func_curl_free"
$as_echo "#define curl_free free" >>confdefs.h
fi
CPPFLAGS=$_libcurl_save_cppflags
LIBS=$_libcurl_save_libs
unset _libcurl_save_cppflags
unset _libcurl_save_libs
$as_echo "#define HAVE_CURL 1" >>confdefs.h
PBX_CURL=1
for _libcurl_feature in $_libcurl_features ; do
cat >>confdefs.h <<_ACEOF
#define `$as_echo "libcurl_feature_$_libcurl_feature" | $as_tr_cpp` 1
_ACEOF
eval `$as_echo "libcurl_feature_$_libcurl_feature" | $as_tr_sh`=yes
if test "x$_libcurl_protocols" = "x" ; then
# We don't have --protocols, so just assume that all
# protocols are available
_libcurl_protocols="HTTP FTP FILE TELNET LDAP DICT TFTP"
if test x$libcurl_feature_SSL = xyes ; then
_libcurl_protocols="$_libcurl_protocols HTTPS"
# FTPS wasn't standards-compliant until version
# 7.11.0 (0x070b00 == 461568)
if test $_libcurl_version -ge 461568; then
_libcurl_protocols="$_libcurl_protocols FTPS"
fi
fi
# RTSP, IMAP, POP3 and SMTP were added in
# 7.20.0 (0x071400 == 463872)
if test $_libcurl_version -ge 463872; then
_libcurl_protocols="$_libcurl_protocols RTSP IMAP POP3 SMTP"
fi
fi
for _libcurl_protocol in $_libcurl_protocols ; do
cat >>confdefs.h <<_ACEOF
#define `$as_echo "libcurl_protocol_$_libcurl_protocol" | $as_tr_cpp` 1
_ACEOF
eval `$as_echo "libcurl_protocol_$_libcurl_protocol" | $as_tr_sh`=yes
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
done
else
unset CURL_LIB
unset CURL_INCLUDE
fi
fi
unset _libcurl_try_link
unset _libcurl_version_parse
unset _libcurl_config
unset _libcurl_feature
unset _libcurl_features
unset _libcurl_protocol
unset _libcurl_protocols
unset _libcurl_version
unset _libcurl_ldflags
fi
if test x$_libcurl_with = xno || test x$libcurl_cv_lib_curl_usable != xyes ; then
# This is the IF-NO path
:
else
# This is the IF-YES path
:
fi
LIBEDIT_DESCRIP="NetBSD Editline library"
LIBEDIT_OPTION="libedit"
PBX_LIBEDIT=0
# Check whether --with-libedit was given.
if test "${with_libedit+set}" = set; then :
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
withval=$with_libedit;
case ${withval} in
n|no)
USE_LIBEDIT=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_LIBEDIT=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} LIBEDIT"
;;
*)
LIBEDIT_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} LIBEDIT"
;;
esac
fi
LIBEDIT_IS_UNICODE_DESCRIP="Libedit compiled for unicode"
LIBEDIT_IS_UNICODE_OPTION=libedit
LIBEDIT_IS_UNICODE_DIR=${LIBEDIT_DIR}
PBX_LIBEDIT_IS_UNICODE=0
LIBXML2_DESCRIP="LibXML2"
LIBXML2_OPTION="libxml2"
PBX_LIBXML2=0
# Check whether --with-libxml2 was given.
if test "${with_libxml2+set}" = set; then :
withval=$with_libxml2;
case ${withval} in
n|no)
USE_LIBXML2=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_LIBXML2=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} LIBXML2"
;;
*)
LIBXML2_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} LIBXML2"
;;
esac
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
LIBXSLT_DESCRIP="LibXSLT"
LIBXSLT_OPTION="libxslt"
PBX_LIBXSLT=0
# Check whether --with-libxslt was given.
if test "${with_libxslt+set}" = set; then :
withval=$with_libxslt;
case ${withval} in
n|no)
USE_LIBXSLT=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_LIBXSLT=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} LIBXSLT"
;;
*)
LIBXSLT_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} LIBXSLT"
;;
esac
fi
LIBXSLT_CLEANUP_DESCRIP="LibXSLT Library Cleanup Function"
LIBXSLT_CLEANUP_OPTION=libxslt
LIBXSLT_CLEANUP_DIR=${LIBXSLT_DIR}
PBX_LIBXSLT_CLEANUP=0
LUA_DESCRIP="Lua"
LUA_OPTION="lua"
PBX_LUA=0
# Check whether --with-lua was given.
if test "${with_lua+set}" = set; then :
withval=$with_lua;
case ${withval} in
n|no)
USE_LUA=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_LUA=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} LUA"
;;
*)
LUA_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} LUA"
;;
esac
fi
MYSQLCLIENT_DESCRIP="MySQL client"
MYSQLCLIENT_OPTION="mysqlclient"
PBX_MYSQLCLIENT=0
# Check whether --with-mysqlclient was given.
if test "${with_mysqlclient+set}" = set; then :
withval=$with_mysqlclient;
case ${withval} in
n|no)
USE_MYSQLCLIENT=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_MYSQLCLIENT=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} MYSQLCLIENT"
;;
*)
MYSQLCLIENT_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} MYSQLCLIENT"
;;
esac
fi
NEON_DESCRIP="neon"
NEON_OPTION="neon"
PBX_NEON=0
# Check whether --with-neon was given.
if test "${with_neon+set}" = set; then :
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
withval=$with_neon;
case ${withval} in
n|no)
USE_NEON=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_NEON=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} NEON"
;;
*)
NEON_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} NEON"
;;
esac
fi
NEON29_DESCRIP="neon29"
NEON29_OPTION="neon29"
PBX_NEON29=0
# Check whether --with-neon29 was given.
if test "${with_neon29+set}" = set; then :
withval=$with_neon29;
case ${withval} in
n|no)
USE_NEON29=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_NEON29=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} NEON29"
;;
*)
NEON29_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} NEON29"
;;
esac
fi
NETSNMP_DESCRIP="Net-SNMP"
NETSNMP_OPTION="netsnmp"
PBX_NETSNMP=0
# Check whether --with-netsnmp was given.
if test "${with_netsnmp+set}" = set; then :
withval=$with_netsnmp;
case ${withval} in
n|no)
USE_NETSNMP=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_NETSNMP=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} NETSNMP"
;;
*)
NETSNMP_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} NETSNMP"
;;
esac
NEWT_DESCRIP="newt"
NEWT_OPTION="newt"
PBX_NEWT=0
# Check whether --with-newt was given.
if test "${with_newt+set}" = set; then :
withval=$with_newt;
case ${withval} in
n|no)
USE_NEWT=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_NEWT=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} NEWT"
;;
*)
NEWT_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} NEWT"
;;
esac
fi
OGG_DESCRIP="OGG"
OGG_OPTION="ogg"
PBX_OGG=0
# Check whether --with-ogg was given.
if test "${with_ogg+set}" = set; then :
withval=$with_ogg;
case ${withval} in
n|no)
USE_OGG=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_OGG=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} OGG"
;;
*)
OGG_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} OGG"
;;
esac
fi
OPENR2_DESCRIP="MFR2"
OPENR2_OPTION="openr2"
PBX_OPENR2=0
# Check whether --with-openr2 was given.
if test "${with_openr2+set}" = set; then :
withval=$with_openr2;
case ${withval} in
n|no)
USE_OPENR2=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_OPENR2=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} OPENR2"
;;
*)
OPENR2_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} OPENR2"
;;
esac
fi
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
OPUS_DESCRIP="Opus"
OPUS_OPTION="opus"
PBX_OPUS=0
# Check whether --with-opus was given.
if test "${with_opus+set}" = set; then :
withval=$with_opus;
case ${withval} in
n|no)
USE_OPUS=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_OPUS=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} OPUS"
;;
*)
OPUS_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} OPUS"
;;
esac
fi
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
OPUSFILE_DESCRIP="Opusfile"
OPUSFILE_OPTION="opusfile"
PBX_OPUSFILE=0
# Check whether --with-opusfile was given.
if test "${with_opusfile+set}" = set; then :
withval=$with_opusfile;
case ${withval} in
n|no)
USE_OPUSFILE=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_OPUSFILE=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} OPUSFILE"
;;
*)
OPUSFILE_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} OPUSFILE"
;;
esac
fi
OSPTK_DESCRIP="OSP Toolkit"
OSPTK_OPTION="osptk"
PBX_OSPTK=0
# Check whether --with-osptk was given.
if test "${with_osptk+set}" = set; then :
withval=$with_osptk;
case ${withval} in
n|no)
USE_OSPTK=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_OSPTK=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} OSPTK"
;;
*)
OSPTK_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} OSPTK"
;;
esac
fi
PGSQL_DESCRIP="PostgreSQL"
PGSQL_OPTION="postgres"
PBX_PGSQL=0
# Check whether --with-postgres was given.
if test "${with_postgres+set}" = set; then :
withval=$with_postgres;
case ${withval} in
n|no)
USE_PGSQL=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_PGSQL=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} PGSQL"
;;
*)
PGSQL_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} PGSQL"
;;
esac
fi
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
BEANSTALK_DESCRIP="Beanstalk Job Queue"
BEANSTALK_OPTION="beanstalk"
PBX_BEANSTALK=0
# Check whether --with-beanstalk was given.
if test "${with_beanstalk+set}" = set; then :
withval=$with_beanstalk;
case ${withval} in
n|no)
USE_BEANSTALK=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_BEANSTALK=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} BEANSTALK"
;;