From: Kern Sibbald Date: Tue, 27 Jul 2004 09:18:21 +0000 (+0000) Subject: Add ./configure detection of sys/tape.h X-Git-Tag: Release-7.0.0~9281 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a205a91db4f7c90a93753c011437834dbcf38235;p=bacula%2Fbacula Add ./configure detection of sys/tape.h git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1492 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/autoconf/config.h.in b/bacula/autoconf/config.h.in index eb39c8f7d8..b5a7a22785 100644 --- a/bacula/autoconf/config.h.in +++ b/bacula/autoconf/config.h.in @@ -475,6 +475,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_TAPE_H + /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TIME_H diff --git a/bacula/autoconf/configure.in b/bacula/autoconf/configure.in index b9b99087c9..159384b043 100644 --- a/bacula/autoconf/configure.in +++ b/bacula/autoconf/configure.in @@ -983,6 +983,7 @@ AC_CHECK_HEADERS( \ resolv.h \ mtio.h \ sys/mtio.h \ + sys/tape.h \ regex.h \ ) AC_HEADER_STDC diff --git a/bacula/configure b/bacula/configure index 5ea5e5a539..a9fb245b9f 100755 --- a/bacula/configure +++ b/bacula/configure @@ -9137,6 +9137,7 @@ fi + for ac_header in \ @@ -9163,6 +9164,7 @@ for ac_header in \ resolv.h \ mtio.h \ sys/mtio.h \ + sys/tape.h \ regex.h \ do diff --git a/bacula/src/stored/stored.h b/bacula/src/stored/stored.h index 547183fbde..afe8a2075e 100644 --- a/bacula/src/stored/stored.h +++ b/bacula/src/stored/stored.h @@ -30,9 +30,14 @@ #ifdef HAVE_MTIO_H #include -#endif -#ifdef HAVE_SYS_MTIO_H -#include +#else +# ifdef HAVE_SYS_MTIO_H +# include +# else +# ifdef HAVE_SYS_TAPE +# include +# endif +# endif #endif #include "block.h" #include "record.h" diff --git a/bacula/src/version.h b/bacula/src/version.h index 8623f08e1b..29d1678a83 100644 --- a/bacula/src/version.h +++ b/bacula/src/version.h @@ -1,8 +1,8 @@ /* */ #undef VERSION #define VERSION "1.35.1" -#define BDATE "26 July 2004" -#define LSMDATE "26Jul04" +#define BDATE "27 July 2004" +#define LSMDATE "27Jul04" /* Debug flags */ #undef DEBUG