gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash ChangeLog configure.ac


From: Bastiaan Jacques
Subject: [Gnash-commit] gnash ChangeLog configure.ac
Date: Tue, 09 May 2006 01:12:43 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Branch:         
Changes by:     Bastiaan Jacques <address@hidden>       06/05/09 01:12:43

Modified files:
        .              : ChangeLog configure.ac 

Log message:
        * configure.ac: Compile with -fvisibility-inlines-hidden, if we're 
using gcc-4 or newer.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gnash/ChangeLog.diff?tr1=1.277&tr2=1.278&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/gnash/gnash/configure.ac.diff?tr1=1.65&tr2=1.66&r1=text&r2=text

Patches:
Index: gnash/ChangeLog
diff -u gnash/ChangeLog:1.277 gnash/ChangeLog:1.278
--- gnash/ChangeLog:1.277       Tue May  9 00:21:53 2006
+++ gnash/ChangeLog     Tue May  9 01:12:43 2006
@@ -1,5 +1,10 @@
 2006-05-09 Bastiaan Jacques <address@hidden>
 
+       * configure.ac: Compile with -fvisibility-inlines-hidden, if we're
+       using gcc-4 or newer.
+
+2006-05-09 Bastiaan Jacques <address@hidden>
+
        * gui/gnash.cpp: Use the GTK backend by default; if GTK isn't
        available, fall back to SDL.
        * gui/{gtk.cpp,sdl.cpp}: Fix includes to match recent filename
Index: gnash/configure.ac
diff -u gnash/configure.ac:1.65 gnash/configure.ac:1.66
--- gnash/configure.ac:1.65     Mon May  8 21:12:24 2006
+++ gnash/configure.ac  Tue May  9 01:12:43 2006
@@ -351,6 +351,18 @@
   fi
 fi
 
+if test "$GCC" = "yes"; then
+  AC_COMPILE_IFELSE([
+  #if __GNUC__ < 4
+  #error
+  #endif],gccvisibility=yes,)
+  if test x"$gccvisibility" = x"yes"; then
+    CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden"
+  fi
+fi
+
+
+
 dnl AC_CONFIG_LINKS(doc/C/images)
 plugmk=""
 if test x"$plugin" = x"yes"; then




reply via email to

[Prev in Thread] Current Thread [Next in Thread]