From 3a97cc25ed60399ec6703692be47b15178f680c4 Mon Sep 17 00:00:00 2001 From: Kazuho Oku Date: Tue, 16 Mar 2010 10:12:20 +0900 Subject: [PATCH] fix errors --- configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index cf14734..9d1c31a 100644 --- a/configure.ac +++ b/configure.ac @@ -18,12 +18,12 @@ AC_ARG_WITH(mysql-config, [MYSQL_CONFIG="$withval"]) if test "$MYSQL_CONFIG" = "yes" -o -z "$MYSQL_CONFIG" then - MYSQL_CONFIG_PATH=`which mysql_config` 2> /dev/null + MYSQL_CONFIG_PATH=`which mysql_config 2> /dev/null` if test "$MYSQL_CONFIG_PATH" then MYSQL_CONFIG="$MYSQL_CONFIG_PATH" else - if "$MYSQL_CONFIG" = "yes" + if test "$MYSQL_CONFIG" = "yes" then AC_MSG_ERROR([could not find mysql_config]) fi @@ -50,12 +50,12 @@ AC_ARG_WITH(pg-config, [PG_CONFIG="$withval"]) if test "$PG_CONFIG" = "yes" -o -z "$PG_CONFIG" then - PG_CONFIG_PATH=`which pg_config` 2> /dev/null + PG_CONFIG_PATH=`which pg_config 2> /dev/null` if test "$PG_CONFIG_PATH" then PG_CONFIG="$PG_CONFIG_PATH" else - if "$PG_CONFIG" = "yes" + if test "$PG_CONFIG" = "yes" then AC_MSG_ERROR([could not find pg_config]) fi