diff options
author | horst3180 | 2015-12-28 21:37:18 +0100 |
---|---|---|
committer | horst3180 | 2015-12-28 21:37:18 +0100 |
commit | 6865a39d53388b25d9b071b6ee6b826a1e45206d (patch) | |
tree | b10e28d81bbeccd8a3e6a2489b2e1b651fc7976f /m4 | |
parent | ebeac0f1843700374c221b66e393829d67a99327 (diff) | |
parent | 2753f47db6eae592a7d267960ae1917cd3c24d44 (diff) | |
download | solarc-theme-6865a39d53388b25d9b071b6ee6b826a1e45206d.tar.gz solarc-theme-6865a39d53388b25d9b071b6ee6b826a1e45206d.tar.xz solarc-theme-6865a39d53388b25d9b071b6ee6b826a1e45206d.zip |
Merge pull request #354 from somasis/master
m4/arc-gnome: Use correct pkg-config macro
Diffstat (limited to 'm4')
-rw-r--r-- | m4/arc-gnome.m4 | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/m4/arc-gnome.m4 b/m4/arc-gnome.m4 index 349d1e0..11a25db 100644 --- a/m4/arc-gnome.m4 +++ b/m4/arc-gnome.m4 @@ -2,7 +2,7 @@ # --------------- AC_DEFUN([ARC_GNOME], [ GNOMEDIR="$srcdir/common/gtk-3.0" - + PKG_PROG_PKG_CONFIG() AC_ARG_WITH( [gnome], [AS_HELP_STRING( @@ -10,12 +10,7 @@ AC_DEFUN([ARC_GNOME], [ [GNOME minor version] )], [GNOME_VERSION="$withval"], - [AC_CHECK_PROG(HAVE_PKG_CONFIG, pkg-config, yes) - AS_IF( - [test "x$HAVE_PKG_CONFIG" != "xyes"], - [AC_MSG_ERROR([Could not find pkg-config.])] - ) - PKG_CHECK_EXISTS( + [PKG_CHECK_EXISTS( [gtk+-3.0], [GNOME_VERSION=`$PKG_CONFIG --modversion gtk+-3.0`], [AC_MSG_ERROR([Could not determine GNOME version. Install GTK3 and its development files (libgtk-3-dev for Debian/Ubuntu based distros and gtk3-devel for RPM based distros).])] |