X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=rescue%2Fconfigure;h=8e2da6bd7c01732cb742e3dcdd3b2711edd8c213;hb=efe098d145aa719ba2386be159ccd88cf51d6d02;hp=d04299fc15efbab58851b50859e7aa20e05ccdea;hpb=43a5947d51c4c7c6e632fb5edea89922cf20ed48;p=bacula%2Frescue diff --git a/rescue/configure b/rescue/configure index d04299f..8e2da6b 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 iso where type KERNEL bacula STATIC_FD hostname DISTNAME DISTVER LIBOBJS LTLIBOBJS' ac_subst_files='MCOMMON' # Initialize some variables set by options. @@ -784,6 +784,15 @@ if test -n "$ac_init_help"; then cat <<\_ACEOF +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 (not implemented) + --with-cdrom=PATH specify path to cdrom + --with-kernel=version specify complete kernel version (e.g. 2.6.14-2) + --with-bacula=PATH specify path to Bacula source + --with-static-fd=PATH specify path to static FD + _ACEOF fi @@ -2256,6 +2265,99 @@ 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; + + + + + +# ------------------------------------------ +# Which kernel to take +# ------------------------------------------ + +# Check whether --with-kernel or --without-kernel was given. +if test "${with_kernel+set}" = set; then + withval="$with_kernel" + + if test "x$withval" != "xno" ; then + KERNEL=$withval + 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; + + +STATIC_FD= +# ------------------------------------------ +# Where to get static-bacula-fd +# ------------------------------------------ + +# Check whether --with-static-fd or --without-static-fd was given. +if test "${with_static_fd+set}" = set; then + withval="$with_static_fd" + + if test "x$withval" != "xno" ; then + STATIC_FD=$withval + fi + + +fi; + + +if test x${bacula} = x -a x${STATIC_FD} = x ; then + { { echo "$as_me:$LINENO: error: You must specify either --with-bacula=PATH or --with-static-fd=PATH" >&5 +echo "$as_me: error: You must specify either --with-bacula=PATH or --with-static-fd=PATH" >&2;} + { (exit 1); exit 1; }; } +fi # # Finally we set appropriate distribution specific @@ -2355,7 +2457,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/cdrom/Makefile linux/cdrom/bacula/Makefile linux/cdrom/cdtree/boot/isolinux/boot.msg knoppix/cdrom/Makefile knoppix/cdrom/bacula/Makefile 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 @@ -2914,9 +3016,11 @@ do "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;; "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; "linux/Makefile" ) CONFIG_FILES="$CONFIG_FILES linux/Makefile" ;; - "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" ;; + "knoppix/cdrom/Makefile" ) CONFIG_FILES="$CONFIG_FILES knoppix/cdrom/Makefile" ;; + "knoppix/cdrom/bacula/Makefile" ) CONFIG_FILES="$CONFIG_FILES knoppix/cdrom/bacula/Makefile" ;; "freebsd/Makefile" ) CONFIG_FILES="$CONFIG_FILES freebsd/Makefile" ;; "solaris/Makefile" ) CONFIG_FILES="$CONFIG_FILES solaris/Makefile" ;; "$PFILES" ) CONFIG_FILES="$CONFIG_FILES $PFILES" ;; @@ -3053,6 +3157,12 @@ 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,@iso@,$iso,;t t +s,@where@,$where,;t t +s,@type@,$type,;t t +s,@KERNEL@,$KERNEL,;t t +s,@bacula@,$bacula,;t t +s,@STATIC_FD@,$STATIC_FD,;t t s,@hostname@,$hostname,;t t s,@DISTNAME@,$DISTNAME,;t t s,@DISTVER@,$DISTVER,;t t @@ -3454,8 +3564,9 @@ Configuration on `date`: Host: $host -- ${DISTNAME} ${DISTVER} Rescue version: ${VERSION} (${DATE}) - Source code location: ${srcdir} - + Source code location: ${bacula} + Static FD location: ${STATIC_FD} + Specific kernel version: ${KERNEL} " > config.out