aboutsummaryrefslogtreecommitdiff
path: root/m4/mssql.m4
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-06-03 15:02:51 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-06-03 15:02:51 +0200
commitaaf4c660e0882566a2855a634c39ffe6f8816ece (patch)
treef3f38d5e7cfd005d4712dd2af7eb143a52542137 /m4/mssql.m4
parent2fe70fbeb57cd457b913c376c1b987522c0c5d58 (diff)
Use database name in options and driver files (autotools part)
Diffstat (limited to 'm4/mssql.m4')
-rw-r--r--m4/mssql.m438
1 files changed, 19 insertions, 19 deletions
diff --git a/m4/mssql.m4 b/m4/mssql.m4
index dea9b98..38f2cee 100644
--- a/m4/mssql.m4
+++ b/m4/mssql.m4
@@ -176,39 +176,39 @@ fi
#
AC_CONFIG_COMMANDS([mssql.options],
[
- rm -f db.options
- echo '#! /bin/sh' >db-driver
+ rm -f mssql.options
+ echo '#! /bin/sh' >mssql-driver
- echo 'opt=' >>db-driver
+ echo 'opt=' >>mssql-driver
if test x$mssql_user_set = xyes; then
- echo "--user '$mssql_user'" >>db.options
- echo 'opt="$opt -U '"$mssql_user"'"' >>db-driver
+ echo "--user '$mssql_user'" >>mssql.options
+ echo 'opt="$opt -U '"$mssql_user"'"' >>mssql-driver
- echo "--password '$mssql_password'" >>db.options
- echo 'opt="$opt -P '"$mssql_password"'"' >>db-driver
+ echo "--password '$mssql_password'" >>mssql.options
+ echo 'opt="$opt -P '"$mssql_password"'"' >>mssql-driver
fi
if test x$mssql_db_set = xyes; then
- echo "--database '$mssql_db'" >>db.options
- echo 'opt="$opt -d '"$mssql_db"'"' >>db-driver
+ echo "--database '$mssql_db'" >>mssql.options
+ echo 'opt="$opt -d '"$mssql_db"'"' >>mssql-driver
fi
- echo "--server '$mssql_server'" >>db.options
- echo 'opt="$opt -S '"$mssql_server"'"' >>db-driver
+ echo "--server '$mssql_server'" >>mssql.options
+ echo 'opt="$opt -S '"$mssql_server"'"' >>mssql-driver
if test x$mssql_driver_set = xyes; then
- echo "--driver '$mssql_driver'" >>db.options
+ echo "--driver '$mssql_driver'" >>mssql.options
fi
- echo 'opt="$opt -x -r -b"' >>db-driver
- echo 'if test x$[]1 != x; then' >>db-driver
- echo " exec $mssql_client "'$opt -i $[]1' >>db-driver
- echo "else" >>db-driver
- echo " exec $mssql_client "'$opt' >>db-driver
- echo "fi" >>db-driver
+ echo 'opt="$opt -x -r -b"' >>mssql-driver
+ echo 'if test x$[]1 != x; then' >>mssql-driver
+ echo " exec $mssql_client "'$opt -i $[]1' >>mssql-driver
+ echo "else" >>mssql-driver
+ echo " exec $mssql_client "'$opt' >>mssql-driver
+ echo "fi" >>mssql-driver
- chmod +x db-driver
+ chmod +x mssql-driver
],
[
mssql_client="$mssql_client"