[Freeswitch-svn] [commit] r13148 - freeswitch/trunk

FreeSWITCH SVN stkn at freeswitch.org
Sat Apr 25 11:10:27 PDT 2009


Author: stkn
Date: Sat Apr 25 13:10:27 2009
New Revision: 13148

Log:
Disable suncc visibility completely, still too many problems

Modified:
   freeswitch/trunk/configure.in

Modified: freeswitch/trunk/configure.in
==============================================================================
--- freeswitch/trunk/configure.in	(original)
+++ freeswitch/trunk/configure.in	Sat Apr 25 13:10:27 2009
@@ -212,23 +212,23 @@
 		;;
 
 	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}"
 		;;
 
 	*)



More information about the Freeswitch-svn mailing list