Include the -mms-bitfields flag in GTK_EXTRA_CFLAGS on Win32, so that it

2005-03-24  Tor Lillqvist  <tml@novell.com>

	* configure.in (GTK_EXTRA_CFLAGS): Include the -mms-bitfields flag
	in GTK_EXTRA_CFLAGS on Win32, so that it gets included in the
	gtk+-2.0.pc file and automatically used by dependents. MSVC users
	who use pkg-config will have to manually edit it out from
	gtk+-2.0.pc, sorry. Maybe pkg-config should be enhanced to support
	some kind of conditionals in .pc files?
This commit is contained in:
Tor Lillqvist 2005-03-24 15:14:12 +00:00 committed by Tor Lillqvist
parent 340cf63e28
commit 6323876b41
4 changed files with 31 additions and 0 deletions

View File

@ -1,3 +1,12 @@
2005-03-24 Tor Lillqvist <tml@novell.com>
* configure.in (GTK_EXTRA_CFLAGS): Include the -mms-bitfields flag
in GTK_EXTRA_CFLAGS on Win32, so that it gets included in the
gtk+-2.0.pc file and automatically used by dependents. MSVC users
who use pkg-config will have to manually edit it out from
gtk+-2.0.pc, sorry. Maybe pkg-config should be enhanced to support
some kind of conditionals in .pc files?
2005-03-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserbutton.c (update_combo_box): Remove

View File

@ -1,3 +1,12 @@
2005-03-24 Tor Lillqvist <tml@novell.com>
* configure.in (GTK_EXTRA_CFLAGS): Include the -mms-bitfields flag
in GTK_EXTRA_CFLAGS on Win32, so that it gets included in the
gtk+-2.0.pc file and automatically used by dependents. MSVC users
who use pkg-config will have to manually edit it out from
gtk+-2.0.pc, sorry. Maybe pkg-config should be enhanced to support
some kind of conditionals in .pc files?
2005-03-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserbutton.c (update_combo_box): Remove

View File

@ -1,3 +1,12 @@
2005-03-24 Tor Lillqvist <tml@novell.com>
* configure.in (GTK_EXTRA_CFLAGS): Include the -mms-bitfields flag
in GTK_EXTRA_CFLAGS on Win32, so that it gets included in the
gtk+-2.0.pc file and automatically used by dependents. MSVC users
who use pkg-config will have to manually edit it out from
gtk+-2.0.pc, sorry. Maybe pkg-config should be enhanced to support
some kind of conditionals in .pc files?
2005-03-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserbutton.c (update_combo_box): Remove

View File

@ -1501,6 +1501,10 @@ GTK_EXTRA_CFLAGS=
GTK_DEP_LIBS="$GDK_EXTRA_LIBS $GTK_DEP_LIBS_FOR_X `$PKG_CONFIG --libs $GDK_PIXBUF_PACKAGES $GDK_PACKAGES $GTK_PACKAGES` $GTK_EXTRA_LIBS $GDK_PIXBUF_EXTRA_LIBS"
GTK_DEP_CFLAGS="`$PKG_CONFIG --cflags gthread-2.0 $GDK_PIXBUF_PACKAGES $GDK_PACKAGES $GTK_PACKAGES` $GDK_PIXBUF_EXTRA_CFLAGS $GDK_EXTRA_CFLAGS $GTK_EXTRA_CFLAGS"
if test x"$os_win32" = xyes; then
GTK_EXTRA_CFLAGS="$msnative_struct"
fi
AC_SUBST(GTK_PACKAGES)
AC_SUBST(GTK_EXTRA_LIBS)
AC_SUBST(GTK_EXTRA_CFLAGS)