X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=config%2Famanda%2Fdefaults.m4;h=343fc00881382fbb7c00a94c6f22992e1427df9e;hb=fd48f3e498442f0cbff5f3606c7c403d0566150e;hp=8076f279124d6f6615f8ece17c96cd5855f53a71;hpb=96f35b20267e8b1a1c846d476f27fcd330e0b018;p=debian%2Famanda diff --git a/config/amanda/defaults.m4 b/config/amanda/defaults.m4 index 8076f27..343fc00 100644 --- a/config/amanda/defaults.m4 +++ b/config/amanda/defaults.m4 @@ -9,8 +9,6 @@ # define and substitute DEFAULT_TAPE_SERVER # --with-tape-device # define and substitute DEFAULT_TAPE_DEVICE; substitue EXAMPLE_TAPEDEV -# --with-changer-device -# define and substitute DEFAULT_CHANGER_DEVICE # --with-amandates # define and substitute DEFAULT_AMANDATES_FILE # @@ -101,29 +99,12 @@ AC_DEFUN([AMANDA_SETUP_DEFAULTS], AC_ARG_WITH(changer-device, AS_HELP_STRING([--with-changer-device=DEV], - [default tape changer device (default: /dev/ch0)]), + [(deprecated)]), [ - case "$withval" in - "" | y | ye | yes | n | no) - AC_MSG_ERROR([*** You must supply an argument to the --with-changer-device option.]) - ;; - *) DEFAULT_CHANGER_DEVICE="$withval" - ;; - esac + AMANDA_MSG_WARN([--with-changer-device is no longer used.]) ] ) - if test -z "$DEFAULT_CHANGER_DEVICE"; then - DEFAULT_CHANGER_DEVICE=/dev/null - if test -f /dev/ch0; then - DEFAULT_CHANGER_DEVICE=/dev/ch0 - fi - fi - - AC_DEFINE_UNQUOTED(DEFAULT_CHANGER_DEVICE,"$DEFAULT_CHANGER_DEVICE", - [This is the default changer device. ]) - AC_SUBST(DEFAULT_CHANGER_DEVICE) - AC_ARG_WITH(amandates, AS_HELP_STRING([--with-amandates], [default location for 'amandates' (default: $localstatedir/amanda/amandates)]), @@ -141,7 +122,7 @@ AC_DEFUN([AMANDA_SETUP_DEFAULTS], [Default location for 'amandates']) DEFAULT_FSF_AFTER_FILEMARK="FALSE" - case "$target" in + case "$host" in *-solaris*) DEFAULT_FSF_AFTER_FILEMARK="TRUE" ;; esac