aboutsummaryrefslogtreecommitdiff
path: root/m4/pgsql.m4
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-07-23 21:01:11 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-07-23 21:01:11 +0200
commit9273c36d6afb84cd56544761afa0dd52e1f3b653 (patch)
treea84ac1396a1d3ee150060c650a6c5cd7d294732b /m4/pgsql.m4
parent9ec2dfce93ff2df58732b556f477595b2ce00682 (diff)
Correct psql option
Diffstat (limited to 'm4/pgsql.m4')
-rw-r--r--m4/pgsql.m44
1 files changed, 2 insertions, 2 deletions
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