aboutsummaryrefslogtreecommitdiffstats
path: root/acinclude.m4
AgeCommit message (Collapse)AuthorFilesLines
2008-10-20Merged revisions 151240 via svnmerge from kpfleming1-1119/+0
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r151240 | kpfleming | 2008-10-20 07:45:56 +0300 (Mon, 20 Oct 2008) | 3 lines break up acinclude.m4 into individual files, which will make it easier to maintain, easier to add new macros (less patching) and will ease maintenance of these macros across Asterisk branches ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@151242 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-10Merged revisions 142416 via svnmerge from seanbright1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r142416 | seanbright | 2008-09-10 15:05:46 -0400 (Wed, 10 Sep 2008) | 9 lines Fix detection of PWLIB and OpenH323 version when spacing in the headers isn't consistent. (closes issue #13426) Reported by: bamby Patches: detect_openh323.diff uploaded by bamby (license 430) (Modified by me to use sed instead of tr) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@142417 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-22Merged revisions 132704 via svnmerge from kpfleming1-2/+6
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r132704 | kpfleming | 2008-07-22 15:49:41 -0500 (Tue, 22 Jul 2008) | 2 lines make AST_C_COMPILE_CHECK able to print a 'pretty' description of what it is doing ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132705 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-03some minor fixes found while working on issue #12911 (and block the rev from ↵kpfleming1-1/+1
1.4 since the equivalent is already here) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127767 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-04Merged revisions 115282 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115282 | file | 2008-05-03 23:09:44 -0300 (Sat, 03 May 2008) | 2 lines Expand the test function for GCC attributes so that more complex attributes are properly recognized. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115283 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-04Merged revisions 115276 via svnmerge from file1-1/+5
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115276 | file | 2008-05-03 22:43:26 -0300 (Sat, 03 May 2008) | 2 lines Treat warnings as errors when checking if a GCC attribute exists. We have to 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/trunk@115277 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18ensure that dependencies on AST_C_DEFINE_CHECK symbols work properlykpfleming1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@109451 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-17don't define Zaptel features as libraries, they aren't, and we don't want ↵kpfleming1-1/+1
'--with-zaptel-<foo>' configure options for them also some minor cleanups git-svn-id: http://svn.digium.com/svn/asterisk/trunk@109166 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-14Do a link test in AST_EXT_TOOL_CHECK() to ensure we have all the required libsrussell1-1/+5
reported by the tool. (closes issue #12067, reported by Juggie, patched by me) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@108740 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-16Change AST_EXT_TOOL_CHECK to attempt to build against <package>_LIB, per ↵qwell1-4/+23
recommendations from Russell. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98985 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-04[commit message]kpfleming1-0/+30
(closes issue #10393) Reported by: tzafrir Patches: chan_alarm_asterisk.diff uploaded by tzafrir (license 46) (modified by me and added configure script support) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96500 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02improve AC_C_DEFINE_CHECK to not try to evaluate the macro being checked ↵kpfleming1-1/+8
for, but just check for its existence finish implementation of check for Zaptel HWGAIN support add check for Zaptel ECHOCANCEL_PARAMS support git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95937 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-19Properly document AST_EXT_TOOL_CHECK() and use it to check forrizzo1-3/+6
NETSMP and GTK (GTK is not used thoug). AST_EXT_TOOL_CHECK() could be used for checking curl status as well, perhaps with a small addition because we currently seem to require a curl version greater than X.Y.Z Add a NETSMP_INCLUDE entry in makeopts.in We don't have yet any macros for using pkg-config to check for a specific package (right now there is only gtk2+ in the category). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@93898 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-20the 'version' is now $7 not $6rizzo1-1/+1
(wait a bit before regenerating configure, i have more changes) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89459 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-20add an argument for extra headers to AC_EXT_LIB_CHECK,rizzo1-14/+15
and on passing simplify the code. Too bad that every time we need to regenerate configure... git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89452 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-20comment a bit the code in acinclude.m4rizzo1-45/+65
There is still a lot of code to clean up there, but hopefully this should clarify what goes on in there. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89448 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17acinclude.m4: add a function to help checking sdl-config, gtk-configrizzo1-0/+17
and the like (this could be used for gtk and gtk2 as well) Other files: add tests for sdl, sdl_image and avcodec and regenerate configure and autoconfig.h.in git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89351 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-25Merged revisions 77071 via svnmerge from file1-2/+14
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r77071 | file | 2007-07-25 14:14:14 -0300 (Wed, 25 Jul 2007) | 2 lines Fix autoconf logic for finding OpenH323 when it is not in the first place searched (/usr/share/openh323). ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77072 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-09Merged revisions 74043 via svnmerge from file1-11/+15
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r74043 | file | 2007-07-09 11:34:33 -0300 (Mon, 09 Jul 2007) | 2 lines Use AC_CHECK_HEADER to check for ptlib/openh323 to allow for cross compiling. (issue #9675 reported by zandbelt) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@74044 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-14Remove an extra space from the macro that checks for C defines.russell1-1/+1
(issue #9715, tzafrir) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@64225 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-30Merged revisions 59573 via svnmerge from qwell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r59573 | qwell | 2007-03-30 17:50:31 -0500 (Fri, 30 Mar 2007) | 2 lines Add linux-uclibc host arch..."thingy". Sorry, I don't know what it's called... ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@59574 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-30Merged revisions 52807 via svnmerge from pcadach1-26/+67
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r52807 | pcadach | 2007-01-30 00:33:22 -0800 (Втр, 30 Янв 2007) | 1 line Handle non-standard OpenH323/PWLib library names ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@52818 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-18Merged revisions 51262 via svnmerge from russell1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r51262 | russell | 2007-01-18 15:54:23 -0600 (Thu, 18 Jan 2007) | 5 lines Ensure that the locations given to the Asterisk configure script for ncurses, curses, termcap, or tinfo are further passed along to the editline configure script. This fixes some cross-compilation environments. (issue #8637, reported by ovi, patch by me) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51263 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-15Merged revisions 50867 via svnmerge from kpfleming1-0/+242
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r50867 | kpfleming | 2007-01-15 09:03:06 -0600 (Mon, 15 Jan 2007) | 2 lines use the ACX_PTHREAD macro from the Autoconf macro archive for setting up compiler pthreads support... should improve portability to platforms with unusual pthreads requirements ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50869 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-06Merged revisions 49714-49715 via svnmerge from kpfleming1-1/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r49714 | kpfleming | 2007-01-05 17:49:52 -0600 (Fri, 05 Jan 2007) | 2 lines proper fix for r49712 ........ r49715 | kpfleming | 2007-01-05 17:51:31 -0600 (Fri, 05 Jan 2007) | 2 lines one more time... ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49730 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-05Merged revisions 49712 via svnmerge from kpfleming1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r49712 | kpfleming | 2007-01-05 17:40:29 -0600 (Fri, 05 Jan 2007) | 2 lines if --with-foo=<path> is specific for a configure option, ensure that it is used for header file checking as well ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49713 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-16Merged revisions 48528 via svnmerge from kpfleming1-4/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r48528 | kpfleming | 2006-12-16 15:34:41 -0600 (Sat, 16 Dec 2006) | 2 lines use m4 quoting for AC_MSG_NOTICE calls, to keep these calls from thinking they have multiple arguments ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48529 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-13Merged revisions 47527 via svnmerge from russell1-1/+22
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r47527 | russell | 2006-11-13 00:48:18 -0500 (Mon, 13 Nov 2006) | 5 lines AC_PROG_SED is included in autoconf 2.60, but apparently it is not included in 2.59. So, to maintain compatability with 2.59 since it is a small change, copy this macro into acinclude.m4 and rename it to AST_PROG_SED. (issue #8345) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47529 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-08Merged revisions 47327 via svnmerge from russell1-0/+116
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r47327 | russell | 2006-11-08 11:31:59 -0500 (Wed, 08 Nov 2006) | 4 lines Copy the macros from libtool.m4 to our own acinclude.m4 such that libtool is no longer required to be installed to be able to generate the configure script. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47328 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-05Basically, this commit only simplifies configure.ac and makes the rizzo1-21/+64
mechanism more flexible, but otherwise should not affect your build even if you regenerate the "configure" script. (Most likely you need to run bootstrap.sh as you really need to re-run autoheader for reasons that i do not completely understand). If you don't regenerate "configure", of course you will see no difference. In detail: - restructure the check for mandatory modules to remove some redundant code blocks; - extend the AST_EXT_LIB_CHECK so that it can used also for checking headers; - define the AST_C_DEFINE_CHECK macro to test for #defined symbols; - for the two above macros, add a last argument that getscopied into HAVE_$1_VERSION so the source can adapt to different versions of the same libraries/header/etc - document the above; - document a problem that existed before and i did not manage to solve: the 'description' argument to AC_DEFINE does not substiture shell variables so you will not see the actual values in the comments (in autoconfig.h).. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44467 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-04small formatting fixrizzo1-4/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44422 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-04when only checking headers, do not set $1_LIB.rizzo1-1/+3
Also PBX_$1=0 is the default so we don't need to set it explicitly. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44421 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-04document, and extend a bit the macro AST_EXT_LIB_CHECK so thatrizzo1-2/+13
it can be used in more places in configure.ac git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44420 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-21Check for 64-bit OpenH323/PWLib versions too, thanks to Mithraen (please, ↵pcadach1-6/+30
re-build configure script) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43434 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19Mergeing in Paul Cadach's chan_h323 changes *holds breath*mattf1-0/+314
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43281 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31Update configure script to check for Zaptel VLDTMF support since this will ↵file1-1/+1
now be required. If you build and don't have Zap stuff, upgrade your zaptel copy. As well - change some minor things so that we get "checking for" and not "checking checking for". git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41505 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21use a customized configure macro to tell the script that uCLinux does not ↵kpfleming1-0/+60
have fork() that works drop all startup options and code related to forking if it is not available git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40790 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21merge new_loader_completion branch, including (at least):kpfleming1-0/+13
- restructured build tree and makefiles to eliminate recursion problems - support for embedded modules - support for static builds - simpler cross-compilation support - simpler module/loader interface (no exported symbols) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-17a lot of systems use GNU Make 3.81beta4, so only consider the first two ↵russell1-1/+1
characters in the minor part of the version string git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40280 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-17tabs to spaces to fix alignment ...russell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40154 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-17print a warning at the end of the configure script if the version of GNU Makerussell1-0/+4
in use is a version earlier than 3.81 This is for file :) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40153 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-14support ./configure --silentrussell1-9/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39615 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-05massive rework of configure script, and split of AST_EXT_LIB into separate ↵kpfleming1-38/+48
macros, reducing code duplication git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37066 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-05match the change made to AST_EXT_LIB in asterisk-addonsrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36960 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-20Add support for logging CDR recrods to a radius server (issue #6639, phsultan)russell1-23/+23
- with contributions from miconda, jcollie, and sb - branch maintained by oej Thanks everyone! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29094 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-19add support for more refined ability to set install paths using the standardrussell1-4/+4
options to configure such as --libdir, --sbindir, etc. All of the default paths are still the same. (issue #7057, jcollie) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28747 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01don't put bogus paths like -L/lib into link commandskpfleming1-3/+7
do the QT check properly git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23897 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30remove attribute checking... it was an attempt to support older GCC ↵kpfleming1-15/+0
compilers but is not worth the effort :-) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23514 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29and now with the correct filenameskpfleming1-2/+17
add basic support for checking for C compiler attribute support git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23380 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29if the "action-if-found" is left empty, AC_CHECK_LIB will add a default resultrussell1-1/+1
instead which can break things in the rest of the script (issue #7043) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23335 f38db490-d61c-443f-a65b-d21fe96a405b