X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=rt%2Fconfigure.ac;h=209744dc26f5c7a8420ce85d3fe3e18324f93c35;hb=b50700f72235bcbc23df43f4cf550b5676d70ed7;hp=1866a1d7f01e8e3cfac89e0137336b5e50f70a83;hpb=5e05724a635a22776f1b973f5d7e77989da4e048;p=freeside.git diff --git a/rt/configure.ac b/rt/configure.ac index 1866a1d7f..209744dc2 100644 --- a/rt/configure.ac +++ b/rt/configure.ac @@ -3,11 +3,11 @@ dnl dnl Process this file with autoconf to produce a configure script dnl dnl Embed in generated ./configure script the following CVS info: -AC_REVISION($Revision: 1.1.1.8 $)dnl +AC_REVISION($Revision: 1.1.1.10 $)dnl dnl Setup autoconf AC_PREREQ(2.53) -AC_INIT(RT, [3.4.6], [rt-bugs@fsck.com]) +AC_INIT(RT, [3.6.10], [rt-bugs@bestpractical.com]) AC_CONFIG_SRCDIR([lib/RT.pm.in]) dnl Extract RT version number components @@ -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 @@ -202,6 +207,8 @@ AC_ARG_WITH(rt-group, AC_SUBST(RTGROUP) dnl INSTALL AS ME +# XXX TODO: The command below to figure out the group brokenly relies on +# output order (and "id -gn" doesn't work on all platforms). my_group=$(groups|cut -f1 -d' ') my_user=${USER:-$LOGNAME} AC_ARG_WITH(my-user-group, @@ -234,6 +241,15 @@ AC_ARG_WITH(apachectl, APACHECTL=`which apachectl`) AC_SUBST(APACHECTL) +dnl RT's standalone pure perl server +AC_ARG_WITH(devel-mode, + AC_HELP_STRING([--with-standalone], + [Install modules for pure perl standalone server]), + + RT_STANDALONE="1", + RT_STANDALONE="0") +AC_SUBST(RT_STANDALONE) + dnl RT's "maintainer mode" AC_ARG_WITH(devel-mode, AC_HELP_STRING([--with-devel-mode],