aboutsummaryrefslogtreecommitdiffstats
path: root/configure
AgeCommit message (Collapse)AuthorFilesLines
2008-09-08Actually use Zaptel CFLAGS if using Zaptel instead of DAHDIrussell1-1/+5
This fixes building against Zaptel when using a custom path git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@141678 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-20Backport support for Zaptel/DAHDI channel-level alarms from trunk/1.6, ↵kpfleming1-1/+113
because not doing so just makes it difficult for people with channels that are in alarm when Asterisk starts up to get them going once the alarm is cleared (closes issue #12160) Reported by: tzafrir Patches: asterisk-chanalarms_14.patch uploaded by tzafrir (license 46) Tested by: tzafrir git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@139145 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-14add support for Zaptel versions that contain the new transcoder interfacekpfleming1-2/+61
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@137677 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-09Ensure PBX_DAHDI_TRANSCODE will evaluate to 0 if not found instead of empty.russell1-1/+2
pointed out by tzafrir on #asterisk-dev git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@136999 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07change the required dependency for codec_dahdi to only be satisfied by DAHDI ↵kpfleming1-64/+4
and not Zaptel, as the new transcoder interface is only in DAHDI git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@136560 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-30Qwell pointed out, via IRC, that the previous fix only worked when explicitlytilghman1-2/+2
set. When nothing is set, and the option is implied, it breaks, because configure sets the prefix to 'NONE'. Fixing. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@134649 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-30Only override sysconfdir and mandir when prefix=/usrtilghman1-6/+8
(closes issue #13093) Reported by: pabelanger git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@134536 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-22make AST_C_COMPILE_CHECK able to print a 'pretty' description of what it is ↵kpfleming1-2/+7
doing git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@132704 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-22use renamed libpri API call for controlling this feature (was improperly ↵kpfleming1-44/+44
named before) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@132641 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-11add support for a configuration parameter for 'inband audio during RELEASE', ↵kpfleming1-1/+268
which is currently mandatory in libpri-1.4.4 but will become configurable in libpri-1.4.5 later today (related to issue #13042) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@130039 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-07use tzafrir's patch to fix this problem properly... i made the previous set ↵kpfleming1-7/+7
of changes without thoroughly testing them, doh! (closes issue #12911) Reported by: tzafrir Patches: custum_dahdi_configure_2.diff uploaded by tzafrir (license 46) Tested by: tzafrir git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@128637 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-03ensure that DAHDI_INCLUDE and ZAPTEL_INCLUDE are added in all the places neededkpfleming1-4771/+227
improve AST_EXT_LIB_CHECK to accept (and remember) additional CFLAGS data like it does in trunk already (closes issue #12911) Reported by: tzafrir git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@127754 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-25allow tonezone to live in a different place than DAHDI/Zaptel, since ↵kpfleming1-1/+7
dahdi-tools and dahdi-linux are now separate packages and can be installed in different places don't include tonezone.h in dahdi_compat.h, because only a couple of modules need it get app_rpt building again after the DAHDI changes (closes issue #12911) Reported by: tzafrir git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@125132 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-13(closes issue #12846)jpeeler1-2/+2
Reported by: Netview Tested by: jpeeler Use correct location to search for tonezone. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@122613 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-12Adds DAHDI support alongside Zaptel. DAHDI usage favored, but all Zap stuff ↵jpeeler1-78/+212
should continue working. Release announcement to follow. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@122314 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-09Improve res_ninit and res_ndestroy autoconf logic on the Darwin platform.file1-5/+192
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@115579 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-06Add in missing argument.file1-79/+79
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@115341 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-05Make sure that either the main speex library contains preprocess functions ↵file1-2/+422
or that speexdsp does. If both fail then speex stuff can not be built. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@115327 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-04Expand the test function for GCC attributes so that more complex attributes ↵file1-6/+6
are properly recognized. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@115282 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-04Treat warnings as errors when checking if a GCC attribute exists. We have to ↵file1-1/+25
do this as GCC will just ignore the attribute and pop up a warning, it won't actually fail to compile. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@115276 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-02Add new "pri show version" command to show the libpri version for support ↵bbryant1-5/+418
reasons. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@115257 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-27When we don't explicitly pass a path to the --with-tds configure option, weseanbright1-12/+18
may end up finding tds.h in /usr/local/include instead of /usr/include. If this happens, the grep that looks for the version (from tdsver.h) will fail and we'll have some problems during the build. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@114695 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-11stop checking for mktime() in the configure script... we don't use it, and ↵kpfleming1-518/+149
the test is buggy under gcc 4.3 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@107461 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-11check for compiler support for -fno-strict-overflow before using it (tested ↵kpfleming1-3/+18
with Debian's gcc 4.3, 4.1 and 3.4) (closes issue #12179) Reported by: Netview git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@107408 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-11fix small bug in IMAP toolkit testingkpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@107405 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-19Don't look for launchd when cross compiling.file1-2/+5
(closes issue #12029) Reported by: ovi git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@103812 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-15Final round of changes for configure script logic for IMAPmmichelson1-1/+199
Now if a directory is specified, then we will search that directory for a source installation of the IMAP toolkit. If none is found, then we will use that directory as the basis for detecting a package installation of the IMAP c-client. If that check fails, then configure will fail. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@103722 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-15Fix a bit of wrong logic in the configure script that caused problems when ↵mmichelson1-5/+5
trying to configure without IMAP. Patch suggestion from phsultan, but I modified it slightly. (closes issue #12003) Reported by: pj Tested by: putnopvut git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@103713 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-15I apparently misunderstood one of the requirements of this configure change.mmichelson1-40/+26
Now, if a source directory is specified with the --with-imap option, and a valid source installation is not detected there, then configure will fail and will not check for a package installation. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@103709 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-14Change to the configure logic regarding IMAP. Prior to this commit, if you ↵mmichelson1-6208/+2294
wished to configure Asterisk with IMAP support, you would use the --with-imap configure switch in one of the following two ways: --with-imap=/some/directory would look in the directory specified for a UW IMAP source installation --with-imap would assume that you had imap-2004g installed in .. relative to the Asterisk source With this set of changes the two above options still work the same, but there are two new behaviors, too. --with-imap=system will assume that you have -libc-client.so where you store your shared objects and will attempt to find c-client headers in your include path either in the imap or c-client directory. If either of the two original methods of specifying the imap option should fail, then the check for --with-imap =system will be performed in addition. It is only after this "system" check that failure can happen. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@103698 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-04Cross-platform fix: OS X now deprecates the use of the daemon(3) API.tilghman1-1768/+6121
(closes issue #11908) Reported by: oej Patches: 20080204__bug11908.diff.txt uploaded by Corydon76 (license 14) Tested by: Corydon76 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@102323 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-01Change detection of getifaddrs to use AST_C_COMPILE_CHECK, backported from ↵tilghman1-365/+27
trunk (as suggested by kpfleming) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@101894 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-01Compatibility fix for OpenWRT (reported by Brian Capouch via the mailing list)tilghman1-1/+410
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@101772 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-16Add autoconf logic for speexdsp. Later versions use a separate library for ↵file1-5/+494
some things so we need to use it if present in codec_speex. (closes issue #11693) Reported by: yzg git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@98951 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-11Backport the ability to set the ToS bits on Linux when not running as root.russell1-10/+456
Normally, we would not backport features into 1.4, but, I was convinced by the justification supplied by the supplier of this patch. He pointed out that this patch removes a requirement for running as root, thus reducing the potential impacts of security issues. (closes issue #11742) Reported by: paravoid Patches: libcap.diff uploaded by paravoid (license 200) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@98265 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10Remove pbx_kdeconsole from the tree. It hasn't worked in ages, and nobody hasrussell1-311/+6
complained. (closes issue #11706, reported by caio1982) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@97734 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-19Check for the existence of the soxmix application on the target platform and ↵russell1-4/+110
have the result available in autoconfig.h. (part of issue #11589) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@94077 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-17In http://lists.digium.com/pipermail/asterisk-dev/2007-December/031145.html,kpfleming1-6041/+2290
rizzo brought up some issues related to the way that the metadata required for menuselect and the rest of the build system is extracted from the source files. Since I had a few hours to kill on an airplane today, I decided to improve this situation... so now the system caches the extracted metadata and uses it to build the menuselect 'tree' as much as it can. The result of this is that when a single source file is changed, only the metadata for that file needs to be extracted again, and the rest is used from the cache files. I also reduced the number of forked processes required to do the metadata extraction; it was actually possible to do most of what we needed in the Makefiles themselves without using any shell scripts at all! On my laptop, these changes resulted in an 80% decrease in the time required for the 'menuselect.makeopts' automatic check to occur after editing a single source file. While doing this work I also cleaned up a few minor things in the Makefiles, adding a check for 'awk' to the configure script and changed all remaining places we use 'grep' or 'awk' to use the ones found by the configure script, and changed the 'prep_tarball' script to build the menuselect metadata so that tarballs of Asterisk will include it and won't require the user to wait while it is extracted after unpacking. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@93180 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-12Test directly for the API that fixed AST-2007-026, to ensure that oldertilghman1-1742/+5956
versions of PostgreSQL are no longer acceptable. (Closes issue #11526) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@92463 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-04Modify file.h to maintain API compatibility with earlier versions. If a recentrussell1-1/+53
compiler is being used, then a warning will show up for any modules still using the old name "private" instead of "_private". (patch suggested by paravoid) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@91032 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-14Add checking for libusb here, so nobody has to deal with conflicts in therussell1-6/+440
chan_usbradio-1.4 branch every time the configure script gets changed git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@82385 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-06(closes issue #10383)file1-3/+5
Reported by: rizzo Include stdlib.h so NULL gets defined for gethostbyname_r checks. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@78166 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-01And for my last trick... make sure that if gethostbyname_r is exported by a ↵file1-1/+85
library that it is used. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77865 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-01Extend autoconf logic to determine which version of gethostbyname_r is on ↵file1-51/+64
the system. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77863 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-25Fix autoconf logic for finding OpenH323 when it is not in the first place ↵file1-180/+33
searched (/usr/share/openh323). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77071 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-11Instead of figuring out kernel versions that have compiler.h and not... ↵file1-10/+141
let's just use autoconf to check for it's presence. (issue #10174 reported by francesco_r) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74572 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-10Merged revisions 74373 via svnmerge from qwell1-1/+54
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r74373 | qwell | 2007-07-10 13:37:23 -0500 (Tue, 10 Jul 2007) | 5 lines Use res_ndestroy on systems that have it. Otherwise, use res_nclose. This prevents a memleak on NetBSD - and possibly others. Issue 10133, patch by me, reported and tested by scw ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74374 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-09Update the configure script to check for a required function that is not presentrussell1-32/+48
in the 1.2 version of libpri. This will prevent the configure script from thinking that it has compatible libpri support for Asterisk 1.4, when it actually does not because the installed version is from 1.2. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74211 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-09Use AC_CHECK_HEADER to check for ptlib/openh323 to allow for cross ↵file1-141/+1356
compiling. (issue #9675 reported by zandbelt) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74043 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-30Tweak the configure script so that error output isn't spewed to the consolerussell1-6/+10
when searching for GTK2 libs, and they aren't found. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@72766 f38db490-d61c-443f-a65b-d21fe96a405b