2006-06-07 19:05:35 +00:00
|
|
|
/* include/asterisk/autoconfig.h.in. Generated from configure.ac by autoheader. */
|
2006-05-08 16:02:42 +00:00
|
|
|
|
2006-06-07 18:54:56 +00:00
|
|
|
#ifndef ASTERISK_AUTOCONFIG_H
|
|
|
|
#define ASTERISK_AUTOCONFIG_H
|
2015-11-25 16:42:31 +00:00
|
|
|
/* IWYU pragma: private, include "asterisk.h" */
|
2006-06-07 18:54:56 +00:00
|
|
|
|
2015-11-25 16:42:31 +00:00
|
|
|
#include "asterisk/buildopts.h" /* IWYU pragma: export */
|
2006-05-08 16:02:42 +00:00
|
|
|
|
2018-09-17 20:35:05 +00:00
|
|
|
/* Define to 'long' or 'long long' */
|
|
|
|
#undef AST_JSON_INT_T
|
|
|
|
|
Merged revisions 182810 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r182810 | russell | 2009-03-17 21:09:13 -0500 (Tue, 17 Mar 2009) | 44 lines
Fix cases where the internal poll() was not being used when it needed to be.
We have seen a number of problems caused by poll() not working properly on
Mac OSX. If you search around, you'll find a number of references to using
select() instead of poll() to work around these issues. In Asterisk, we've
had poll.c which implements poll() using select() internally. However, we
were still getting reports of problems.
vadim investigated a bit and realized that at least on his system, even
though we were compiling in poll.o, the system poll() was still being used.
So, the primary purpose of this patch is to ensure that we're using the
internal poll() when we want it to be used.
The changes are:
1) Remove logic for when internal poll should be used from the Makefile.
Instead, put it in the configure script. The logic in the configure
script is the same as it was in the Makefile. Ideally, we would have
a functionality test for the problem, but that's not actually possible,
since we would have to be able to run an application on the _target_
system to test poll() behavior.
2) Always include poll.o in the build, but it will be empty if AST_POLL_COMPAT
is not defined.
3) Change uses of poll() throughout the source tree to ast_poll(). I feel
that it is good practice to give the API call a new name when we are
changing its behavior and not using the system version directly in all cases.
So, normally, ast_poll() is just redefined to poll(). On systems where
AST_POLL_COMPAT is defined, ast_poll() is redefined to ast_internal_poll().
4) Change poll() in main/poll.c to be ast_internal_poll().
It's worth noting that any code that still uses poll() directly will work fine
(if they worked fine before). So, for example, out of tree modules that are
using poll() will not stop working or anything. However, for modules to work
properly on Mac OSX, ast_poll() needs to be used.
(closes issue #13404)
Reported by: agalbraith
Tested by: russell, vadim
http://reviewboard.digium.com/r/198/
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@182847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-03-18 02:28:55 +00:00
|
|
|
/* Define to 1 if internal poll should be used. */
|
|
|
|
#undef AST_POLL_COMPAT
|
|
|
|
|
2017-03-30 14:51:14 +00:00
|
|
|
/* Define to enable XML documentation. */
|
|
|
|
#undef AST_XML_DOCS
|
|
|
|
|
2010-04-06 19:28:42 +00:00
|
|
|
/* Define to 1 if your system's implementation of mutexes supports comparison
|
|
|
|
of a mutex to its initializer. */
|
|
|
|
#undef CAN_COMPARE_MUTEX_TO_INIT_VALUE
|
|
|
|
|
2023-01-20 22:50:44 +00:00
|
|
|
/* Define to 1 if the `closedir' function returns void instead of `int'. */
|
2006-05-08 16:02:42 +00:00
|
|
|
#undef CLOSEDIR_VOID
|
|
|
|
|
2010-09-02 05:02:54 +00:00
|
|
|
/* Some configure tests will unexpectedly fail if configure is run by a
|
|
|
|
non-root user. These may be able to be tested at runtime. */
|
|
|
|
#undef CONFIGURE_RAN_AS_ROOT
|
|
|
|
|
2023-01-20 22:50:44 +00:00
|
|
|
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
|
|
|
|
systems. This function is required for `alloca.c' support on those systems.
|
|
|
|
*/
|
|
|
|
#undef CRAY_STACKSEG_END
|
|
|
|
|
|
|
|
/* Define to 1 if using `alloca.c'. */
|
2006-05-08 16:02:42 +00:00
|
|
|
#undef C_ALLOCA
|
|
|
|
|
Multiple revisions 399887,400138,400178,400180-400181
........
r399887 | dlee | 2013-09-26 10:41:47 -0500 (Thu, 26 Sep 2013) | 1 line
Minor performance bump by not allocate manager variable struct if we don't need it
........
r400138 | dlee | 2013-09-30 10:24:00 -0500 (Mon, 30 Sep 2013) | 23 lines
Stasis performance improvements
This patch addresses several performance problems that were found in
the initial performance testing of Asterisk 12.
The Stasis dispatch object was allocated as an AO2 object, even though
it has a very confined lifecycle. This was replaced with a straight
ast_malloc().
The Stasis message router was spending an inordinate amount of time
searching hash tables. In this case, most of our routers had 6 or
fewer routes in them to begin with. This was replaced with an array
that's searched linearly for the route.
We more heavily rely on AO2 objects in Asterisk 12, and the memset()
in ao2_ref() actually became noticeable on the profile. This was
#ifdef'ed to only run when AO2_DEBUG was enabled.
After being misled by an erroneous comment in taskprocessor.c during
profiling, the wrong comment was removed.
Review: https://reviewboard.asterisk.org/r/2873/
........
r400178 | dlee | 2013-09-30 13:26:27 -0500 (Mon, 30 Sep 2013) | 24 lines
Taskprocessor optimization; switch Stasis to use taskprocessors
This patch optimizes taskprocessor to use a semaphore for signaling,
which the OS can do a better job at managing contention and waiting
that we can with a mutex and condition.
The taskprocessor execution was also slightly optimized to reduce the
number of locks taken.
The only observable difference in the taskprocessor implementation is
that when the final reference to the taskprocessor goes away, it will
execute all tasks to completion instead of discarding the unexecuted
tasks.
For systems where unnamed semaphores are not supported, a really
simple semaphore implementation is provided. (Which gives identical
performance as the original taskprocessor implementation).
The way we ended up implementing Stasis caused the threadpool to be a
burden instead of a boost to performance. This was switched to just
use taskprocessors directly for subscriptions.
Review: https://reviewboard.asterisk.org/r/2881/
........
r400180 | dlee | 2013-09-30 13:39:34 -0500 (Mon, 30 Sep 2013) | 28 lines
Optimize how Stasis forwards are dispatched
This patch optimizes how forwards are dispatched in Stasis.
Originally, forwards were dispatched as subscriptions that are invoked
on the publishing thread. This did not account for the vast number of
forwards we would end up having in the system, and the amount of work it
would take to walk though the forward subscriptions.
This patch modifies Stasis so that rather than walking the tree of
forwards on every dispatch, when forwards and subscriptions are changed,
the subscriber list for every topic in the tree is changed.
This has a couple of benefits. First, this reduces the workload of
dispatching messages. It also reduces contention when dispatching to
different topics that happen to forward to the same aggregation topic
(as happens with all of the channel, bridge and endpoint topics).
Since forwards are no longer subscriptions, the bulk of this patch is
simply changing stasis_subscription objects to stasis_forward objects
(which, admittedly, I should have done in the first place.)
Since this required me to yet again put in a growing array, I finally
abstracted that out into a set of ast_vector macros in
asterisk/vector.h.
Review: https://reviewboard.asterisk.org/r/2883/
........
r400181 | dlee | 2013-09-30 13:48:57 -0500 (Mon, 30 Sep 2013) | 28 lines
Remove dispatch object allocation from Stasis publishing
While looking for areas for performance improvement, I realized that an
unused feature in Stasis was negatively impacting performance.
When a message is sent to a subscriber, a dispatch object is allocated
for the dispatch, containing the topic the message was published to, the
subscriber the message is being sent to, and the message itself.
The topic is actually unused by any subscriber in Asterisk today. And
the subscriber is associated with the taskprocessor the message is being
dispatched to.
First, this patch removes the unused topic parameter from Stasis
subscription callbacks.
Second, this patch introduces the concept of taskprocessor local data,
data that may be set on a taskprocessor and provided along with the data
pointer when a task is pushed using the ast_taskprocessor_push_local()
call. This allows the task to have both data specific to that
taskprocessor, in addition to data specific to that invocation.
With those two changes, the dispatch object can be removed completely,
and the message is simply refcounted and sent directly to the
taskprocessor.
Review: https://reviewboard.asterisk.org/r/2884/
........
Merged revisions 399887,400138,400178,400180-400181 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@400186 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-09-30 18:55:27 +00:00
|
|
|
/* Define to 1 if anonymous semaphores work. */
|
|
|
|
#undef HAS_WORKING_SEMAPHORE
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `acos' function. */
|
2007-09-22 02:07:53 +00:00
|
|
|
#undef HAVE_ACOS
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `acosl' function. */
|
2007-09-22 02:07:53 +00:00
|
|
|
#undef HAVE_ACOSL
|
|
|
|
|
2023-01-20 22:50:44 +00:00
|
|
|
/* Define to 1 if you have `alloca', as a function or macro. */
|
2006-05-08 16:02:42 +00:00
|
|
|
#undef HAVE_ALLOCA
|
|
|
|
|
2023-01-20 22:50:44 +00:00
|
|
|
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
|
|
|
*/
|
2006-05-08 16:02:42 +00:00
|
|
|
#undef HAVE_ALLOCA_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <arpa/inet.h> header file. */
|
|
|
|
#undef HAVE_ARPA_INET_H
|
|
|
|
|
2008-05-09 16:36:58 +00:00
|
|
|
/* Define to 1 if you have the <arpa/nameser.h> header file. */
|
|
|
|
#undef HAVE_ARPA_NAMESER_H
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `asin' function. */
|
2007-09-22 02:07:53 +00:00
|
|
|
#undef HAVE_ASIN
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `asinl' function. */
|
2007-09-22 02:07:53 +00:00
|
|
|
#undef HAVE_ASINL
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the `asprintf' function. */
|
|
|
|
#undef HAVE_ASPRINTF
|
|
|
|
|
2017-03-31 17:09:38 +00:00
|
|
|
/* Define to 1 if you have the <assert.h> header file. */
|
|
|
|
#undef HAVE_ASSERT_H
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `atan' function. */
|
2007-09-22 02:07:53 +00:00
|
|
|
#undef HAVE_ATAN
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `atan2' function. */
|
2007-09-22 02:07:53 +00:00
|
|
|
#undef HAVE_ATAN2
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `atan2l' function. */
|
2007-09-22 02:07:53 +00:00
|
|
|
#undef HAVE_ATAN2L
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `atanl' function. */
|
2007-09-22 02:07:53 +00:00
|
|
|
#undef HAVE_ATANL
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the `atexit' function. */
|
|
|
|
#undef HAVE_ATEXIT
|
|
|
|
|
2006-08-21 02:11:39 +00:00
|
|
|
/* Define to 1 if your GCC C compiler supports the 'always_inline' attribute.
|
|
|
|
*/
|
|
|
|
#undef HAVE_ATTRIBUTE_always_inline
|
|
|
|
|
|
|
|
/* Define to 1 if your GCC C compiler supports the 'const' attribute. */
|
|
|
|
#undef HAVE_ATTRIBUTE_const
|
|
|
|
|
optional_api: Fix linking problems between modules that export global symbols
With the new work in Asterisk 12, there are some uses of the
optional_api that are prone to failure. The details are rather involved,
and captured on [the wiki][1].
This patch addresses the issue by removing almost all of the magic from
the optional API implementation. Instead of relying on weak symbol
resolution, a new optional_api.c module was added to Asterisk core.
For modules providing an optional API, the pointer to the implementation
function is registered with the core. For modules that use an optional
API, a pointer to a stub function, along with a optional_ref function
pointer are registered with the core. The optional_ref function pointers
is set to the implementation function when it's provided, or the stub
function when it's now.
Since the implementation no longer relies on magic, it is now supported
on all platforms. In the spirit of choice, an OPTIONAL_API flag was
added, so we can disable the optional_api if needed (maybe it's buggy on
some bizarre platform I haven't tested on)
The AST_OPTIONAL_API*() macros themselves remained unchanged, so
existing code could remain unchanged. But to help with debugging the
optional_api, the patch limits the #include of optional API's to just
the modules using the API. This also reduces resource waste maintaining
optional_ref pointers that aren't used.
Other changes made as a part of this patch:
* The stubs for http_websocket that wrap system calls set errno to
ENOSYS.
* res_http_websocket now properly increments module use count.
* In loader.c, the while() wrappers around dlclose() were removed. The
while(!dlclose()) is actually an anti-pattern, which can lead to
infinite loops if the module you're attempting to unload exports a
symbol that was directly linked to.
* The special handling of nonoptreq on systems without weak symbol
support was removed, since we no longer rely on weak symbols for
optional_api.
[1]: https://wiki.asterisk.org/wiki/x/wACUAQ
(closes issue ASTERISK-22296)
Reported by: Matt Jordan
Review: https://reviewboard.asterisk.org/r/2797/
........
Merged revisions 397989 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@397990 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-08-30 13:40:27 +00:00
|
|
|
/* Define to 1 if your GCC C compiler supports the 'constructor' attribute. */
|
|
|
|
#undef HAVE_ATTRIBUTE_constructor
|
|
|
|
|
2007-07-16 18:36:02 +00:00
|
|
|
/* Define to 1 if your GCC C compiler supports the 'deprecated' attribute. */
|
|
|
|
#undef HAVE_ATTRIBUTE_deprecated
|
|
|
|
|
optional_api: Fix linking problems between modules that export global symbols
With the new work in Asterisk 12, there are some uses of the
optional_api that are prone to failure. The details are rather involved,
and captured on [the wiki][1].
This patch addresses the issue by removing almost all of the magic from
the optional API implementation. Instead of relying on weak symbol
resolution, a new optional_api.c module was added to Asterisk core.
For modules providing an optional API, the pointer to the implementation
function is registered with the core. For modules that use an optional
API, a pointer to a stub function, along with a optional_ref function
pointer are registered with the core. The optional_ref function pointers
is set to the implementation function when it's provided, or the stub
function when it's now.
Since the implementation no longer relies on magic, it is now supported
on all platforms. In the spirit of choice, an OPTIONAL_API flag was
added, so we can disable the optional_api if needed (maybe it's buggy on
some bizarre platform I haven't tested on)
The AST_OPTIONAL_API*() macros themselves remained unchanged, so
existing code could remain unchanged. But to help with debugging the
optional_api, the patch limits the #include of optional API's to just
the modules using the API. This also reduces resource waste maintaining
optional_ref pointers that aren't used.
Other changes made as a part of this patch:
* The stubs for http_websocket that wrap system calls set errno to
ENOSYS.
* res_http_websocket now properly increments module use count.
* In loader.c, the while() wrappers around dlclose() were removed. The
while(!dlclose()) is actually an anti-pattern, which can lead to
infinite loops if the module you're attempting to unload exports a
symbol that was directly linked to.
* The special handling of nonoptreq on systems without weak symbol
support was removed, since we no longer rely on weak symbols for
optional_api.
[1]: https://wiki.asterisk.org/wiki/x/wACUAQ
(closes issue ASTERISK-22296)
Reported by: Matt Jordan
Review: https://reviewboard.asterisk.org/r/2797/
........
Merged revisions 397989 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@397990 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-08-30 13:40:27 +00:00
|
|
|
/* Define to 1 if your GCC C compiler supports the 'destructor' attribute. */
|
|
|
|
#undef HAVE_ATTRIBUTE_destructor
|
|
|
|
|
2006-08-21 02:11:39 +00:00
|
|
|
/* Define to 1 if your GCC C compiler supports the 'malloc' attribute. */
|
|
|
|
#undef HAVE_ATTRIBUTE_malloc
|
|
|
|
|
optional_api: Fix linking problems between modules that export global symbols
With the new work in Asterisk 12, there are some uses of the
optional_api that are prone to failure. The details are rather involved,
and captured on [the wiki][1].
This patch addresses the issue by removing almost all of the magic from
the optional API implementation. Instead of relying on weak symbol
resolution, a new optional_api.c module was added to Asterisk core.
For modules providing an optional API, the pointer to the implementation
function is registered with the core. For modules that use an optional
API, a pointer to a stub function, along with a optional_ref function
pointer are registered with the core. The optional_ref function pointers
is set to the implementation function when it's provided, or the stub
function when it's now.
Since the implementation no longer relies on magic, it is now supported
on all platforms. In the spirit of choice, an OPTIONAL_API flag was
added, so we can disable the optional_api if needed (maybe it's buggy on
some bizarre platform I haven't tested on)
The AST_OPTIONAL_API*() macros themselves remained unchanged, so
existing code could remain unchanged. But to help with debugging the
optional_api, the patch limits the #include of optional API's to just
the modules using the API. This also reduces resource waste maintaining
optional_ref pointers that aren't used.
Other changes made as a part of this patch:
* The stubs for http_websocket that wrap system calls set errno to
ENOSYS.
* res_http_websocket now properly increments module use count.
* In loader.c, the while() wrappers around dlclose() were removed. The
while(!dlclose()) is actually an anti-pattern, which can lead to
infinite loops if the module you're attempting to unload exports a
symbol that was directly linked to.
* The special handling of nonoptreq on systems without weak symbol
support was removed, since we no longer rely on weak symbols for
optional_api.
[1]: https://wiki.asterisk.org/wiki/x/wACUAQ
(closes issue ASTERISK-22296)
Reported by: Matt Jordan
Review: https://reviewboard.asterisk.org/r/2797/
........
Merged revisions 397989 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@397990 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-08-30 13:40:27 +00:00
|
|
|
/* Define to 1 if your GCC C compiler supports the 'may_alias' attribute. */
|
|
|
|
#undef HAVE_ATTRIBUTE_may_alias
|
|
|
|
|
2016-07-19 03:46:19 +00:00
|
|
|
/* Define to 1 if your GCC C compiler supports the 'noreturn' attribute. */
|
|
|
|
#undef HAVE_ATTRIBUTE_noreturn
|
|
|
|
|
2006-08-21 02:11:39 +00:00
|
|
|
/* Define to 1 if your GCC C compiler supports the 'pure' attribute. */
|
|
|
|
#undef HAVE_ATTRIBUTE_pure
|
|
|
|
|
2008-05-02 02:56:39 +00:00
|
|
|
/* Define to 1 if your GCC C compiler supports the 'sentinel' attribute. */
|
|
|
|
#undef HAVE_ATTRIBUTE_sentinel
|
|
|
|
|
2006-08-21 02:11:39 +00:00
|
|
|
/* Define to 1 if your GCC C compiler supports the 'unused' attribute. */
|
|
|
|
#undef HAVE_ATTRIBUTE_unused
|
|
|
|
|
2008-06-19 17:55:34 +00:00
|
|
|
/* Define to 1 if your GCC C compiler supports the 'warn_unused_result'
|
|
|
|
attribute. */
|
|
|
|
#undef HAVE_ATTRIBUTE_warn_unused_result
|
|
|
|
|
2017-10-16 21:46:02 +00:00
|
|
|
/* Define to 1 if you have the Beanstalk Job Queue library. */
|
|
|
|
#undef HAVE_BEANSTALK
|
|
|
|
|
2010-12-18 00:08:13 +00:00
|
|
|
/* Define to 1 if you have the Debug symbol decoding library. */
|
|
|
|
#undef HAVE_BFD
|
|
|
|
|
2010-05-07 20:35:17 +00:00
|
|
|
/* Define to 1 if you have the Stack Backtrace library. */
|
2007-01-19 17:19:59 +00:00
|
|
|
#undef HAVE_BKTR
|
|
|
|
|
2010-05-07 20:35:17 +00:00
|
|
|
/* Define to 1 if you have the Bluetooth library. */
|
2009-06-30 16:40:38 +00:00
|
|
|
#undef HAVE_BLUETOOTH
|
|
|
|
|
2016-08-12 16:23:18 +00:00
|
|
|
/* Define to 1 if you have the file `bridges/bridge_softmix/include/hrirs.h'.
|
|
|
|
*/
|
|
|
|
#undef HAVE_BRIDGES_BRIDGE_SOFTMIX_INCLUDE_HRIRS_H
|
|
|
|
|
2007-07-23 13:46:57 +00:00
|
|
|
/* Define to 1 if byteswap.h macros are available. */
|
|
|
|
#undef HAVE_BYTESWAP_H
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the POSIX 1.e capabilities library. */
|
2006-09-29 18:54:21 +00:00
|
|
|
#undef HAVE_CAP
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `ceil' function. */
|
2007-09-22 02:07:53 +00:00
|
|
|
#undef HAVE_CEIL
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `ceill' function. */
|
2007-09-22 02:07:53 +00:00
|
|
|
#undef HAVE_CEILL
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if your system has a working `chown' function. */
|
|
|
|
#undef HAVE_CHOWN
|
|
|
|
|
2009-01-12 23:06:12 +00:00
|
|
|
/* Define to 1 if you have the `closefrom' function. */
|
|
|
|
#undef HAVE_CLOSEFROM
|
|
|
|
|
2016-07-19 18:14:21 +00:00
|
|
|
/* Define to 1 if you have the Codec 2 Audio Decoder/Encoder library. */
|
|
|
|
#undef HAVE_CODEC2
|
|
|
|
|
2012-02-05 10:58:37 +00:00
|
|
|
/* Define to 1 if you have the Corosync library. */
|
|
|
|
#undef HAVE_COROSYNC
|
|
|
|
|
2012-04-28 01:20:57 +00:00
|
|
|
/* Define to 1 if COROSYNC has the A callback only in corosync 1.x feature. */
|
|
|
|
#undef HAVE_COROSYNC_CFG_STATE_TRACK
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `cos' function. */
|
2007-09-22 02:07:53 +00:00
|
|
|
#undef HAVE_COS
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `cosl' function. */
|
2007-09-22 02:07:53 +00:00
|
|
|
#undef HAVE_COSL
|
|
|
|
|
build-system: Allow building with static pjproject
Background here:
http://lists.digium.com/pipermail/asterisk-dev/2016-January/075266.html
From CHANGES:
* To help insure that Asterisk is compiled and run with the same known
version of pjproject, a new option (--with-pjproject-bundled) has been
added to ./configure. When specified, the version of pjproject specified
in third-party/versions.mak will be downloaded and configured. When you
make Asterisk, the build process will also automatically build pjproject
and Asterisk will be statically linked to it. Once a particular version
of pjproject is configured and built, it won't be configured or built
again unless you run a 'make distclean'.
To facilitate testing, when 'make install' is run, the pjsua and pjsystest
utilities and the pjproject python bindings will be installed in
ASTDATADIR/third-party/pjproject.
The default behavior remains building with the shared pjproject
installation, if any.
Building:
All you have to do is include the --with-pjproject-bundled option on
the ./configure command line (and remove any existing --with-pjproject
option if specified). Everything else is automatic.
Behind the scenes:
The top-level Makefile was modified to include 'third-party' in the
list of MOD_SUBDIRS.
The third-party directory was created to contain any third party
packages that may be needed in the future. Its Makefile automatically
iterates over any subdirectories passing on targets.
The third-party/pjproject directory was created to house the pjproject
source distribution. Its Makefile contains targets to download, patch
configure, generate dependencies, compile libs, apps and python bindings,
sanitized build.mak and generate a symbols list.
When bootstrap.sh is run, it automatically includes the configure.m4
file in third-party/pjproject. This file has a macro to download and
conifgure pjproject and get and set PJPROJECT_INCLUDE, PJPROJECT_DIR
and PJPROJECT_BUNDLED. It also tests for the capabilities like
PJ_TRANSACTION_GRP_LOCK by parsing preprocessor output as opposed to
trying to compile. Of course, bootstrap.sh is only run once and the
configure file is incldued in the patch.
When configure is run with the new options, the macro in configure.m4
triggers the download, patch, conifgure and tests. No compilation is
performed at this time. The downloaded tarball is cached in /tmp so
it doesn't get downloaded again on a distclean.
When make is run in the top-level Asterisk source directory, it will
automatically descend all the subdirectories in third_party just as it
does for addons, apps, etc. The top-level Makefile makes sure that
the 'third-party' is built before 'main' so that dependencies from the
other directories are built first.
When main does build, a new shared library (libasteriskpj) is created that
links statically to the pjproject .a files and exports all their symbols.
The asterisk binary links to that, just as it does with libasteriskssl.
When Asterisk is installed, the pjsua and pjsystest apps, and the pjproject
python bindings are installed in ASTDATADIR/third-party/pjproject. This
will facilitate testing, including running the testsuite which will be
updated to check that directory for the pjsua module ahead of the system
python library.
Modules should continue to depend on pjproject if they use pjproject APIs
directly. They should not care about the implementation. No changes to any
res_pjsip modules were made.
Change-Id: Ia7a60c28c2e9ba9537c5570f933c1ebcb20a3103
2016-01-19 03:54:28 +00:00
|
|
|
/* Define to 1 if you have the 'crypt' function. */
|
2013-07-03 16:32:00 +00:00
|
|
|
#undef HAVE_CRYPT
|
|
|
|
|
2010-05-07 20:35:17 +00:00
|
|
|
/* Define to 1 if you have the OpenSSL Cryptography library. */
|
2007-05-24 22:07:50 +00:00
|
|
|
#undef HAVE_CRYPTO
|
|
|
|
|
build-system: Allow building with static pjproject
Background here:
http://lists.digium.com/pipermail/asterisk-dev/2016-January/075266.html
From CHANGES:
* To help insure that Asterisk is compiled and run with the same known
version of pjproject, a new option (--with-pjproject-bundled) has been
added to ./configure. When specified, the version of pjproject specified
in third-party/versions.mak will be downloaded and configured. When you
make Asterisk, the build process will also automatically build pjproject
and Asterisk will be statically linked to it. Once a particular version
of pjproject is configured and built, it won't be configured or built
again unless you run a 'make distclean'.
To facilitate testing, when 'make install' is run, the pjsua and pjsystest
utilities and the pjproject python bindings will be installed in
ASTDATADIR/third-party/pjproject.
The default behavior remains building with the shared pjproject
installation, if any.
Building:
All you have to do is include the --with-pjproject-bundled option on
the ./configure command line (and remove any existing --with-pjproject
option if specified). Everything else is automatic.
Behind the scenes:
The top-level Makefile was modified to include 'third-party' in the
list of MOD_SUBDIRS.
The third-party directory was created to contain any third party
packages that may be needed in the future. Its Makefile automatically
iterates over any subdirectories passing on targets.
The third-party/pjproject directory was created to house the pjproject
source distribution. Its Makefile contains targets to download, patch
configure, generate dependencies, compile libs, apps and python bindings,
sanitized build.mak and generate a symbols list.
When bootstrap.sh is run, it automatically includes the configure.m4
file in third-party/pjproject. This file has a macro to download and
conifgure pjproject and get and set PJPROJECT_INCLUDE, PJPROJECT_DIR
and PJPROJECT_BUNDLED. It also tests for the capabilities like
PJ_TRANSACTION_GRP_LOCK by parsing preprocessor output as opposed to
trying to compile. Of course, bootstrap.sh is only run once and the
configure file is incldued in the patch.
When configure is run with the new options, the macro in configure.m4
triggers the download, patch, conifgure and tests. No compilation is
performed at this time. The downloaded tarball is cached in /tmp so
it doesn't get downloaded again on a distclean.
When make is run in the top-level Asterisk source directory, it will
automatically descend all the subdirectories in third_party just as it
does for addons, apps, etc. The top-level Makefile makes sure that
the 'third-party' is built before 'main' so that dependencies from the
other directories are built first.
When main does build, a new shared library (libasteriskpj) is created that
links statically to the pjproject .a files and exports all their symbols.
The asterisk binary links to that, just as it does with libasteriskssl.
When Asterisk is installed, the pjsua and pjsystest apps, and the pjproject
python bindings are installed in ASTDATADIR/third-party/pjproject. This
will facilitate testing, including running the testsuite which will be
updated to check that directory for the pjsua module ahead of the system
python library.
Modules should continue to depend on pjproject if they use pjproject APIs
directly. They should not care about the implementation. No changes to any
res_pjsip modules were made.
Change-Id: Ia7a60c28c2e9ba9537c5570f933c1ebcb20a3103
2016-01-19 03:54:28 +00:00
|
|
|
/* Define to 1 if you have the 'crypt_r' function. */
|
2013-07-03 16:32:00 +00:00
|
|
|
#undef HAVE_CRYPT_R
|
|
|
|
|
2017-03-31 17:09:38 +00:00
|
|
|
/* Define to 1 if you have the <ctype.h> header file. */
|
|
|
|
#undef HAVE_CTYPE_H
|
|
|
|
|
2009-08-27 21:46:46 +00:00
|
|
|
/* Define to 1 if you have a functional curl library. */
|
2006-05-08 16:02:42 +00:00
|
|
|
#undef HAVE_CURL
|
|
|
|
|
2018-01-25 00:49:02 +00:00
|
|
|
/* Define to 1 if your C compiler provides __atomic operations. */
|
|
|
|
#undef HAVE_C_ATOMICS
|
|
|
|
|
2008-06-12 17:27:55 +00:00
|
|
|
/* Define if your system has the DAHDI headers. */
|
|
|
|
#undef HAVE_DAHDI
|
|
|
|
|
2009-04-30 21:42:35 +00:00
|
|
|
/* Define if your system has the DAHDI_ECHOCANCEL_FAX_MODE headers. */
|
|
|
|
#undef HAVE_DAHDI_ECHOCANCEL_FAX_MODE
|
|
|
|
|
2008-12-19 21:44:18 +00:00
|
|
|
/* Define if your system has the DAHDI_HALF_FULL headers. */
|
|
|
|
#undef HAVE_DAHDI_HALF_FULL
|
|
|
|
|
2009-01-22 15:49:24 +00:00
|
|
|
/* Define if your system has the DAHDI_LINEREVERSE_VMWI headers. */
|
|
|
|
#undef HAVE_DAHDI_LINEREVERSE_VMWI
|
|
|
|
|
2010-05-19 17:48:31 +00:00
|
|
|
/* Define DAHDI headers version */
|
|
|
|
#undef HAVE_DAHDI_VERSION
|
|
|
|
|
2022-01-21 16:34:38 +00:00
|
|
|
/* Define to 1 if you have the declaration of `gethostbyname_r', and to 0 if
|
|
|
|
you don't. */
|
|
|
|
#undef HAVE_DECL_GETHOSTBYNAME_R
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
|
|
|
|
*/
|
|
|
|
#undef HAVE_DIRENT_H
|
|
|
|
|
2010-12-18 00:08:13 +00:00
|
|
|
/* Define to 1 if your system has the dladdr() GNU extension */
|
|
|
|
#undef HAVE_DLADDR
|
|
|
|
|
2017-03-31 17:09:38 +00:00
|
|
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
|
|
|
#undef HAVE_DLFCN_H
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
|
|
|
|
#undef HAVE_DOPRNT
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `dup2' function. */
|
|
|
|
#undef HAVE_DUP2
|
|
|
|
|
2009-04-30 17:40:58 +00:00
|
|
|
/* Define to 1 if you have the `eaccess' function. */
|
|
|
|
#undef HAVE_EACCESS
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the `endpwent' function. */
|
|
|
|
#undef HAVE_ENDPWENT
|
|
|
|
|
2017-03-31 17:09:38 +00:00
|
|
|
/* Define to 1 if you have the <errno.h> header file. */
|
|
|
|
#undef HAVE_ERRNO_H
|
|
|
|
|
2009-04-30 17:40:58 +00:00
|
|
|
/* Define to 1 if you have the `euidaccess' function. */
|
|
|
|
#undef HAVE_EUIDACCESS
|
|
|
|
|
2017-04-18 00:06:10 +00:00
|
|
|
/* Define to 1 if your system supports eventfd and the EFD_NONBLOCK and
|
|
|
|
EFD_SEMAPHORE flags. */
|
|
|
|
#undef HAVE_EVENTFD
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `exp' function. */
|
2007-09-22 02:07:53 +00:00
|
|
|
#undef HAVE_EXP
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `exp10' function. */
|
2007-07-08 21:01:28 +00:00
|
|
|
#undef HAVE_EXP10
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `exp10l' function. */
|
2007-07-08 21:01:28 +00:00
|
|
|
#undef HAVE_EXP10L
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `exp2' function. */
|
2007-07-07 16:44:57 +00:00
|
|
|
#undef HAVE_EXP2
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `exp2l' function. */
|
2007-07-08 21:01:28 +00:00
|
|
|
#undef HAVE_EXP2L
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `expl' function. */
|
2007-09-22 02:07:53 +00:00
|
|
|
#undef HAVE_EXPL
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the <fcntl.h> header file. */
|
|
|
|
#undef HAVE_FCNTL_H
|
|
|
|
|
2010-05-07 20:35:17 +00:00
|
|
|
/* Define to 1 if you have the Ffmpeg and avcodec library. */
|
2007-11-17 01:49:26 +00:00
|
|
|
#undef HAVE_FFMPEG
|
|
|
|
|
2009-12-02 03:26:16 +00:00
|
|
|
/* Define to 1 if you have the `ffsll' function. */
|
|
|
|
#undef HAVE_FFSLL
|
|
|
|
|
2016-08-12 16:22:40 +00:00
|
|
|
/* Define to 1 if you have the LIBFFTW3 library. */
|
|
|
|
#undef HAVE_FFTW3
|
|
|
|
|
2017-03-31 17:09:38 +00:00
|
|
|
/* Define to 1 if you have the <float.h> header file. */
|
|
|
|
#undef HAVE_FLOAT_H
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `floor' function. */
|
2006-05-08 16:02:42 +00:00
|
|
|
#undef HAVE_FLOOR
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `floorl' function. */
|
2007-09-22 02:07:53 +00:00
|
|
|
#undef HAVE_FLOORL
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `fmod' function. */
|
2007-09-22 02:07:53 +00:00
|
|
|
#undef HAVE_FMOD
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `fmodl' function. */
|
2007-09-22 02:07:53 +00:00
|
|
|
#undef HAVE_FMODL
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the `fork' function. */
|
|
|
|
#undef HAVE_FORK
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the FreeTDS library. */
|
2006-05-08 16:02:42 +00:00
|
|
|
#undef HAVE_FREETDS
|
|
|
|
|
|
|
|
/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
|
|
|
|
#undef HAVE_FSEEKO
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `ftruncate' function. */
|
|
|
|
#undef HAVE_FTRUNCATE
|
|
|
|
|
2018-01-25 00:49:02 +00:00
|
|
|
/* Define to 1 if your GCC C compiler provides __sync atomic operations. */
|
2006-06-13 21:35:29 +00:00
|
|
|
#undef HAVE_GCC_ATOMICS
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the `getcwd' function. */
|
|
|
|
#undef HAVE_GETCWD
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `gethostbyname' function. */
|
|
|
|
#undef HAVE_GETHOSTBYNAME
|
|
|
|
|
2007-08-01 17:27:09 +00:00
|
|
|
/* Define to 1 if your system has gethostbyname_r with 5 arguments. */
|
|
|
|
#undef HAVE_GETHOSTBYNAME_R_5
|
|
|
|
|
|
|
|
/* Define to 1 if your system has gethostbyname_r with 6 arguments. */
|
|
|
|
#undef HAVE_GETHOSTBYNAME_R_6
|
2006-10-22 19:34:30 +00:00
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the `gethostname' function. */
|
|
|
|
#undef HAVE_GETHOSTNAME
|
|
|
|
|
2008-02-01 19:44:39 +00:00
|
|
|
/* Define if your system has the GETIFADDRS headers. */
|
2008-02-01 16:01:22 +00:00
|
|
|
#undef HAVE_GETIFADDRS
|
|
|
|
|
2006-09-15 17:16:00 +00:00
|
|
|
/* Define to 1 if you have the `getloadavg' function. */
|
|
|
|
#undef HAVE_GETLOADAVG
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the `getpagesize' function. */
|
|
|
|
#undef HAVE_GETPAGESIZE
|
|
|
|
|
2008-12-01 18:52:14 +00:00
|
|
|
/* Define to 1 if you have the `getpeereid' function. */
|
|
|
|
#undef HAVE_GETPEEREID
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the `gettimeofday' function. */
|
|
|
|
#undef HAVE_GETTIMEOFDAY
|
|
|
|
|
2007-11-17 00:31:32 +00:00
|
|
|
/* Define to 1 if you have the `glob' function. */
|
|
|
|
#undef HAVE_GLOB
|
|
|
|
|
2009-04-21 14:28:04 +00:00
|
|
|
/* Define if your system has the GLOB_BRACE headers. */
|
|
|
|
#undef HAVE_GLOB_BRACE
|
|
|
|
|
|
|
|
/* Define if your system has the GLOB_NOMAGIC headers. */
|
|
|
|
#undef HAVE_GLOB_NOMAGIC
|
|
|
|
|
2013-05-15 12:42:04 +00:00
|
|
|
/* Define if your system has the GMIME libraries. */
|
2008-03-17 22:10:06 +00:00
|
|
|
#undef HAVE_GMIME
|
|
|
|
|
2017-03-31 17:09:38 +00:00
|
|
|
/* Define to 1 if you have the <grp.h> header file. */
|
|
|
|
#undef HAVE_GRP_H
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to indicate the GSM library */
|
|
|
|
#undef HAVE_GSM
|
|
|
|
|
2007-01-30 23:27:16 +00:00
|
|
|
/* Define to indicate that gsm.h is in gsm/gsm.h */
|
|
|
|
#undef HAVE_GSM_GSM_HEADER
|
|
|
|
|
|
|
|
/* Define to indicate that gsm.h has no prefix for its location */
|
|
|
|
#undef HAVE_GSM_HEADER
|
|
|
|
|
2013-05-15 12:42:04 +00:00
|
|
|
/* Define if your system has the GTK2 libraries. */
|
2007-03-15 23:56:10 +00:00
|
|
|
#undef HAVE_GTK2
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the Hoard Memory Allocator library. */
|
2008-08-03 16:14:14 +00:00
|
|
|
#undef HAVE_HOARD
|
|
|
|
|
2015-01-26 14:50:40 +00:00
|
|
|
/* Define to 1 if arpa/inet.h includes a htonll definition. */
|
2009-11-04 14:05:12 +00:00
|
|
|
#undef HAVE_HTONLL
|
|
|
|
|
2010-05-07 20:35:17 +00:00
|
|
|
/* Define to 1 if you have the iCal library. */
|
2009-05-28 19:57:18 +00:00
|
|
|
#undef HAVE_ICAL
|
|
|
|
|
2010-05-07 20:35:17 +00:00
|
|
|
/* Define to 1 if you have the Iconv library. */
|
2008-01-01 22:08:32 +00:00
|
|
|
#undef HAVE_ICONV
|
|
|
|
|
2010-05-07 20:35:17 +00:00
|
|
|
/* Define to 1 if you have the Iksemel Jabber library. */
|
2006-05-22 21:12:30 +00:00
|
|
|
#undef HAVE_IKSEMEL
|
|
|
|
|
2013-05-15 12:42:04 +00:00
|
|
|
/* Define if your system has the ILBC libraries. */
|
2012-07-23 21:27:56 +00:00
|
|
|
#undef HAVE_ILBC
|
|
|
|
|
2006-07-07 02:20:04 +00:00
|
|
|
/* Define if your system has the UW IMAP Toolkit c-client library. */
|
|
|
|
#undef HAVE_IMAP_TK
|
|
|
|
|
2006-08-17 22:52:07 +00:00
|
|
|
/* Define if your system has the UW IMAP Toolkit c-client library version 2006
|
|
|
|
or greater. */
|
|
|
|
#undef HAVE_IMAP_TK2006
|
|
|
|
|
2007-11-17 14:11:53 +00:00
|
|
|
/* Define to 1 if you have the `inet_aton' function. */
|
|
|
|
#undef HAVE_INET_ATON
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the `inet_ntoa' function. */
|
|
|
|
#undef HAVE_INET_NTOA
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the inotify support library. */
|
2009-02-25 19:24:44 +00:00
|
|
|
#undef HAVE_INOTIFY
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
|
|
#undef HAVE_INTTYPES_H
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the iODBC library. */
|
2008-10-06 23:14:33 +00:00
|
|
|
#undef HAVE_IODBC
|
|
|
|
|
2008-11-25 05:02:11 +00:00
|
|
|
/* Define to 1 if you have the `ioperm' function. */
|
|
|
|
#undef HAVE_IOPERM
|
|
|
|
|
2006-10-13 15:47:42 +00:00
|
|
|
/* Define if your system has the IP_MTU_DISCOVER headers. */
|
|
|
|
#undef HAVE_IP_MTU_DISCOVER
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the `isascii' function. */
|
|
|
|
#undef HAVE_ISASCII
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the Jack Audio Connection Kit library. */
|
2008-01-13 18:08:50 +00:00
|
|
|
#undef HAVE_JACK
|
|
|
|
|
2018-07-28 12:39:40 +00:00
|
|
|
/* Define if your system has the JANSSON libraries. */
|
2013-01-11 22:31:42 +00:00
|
|
|
#undef HAVE_JANSSON
|
|
|
|
|
2018-07-17 03:55:02 +00:00
|
|
|
/* Define if your system has JANSSON_BUNDLED */
|
|
|
|
#undef HAVE_JANSSON_BUNDLED
|
|
|
|
|
2010-05-13 05:37:31 +00:00
|
|
|
/* Define to 1 if you have the `kevent64' function. */
|
|
|
|
#undef HAVE_KEVENT64
|
|
|
|
|
|
|
|
/* Define to 1 if you have the kqueue support library. */
|
|
|
|
#undef HAVE_KQUEUE
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the OpenLDAP library. */
|
2008-01-22 22:33:20 +00:00
|
|
|
#undef HAVE_LDAP
|
|
|
|
|
2013-05-15 12:42:04 +00:00
|
|
|
/* Define if your system has the LIBEDIT libraries. */
|
2012-07-25 12:21:54 +00:00
|
|
|
#undef HAVE_LIBEDIT
|
|
|
|
|
2016-11-14 18:16:03 +00:00
|
|
|
/* Define if your system has the LIBEDIT_IS_UNICODE headers. */
|
|
|
|
#undef HAVE_LIBEDIT_IS_UNICODE
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the <libintl.h> header file. */
|
|
|
|
#undef HAVE_LIBINTL_H
|
|
|
|
|
2023-09-21 17:12:31 +00:00
|
|
|
/* Define if your system has the LIBJWT libraries. */
|
|
|
|
#undef HAVE_LIBJWT
|
|
|
|
|
|
|
|
/* Define if your system has LIBJWT_BUNDLED */
|
|
|
|
#undef HAVE_LIBJWT_BUNDLED
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `m' library (-lm). */
|
|
|
|
#undef HAVE_LIBM
|
|
|
|
|
2008-11-01 21:10:07 +00:00
|
|
|
/* Define if your system has the LIBXML2 libraries. */
|
|
|
|
#undef HAVE_LIBXML2
|
|
|
|
|
2013-08-01 17:07:52 +00:00
|
|
|
/* Define to 1 if you have the LibXSLT library. */
|
|
|
|
#undef HAVE_LIBXSLT
|
|
|
|
|
2013-10-03 18:00:15 +00:00
|
|
|
/* Define to 1 if LIBXSLT has the LibXSLT Library Cleanup Function feature. */
|
|
|
|
#undef HAVE_LIBXSLT_CLEANUP
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the <limits.h> header file. */
|
|
|
|
#undef HAVE_LIMITS_H
|
|
|
|
|
2007-07-11 17:06:54 +00:00
|
|
|
/* Define to 1 if your system has linux/compiler.h. */
|
|
|
|
#undef HAVE_LINUX_COMPILER_H
|
|
|
|
|
2010-07-15 19:46:57 +00:00
|
|
|
/* Define to 1 if limits.h includes a LLONG_MAX definition. */
|
|
|
|
#undef HAVE_LLONG_MAX
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the <locale.h> header file. */
|
|
|
|
#undef HAVE_LOCALE_H
|
|
|
|
|
2010-06-08 22:45:16 +00:00
|
|
|
/* Define to 1 if your system defines the locale_t type in locale.h */
|
|
|
|
#undef HAVE_LOCALE_T_IN_LOCALE_H
|
|
|
|
|
|
|
|
/* Define to 1 if your system defines the locale_t type in xlocale.h */
|
|
|
|
#undef HAVE_LOCALE_T_IN_XLOCALE_H
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `log' function. */
|
2007-09-22 02:07:53 +00:00
|
|
|
#undef HAVE_LOG
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `log10' function. */
|
2007-07-08 21:01:28 +00:00
|
|
|
#undef HAVE_LOG10
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `log10l' function. */
|
2007-07-08 21:01:28 +00:00
|
|
|
#undef HAVE_LOG10L
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `log2' function. */
|
2007-07-07 16:44:57 +00:00
|
|
|
#undef HAVE_LOG2
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `log2l' function. */
|
2007-07-08 21:01:28 +00:00
|
|
|
#undef HAVE_LOG2L
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `logl' function. */
|
2007-09-22 02:07:53 +00:00
|
|
|
#undef HAVE_LOGL
|
|
|
|
|
2009-09-16 23:15:43 +00:00
|
|
|
/* Define to 1 if the type `long double' works and has more range or precision
|
|
|
|
than `double'. */
|
|
|
|
#undef HAVE_LONG_DOUBLE_WIDER
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the Lua library. */
|
2007-11-02 15:36:34 +00:00
|
|
|
#undef HAVE_LUA
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the <malloc.h> header file. */
|
|
|
|
#undef HAVE_MALLOC_H
|
|
|
|
|
2018-12-03 20:01:01 +00:00
|
|
|
/* Define to 1 if you have the `malloc_trim' function. */
|
|
|
|
#undef HAVE_MALLOC_TRIM
|
|
|
|
|
2017-03-31 17:09:38 +00:00
|
|
|
/* Define to 1 if you have the <math.h> header file. */
|
|
|
|
#undef HAVE_MATH_H
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the `memchr' function. */
|
|
|
|
#undef HAVE_MEMCHR
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `memmove' function. */
|
|
|
|
#undef HAVE_MEMMOVE
|
|
|
|
|
2023-01-20 22:50:44 +00:00
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
|
|
|
#undef HAVE_MEMORY_H
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the `memset' function. */
|
|
|
|
#undef HAVE_MEMSET
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `mkdir' function. */
|
|
|
|
#undef HAVE_MKDIR
|
|
|
|
|
2010-09-28 18:20:20 +00:00
|
|
|
/* Define to 1 if you have the `mkdtemp' function. */
|
|
|
|
#undef HAVE_MKDTEMP
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have a working `mmap' system call. */
|
|
|
|
#undef HAVE_MMAP
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `munmap' function. */
|
|
|
|
#undef HAVE_MUNMAP
|
|
|
|
|
2009-06-30 16:40:38 +00:00
|
|
|
/* Define if your system has the MYSQLCLIENT libraries. */
|
|
|
|
#undef HAVE_MYSQLCLIENT
|
|
|
|
|
2019-12-16 12:35:31 +00:00
|
|
|
/* Define to 1 if mysql/mysql.h has bool defined. */
|
|
|
|
#undef HAVE_MYSQLCLIENT_BOOL
|
|
|
|
|
|
|
|
/* Define to 1 if mysql/mysql.h has my_bool defined. */
|
|
|
|
#undef HAVE_MYSQLCLIENT_MY_BOOL
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
|
|
|
|
#undef HAVE_NDIR_H
|
|
|
|
|
2009-05-28 19:57:18 +00:00
|
|
|
/* Define if your system has the NEON libraries. */
|
|
|
|
#undef HAVE_NEON
|
|
|
|
|
2010-05-26 05:33:11 +00:00
|
|
|
/* Define if your system has the NEON29 libraries. */
|
|
|
|
#undef HAVE_NEON29
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the <netdb.h> header file. */
|
|
|
|
#undef HAVE_NETDB_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <netinet/in.h> header file. */
|
|
|
|
#undef HAVE_NETINET_IN_H
|
|
|
|
|
2008-01-16 23:08:11 +00:00
|
|
|
/* Define if your system has the NETSNMP libraries. */
|
2006-06-24 19:43:31 +00:00
|
|
|
#undef HAVE_NETSNMP
|
|
|
|
|
2010-06-01 21:28:19 +00:00
|
|
|
/* Define to 1 if you have the `newlocale' function. */
|
|
|
|
#undef HAVE_NEWLOCALE
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the newt library. */
|
2006-05-08 16:02:42 +00:00
|
|
|
#undef HAVE_NEWT
|
|
|
|
|
2015-01-26 14:50:40 +00:00
|
|
|
/* Define to 1 if arpa/inet.h includes a ntohll definition. */
|
2009-11-04 14:05:12 +00:00
|
|
|
#undef HAVE_NTOHLL
|
|
|
|
|
2010-02-10 16:01:28 +00:00
|
|
|
/* Define to 1 if your C library can safely print NULL to string formats. */
|
|
|
|
#undef HAVE_NULLSAFE_PRINTF
|
|
|
|
|
2009-09-10 18:17:14 +00:00
|
|
|
/* Define to 1 if your ODBC library has wide (Unicode) types. */
|
|
|
|
#undef HAVE_ODBC_WCHAR
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the OGG library. */
|
2006-05-08 16:02:42 +00:00
|
|
|
#undef HAVE_OGG
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the MFR2 library. */
|
Add MFC/R2 support for chan_dahdi.
This commit introduces official support for R2 signaling in chan_dahdi. The
modifications to chan_dahdi, and the supporting library, LibOpenR2, were both
written by Moises Silva.
Many users are using this code, or a variant of it, in Asterisk 1.2, 1.4 and 1.6
in Brazil, México and Argentina. An unknown number of users (but at least 1)
are using it in each of the following countries: Colombia, Nepal, Thailand,
Venezuela, Perú, and probably others.
To use this code, LibOpenR2 must be installed from http://www.libopenr2.org/.
Information about configuration can be found in configs/chan_dahdi.conf.sample.
The code committed is the most up to date version, which was being maintained
in svn/asterisk/team/moy/mfcr2/.
I would also like to include a Thank You to the many others that tested this
code beyond those listed in this commit message. These are the names that I
could find in the mantis issue.
(closes issue #12509)
Reported by: moy
Patches:
chan_zap-mfr2.patch uploaded by moy (license 222)
Tested by: moy, korihor, viniciusfontes, Skarmeth, loloski, asbestoshead, titogarrido, heliocoelhojr, konsultex, ncorrare, ecarruda, rtorresduque, PTorres, ychen
Review: http://reviewboard.digium.com/r/40/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@182355 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-03-16 20:35:58 +00:00
|
|
|
#undef HAVE_OPENR2
|
|
|
|
|
BuildSystem: Check for alternate openssl packages
OpenSSL is one of those packages that often have alternatives
with later versions. For instance, CentOS/EL 7 has an
openssl package at version 1.0.2 but there's an openssl11
package from the epel repository that has 1.1.1. This gets
installed to /usr/include/openssl11 and /usr/lib64/openssl11.
Unfortunately, the existing --with-ssl and --with-crypto
./configure options expect to point to a source tree and
don't work in this situation. Also unfortunately, the
checks in ./configure don't use pkg-config.
In order to make this work with the existing situation, you'd
have to run...
./configure --with-ssl=/usr/lib64/openssl11 \
--with-crypto=/usr/lib64/openssl11 \
CFLAGS=-I/usr/include/openssl11
BUT... those options don't get passed down to bundled pjproject
so when you run make, you have to include the CFLAGS again
which is a big pain.
Oh... To make matters worse, although you can specify
PJPROJECT_CONFIGURE_OPTS on the ./configure command line,
they don't get saved so if you do a make clean, which will
force a re-configure of bundled pjproject, those options
don't get used.
So...
* In configure.ac... Since pkg-config is installed by install_prereq
anyway, we now use it to check for the system openssl >= 1.1.0.
If that works, great. If not, we check for the openssl11
package. If that works, great. If not, we fall back to just
checking for any openssl. If pkg-config isn't installed for some
reason, or --with-ssl=<dir> or --with-crypto=<dir> were specified
on the ./configure command line, we fall back to the existing
logic that uses AST_EXT_LIB_CHECK().
* The whole OpenSSL check process has been moved up before
THIRD_PARTY_CONFIGURE(), which does the initial pjproject
bundled configure, is run. This way the results of the above
checks, which may result in new include or library directories,
is included.
* Although not strictly needed for openssl, We now save the value of
PJPROJECT_CONFIGURE_OPTS in the makeopts file so it can be used
again if a re-configure is triggered.
ASTERISK-29693
Change-Id: I341ab7603e6b156aa15a66f43675ac5029d5fbde
2021-10-19 16:35:26 +00:00
|
|
|
/* Define if your system has the OPENSSL libraries. */
|
2006-05-08 16:02:42 +00:00
|
|
|
#undef HAVE_OPENSSL
|
|
|
|
|
2019-06-11 12:26:42 +00:00
|
|
|
/* Define to 1 if CRYPTO has the OpenSSL BIO Method Support feature. */
|
|
|
|
#undef HAVE_OPENSSL_BIO_METHOD
|
|
|
|
|
2014-10-27 17:55:43 +00:00
|
|
|
/* Define to 1 if you have the Opus library. */
|
|
|
|
#undef HAVE_OPUS
|
|
|
|
|
2017-11-06 09:21:12 +00:00
|
|
|
/* Define to 1 if you have the Opusfile library. */
|
|
|
|
#undef HAVE_OPUSFILE
|
|
|
|
|
2010-05-13 05:37:31 +00:00
|
|
|
/* Define to 1 if your system defines the file flag O_EVTONLY in fcntl.h */
|
|
|
|
#undef HAVE_O_EVTONLY
|
|
|
|
|
|
|
|
/* Define to 1 if your system defines the file flag O_SYMLINK in fcntl.h */
|
|
|
|
#undef HAVE_O_SYMLINK
|
|
|
|
|
2019-04-02 20:49:52 +00:00
|
|
|
/* Define to support libc with permanent dlopen. */
|
|
|
|
#undef HAVE_PERMANENT_DLOPEN
|
|
|
|
|
2006-07-05 19:59:34 +00:00
|
|
|
/* Define to indicate the PostgreSQL library */
|
|
|
|
#undef HAVE_PGSQL
|
|
|
|
|
2010-09-24 03:41:02 +00:00
|
|
|
/* Define to indicate presence of the pg_encoding_to_char API. */
|
|
|
|
#undef HAVE_PGSQL_pg_encoding_to_char
|
|
|
|
|
2018-12-07 12:57:48 +00:00
|
|
|
/* Define to 1 if you have the `pipe2' function. */
|
|
|
|
#undef HAVE_PIPE2
|
|
|
|
|
2013-05-15 12:42:04 +00:00
|
|
|
/* Define if your system has the PJPROJECT libraries. */
|
2013-03-12 19:08:59 +00:00
|
|
|
#undef HAVE_PJPROJECT
|
|
|
|
|
build-system: Allow building with static pjproject
Background here:
http://lists.digium.com/pipermail/asterisk-dev/2016-January/075266.html
From CHANGES:
* To help insure that Asterisk is compiled and run with the same known
version of pjproject, a new option (--with-pjproject-bundled) has been
added to ./configure. When specified, the version of pjproject specified
in third-party/versions.mak will be downloaded and configured. When you
make Asterisk, the build process will also automatically build pjproject
and Asterisk will be statically linked to it. Once a particular version
of pjproject is configured and built, it won't be configured or built
again unless you run a 'make distclean'.
To facilitate testing, when 'make install' is run, the pjsua and pjsystest
utilities and the pjproject python bindings will be installed in
ASTDATADIR/third-party/pjproject.
The default behavior remains building with the shared pjproject
installation, if any.
Building:
All you have to do is include the --with-pjproject-bundled option on
the ./configure command line (and remove any existing --with-pjproject
option if specified). Everything else is automatic.
Behind the scenes:
The top-level Makefile was modified to include 'third-party' in the
list of MOD_SUBDIRS.
The third-party directory was created to contain any third party
packages that may be needed in the future. Its Makefile automatically
iterates over any subdirectories passing on targets.
The third-party/pjproject directory was created to house the pjproject
source distribution. Its Makefile contains targets to download, patch
configure, generate dependencies, compile libs, apps and python bindings,
sanitized build.mak and generate a symbols list.
When bootstrap.sh is run, it automatically includes the configure.m4
file in third-party/pjproject. This file has a macro to download and
conifgure pjproject and get and set PJPROJECT_INCLUDE, PJPROJECT_DIR
and PJPROJECT_BUNDLED. It also tests for the capabilities like
PJ_TRANSACTION_GRP_LOCK by parsing preprocessor output as opposed to
trying to compile. Of course, bootstrap.sh is only run once and the
configure file is incldued in the patch.
When configure is run with the new options, the macro in configure.m4
triggers the download, patch, conifgure and tests. No compilation is
performed at this time. The downloaded tarball is cached in /tmp so
it doesn't get downloaded again on a distclean.
When make is run in the top-level Asterisk source directory, it will
automatically descend all the subdirectories in third_party just as it
does for addons, apps, etc. The top-level Makefile makes sure that
the 'third-party' is built before 'main' so that dependencies from the
other directories are built first.
When main does build, a new shared library (libasteriskpj) is created that
links statically to the pjproject .a files and exports all their symbols.
The asterisk binary links to that, just as it does with libasteriskssl.
When Asterisk is installed, the pjsua and pjsystest apps, and the pjproject
python bindings are installed in ASTDATADIR/third-party/pjproject. This
will facilitate testing, including running the testsuite which will be
updated to check that directory for the pjsua module ahead of the system
python library.
Modules should continue to depend on pjproject if they use pjproject APIs
directly. They should not care about the implementation. No changes to any
res_pjsip modules were made.
Change-Id: Ia7a60c28c2e9ba9537c5570f933c1ebcb20a3103
2016-01-19 03:54:28 +00:00
|
|
|
/* Define if your system has PJPROJECT_BUNDLED */
|
|
|
|
#undef HAVE_PJPROJECT_BUNDLED
|
|
|
|
|
2021-11-30 22:35:27 +00:00
|
|
|
/* Define if doing a bundled pjproject out-of-tree build. */
|
|
|
|
#undef HAVE_PJPROJECT_BUNDLED_OOT
|
|
|
|
|
2020-01-23 19:17:06 +00:00
|
|
|
/* Define to 1 if on_valid_pair callback is present. */
|
|
|
|
#undef HAVE_PJPROJECT_ON_VALID_ICE_PAIR_CALLBACK
|
|
|
|
|
2016-11-14 20:36:52 +00:00
|
|
|
/* Define to 1 if PJPROJECT has the pjsip_auth_clt_deinit support feature. */
|
|
|
|
#undef HAVE_PJSIP_AUTH_CLT_DEINIT
|
|
|
|
|
2016-10-03 16:30:43 +00:00
|
|
|
/* Define to 1 if PJPROJECT has the PJSIP Dialog Create UAS with Incremented
|
|
|
|
Lock feature. */
|
2016-02-10 22:16:46 +00:00
|
|
|
#undef HAVE_PJSIP_DLG_CREATE_UAS_AND_INC_LOCK
|
|
|
|
|
2018-09-17 16:38:19 +00:00
|
|
|
/* Define if your system has the PJSIP_ENDPOINT_COMPACT_FORM headers. */
|
|
|
|
#undef HAVE_PJSIP_ENDPOINT_COMPACT_FORM
|
|
|
|
|
2016-10-03 16:30:43 +00:00
|
|
|
/* Define to 1 if PJPROJECT has the PJSIP EVSUB Group Lock support feature. */
|
2016-06-12 16:19:27 +00:00
|
|
|
#undef HAVE_PJSIP_EVSUB_GRP_LOCK
|
|
|
|
|
2016-10-03 16:30:43 +00:00
|
|
|
/* Define to 1 if PJPROJECT has the PJSIP External Resolver Support feature.
|
|
|
|
*/
|
2015-04-13 13:47:01 +00:00
|
|
|
#undef HAVE_PJSIP_EXTERNAL_RESOLVER
|
|
|
|
|
2016-10-03 16:30:43 +00:00
|
|
|
/* Define to 1 if PJPROJECT has the pjsip_get_dest_info support feature. */
|
2015-01-13 12:09:45 +00:00
|
|
|
#undef HAVE_PJSIP_GET_DEST_INFO
|
|
|
|
|
2018-06-19 02:22:17 +00:00
|
|
|
/* Define if your system has the PJSIP_INV_ACCEPT_MULTIPLE_SDP_ANSWERS
|
|
|
|
headers. */
|
|
|
|
#undef HAVE_PJSIP_INV_ACCEPT_MULTIPLE_SDP_ANSWERS
|
|
|
|
|
2016-10-03 16:30:43 +00:00
|
|
|
/* Define to 1 if PJPROJECT has the PJSIP INVITE Session Reference Count
|
|
|
|
support feature. */
|
2016-08-18 19:45:59 +00:00
|
|
|
#undef HAVE_PJSIP_INV_SESSION_REF
|
|
|
|
|
2018-07-18 12:45:26 +00:00
|
|
|
/* Define if your system has the PJSIP_OAUTH_AUTHENTICATION headers. */
|
|
|
|
#undef HAVE_PJSIP_OAUTH_AUTHENTICATION
|
|
|
|
|
2013-12-03 18:01:36 +00:00
|
|
|
/* Define if your system has the PJSIP_REPLACE_MEDIA_STREAM headers. */
|
|
|
|
#undef HAVE_PJSIP_REPLACE_MEDIA_STREAM
|
|
|
|
|
2023-08-02 13:56:49 +00:00
|
|
|
/* Define if your system has the PJSIP_TLS_1_1 headers. */
|
|
|
|
#undef HAVE_PJSIP_TLS_1_1
|
|
|
|
|
|
|
|
/* Define if your system has the PJSIP_TLS_1_2 headers. */
|
|
|
|
#undef HAVE_PJSIP_TLS_1_2
|
|
|
|
|
|
|
|
/* Define if your system has the PJSIP_TLS_1_3 headers. */
|
|
|
|
#undef HAVE_PJSIP_TLS_1_3
|
|
|
|
|
2016-03-14 13:59:10 +00:00
|
|
|
/* Define if your system has the PJSIP_TLS_TRANSPORT_PROTO headers. */
|
|
|
|
#undef HAVE_PJSIP_TLS_TRANSPORT_PROTO
|
|
|
|
|
2022-08-19 13:24:33 +00:00
|
|
|
/* Define to 1 if PJPROJECT has the PJSIP TLS Transport Restart Support
|
|
|
|
feature. */
|
|
|
|
#undef HAVE_PJSIP_TLS_TRANSPORT_RESTART
|
|
|
|
|
2018-07-18 12:45:26 +00:00
|
|
|
/* Define if your system has the PJSIP_TRANSPORT_DISABLE_CONNECTION_REUSE
|
|
|
|
headers. */
|
|
|
|
#undef HAVE_PJSIP_TRANSPORT_DISABLE_CONNECTION_REUSE
|
|
|
|
|
2017-04-04 21:20:22 +00:00
|
|
|
/* Define to 1 if PJPROJECT has the pjsip_tsx_layer_find_tsx2 support feature.
|
|
|
|
*/
|
|
|
|
#undef HAVE_PJSIP_TSX_LAYER_FIND_TSX2
|
|
|
|
|
2016-10-03 16:30:43 +00:00
|
|
|
/* Define to 1 if PJPROJECT has the pj_ssl_cert_load_from_files2 support
|
|
|
|
feature. */
|
2015-01-16 21:46:09 +00:00
|
|
|
#undef HAVE_PJ_SSL_CERT_LOAD_FROM_FILES2
|
|
|
|
|
2016-10-03 16:30:43 +00:00
|
|
|
/* Define to 1 if PJPROJECT has the PJSIP Transaction Group Lock Support
|
|
|
|
feature. */
|
2013-11-16 13:51:04 +00:00
|
|
|
#undef HAVE_PJ_TRANSACTION_GRP_LOCK
|
|
|
|
|
2007-11-06 15:01:56 +00:00
|
|
|
/* Define to 1 if your system defines IP_PKTINFO. */
|
|
|
|
#undef HAVE_PKTINFO
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the popt library. */
|
2006-05-08 16:02:42 +00:00
|
|
|
#undef HAVE_POPT
|
|
|
|
|
2018-03-06 12:28:15 +00:00
|
|
|
/* Define if your system has the PORTAUDIO libraries. */
|
2007-12-31 15:21:15 +00:00
|
|
|
#undef HAVE_PORTAUDIO
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `pow' function. */
|
2006-05-08 16:02:42 +00:00
|
|
|
#undef HAVE_POW
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `powl' function. */
|
2007-09-22 02:07:53 +00:00
|
|
|
#undef HAVE_POWL
|
|
|
|
|
2010-09-02 05:02:54 +00:00
|
|
|
/* Define to 1 if you have the `ppoll' function. */
|
|
|
|
#undef HAVE_PPOLL
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the ISDN PRI library. */
|
2006-07-05 19:59:34 +00:00
|
|
|
#undef HAVE_PRI
|
2006-05-08 16:02:42 +00:00
|
|
|
|
2011-10-06 23:06:43 +00:00
|
|
|
/* Define to 1 if PRI has the ISDN PRI advice of charge supplementary service
|
|
|
|
events feature. */
|
|
|
|
#undef HAVE_PRI_AOC_EVENTS
|
|
|
|
|
|
|
|
/* Define to 1 if PRI has the ISDN PRI call hold feature. */
|
|
|
|
#undef HAVE_PRI_CALL_HOLD
|
|
|
|
|
|
|
|
/* Define to 1 if PRI has the ISDN PRI call rerouting and call deflection
|
|
|
|
feature. */
|
|
|
|
#undef HAVE_PRI_CALL_REROUTING
|
|
|
|
|
|
|
|
/* Define to 1 if PRI has the ISDN PRI call waiting supplementary service
|
|
|
|
feature. */
|
|
|
|
#undef HAVE_PRI_CALL_WAITING
|
|
|
|
|
|
|
|
/* Define to 1 if PRI has the ISDN PRI call completion supplementary service
|
|
|
|
feature. */
|
|
|
|
#undef HAVE_PRI_CCSS
|
|
|
|
|
|
|
|
/* Define to 1 if PRI has the ISDN PRI Date/time ie send policy feature. */
|
|
|
|
#undef HAVE_PRI_DATETIME_SEND
|
|
|
|
|
|
|
|
/* Define to 1 if PRI has the ISDN PRI user display text IE contents during
|
|
|
|
call feature. */
|
|
|
|
#undef HAVE_PRI_DISPLAY_TEXT
|
|
|
|
|
|
|
|
/* Define to 1 if PRI has the ISDN PRI hangup fix feature. */
|
|
|
|
#undef HAVE_PRI_HANGUP_FIX
|
|
|
|
|
|
|
|
/* Define to 1 if PRI has the ISDN PRI set_inbanddisconnect feature. */
|
|
|
|
#undef HAVE_PRI_INBANDDISCONNECT
|
|
|
|
|
|
|
|
/* Define to 1 if PRI has the ISDN Layer 2 persistence option feature. */
|
|
|
|
#undef HAVE_PRI_L2_PERSISTENCE
|
|
|
|
|
|
|
|
/* Define to 1 if PRI has the ISDN PRI Malicious Call ID feature. */
|
|
|
|
#undef HAVE_PRI_MCID
|
|
|
|
|
|
|
|
/* Define to 1 if PRI has the ISDN PRI Message Waiting Indication feature. */
|
|
|
|
#undef HAVE_PRI_MWI
|
|
|
|
|
|
|
|
/* Define to 1 if PRI has the ISDN PRI Message Waiting Indication (Fixed)
|
|
|
|
feature. */
|
|
|
|
#undef HAVE_PRI_MWI_V2
|
|
|
|
|
|
|
|
/* Define to 1 if PRI has the ISDN progress with cause feature. */
|
|
|
|
#undef HAVE_PRI_PROG_W_CAUSE
|
|
|
|
|
|
|
|
/* Define to 1 if PRI has the ISDN reverse charge feature. */
|
|
|
|
#undef HAVE_PRI_REVERSE_CHARGE
|
|
|
|
|
|
|
|
/* Define to 1 if PRI has the ISDN service messages feature. */
|
|
|
|
#undef HAVE_PRI_SERVICE_MESSAGES
|
|
|
|
|
2014-05-13 00:35:31 +00:00
|
|
|
/* Define to 1 if PRI has the ISDN PRI progress inband ie in SETUP ACK
|
|
|
|
feature. */
|
|
|
|
#undef HAVE_PRI_SETUP_ACK_INBAND
|
|
|
|
|
2011-10-06 23:06:43 +00:00
|
|
|
/* Define to 1 if PRI has the ISDN PRI keypad facility in SETUP feature. */
|
|
|
|
#undef HAVE_PRI_SETUP_KEYPAD
|
|
|
|
|
|
|
|
/* Define to 1 if PRI has the ISDN PRI subaddressing feature. */
|
|
|
|
#undef HAVE_PRI_SUBADDR
|
|
|
|
|
|
|
|
/* Define to 1 if PRI has the ISDN PRI call transfer supplementary service
|
|
|
|
feature. */
|
|
|
|
#undef HAVE_PRI_TRANSFER
|
|
|
|
|
2007-01-15 15:08:45 +00:00
|
|
|
/* Define if you have POSIX threads libraries and header files. */
|
|
|
|
#undef HAVE_PTHREAD
|
|
|
|
|
2014-04-23 20:13:30 +00:00
|
|
|
/* Define to 1 if your system defines PTHREAD_MUTEX_ADAPTIVE_NP in pthread.h
|
|
|
|
*/
|
|
|
|
#undef HAVE_PTHREAD_MUTEX_ADAPTIVE_NP
|
|
|
|
|
2008-01-02 22:40:55 +00:00
|
|
|
/* Define to 1 if your system defines PTHREAD_MUTEX_RECURSIVE_NP in pthread.h
|
|
|
|
*/
|
2007-11-17 23:03:16 +00:00
|
|
|
#undef HAVE_PTHREAD_MUTEX_RECURSIVE_NP
|
|
|
|
|
2016-07-13 13:57:08 +00:00
|
|
|
/* Have PTHREAD_PRIO_INHERIT. */
|
|
|
|
#undef HAVE_PTHREAD_PRIO_INHERIT
|
|
|
|
|
2007-11-17 23:03:16 +00:00
|
|
|
/* Define if your system has the PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
|
|
|
|
headers. */
|
|
|
|
#undef HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
|
|
|
|
|
2006-11-02 16:28:13 +00:00
|
|
|
/* Define if your system has the PTHREAD_RWLOCK_INITIALIZER headers. */
|
|
|
|
#undef HAVE_PTHREAD_RWLOCK_INITIALIZER
|
|
|
|
|
2008-01-02 22:40:55 +00:00
|
|
|
/* Define to 1 if your system defines PTHREAD_RWLOCK_PREFER_WRITER_NP in
|
|
|
|
pthread.h */
|
2006-11-02 16:28:13 +00:00
|
|
|
#undef HAVE_PTHREAD_RWLOCK_PREFER_WRITER_NP
|
|
|
|
|
2009-04-22 21:38:15 +00:00
|
|
|
/* Define if your system has pthread_rwlock_timedwrlock() */
|
|
|
|
#undef HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK
|
|
|
|
|
2014-04-23 20:13:30 +00:00
|
|
|
/* Define to 1 if your system has pthread_spinlock_t in pthread.h */
|
|
|
|
#undef HAVE_PTHREAD_SPINLOCK
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if the system has the type `ptrdiff_t'. */
|
|
|
|
#undef HAVE_PTRDIFF_T
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `putenv' function. */
|
|
|
|
#undef HAVE_PUTENV
|
|
|
|
|
2017-03-31 17:09:38 +00:00
|
|
|
/* Define to 1 if you have the <pwd.h> header file. */
|
|
|
|
#undef HAVE_PWD_H
|
|
|
|
|
2016-05-09 01:19:50 +00:00
|
|
|
/* Define if your system has the PYTHONDEV libraries. */
|
|
|
|
#undef HAVE_PYTHONDEV
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the Radius Client library. */
|
2006-07-05 19:59:34 +00:00
|
|
|
#undef HAVE_RADIUS
|
2006-05-20 22:30:05 +00:00
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the `regcomp' function. */
|
|
|
|
#undef HAVE_REGCOMP
|
|
|
|
|
2017-03-31 17:09:38 +00:00
|
|
|
/* Define to 1 if you have the <regex.h> header file. */
|
|
|
|
#undef HAVE_REGEX_H
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `remainder' function. */
|
2007-09-22 02:07:53 +00:00
|
|
|
#undef HAVE_REMAINDER
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `remainderl' function. */
|
2007-09-22 02:07:53 +00:00
|
|
|
#undef HAVE_REMAINDERL
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the LIBRESAMPLE library. */
|
2008-07-21 14:47:41 +00:00
|
|
|
#undef HAVE_RESAMPLE
|
|
|
|
|
2017-03-31 17:09:38 +00:00
|
|
|
/* Define to 1 if you have the <resolv.h> header file. */
|
|
|
|
#undef HAVE_RESOLV_H
|
|
|
|
|
2009-07-08 16:43:12 +00:00
|
|
|
/* Define to 1 if your system has the close resolver function. */
|
|
|
|
#undef HAVE_RES_CLOSE
|
|
|
|
|
2007-07-10 18:41:03 +00:00
|
|
|
/* Define to 1 if your system has the ndestroy resolver function. */
|
|
|
|
#undef HAVE_RES_NDESTROY
|
|
|
|
|
2006-08-21 02:11:39 +00:00
|
|
|
/* Define to 1 if your system has the re-entrant resolver functions. */
|
|
|
|
#undef HAVE_RES_NINIT
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the `re_comp' function. */
|
|
|
|
#undef HAVE_RE_COMP
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `rint' function. */
|
2006-05-08 16:02:42 +00:00
|
|
|
#undef HAVE_RINT
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `rintl' function. */
|
2007-09-22 02:07:53 +00:00
|
|
|
#undef HAVE_RINTL
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `round' function. */
|
2007-09-21 14:25:51 +00:00
|
|
|
#undef HAVE_ROUND
|
|
|
|
|
2013-01-19 20:54:07 +00:00
|
|
|
/* Define to 1 if you have the `roundf' function. */
|
|
|
|
#undef HAVE_ROUNDF
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `roundl' function. */
|
2007-09-21 14:25:51 +00:00
|
|
|
#undef HAVE_ROUNDL
|
|
|
|
|
2015-07-24 22:04:35 +00:00
|
|
|
/* Define to 1 if rt has the Realtime functions feature. */
|
|
|
|
#undef HAVE_RT
|
|
|
|
|
optional_api: Fix linking problems between modules that export global symbols
With the new work in Asterisk 12, there are some uses of the
optional_api that are prone to failure. The details are rather involved,
and captured on [the wiki][1].
This patch addresses the issue by removing almost all of the magic from
the optional API implementation. Instead of relying on weak symbol
resolution, a new optional_api.c module was added to Asterisk core.
For modules providing an optional API, the pointer to the implementation
function is registered with the core. For modules that use an optional
API, a pointer to a stub function, along with a optional_ref function
pointer are registered with the core. The optional_ref function pointers
is set to the implementation function when it's provided, or the stub
function when it's now.
Since the implementation no longer relies on magic, it is now supported
on all platforms. In the spirit of choice, an OPTIONAL_API flag was
added, so we can disable the optional_api if needed (maybe it's buggy on
some bizarre platform I haven't tested on)
The AST_OPTIONAL_API*() macros themselves remained unchanged, so
existing code could remain unchanged. But to help with debugging the
optional_api, the patch limits the #include of optional API's to just
the modules using the API. This also reduces resource waste maintaining
optional_ref pointers that aren't used.
Other changes made as a part of this patch:
* The stubs for http_websocket that wrap system calls set errno to
ENOSYS.
* res_http_websocket now properly increments module use count.
* In loader.c, the while() wrappers around dlclose() were removed. The
while(!dlclose()) is actually an anti-pattern, which can lead to
infinite loops if the module you're attempting to unload exports a
symbol that was directly linked to.
* The special handling of nonoptreq on systems without weak symbol
support was removed, since we no longer rely on weak symbols for
optional_api.
[1]: https://wiki.asterisk.org/wiki/x/wACUAQ
(closes issue ASTERISK-22296)
Reported by: Matt Jordan
Review: https://reviewboard.asterisk.org/r/2797/
........
Merged revisions 397989 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@397990 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-08-30 13:40:27 +00:00
|
|
|
/* Define if your system has the RTLD_NOLOAD headers. */
|
|
|
|
#undef HAVE_RTLD_NOLOAD
|
|
|
|
|
2008-02-04 21:15:18 +00:00
|
|
|
/* Define to 1 if your system has /sbin/launchd. */
|
|
|
|
#undef HAVE_SBIN_LAUNCHD
|
|
|
|
|
2017-03-31 17:09:38 +00:00
|
|
|
/* Define to 1 if you have the <sched.h> header file. */
|
|
|
|
#undef HAVE_SCHED_H
|
|
|
|
|
2007-11-17 01:49:26 +00:00
|
|
|
/* Define if your system has the SDL libraries. */
|
|
|
|
#undef HAVE_SDL
|
|
|
|
|
2010-05-07 20:35:17 +00:00
|
|
|
/* Define to 1 if you have the Sdl Image library. */
|
2007-11-17 01:49:26 +00:00
|
|
|
#undef HAVE_SDL_IMAGE
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the `select' function. */
|
|
|
|
#undef HAVE_SELECT
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `setenv' function. */
|
|
|
|
#undef HAVE_SETENV
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `sin' function. */
|
2007-09-22 02:07:53 +00:00
|
|
|
#undef HAVE_SIN
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `sinl' function. */
|
2007-09-22 02:07:53 +00:00
|
|
|
#undef HAVE_SINL
|
|
|
|
|
2016-12-22 15:42:46 +00:00
|
|
|
/* Define to 1 if you have the libsndfile library. */
|
|
|
|
#undef HAVE_SNDFILE
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the `socket' function. */
|
|
|
|
#undef HAVE_SOCKET
|
|
|
|
|
2018-12-07 12:57:48 +00:00
|
|
|
/* Define to 1 if your socket() implementation can accept SOCK_NONBLOCK. */
|
|
|
|
#undef HAVE_SOCK_NONBLOCK
|
|
|
|
|
2007-12-19 22:51:03 +00:00
|
|
|
/* Define to 1 if your system has soxmix application. */
|
|
|
|
#undef HAVE_SOXMIX
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define if your system has the SPANDSP headers. */
|
2008-06-02 15:43:40 +00:00
|
|
|
#undef HAVE_SPANDSP
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the Speex library. */
|
2006-05-08 16:02:42 +00:00
|
|
|
#undef HAVE_SPEEX
|
|
|
|
|
2010-05-07 20:35:17 +00:00
|
|
|
/* Define to 1 if you have the SpeexDSP library. */
|
2008-01-16 01:17:25 +00:00
|
|
|
#undef HAVE_SPEEXDSP
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the speex_preprocess_ctl library. */
|
2008-05-05 22:13:57 +00:00
|
|
|
#undef HAVE_SPEEX_PREPROCESS
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the SQLite library. */
|
2007-03-13 21:22:33 +00:00
|
|
|
#undef HAVE_SQLITE3
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `sqrtl' function. */
|
2007-09-22 02:07:53 +00:00
|
|
|
#undef HAVE_SQRTL
|
|
|
|
|
2010-06-08 05:29:08 +00:00
|
|
|
/* Define to 1 if you have the Secure RTP library. */
|
|
|
|
#undef HAVE_SRTP
|
|
|
|
|
2016-07-13 10:24:46 +00:00
|
|
|
/* Define to 1 if SRTP has the SRTP Library AES-192 (ICM) feature. */
|
|
|
|
#undef HAVE_SRTP_192
|
|
|
|
|
|
|
|
/* Define to 1 if SRTP has the SRTP Library AES-256 (ICM) feature. */
|
|
|
|
#undef HAVE_SRTP_256
|
|
|
|
|
|
|
|
/* Define to 1 if SRTP has the SRTP Library AES-128 (GCM) and AES-256 (GCM)
|
|
|
|
feature. */
|
|
|
|
#undef HAVE_SRTP_GCM
|
|
|
|
|
2018-09-17 15:38:28 +00:00
|
|
|
/* Define to 1 if SRTP has the SRTP Library Version Function feature. */
|
|
|
|
#undef HAVE_SRTP_GET_VERSION
|
|
|
|
|
2013-05-15 12:42:04 +00:00
|
|
|
/* Define to 1 if SRTP has the SRTP Library Shutdown Function feature. */
|
|
|
|
#undef HAVE_SRTP_SHUTDOWN
|
|
|
|
|
2017-05-26 16:15:42 +00:00
|
|
|
/* Define to the version of the srtp library. */
|
|
|
|
#undef HAVE_SRTP_VERSION
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the ISDN SS7 library. */
|
2006-09-21 18:41:33 +00:00
|
|
|
#undef HAVE_SS7
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if `stat' has the bug that it succeeds when given the
|
|
|
|
zero-length file name argument. */
|
|
|
|
#undef HAVE_STAT_EMPTY_STRING_BUG
|
|
|
|
|
2017-03-31 17:09:38 +00:00
|
|
|
/* Define to 1 if you have the <stdarg.h> header file. */
|
|
|
|
#undef HAVE_STDARG_H
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if stdbool.h conforms to C99. */
|
|
|
|
#undef HAVE_STDBOOL_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <stddef.h> header file. */
|
|
|
|
#undef HAVE_STDDEF_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
|
|
|
#undef HAVE_STDINT_H
|
|
|
|
|
2017-03-31 17:09:38 +00:00
|
|
|
/* Define to 1 if you have the <stdio.h> header file. */
|
|
|
|
#undef HAVE_STDIO_H
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
|
|
#undef HAVE_STDLIB_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `strcasecmp' function. */
|
|
|
|
#undef HAVE_STRCASECMP
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `strcasestr' function. */
|
|
|
|
#undef HAVE_STRCASESTR
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `strchr' function. */
|
|
|
|
#undef HAVE_STRCHR
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `strcoll' function and it is properly defined.
|
|
|
|
*/
|
|
|
|
#undef HAVE_STRCOLL
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `strcspn' function. */
|
|
|
|
#undef HAVE_STRCSPN
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `strdup' function. */
|
|
|
|
#undef HAVE_STRDUP
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `strerror' function. */
|
|
|
|
#undef HAVE_STRERROR
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `strftime' function. */
|
|
|
|
#undef HAVE_STRFTIME
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
|
|
|
#undef HAVE_STRINGS_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
|
|
|
#undef HAVE_STRING_H
|
|
|
|
|
2007-04-06 21:16:38 +00:00
|
|
|
/* Define to 1 if you have the `strlcat' function. */
|
|
|
|
#undef HAVE_STRLCAT
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `strlcpy' function. */
|
|
|
|
#undef HAVE_STRLCPY
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the `strncasecmp' function. */
|
|
|
|
#undef HAVE_STRNCASECMP
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `strndup' function. */
|
|
|
|
#undef HAVE_STRNDUP
|
|
|
|
|
2006-06-12 20:33:01 +00:00
|
|
|
/* Define to 1 if you have the `strnlen' function. */
|
|
|
|
#undef HAVE_STRNLEN
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the `strrchr' function. */
|
|
|
|
#undef HAVE_STRRCHR
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `strsep' function. */
|
|
|
|
#undef HAVE_STRSEP
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `strspn' function. */
|
|
|
|
#undef HAVE_STRSPN
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `strstr' function. */
|
|
|
|
#undef HAVE_STRSTR
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `strtod' function. */
|
2007-09-22 02:07:53 +00:00
|
|
|
#undef HAVE_STRTOD
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the `strtol' function. */
|
|
|
|
#undef HAVE_STRTOL
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `strtold' function. */
|
2007-09-22 02:07:53 +00:00
|
|
|
#undef HAVE_STRTOLD
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the `strtoq' function. */
|
|
|
|
#undef HAVE_STRTOQ
|
|
|
|
|
2013-05-15 12:42:04 +00:00
|
|
|
/* Define to 1 if `ifr_ifru.ifru_hwaddr' is a member of `struct ifreq'. */
|
2010-12-10 16:28:14 +00:00
|
|
|
#undef HAVE_STRUCT_IFREQ_IFR_IFRU_IFRU_HWADDR
|
|
|
|
|
2013-05-15 12:42:04 +00:00
|
|
|
/* Define to 1 if `uid' is a member of `struct sockpeercred'. */
|
2012-01-13 22:17:13 +00:00
|
|
|
#undef HAVE_STRUCT_SOCKPEERCRED_UID
|
|
|
|
|
2013-05-15 12:42:04 +00:00
|
|
|
/* Define to 1 if `st_blksize' is a member of `struct stat'. */
|
2006-05-08 16:02:42 +00:00
|
|
|
#undef HAVE_STRUCT_STAT_ST_BLKSIZE
|
|
|
|
|
2014-03-05 16:58:21 +00:00
|
|
|
/* Define to 1 if `st_mtim' is a member of `struct stat'. */
|
|
|
|
#undef HAVE_STRUCT_STAT_ST_MTIM
|
|
|
|
|
|
|
|
/* Define to 1 if `st_mtimensec' is a member of `struct stat'. */
|
|
|
|
#undef HAVE_STRUCT_STAT_ST_MTIMENSEC
|
|
|
|
|
|
|
|
/* Define to 1 if `st_mtimespec' is a member of `struct stat'. */
|
|
|
|
#undef HAVE_STRUCT_STAT_ST_MTIMESPEC
|
|
|
|
|
2013-05-15 12:42:04 +00:00
|
|
|
/* Define to 1 if `cr_uid' is a member of `struct ucred'. */
|
2010-11-29 07:30:09 +00:00
|
|
|
#undef HAVE_STRUCT_UCRED_CR_UID
|
|
|
|
|
2013-05-15 12:42:04 +00:00
|
|
|
/* Define to 1 if `uid' is a member of `struct ucred'. */
|
2010-11-29 07:30:09 +00:00
|
|
|
#undef HAVE_STRUCT_UCRED_UID
|
|
|
|
|
2021-09-06 16:37:08 +00:00
|
|
|
/* Define to 1 if `_u._ext.nsaddrs' is a member of `struct __res_state'. */
|
|
|
|
#undef HAVE_STRUCT___RES_STATE__U__EXT_NSADDRS
|
|
|
|
|
2008-12-16 20:08:34 +00:00
|
|
|
/* Define to 1 if you have the `swapctl' function. */
|
|
|
|
#undef HAVE_SWAPCTL
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `sysctl' function. */
|
|
|
|
#undef HAVE_SYSCTL
|
|
|
|
|
2007-04-11 20:21:18 +00:00
|
|
|
/* Define to 1 if your system has sysinfo support */
|
|
|
|
#undef HAVE_SYSINFO
|
|
|
|
|
2009-06-26 03:06:06 +00:00
|
|
|
/* Define if your system has the SYSLOG_FACILITY_LOG_AUTH headers. */
|
|
|
|
#undef HAVE_SYSLOG_FACILITY_LOG_AUTH
|
|
|
|
|
|
|
|
/* Define if your system has the SYSLOG_FACILITY_LOG_AUTHPRIV headers. */
|
|
|
|
#undef HAVE_SYSLOG_FACILITY_LOG_AUTHPRIV
|
|
|
|
|
|
|
|
/* Define if your system has the SYSLOG_FACILITY_LOG_CRON headers. */
|
|
|
|
#undef HAVE_SYSLOG_FACILITY_LOG_CRON
|
|
|
|
|
|
|
|
/* Define if your system has the SYSLOG_FACILITY_LOG_DAEMON headers. */
|
|
|
|
#undef HAVE_SYSLOG_FACILITY_LOG_DAEMON
|
|
|
|
|
|
|
|
/* Define if your system has the SYSLOG_FACILITY_LOG_FTP headers. */
|
|
|
|
#undef HAVE_SYSLOG_FACILITY_LOG_FTP
|
|
|
|
|
|
|
|
/* Define if your system has the SYSLOG_FACILITY_LOG_KERN headers. */
|
|
|
|
#undef HAVE_SYSLOG_FACILITY_LOG_KERN
|
|
|
|
|
|
|
|
/* Define if your system has the SYSLOG_FACILITY_LOG_LPR headers. */
|
|
|
|
#undef HAVE_SYSLOG_FACILITY_LOG_LPR
|
|
|
|
|
|
|
|
/* Define if your system has the SYSLOG_FACILITY_LOG_MAIL headers. */
|
|
|
|
#undef HAVE_SYSLOG_FACILITY_LOG_MAIL
|
|
|
|
|
|
|
|
/* Define if your system has the SYSLOG_FACILITY_LOG_NEWS headers. */
|
|
|
|
#undef HAVE_SYSLOG_FACILITY_LOG_NEWS
|
|
|
|
|
|
|
|
/* Define if your system has the SYSLOG_FACILITY_LOG_SYSLOG headers. */
|
|
|
|
#undef HAVE_SYSLOG_FACILITY_LOG_SYSLOG
|
|
|
|
|
|
|
|
/* Define if your system has the SYSLOG_FACILITY_LOG_UUCP headers. */
|
|
|
|
#undef HAVE_SYSLOG_FACILITY_LOG_UUCP
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the <syslog.h> header file. */
|
|
|
|
#undef HAVE_SYSLOG_H
|
|
|
|
|
2016-06-27 19:26:54 +00:00
|
|
|
/* Define if your system has the SYSTEMD libraries. */
|
|
|
|
#undef HAVE_SYSTEMD
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
|
|
|
|
*/
|
|
|
|
#undef HAVE_SYS_DIR_H
|
|
|
|
|
2007-07-23 13:46:57 +00:00
|
|
|
/* Define to 1 if your sys/endian.h header file provides the bswap16 macro. */
|
|
|
|
#undef HAVE_SYS_ENDIAN_BSWAP16
|
|
|
|
|
|
|
|
/* Define to 1 if your sys/endian.h header file provides the __swap16 macro.
|
|
|
|
*/
|
|
|
|
#undef HAVE_SYS_ENDIAN_SWAP16
|
|
|
|
|
2010-05-13 05:37:31 +00:00
|
|
|
/* Define to 1 if you have the <sys/event.h> header file. */
|
|
|
|
#undef HAVE_SYS_EVENT_H
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the <sys/file.h> header file. */
|
|
|
|
#undef HAVE_SYS_FILE_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/ioctl.h> header file. */
|
|
|
|
#undef HAVE_SYS_IOCTL_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
|
|
|
|
*/
|
|
|
|
#undef HAVE_SYS_NDIR_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/param.h> header file. */
|
|
|
|
#undef HAVE_SYS_PARAM_H
|
|
|
|
|
2007-11-17 06:33:07 +00:00
|
|
|
/* Define to 1 if your system has working sys/poll.h */
|
|
|
|
#undef HAVE_SYS_POLL_H
|
|
|
|
|
2017-03-31 17:09:38 +00:00
|
|
|
/* Define to 1 if you have the <sys/resource.h> header file. */
|
|
|
|
#undef HAVE_SYS_RESOURCE_H
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the <sys/select.h> header file. */
|
|
|
|
#undef HAVE_SYS_SELECT_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/socket.h> header file. */
|
|
|
|
#undef HAVE_SYS_SOCKET_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
|
|
#undef HAVE_SYS_STAT_H
|
|
|
|
|
2010-12-12 03:58:33 +00:00
|
|
|
/* Define to 1 if you have the <sys/thr.h> header file. */
|
|
|
|
#undef HAVE_SYS_THR_H
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the <sys/time.h> header file. */
|
|
|
|
#undef HAVE_SYS_TIME_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
|
|
#undef HAVE_SYS_TYPES_H
|
|
|
|
|
2017-03-31 17:09:38 +00:00
|
|
|
/* Define to 1 if you have the <sys/un.h> header file. */
|
|
|
|
#undef HAVE_SYS_UN_H
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
|
|
|
|
#undef HAVE_SYS_WAIT_H
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `tan' function. */
|
2007-09-22 02:07:53 +00:00
|
|
|
#undef HAVE_TAN
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `tanl' function. */
|
2007-09-22 02:07:53 +00:00
|
|
|
#undef HAVE_TANL
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the <termios.h> header file. */
|
|
|
|
#undef HAVE_TERMIOS_H
|
|
|
|
|
2008-11-19 19:37:32 +00:00
|
|
|
/* Define if your system has the TIMERFD headers. */
|
|
|
|
#undef HAVE_TIMERFD
|
|
|
|
|
2007-11-17 09:30:22 +00:00
|
|
|
/* Define to 1 if your system defines timersub. */
|
2007-11-17 04:17:53 +00:00
|
|
|
#undef HAVE_TIMERSUB
|
|
|
|
|
2017-03-31 17:09:38 +00:00
|
|
|
/* Define to 1 if you have the <time.h> header file. */
|
|
|
|
#undef HAVE_TIME_H
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the tonezone library. */
|
2006-06-24 08:45:49 +00:00
|
|
|
#undef HAVE_TONEZONE
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `trunc' function. */
|
2007-09-21 14:25:51 +00:00
|
|
|
#undef HAVE_TRUNC
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the `truncl' function. */
|
2007-09-21 14:25:51 +00:00
|
|
|
#undef HAVE_TRUNCL
|
|
|
|
|
2015-03-25 12:32:26 +00:00
|
|
|
/* Define to 1 if you have the unbound library. */
|
|
|
|
#undef HAVE_UNBOUND
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
|
|
#undef HAVE_UNISTD_H
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the unixODBC library. */
|
2006-05-08 16:02:42 +00:00
|
|
|
#undef HAVE_UNIXODBC
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `unsetenv' function. */
|
|
|
|
#undef HAVE_UNSETENV
|
|
|
|
|
2013-08-23 21:49:47 +00:00
|
|
|
/* Define to 1 if you have the uriparser library library. */
|
|
|
|
#undef HAVE_URIPARSER
|
|
|
|
|
2018-03-03 12:56:03 +00:00
|
|
|
/* Define to 1 if you have the `uselocale' function. */
|
|
|
|
#undef HAVE_USELOCALE
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the `utime' function. */
|
|
|
|
#undef HAVE_UTIME
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <utime.h> header file. */
|
|
|
|
#undef HAVE_UTIME_H
|
|
|
|
|
|
|
|
/* Define to 1 if `utime(file, NULL)' sets file's timestamp to the present. */
|
|
|
|
#undef HAVE_UTIME_NULL
|
|
|
|
|
2013-06-03 15:57:42 +00:00
|
|
|
/* Define to 1 if you have the `uuid_generate_random' function. */
|
|
|
|
#undef HAVE_UUID_GENERATE_RANDOM
|
|
|
|
|
2010-09-02 05:02:54 +00:00
|
|
|
/* Define to 1 if your system can support larger than default select bitmasks.
|
|
|
|
*/
|
|
|
|
#undef HAVE_VARIABLE_FDSET
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the `vasprintf' function. */
|
|
|
|
#undef HAVE_VASPRINTF
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `vfork' function. */
|
|
|
|
#undef HAVE_VFORK
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <vfork.h> header file. */
|
|
|
|
#undef HAVE_VFORK_H
|
|
|
|
|
2007-11-21 01:29:45 +00:00
|
|
|
/* Define to 1 if your system has linux/videodev.h. */
|
|
|
|
#undef HAVE_VIDEODEV_H
|
|
|
|
|
2009-08-27 17:28:01 +00:00
|
|
|
/* Define to 1 if you have the Vorbis library. */
|
2006-05-08 16:02:42 +00:00
|
|
|
#undef HAVE_VORBIS
|
|
|
|
|
2012-02-16 19:51:15 +00:00
|
|
|
/* Define if your system has OV_CALLBACKS_NOCLOSE declared. */
|
|
|
|
#undef HAVE_VORBIS_OPEN_CALLBACKS
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if you have the `vprintf' function. */
|
|
|
|
#undef HAVE_VPRINTF
|
|
|
|
|
2007-11-17 04:17:53 +00:00
|
|
|
/* Define to 1 if you have the <winsock2.h> header file. */
|
|
|
|
#undef HAVE_WINSOCK2_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <winsock.h> header file. */
|
|
|
|
#undef HAVE_WINSOCK_H
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if `fork' works. */
|
|
|
|
#undef HAVE_WORKING_FORK
|
|
|
|
|
|
|
|
/* Define to 1 if `vfork' works. */
|
|
|
|
#undef HAVE_WORKING_VFORK
|
|
|
|
|
2010-05-07 20:35:17 +00:00
|
|
|
/* Define to 1 if you have the X11 library. */
|
2007-11-21 00:22:41 +00:00
|
|
|
#undef HAVE_X11
|
|
|
|
|
2010-05-07 20:35:17 +00:00
|
|
|
/* Define to the version of the X11 library. */
|
2007-11-21 00:22:41 +00:00
|
|
|
#undef HAVE_X11_VERSION
|
|
|
|
|
2010-07-26 16:44:25 +00:00
|
|
|
/* Define to 1 if you have the <xlocale.h> header file. */
|
|
|
|
#undef HAVE_XLOCALE_H
|
|
|
|
|
2010-05-07 20:35:17 +00:00
|
|
|
/* Define to 1 if you have the zlib compression library. */
|
2006-05-08 16:02:42 +00:00
|
|
|
#undef HAVE_ZLIB
|
|
|
|
|
|
|
|
/* Define to 1 if the system has the type `_Bool'. */
|
|
|
|
#undef HAVE__BOOL
|
|
|
|
|
2009-08-27 21:46:46 +00:00
|
|
|
/* Defined if libcurl supports AsynchDNS */
|
|
|
|
#undef LIBCURL_FEATURE_ASYNCHDNS
|
|
|
|
|
|
|
|
/* Defined if libcurl supports IDN */
|
|
|
|
#undef LIBCURL_FEATURE_IDN
|
|
|
|
|
|
|
|
/* Defined if libcurl supports IPv6 */
|
|
|
|
#undef LIBCURL_FEATURE_IPV6
|
|
|
|
|
|
|
|
/* Defined if libcurl supports KRB4 */
|
|
|
|
#undef LIBCURL_FEATURE_KRB4
|
|
|
|
|
|
|
|
/* Defined if libcurl supports libz */
|
|
|
|
#undef LIBCURL_FEATURE_LIBZ
|
|
|
|
|
|
|
|
/* Defined if libcurl supports NTLM */
|
|
|
|
#undef LIBCURL_FEATURE_NTLM
|
|
|
|
|
|
|
|
/* Defined if libcurl supports SSL */
|
|
|
|
#undef LIBCURL_FEATURE_SSL
|
|
|
|
|
|
|
|
/* Defined if libcurl supports SSPI */
|
|
|
|
#undef LIBCURL_FEATURE_SSPI
|
|
|
|
|
|
|
|
/* Defined if libcurl supports DICT */
|
|
|
|
#undef LIBCURL_PROTOCOL_DICT
|
|
|
|
|
|
|
|
/* Defined if libcurl supports FILE */
|
|
|
|
#undef LIBCURL_PROTOCOL_FILE
|
|
|
|
|
|
|
|
/* Defined if libcurl supports FTP */
|
|
|
|
#undef LIBCURL_PROTOCOL_FTP
|
|
|
|
|
|
|
|
/* Defined if libcurl supports FTPS */
|
|
|
|
#undef LIBCURL_PROTOCOL_FTPS
|
|
|
|
|
|
|
|
/* Defined if libcurl supports HTTP */
|
|
|
|
#undef LIBCURL_PROTOCOL_HTTP
|
|
|
|
|
|
|
|
/* Defined if libcurl supports HTTPS */
|
|
|
|
#undef LIBCURL_PROTOCOL_HTTPS
|
|
|
|
|
2016-07-04 10:58:39 +00:00
|
|
|
/* Defined if libcurl supports IMAP */
|
|
|
|
#undef LIBCURL_PROTOCOL_IMAP
|
|
|
|
|
2009-08-27 21:46:46 +00:00
|
|
|
/* Defined if libcurl supports LDAP */
|
|
|
|
#undef LIBCURL_PROTOCOL_LDAP
|
|
|
|
|
2016-07-04 10:58:39 +00:00
|
|
|
/* Defined if libcurl supports POP3 */
|
|
|
|
#undef LIBCURL_PROTOCOL_POP3
|
|
|
|
|
|
|
|
/* Defined if libcurl supports RTSP */
|
|
|
|
#undef LIBCURL_PROTOCOL_RTSP
|
|
|
|
|
|
|
|
/* Defined if libcurl supports SMTP */
|
|
|
|
#undef LIBCURL_PROTOCOL_SMTP
|
|
|
|
|
2009-08-27 21:46:46 +00:00
|
|
|
/* Defined if libcurl supports TELNET */
|
|
|
|
#undef LIBCURL_PROTOCOL_TELNET
|
|
|
|
|
|
|
|
/* Defined if libcurl supports TFTP */
|
|
|
|
#undef LIBCURL_PROTOCOL_TFTP
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 if `lstat' dereferences a symlink specified with a trailing
|
|
|
|
slash. */
|
|
|
|
#undef LSTAT_FOLLOWS_SLASHED_SYMLINK
|
|
|
|
|
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
|
|
#undef PACKAGE_BUGREPORT
|
|
|
|
|
|
|
|
/* Define to the full name of this package. */
|
|
|
|
#undef PACKAGE_NAME
|
|
|
|
|
|
|
|
/* Define to the full name and version of this package. */
|
|
|
|
#undef PACKAGE_STRING
|
|
|
|
|
|
|
|
/* Define to the one symbol short name of this package. */
|
|
|
|
#undef PACKAGE_TARNAME
|
|
|
|
|
2013-05-15 12:42:04 +00:00
|
|
|
/* Define to the home page for this package. */
|
|
|
|
#undef PACKAGE_URL
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to the version of this package. */
|
|
|
|
#undef PACKAGE_VERSION
|
|
|
|
|
2007-01-15 15:08:45 +00:00
|
|
|
/* Define to necessary symbol if this constant uses a non-standard name on
|
|
|
|
your system. */
|
|
|
|
#undef PTHREAD_CREATE_JOINABLE
|
|
|
|
|
2009-12-28 15:22:54 +00:00
|
|
|
/* Define if your system needs braces around PTHREAD_ONCE_INIT */
|
|
|
|
#undef PTHREAD_ONCE_INIT_NEEDS_BRACES
|
|
|
|
|
2016-11-12 18:15:12 +00:00
|
|
|
/* Name of RADIUS library include header */
|
|
|
|
#undef RADIUS_HEADER_STR
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to the type of arg 1 for `select'. */
|
|
|
|
#undef SELECT_TYPE_ARG1
|
|
|
|
|
|
|
|
/* Define to the type of args 2, 3 and 4 for `select'. */
|
|
|
|
#undef SELECT_TYPE_ARG234
|
|
|
|
|
|
|
|
/* Define to the type of arg 5 for `select'. */
|
|
|
|
#undef SELECT_TYPE_ARG5
|
|
|
|
|
2010-03-17 00:14:29 +00:00
|
|
|
/* The size of `char *', as computed by sizeof. */
|
|
|
|
#undef SIZEOF_CHAR_P
|
|
|
|
|
2010-09-10 01:27:44 +00:00
|
|
|
/* The size of `fd_set.fds_bits', as computed by sizeof. */
|
|
|
|
#undef SIZEOF_FD_SET_FDS_BITS
|
|
|
|
|
2007-07-08 21:01:28 +00:00
|
|
|
/* The size of `int', as computed by sizeof. */
|
2006-06-30 15:55:38 +00:00
|
|
|
#undef SIZEOF_INT
|
|
|
|
|
2010-03-17 00:14:29 +00:00
|
|
|
/* The size of `long', as computed by sizeof. */
|
|
|
|
#undef SIZEOF_LONG
|
|
|
|
|
|
|
|
/* The size of `long long', as computed by sizeof. */
|
|
|
|
#undef SIZEOF_LONG_LONG
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* If using the C implementation of alloca, define if you know the
|
|
|
|
direction of stack growth for your system; otherwise it will be
|
2007-07-08 21:01:28 +00:00
|
|
|
automatically deduced at runtime.
|
2006-05-08 16:02:42 +00:00
|
|
|
STACK_DIRECTION > 0 => grows toward higher addresses
|
|
|
|
STACK_DIRECTION < 0 => grows toward lower addresses
|
|
|
|
STACK_DIRECTION = 0 => direction of growth unknown */
|
|
|
|
#undef STACK_DIRECTION
|
|
|
|
|
2023-01-20 22:50:44 +00:00
|
|
|
/* Define to 1 if you have the ANSI C header files. */
|
2006-05-08 16:02:42 +00:00
|
|
|
#undef STDC_HEADERS
|
|
|
|
|
|
|
|
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
|
|
|
|
#undef TM_IN_SYS_TIME
|
|
|
|
|
2010-09-10 01:27:44 +00:00
|
|
|
/* Define to a type of the same size as fd_set.fds_bits[[0]] */
|
|
|
|
#undef TYPEOF_FD_SET_FDS_BITS
|
|
|
|
|
2013-05-15 12:42:04 +00:00
|
|
|
/* Enable extensions on AIX 3, Interix. */
|
2007-07-08 21:01:28 +00:00
|
|
|
#ifndef _ALL_SOURCE
|
|
|
|
# undef _ALL_SOURCE
|
|
|
|
#endif
|
2013-05-15 12:42:04 +00:00
|
|
|
/* Enable GNU extensions on systems that have them. */
|
|
|
|
#ifndef _GNU_SOURCE
|
|
|
|
# undef _GNU_SOURCE
|
|
|
|
#endif
|
2023-01-20 22:50:44 +00:00
|
|
|
/* Enable threading extensions on Solaris. */
|
2013-05-15 12:42:04 +00:00
|
|
|
#ifndef _POSIX_PTHREAD_SEMANTICS
|
|
|
|
# undef _POSIX_PTHREAD_SEMANTICS
|
|
|
|
#endif
|
|
|
|
/* Enable extensions on HP NonStop. */
|
|
|
|
#ifndef _TANDEM_SOURCE
|
|
|
|
# undef _TANDEM_SOURCE
|
|
|
|
#endif
|
2023-01-20 22:50:44 +00:00
|
|
|
/* Enable general extensions on Solaris. */
|
|
|
|
#ifndef __EXTENSIONS__
|
|
|
|
# undef __EXTENSIONS__
|
2013-05-15 12:42:04 +00:00
|
|
|
#endif
|
|
|
|
|
2010-07-26 23:06:47 +00:00
|
|
|
|
2010-09-02 05:02:54 +00:00
|
|
|
/* Define to 1 if running on Darwin. */
|
|
|
|
#undef _DARWIN_UNLIMITED_SELECT
|
2010-07-26 23:06:47 +00:00
|
|
|
|
2023-01-20 22:50:44 +00:00
|
|
|
/* Enable large inode numbers on Mac OS X 10.5. */
|
|
|
|
#ifndef _DARWIN_USE_64_BIT_INODE
|
|
|
|
# define _DARWIN_USE_64_BIT_INODE 1
|
|
|
|
#endif
|
|
|
|
|
2010-07-26 23:06:47 +00:00
|
|
|
/* Number of bits in a file offset, on hosts where this is settable. */
|
|
|
|
#undef _FILE_OFFSET_BITS
|
2006-05-08 16:02:42 +00:00
|
|
|
|
Update configure.ac/Makefile for clang
Created autoconf/ast_check_raii.m4: contains AST_CHECK_RAII which
checks compiler requirements for RAII:
gcc: -fnested-functions support
clang: -fblocks (and if required -lBlocksRuntime)
The original check was implemented in configure.ac and now has it's
own file. This function also sets C_COMPILER_FAMILY to either gcc or
clang for use by makefile
Created autoconf/ast_check_strsep_array_bounds.m4 (contains
AST_CHECK_STRSEP_ARRAY_BOUNDS):
which checks if clang is able to handle the optimized strsep & strcmp
functions (linux). If not, the standard libc implementation should be
used instead. Clang + the optimized macro's work with:
strsep(char *, char []), but not with strsepo(char *, char *).
Instead of replacing all the occurences throughout the source code,
not using the optimized macro version seemed easier
See 'define __strcmp_gc(s1, s2, l2) in bits/string2.h':
llvm-comment: Normally, this array-bounds warning are suppressed for
macros, so that unused paths like the one that accesses __s1[3] are
not warned about. But if you preprocess manually, and feed the
result to another instance of clang, it will warn about all the
possible forks of this particular if statement. Instead of switching
of this optimization, another solution would be to run the preproces-
sing step with -frewrite-includes, which should preserve enough
information so that clang should still be able to suppress the diag-
nostic at the compile step later on.
See also "https://llvm.org/bugs/show_bug.cgi?id=20144"
See also "https://llvm.org/bugs/show_bug.cgi?id=11536"
Makefile.rules: If C_COMPILER_FAMILY=clang then add two warning
suppressions:
-Wno-unused-value
-Wno-parentheses-equality
In an earlier review (reviewboard: 4550 and 4554), they were deemed a
nuisace and less than benefitial.
configure.ac:
Added AST_CHECK_RAII() see earlier
Added AST_CHECK_STRSEP_ARRAY_BOUNDS() see earlier
Removed moved content
ASTERISK-24917
Change-Id: I12ea29d3bda2254ad3908e279b7effbbac6a97cb
2015-04-20 18:03:56 +00:00
|
|
|
/* Prevent clang array-bounds warning by not using strcmp from bits/string2.h
|
|
|
|
*/
|
|
|
|
#undef _HAVE_STRING_ARCH_strcmp
|
|
|
|
|
|
|
|
/* Prevent clang array-bounds warning by not using strsep from bits/string2.h
|
|
|
|
*/
|
|
|
|
#undef _HAVE_STRING_ARCH_strsep
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
|
|
|
|
#undef _LARGEFILE_SOURCE
|
|
|
|
|
|
|
|
/* Define for large files, on AIX-style hosts. */
|
|
|
|
#undef _LARGE_FILES
|
|
|
|
|
2023-01-20 22:50:44 +00:00
|
|
|
/* Define to 1 if on MINIX. */
|
|
|
|
#undef _MINIX
|
|
|
|
|
|
|
|
/* Define to 2 if the system does not provide POSIX.1 features except with
|
|
|
|
this defined. */
|
|
|
|
#undef _POSIX_1_SOURCE
|
|
|
|
|
|
|
|
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
|
|
|
#undef _POSIX_SOURCE
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to empty if `const' does not conform to ANSI C. */
|
|
|
|
#undef const
|
|
|
|
|
2009-08-27 21:46:46 +00:00
|
|
|
/* Define curl_free() as free() if our version of curl lacks curl_free. */
|
|
|
|
#undef curl_free
|
|
|
|
|
2006-05-08 16:02:42 +00:00
|
|
|
/* Define to `int' if <sys/types.h> doesn't define. */
|
|
|
|
#undef gid_t
|
|
|
|
|
|
|
|
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
|
|
|
calls it, or to nothing if 'inline' is not supported under any name. */
|
|
|
|
#ifndef __cplusplus
|
|
|
|
#undef inline
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Define to `int' if <sys/types.h> does not define. */
|
|
|
|
#undef mode_t
|
|
|
|
|
2007-07-08 21:01:28 +00:00
|
|
|
/* Define to `long int' if <sys/types.h> does not define. */
|
2006-05-08 16:02:42 +00:00
|
|
|
#undef off_t
|
|
|
|
|
2023-01-20 22:50:44 +00:00
|
|
|
/* Define to `int' if <sys/types.h> does not define. */
|
2006-05-08 16:02:42 +00:00
|
|
|
#undef pid_t
|
|
|
|
|
2007-07-08 21:01:28 +00:00
|
|
|
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
2006-05-08 16:02:42 +00:00
|
|
|
#undef size_t
|
|
|
|
|
|
|
|
/* Define to `int' if <sys/types.h> doesn't define. */
|
|
|
|
#undef uid_t
|
|
|
|
|
|
|
|
/* Define as `fork' if `vfork' does not work. */
|
|
|
|
#undef vfork
|
|
|
|
|
|
|
|
/* Define to empty if the keyword `volatile' does not work. Warning: valid
|
|
|
|
code using `volatile' can become incorrect without. Disable with care. */
|
|
|
|
#undef volatile
|
2006-06-07 18:54:56 +00:00
|
|
|
|
2015-11-25 16:42:31 +00:00
|
|
|
#endif /* ASTERISK_AUTOCONFIG_H */
|