X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=rescue%2Fconfigure;h=26ae9f9d3734e4cad45bac02f2abd3abc2b0da3e;hb=b3eb570c67f474aa40224c10fbffd6a27d77480d;hp=d04299fc15efbab58851b50859e7aa20e05ccdea;hpb=43a5947d51c4c7c6e632fb5edea89922cf20ed48;p=bacula%2Frescue diff --git a/rescue/configure b/rescue/configure index d04299f..26ae9f9 100755 --- a/rescue/configure +++ b/rescue/configure @@ -272,7 +272,7 @@ PACKAGE_STRING= PACKAGE_BUGREPORT= ac_unique_file="version.h" -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 VERSION DATE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA MV RM CP ECHO AR CDRECORD 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 CDSTL 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 TRUEPRG FALSEPRG AWK VERSION DATE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA MV RM CP ECHO AR CDRECORD 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 CDSTL STATIC_FD iso where type bacula hostname DISTNAME DISTVER LIBOBJS LTLIBOBJS' ac_subst_files='MCOMMON' # Initialize some variables set by options. @@ -784,6 +784,18 @@ if test -n "$ac_init_help"; then cat <<\_ACEOF +Optional Features: + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --enable-static-fd enable static File daemon disabled + +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-iso=PATH specify path to iso + --with-cdrom=PATH specify path to cdrom + --with-bacula=PATH specify path to Bacula source + _ACEOF fi @@ -2255,6 +2267,76 @@ fi +# ------------------------------------------- +# static-fd (default off) +# ------------------------------------------- +# Check whether --enable-static-fd or --disable-static-fd was given. +if test "${enable_static_fd+set}" = set; then + enableval="$enable_static_fd" + if test x$enableval = xyes; then + support_static_fd=yes + fi +fi; + +STATIC_FD= +if test x$support_static_fd = xyes; then + STATIC_FD="static-bacula-fd" +fi + + +where= +# ------------------------------------------ +# Where to get iso +# ------------------------------------------ + +# Check whether --with-iso or --without-iso was given. +if test "${with_iso+set}" = set; then + withval="$with_iso" + + if test "x$withval" != "xno" ; then + where=$withval + type=iso + fi + + +fi; + + +# ------------------------------------------ +# Where to get cdrom +# ------------------------------------------ + +# Check whether --with-cdrom or --without-cdrom was given. +if test "${with_cdrom+set}" = set; then + withval="$with_cdrom" + + if test "x$withval" != "xno" ; then + where=$withval + type=cdrom + fi + + +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; + + # @@ -2355,7 +2437,7 @@ MCOMMON=./autoconf/Make.common - ac_config_files="$ac_config_files autoconf/Make.common Makefile linux/Makefile linux/floppy/Makefile linux/cdrom/Makefile linux/cdrom/bacula/Makefile freebsd/Makefile solaris/Makefile $PFILES" + ac_config_files="$ac_config_files autoconf/Make.common Makefile linux/Makefile linux/floppy/Makefile linux/cdrom/Makefile linux/cdrom/bacula/Makefile linux/cdrom/cdtree/boot/isolinux/boot.msg freebsd/Makefile solaris/Makefile $PFILES" ac_config_commands="$ac_config_commands default" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure @@ -2917,6 +2999,7 @@ do "linux/floppy/Makefile" ) CONFIG_FILES="$CONFIG_FILES linux/floppy/Makefile" ;; "linux/cdrom/Makefile" ) CONFIG_FILES="$CONFIG_FILES linux/cdrom/Makefile" ;; "linux/cdrom/bacula/Makefile" ) CONFIG_FILES="$CONFIG_FILES linux/cdrom/bacula/Makefile" ;; + "linux/cdrom/cdtree/boot/isolinux/boot.msg" ) CONFIG_FILES="$CONFIG_FILES linux/cdrom/cdtree/boot/isolinux/boot.msg" ;; "freebsd/Makefile" ) CONFIG_FILES="$CONFIG_FILES freebsd/Makefile" ;; "solaris/Makefile" ) CONFIG_FILES="$CONFIG_FILES solaris/Makefile" ;; "$PFILES" ) CONFIG_FILES="$CONFIG_FILES $PFILES" ;; @@ -3053,6 +3136,11 @@ 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,@CDSTL@,$CDSTL,;t t +s,@STATIC_FD@,$STATIC_FD,;t t +s,@iso@,$iso,;t t +s,@where@,$where,;t t +s,@type@,$type,;t t +s,@bacula@,$bacula,;t t s,@hostname@,$hostname,;t t s,@DISTNAME@,$DISTNAME,;t t s,@DISTVER@,$DISTVER,;t t @@ -3454,7 +3542,9 @@ Configuration on `date`: Host: $host -- ${DISTNAME} ${DISTVER} Rescue version: ${VERSION} (${DATE}) - Source code location: ${srcdir} + Source code location: ${bacula} + Rescue disk image type: ${type} + Rescue disk image location: ${where} " > config.out