aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
AgeCommit message (Collapse)AuthorFilesLines
2007-12-19Check for the existence of the soxmix application on the target platform and ↵russell1-0/+5
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-5/+2
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-2/+2
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-0/+1
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-0/+3
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-2/+4
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-0/+2
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-1/+17
the system. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77863 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-11Instead of figuring out kernel versions that have compiler.h and not... ↵file1-1/+4
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/+9
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-1/+1
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-06-30Tweak the configure script so that error output isn't spewed to the consolerussell1-1/+1
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
2007-06-29Backport fix for GCC versions without support for declaration-after-statement.file1-0/+10
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@72597 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-28add a check for gethostbyname_r so we canrizzo1-2/+5
simplify the handling e.g. in utils.c Also add comments on a couple of features which are not working on FreeBSD. All the above has been already done in trunk so the merge must be blocked. Can someone please regenerate ./configure ? git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@72489 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-18To prevent 92138749238754 more reports of "I have unixodbc installed, butrussell1-1/+5
still can't build *_odbc.so!", check for ltdl directly, instead of just listing it as another library to include in the unixodbc check in the configure script. This also makes ltdl show up as a dependency in menuselect so people know what to go install. (related to issue #9989, patch by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@69702 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-04Change the configure script to build a test program against libcurl to makerussell1-2/+21
sure the results from curl-config can be used to compile successfully. This is intended to help prevent a situation where you are cross compiling, and the configure script finds the curl library installed on the host. (issue #9865, reported and patched by zandbelt) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@67026 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-25have to check for OSP toolkit _after_ checking for OpenSSLkpfleming1-5/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@66160 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-25handle the GNUTLS library properly in the configure script and build systemkpfleming1-5/+5
don't build in OSP support unless we have found and are allowed to use SSL support git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@66157 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-24Following moving strip to AC_PATH_TOOL, we need to do something similar for ar.qwell1-2/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@66029 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-24Checking for the strip application needs to be done with AC_PATH_TOOLrussell1-1/+2
instead of AC_PATH_PROG to properly handle cross compilation environments. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@66026 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-06To be able to achieve the things that we would like to achieve with therussell1-1/+1
Asterisk GUI project, we need a fully functional HTTP interface with access to the Asterisk manager interface. One of the things that was intended to be a part of this system, but was never actually implemented, was the ability for the GUI to be able to upload files to Asterisk. So, this commit adds this in the most minimally invasive way that we could come up with. A lot of work on minimime was done by Steve Murphy. He fixed a lot of bugs in the parser, and updated it to be thread-safe. The ability to check permissions of active manager sessions was added by Dwayne Hubbard. Then, hacking this all together and do doing the modifications necessary to the HTTP interface was done by me. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@60603 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-26* mISDN >= 1.2 provides a dsp pipeline for i.e. echo cancellation modules, ↵nadi1-0/+1
make chan_misdn use it. * add a check for linux/mISDNdsp.h to configure.ac and update the autogenerated files: 'configure', 'autoconfig.h.in' (the 'configure' script was not in sync with the latest configure.ac, so the diff is a bit bigger than expected). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59202 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-16Making these documentation changes in the 1.4 branch upset various people, sorussell1-1/+0
these chanes will only be done in the trunk. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58955 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-15Add configure script checking for GTK2 and some additional Makefile targetsrussell1-0/+12
to support gmenuselect git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58947 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-15Merge changes from svn/asterisk/team/russell/LaTeX_docs.russell1-0/+1
* Convert most of the doc directory into a single LaTeX formatted document so that we can generate a PDF, HTML, or other formats from this information. * Add a CLI command to dump the application documentation into LaTeX format which will only be include if the configure script is run with --enable-dev-mode. * The PDF turned out to be close to 1 MB, so it is not included. However, you can simply run "make asterisk.pdf" to generate it yourself. We may include it in release tarballs or have automatically generated ones on the web site, but that has yet to be decided. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58931 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-08If we receive ZT_EVENT_REMOVED, destroy the specified channel. russell1-2/+2
(issue #7256, tzafrir) Also, update the configure script to make sure that we don't try to build chan_zap if the installed version of zaptel does not include ZT_EVENT_REMOVED. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58320 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-02Update the check that is used to determine whether zaptel transcoder supportrussell1-2/+2
is present. The interface has changed. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@57556 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-17If the pg_config application is found, but there is probably executing it,russell1-15/+25
then consider postgres unavailable. (issue #8637) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@55052 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-12Make the --without-oss argument work. (issue #9026 reported by puzzled)file1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@54026 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-10don't display the --with-imap message unless --with-imap was specified ↵kpfleming1-17/+19
without a path use '-n' instead of '! -z' for tests git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@53850 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-09clarify the fact that voicemail IMAP storage cannot be built against a ↵kpfleming1-0/+4
distro's binary c-client library package (at least not at this time) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@53715 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-30When we are checking for a system installed version of libgsm, we need to checkrussell1-12/+43
for gsm.h as well. Furthermore, when checking for this header, it may be located in a gsm/ sub directory, so check for that, as well. (issue #8773) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@52997 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-28Suggested change to fix normal usage of --with-tds=/usr/local (Sean Bright, ↵tilghman1-1/+1
via asterisk-dev mailing list) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@52462 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-25Remove libnsl as a required lib for libiksemel to work. This change wasrussell1-1/+1
already made in the trunk. (issue #8762) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@52158 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-15use the ACX_PTHREAD macro from the Autoconf macro archive for setting up ↵kpfleming1-3/+2
compiler pthreads support... should improve portability to platforms with unusual pthreads requirements git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@50867 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-08since we use AC_PATH_TOOL to find tools, we should use the results it ↵kpfleming1-8/+8
provides for us (reported by Brian Capouch on the asterisk-dev list) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@49866 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-01check specifically for VLDTMF and transcoding support in the system's Zaptel ↵kpfleming1-23/+40
installation, and make only the modules that need those features dependent on them (this will allow building the other Zaptel-using parts of Asterisk against older versions of Zaptel or those on other platforms that haven't caught up yet to the Linux version) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@49102 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-28Backport support for read/write locks.file1-0/+18
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@49022 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-25Clean up autoconf file (gets rid of warnings seen when rebuilding configure) ↵file1-3/+3
and rebuild configure. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48960 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-18ctrl-w != w (nano search)qwell1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48561 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-16use m4 quoting for AC_MSG_NOTICE calls, to keep these calls from thinking ↵kpfleming1-59/+59
they have multiple arguments git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48528 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-05Fix curl version number testing to be much more friendly to non-bash shells.qwell1-16/+7
Issue 8508, patch by me. This *SHOULD* be POSIX compliant now.. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48279 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-01FreeBSD 6.1 does not include wget by default. However, it has fetch which willrussell1-0/+8
work just fine for our purposes of downloading the sounds packages. So, check for both wget and fetch and the configure script and use what was found to download them. If neither one was found, and sound packages are selected that must be downloaded, the install process will print out an informative error message indicating the situation. Also, fix a couple places where "make" was hard coded into some output messages by replacing them with the $(MAKE) variable. (issue #8451, initial patch by pabelanger, with additional modifications by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48190 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-16check for pre-1.4 versions of Zaptel and abort the configure script if found ↵kpfleming1-0/+32
with an appropriate error message git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47758 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-08Copy the macros from libtool.m4 to our own acinclude.m4 such that libtool isrussell1-1/+3
no longer required to be installed to be able to generated the configure script. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47327 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-03add proper environment vars to detect modules on freebsd.rizzo1-0/+2
(already applied to trunk so it needs to be blocked there) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47107 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-01Fixes for cross-compilation on mips russell1-0/+1
(issue #8058, ywalther, with some modifications) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46847 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-01Add a check in the configure script to determine whether ld is GNU ld or not.russell1-0/+8
This is needed because module embedding only works for gnu ld. GNU ld is now listed as a dependency for all of the module embedding options in menuselect. (issue #8143) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46845 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-30Don't explicitly link in crypt as it is not used on some platforms.file1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46506 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-25fix error output when checking for openh323 to refer to openh323 insteadrussell1-2/+2
of pwlib (issue #8222, misaksen) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46253 f38db490-d61c-443f-a65b-d21fe96a405b