X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=config%2Famanda%2Ftape.m4;h=f5b04d9650ebbbbaabe6a00848d6f9c40eff4729;hb=2627875b7d18858bc1f9f7652811e4d8c15a23eb;hp=d08f27a9a0f0032443096c4a3c96b2a413300bdb;hpb=fb2bd066c2f8b34addafe48d62550e3033a59431;p=debian%2Famanda diff --git a/config/amanda/tape.m4 b/config/amanda/tape.m4 index d08f27a..f5b04d9 100644 --- a/config/amanda/tape.m4 +++ b/config/amanda/tape.m4 @@ -4,20 +4,12 @@ # # OVERVIEW # -# Implement the --with-maxtapeblocksize option, and DEFINE and SUBST the -# result in MAX_TAPE_BLOCk_KB and MAXTAPEBLOCKSIZE, respectively. +# Implement the deprecated --with-maxtapeblocksize option. # AC_DEFUN([AMANDA_WITH_MAXTAPEBLOCKSIZE], [ - AC_ARG_WITH(maxtapeblocksize, - AS_HELP_STRING([--with-maxtapeblocksize=kb], - [Maximum size of a tape block (default: 32)]), - [ MAXTAPEBLOCKSIZE="$withval" ], - [ MAXTAPEBLOCKSIZE=32 ] + AC_ARG_WITH(maxtapeblocksize, [(deprecated)], + [ AMANDA_MSG_WARN([--with-maxtapeblocksize is no longer needed]) ] ) - - AC_DEFINE_UNQUOTED(MAX_TAPE_BLOCK_KB,($MAXTAPEBLOCKSIZE), - [Maximum size of a tape block in KBytes.]) - AC_SUBST(MAXTAPEBLOCKSIZE) ]) # SYNOPSIS @@ -35,9 +27,6 @@ AC_DEFUN([AMANDA_WITH_MAXTAPEBLOCKSIZE], [ # If 'struct mtget' fields mt_flags, mt_fileno, mt_blkno, mt_dsreg, and # mt_erreg, the corresponding HAVE_MT_* is DEFINEd. # -# Not that most of the checks in this section correspond to the older -# tapeio (in tape-src/), rather than the new tape device. -# AC_DEFUN([AMANDA_TAPE_DEVICE], [ AC_CHECK_HEADERS( \ linux/zftape.h \