From 9273c36d6afb84cd56544761afa0dd52e1f3b653 Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Sat, 23 Jul 2011 21:01:11 +0200 Subject: Correct psql option --- m4/pgsql.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'm4') diff --git a/m4/pgsql.m4 b/m4/pgsql.m4 index b050ce1..f9e0a8e 100644 --- a/m4/pgsql.m4 +++ b/m4/pgsql.m4 @@ -159,8 +159,8 @@ AC_CONFIG_COMMANDS([pgsql.options], fi if test x$pgsql_db_set = xyes; then - echo "--database '$pgsql_db'" >>db.options - echo 'opt="$opt --database='"$pgsql_db"'"' >>db-driver + echo "--dbname '$pgsql_db'" >>db.options + echo 'opt="$opt --dbname='"$pgsql_db"'"' >>db-driver fi if test x$pgsql_host_set = xyes; then -- cgit v1.1