1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Description: Use PKG_PROG_PKG_CONFIG to detect pkg-config.
Author: Yavor Doganov <yavor@gnu.org>
Forwarded: https://gitlab.gnome.org/GNOME/planner/merge_requests/1
Last-Update: 2018-10-15
---
--- planner-0.14.6.orig/configure.in
+++ planner-0.14.6/configure.in
@@ -19,8 +19,8 @@
IT_PROG_INTLTOOL([0.35.5])
-AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
-if test x$PKG_CONFIG = xno ; then
+PKG_PROG_PKG_CONFIG
+if test -z "$PKG_CONFIG"; then
AC_MSG_ERROR([*** pkg-config not found. See http://www.freedesktop.org/software/pkgconfig/])
fi
|