[cairo-commit] configure.in

Behdad Esfahbod behdad at kemper.freedesktop.org
Tue Nov 7 12:07:37 PST 2006


 configure.in |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletion(-)

New commits:
diff-tree fc87d4148131ce01f645aec12a5e1b6d6b55d337 (from fc584e1fbb87752f6123fbc02c1c27e538dd13f0)
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Tue Nov 7 15:07:33 2006 -0500

    [configure] Err if a suitable pkg-config is not found

diff --git a/configure.in b/configure.in
index ade9df6..4bc697e 100644
--- a/configure.in
+++ b/configure.in
@@ -90,7 +90,11 @@ AC_CHECK_LIB(z, compress,
 
 dnl ===========================================================================
 
-PKG_PROG_PKG_CONFIG(0.19)
+PKGCONFIG_REQUIRED=0.19
+PKG_PROG_PKG_CONFIG($PKGCONFIG_REQUIRED)
+if test "x$PKG_CONFIG" = x; then
+	AC_MSG_ERROR([pkg-config >= $PKGCONFIG_REQUIRED required but not found (http://pkgconfig.freedesktop.org/)])
+fi
 
 dnl ===========================================================================
 dnl


More information about the cairo-commit mailing list