summaryrefslogtreecommitdiff
path: root/makeopts.in
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2017-11-11 11:09:29 -0500
committerCorey Farrell <git@cfware.com>2017-11-17 10:39:08 -0500
commitb9f4bb59887bd5520b88505acfcc2f4eff0e7e66 (patch)
tree8e968748dc8e1cd5bbbdfcfbd76bcabae016e2e9 /makeopts.in
parent4181b6f3777655efa5f0523a8d2ab2b0e5e566fb (diff)
menuselect: Remove ineffective weak attribute detection.
menuselect detects compiler support for multiple styles of weak functions. This is a remnant from 2013 when OPTIONAL_API required weak functions. It is no longer correct for menuselect to switch dependencies from optional to required based on lack of weak function support. Note an issue remains - dependencies should switch from optional to required based on OPTIONAL_API being enabled or disabled. I don't think this is possible. menuselect needs to know at startup if OPTIONAL_API is enabled or disabled, so the only way to fix this is to remove OPTIONAL_API from menuselect and create a configure option. I've left the code that switches in place but it's preprocessed out. Additionally removed: - WEAKREF variable from Asterisk makeopts.in. - Related disabled code from test_utils. - Pointless AC_REVISION call from menuselect/configure.ac. Change-Id: Ifa702e5f98eb45f338b2f131a93354632a8fb389
Diffstat (limited to 'makeopts.in')
-rw-r--r--makeopts.in1
1 files changed, 0 insertions, 1 deletions
diff --git a/makeopts.in b/makeopts.in
index 1d31c29f9..43a472869 100644
--- a/makeopts.in
+++ b/makeopts.in
@@ -73,7 +73,6 @@ CONFIG_LDFLAGS=@CONFIG_LDFLAGS@
CONFIG_SIGNED_CHAR=@CONFIG_SIGNED_CHAR@
GNU_LD=@GNU_LD@
-WEAKREF=@PBX_WEAKREF@
HAVE_DYNAMIC_LIST=@PBX_DYNAMIC_LIST@
prefix = @prefix@