Commit Graph

31 Commits

Author SHA1 Message Date
Russell Bryant fa16f36aae 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: https://origsvn.digium.com/svn/asterisk/trunk@51263 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 21:57:55 +00:00
Kevin P. Fleming 74f401d05f 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: https://origsvn.digium.com/svn/asterisk/trunk@50869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-15 15:08:45 +00:00
Kevin P. Fleming 04e0ba77b0 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: https://origsvn.digium.com/svn/asterisk/trunk@49730 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-06 00:00:19 +00:00
Kevin P. Fleming 21df48d4fa 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: https://origsvn.digium.com/svn/asterisk/trunk@49713 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-05 23:41:33 +00:00
Kevin P. Fleming a40b78b885 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: https://origsvn.digium.com/svn/asterisk/trunk@48529 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-16 21:38:10 +00:00
Russell Bryant 6fb342ecfe 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: https://origsvn.digium.com/svn/asterisk/trunk@47529 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13 05:51:30 +00:00
Russell Bryant 7cfa2154f9 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: https://origsvn.digium.com/svn/asterisk/trunk@47328 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-08 16:36:45 +00:00
Luigi Rizzo f4cd569b12 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: https://origsvn.digium.com/svn/asterisk/trunk@44467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-05 15:42:14 +00:00
Luigi Rizzo 637c5d7fb2 small formatting fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44422 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-04 23:47:20 +00:00
Luigi Rizzo 4b55f8d98f 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: https://origsvn.digium.com/svn/asterisk/trunk@44421 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-04 23:41:08 +00:00
Luigi Rizzo 5cf27a303d 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: https://origsvn.digium.com/svn/asterisk/trunk@44420 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-04 23:01:45 +00:00
Paul Cadach 844cc80e25 Check for 64-bit OpenH323/PWLib versions too, thanks to Mithraen (please, re-build configure script)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43434 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-21 19:18:13 +00:00
Matthew Fredrickson 2cc96500bd Mergeing in Paul Cadach's chan_h323 changes *holds breath*
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43281 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-19 17:07:22 +00:00
Joshua Colp 5418a7a1a8 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: https://origsvn.digium.com/svn/asterisk/trunk@41505 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-31 01:48:04 +00:00
Kevin P. Fleming a394f4ad64 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: https://origsvn.digium.com/svn/asterisk/trunk@40790 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-21 20:12:18 +00:00
Kevin P. Fleming 0a27d8bfe5 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: https://origsvn.digium.com/svn/asterisk/trunk@40722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-21 02:11:39 +00:00
Russell Bryant 98e1cbb957 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: https://origsvn.digium.com/svn/asterisk/trunk@40280 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-17 19:38:15 +00:00
Russell Bryant 4173d0fafd tabs to spaces to fix alignment ...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40154 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-17 06:18:42 +00:00
Russell Bryant 6ec6d652bd 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: https://origsvn.digium.com/svn/asterisk/trunk@40153 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-17 06:16:00 +00:00
Russell Bryant 7d63b7d9ff support ./configure --silent
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39615 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-14 00:08:35 +00:00
Kevin P. Fleming d5b7bf2ab7 massive rework of configure script, and split of AST_EXT_LIB into separate macros, reducing code duplication
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-05 19:59:34 +00:00
Russell Bryant 95c0ddd674 match the change made to AST_EXT_LIB in asterisk-addons
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36960 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-05 00:01:32 +00:00
Russell Bryant 1fcc86d905 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: https://origsvn.digium.com/svn/asterisk/trunk@29094 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 22:30:05 +00:00
Russell Bryant 9993d14f86 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: https://origsvn.digium.com/svn/asterisk/trunk@28747 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19 18:54:21 +00:00
Kevin P. Fleming ae685fd1b6 don't put bogus paths like -L/lib into link commands
do the QT check properly


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23897 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-01 10:34:20 +00:00
Kevin P. Fleming 1669a4b321 remove attribute checking... it was an attempt to support older GCC compilers but is not worth the effort :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23514 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30 06:50:53 +00:00
Kevin P. Fleming 3878a2a9fb and now with the correct filenames
add basic support for checking for C compiler attribute support


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23380 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-29 15:31:45 +00:00
Russell Bryant 1209c0ea58 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: https://origsvn.digium.com/svn/asterisk/trunk@23335 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-29 13:32:38 +00:00
Russell Bryant 74aecc640b only define HAVE_SOMELIB if somelib's header file was found as well
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22703 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-27 00:10:56 +00:00
Russell Bryant 5b6e2d16e3 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: https://origsvn.digium.com/svn/asterisk/trunk@22415 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-25 17:22:38 +00:00
Kevin P. Fleming 574e14cbea Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24 17:11:45 +00:00