X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=config%2Famanda%2Ftape.m4;h=09c92f410c2ea4c02dd42234d47b49f18ab07d8d;hb=96f35b20267e8b1a1c846d476f27fcd330e0b018;hp=f5b04d9650ebbbbaabe6a00848d6f9c40eff4729;hpb=d74dc4d908fcbc1a4ef474edaf51e61ec90eab6b;p=debian%2Famanda diff --git a/config/amanda/tape.m4 b/config/amanda/tape.m4 index f5b04d9..09c92f4 100644 --- a/config/amanda/tape.m4 +++ b/config/amanda/tape.m4 @@ -184,4 +184,9 @@ AC_DEFUN([AMANDA_TAPE_DEVICE], [ ],[ AC_MSG_RESULT(no) ]) + + case "$target" in + *linux*) AC_DEFINE(DEFAULT_TAPE_NON_BLOCKING_OPEN,1, + [Define if open of tape device require O_NONBLOCK]);; + esac ])