dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

8 Commits

Author SHA1 Message Date
tilghman ceff8cd788 Quote AC_SUBST within m4_ifval, so it does not get prematurely expanded.
(closes issue #17654)
 Reported by: pprindeville
 Patches: 
       issue17654.diff uploaded by qwell (license 4)
 Tested by: qwell, pprindeville


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276830 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-15 23:25:09 +00:00
tilghman 56f4cd3725 Fix linking asterisk on CentOS 5, which is using gcc 4.1.1. Gcc 4.1.2 has the real fix.
Review: https://reviewboard.asterisk.org/r/790/


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276731 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-15 18:44:20 +00:00
kpfleming 80fe63ec2a Another minor fix to compiler attribute checking.
Defaulting to 'static' for the function scope was bad... so remove it.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@201090 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-16 19:27:12 +00:00
kpfleming d2292f0eca Fix problems with new compiler attribute checking in configure script.
The last changes to ast_gcc_attribute.m4 caused some problems checking for
various attributes, because the scope of the symbol the attribute is applied
to can be important; this patch allows the scope to be specified for the check.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@200985 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-16 16:32:36 +00:00
kpfleming 270a57581a Ensure that configure-script testing for compiler attributes actually works.
The configure script tests for compiler attributes didn't actually enable
enough warnings or provide a proper test harness to determine whether the 
compiler supports the attribute in question or not; this caused gcc 4.1 to
report that it supports 'weakref', but it doesn't actually support it in the
way that is needed for our optional API mechanism. The new configure script
test will properly distinguish between full support and partial support
for this attribute, among others.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@200764 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-16 01:28:08 +00:00
kpfleming 4d88cfdab5 improve handling of API calls provided by loaded modules through use of some GCC features; this makes app_stack's usage of AGI APIs even cleaner, and will allow it to work 'as expected' either with or without res_agi being loaded
reviewed at http://reviewboard.digium.com/r/62



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@159631 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-26 21:20:50 +00:00
kpfleming f2d5a34825 instead of trying to forcibly load res_agi when app_stack is loaded (even if the administrator didn't want it loaded), use GCC weak symbols to determine whether it was loaded already or not; if it was loaded, then use it.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@153709 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-02 23:34:39 +00:00
kpfleming 4258dc4d36 Merged revisions 151240 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r151240 | kpfleming | 2008-10-20 07:45:56 +0300 (Mon, 20 Oct 2008) | 3 lines
  
  break up acinclude.m4 into individual files, which will make it easier to maintain, easier to add new macros (less patching) and will ease maintenance of these macros across Asterisk branches
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@151242 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-20 04:59:04 +00:00