aboutsummaryrefslogtreecommitdiff
path: root/m4/mysql.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/mysql.m4')
-rw-r--r--m4/mysql.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/m4/mysql.m4 b/m4/mysql.m4
index 102f150..a93efe6 100644
--- a/m4/mysql.m4
+++ b/m4/mysql.m4
@@ -207,6 +207,8 @@ AC_CONFIG_COMMANDS([mysql.options],
rm -f db.options
echo '#! /bin/sh' >db-driver
+ echo 'opt=' >>db-driver
+
if test x$mysql_user_set = xyes; then
echo "--user '$mysql_user'" >>db.options
echo 'opt="$opt --user='"$mysql_user"'"' >>db-driver