- 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
This commit is contained in:
tchernobog 2006-05-24 08:01:13 +00:00
parent e3724108c0
commit f091405970
1 changed files with 4 additions and 0 deletions

View File

@ -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]))