#! /bin/sh
# From configure.ac Revision.
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for RT 3.8.10.
+# Generated by GNU Autoconf 2.68 for RT rt-4.0.7.
#
# Report bugs to <rt-bugs@bestpractical.com>.
#
# Identity of this package.
PACKAGE_NAME='RT'
PACKAGE_TARNAME='rt'
-PACKAGE_VERSION='3.8.10'
-PACKAGE_STRING='RT 3.8.10'
+PACKAGE_VERSION='rt-4.0.7'
+PACKAGE_STRING='RT rt-4.0.7'
PACKAGE_BUGREPORT='rt-bugs@bestpractical.com'
PACKAGE_URL=''
-ac_unique_file="lib/RT.pm.in"
-ac_default_prefix=/opt/rt3
+ac_unique_file="lib/RT.pm"
+ac_default_prefix=/opt/rt4
ac_subst_vars='LTLIBOBJS
LIBOBJS
RT_LOG_PATH_R
+LOCAL_PLUGIN_PATH_R
LOCAL_LIB_PATH_R
LOCAL_LEXICON_PATH_R
MASON_LOCAL_HTML_PATH_R
MASON_SESSION_PATH_R
MASON_DATA_PATH_R
RT_PLUGIN_PATH_R
+RT_LEXICON_PATH_R
RT_FONT_PATH_R
RT_MAN_PATH_R
RT_VAR_PATH_R
RT_DOC_PATH_R
RT_PATH_R
RT_LOG_PATH
+LOCAL_PLUGIN_PATH
LOCAL_LIB_PATH
LOCAL_LEXICON_PATH
MASON_LOCAL_HTML_PATH
RT_BIN_PATH
CONFIG_FILE_PATH
RT_ETC_PATH
+RT_LEXICON_PATH
RT_LIB_PATH
RT_LOCAL_PATH
RT_DOC_PATH
RT_VERSION_PATCH
RT_VERSION_MINOR
RT_VERSION_MAJOR
+RT_SSL_MAILGATE
RT_GPG
RT_GD
RT_GRAPHVIZ
customlexdir
exp_customhtmldir
customhtmldir
+exp_customplugindir
+customplugindir
exp_custometcdir
custometcdir
exp_customdir
fontdir
exp_htmldir
exp_datadir
+exp_lexdir
+lexdir
exp_libdir
exp_mandir
exp_sysconfdir
exp_bindir
exp_exec_prefix
exp_prefix
-SPEEDY_BIN
WEB_HANDLER
PERL
-AWK
INSTALL_DATA
INSTALL_SCRIPT
INSTALL_PROGRAM
rt_version_patch
rt_version_minor
rt_version_major
+CONFIGURE_INCANT
target_alias
host_alias
build_alias
ac_user_opts='
enable_option_checking
with_web_handler
-with_speedycgi
enable_layout
with_bin_owner
with_libs_owner
with_gd
enable_gd
enable_gpg
+with_ssl_mailgate
+enable_ssl_mailgate
'
ac_precious_vars='build_alias
host_alias
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures RT 3.8.10 to adapt to many kinds of systems.
+\`configure' configures RT rt-4.0.7 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of RT 3.8.10:";;
+ short | recursive ) echo "Configuration of RT rt-4.0.7:";;
esac
cat <<\_ACEOF
--enable-graphviz Turns on support for RT's GraphViz dependency charts
--enable-gd Turns on support for RT's GD pie and bar charts
--enable-gpg Turns on GNU Privacy Guard (GPG) support
+ --enable-ssl-mailgate Turns on support for HTTPS in rt-mailgate
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-web-handler=LIST comma separated list of web-handlers RT will be able
- to use. Default is fastcgi when modperl1, modperl2,
- fastcgi, fastcgi-server, and speedycgi are valid. To
- successfuly run RT you need only one. only one.
- --with-speedycgi=/path/to/speedy
- path to your speedycgi binary, if it exists
+ to use. Default is fastcgi. Valid values are
+ modperl1, modperl2, fastcgi and standalone. To
+ successfully run RT you need only one.
--with-bin-owner=OWNER user that will own RT binaries (default root)
--with-libs-owner=OWNER user that will own RT libraries (default root)
--with-libs-group=GROUP group that will own RT binaries (default bin)
--with-db-dba=DBA name of database administrator (default: root or
postgres)
--with-db-database=DBNAME
- name of the database to use (default: rt3)
+ name of the database to use (default: rt4)
--with-db-rt-user=DBUSER
name of database user (default: rt_user)
--with-db-rt-pass=PASSWORD
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-RT configure 3.8.10
+RT configure rt-4.0.7
generated by GNU Autoconf 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by RT $as_me 3.8.10, which was
+It was created by RT $as_me rt-4.0.7, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@
-rt_version_major=3
+CONFIGURE_INCANT="$0 $@"
-rt_version_minor=8
-rt_version_patch=10
+rt_version_major=4
+
+rt_version_minor=0
+
+rt_version_patch=7
test "x$rt_version_major" = 'x' && rt_version_major=0
test "x$rt_version_minor" = 'x' && rt_version_minor=0
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-for ac_prog in gawk mawk nawk awk
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_AWK+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$AWK"; then
- ac_cv_prog_AWK="$AWK" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_AWK="$ac_prog"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-AWK=$ac_cv_prog_AWK
-if test -n "$AWK"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
-$as_echo "$AWK" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -n "$AWK" && break
-done
-
# Extract the first word of "perl", so it can be a program name with args.
set dummy perl; ac_word=$2
WEB_HANDLER=fastcgi
fi
-my_web_handler_test=$($PERL -e 'print "ok" unless grep $_ !~ /^(modperl1|modperl2|fastcgi(?:-server)?|speedycgi|standalone)$/i, grep defined && length, split /\s*,\s*/, $ARGV0' $WEB_HANDLER)
+my_web_handler_test=$($PERL -e 'print "ok" unless grep $_ !~ /^(modperl1|modperl2|fastcgi|standalone)$/i, grep defined && length, split /\s*,\s*/, $ARGV[0]' $WEB_HANDLER)
if test "$my_web_handler_test" != "ok"; then
- as_fn_error $? "Only modperl1, modperl2, fastcgi, fastcgi-server, speedycgi and standalone are valid web-handlers" "$LINENO" 5
-fi
-
-
-
-# Check whether --with-speedycgi was given.
-if test "${with_speedycgi+set}" = set; then :
- withval=$with_speedycgi; SPEEDY_BIN=$withval
-else
- SPEEDY_BIN=/usr/local/bin/speedy
-fi
-
-if test "$WEB_HANDLER" = 'speedycgi' -a ! -x "$SPEEDY_BIN"; then
- as_fn_error $? "cannot find speedycgi binary" "$LINENO" 5
+ as_fn_error $? "Only modperl1, modperl2, fastcgi and standalone are valid web-handlers" "$LINENO" 5
fi
for var in prefix exec_prefix bindir sbindir \
sysconfdir mandir libdir datadir htmldir fontdir\
- localstatedir logfiledir masonstatedir \
+ lexdir localstatedir logfiledir masonstatedir \
sessionstatedir customdir custometcdir customhtmldir \
- customlexdir customlibdir manualdir; do
+ customlexdir customplugindir customlibdir manualdir; do
eval "val=\"\$$var\""
val=`echo $val | sed -e 's:\(.\)/*$:\1:'`
val=`echo $val |
+ ap_last=''
+ ap_cur='$lexdir'
+ while test "x${ap_cur}" != "x${ap_last}"; do
+ ap_last="${ap_cur}"
+ ap_cur=`eval "echo ${ap_cur}"`
+ done
+ exp_lexdir="${ap_cur}"
+
+
+
+
+
+
ap_last=''
ap_cur='$datadir'
while test "x${ap_cur}" != "x${ap_last}"; do
+ ap_last=''
+ ap_cur='$customplugindir'
+ while test "x${ap_cur}" != "x${ap_last}"; do
+ ap_last="${ap_cur}"
+ ap_cur=`eval "echo ${ap_cur}"`
+ done
+ exp_customplugindir="${ap_cur}"
+
+
+
+
+
+
ap_last=''
ap_cur='$customhtmldir'
while test "x${ap_cur}" != "x${ap_last}"; do
DB_TYPE=mysql
fi
-if test "$DB_TYPE" != 'mysql' -a "$DB_TYPE" != 'Pg' -a "$DB_TYPE" != 'SQLite' -a "$DB_TYPE" != 'Oracle' -a "$DB_TYPE" != 'Informix' -a "$DB_TYPE" != 'Sybase' ; then
+if test "$DB_TYPE" != 'mysql' -a "$DB_TYPE" != 'Pg' -a "$DB_TYPE" != 'SQLite' -a "$DB_TYPE" != 'Oracle' ; then
as_fn_error $? "Only Oracle, Pg, mysql and SQLite are valid db types" "$LINENO" 5
fi
DATABASE_ENV_PREF="\$ENV{'ORACLE_HOME'} = '$ORACLE_HOME';"
fi
-if test "$DB_TYPE" = 'Sybase'; then
- test "x$SYBASE" = 'x' && as_fn_error $? "Please declare the SYBASE_HOME environment variable" "$LINENO" 5
- DATABASE_ENV_PREF="\$ENV{'SYBASE'} = '$SYBASE';"
-fi
if test "${with_db_database+set}" = set; then :
withval=$with_db_database; DB_DATABASE=$withval
else
- DB_DATABASE=rt3
+ DB_DATABASE=rt4
fi
# Test for valid database names
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if database name is set" >&5
+$as_echo_n "checking if database name is set... " >&6; }
+ if echo $DB_DATABASE | $PERL -e 'exit(1) unless <> =~ /\S/' ; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+ as_fn_error $? "no. database name is not set" "$LINENO" 5
+
+fi
+
if test "$DB_TYPE" = "mysql" ; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if database name is valid" >&5
$as_echo_n "checking if database name is valid... " >&6; }
- if echo $DB_DATABASE | $AWK '/-/ { exit 1 }' ; then :
+ if echo $DB_DATABASE | $PERL -e 'exit(1) if <> =~ /-/'; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
else
+# Check whether --with-ssl-mailgate was given.
+if test "${with_ssl_mailgate+set}" = set; then :
+ withval=$with_ssl_mailgate; RT_SSL_MAILGATE=$withval
+else
+ RT_SSL_MAILGATE="0"
+fi
+
+# Check whether --enable-ssl-mailgate was given.
+if test "${enable_ssl_mailgate+set}" = set; then :
+ enableval=$enable_ssl_mailgate; RT_SSL_MAILGATE=$enableval
+else
+ RT_SSL_MAILGATE=$RT_SSL_MAILGATE
+fi
+
+if test "$RT_SSL_MAILGATE" = yes; then
+ RT_SSL_MAILGATE="1"
+else
+ RT_SSL_MAILGATE="0"
+fi
+
+
+
RT_VERSION_MAJOR=${rt_version_major}
RT_LIB_PATH=${exp_libdir}
+RT_LEXICON_PATH=${exp_lexdir}
+
RT_ETC_PATH=${exp_sysconfdir}
CONFIG_FILE_PATH=${exp_sysconfdir}
LOCAL_LIB_PATH=${exp_customlibdir}
+LOCAL_PLUGIN_PATH=${exp_customplugindir}
+
RT_LOG_PATH=${exp_logfiledir}
-if test ${exp_sysconfdir} = "etc"; then
+if test ${exp_sysconfdir} = "etc" -o ${exp_sysconfdir} = "etc/rt"; then
RT_PATH_R=${exp_prefix}
RT_DOC_PATH_R=${exp_prefix}/${exp_manualdir}
RT_FONT_PATH_R=${exp_prefix}/${exp_fontdir}
+RT_LEXICON_PATH_R=${exp_prefix}/${exp_lexdir}
+
RT_PLUGIN_PATH_R=${exp_prefix}/${exp_plugindir}
MASON_DATA_PATH_R=${exp_prefix}/${exp_masonstatedir}
LOCAL_LIB_PATH_R=${exp_prefix}/${exp_customlibdir}
+LOCAL_PLUGIN_PATH_R=${exp_prefix}/${exp_customplugindir}
+
RT_LOG_PATH_R=${exp_prefix}/${exp_logfiledir}
else
RT_LIB_PATH_R=${exp_libdir}
+RT_LEXICON_PATH_R=${exp_lexdir}
+
RT_ETC_PATH_R=${exp_sysconfdir}
RT_PLUGIN_PATH_R=${exp_plugindir}
LOCAL_LEXICON_PATH_R=${exp_customlexdir}
+LOCAL_PLUGIN_PATH_R=${exp_customplugindir}
+
LOCAL_LIB_PATH_R=${exp_customlibdir}
RT_LOG_PATH_R=${exp_logfiledir}
fi
-ac_config_files="$ac_config_files etc/upgrade/3.8-branded-queues-extension etc/upgrade/3.8-ical-extension etc/upgrade/split-out-cf-categories etc/upgrade/generate-rtaddressregexp etc/upgrade/vulnerable-passwords sbin/rt-attributes-viewer sbin/rt-dump-database sbin/rt-setup-database sbin/rt-test-dependencies sbin/rt-email-digest sbin/rt-email-dashboards sbin/rt-clean-sessions sbin/rt-shredder sbin/rt-validator sbin/rt-email-group-admin sbin/rt-server bin/fastcgi_server bin/mason_handler.fcgi bin/mason_handler.scgi bin/standalone_httpd bin/rt-crontool bin/rt-mailgate bin/rt"
+ac_config_files="$ac_config_files etc/upgrade/3.8-branded-queues-extension etc/upgrade/3.8-ical-extension etc/upgrade/split-out-cf-categories etc/upgrade/generate-rtaddressregexp etc/upgrade/upgrade-articles etc/upgrade/vulnerable-passwords sbin/rt-attributes-viewer sbin/rt-preferences-viewer sbin/rt-session-viewer sbin/rt-dump-metadata sbin/rt-setup-database sbin/rt-test-dependencies sbin/rt-email-digest sbin/rt-email-dashboards sbin/rt-clean-sessions sbin/rt-shredder sbin/rt-validator sbin/rt-email-group-admin sbin/rt-server sbin/rt-server.fcgi sbin/standalone_httpd sbin/rt-setup-fulltext-index sbin/rt-fulltext-indexer bin/rt-crontool bin/rt-mailgate bin/rt"
-ac_config_files="$ac_config_files Makefile etc/RT_Config.pm lib/RT.pm bin/mason_handler.svc bin/webmux.pl t/data/configs/apache2.2+mod_perl.conf t/data/configs/apache2.2+fastcgi.conf"
+ac_config_files="$ac_config_files Makefile etc/RT_Config.pm lib/RT/Generated.pm t/data/configs/apache2.2+mod_perl.conf t/data/configs/apache2.2+fastcgi.conf"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by RT $as_me 3.8.10, which was
+This file was extended by RT $as_me rt-4.0.7, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-RT config.status 3.8.10
+RT config.status rt-4.0.7
configured by $0, generated by GNU Autoconf 2.68,
with options \\"\$ac_cs_config\\"
ac_pwd='$ac_pwd'
srcdir='$srcdir'
INSTALL='$INSTALL'
-AWK='$AWK'
test -n "\$AWK" || AWK=awk
_ACEOF
"etc/upgrade/3.8-ical-extension") CONFIG_FILES="$CONFIG_FILES etc/upgrade/3.8-ical-extension" ;;
"etc/upgrade/split-out-cf-categories") CONFIG_FILES="$CONFIG_FILES etc/upgrade/split-out-cf-categories" ;;
"etc/upgrade/generate-rtaddressregexp") CONFIG_FILES="$CONFIG_FILES etc/upgrade/generate-rtaddressregexp" ;;
+ "etc/upgrade/upgrade-articles") CONFIG_FILES="$CONFIG_FILES etc/upgrade/upgrade-articles" ;;
"etc/upgrade/vulnerable-passwords") CONFIG_FILES="$CONFIG_FILES etc/upgrade/vulnerable-passwords" ;;
"sbin/rt-attributes-viewer") CONFIG_FILES="$CONFIG_FILES sbin/rt-attributes-viewer" ;;
- "sbin/rt-dump-database") CONFIG_FILES="$CONFIG_FILES sbin/rt-dump-database" ;;
+ "sbin/rt-preferences-viewer") CONFIG_FILES="$CONFIG_FILES sbin/rt-preferences-viewer" ;;
+ "sbin/rt-session-viewer") CONFIG_FILES="$CONFIG_FILES sbin/rt-session-viewer" ;;
+ "sbin/rt-dump-metadata") CONFIG_FILES="$CONFIG_FILES sbin/rt-dump-metadata" ;;
"sbin/rt-setup-database") CONFIG_FILES="$CONFIG_FILES sbin/rt-setup-database" ;;
"sbin/rt-test-dependencies") CONFIG_FILES="$CONFIG_FILES sbin/rt-test-dependencies" ;;
"sbin/rt-email-digest") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-digest" ;;
"sbin/rt-validator") CONFIG_FILES="$CONFIG_FILES sbin/rt-validator" ;;
"sbin/rt-email-group-admin") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-group-admin" ;;
"sbin/rt-server") CONFIG_FILES="$CONFIG_FILES sbin/rt-server" ;;
- "bin/fastcgi_server") CONFIG_FILES="$CONFIG_FILES bin/fastcgi_server" ;;
- "bin/mason_handler.fcgi") CONFIG_FILES="$CONFIG_FILES bin/mason_handler.fcgi" ;;
- "bin/mason_handler.scgi") CONFIG_FILES="$CONFIG_FILES bin/mason_handler.scgi" ;;
- "bin/standalone_httpd") CONFIG_FILES="$CONFIG_FILES bin/standalone_httpd" ;;
+ "sbin/rt-server.fcgi") CONFIG_FILES="$CONFIG_FILES sbin/rt-server.fcgi" ;;
+ "sbin/standalone_httpd") CONFIG_FILES="$CONFIG_FILES sbin/standalone_httpd" ;;
+ "sbin/rt-setup-fulltext-index") CONFIG_FILES="$CONFIG_FILES sbin/rt-setup-fulltext-index" ;;
+ "sbin/rt-fulltext-indexer") CONFIG_FILES="$CONFIG_FILES sbin/rt-fulltext-indexer" ;;
"bin/rt-crontool") CONFIG_FILES="$CONFIG_FILES bin/rt-crontool" ;;
"bin/rt-mailgate") CONFIG_FILES="$CONFIG_FILES bin/rt-mailgate" ;;
"bin/rt") CONFIG_FILES="$CONFIG_FILES bin/rt" ;;
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
"etc/RT_Config.pm") CONFIG_FILES="$CONFIG_FILES etc/RT_Config.pm" ;;
- "lib/RT.pm") CONFIG_FILES="$CONFIG_FILES lib/RT.pm" ;;
- "bin/mason_handler.svc") CONFIG_FILES="$CONFIG_FILES bin/mason_handler.svc" ;;
- "bin/webmux.pl") CONFIG_FILES="$CONFIG_FILES bin/webmux.pl" ;;
+ "lib/RT/Generated.pm") CONFIG_FILES="$CONFIG_FILES lib/RT/Generated.pm" ;;
"t/data/configs/apache2.2+mod_perl.conf") CONFIG_FILES="$CONFIG_FILES t/data/configs/apache2.2+mod_perl.conf" ;;
"t/data/configs/apache2.2+fastcgi.conf") CONFIG_FILES="$CONFIG_FILES t/data/configs/apache2.2+fastcgi.conf" ;;
;;
"etc/upgrade/generate-rtaddressregexp":F) chmod ug+x $ac_file
;;
+ "etc/upgrade/upgrade-articles":F) chmod ug+x $ac_file
+ ;;
"etc/upgrade/vulnerable-passwords":F) chmod ug+x $ac_file
;;
"sbin/rt-attributes-viewer":F) chmod ug+x $ac_file
;;
- "sbin/rt-dump-database":F) chmod ug+x $ac_file
+ "sbin/rt-preferences-viewer":F) chmod ug+x $ac_file
+ ;;
+ "sbin/rt-session-viewer":F) chmod ug+x $ac_file
+ ;;
+ "sbin/rt-dump-metadata":F) chmod ug+x $ac_file
;;
"sbin/rt-setup-database":F) chmod ug+x $ac_file
;;
;;
"sbin/rt-server":F) chmod ug+x $ac_file
;;
- "bin/fastcgi_server":F) chmod ug+x $ac_file
+ "sbin/rt-server.fcgi":F) chmod ug+x $ac_file
;;
- "bin/mason_handler.fcgi":F) chmod ug+x $ac_file
+ "sbin/standalone_httpd":F) chmod ug+x $ac_file
;;
- "bin/mason_handler.scgi":F) chmod ug+x $ac_file
+ "sbin/rt-setup-fulltext-index":F) chmod ug+x $ac_file
;;
- "bin/standalone_httpd":F) chmod ug+x $ac_file
+ "sbin/rt-fulltext-indexer":F) chmod ug+x $ac_file
;;
"bin/rt-crontool":F) chmod ug+x $ac_file
;;