From: Eric Bollengier Date: Thu, 8 May 2008 12:52:55 +0000 (+0000) Subject: ebl tweak autoconf script for faketape X-Git-Tag: Release-3.0.0~1478 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0427f3bae7a389e9fbe628da777dfd8b018053aa;p=bacula%2Fbacula ebl tweak autoconf script for faketape git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6916 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/autoconf/config.h.in b/bacula/autoconf/config.h.in index 5fa46139c4..fd50ccf18e 100644 --- a/bacula/autoconf/config.h.in +++ b/bacula/autoconf/config.h.in @@ -9,6 +9,9 @@ /* Define if you want SmartAlloc debug code enabled */ #undef SMARTALLOC +/* Define if you want to use faketape driver */ +#undef USE_FAKETAPE + /* Define to `int' if doesn't define. */ #undef daddr_t diff --git a/bacula/autoconf/configure.in b/bacula/autoconf/configure.in index 74e394571b..8f94dc4b6b 100644 --- a/bacula/autoconf/configure.in +++ b/bacula/autoconf/configure.in @@ -184,7 +184,7 @@ then AM_GNU_GETTEXT fi - +support_faketape=no support_mysql=no support_sqlite=no support_sqlite3=no @@ -396,6 +396,19 @@ if test x$support_smartalloc = xyes; then AC_DEFINE(SMARTALLOC, 1, [Set if you want Smartalloc enabled]) fi +# ------------------------------------------- +# faketape (default off) +# ------------------------------------------- +AC_ARG_ENABLE(faketape, + [ --enable-faketape enable faketape debugging support [disabled]], + [if test x$enableval = xno; then + support_faketape=no + fi]) + +if test x$support_faketape = xyes; then + AC_DEFINE(USE_FAKETAPE, 1, [Set if you want faketape enabled]) +fi + # ------------------------------------------- # static-tools (default off) # ------------------------------------------- @@ -2463,6 +2476,7 @@ Configuration on `date`: Encryption support: ${support_crypto} ZLIB support: ${have_zlib} enable-smartalloc: ${support_smartalloc} + enable-faketape: ${support_faketape} bat support: ${support_bat} ${QWT_LDFLAGS} enable-gnome: ${support_gnome} ${gnome_version} enable-bwx-console: ${support_wx_console} ${wx_version} diff --git a/bacula/technotes-2.3 b/bacula/technotes-2.3 index 113f535ec1..9061089db6 100644 --- a/bacula/technotes-2.3 +++ b/bacula/technotes-2.3 @@ -24,6 +24,8 @@ Add long term statistics job table General: +08May08 +ebl Tweak autoconf scripts for faketape 07May08 kes Improve SD reserve debug code. kes Testing an improvement to free up volumes no longer in use.