[Rt-commit] rt branch, 3.6-trunk, updated. 45a4419043de91389b5900a1e041d3702a13b34b

Alex M Vandiver alexmv at bestpractical.com
Thu Aug 27 14:58:37 EDT 2009


The branch, 3.6-trunk has been updated
       via  45a4419043de91389b5900a1e041d3702a13b34b (commit)
      from  f3002be81c2093f959ae29ba7019eedb96eeb9f7 (commit)

Summary of changes:
 configure.ac |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 45a4419043de91389b5900a1e041d3702a13b34b
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Fri Mar 13 21:50:08 2009 +0000

    Set default DBA based on database type
    
    (cherry-picked from 821c6d5a)

diff --git a/configure.ac b/configure.ac
index ad213e8..762eb34 100755
--- a/configure.ac
+++ b/configure.ac
@@ -145,11 +145,16 @@ AC_ARG_WITH(db-rt-host,
 AC_SUBST(DB_RT_HOST)
 
 dnl DB_DATABASE_ADMIN
+if test "$DB_TYPE" = "Pg" ; then
+        DB_DBA="postgres"
+else
+        DB_DBA="root"
+fi
 AC_ARG_WITH(db-dba,
 	    AC_HELP_STRING([--with-db-dba=DBA],
-	    		   [name of database administrator (default: root)]),
+	    		   [name of database administrator (default: root or postgres)]),
             DB_DBA=$withval,
-            DB_DBA=root)
+            DB_DBA="$DB_DBA")
 AC_SUBST(DB_DBA)
 
 dnl DB_DATABASE

-----------------------------------------------------------------------


More information about the Rt-commit mailing list