[asterisk-commits] branch group/autoconf_and_menuselect r22125 -
/team/group/autoconf_and_menuse...
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Fri Apr 21 23:16:10 MST 2006
Author: russell
Date: Sat Apr 22 01:16:09 2006
New Revision: 22125
URL: http://svn.digium.com/view/asterisk?rev=22125&view=rev
Log:
check for zaptel.h, not just the presence of libtonezone
Modified:
team/group/autoconf_and_menuselect/configure.ac
Modified: team/group/autoconf_and_menuselect/configure.ac
URL: http://svn.digium.com/view/asterisk/team/group/autoconf_and_menuselect/configure.ac?rev=22125&r1=22124&r2=22125&view=diff
==============================================================================
--- team/group/autoconf_and_menuselect/configure.ac (original)
+++ team/group/autoconf_and_menuselect/configure.ac Sat Apr 22 01:16:09 2006
@@ -163,7 +163,6 @@
AST_EXT_LIB([nbs], [nbs_setup], [], [NBS], [Network Broadcast Sound])
AST_EXT_LIB([ossaudio], [oss_ioctl_mixer], [], [OSS], [Open Sound System])
AST_EXT_LIB([speex], [speex_encode], [], [SPEEX], [Speex], [-lm])
-AST_EXT_LIB([tonezone], [tone_zone_find], [], [ZAPTEL], [Zaptel])
AST_EXT_LIB([pri], [pri_call], [], [LIBPRI], [ISDN PRI])
AST_EXT_LIB([mfcr2], [mfcr2_MakeCall], [], [MFCR2], [MFCR2])
AST_EXT_LIB([osptk], [OSPPCryptoDecrypt], [], [OSPTK], [OSP Toolkit], [-lcrypto -lssl])
@@ -174,6 +173,12 @@
AST_EXT_LIB([newt], [newtBell], [], [NEWT], [newt])
AST_EXT_LIB([ssl], [ssl2_connect], [], [OPENSSL], [OpenSSL], [-lcrypto])
AST_EXT_LIB([z], [compress], [], [ZLIB], [zlib])
+
+if test "x${PBX_OSTYPE}" = "xLinux" ; then
+ AST_EXT_LIB([tonezone], [tone_zone_find], [linux/zaptel.h], [ZAPTEL], [Zaptel])
+else
+ AST_EXT_LIB([tonezone], [tone_zone_find], [zaptel.h], [ZAPTEL], [Zaptel])
+fi
GSM_INTERNAL="yes"
GSM_SYSTEM="yes"
More information about the asterisk-commits
mailing list