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:
parent
a935a03182
commit
fc13cb4c4f
|
@ -112,24 +112,24 @@ gnu)
|
|||
]
|
||||
)
|
||||
;;
|
||||
sun)
|
||||
SAVE_CFLAGS="$CFLAGS"
|
||||
CFLAGS="$CFLAGS -xldscope=hidden"
|
||||
AC_COMPILE_IFELSE([
|
||||
AC_LANG_PROGRAM([[
|
||||
__attribute__((visibility("default")))
|
||||
int var=10;
|
||||
]])],
|
||||
[
|
||||
has_visibility=yes
|
||||
AC_DEFINE([EXPORT], [__attribute__((visibility("default")))], [Symbol visibility prefix])
|
||||
],
|
||||
[
|
||||
has_visibility=no
|
||||
AC_DEFINE([EXPORT], [], [Symbol visibility prefix])
|
||||
CFLAGS="$SAVE_CFLAGS"
|
||||
]
|
||||
)
|
||||
#sun)
|
||||
# SAVE_CFLAGS="$CFLAGS"
|
||||
# CFLAGS="$CFLAGS -xldscope=hidden"
|
||||
# AC_COMPILE_IFELSE([
|
||||
# AC_LANG_PROGRAM([[
|
||||
# __attribute__((visibility("default")))
|
||||
# int var=10;
|
||||
# ]])],
|
||||
# [
|
||||
# has_visibility=yes
|
||||
# AC_DEFINE([EXPORT], [__attribute__((visibility("default")))], [Symbol visibility prefix])
|
||||
# ],
|
||||
# [
|
||||
# has_visibility=no
|
||||
# AC_DEFINE([EXPORT], [], [Symbol visibility prefix])
|
||||
# CFLAGS="$SAVE_CFLAGS"
|
||||
# ]
|
||||
# )
|
||||
;;
|
||||
*)
|
||||
has_visibility=no
|
||||
|
|
Loading…
Reference in New Issue