Skip to content

Commit

Permalink
fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuho committed Mar 16, 2010
1 parent d39d388 commit 3a97cc2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions configure.ac
Expand Up @@ -18,12 +18,12 @@ AC_ARG_WITH(mysql-config,
[MYSQL_CONFIG="$withval"]) [MYSQL_CONFIG="$withval"])
if test "$MYSQL_CONFIG" = "yes" -o -z "$MYSQL_CONFIG" if test "$MYSQL_CONFIG" = "yes" -o -z "$MYSQL_CONFIG"
then then
MYSQL_CONFIG_PATH=`which mysql_config` 2> /dev/null MYSQL_CONFIG_PATH=`which mysql_config 2> /dev/null`
if test "$MYSQL_CONFIG_PATH" if test "$MYSQL_CONFIG_PATH"
then then
MYSQL_CONFIG="$MYSQL_CONFIG_PATH" MYSQL_CONFIG="$MYSQL_CONFIG_PATH"
else else
if "$MYSQL_CONFIG" = "yes" if test "$MYSQL_CONFIG" = "yes"
then then
AC_MSG_ERROR([could not find mysql_config]) AC_MSG_ERROR([could not find mysql_config])
fi fi
Expand All @@ -50,12 +50,12 @@ AC_ARG_WITH(pg-config,
[PG_CONFIG="$withval"]) [PG_CONFIG="$withval"])
if test "$PG_CONFIG" = "yes" -o -z "$PG_CONFIG" if test "$PG_CONFIG" = "yes" -o -z "$PG_CONFIG"
then then
PG_CONFIG_PATH=`which pg_config` 2> /dev/null PG_CONFIG_PATH=`which pg_config 2> /dev/null`
if test "$PG_CONFIG_PATH" if test "$PG_CONFIG_PATH"
then then
PG_CONFIG="$PG_CONFIG_PATH" PG_CONFIG="$PG_CONFIG_PATH"
else else
if "$PG_CONFIG" = "yes" if test "$PG_CONFIG" = "yes"
then then
AC_MSG_ERROR([could not find pg_config]) AC_MSG_ERROR([could not find pg_config])
fi fi
Expand Down

0 comments on commit 3a97cc2

Please sign in to comment.