diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-06-16 21:02:05 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-06-16 21:02:05 +0000 |
commit | 78ca164fe19251dde45530f5fbe8fcf4d5ceed27 (patch) | |
tree | 50faeb17b22404e86c6409ee502abbf44d3715d0 /configure | |
parent | 14da66c6a0f905961c92d9eeb37a991f76ce0c0f (diff) |
Explicitly test for 'static weakref' support.
Since we use 'static' weakref symbols, and not all GCC versions support them,
test for that combination explicitly.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@201137 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.ac Revision: 200985 . +# From configure.ac Revision: 201090 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.63 for asterisk 1.6. # @@ -18937,7 +18937,7 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - void __attribute__((weakref)) *test(void *muffin, ...) {return (void *) 0;} +static void __attribute__((weakref)) *test(void *muffin, ...) {return (void *) 0;} int main () { @@ -18988,7 +18988,7 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - void __attribute__((weakref("foo"))) *test(void *muffin, ...) {return (void *) 0;} +static void __attribute__((weakref("foo"))) *test(void *muffin, ...) {return (void *) 0;} int main () { |