From f091405970a91887f6cb62b675a16241b8ec6fa9 Mon Sep 17 00:00:00 2001 From: tchernobog Date: Wed, 24 May 2006 08:01:13 +0000 Subject: [PATCH] - Add error message to configure if pkg-config is not present / is too old git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@584 3ecf2c5c-341e-0410-92b4-d18e462d057c --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 9d55cd4..00cc7be 100644 --- a/configure.ac +++ b/configure.ac @@ -73,6 +73,10 @@ AC_PROG_MAKE_SET dnl check for gtkmm & cairo PKG_PROG_PKG_CONFIG([0.20]) +if test -z "$PKG_CONFIG"; then + AC_MSG_ERROR([You may need to update your pkg-config installation]) +fi + PKG_CHECK_MODULES([CAIRO], [cairo >= $CAIRO_VERSION], :, AC_MSG_ERROR([$CAIRO_PKG_ERRORS]))