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.
This commit is contained in:
Matthias Clasen 2004-09-15 02:03:58 +00:00 committed by Matthias Clasen
parent 5920789685
commit cb42ec588c
8 changed files with 58 additions and 0 deletions

View 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

View 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

View 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

View 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

View 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}")

View File

@ -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

View File

@ -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

View File

@ -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