Turn on GSEAL_ENABLE by default

We do this by adding -DGSEAL_ENABLE to the Cflags in the .pc files,
so you can get out of it by adding -UGSEAL_ENABLE after the pkg-config
generated flags.
This commit is contained in:
Matthias Clasen 2010-06-23 23:19:58 -04:00
parent 604beadbcd
commit 32925cd579
3 changed files with 3 additions and 2 deletions

View File

@ -43,6 +43,7 @@
<programlisting>
make CFLAGS+="-DGSEAL_ENABLE"
</programlisting>
Starting with 2.90.4, GTK+'s .pc files turn on GSEAL_ENABLE by default.
</para>
</section>

View File

@ -9,4 +9,4 @@ Description: GTK+ Drawing Kit (${target} target)
Version: @VERSION@
Requires: gdk-pixbuf-@GTK_API_VERSION@ @GDK_PACKAGES@
Libs: -L${libdir} -lgdk-${target}-@GTK_API_VERSION@ @GDK_EXTRA_LIBS@
Cflags: -I${includedir}/gtk-@GTK_API_VERSION@ -I${libdir}/gtk-@GTK_API_VERSION@/include @GDK_EXTRA_CFLAGS@
Cflags: -I${includedir}/gtk-@GTK_API_VERSION@ -I${libdir}/gtk-@GTK_API_VERSION@/include @GDK_EXTRA_CFLAGS@ -DGSEAL_ENABLE

View File

@ -12,4 +12,4 @@ Description: GTK+ Graphical UI Library (${target} target)
Version: @VERSION@
Requires: gdk-${target}-@GTK_API_VERSION@ @GTK_PACKAGES@
Libs: -L${libdir} -lgtk-${target}-@GTK_API_VERSION@ @GTK_EXTRA_LIBS@
Cflags: -I${includedir}/gtk-@GTK_API_VERSION@ @GTK_EXTRA_CFLAGS@
Cflags: -I${includedir}/gtk-@GTK_API_VERSION@ @GTK_EXTRA_CFLAGS@ -DGSEAL_ENABLE