]> Pileus Git - ~andy/gtk/commitdiff
New option --disable-visibility to disable the use of ELF visibility
authorMatthias Clasen <maclas@gmx.de>
Wed, 15 Sep 2004 02:03:58 +0000 (02:03 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 15 Sep 2004 02:03:58 +0000 (02:03 +0000)
Tue Sep 14 22:01:49 2004  Matthias Clasen  <maclas@gmx.de>

* configure.in: New option --disable-visibility to disable
the use of ELF visibility attributes for PLT reduction.

* gtk/makegtkalias.pl:
* gdk/makegdkalias.pl: Respect the DISABLE_VISIBILITY
define.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-6
ChangeLog.pre-2-8
configure.in
gdk-pixbuf/makegdkpixbufalias.pl
gdk/makegdkalias.pl
gtk/makegtkalias.pl

index ad5e2484f68b0db55e0b0604c39100d6bdb5c808..1a17c02b8f93f2f884ce133b6267a7554446a8c0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+Tue Sep 14 22:01:49 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * configure.in: New option --disable-visibility to disable
+       the use of ELF visibility attributes for PLT reduction.
+
+       * gtk/makegtkalias.pl: 
+       * gdk/makegdkalias.pl: Respect the DISABLE_VISIBILITY
+       define.
+
 Tue Sep 14 23:20:56 2004  Søren Sandmann  <sandmann@redhat.com>
 
        * gtk/gtkaction.c (connect_proxy): Call
index ad5e2484f68b0db55e0b0604c39100d6bdb5c808..1a17c02b8f93f2f884ce133b6267a7554446a8c0 100644 (file)
@@ -1,3 +1,12 @@
+Tue Sep 14 22:01:49 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * configure.in: New option --disable-visibility to disable
+       the use of ELF visibility attributes for PLT reduction.
+
+       * gtk/makegtkalias.pl: 
+       * gdk/makegdkalias.pl: Respect the DISABLE_VISIBILITY
+       define.
+
 Tue Sep 14 23:20:56 2004  Søren Sandmann  <sandmann@redhat.com>
 
        * gtk/gtkaction.c (connect_proxy): Call
index ad5e2484f68b0db55e0b0604c39100d6bdb5c808..1a17c02b8f93f2f884ce133b6267a7554446a8c0 100644 (file)
@@ -1,3 +1,12 @@
+Tue Sep 14 22:01:49 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * configure.in: New option --disable-visibility to disable
+       the use of ELF visibility attributes for PLT reduction.
+
+       * gtk/makegtkalias.pl: 
+       * gdk/makegdkalias.pl: Respect the DISABLE_VISIBILITY
+       define.
+
 Tue Sep 14 23:20:56 2004  Søren Sandmann  <sandmann@redhat.com>
 
        * gtk/gtkaction.c (connect_proxy): Call
index ad5e2484f68b0db55e0b0604c39100d6bdb5c808..1a17c02b8f93f2f884ce133b6267a7554446a8c0 100644 (file)
@@ -1,3 +1,12 @@
+Tue Sep 14 22:01:49 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * configure.in: New option --disable-visibility to disable
+       the use of ELF visibility attributes for PLT reduction.
+
+       * gtk/makegtkalias.pl: 
+       * gdk/makegdkalias.pl: Respect the DISABLE_VISIBILITY
+       define.
+
 Tue Sep 14 23:20:56 2004  Søren Sandmann  <sandmann@redhat.com>
 
        * gtk/gtkaction.c (connect_proxy): Call
index 002412466f9015b040ea1e936d4a9684f77b3368..b41fa265185ae5ff899f3b6899d0f1b3b40ce532 100644 (file)
@@ -48,6 +48,7 @@ AM_CONFIG_HEADER(config.h)
 
 #
 # For each of the libraries we build, we define the following
 # substituted variables:
 #
 # foo_PACKAGES:     pkg-config packages this library requires
@@ -191,6 +192,10 @@ AC_ARG_ENABLE(rebuilds,
               [AC_HELP_STRING([--disable-rebuilds],
                               [disable all source autogeneration rules])],,
               [enable_rebuilds=yes])
+AC_ARG_ENABLE(visibility,
+              [AC_HELP_STRING([--disable-visibility],
+                              [don't use ELF visibility attributes])],,
+              [enable_visibility=yes])
 
 AC_ARG_WITH(xinput,
             [AC_HELP_STRING([--with-xinput=@<:@no/yes@:>@], [support XInput])])
@@ -246,6 +251,11 @@ else
   fi
 fi
 
+if test "x$enable_visibility" = "xno"; then
+  GTK_DEBUG_FLAGS="$GTK_DEBUG_FLAGS -DDISABLE_VISIBILITY"
+fi
+
+
 AC_DEFINE_UNQUOTED(GTK_COMPILED_WITH_DEBUGGING, "${enable_debug}")
 
                        
index 1c384bf3b8319ede5f9ae801ed50a887288d9cff..6833e6cc94b40bbc29558963ca47c399c4659f57 100755 (executable)
@@ -3,6 +3,8 @@
 print <<EOF;
 /* Generated by makegdkpixbufalias.pl */
 
+#ifndef DISABLE_VISIBILITY
+
 #include <glib.h>
 
 #ifdef G_HAVE_GNUC_VISIBILITY
@@ -99,6 +101,8 @@ print <<EOF;
 #endif
 
 #endif /* G_HAVE_GNUC_VISIBILITY */
+
+#endif /* DISABLE_VISIBILITY */
 EOF
 
 
index ff945b30b73c640168e31e81ce51228b3667ce4b..330107b63e707fc8d24dfad13b620b9884e3fa07 100755 (executable)
@@ -3,6 +3,8 @@
 print <<EOF;
 /* Generated by makegdkalias.pl */
 
+#ifndef DISABLE_VISIBILITY
+
 #include <glib.h>
 
 #ifdef G_HAVE_GNUC_VISIBILITY
@@ -128,5 +130,7 @@ print <<EOF;
 #endif
 
 #endif /* G_HAVE_GNUC_VISIBILITY */
+
+#endif /* DISABLE_VISIBILITY */
 EOF
 
index d33b08f2ba01feeffd85432a6fa1f85530f15eee..43e17ced8bf0b97d854630931f892e03f8928318 100755 (executable)
@@ -3,6 +3,8 @@
 print <<EOF;
 /* Generated by makegtkalias.pl */
 
+#ifndef DISABLE_VISIBILITY
+
 #include <glib.h>
 
 #ifdef G_HAVE_GNUC_VISIBILITY
@@ -139,6 +141,8 @@ print <<EOF;
 #endif
 
 #endif /* G_HAVE_GNUC_VISIBILITY */
+
+#endif /* DISABLE_VISIBILITY */
 EOF