diff options
author | Neil Roberts <neil@linux.intel.com> | 2012-03-20 16:58:20 +0000 |
---|---|---|
committer | Neil Roberts <neil@linux.intel.com> | 2012-03-20 17:13:09 +0000 |
commit | a8cc560a4261db72fa233fea3c3144b4a263cb48 (patch) | |
tree | cfafd5c788719d632b67671b25a2e1ffac04c738 | |
parent | 96044c7d6be689f76cc612fca0e4d652978801cb (diff) | |
download | cogl-a8cc560a4261db72fa233fea3c3144b4a263cb48.tar.gz |
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>
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 705d6770..d42fefa7 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 ================================================================ |