diff options
author | Matthias Clasen <maclas@gmx.de> | 2004-09-15 02:03:58 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-09-15 02:03:58 +0000 |
commit | cb42ec588c4dd9e729eca5efc760ee6e7e4012c1 (patch) | |
tree | 80d48513132434e092dac4cd87146bf248f2b3bd | |
parent | 59207896851a3bc0cb46761d1baab0f478a65edb (diff) | |
download | gtk+-cb42ec588c4dd9e729eca5efc760ee6e7e4012c1.tar.gz |
New option --disable-visibility to disable the use of ELF visibility
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.
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 9 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 9 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 9 | ||||
-rw-r--r-- | configure.in | 10 | ||||
-rwxr-xr-x | gdk-pixbuf/makegdkpixbufalias.pl | 4 | ||||
-rwxr-xr-x | gdk/makegdkalias.pl | 4 | ||||
-rwxr-xr-x | gtk/makegtkalias.pl | 4 |
8 files changed, 58 insertions, 0 deletions
@@ -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 diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index ad5e2484f6..1a17c02b8f 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -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 diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index ad5e2484f6..1a17c02b8f 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -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 diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index ad5e2484f6..1a17c02b8f 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -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 diff --git a/configure.in b/configure.in index 002412466f..b41fa26518 100644 --- a/configure.in +++ b/configure.in @@ -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}") diff --git a/gdk-pixbuf/makegdkpixbufalias.pl b/gdk-pixbuf/makegdkpixbufalias.pl index 1c384bf3b8..6833e6cc94 100755 --- a/gdk-pixbuf/makegdkpixbufalias.pl +++ b/gdk-pixbuf/makegdkpixbufalias.pl @@ -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 diff --git a/gdk/makegdkalias.pl b/gdk/makegdkalias.pl index ff945b30b7..330107b63e 100755 --- a/gdk/makegdkalias.pl +++ b/gdk/makegdkalias.pl @@ -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 diff --git a/gtk/makegtkalias.pl b/gtk/makegtkalias.pl index d33b08f2ba..43e17ced8b 100755 --- a/gtk/makegtkalias.pl +++ b/gtk/makegtkalias.pl @@ -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 |