file
9aacf0a023
Revert last commit, apparently buildbot lied to me.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89397 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-18 17:03:38 +00:00
file
1c0212aaba
Change how we handle alloca to conform with how it is suggested in the autoconf manual for AC_FUNC_ALLOCA. FreeBSD 6 now builds again and no other platforms should be broken by this.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89396 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-18 17:01:41 +00:00
file
f2c0ead18c
Change autoconf logic a bit so it says what it is looking for in two instances where it didn't.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89395 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-18 16:43:08 +00:00
file
6f925e459e
Use autoconf logic to determine the presence of PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP and PTHREAD_MUTEX_RECURSIVE_NP. Enclose error message from network.h in "
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89394 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 23:03:16 +00:00
mattf
92145c34ba
Add SS7 Generic address support ( #11156 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89393 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 21:47:48 +00:00
rizzo
7c4aecdfc4
if alloca.h is not present, try malloc.h
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89392 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 19:29:54 +00:00
rizzo
42defef5f8
temporarily disable this target in mingw
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89391 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 19:29:04 +00:00
rizzo
ba23cef4c0
will i ever get precedences for windows right ?
...
in the meantime, use a variable to ease enabling/disabling print subdirectories.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89390 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 19:27:51 +00:00
rizzo
49ec17e59f
reformulate dependencies in a more correct way
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89389 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 19:00:07 +00:00
murf
f5e86448ae
a quick fix to pbx_dundi.c to make it so it will compile. Hope I did the right thing. And some additions to removal of extens to take care of hashtab pointers in all cases.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89388 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 17:46:36 +00:00
rizzo
a1bcb3dd4e
as discussed some time ago on the -dev list, create embedde object
...
with a .eo suffix even if they are coming from .cc sources.
This simplifies the handling in the build scripts.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89387 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 17:27:26 +00:00
rizzo
f9cb61c116
prefer socket.h over other variants (winsock etc.)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89385 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 16:32:18 +00:00
rizzo
3136f24f36
trim more redundant headers
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89384 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 16:18:53 +00:00
rizzo
d5c3a24242
remove unnecessary includes
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89383 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 14:47:33 +00:00
rizzo
457e19cda1
fix breakage induced by previous mistake
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89382 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 14:45:46 +00:00
rizzo
aaec5b990e
wrong variable, wrong order -> broken build.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89381 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 14:44:03 +00:00
rizzo
fb8143ad31
start using asterisk/network.h for network related headers.
...
Also remove some unnecessary includes.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89380 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 14:11:53 +00:00
rizzo
139e5f6dd4
wrapper for all generic network headers that have different names
...
and locations on the various systems.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89379 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 14:00:24 +00:00
rizzo
4856fc7b18
main is called main not amain!
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89378 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 12:44:22 +00:00
rizzo
a3fe6d2b0f
conditional targets for building the windows version
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89377 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 12:33:15 +00:00
rizzo
c1f095dd97
support cygwin targets
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89376 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 11:57:52 +00:00
rizzo
9abcc5eaec
and this is the last one to have asterisk compile (not run yet)
...
natively under cygwin.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89375 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 11:10:16 +00:00
rizzo
36281f41ce
another cygwin compatibility fix.
...
This one must be handled in a better way in configure, also for other
architectures
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89374 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 11:08:58 +00:00
rizzo
163cc146a7
more cygwin/mingw32 compatibility fixes
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89373 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 10:54:52 +00:00
rizzo
678373f7a8
use autoconf results to conditionally compile timersub
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89372 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 10:32:56 +00:00
rizzo
19d672e30a
compatibility fixes for cygwin
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89371 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 10:28:55 +00:00
rizzo
344808cb75
some version of flex produce code that wants __STDC_VERSION__
...
defined, but the compiler does not always define it.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89370 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 10:26:21 +00:00
rizzo
ed06295d0c
these linker flags apply to both cygwin and mingw32
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89369 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 10:12:43 +00:00
rizzo
1fe4d3a41f
add a return NULL to a function that is expected to return a value
...
so compilers that don't understand that this code is NOTREACHED
will not complain (the fault is not much on the compiler but on the
declaration of pthread_exit on certain platforms)
s/certain platform/cygwin/ if you are really curious
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89368 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 09:54:54 +00:00
rizzo
4dfe6b5327
define RTLD_LOCAL for platforms that don't have it.
...
This is only to complete the build, clearly the linker
behaviour will be completely different and likely to
cause trouble in those cases.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89367 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 09:51:45 +00:00
rizzo
46c59c7908
filter out modules that do not compile under windows
...
(this should be handled with the dependencies generated by
configure and menuselect, but will be fixed later)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89366 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 09:48:45 +00:00
rizzo
8fde063b48
netdb.h is used for gethostbyname, and it was not included in some
...
platforms.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89365 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 09:44:14 +00:00
rizzo
adfbbca7d5
Loader for cygwin where asterisk is really a big dll
...
(something like this is already in 1.2)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89364 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 09:37:12 +00:00
rizzo
370182a288
timersub is a macro not a function, so write the check in a way
...
that detects both formats.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89363 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 09:30:22 +00:00
russell
6a4809a9ca
fix the build of pbx_lua
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89362 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 06:34:10 +00:00
russell
1ccd0d8633
Update the configure script check for sys/poll.h to also provide the result in
...
include/asterisk/autoconfig.h. Also, move the conditional include of sys/poll.h
or asterisk/poll-compat.h into asterisk/config.h instead of the two headers it
existed in before.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89361 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 06:33:07 +00:00
russell
85a28052d3
actually let this compile, oops :(
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89360 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 06:09:42 +00:00
russell
21b6d95750
Use the fix suggested by Tilghman on the -dev to make cutting up the BUILDSUM
...
friendly to non-bash shells. I think this should work for BSD/mingw as well,
but did not yet remove the switch statement.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89359 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 06:07:57 +00:00
rizzo
9894ab1869
linker flags for mingw32
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89358 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 04:19:02 +00:00
rizzo
15e6a2fe21
add detection for timersub() and winsock.h/winsock2.h
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89357 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 04:17:53 +00:00
rizzo
c950f36c72
provide definitions for __LITTLE_ENDIAN and __BIG_ENDIAN if not present.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89356 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 03:28:31 +00:00
rizzo
fda7338287
use poll as detected by configure
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89355 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 03:07:06 +00:00
rizzo
fa361ae750
use autoconf to check for the existence of sys/poll.h
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89354 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 02:57:40 +00:00
rizzo
5053d21bad
this script is run on the build system, not on the host.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89353 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 02:54:23 +00:00
rizzo
8e07f5311c
compatibility fix for mingw32
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89352 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 02:50: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
rizzo
5a50119d9d
add check for the presence of glob
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89350 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 00:31:32 +00:00
rizzo
ba761e2427
more removal of duplicate #include lines
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89349 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 00:02:33 +00:00
rizzo
18911d90cb
remove a bunch of duplicate includes
...
Reproduce with
grep -r #include . | grep -v .svn | grep -v Binary | sort | uniq -c | sort -nr
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89348 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-16 23:54:45 +00:00
twilson
27db72c0de
Fix broken parking dial-back
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89347 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-16 23:44:14 +00:00