massive rework of configure script, and split of AST_EXT_LIB into separate macros, reducing code duplication

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Kevin P. Fleming 19 years ago
parent 76f85726aa
commit d5b7bf2ab7

@ -1,73 +1,83 @@
# AST_EXT_LIB([NAME], [FUNCTION], [package header], [package symbol name], [package friendly name], [additional LIB data])
# AST_EXT_LIB_SETUP([package symbol name], [package friendly name], [package option name], [additional help text])
AC_DEFUN([AST_EXT_LIB],
AC_DEFUN([AST_EXT_LIB_SETUP],
[
AC_ARG_WITH([$1], AC_HELP_STRING([--with-$1=PATH],[use $5 files in PATH]),[
$1_DESCRIP="$2"
$1_OPTION="$3"
AC_ARG_WITH([$3], AC_HELP_STRING([--with-$3=PATH],[use $2 files in PATH $4]),[
case ${withval} in
n|no)
USE_$4=no
USE_$1=no
;;
y|ye|yes)
$4_MANDATORY="yes"
$1_MANDATORY="yes"
;;
*)
$4_DIR="${withval}"
$4_MANDATORY="yes"
$1_DIR="${withval}"
$1_MANDATORY="yes"
;;
esac
])
PBX_$1=0
AC_SUBST([$1_LIB])
AC_SUBST([$1_INCLUDE])
AC_SUBST([PBX_$1])
])
PBX_LIB$4=0
# AST_EXT_LIB_CHECK([package symbol name], [package library name], [function to check], [package header], [additional LIB data])
if test "${USE_$4}" != "no"; then
AC_DEFUN([AST_EXT_LIB_CHECK],
[
if test "${USE_$1}" != "no"; then
pbxlibdir=""
if test "x${$4_DIR}" != "x"; then
pbxlibdir="-L${$1_DIR} -L${$1_DIR}/lib"
if test "x${$1_DIR}" != "x"; then
if test -d ${$1_DIR}/lib; then
pbxlibdir="-L${$1_DIR}/lib"
else
pbxlibdir="-L${$1_DIR}"
fi
fi
AC_CHECK_LIB([$1], [$2], [AST_$4_FOUND=yes], [AST_$4_FOUND=no], ${pbxlibdir} $6)
AC_CHECK_LIB([$2], [$3], [AST_$1_FOUND=yes], [AST_$1_FOUND=no], ${pbxlibdir} $5)
if test "${AST_$4_FOUND}" = "yes"; then
$4_LIB="-l$1 $6"
$4_HEADER_FOUND="1"
if test "x${$4_DIR}" != "x"; then
$4_LIB="${pbxlibdir} ${$4_LIB}"
$4_INCLUDE="-I${$4_DIR}/include"
if test "x$3" != "x" ; then
AC_CHECK_HEADER([${$4_DIR}/include/$3], [$4_HEADER_FOUND=1], [$4_HEADER_FOUND=0] )
if test "${AST_$1_FOUND}" = "yes"; then
$1_LIB="-l$2 $5"
$1_HEADER_FOUND="1"
if test "x${$1_DIR}" != "x"; then
$1_LIB="${pbxlibdir} ${$1_LIB}"
$1_INCLUDE="-I${$1_DIR}/include"
if test "x$4" != "x" ; then
AC_CHECK_HEADER([${$1_DIR}/include/$4], [$1_HEADER_FOUND=1], [$1_HEADER_FOUND=0] )
fi
else
if test "x$3" != "x" ; then
AC_CHECK_HEADER([$3], [$4_HEADER_FOUND=1], [$4_HEADER_FOUND=0] )
if test "x$4" != "x" ; then
AC_CHECK_HEADER([$4], [$1_HEADER_FOUND=1], [$1_HEADER_FOUND=0] )
fi
fi
if test "x${$4_HEADER_FOUND}" = "x0" ; then
if test ! -z "${$4_MANDATORY}" ;
if test "x${$1_HEADER_FOUND}" = "x0" ; then
if test ! -z "${$1_MANDATORY}" ;
then
echo " ***"
echo " *** It appears that you do not have the $1 development package installed."
echo " *** Please install it to include $5 support, or re-run configure"
echo " *** without explicitly specifying --with-$1"
echo " *** It appears that you do not have the $2 development package installed."
echo " *** Please install it to include ${$1_DESCRIP} support, or re-run configure"
echo " *** without explicitly specifying --with-${$1_OPTION}"
exit 1
fi
$4_LIB=""
$4_INCLUDE=""
PBX_LIB$4=0
$1_LIB=""
$1_INCLUDE=""
PBX_$1=0
else
PBX_LIB$4=1
AC_DEFINE_UNQUOTED([HAVE_$4], 1, [Define to indicate the $5 library])
PBX_$1=1
AC_DEFINE_UNQUOTED([HAVE_$1], 1, [Define to indicate the ${$1_DESCRIP} library])
fi
elif test ! -z "${$4_MANDATORY}";
elif test ! -z "${$1_MANDATORY}";
then
echo "***"
echo "*** The $5 installation on this system appears to be broken."
echo "*** The ${$1_DESCRIP} installation on this system appears to be broken."
echo "*** Either correct the installation, or run configure"
echo "*** without explicity specifying --with-$1"
echo "*** without explicitly specifying --with-${$1_OPTION}"
exit 1
fi
fi
AC_SUBST([$4_LIB])
AC_SUBST([$4_INCLUDE])
AC_SUBST([PBX_LIB$4])
])

@ -52,6 +52,10 @@
<depend>unixodbc</depend>
<defaultenabled>no</defaultenabled>
</member>
<member name="IMAP_STORAGE" displayname="Storage of Voicemail using IMAP4">
<depend>imap_tk</depend>
<defaultenabled>no</defaultenabled>
</member>
</category>
***/

@ -1,30 +1,31 @@
ASOUND=@PBX_LIBALSA@
ASOUND=@PBX_ALSA@
CURL=@PBX_CURL@
FREETDS=@PBX_LIBFREETDS@
FREETDS=@PBX_FREETDS@
GTK=@PBX_GTK@
H323=@PBX_H323@
KDE=@PBX_KDE@
LIBNEWT=@PBX_LIBNEWT@
LIBOSPTK=@PBX_LIBOSPTK@
LIBPOPT=@PBX_LIBPOPT@
LIBPRI=@PBX_LIBLIBPRI@
LIBSPEEX=@PBX_LIBSPEEX@
LIBVORBIS=@PBX_LIBVORBIS@
NBS=@PBX_LIBNBS@
LIBOGG=@PBX_LIBOGG@
OSSAUDIO=@PBX_LIBOSS@
PGSQL=@PBX_LIBpq@
NEWT=@PBX_NEWT@
OSPTK=@PBX_OSPTK@
POPT=@PBX_POPT@
PRI=@PBX_PRI@
SPEEX=@PBX_SPEEX@
VORBIS=@PBX_VORBIS@
NBS=@PBX_NBS@
OGG=@PBX_OGG@
OSSAUDIO=@PBX_OSS@
PGSQL=@PBX_PGSQL@
QT=@PBX_QT@
RADIUSCLIENT=@PBX_LIBRADIUSCLIENT@
SQLITE=@PBX_LIBSQLITE@
SSL=@PBX_LIBOPENSSL@
UNIXODBC=@PBX_LIBUNIXODBC@
VPBAPI=@PBX_LIBvpb@
RADIUS=@PBX_RADIUS@
SQLITE=@PBX_SQLITE@
SSL=@PBX_OPENSSL@
UNIXODBC=@PBX_UNIXODBC@
VPBAPI=@PBX_VPB@
WIN32=@OSISWIN32@
ZLIB=@PBX_LIBZLIB@
TONEZONE=@PBX_LIBTONEZONE@
ZLIB=@PBX_ZLIB@
TONEZONE=@PBX_TONEZONE@
ZAPTEL=@PBX_ZAPTEL@
LIBGSM=@PBX_LIBgsm@
IKSEMEL=@PBX_LIBIKSEMEL@
GSM=@PBX_GSM@
IKSEMEL=@PBX_IKSEMEL@
IXJUSER=@PBX_IXJUSER@
NETSNMP=@PBX_NETSNMP@
IMAP_TK=@PBX_IMAP_TK@

24598
configure vendored

File diff suppressed because it is too large Load Diff

@ -95,10 +95,10 @@ case "${host}" in
# XXX temporary hack to let FreeBSD use the default paths
# for local stuff. We need a better solution.
if test x"${CPPFLAGS}" = x; then
CPPFLAGS="-I /usr/local/include"
CPPFLAGS="-I/usr/local/include"
fi
if test x"${LDFLAGS}" = x; then
LDFLAGS="-L /usr/local/lib"
LDFLAGS="-L/usr/local/lib"
fi
;;
*openbsd*)
@ -193,159 +193,208 @@ AC_ARG_ENABLE(dev-mode,
esac])
AC_SUBST(AST_DEVMODE)
# from here on down, library checking should be done in alphabetical order
# package option names should be in alphabetical order
# by the --with option name, to make things easier for the users :-)
AST_EXT_LIB([asound], [snd_spcm_init], [alsa/asoundlib.h], [ALSA], [Advanced Linux Sound Architecture], [-lm -ldl])
AST_EXT_LIB([curses], [initscr], [curses.h], [CURSES], [curses], [])
AST_EXT_LIB_SETUP([ALSA], [Advanced Linux Sound Architecture], [asound])
AST_EXT_LIB_SETUP([CURSES], [curses], [curses])
AST_EXT_LIB_SETUP([GSM], [GSM], [gsm], [, or 'internal'])
AST_EXT_LIB_SETUP([IKSEMEL], [Iksemel Jabber Library], [iksemel])
AST_EXT_LIB_SETUP([IMAP_TK], [UW IMAP Toolkit], [imap])
AST_EXT_LIB_SETUP([KDE], [KDE], [kde])
AST_EXT_LIB_SETUP([NBS], [Network Broadcast Sound], [nbs])
AST_EXT_LIB_SETUP([NCURSES], [ncurses], [ncurses])
AST_EXT_LIB_SETUP([NETSNMP], [Net-SNMP], [netsnmp])
AST_EXT_LIB_SETUP([NEWT], [newt], [newt])
AST_EXT_LIB_SETUP([UNIXODBC], [unixODBC], [odbc])
AST_EXT_LIB_SETUP([OGG], [OGG], [ogg])
AST_EXT_LIB_SETUP([OSPTK], [OSP Toolkit], [osptk])
AST_EXT_LIB_SETUP([OSS], [Open Sound System], [oss])
AST_EXT_LIB_SETUP([POPT], [popt], [popt])
AST_EXT_LIB_SETUP([PGSQL], [PostgreSQL], [postgres])
AST_EXT_LIB_SETUP([PRI], [ISDN PRI], [pri])
AST_EXT_LIB_SETUP([PWLIB], [PWlib], [pwlib])
AST_EXT_LIB_SETUP([QT], [Qt], [qt])
AST_EXT_LIB_SETUP([RADIUS], [Radius Client], [radius])
AST_EXT_LIB_SETUP([SPEEX], [Speex], [speex])
AST_EXT_LIB_SETUP([SQLITE], [SQLite], [sqlite])
AST_EXT_LIB_SETUP([OPENSSL], [OpenSSL], [ssl])
AST_EXT_LIB_SETUP([FREETDS], [FreeTDS], [tds])
AST_EXT_LIB_SETUP([TERMCAP], [Termcap], [termcap])
AST_EXT_LIB_SETUP([TINFO], [Term Info], [tinfo])
AST_EXT_LIB_SETUP([TONEZONE], [tonezone], [tonezone])
AST_EXT_LIB_SETUP([VORBIS], [Vorbis], [vorbis])
AST_EXT_LIB_SETUP([VPB], [Voicetronix API], [vpb])
AST_EXT_LIB_SETUP([ZLIB], [zlib], [z])
AST_EXT_LIB_SETUP([ZAPTEL], [Zaptel], [zaptel])
# check for basic system features and functionality before
# checking for package libraries
GSM_INTERNAL="yes"
GSM_SYSTEM="yes"
AC_ARG_WITH([gsm], AC_HELP_STRING([--with-gsm=PATH], [use libgsm files in PATH, or 'internal']), [
case ${withval} in
n|no)
USE_GSM=no
;;
y|ye|yes)
;;
internal)
GSM_SYSTEM="no"
;;
*)
GSM_DIR="${withval}"
GSM_INTERNAL="no"
;;
esac
])
AC_FUNC_ALLOCA
AC_HEADER_DIRENT
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS([arpa/inet.h fcntl.h inttypes.h libintl.h limits.h locale.h malloc.h netdb.h netinet/in.h stddef.h stdint.h stdlib.h string.h strings.h sys/file.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h syslog.h termios.h unistd.h utime.h])
AC_SYS_LARGEFILE
# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_CONST
AC_TYPE_UID_T
AC_C_INLINE
AC_TYPE_MODE_T
AC_TYPE_OFF_T
AC_TYPE_PID_T
AC_TYPE_SIZE_T
AC_CHECK_MEMBERS([struct stat.st_blksize])
AC_HEADER_TIME
AC_STRUCT_TM
AC_C_VOLATILE
AC_CHECK_TYPES([ptrdiff_t])
# Checks for library functions.
AC_FUNC_CHOWN
AC_FUNC_CLOSEDIR_VOID
AC_FUNC_ERROR_AT_LINE
AC_FUNC_FORK
AC_FUNC_FSEEKO
AC_PROG_GCC_TRADITIONAL
AC_FUNC_MALLOC
AC_FUNC_MEMCMP
AC_FUNC_MKTIME
AC_FUNC_MMAP
AC_FUNC_REALLOC
AC_FUNC_SELECT_ARGTYPES
AC_FUNC_SETVBUF_REVERSED
AC_TYPE_SIGNAL
AC_FUNC_STAT
AC_FUNC_STRCOLL
AC_FUNC_STRFTIME
AC_FUNC_STRNLEN
AC_FUNC_STRTOD
AC_FUNC_UTIME_NULL
AC_FUNC_VPRINTF
AC_CHECK_FUNCS([atexit bzero dup2 endpwent floor ftruncate getcwd gethostbyname gethostname gettimeofday inet_ntoa isascii localtime_r memchr memmove memset mkdir munmap pow putenv re_comp regcomp rint select setenv socket sqrt strcasecmp strchr strcspn strdup strerror strncasecmp strndup strnlen strrchr strsep strspn strstr strtol unsetenv utime strtoq strcasestr asprintf vasprintf])
echo -n "checking for compiler atomic operations... "
AC_LINK_IFELSE(
AC_LANG_PROGRAM([], [int foo1; int foo2 = __sync_fetch_and_add(&foo1, 1);]),
AC_MSG_RESULT(yes)
AC_DEFINE([HAVE_GCC_ATOMICS], 1, [Define to 1 if your GCC C compiler provides atomic operations.]),
AC_MSG_RESULT(no)
)
AC_CHECK_HEADER([libkern/OSAtomic.h],
[AC_DEFINE_UNQUOTED([HAVE_OSX_ATOMICS], 1, [Define to 1 if OSX atomic operations are supported.])])
AC_CHECK_SIZEOF(int)
PBX_LIBgsm=0
# do the package library checks now
AST_EXT_LIB_CHECK([ALSA], [asound], [snd_spcm_init], [alsa/asoundlib.h], [-lm -ldl])
AST_EXT_LIB_CHECK([CURSES], [curses], [initscr], [curses.h])
GSM_INTERNAL="yes"
GSM_SYSTEM="yes"
if test "${USE_GSM}" != "no"; then
if test "${GSM_SYSTEM}" = "yes"; then
gsmlibdir=""
if test "x${GSM_DIR}" != "x"; then
gsmlibdir="-L${GSM_DIR} -L${GSM_DIR}/lib"
if test -d ${GSM_DIR}/lib; then
gsmlibdir="-L${GSM_DIR}/lib"
else
gsmlibdir="-L${GSM_DIR}"
fi
fi
AC_CHECK_LIB([gsm], [gsm_create], AC_DEFINE_UNQUOTED([HAVE_GSM], 1,
[Define to indicate the GSM library]), [], ${gsmlibdir})
if test "${ac_cv_lib_gsm_gsm_create}" = "yes"; then
gsm_LIB="-lgsm"
GSM_LIB="-lgsm"
if test "x${GSM_DIR}" != "x"; then
gsm_LIB="${gsmlibdir} ${gsm_LIB}"
gsm_INCLUDE="-I${GSM_DIR}/include"
GSM_LIB="${gsmlibdir} ${GSM_LIB}"
GSM_INCLUDE="-I${GSM_DIR}/include"
fi
PBX_LIBgsm=1
PBX_GSM=1
GSM_INTERNAL="no"
fi
fi
if test "${GSM_INTERNAL}" = "yes"; then
gsm_LIB="internal"
PBX_LIBgsm=1
fi
if test "x${PBX_LIBgsm}" = "x0"; then
echo "***"
echo "*** The GSM installation on this system appears to be broken."
echo "*** Either correct the installation, or run configure"
echo "*** including --without-gsm"
exit 1
GSM_LIB="internal"
PBX_GSM=1
fi
fi
AC_SUBST([gsm_LIB])
AC_SUBST([gsm_INCLUDE])
AC_SUBST([PBX_LIBgsm])
AST_EXT_LIB_CHECK([IKSEMEL], [iksemel], [iks_start_sasl], [iksemel.h])
AC_LANG_PUSH(C++)
if test "${USE_IMAP_TK}" != "no"; then
if test "${IMAP_TK_DIR}" = ""; then
IMAP_TK_DIR=../imap-2004g
fi
fi
AC_ARG_WITH([kde], AC_HELP_STRING([--with-kde=PATH],[use KDE files in PATH]),[
case ${withval} in
n|no)
USE_KDE=no
;;
y|ye|yes)
KDE_MANDATORY="yes"
;;
*)
KDE_DIR="${withval}"
KDE_MANDATORY="yes"
;;
esac
])
AC_LANG_PUSH(C++)
PBX_KDE=0
if test "${USE_KDE}" != "no"; then
echo -n "checking for crashHandler in -lkdecore... "
saved_ldflags="${LDFLAGS}"
LDFLAGS="-I${KDE_DIR}/include ${LDFLAGS} -L${KDE_DIR} -L${KDE_DIR}/lib -lkdecore"
AC_LINK_IFELSE(
[
AC_LANG_PROGRAM(
[#include "kcrash.h"],
[KCrash::defaultCrashHandler(1);])
saved_libs="${LIBS}"
saved_cppflags="${CPPFLAGS}"
CPPFLAGS="${CPPFLAGS} -I${KDE_DIR}/include"
if test -d ${KDE_DIR}/lib; then
kdelibdir="${KDE_DIR}/lib"
else
kdelibdir="${KDE_DIR}"
fi
LIBS="${LIBS} -L${kdelibdir} -lkdecore"
AC_LINK_IFELSE(
[AC_LANG_PROGRAM(
[#include "kcrash.h"],
[KCrash::defaultCrashHandler(1);])
],
[ac_cv_lib_kde_crash="yes"],
[ac_cv_lib_kde_crash="no"])
LDFLAGS="${saved_ldflags}"
if test "${ac_cv_lib_kde_crash}" = "yes"; then
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
LIBS="${saved_libs}"
CPPFLAGS="${saved_cppflags}"
if test "${ac_cv_lib_kde_crash}" = "yes"; then
KDE_LIB="-lkdecore -lkdeui"
if test "${KDE_DIR}" != ""; then
KDE_LIB="-L${KDE_DIR} -L${KDE_DIR}/lib ${KDE_LIB}"
KDE_INCLUDE="-I${KDE_DIR}/include"
AC_SUBST([KDE_INCLUDE])
fi
AC_SUBST([KDE_LIB])
PBX_KDE=1
AC_DEFINE([HAVE_LIBKDE], 1, [Define if your system has the KDE library])
elif test ! -z "${KDE_MANDATORY}";
then
if test "${ac_cv_lib_kde_crash}" = "yes"; then
AC_MSG_RESULT(yes)
KDE_LIB="-lkdecore -lkdeui"
if test "${KDE_DIR}" != ""; then
KDE_LIB="-L${kdelibdir} ${KDE_LIB}"
KDE_INCLUDE="-I${KDE_DIR}/include"
fi
PBX_KDE=1
AC_DEFINE([HAVE_LIBKDE], 1, [Define if your system has the KDE libraries.])
elif test ! -z "${KDE_MANDATORY}"; then
AC_MSG_RESULT(no)
echo "***"
echo "*** The KDE installation on this system appears to be broken."
echo "*** Either correct the installation, or run configure"
echo "*** including --without-kde."
exit 1
else
AC_MSG_RESULT(no)
fi
fi
AC_SUBST([PBX_KDE])
if test x"${PBX_KDE}" = x1; then
AC_PATH_TOOL(KDEINIT, kdeinit, No)
if test ! x"${KDEINIT}" = xNo; then
KDEDIR=$(${DIRNAME} ${KDEINIT})
KDEDIR=$(${DIRNAME} ${KDEDIR})
fi
AC_SUBST([KDEDIR])
if test "${PBX_KDE}" = 1; then
AC_PATH_TOOL(KDEINIT, kdeinit, No)
if test ! x"${KDEINIT}" = xNo; then
KDEDIR=$(${DIRNAME} ${KDEINIT})
KDEDIR=$(${DIRNAME} ${KDEDIR})
fi
AC_SUBST([KDEDIR])
fi
AC_LANG_POP
AST_EXT_LIB([iksemel], [iks_start_sasl], [iksemel.h], [IKSEMEL], [Iksemel Jabber Library])
AST_EXT_LIB([nbs], [nbs_connect], [nbs.h], [NBS], [Network Broadcast Sound])
AST_EXT_LIB([ncurses], [initscr], [curses.h], [NCURSES], [ncurses], [])
AST_EXT_LIB_CHECK([NBS], [nbs], [nbs_connect], [nbs.h])
AC_ARG_WITH([netsnmp], AC_HELP_STRING([--with-netsnmp=PATH],[use Net-SNMP in PATH]),[
case ${withval} in
n|no)
USE_NETSNMP=no
;;
y|ye|yes)
NETSNMP_MANDATORY="yes"
;;
*)
NETSNMP_DIR="${withval}"
NETSNMP_MANDATORY="yes"
;;
esac
])
AST_EXT_LIB_CHECK([NCURSES], [ncurses], [initscr], [curses.h])
PBX_NETSNMP=0
NETSNMP_CONFIG=No
if test "${USE_NETSNMP}" != "no"; then
if test "x${NETSNMP_DIR}" != "x"; then
@ -362,7 +411,6 @@ if test "${USE_NETSNMP}" != "no"; then
AC_PATH_TOOL([NETSNMP_CONFIG], [net-snmp-config], No)
fi
fi
if test x"${NETSNMP_CONFIG}" != xNo; then
NETSNMP_libs=`net-snmp-config --agent-libs`
@ -388,13 +436,14 @@ then
echo "*** including --without-netsnmp"
exit 1
fi
AC_SUBST([NETSNMP_LIB])
AC_SUBST([PBX_NETSNMP])
AST_EXT_LIB([newt], [newtBell], [newt.h], [NEWT], [newt])
AST_EXT_LIB([odbc], [SQLConnect], [sql.h], [UNIXODBC], [unixODBC])
AST_EXT_LIB([ogg], [ogg_sync_init], [], [OGG], [OGG])
AST_EXT_LIB([osptk], [OSPPCryptoDecrypt], [osp/osp.h], [OSPTK], [OSP Toolkit], [-lcrypto -lssl])
AST_EXT_LIB_CHECK([NEWT], [newt], [newtBell], [newt.h])
AST_EXT_LIB_CHECK([UNIXODBC], [odbc], [SQLConnect], [sql.h])
AST_EXT_LIB_CHECK([OGG], [ogg], [ogg_sync_init], [])
AST_EXT_LIB_CHECK([OSPTK], [osptk], [OSPPCryptoDecrypt], [osp/osp.h], [-lcrypto -lssl])
PBX_LIBOSS=0
AC_CHECK_HEADER([linux/soundcard.h],
@ -410,102 +459,71 @@ if test "$PBX_LIBOSS" = "0"; then
])
fi
if test "$PBX_LIBOSS" = "0"; then
AST_EXT_LIB([ossaudio], [oss_ioctl_mixer], [soundcard.h], [OSS], [Open Sound System])
AST_EXT_LIB_CHECK([OSS], [ossaudio], [oss_ioctl_mixer], [soundcard.h])
fi
AC_SUBST([PBX_LIBOSS])
AC_ARG_WITH([pq], AC_HELP_STRING([--with-pq=PATH],[use PostgreSQL files in PATH]),[
case ${withval} in
n|no)
USE_PQ=no
;;
y|ye|yes)
PQ_MANDATORY="yes"
;;
*)
PQ_DIR="${withval}"
PQ_MANDATORY="yes"
;;
esac
])
PBX_LIBpq=0
PG_CONFIG=No
if test "${USE_PQ}" != "no"; then
if test "x${PQ_DIR}" != "x"; then
AC_PATH_TOOL([PG_CONFIG], [pg_config], No, [${PQ_DIR}/bin])
if test "${USE_PGSQL}" != "no"; then
if test "x${PGSQL_DIR}" != "x"; then
AC_PATH_TOOL([PG_CONFIG], [pg_config], No, [${PGSQL_DIR}/bin])
if test x"${PG_CONFIG}" = xNo; then
echo "***"
echo "*** pg_config was not found in the path you specified:"
echo "*** ${PQ_DIR}/bin"
echo "*** ${PGSQL_DIR}/bin"
echo "*** Either correct the installation, or run configure"
echo "*** including --without-pq"
echo "*** including --without-postgres"
exit 1
fi
else
AC_PATH_TOOL([PG_CONFIG], [pg_config], No)
fi
fi
if test x"${PG_CONFIG}" != xNo; then
PQ_libdir=`pg_config --libdir`
PQ_includedir=`pg_config --includedir`
if test "${PG_CONFIG}" != No; then
PGSQL_libdir=`pg_config --libdir`
PGSQL_includedir=`pg_config --includedir`
AC_CHECK_LIB([pq], [PQexec], AC_DEFINE_UNQUOTED([HAVE_PQ], 1,
[Define to indicate the PostgreSQL library]), [], -L${PQ_libdir} -lz)
AC_CHECK_LIB([pq], [PQexec], AC_DEFINE_UNQUOTED([HAVE_PGSQL], 1,
[Define to indicate the PostgreSQL library]), [], -L${PGSQL_libdir} -lz)
if test "${ac_cv_lib_pq_PQexec}" = "yes"; then
pq_LIB="-L${PQ_libdir} -lpq -lz"
pq_INCLUDE="-I${PQ_includedir}"
PBX_LIBpq=1
elif test ! -z "${PQ_MANDATORY}";
PGSQL_LIB="-L${PGSQL_libdir} -lpq -lz"
PGSQL_INCLUDE="-I${PGSQL_includedir}"
PBX_PGSQL=1
elif test ! -z "${PGSQL_MANDATORY}";
then
echo "***"
echo "*** The PostgreSQL installation on this system appears to be broken."
echo "*** Either correct the installation, or run configure"
echo "*** including --without-pq"
echo "*** including --without-postgres"
exit 1
fi
elif test ! -z "${PQ_MANDATORY}";
elif test ! -z "${PGSQL_MANDATORY}";
then
echo "***"
echo "*** The PostgreSQL installation on this system appears to be broken."
echo "*** Either correct the installation, or run configure"
echo "*** including --without-pq"
echo "*** including --without-postgres"
exit 1
fi
AC_SUBST([pq_INCLUDE])
AC_SUBST([pq_LIB])
AC_SUBST([PBX_LIBpq])
AST_EXT_LIB([popt], [poptStrerror], [popt.h], [POPT], [popt])
AST_EXT_LIB([pri], [pri_call], [libpri.h], [LIBPRI], [ISDN PRI])
AST_EXT_LIB_CHECK([POPT], [popt], [poptStrerror], [popt.h])
PLATFORM_PTLIB="ptlib_${OSTYPE}_${MACHTYPE}_r"
AST_EXT_LIB_CHECK([PRI], [pri], [pri_call], [libpri.h])
AC_ARG_WITH([pwlib], AC_HELP_STRING([--with-pwlib=PATH],[use PWLib files in PATH]),[
case ${withval} in
n|no)
USE_PWLIB=no
;;
y|ye|yes)
;;
*)
PWLIB_DIR="${withval}"
;;
esac
])
PLATFORM_PTLIB="ptlib_${OSTYPE}_${MACHTYPE}_r"
if test "${USE_PWLIB}" != "no"; then
echo -n "checking for existence of pwlib... "
echo -n "checking for existence of pwlib... "
saved_ldflags="${LDFLAGS}"
LDFLAGS="${LDFLAGS} -L${PWLIB_DIR} -l${PLATFORM_PTLIB}"
saved_cppflags="${CPPFLAGS}"
saved_libs="${LIBS}"
LIBS="${LIBS} -L${PWLIB_DIR} -l${PLATFORM_PTLIB}"
CPPFLAGS="${CPPFLAGS} -I${PWLIB_DIR}/include"
AC_LINK_IFELSE(
AC_LINK_IFELSE(
[
AC_LANG_PROGRAM(
[#include "${PWDIR_DIR}ptime.h"],
[#include "ptime.h"],
[int q = PTime::IsDaylightSaving();])
],
[ AC_MSG_RESULT(yes)
@ -515,22 +533,19 @@ if test "${USE_PWLIB}" != "no"; then
ac_cv_lib_pwlib="no"
]
)
LDFLAGS="${saved_ldflags}"
PBX_LIBPWLIB=0
LIBS="${saved_libs}"
CPPFLAGS="${saved_cppflags}"
if test "${ac_cv_lib_pwlib}" = "yes"; then
PWLIB_LIB="-l{PLATFORM_PWLIB}"
if test "${PWLIB_DIR}" != ""; then
PWLIB_LIB="-L${PWLIB_DIR}/lib ${PWLIB_LIB}"
PWLIB_INCLUDE="-I${PWLIB_DIR}/include"
AC_SUBST([PWLIB_INCLUDE])
PWLIB_INCLUDE="-I${PWLIB_DIR}/include"
fi
AC_SUBST([PWLIB_LIB])
PBX_LIBPWLIB=1
AC_DEFINE([HAVE_LIBPWLIB], 1, [Define if your system has the pwlib libraries.])
elif test ! -z "${PWLIB_DIR}";
then
PBX_PWLIB=1
AC_DEFINE([HAVE_PWLIB], 1, [Define if your system has the pwlib libraries.])
elif test ! -z "${PWLIB_MANDATORY}"; then
echo "***"
echo "*** The PWLIB installation on this system appears to be broken."
echo "*** Either correct the installation, or run configure"
@ -538,26 +553,9 @@ if test "${USE_PWLIB}" != "no"; then
exit 1
fi
fi
AC_SUBST([PBX_LIBPWLIB])
AC_LANG_PUSH(C++)
AC_ARG_WITH([qt], AC_HELP_STRING([--with-qt=PATH],[use Qt files in PATH]),[
case ${withval} in
n|no)
USE_QT=no
;;
y|ye|yes)
QT_MANDATORY="yes"
;;
*)
QT_DIR="${withval}"
QT_MANDATORY="yes"
;;
esac
])
PBX_QT=0
if test "${USE_QT}" != "no"; then
echo -n "checking for QDate in -lqt... "
saved_libs="${LIBS}"
@ -611,11 +609,9 @@ if test "${USE_QT}" != "no"; then
if test "${QT_DIR}" != ""; then
QT_LIB="-L${QT_DIR}/lib ${QT_LIB}"
QT_INCLUDE="-I${QT_DIR}/include"
AC_SUBST([QT_INCLUDE])
fi
AC_SUBST([QT_LIB])
PBX_QT=1
AC_DEFINE([HAVE_LIBQT], 1, [Define if your system has the Qt library])
AC_DEFINE([HAVE_QT], 1, [Define if your system has the Qt library])
AC_PATH_TOOL(QTMOC, moc, No)
elif test ! -z "${QT_MANDATORY}";
then
@ -626,17 +622,19 @@ if test "${USE_QT}" != "no"; then
exit 1
fi
fi
AC_SUBST([PBX_QT])
AC_LANG_POP
AST_EXT_LIB([radiusclient-ng], [rc_read_config], [radiusclient-ng.h], [RADIUSCLIENT], [Radius Client])
AST_EXT_LIB([speex], [speex_encode], [speex/speex.h], [SPEEX], [Speex], [-lm])
AST_EXT_LIB([sqlite], [sqlite_exec], [sqlite.h], [SQLITE], [SQLite])
AST_EXT_LIB([ssl], [ssl2_connect], [openssl/ssl.h], [OPENSSL], [OpenSSL], [-lcrypto])
AST_EXT_LIB([tds], [tds_version], [tds.h], [FREETDS], [FreeTDS])
AST_EXT_LIB_CHECK([RADIUS], [radiusclient-ng], [rc_read_config], [radiusclient-ng.h])
AST_EXT_LIB_CHECK([SPEEX], [speex], [speex_encode], [speex/speex.h], [-lm])
AST_EXT_LIB_CHECK([SQLITE], [sqlite], [sqlite_exec], [sqlite.h])
AST_EXT_LIB_CHECK([OPENSSL], [ssl], [ssl2_connect], [openssl/ssl.h], [-lcrypto])
if test "${PBX_LIBFREETDS}" != "0";
AST_EXT_LIB_CHECK([FREETDS], [tds], [tds_version], [tds.h])
if test "${PBX_FREETDS}" != "0";
then
case `grep TDS_VERSION_NO ${FREETDS_DIR:-/usr/include}/tdsver.h` in
*0.63*)
@ -651,39 +649,31 @@ then
esac
fi
AST_EXT_LIB([termcap], [tgetent], [], [TERMCAP], [Termcap])
AST_EXT_LIB([tinfo], [tgetent], [], [TINFO], [Term Info])
AST_EXT_LIB_CHECK([TERMCAP], [termcap], [tgetent], [])
if test "${PBX_OSTYPE}" = "Linux" ; then
AST_EXT_LIB([tonezone], [tone_zone_find], [zaptel/tonezone.h], [TONEZONE], [tonezone])
else
AST_EXT_LIB([tonezone], [tone_zone_find], [zaptel/tonezone.h], [TONEZONE], [tonezone], [-lm])
AST_EXT_LIB_CHECK([TINFO], [tinfo], [tgetent], [])
if test "${PBX_OSTYPE}" != "Linux" ; then
tonezone_extra="-lm"
fi
AST_EXT_LIB([vorbis], [vorbis_info_init], [vorbis/codec.h], [VORBIS], [Vorbis], [-lm -lvorbisenc])
AST_EXT_LIB_CHECK([TONEZONE], [tonezone], [tone_zone_find], [zaptel/tonezone.h], [${tonezone_extra}])
AST_EXT_LIB_CHECK([VORBIS], [vorbis], [vorbis_info_init], [vorbis/codec.h], [-lm -lvorbisenc])
AC_LANG_PUSH(C++)
AC_ARG_WITH([vpb], AC_HELP_STRING([--with-vpb=PATH],[use vpb files in PATH]),[
case ${withval} in
n|no)
USE_VPB=no
;;
y|ye|yes)
VPB_MANDATORY="yes"
;;
*)
VPB_DIR="${withval}"
VPB_MANDATORY="yes"
;;
esac
])
if test "${USE_VPB}" != "no"; then
echo -n "checking for vpb_open in -lvpb... "
saved_libs="${LIBS}"
saved_cppflags="${CPPFLAGS}"
if test "x${VPB_DIR}" != "x"; then
LIBS="${LIBS} -L${VPB_DIR} -L${VPB_DIR}/lib"
if test -d ${VPB_DIR}/lib; then
vpblibdir=${VPB_DIR}/lib
else
vpblibdir=${VPB_DIR}
fi
LIBS="${LIBS} -L${vpblibdir}"
CPPFLAGS="${CPPFLAGS} -I${VPB_DIR}/include"
fi
LIBS="${LIBS} -lvpb -lpthread"
@ -702,19 +692,15 @@ if test "${USE_VPB}" != "no"; then
)
LIBS="${saved_libs}"
CPPFLAGS="${saved_cppflags}"
PBX_LIBvpb=0
if test "${ac_cv_lib_vpb_vpb_open}" = "yes"; then
VPB_LIB="-lvpb"
if test "${VPB_DIR}" != ""; then
VPB_LIB="-L${VPB_DIR} -L${VPB_DIR}/lib ${VPB_LIB}"
VPB_LIB="-L${vpblibdir} ${VPB_LIB}"
VPB_INCLUDE="-I${VPB_DIR}/include"
AC_SUBST([VPB_INCLUDE])
fi
AC_SUBST([VPB_LIB])
PBX_LIBvpb=1
AC_DEFINE([HAVE_LIBVPB], 1, [Define if your system has the VoiceTronix (vpb) libraries.])
elif test ! -z "${VPB_MANDATORY}";
then
PBX_VPB=1
AC_DEFINE([HAVE_VPB], 1, [Define if your system has the VoiceTronix API libraries.])
elif test ! -z "${VPB_MANDATORY}"; then
echo "***"
echo "*** The VoiceTronix (vpb) installation on this system appears to be broken."
echo "*** Either correct the installation, or run configure"
@ -722,28 +708,11 @@ if test "${USE_VPB}" != "no"; then
exit 1
fi
fi
AC_SUBST([PBX_LIBvpb])
AC_LANG_POP
AST_EXT_LIB([z], [compress], [zlib.h], [ZLIB], [zlib])
AC_ARG_WITH([zaptel], AC_HELP_STRING([--with-zaptel=PATH], [use Zaptel files in PATH]), [
case ${withval} in
n|no)
USE_ZAPTEL=no
;;
y|ye|yes)
ZAPTEL_MANDATORY=yes
;;
*)
ZAPTEL_DIR="${withval}"
ZAPTEL_MANDATORY=yes
;;
esac
])
AST_EXT_LIB_CHECK([ZLIB], [z], [compress], [zlib.h])
PBX_ZAPTEL=0
if test "${USE_ZAPTEL}" != "no"; then
echo -n "checking for zt_transcode_header in zaptel.h... "
saved_cppflags="${CPPFLAGS}"
@ -767,7 +736,6 @@ if test "${USE_ZAPTEL}" != "no"; then
if test "${ac_cv_zaptel_h}" = "yes"; then
if test "${ZAPTEL_DIR}" != ""; then
ZAPTEL_INCLUDE="-I${ZAPTEL_DIR}/include"
AC_SUBST([ZAPTEL_INCLUDE])
fi
PBX_ZAPTEL=1
AC_DEFINE([HAVE_ZAPTEL], 1, [Define if your system has the Zaptel headers.])
@ -781,8 +749,6 @@ if test "${USE_ZAPTEL}" != "no"; then
fi
fi
AC_SUBST([PBX_ZAPTEL])
EDITLINE_LIB=""
if test "x$TERMCAP_LIB" != "x" ; then
EDITLINE_LIB="$TERMCAP_LIB"
@ -832,66 +798,6 @@ fi
AC_SUBST(PBX_CURL)
AC_SUBST(CURLLIB)
AC_FUNC_ALLOCA
AC_HEADER_DIRENT
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS([arpa/inet.h fcntl.h inttypes.h libintl.h limits.h locale.h malloc.h netdb.h netinet/in.h stddef.h stdint.h stdlib.h string.h strings.h sys/file.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h syslog.h termios.h unistd.h utime.h])
AC_SYS_LARGEFILE
# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_CONST
AC_TYPE_UID_T
AC_C_INLINE
AC_TYPE_MODE_T
AC_TYPE_OFF_T
AC_TYPE_PID_T
AC_TYPE_SIZE_T
AC_CHECK_MEMBERS([struct stat.st_blksize])
AC_HEADER_TIME
AC_STRUCT_TM
AC_C_VOLATILE
AC_CHECK_TYPES([ptrdiff_t])
# Checks for library functions.
AC_FUNC_CHOWN
AC_FUNC_CLOSEDIR_VOID
AC_FUNC_ERROR_AT_LINE
AC_FUNC_FORK
AC_FUNC_FSEEKO
AC_PROG_GCC_TRADITIONAL
AC_FUNC_MALLOC
AC_FUNC_MEMCMP
AC_FUNC_MKTIME
AC_FUNC_MMAP
AC_FUNC_REALLOC
AC_FUNC_SELECT_ARGTYPES
AC_FUNC_SETVBUF_REVERSED
AC_TYPE_SIGNAL
AC_FUNC_STAT
AC_FUNC_STRCOLL
AC_FUNC_STRFTIME
AC_FUNC_STRNLEN
AC_FUNC_STRTOD
AC_FUNC_UTIME_NULL
AC_FUNC_VPRINTF
AC_CHECK_FUNCS([atexit bzero dup2 endpwent floor ftruncate getcwd gethostbyname gethostname gettimeofday inet_ntoa isascii localtime_r memchr memmove memset mkdir munmap pow putenv re_comp regcomp rint select setenv socket sqrt strcasecmp strchr strcspn strdup strerror strncasecmp strndup strnlen strrchr strsep strspn strstr strtol unsetenv utime strtoq strcasestr asprintf vasprintf])
echo -n "checking for compiler atomic operations... "
AC_LINK_IFELSE(
AC_LANG_PROGRAM([], [int foo1; int foo2 = __sync_fetch_and_add(&foo1, 1);]),
AC_MSG_RESULT(yes)
AC_DEFINE([HAVE_GCC_ATOMICS], 1, [Define to 1 if your GCC C compiler provides atomic operations.]),
AC_MSG_RESULT(no)
)
AC_CHECK_HEADER([libkern/OSAtomic.h],
[AC_DEFINE_UNQUOTED([HAVE_OSX_ATOMICS], 1, [Define to 1 if OSX atomic operations are supported.])])
AC_CHECK_SIZEOF(int)
AC_CONFIG_FILES([build_tools/menuselect-deps makeopts])
AC_OUTPUT

@ -39,7 +39,7 @@
*/
#undef HAVE_ALLOCA_H
/* Define to indicate the Advanced Linux Sound Architecture library */
/* Define to indicate the ${ALSA_DESCRIP} library */
#undef HAVE_ALSA
/* Define to 1 if you have the <arpa/inet.h> header file. */
@ -60,7 +60,7 @@
/* Define if your system has the curl libraries. */
#undef HAVE_CURL
/* Define to indicate the curses library */
/* Define to indicate the ${CURSES_DESCRIP} library */
#undef HAVE_CURSES
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
@ -85,7 +85,7 @@
/* Define to 1 if you have the `fork' function. */
#undef HAVE_FORK
/* Define to indicate the FreeTDS library */
/* Define to indicate the ${FREETDS_DESCRIP} library */
#undef HAVE_FREETDS
/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
@ -118,7 +118,7 @@
/* Define if your system has the GTK libraries. */
#undef HAVE_GTK
/* Define to indicate the Iksemel Jabber Library library */
/* Define to indicate the ${IKSEMEL_DESCRIP} library */
#undef HAVE_IKSEMEL
/* Define to 1 if you have the `inet_ntoa' function. */
@ -133,21 +133,9 @@
/* Define to 1 if you have the <libintl.h> header file. */
#undef HAVE_LIBINTL_H
/* Define if your system has the KDE library */
/* Define if your system has the KDE libraries. */
#undef HAVE_LIBKDE
/* Define to indicate the ISDN PRI library */
#undef HAVE_LIBPRI
/* Define if your system has the pwlib libraries. */
#undef HAVE_LIBPWLIB
/* Define if your system has the Qt library */
#undef HAVE_LIBQT
/* Define if your system has the VoiceTronix (vpb) libraries. */
#undef HAVE_LIBVPB
/* Define to 1 if you have the <limits.h> header file. */
#undef HAVE_LIMITS_H
@ -185,10 +173,10 @@
/* Define to 1 if you have the `munmap' function. */
#undef HAVE_MUNMAP
/* Define to indicate the Network Broadcast Sound library */
/* Define to indicate the ${NBS_DESCRIP} library */
#undef HAVE_NBS
/* Define to indicate the ncurses library */
/* Define to indicate the ${NCURSES_DESCRIP} library */
#undef HAVE_NCURSES
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
@ -203,32 +191,35 @@
/* Define to indicate the Net-SNMP library */
#undef HAVE_NETSNMP
/* Define to indicate the newt library */
/* Define to indicate the ${NEWT_DESCRIP} library */
#undef HAVE_NEWT
/* Define to indicate the OGG library */
/* Define to indicate the ${OGG_DESCRIP} library */
#undef HAVE_OGG
/* Define to indicate the OpenSSL library */
/* Define to indicate the ${OPENSSL_DESCRIP} library */
#undef HAVE_OPENSSL
/* Define to indicate the OSP Toolkit library */
/* Define to indicate the ${OSPTK_DESCRIP} library */
#undef HAVE_OSPTK
/* Define to indicate the Open Sound System library */
/* Define to indicate the ${OSS_DESCRIP} library */
#undef HAVE_OSS
/* Define to 1 if OSX atomic operations are supported. */
#undef HAVE_OSX_ATOMICS
/* Define to indicate the popt library */
/* Define to indicate the PostgreSQL library */
#undef HAVE_PGSQL
/* Define to indicate the ${POPT_DESCRIP} library */
#undef HAVE_POPT
/* Define to 1 if you have the `pow' function. */
#undef HAVE_POW
/* Define to indicate the PostgreSQL library */
#undef HAVE_PQ
/* Define to indicate the ${PRI_DESCRIP} library */
#undef HAVE_PRI
/* Define to 1 if the system has the type `ptrdiff_t'. */
#undef HAVE_PTRDIFF_T
@ -236,8 +227,14 @@
/* Define to 1 if you have the `putenv' function. */
#undef HAVE_PUTENV
/* Define to indicate the Radius Client library */
#undef HAVE_RADIUSCLIENT
/* Define if your system has the pwlib libraries. */
#undef HAVE_PWLIB
/* Define if your system has the Qt library */
#undef HAVE_QT
/* Define to indicate the ${RADIUS_DESCRIP} library */
#undef HAVE_RADIUS
/* Define to 1 if your system has a GNU libc compatible `realloc' function,
and to 0 otherwise. */
@ -261,10 +258,10 @@
/* Define to 1 if you have the `socket' function. */
#undef HAVE_SOCKET
/* Define to indicate the Speex library */
/* Define to indicate the ${SPEEX_DESCRIP} library */
#undef HAVE_SPEEX
/* Define to indicate the SQLite library */
/* Define to indicate the ${SQLITE_DESCRIP} library */
#undef HAVE_SQLITE
/* Define to 1 if you have the `sqrt' function. */
@ -385,22 +382,22 @@
/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
#undef HAVE_SYS_WAIT_H
/* Define to indicate the Termcap library */
/* Define to indicate the ${TERMCAP_DESCRIP} library */
#undef HAVE_TERMCAP
/* Define to 1 if you have the <termios.h> header file. */
#undef HAVE_TERMIOS_H
/* Define to indicate the Term Info library */
/* Define to indicate the ${TINFO_DESCRIP} library */
#undef HAVE_TINFO
/* Define to indicate the tonezone library */
/* Define to indicate the ${TONEZONE_DESCRIP} library */
#undef HAVE_TONEZONE
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define to indicate the unixODBC library */
/* Define to indicate the ${UNIXODBC_DESCRIP} library */
#undef HAVE_UNIXODBC
/* Define to 1 if you have the `unsetenv' function. */
@ -424,9 +421,12 @@
/* Define to 1 if you have the <vfork.h> header file. */
#undef HAVE_VFORK_H
/* Define to indicate the Vorbis library */
/* Define to indicate the ${VORBIS_DESCRIP} library */
#undef HAVE_VORBIS
/* Define if your system has the VoiceTronix API libraries. */
#undef HAVE_VPB
/* Define to 1 if you have the `vprintf' function. */
#undef HAVE_VPRINTF
@ -439,7 +439,7 @@
/* Define if your system has the Zaptel headers. */
#undef HAVE_ZAPTEL
/* Define to indicate the zlib library */
/* Define to indicate the ${ZLIB_DESCRIP} library */
#undef HAVE_ZLIB
/* Define to 1 if the system has the type `_Bool'. */

@ -42,11 +42,11 @@ sysconfdir = @sysconfdir@
AST_DEVMODE=@AST_DEVMODE@
LIBOGG_LIB=@OGG_LIB@
LIBOGG_INCLUDE=@OGG_INCLUDE@
OGG_LIB=@OGG_LIB@
OGG_INCLUDE=@OGG_INCLUDE@
LIBVORBIS_LIB=@VORBIS_LIB@
LIBVORBIS_INCLUDE=@VORBIS_INCLUDE@
VORBIS_LIB=@VORBIS_LIB@
VORBIS_INCLUDE=@VORBIS_INCLUDE@
ASOUND_LIB=@ALSA_LIB@
ASOUND_INCLUDE=@ALSA_INCLUDE@
@ -57,8 +57,8 @@ NBS_INCLUDE=@NBS_INCLUDE@
OSSAUDIO_LIB=@OSS_LIB@
OSSAUDIO_INCLUDE=@OSS_INCLUDE@
LIBSPEEX_LIB=@SPEEX_LIB@
LIBSPEEX_INCLUDE=@SPEEX_INCLUDE@
SPEEX_LIB=@SPEEX_LIB@
SPEEX_INCLUDE=@SPEEX_INCLUDE@
TONEZONE_LIB=@TONEZONE_LIB@
TONEZONE_INCLUDE=@TONEZONE_INCLUDE@
@ -68,17 +68,17 @@ ZAPTEL_INCLUDE=@ZAPTEL_INCLUDE@
VPBAPI_LIB=@VPB_LIB@
VPBAPI_INCLUDE=@VPB_INCLUDE@
LIBPRI_LIB=@LIBPRI_LIB@
LIBPRI_INCLUDE=@LIBPRI_INCLUDE@
PRI_LIB=@PRI_LIB@
PRI_INCLUDE=@PRI_INCLUDE@
LIBOSPTK_LIB=@OSPTK_LIB@
LIBOSPTK_INCLUDE=@OSPTK_INCLUDE@
OSPTK_LIB=@OSPTK_LIB@
OSPTK_INCLUDE=@OSPTK_INCLUDE@
UNIXODBC_LIB=@UNIXODBC_LIB@
UNIXODBC_INCLUDE=@UNIXODBC_INCLUDE@
PGSQL_LIB=@pq_LIB@
PGSQL_INCLUDE=@pq_INCLUDE@
PGSQL_LIB=@PGSQL_LIB@
PGSQL_INCLUDE=@PGSQL_INCLUDE@
SQLITE_LIB=@SQLITE_LIB@
SQLITE_INCLUDE=@SQLITE_INCLUDE@
@ -116,8 +116,8 @@ GTK_LIB=@GTK_LIB@
CURL_LIB=@CURLLIB@
LIBGSM_LIB=@gsm_LIB@
LIBGSM_INCLUDE=@gsm_INCLUDE@
GSM_LIB=@GSM_LIB@
GSM_INCLUDE=@GSM_INCLUDE@
CURSES_LIB=@CURSES_LIB@
CURSES_INCLUDE=@CURSES_INCLUDE@
@ -127,7 +127,10 @@ NCURSES_INCLUDE=@NCURSES_INCLUDE@
EDITLINE_LIB=@EDITLINE_LIB@
RADIUSCLIENT_LIB=@RADIUSCLIENT_LIB@
RADIUSCLIENT_INCLUDE=@RADIUSCLIENT_INCLUDE@
RADIUS_LIB=@RADIUS_LIB@
RADIUS_INCLUDE=@RADIUS_INCLUDE@
NETSNMP_LIB=@NETSNMP_LIB@
IMAP_TK_LIB=@IMAP_TK_LIB@
IMAP_TK_INCLUDE=@IMAP_TK_INCLUDE@

Loading…
Cancel
Save