qwell
4560e87bd1
This totally worked when I tested it...
...
Reverting for now..
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43245 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-18 23:59:23 +00:00
qwell
360679cc3c
This was silly. Nowhere else do we use [ or [[
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43244 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-18 23:37:25 +00:00
qwell
094036c996
We have autoconf...let's actually use it.
...
(note, M4 wasn't used, so...bye)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43215 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-18 19:57:09 +00:00
kpfleming
4de5810a05
handle config.guess name for FreeBSD properly
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43208 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-18 19:30:10 +00:00
qwell
fe9ed45b05
Many Solaris fixes - this moves some of the stuff from utils.c to strcompat.c
...
Every OS uses strcompat now - this was done on purpose.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42982 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-15 17:16:00 +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
russell
033e4fd7b5
menuselect doesn't use asterisk's autoconfig.h anymore, so this ifdef can be
...
removed
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41181 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-26 17:15:38 +00:00
kpfleming
da5141501b
more optimizations for embedded systems:
...
when LOADABLE_MODULES is off, don't export symbols from the main binary
when LOADABLE_MODULES is off, and the compiler/linker support it, strip out code not used in the final binary
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41166 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-26 16:45:35 +00:00
russell
3e4bef9df9
fix redirect typo
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41133 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-25 19:10:15 +00:00
kpfleming
a9f89f24f5
fix a typo and clarify something else
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41120 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-25 18:58:52 +00:00
russell
a403111660
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: http://svn.digium.com/svn/asterisk/trunk@41119 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-25 18:55:26 +00:00
russell
cd817e2338
we use autoconf 2.60.
...
Note that this only affects people regenerating the configure script.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41088 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-25 16:19:58 +00:00
russell
1b84395d17
get cflags for libcurl as well as libs (patch from qwell)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41023 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-25 00:13:03 +00:00
kpfleming
6d8a5523b3
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: http://svn.digium.com/svn/asterisk/trunk@40949 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-23 19:28:13 +00:00
kpfleming
662e697b68
remove requirement for libtasn1, which appears to be a Debian thing
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40837 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-22 16:32:41 +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
mogorman
e6e061dfca
changes to configure to support older c-client than the
...
2004 version.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40335 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-17 22:39:48 +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
tilghman
e63bd04ff0
Move curl version test to autoconf script
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37678 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-15 21:39:26 +00:00
russell
348045f5a8
avoid an error from configure by not doing a cat on a file that doesn't exist
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37284 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-07 05:51:29 +00:00
kpfleming
6c60b711f7
actually do proper searching for c-client and output the results so app_voicemail can be built against it
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37278 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-07 02:20:04 +00:00
kpfleming
be2f5169a0
allow codec_gsm to be built using internal GSM library again (oops!)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37105 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-05 21:28:30 +00:00
kpfleming
2b2913cd7a
update OSS so it works again
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37086 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-05 20:15:43 +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
kpfleming
cda33c11a8
prepare Asterisk for new zaptel.h/tonezone.h installation locations
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37027 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-05 16:44:41 +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
7a1e62a61b
add support for atomic operations provided by mac osx
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36409 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-30 15:54:13 +00:00
kpfleming
50c6c0be43
move FreeTDS version check into configure script
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36255 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-29 07:50:01 +00:00
kpfleming
3959558d30
clean up some damage from today's commit
...
convert codecs Makefile to new style
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35852 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-24 23:12:22 +00:00
kpfleming
41af2260b7
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: http://svn.digium.com/svn/asterisk/trunk@35832 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-24 19:43:31 +00:00
kpfleming
3df43d0174
search for Zaptel and libtonezone separately in the configure script
...
various other minor fixes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35812 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-24 08:45:49 +00:00
russell
265f81cb5d
add basic autoconf support for res_snmp
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35607 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-23 01:50:55 +00:00
russell
3889dd878b
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: http://svn.digium.com/svn/asterisk/trunk@35439 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 12:55:49 +00:00
russell
078081a36e
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: http://svn.digium.com/svn/asterisk/trunk@35391 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 10:30:51 +00:00
kpfleming
2ce6a2d846
use the proper test for compiler atomics
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33995 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-14 02:23:29 +00:00
kpfleming
6d3448b51e
use atomic operations provided by the compiler if they are available (yay for gcc 4.1 users!)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33953 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-13 21:35:29 +00:00
tilghman
578fcf7685
Bug 7339 - check for duplication of strnlen function
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33690 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-12 20:21:04 +00:00
kpfleming
cbd3156f72
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: http://svn.digium.com/svn/asterisk/trunk@32860 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07 19:05:35 +00:00
kpfleming
73c525e6e2
simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07 18:54:56 +00:00
russell
9f9309cda6
restore default paths for FreeBSD (reported by alphaque, fixed by jcollie)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30458 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-25 22:05:12 +00:00
mogorman
38b24efed1
asterisk-xmpp merge in
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29553 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 21:12:30 +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
russell
26a2b7c6d5
change the CFLAGS controlled by menuselect to be placed in a header file
...
instead of being added to the compiler commands. This header file will be
installed and modules built outside of the main tree will be able to use the
same build options used to build the rest of Asterisk.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26808 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-11 09:50:41 +00:00
rizzo
83491e3476
add default values for CPPFLAGS and LDFLAGS on FreeBSD
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26020 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-09 11:45:26 +00:00
russell
9dbb8e70b4
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: http://svn.digium.com/svn/asterisk/trunk@25989 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-09 10:43:08 +00:00
russell
c4a6d12d56
add smarter checking for termcap support, which fixes a build problem when
...
ncurses is statically compiled with term info support, which is provided in
the statically compiled editline library that we are including.
(issue #6948 , original patch by casper, modified to use the features
of AST_EXT_LIB)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25611 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-08 15:24:52 +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
027ba007a9
do the check for VoiceTronix support using C++
...
set the library/header include parameters properly for the search
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23896 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01 10:03:44 +00:00
kpfleming
db8e06ec8d
do check for ixjuser.h in a way that can actually succeed :-)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23875 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01 09:38:32 +00:00
kpfleming
357595cbea
use proper method of detecting OSS support on Linux and FreeBSD
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23736 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 17:49:50 +00:00
russell
58b1764375
fix a libtonezone detection issue on FreeBSD
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23704 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 15:29:38 +00:00
kpfleming
077120a38c
remove unusable MFC/R2 support
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23670 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 14:09:13 +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
ddf4ec7b28
when doing the checks necessary for chan_phone, look for all of the linux
...
headers it uses, not just ixjuser.h (issue #7049 , different fix)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22990 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 20:34:48 +00:00
russell
f1f9bce2b4
- add missing IXJUSER to menuselect-deps.in
...
- don't check for a private function when looking for nbs
- fix the path to ixjuser.h
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22904 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 17:52:12 +00:00
russell
154fc96c34
apparently some systems may have ncurses that doesn't provide backwards compat
...
with curses. So, check for both and use whatever is found
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22346 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-25 05:53:58 +00:00
kpfleming
29f496ef12
Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22267 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-24 17:11:45 +00:00