Commit Graph

342 Commits

Author SHA1 Message Date
Kevin P. Fleming aad5f19a12 fix a typo and clarify something else
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41120 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25 18:58:52 +00:00
Russell Bryant 3c886e6451 remove the make version check, and instead, check for the actual bug that
causes our build system to blow up.

If anyone still sees problems and configure didn't detect a problem with make,
please let me know.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41119 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25 18:55:26 +00:00
Russell Bryant 5008225fcf get cflags for libcurl as well as libs (patch from qwell)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25 00:13:03 +00:00
Kevin P. Fleming 7eecf0bfbc use RTLD_NOLOAD if it's available to make loading dynamic modules a little faster and less resource-intensive
also, keep trying to dlclose() a module until it actually goes away, since it may have other modules it brought in when it was loaded (thanks PCadach for pointing this problem out to me)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40949 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-23 19:28:13 +00:00
Kevin P. Fleming 4cc09eb1e4 remove requirement for libtasn1, which appears to be a Debian thing
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40837 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-22 16:32:41 +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
Matt O'Gorman a95851978b updating configure script and putting comments in the docs
in english. yay!


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40337 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-17 22:52:07 +00:00
Russell Bryant 4879edbcc1 update configure script to reflect change to make version check
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40302 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-17 21:10:16 +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 9947a0591e update configure script with new curl version test
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37680 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-15 21:41:40 +00:00
Kevin P. Fleming ad2a107e33 update to autoconf 2.60 version
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37652 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-15 16:39:17 +00:00
Russell Bryant b8481e8103 avoid an error from configure by not doing a cat on a file that doesn't exist
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37284 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-07 05:51:29 +00:00
Kevin P. Fleming 3be4c8d3eb actually do proper searching for c-client and output the results so app_voicemail can be built against it
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-07 02:20:04 +00:00
Kevin P. Fleming 72c9c5def1 allow codec_gsm to be built using internal GSM library again (oops!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37105 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-05 21:28:30 +00:00
Kevin P. Fleming d646abbab7 update OSS so it works again
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37086 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-05 20:15:43 +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
Kevin P. Fleming f761d2f6f0 prepare Asterisk for new zaptel.h/tonezone.h installation locations
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37027 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-05 16:44:41 +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 3ffc032ddc update configure
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36410 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-30 15:55:38 +00:00
Kevin P. Fleming 98a465fc09 move FreeTDS version check into configure script
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36255 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-29 07:50:01 +00:00
Kevin P. Fleming 51453628a0 clean up some damage from today's commit
convert codecs Makefile to new style


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-24 23:12:22 +00:00
Kevin P. Fleming e61d3d91f3 The Eurostar Commit! (it's amazing how much work you can get done on a 150 minute train ride from Paris to London <G>)
support the new location for zaptel.h and tonezone.h
use the dependency information output by menuselect to build Makefile rules for each module for header files and libraries
combine the common rules into a top-level Makefile.rules file
remove all (now) unnecessary stuff from subdir Makefiles
change translator API so that the newpvt() callback returns an int instead of a pointer (it no longer allocates memory)
alphabetize --with-<foo> options in configure script
enhance Net-SNMP support in configure script to provide a --with-netsnmp option
fix support for --with-pq so that if pg-config is not found when --with-pq is specified, an error will be generated
add 'optional package' usage to modules now that menuselect can output it
allow res_snmp to build by default, since the new loader changes coming soon will solve the function naming problem (and users can disable it via menuselect anyway)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-24 19:43:31 +00:00
Kevin P. Fleming df0ba5ff8b search for Zaptel and libtonezone separately in the configure script
various other minor fixes


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35812 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-24 08:45:49 +00:00
Russell Bryant 268609aa68 add basic autoconf support for res_snmp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35607 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23 01:50:55 +00:00
Russell Bryant a236f488be revert my change to use the AC_PREFIX_DEFAULT macro since it is not something
that is expanded inline, so it didn't do what I wanted it to. The --help output
will be wrong again, but that's better than completely breaking it. :)
(Thanks to jcollie for catching this!)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35439 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 12:55:49 +00:00
Russell Bryant fd0273875a use the AC_PREFIX_DEFAULT macro to set the default prefix instead of setting
the variable directly, so that the configure --help information shows the
correct default prefix


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35391 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 10:30:51 +00:00
Kevin P. Fleming cdfb60f9bc use the proper test for compiler atomics
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33995 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-14 02:23:29 +00:00
Kevin P. Fleming eddf363a0e use atomic operations provided by the compiler if they are available (yay for gcc 4.1 users!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-13 21:35:29 +00:00
Kevin P. Fleming b12ab2ad1b bootstrap to include latest configure script change
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-12 20:33:01 +00:00
Kevin P. Fleming 274ce731e2 move autoconfig.h to the include/asterisk directory so it will get installed
install asterisk.h include the system's default include directory


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32860 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 19:05:35 +00:00
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 18:54:56 +00:00
Russell Bryant f490777c41 regenerate configure after the last fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30463 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-25 22:06:55 +00:00
Kevin P. Fleming f09942bb08 bootstrap updates to include xmpp related stuff
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29554 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 21:20:01 +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 51db174809 update to include latest FreeBSD changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 13:19:43 +00:00
Russell Bryant 5ae2942789 add regenerated configure script
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 13:14:37 +00:00
Russell Bryant 10187179fb change the check for zaptel to only check for linux/zaptel.h on Linux, and
zaptel.h otherwise

If you did ./configure --with-tonezone=/usr/local/ on FreeBSD, it would run
the first macro which would not find it, but it wouldn't make it to the second
macro because the first check saw that --with-tonezone was specified and would
exit with error


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 10:43:08 +00:00
Kevin P. Fleming 401ed356e4 commit the proper configure script
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25651 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 16:11:33 +00:00
Kevin P. Fleming c0762c064d silly people that don't want to install/run autoconf :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25628 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 16:02:42 +00:00