forked from AuroraMiddleware/gtk
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:
parent
5920789685
commit
cb42ec588c
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
10
configure.in
10
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}")
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user