config: Change pkgconfig to check.

Add the extra actions: ccflags, cflags, ldflags and libs to allow the
fetching of these from pkg-config files.
This commit is contained in:
Chris Johns
2014-02-11 14:06:45 +11:00
parent 55e52f403d
commit c5b5493c19
5 changed files with 53 additions and 10 deletions

View File

@@ -13,6 +13,6 @@
#
# The GetText build instructions. We use 0.x.x Release 1.
#
%ifn %{pkgconfig gettext}
%ifn %{check gettext}
%include %{_configdir}/gettext-0-1.cfg
%endif

View File

@@ -15,6 +15,6 @@
#
# The GLib build instructions. We use 2.x.x Release 1.
#
%ifn %{pkgconfig glib-2.0}
%ifn %{check glib-2.0}
%include %{_configdir}/glib-2-1.cfg
%endif

View File

@@ -13,6 +13,6 @@
#
# The LibFFI build instructions. We use 3.x.x Release 1.
#
%ifn %{pkgconfig libffi}
%ifn %{check libffi}
%include %{_configdir}/libffi-3-1.cfg
%endif

View File

@@ -13,6 +13,6 @@
#
# The Pixman build instructions. We use 0.x.x Release 1.
#
%ifn %{pkgconfig pixman-1}
%ifn %{check pixman-1}
%include %{_configdir}/pixman-0-1.cfg
%endif