X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=config%2Famanda%2Ftape.m4;h=896bfaf6ddbf4e556fdea981b2435eeaa8973896;hb=fd48f3e498442f0cbff5f3606c7c403d0566150e;hp=09c92f410c2ea4c02dd42234d47b49f18ab07d8d;hpb=96f35b20267e8b1a1c846d476f27fcd330e0b018;p=debian%2Famanda diff --git a/config/amanda/tape.m4 b/config/amanda/tape.m4 index 09c92f4..896bfaf 100644 --- a/config/amanda/tape.m4 +++ b/config/amanda/tape.m4 @@ -57,7 +57,7 @@ AC_DEFUN([AMANDA_TAPE_DEVICE], [ # decide which tape device to compile (arranged in such a way that # only one actually gets compiled) - case "$target" in + case "$host" in *-ibm-aix*) aix_tapeio=yes ;; *-sysv4.2uw2*) uware_tapeio=yes ;; *-sco3.2v5*) xenix_tapeio=yes ;; @@ -185,7 +185,7 @@ AC_DEFUN([AMANDA_TAPE_DEVICE], [ AC_MSG_RESULT(no) ]) - case "$target" in + case "$host" in *linux*) AC_DEFINE(DEFAULT_TAPE_NON_BLOCKING_OPEN,1, [Define if open of tape device require O_NONBLOCK]);; esac