Disable speex suncc support again (at least the invalid option warning is gone now), not sure how this worked last time i tested it...

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13121 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Stefan Knoblich 2009-04-22 19:11:30 +00:00
parent a935a03182
commit fc13cb4c4f
1 changed files with 18 additions and 18 deletions

View File

@ -112,24 +112,24 @@ gnu)
] ]
) )
;; ;;
sun) #sun)
SAVE_CFLAGS="$CFLAGS" # SAVE_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -xldscope=hidden" # CFLAGS="$CFLAGS -xldscope=hidden"
AC_COMPILE_IFELSE([ # AC_COMPILE_IFELSE([
AC_LANG_PROGRAM([[ # AC_LANG_PROGRAM([[
__attribute__((visibility("default"))) # __attribute__((visibility("default")))
int var=10; # int var=10;
]])], # ]])],
[ # [
has_visibility=yes # has_visibility=yes
AC_DEFINE([EXPORT], [__attribute__((visibility("default")))], [Symbol visibility prefix]) # AC_DEFINE([EXPORT], [__attribute__((visibility("default")))], [Symbol visibility prefix])
], # ],
[ # [
has_visibility=no # has_visibility=no
AC_DEFINE([EXPORT], [], [Symbol visibility prefix]) # AC_DEFINE([EXPORT], [], [Symbol visibility prefix])
CFLAGS="$SAVE_CFLAGS" # CFLAGS="$SAVE_CFLAGS"
] # ]
) # )
;; ;;
*) *)
has_visibility=no has_visibility=no