configure: Group pkg-config checks based on how they are used

Group the pkg-config checks so that pkg-config can remove duplicated CFLAGS
and LIBS.

https://bugzilla.gnome.org/show_bug.cgi?id=636593
This commit is contained in:
Thomas Wood 2011-02-19 16:46:26 +00:00
parent 645c4f85b1
commit e2f944a66a
20 changed files with 99 additions and 167 deletions

View file

@ -78,8 +78,8 @@ expand_content_files=
# signals and properties.
# e.g. GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
GTKDOC_CFLAGS=$(CAPPLET_CFLAGS)
GTKDOC_LIBS=$(CAPPLET_LIBS) $(top_builddir)/libgnome-control-center/libgnome-control-center.la
GTKDOC_CFLAGS=$(LIBGNOME_CONTROL_CENTER_CFLAGS)
GTKDOC_LIBS=$(LIBGNOME_CONTROL_CENTER_LIBS) $(top_builddir)/libgnome-control-center/libgnome-control-center.la
# This includes the standard gtk-doc make rules, copied by gtkdocize.
include $(top_srcdir)/gtk-doc.make