[cogl] configure: Fix the pkg-config check for pango



commit a8cc560a4261db72fa233fea3c3144b4a263cb48
Author: Neil Roberts <neil linux intel com>
Date:   Tue Mar 20 16:58:20 2012 +0000

    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 <robert linux intel com>

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 705d677..d42fefa 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 ================================================================



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]