From a8cc560a4261db72fa233fea3c3144b4a263cb48 Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Tue, 20 Mar 2012 16:58:20 +0000 Subject: [PATCH] configure: Fix the pkg-config check for pango It looks like the then-clause of the AS_IF macro needs to be in square brackets otherwise the configure script gets generated wrong and you get this output when you run it: configure: line 17339: COGL_PANGO_DEP_CFLAGS: command not found configure: line 17340: C: command not found configure: line 17341: COGL_PANGO_DEP_LIBS: command not found configure: line 17342: linker: command not found Reviewed-by: Robert Bragg --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 705d67703..d42fefa70 100644 --- a/configure.ac +++ b/configure.ac @@ -1002,7 +1002,7 @@ fi AC_SUBST(COGL_PANGO_PKG_REQUIRES) AS_IF([test "x$enable_cogl_pango" = "xyes"], - PKG_CHECK_MODULES(COGL_PANGO_DEP, [$COGL_PANGO_PKG_REQUIRES]) + [PKG_CHECK_MODULES(COGL_PANGO_DEP, [$COGL_PANGO_PKG_REQUIRES])] ) dnl ================================================================