]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
disable visibility on suncc for now
authorMichael Jerris <mike@jerris.com>
Tue, 17 Feb 2009 18:22:41 +0000 (18:22 +0000)
committerMichael Jerris <mike@jerris.com>
Tue, 17 Feb 2009 18:22:41 +0000 (18:22 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12106 d0543943-73ff-0310-b7d9-9358b9ac24b2

configure.in

index ee472b7ad604d36c3d874c09bac853d8af01f192..f2c54d74135e017760c8378926115b42cc7c2499 100644 (file)
@@ -184,31 +184,33 @@ if test "x${enable_visibility}" != "xno" ; then
                CFLAGS="${save_CFLAGS}"
                ;;
 
-       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}"
-               ;;
-
+#      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}"
+#              ;;
+#
        *)
                if test "x${enable_visibility}" = "xyes" ; then
-                       AC_MSG_ERROR([Non-GNU / SUN compilers are currently unsupported])
+                       AC_MSG_ERROR([Non-GNU compilers are currently unsupported])
+#                      AC_MSG_ERROR([Non-GNU / SUN compilers are currently unsupported])
                else
-                       AC_MSG_WARN([Non-GNU / SUN compilers are currently unsupported])
+                       AC_MSG_WARN([Non-GNU  compilers are currently unsupported])
+#                      AC_MSG_WARN([Non-GNU / SUN compilers are currently unsupported])
                fi
                ;;
        esac