]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Disable suncc visibility completely, still too many problems
authorStefan Knoblich <stkn@freeswitch.org>
Sat, 25 Apr 2009 18:10:27 +0000 (18:10 +0000)
committerStefan Knoblich <stkn@freeswitch.org>
Sat, 25 Apr 2009 18:10:27 +0000 (18:10 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13148 d0543943-73ff-0310-b7d9-9358b9ac24b2

configure.in

index 0ffcbfea9174909e6e138840310fd6617f4e36f6..c71bf2905cdb926731b869fce948d87804fff551 100644 (file)
@@ -212,23 +212,23 @@ if test "x${enable_visibility}" != "xno" ; then
                ;;
 
        sun)
-               save_CFLAGS="${CFLAGS}"
-               CFLAGS="${CFLAGS} -xldscope=hidden"
-               AC_MSG_CHECKING([whether the compiler supports -xldscope=hidden])
-               AC_COMPILE_IFELSE(
-                       [AC_LANG_PROGRAM(
-                               [int foo __attribute__ ((visibility("default")));],
-                               [;]
-                       )],
-
-                       [AC_MSG_RESULT([yes])
-                        APR_ADDTO([SWITCH_AM_CFLAGS],   [-xldscope=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1])
-                        APR_ADDTO([SWITCH_AM_CXXFLAGS], [-xldscope=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1])
-                        HAVE_VISIBILITY="yes"],
-
-                       [AC_MSG_RESULT([no])]
-               )
-               CFLAGS="${save_CFLAGS}"
+       #       save_CFLAGS="${CFLAGS}"
+       #       CFLAGS="${CFLAGS} -xldscope=hidden"
+       #       AC_MSG_CHECKING([whether the compiler supports -xldscope=hidden])
+       #       AC_COMPILE_IFELSE(
+       #               [AC_LANG_PROGRAM(
+       #                       [int foo __attribute__ ((visibility("default")));],
+       #                       [;]
+       #               )],
+       #
+       #               [AC_MSG_RESULT([yes])
+       #                APR_ADDTO([SWITCH_AM_CFLAGS],   [-xldscope=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1])
+       #                APR_ADDTO([SWITCH_AM_CXXFLAGS], [-xldscope=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1])
+       #                HAVE_VISIBILITY="yes"],
+       #
+       #               [AC_MSG_RESULT([no])]
+       #       )
+       #       CFLAGS="${save_CFLAGS}"
                ;;
 
        *)