dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

51 Commits

Author SHA1 Message Date
kpfleming 14bd7ec680 Merged revisions 132704 via svnmerge from
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-22 20:54:07 +00:00
kpfleming 1cc4749eb6 some minor fixes found while working on issue #12911 (and block the rev from 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-07-03 16:22:02 +00:00
file a0331e1cf4 Merged revisions 115282 via svnmerge from
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-04 02:11:01 +00:00
file d0da046cdd Merged revisions 115276 via svnmerge from
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-05-04 01:45:21 +00:00
kpfleming e7f1299f11 ensure that dependencies on AST_C_DEFINE_CHECK symbols work properly
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@109451 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18 15:50:29 +00:00
kpfleming 853e85fe76 don't define Zaptel features as libraries, they aren't, and we don't want '--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-17 17:31:46 +00:00
russell 31e371c804 Do a link test in AST_EXT_TOOL_CHECK() to ensure we have all the required libs
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-03-14 17:05:11 +00:00
qwell 7a5f69431a Change AST_EXT_TOOL_CHECK to attempt to build against <package>_LIB, per recommendations from Russell.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98985 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-16 23:08:11 +00:00
kpfleming cea2f98c6d [commit message]
(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-04 17:21:25 +00:00
kpfleming 96852f698d improve AC_C_DEFINE_CHECK to not try to evaluate the macro being checked 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
2008-01-02 19:34:33 +00:00
rizzo 992d0b77a7 Properly document AST_EXT_TOOL_CHECK() and use it to check for
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-12-19 08:57:45 +00:00
rizzo a9d77064e7 the 'version' is now $7 not $6
(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-20 18:20:25 +00:00
rizzo 8c6e113ab5 add an argument for extra headers to AC_EXT_LIB_CHECK,
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-20 15:39:00 +00:00
rizzo 26957ae033 comment a bit the code in acinclude.m4
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-20 14:54:52 +00:00
rizzo 7e662cf783 acinclude.m4: add a function to help checking sdl-config, gtk-config
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-11-17 01:49:26 +00:00
file 84d217dc97 Merged revisions 77071 via svnmerge from
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-25 17:16:11 +00:00
file 8dd99bd381 Merged revisions 74043 via svnmerge from
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-07-09 14:38:19 +00:00
russell 61a05327f3 Remove an extra space from the macro that checks for C defines.
(issue #9715, tzafrir)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@64225 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-14 16:08:19 +00:00
qwell 2a3583fda1 Merged revisions 59573 via svnmerge from
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-03-30 22:54:01 +00:00
pcadach 8fa72c1f27 Merged revisions 52807 via svnmerge from
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-30 09:08:17 +00:00
russell 7f1c29e56e Merged revisions 51262 via svnmerge from
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-18 21:57:55 +00:00
kpfleming a5d83fb31d Merged revisions 50867 via svnmerge from
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-15 15:08:45 +00:00
kpfleming 5fab9aa737 Merged revisions 49714-49715 via svnmerge from
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-06 00:00:19 +00:00
kpfleming 914e1056d5 Merged revisions 49712 via svnmerge from
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
2007-01-05 23:41:33 +00:00
kpfleming 0edbe0f64f Merged revisions 48528 via svnmerge from
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-12-16 21:38:10 +00:00
russell da354ac2dc Merged revisions 47527 via svnmerge from
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-13 05:51:30 +00:00
russell 8519471bf1 Merged revisions 47327 via svnmerge from
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-11-08 16:36:45 +00:00
rizzo 3e77a694d5 Basically, this commit only simplifies configure.ac and makes the
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-05 15:42:14 +00:00
rizzo 8dbc18a09a small formatting fix
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44422 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-04 23:47:20 +00:00
rizzo d1e642feb4 when only checking headers, do not set $1_LIB.
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-04 23:41:08 +00:00
rizzo b6b3ed661f document, and extend a bit the macro AST_EXT_LIB_CHECK so that
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-10-04 23:01:45 +00:00
pcadach f1c0fb7f4a Check for 64-bit OpenH323/PWLib versions too, thanks to Mithraen (please, re-build configure script)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43434 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-21 19:18:13 +00:00
mattf 42a59d0531 Mergeing in Paul Cadach's chan_h323 changes *holds breath*
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43281 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19 17:07:22 +00:00
file 0fcb352fba Update configure script to check for Zaptel VLDTMF support since this will 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-31 01:48:04 +00:00
kpfleming 1251c2c934 use a customized configure macro to tell the script that uCLinux does not 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-21 20:12:18 +00:00
kpfleming 8b0c007ad9 merge new_loader_completion branch, including (at least):
- 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-21 02:11:39 +00:00
russell 2e0757504b a lot of systems use GNU Make 3.81beta4, so only consider the first two 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-17 19:38:15 +00:00
russell e62969af06 tabs to spaces to fix alignment ...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40154 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-17 06:18:42 +00:00
russell 0af038be66 print a warning at the end of the configure script if the version of GNU Make
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-17 06:16:00 +00:00
russell 122c31952a support ./configure --silent
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39615 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-14 00:08:35 +00:00
kpfleming 135bedb7fe massive rework of configure script, and split of AST_EXT_LIB into separate macros, reducing code duplication
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37066 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-05 19:59:34 +00:00
russell ba8a39f651 match the change made to AST_EXT_LIB in asterisk-addons
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36960 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-05 00:01:32 +00:00
russell e0162250d9 Add support for logging CDR recrods to a radius server (issue #6639, phsultan)
- 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-20 22:30:05 +00:00
russell 269bec93af add support for more refined ability to set install paths using the standard
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-19 18:54:21 +00:00
kpfleming 152144cce7 don't put bogus paths like -L/lib into link commands
do the QT check properly


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23897 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01 10:34:20 +00:00
kpfleming e80d7ce6e3 remove attribute checking... it was an attempt to support older GCC 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-30 06:50:53 +00:00
kpfleming c228e657ce and now with the correct filenames
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-29 15:31:45 +00:00
russell a93a6a71ee if the "action-if-found" is left empty, AC_CHECK_LIB will add a default result
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
2006-04-29 13:32:38 +00:00
russell 4beb867cde only define HAVE_SOMELIB if somelib's header file was found as well
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22703 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 00:10:56 +00:00
russell 4755015ee7 if an external library is found, but the associated header file is not, just
move on without including support for this library.  However, if --with-lib
is explicitly specified, then error out noting the situation.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22415 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-25 17:22:38 +00:00