diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-30 06:50:53 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-30 06:50:53 +0000 |
commit | e80d7ce6e35f464bbf7dc350d2f5cae5aed9da13 (patch) | |
tree | 0be26c17cd4aa1712492abb35b8e9745ecd557e6 /acinclude.m4 | |
parent | d419dcffbb1dc37392ce206055d6299edc9decb4 (diff) |
remove attribute checking... it was an attempt to support older GCC compilers but is not worth the effort :-)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23514 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 972271069..584f5e971 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -84,18 +84,3 @@ if test "x$GNU_MAKE" = "xNot Found" ; then fi AC_SUBST([GNU_MAKE]) ]) - -AC_DEFUN( -[AST_C_ATTRIBUTE], -[AC_CACHE_CHECK([for $1 attribute support], - [ac_cv_attribute_$1], - AC_COMPILE_IFELSE( - AC_LANG_PROGRAM( - [[static void foo(void) __attribute__ (($1));xyz]], - []), - have_attribute_$1=1, have_attribute_$1=0) - ) - if test "$have_attribute_$1" = "1"; then - AC_DEFINE_UNQUOTED([HAVE_ATTRIBUTE_$1], 1, [Define to indicate the compiler supports __attribute__ (($1))]) - fi -]) |