PACKAGE_BUGREPORT=
ac_unique_file="autoconf/configure.in"
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS BUILD_DIR TRUEPRG FALSEPRG AWK INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA MV RM CP ECHO AR build build_cpu build_vendor build_os host host_cpu host_vendor host_os HAVE_SUN_OS_TRUE HAVE_SUN_OS_FALSE HAVE_OSF1_OS_TRUE HAVE_OSF1_OS_FALSE HAVE_AIX_OS_TRUE HAVE_AIX_OS_FALSE HAVE_HPUX_OS_TRUE HAVE_HPUX_OS_FALSE HAVE_LINUX_OS_TRUE HAVE_LINUX_OS_FALSE HAVE_FREEBSD_OS_TRUE HAVE_FREEBSD_OS_FALSE HAVE_NETBSD_OS_TRUE HAVE_NETBSD_OS_FALSE HAVE_OPENBSD_OS_TRUE HAVE_OPENBSD_OS_FALSE HAVE_BSDI_OS_TRUE HAVE_BSDI_OS_FALSE HAVE_SGI_OS_TRUE HAVE_SGI_OS_FALSE HAVE_IRIX_OS_TRUE HAVE_IRIX_OS_FALSE HAVE_DARWIN_OS_TRUE HAVE_DARWIN_OS_FALSE bacula hostname DISTNAME DISTVER LIBOBJS LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS BUILD_DIR bacula VERSION DATE TRUEPRG FALSEPRG AWK INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA MV RM CP ECHO AR build build_cpu build_vendor build_os host host_cpu host_vendor host_os HAVE_SUN_OS_TRUE HAVE_SUN_OS_FALSE HAVE_OSF1_OS_TRUE HAVE_OSF1_OS_FALSE HAVE_AIX_OS_TRUE HAVE_AIX_OS_FALSE HAVE_HPUX_OS_TRUE HAVE_HPUX_OS_FALSE HAVE_LINUX_OS_TRUE HAVE_LINUX_OS_FALSE HAVE_FREEBSD_OS_TRUE HAVE_FREEBSD_OS_FALSE HAVE_NETBSD_OS_TRUE HAVE_NETBSD_OS_FALSE HAVE_OPENBSD_OS_TRUE HAVE_OPENBSD_OS_FALSE HAVE_BSDI_OS_TRUE HAVE_BSDI_OS_FALSE HAVE_SGI_OS_TRUE HAVE_SGI_OS_FALSE HAVE_IRIX_OS_TRUE HAVE_IRIX_OS_FALSE HAVE_DARWIN_OS_TRUE HAVE_DARWIN_OS_FALSE bimagemgr_cgidir bimagemgr_docdir bimagemgr_binowner bimagemgr_bingroup bimagemgr_dataowner bimagemgr_datagroup hostname DISTNAME DISTVER LIBOBJS LTLIBOBJS'
ac_subst_files='MCOMMON'
# Initialize some variables set by options.
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-bacula=PATH specify path to Bacula source
+ --with-bimagemgr-cgidir=DIR specify bimagemgr cgi-bin dir
+ --with-bimagemgr-docdir=DIR specify bimagemgr doc root dir
+ --with-bimagemgr-binowner=USER specify bimagemgr binary file owner
+ --with-bimagemgr-bingroup=USER specify bimagemgr binary file group
+ --with-bimagemgr-dataowner=USER specify bimagemgr data file owner
+ --with-bimagemgr-datagroup=USER specify bimagemgr data file group
_ACEOF
fi
+# ------------------------------------------
+# Where to get Bacula source
+# ------------------------------------------
+
+# Check whether --with-bacula or --without-bacula was given.
+if test "${with_bacula+set}" = set; then
+ withval="$with_bacula"
+
+ if test "x$withval" != "xno" ; then
+ bacula=$withval
+ fi
+
+
+fi;
+
+
+if test "x$bacula" = "x" ; then
+ { { echo "$as_me:$LINENO: error: The Bacula source directory must be specified. Use --with-bacula=<path>" >&5
+echo "$as_me: error: The Bacula source directory must be specified. Use --with-bacula=<path>" >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+VERSION=`sed -n -e 's/^.*VERSION.*"\(.*\)"$/\1/p' ${bacula}/src/version.h`
+DATE=`sed -n -e 's/^.* \t*BDATE.*"\(.*\)"$/\1/p' ${bacula}/src/version.h`
+if test "x$VERSION" = "x" ; then
+ { { echo "$as_me:$LINENO: error: Bacula version not found" >&5
+echo "$as_me: error: Bacula version not found" >&2;}
+ { (exit 1); exit 1; }; }
+fi
+echo "configuring for Bacula source $VERSION ($DATE)"
+
+
for ac_prog in true
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
-#VERSION=`sed -n -e 's/^.*VERSION.*"\(.*\)"$/\1/p' ${srcdir}/version.h`
-#DATE=`sed -n -e 's/^.*[ \t]*BDATE.*"\(.*\)"$/\1/p' ${srcdir}/version.h`
-#AC_SUBST(VERSION)dnl
-#AC_SUBST(DATE)dnl
-#echo "configuring for Bacula $VERSION ($DATE)"
-
-
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
# incompatible versions:
-# ------------------------------------------
-# Where to get Bacula source
-# ------------------------------------------
-# Check whether --with-bacula or --without-bacula was given.
-if test "${with_bacula+set}" = set; then
- withval="$with_bacula"
+# -------------------------------------------------------------------------
+# Set variables for bimagemgr installation
+# -------------------------------------------------------------------------
+bimagemgr_cgidir=/var/www/cgi-bin
+
+# Check whether --with-bimagemgr-cgidir or --without-bimagemgr-cgidir was given.
+if test "${with_bimagemgr_cgidir+set}" = set; then
+ withval="$with_bimagemgr_cgidir"
if test "x$withval" != "xno" ; then
- bacula=$withval
+ bimagemgr_cgidir=$withval
+ fi
+
+
+fi;
+
+bimagemgr_docdir=/var/www/html
+
+# Check whether --with-bimagemgr-docdir or --without-bimagemgr-docdir was given.
+if test "${with_bimagemgr_docdir+set}" = set; then
+ withval="$with_bimagemgr_docdir"
+
+ if test "x$withval" != "xno" ; then
+ bimagemgr_docdir=$withval
+ fi
+
+
+fi;
+
+bimagemgr_binowner=root
+
+# Check whether --with-bimagemgr-binowner or --without-bimagemgr-binowner was given.
+if test "${with_bimagemgr_binowner+set}" = set; then
+ withval="$with_bimagemgr_binowner"
+
+ if test "x$withval" != "xno" ; then
+ bimagemgr_binowner=$withval
+ fi
+
+
+fi;
+
+bimagemgr_bingroup=root
+
+# Check whether --with-bimagemgr-bingroup or --without-bimagemgr-bingroup was given.
+if test "${with_bimagemgr_bingroup+set}" = set; then
+ withval="$with_bimagemgr_bingroup"
+
+ if test "x$withval" != "xno" ; then
+ bimagemgr_bingroup=$withval
+ fi
+
+
+fi;
+
+bimagemgr_dataowner=apache
+
+# Check whether --with-bimagemgr-dataowner or --without-bimagemgr-dataowner was given.
+if test "${with_bimagemgr_dataowner+set}" = set; then
+ withval="$with_bimagemgr_dataowner"
+
+ if test "x$withval" != "xno" ; then
+ bimagemgr_dataowner=$withval
fi
fi;
+bimagemgr_datagroup=apache
+
+# Check whether --with-bimagemgr-datagroup or --without-bimagemgr-datagroup was given.
+if test "${with_bimagemgr_datagroup+set}" = set; then
+ withval="$with_bimagemgr_datagroup"
+
+ if test "x$withval" != "xno" ; then
+ bimagemgr_datagroup=$withval
+ fi
+
+
+fi;
+
+
+
+
+
+
+
+
- ac_config_files="$ac_config_files autoconf/Make.common Makefile bimagemgr/Makefile $PFILES"
+ ac_config_files="$ac_config_files autoconf/Make.common Makefile bimagemgr/Makefile bacula-gui.spec $PFILES"
ac_config_commands="$ac_config_commands default"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
"autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;;
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
"bimagemgr/Makefile" ) CONFIG_FILES="$CONFIG_FILES bimagemgr/Makefile" ;;
+ "bacula-gui.spec" ) CONFIG_FILES="$CONFIG_FILES bacula-gui.spec" ;;
"$PFILES" ) CONFIG_FILES="$CONFIG_FILES $PFILES" ;;
"default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
s,@ECHO_T@,$ECHO_T,;t t
s,@LIBS@,$LIBS,;t t
s,@BUILD_DIR@,$BUILD_DIR,;t t
+s,@bacula@,$bacula,;t t
+s,@VERSION@,$VERSION,;t t
+s,@DATE@,$DATE,;t t
s,@TRUEPRG@,$TRUEPRG,;t t
s,@FALSEPRG@,$FALSEPRG,;t t
s,@AWK@,$AWK,;t t
s,@HAVE_IRIX_OS_FALSE@,$HAVE_IRIX_OS_FALSE,;t t
s,@HAVE_DARWIN_OS_TRUE@,$HAVE_DARWIN_OS_TRUE,;t t
s,@HAVE_DARWIN_OS_FALSE@,$HAVE_DARWIN_OS_FALSE,;t t
-s,@bacula@,$bacula,;t t
+s,@bimagemgr_cgidir@,$bimagemgr_cgidir,;t t
+s,@bimagemgr_docdir@,$bimagemgr_docdir,;t t
+s,@bimagemgr_binowner@,$bimagemgr_binowner,;t t
+s,@bimagemgr_bingroup@,$bimagemgr_bingroup,;t t
+s,@bimagemgr_dataowner@,$bimagemgr_dataowner,;t t
+s,@bimagemgr_datagroup@,$bimagemgr_datagroup,;t t
s,@hostname@,$hostname,;t t
s,@DISTNAME@,$DISTNAME,;t t
s,@DISTVER@,$DISTVER,;t t
Configuration on `date`:
Host: $host -- ${DISTNAME} ${DISTVER}
- Bacula version: ${VERSION} (${DATE})
Source code location: ${bacula}
" > config.out