dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

95 Commits

Author SHA1 Message Date
rizzo 4e463b1cad add comments that AC_USE_SYSTEM_EXTENSIONS and AST_PROG_LD
do not work on FreeBSD - presumably they depend on some
auto* feature that is not installed by default.

I am not sure on what is a proper fix. In my local copy
i simply comment them out.

The AST_PROG_LD is a long standing isse, there were attempts
to fix it in the past but probably not enough has been copied
to acinclude.m4, and i had forgotten about it because i
commented out this call in configure.ac long ago



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51288 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 09:44:55 +00:00
rizzo 062db24b7c Add check for backtrace support on platforms that do not have
it natively.

Part of it leaked in in a previous commit.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51287 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 09:39:02 +00:00
rizzo 592f4faece remove a useless (and harmful on some platforms) -lnsl
from IKSEMEL_LIB.

Actually i am not even sure whether
-lgcrypt -lgpg-error are needed.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51286 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 09:36:27 +00:00
rizzo 1b4f5d64c7 simplify checking for zaptel version and location
(for linux, this is functionally equivalent to the previous
method; for FreeBSD, it re-adds inspection in $PREFIX/zaptel.h).

Please wait to regenerate the "configure" file as i have
another few pending changes to configure.ac

Not applicable to 1.4 until acinclude.m4 is also updated.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51285 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 09:32:13 +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 2ae97ef25a Merged revisions 49866 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49866 | kpfleming | 2007-01-07 21:53:53 -0600 (Sun, 07 Jan 2007) | 2 lines

since we use AC_PATH_TOOL to find tools, we should use the results it provides for us (reported by Brian Capouch on the asterisk-dev list)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49870 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-08 03:56:06 +00:00
kpfleming 6fa0d7528f Merged revisions 49102 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49102 | kpfleming | 2007-01-01 17:34:35 -0600 (Mon, 01 Jan 2007) | 2 lines

check specifically for VLDTMF and transcoding support in the system's Zaptel installation, and make only the modules that need those features dependent on them (this will allow building the other Zaptel-using parts of Asterisk against older versions of Zaptel or those on other platforms that haven't caught up yet to the Linux version)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49103 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-01 23:43:43 +00:00
file 7f137ceb7c Merged revisions 48960 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48960 | file | 2006-12-25 12:04:48 -0500 (Mon, 25 Dec 2006) | 2 lines

Clean up autoconf file (gets rid of warnings seen when rebuilding configure) and rebuild configure.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48961 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-25 17:06:58 +00:00
qwell 8c088cc975 ctrl-w != w (nano search) (surprisingly, the fix was ever so slightly different in 1.4)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48563 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-18 16:57:24 +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
qwell ecfc18df47 Merged revisions 48279 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48279 | qwell | 2006-12-05 14:42:52 -0600 (Tue, 05 Dec 2006) | 4 lines

Fix curl version number testing to be much more friendly to non-bash shells.

Issue 8508, patch by me.  This *SHOULD* be POSIX compliant now..

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48280 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-05 20:44:12 +00:00
russell f1781a983a Merged revisions 48190 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48190 | russell | 2006-12-01 18:16:28 -0500 (Fri, 01 Dec 2006) | 12 lines

FreeBSD 6.1 does not include wget by default.  However, it has fetch which will
work just fine for our purposes of downloading the sounds packages.  So, check
for both wget and fetch and the configure script and use what was found to
download them.  If neither one was found, and sound packages are selected that
must be downloaded, the install process will print out an informative error
message indicating the situation.

Also, fix a couple places where "make" was hard coded into some output messages
by replacing them with the $(MAKE) variable.

(issue #8451, initial patch by pabelanger, with additional modifications by me)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48191 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-01 23:20:17 +00:00
kpfleming 1f207a8422 Merged revisions 47758 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47758 | kpfleming | 2006-11-16 14:09:10 -0600 (Thu, 16 Nov 2006) | 2 lines

check for pre-1.4 versions of Zaptel and abort the configure script if found with an appropriate error message

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47759 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-16 20:10:59 +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
russell 3f6327f4ca add a comment about where AC_PROG_LD comes from
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47305 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-08 03:13:46 +00:00
file 394f34122b I'm crazy so I will add this... pthread rwlock wrappers, along with autoconf stuff that detects the presence of the initializer and the ability to set the kind of lock (in our case we rather like writer preferred locks so writer starvation doesn't occur... but on something like Darwin we don't get that)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46935 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-02 16:28:13 +00:00
russell a92148bfa5 Merged revisions 46847 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46847 | russell | 2006-11-01 17:51:21 -0500 (Wed, 01 Nov 2006) | 3 lines

Fixes for cross-compilation on mips 
(issue #8058, ywalther, with some modifications)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46848 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-01 22:54:15 +00:00
russell 1675708f88 Merged revisions 46845 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46845 | russell | 2006-11-01 17:32:12 -0500 (Wed, 01 Nov 2006) | 5 lines

Add a check in the configure script to determine whether ld is GNU ld or not.
This is needed because module embedding only works for gnu ld.  GNU ld is now
listed as a dependency for all of the module embedding options in menuselect.
(issue #8143)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-01 22:35:52 +00:00
file ad40c89439 Merged revisions 46506 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46506 | file | 2006-10-30 16:09:13 -0500 (Mon, 30 Oct 2006) | 2 lines

Don't explicitly link in crypt as it is not used on some platforms.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46507 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-30 21:11:37 +00:00
rizzo bf08d70185 Fix a few issues in the previous (disabled) HTTPS code,
and support linux as well (using fopencookie(), which should
be available in glibc).

Update configure.ac to check for funopen (BSD) and fopencookie(glibc),
and while we are at it also for gethostbyname_r
(the generated files need to be updated, or you need
to run bootstrap.sh yourself).

Document the new options in http.conf.sample
(names are only tentative, better ones are welcome).

At this point we can safely enable the option.
Anyone willing to try this on Sun and Apple platforms ?



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@45892 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-22 19:09:25 +00:00
kpfleming fd7c90241c Merged revisions 45027 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r45027 | kpfleming | 2006-10-13 10:41:14 -0500 (Fri, 13 Oct 2006) | 2 lines

use a configure script test for PMTU discovery control instead of just assuming it's available on Linux

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@45029 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-13 15:47:42 +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 5aa3ce8841 simplify checks for OSS using AST_EXT_LIB_CHECK;
remove two repeated blocks using better logic.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44423 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-04 23:52:23 +00:00
rizzo 08e703466f restore proper CPPFLAGS and LDFLAGS for FreeBSD,
until a better solution is found.

Please do not commit the regenerated "configure" file yet,
as there are some more simplifications to be applied to
configure.ac and acinclude.m4 in the next few days.

For the same reason, i am postponing the commit to the 1.4 branch
until the above changes are complete.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44411 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-04 22:59:02 +00:00
rizzo e4c79792a5 comment the fact that autoconf2.59 is ok to process this file, but we want to
use 2.60 in case the generated "configure" file must me committed back to the
repository, so we keep differences to a minimum.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44251 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-03 15:48:57 +00:00
kpfleming a8442c9b22 Merged revisions 44055 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r44055 | kpfleming | 2006-09-29 17:47:40 -0500 (Fri, 29 Sep 2006) | 2 lines

fix a few build system bugs, and convert Makefiles to be compatible with GNU make 3.80

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44056 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-29 22:48:43 +00:00
kpfleming 170dae49be Merged revisions 43996-43997,44008,44011-44012 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r43996 | kpfleming | 2006-09-29 11:47:05 -0500 (Fri, 29 Sep 2006) | 2 lines

another cross-compile fix

........
r43997 | kpfleming | 2006-09-29 11:52:27 -0500 (Fri, 29 Sep 2006) | 2 lines

support --without-curl in configure script

........
r44008 | kpfleming | 2006-09-29 13:25:49 -0500 (Fri, 29 Sep 2006) | 2 lines

don't abuse CFLAGS and LDFLAGS for build of Asterisk components, because they are also then used for non-Asterisk components (like menuselect); use our own variables instead

........
r44011 | kpfleming | 2006-09-29 13:40:17 -0500 (Fri, 29 Sep 2006) | 2 lines

missed one conversion to ASTCFLAGS

........
r44012 | kpfleming | 2006-09-29 13:49:07 -0500 (Fri, 29 Sep 2006) | 2 lines

yet another place where we were not using the correct CFLAGS by default

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44013 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-29 18:54:21 +00:00
file c3414d6078 Add ability to set high ToS bits as non-root on Linux using libcap (issue #7047 reported by maddison)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43830 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-27 21:48:01 +00:00
mattf 17a2c3577a Merge in SS7 changes.... need to still cleanup zapata.conf
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43427 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-21 18:41:33 +00:00
tilghman 5f015e8d45 Merged revisions 43410 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r43410 | tilghman | 2006-09-21 11:31:59 -0500 (Thu, 21 Sep 2006) | 10 lines

Merged revisions 43409 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r43409 | tilghman | 2006-09-21 11:18:19 -0500 (Thu, 21 Sep 2006) | 2 lines

TDS 0.64 updates

........

................


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43411 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-21 16:38:16 +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
qwell da80d436ca Let's order these better..
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43259 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19 14:24:14 +00:00
qwell 2dd4535e10 Add a few more 'generic' platforms
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43258 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19 14:19:54 +00:00
kpfleming e3f9e0540a restore ability for Makefiles to use 'generic' platform names when needed
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43256 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19 14:04:15 +00:00
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