From b65b05bec64f2158b309778f0bdb366ddbdca8e8 Mon Sep 17 00:00:00 2001 From: Anders F Bjorklund Date: Tue, 30 Aug 2011 14:24:19 +0200 Subject: [PATCH 1/4] fix configure syntax errors --- configure.ac | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index b616f8e..ea89b22 100644 --- a/configure.ac +++ b/configure.ac @@ -119,11 +119,11 @@ AM_CONDITIONAL(NATIVE_WIN32, [test "x$native_win32" = xyes]) if test "x$GLIB_CFLAGS" = "x" && test "x$GLIB_LIBS" = "x"; then AC_CHECK_PROGS([PKG_CONFIG], [pkg-config], []) - if test -n $PKG_CONFIG && $PKG_CONFIG --exists glib-2.0; then + if test -n "$PKG_CONFIG" && $PKG_CONFIG --exists glib-2.0; then GLIB_CFLAGS=`$PKG_CONFIG --cflags glib-2.0` GLIB_LIBS=`$PKG_CONFIG --libs glib-2.0` else - AC_MSG_ERROR([pkg-config and glib-2.0 not found, please set GLIB_CFLAGS and GLIB_LIBS to the correct values])] + AC_MSG_ERROR([pkg-config and glib-2.0 not found, please set GLIB_CFLAGS and GLIB_LIBS to the correct values]) fi fi AC_SUBST(GLIB_LIBS) -- 1.7.3.1