]> git.sur5r.net Git - bacula/bacula/commitdiff
Turn off include install target
authorKern Sibbald <kern@sibbald.com>
Wed, 15 Oct 2008 11:33:05 +0000 (11:33 +0000)
committerKern Sibbald <kern@sibbald.com>
Wed, 15 Oct 2008 11:33:05 +0000 (11:33 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7807 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/autoconf/configure.in
bacula/configure

index b6d666af816b7f1a8d446d3cc699a141ef378374..68cae0a1ecfab1d732812903040f4b0cc0dc0e70 100644 (file)
@@ -41,7 +41,7 @@ dnl ------------------------------------------------------
 
 AC_PROG_CC
 AC_PROG_CXX
-AC_PROG_CC_C_O         dnl Determine if C compiler support -c -o.
+AC_PROG_CC_C_O        dnl Determine if C compiler support -c -o.
 AC_PROG_GCC_TRADITIONAL    dnl Determine if ioctl() need -traditional.
 
 BASECC=`basename $CC`
@@ -125,7 +125,7 @@ AC_ARG_ENABLE(libtool,
    AC_HELP_STRING([--enable-libtool], [enable building using GNU libtool @<:@default=yes@:>@]),
    [
        if test x$enableval = xno; then
-          use_libtool=no
+         use_libtool=no
        fi
    ]
 )
@@ -168,7 +168,7 @@ AC_ARG_ENABLE(includes,
    AC_HELP_STRING([--enable-includes], [enable installing of include files @<:@default=yes@:>@]),
    [
        if test x$enableval = xno; then
-          install_includes=no
+         install_includes=no
        fi
    ]
 )
@@ -182,6 +182,9 @@ else
    INCLUDE_INSTALL_TARGET=""
    INCLUDE_UNINSTALL_TARGET=""
 fi
+# Turn off install of includes
+INCLUDE_INSTALL_TARGET=""
+INCLUDE_UNINSTALL_TARGET=""
 AC_SUBST(INCLUDE_INSTALL_TARGET)
 AC_SUBST(INCLUDE_UNINSTALL_TARGET)
 
@@ -260,7 +263,7 @@ dnl -------------------------------------------------------------------------
 if test x$mandir = x'${prefix}/man' ; then
    mandir=/usr/share/man
 fi
-            
+           
 AC_PATH_PROGS(MSGFMT, msgfmt, no)
 if test "$MSGFMT" = "no"
 then
@@ -310,7 +313,7 @@ AC_ARG_ENABLE(gnome,
    AC_HELP_STRING([--enable-gnome], [enable build of bgnome-console GUI @<:@default=no@:>@]),
    [
        if test x$enableval = xyes; then
-          support_gnome=yes
+         support_gnome=yes
        fi
    ]
 )
@@ -343,8 +346,8 @@ AC_ARG_ENABLE(bat,
    AC_HELP_STRING([--enable-bat], [enable build of bat Qt4 GUI @<:@default=no@:>@]),
    [
        if test x$enableval = xyes; then
-          AC_DEFINE(HAVE_BAT, 1, [Set if Bacula bat Qt4 GUI support enabled]) 
-          support_bat=yes
+         AC_DEFINE(HAVE_BAT, 1, [Set if Bacula bat Qt4 GUI support enabled]) 
+         support_bat=yes
        fi
    ]
 )
@@ -374,19 +377,19 @@ if test x$support_bat = xyes; then
    AC_ARG_WITH(qwt,
       AC_HELP_STRING([--with-qwt@<:@=DIR@:>@], [specify qwt library directory]),
       [
-          case "$with_qwt" in
-          no)
-             no_qwt=yes
-             ;;
-          yes|*)
-             if test -f ${with_qwt}/include/qwt.h; then
-                QWT_INC="${with_qwt}/include"
-                QWT_LDFLAGS="-L${with_qwt}/lib"
-                QWT_LIB="-lqwt"
-                QWT="qwt"
-             fi
-             ;;
-          esac
+         case "$with_qwt" in
+         no)
+            no_qwt=yes
+            ;;
+         yes|*)
+            if test -f ${with_qwt}/include/qwt.h; then
+               QWT_INC="${with_qwt}/include"
+               QWT_LDFLAGS="-L${with_qwt}/lib"
+               QWT_LIB="-lqwt"
+               QWT="qwt"
+            fi
+            ;;
+         esac
       ]    
    )
 
@@ -395,24 +398,24 @@ if test x$support_bat = xyes; then
    dnl
    if test $no_qwt = no; then 
       if test x$QWT_INC = x; then
-         for root in /usr /usr/local; do
-            for ver in qwt qwt5 qwt-qt4; do
-               if test -f ${root}/include/${ver}/qwt.h; then
-                  QWT_INC="${root}/include/${ver}"
-                  if test -d ${root}/lib64/; then
-                     QWT_LDFLAGS="-L${root}/lib64"
-                  elif test -d ${root}/lib/64/; then
-                     QWT_LDFLAGS="-L${root}/64"
-                  else
-                     QWT_LDFLAGS="-L${root}/lib"
-                  fi
-                  QWT_LIB="-lqwt"
-                  QWT="qwt"
-                  got_qwt=yes
-                  break;
-               fi
-            done
-         done
+        for root in /usr /usr/local; do
+           for ver in qwt qwt5 qwt-qt4; do
+              if test -f ${root}/include/${ver}/qwt.h; then
+                 QWT_INC="${root}/include/${ver}"
+                 if test -d ${root}/lib64/; then
+                    QWT_LDFLAGS="-L${root}/lib64"
+                 elif test -d ${root}/lib/64/; then
+                    QWT_LDFLAGS="-L${root}/64"
+                 else
+                    QWT_LDFLAGS="-L${root}/lib"
+                 fi
+                 QWT_LIB="-lqwt"
+                 QWT="qwt"
+                 got_qwt=yes
+                 break;
+              fi
+           done
+        done
       fi
    fi
    if test x$QWT_INC = x; then
@@ -436,7 +439,7 @@ AC_ARG_ENABLE(bwx-console,
    AC_HELP_STRING([--enable-bwx-console], [enable build of wxWidgets console @<:@default=no@:>@]),
    [
        if test x$enableval = xyes; then
-          support_wx_console=yes
+         support_wx_console=yes
        fi
    ]
 )
@@ -469,7 +472,7 @@ AC_ARG_ENABLE(tray-monitor,
    AC_HELP_STRING([--enable-tray-monitor], [enable build of Gnome tray monitor (compatible with KDE @<:@default=no@:>@]),
    [
        if test x$enableval = xyes; then
-          support_tray_monitor=yes
+         support_tray_monitor=yes
        fi
    ]
 )
@@ -487,7 +490,7 @@ if test x$support_tray_monitor = xyes; then
       abc=`$PKGCONFIG --atleast-version=2.4 gtk+-2.0`
       pkg=$?
       if test $pkg = 0; then
-         AC_DEFINE(HAVE_GTK_2_4, 1, [Set if you have GTK 4.2 or greater loaded])
+        AC_DEFINE(HAVE_GTK_2_4, 1, [Set if you have GTK 4.2 or greater loaded])
       fi
    fi
 fi
@@ -500,7 +503,7 @@ AC_ARG_ENABLE(smartalloc,
    AC_HELP_STRING([--enable-smartalloc], [enable smartalloc debugging support @<:@default=no@:>@]),
    [
        if test x$enableval = xno; then
-          support_smartalloc=no
+         support_smartalloc=no
        fi
    ]
 )
@@ -516,7 +519,7 @@ AC_ARG_ENABLE(static-tools,
    AC_HELP_STRING([--enable-static-tools], [enable static tape tools @<:@default=no@:>@]),
    [
        if test x$enableval = xyes; then
-          support_static_tools=yes
+         support_static_tools=yes
        fi
    ]
 )
@@ -528,13 +531,13 @@ fi
 AC_SUBST(TTOOL_LDFLAGS)
 
 dnl -------------------------------------------
-dnl static-fd    (default off)
+dnl static-fd   (default off)
 dnl -------------------------------------------
 AC_ARG_ENABLE(static-fd,
    AC_HELP_STRING([--enable-static-fd], [enable static File daemon @<:@default=no@:>@]),
    [
        if test x$enableval = xyes; then
-          support_static_fd=yes
+         support_static_fd=yes
        fi
    ]
 )
@@ -546,13 +549,13 @@ fi
 AC_SUBST(STATIC_FD)
 
 dnl -------------------------------------------
-dnl static-sd    (default off)
+dnl static-sd   (default off)
 dnl -------------------------------------------
 AC_ARG_ENABLE(static-sd,
    AC_HELP_STRING([--enable-static-sd], [enable static Storage daemon @<:@default=no@:>@]),
    [
        if test x$enableval = xyes; then
-          support_static_sd=yes
+         support_static_sd=yes
        fi
    ]
 )
@@ -564,13 +567,13 @@ fi
 AC_SUBST(STATIC_SD)
 
 dnl -------------------------------------------
-dnl static-dir   (default off)
+dnl static-dir  (default off)
 dnl -------------------------------------------
 AC_ARG_ENABLE(static-dir,
    AC_HELP_STRING([--enable-static-dir], [enable static Director @<:@default=no@:>@]),
    [
        if test x$enableval = xyes; then
-          support_static_dir=yes
+         support_static_dir=yes
        fi
    ]
 )
@@ -588,7 +591,7 @@ AC_ARG_ENABLE(static-cons,
    AC_HELP_STRING([--enable-static-cons], [enable static Console @<:@default=no@:>@]),
    [
        if test x$enableval = xyes; then
-          support_static_cons=yes
+         support_static_cons=yes
        fi
    ]
 )
@@ -612,9 +615,9 @@ AC_ARG_ENABLE(client-only,
    AC_HELP_STRING([--enable-client-only], [build client (File daemon) only @<:@default=no@:>@]),
    [
        if test x$enableval = xyes; then
-          build_client_only=yes
-          db_type=None
-          DB_TYPE=none
+         build_client_only=yes
+         db_type=None
+         DB_TYPE=none
        fi
    ]
 )
@@ -632,7 +635,7 @@ AC_ARG_ENABLE(build-dird,
    AC_HELP_STRING([--enable-build-dird], [enable building of dird (Director) @<:@default=yes@:>@]),
    [
        if test x$enableval = xno; then
-          build_dird=no
+         build_dird=no
        fi
    ]
 )
@@ -653,7 +656,7 @@ AC_ARG_ENABLE(build-stored,
    AC_HELP_STRING([--enable-build-stored], [enable building of stored (Storage daemon) @<:@default=yes@:>@]),
    [
       if test x$enableval = xno; then
-         build_stored=no
+        build_stored=no
       fi
    ]
 )
@@ -672,7 +675,7 @@ AC_ARG_ENABLE(conio,
    AC_HELP_STRING([--disable-conio], [disable conio support @<:@default=no@:>@]),
    [
        if test x$enableval = xno; then
-          support_conio=no
+         support_conio=no
        fi
    ]
 )
@@ -687,7 +690,7 @@ AC_ARG_ENABLE(ipv6,
    AC_HELP_STRING([--enable-ipv6], [enable ipv6 support @<:@default=yes@:>@]),
    [
        if test x$enableval = xno; then
-          support_ipv6=no  
+         support_ipv6=no  
        fi
    ]
 )
@@ -727,16 +730,16 @@ if test x$support_conio = xyes; then
      [
     AC_CHECK_HEADERS(curses.h)
     AC_CHECK_HEADER(term.h,
-          [ AC_CHECK_LIB(curses, tgetent, 
+         [ AC_CHECK_LIB(curses, tgetent, 
        [ CONS_LIBS="-lcurses"
-         CONS_OBJ="conio.o"
-         CONS_SRC="conio.c"
-         got_conio="yes"
-         support_readline=no
-         AC_DEFINE(HAVE_CONIO, 1, [Set if Bacula conio support enabled]) 
+        CONS_OBJ="conio.o"
+        CONS_SRC="conio.c"
+        got_conio="yes"
+        support_readline=no
+        AC_DEFINE(HAVE_CONIO, 1, [Set if Bacula conio support enabled]) 
        ])
-          ],
-          [ echo " "; echo "Required libraries not found. CONIO turned off ..."; echo " "],
+         ],
+         [ echo " "; echo "Required libraries not found. CONIO turned off ..."; echo " "],
 [#if HAVE_CURSES_H
 #include <curses.h>
 #endif
@@ -753,7 +756,7 @@ AC_ARG_ENABLE(readline,
    AC_HELP_STRING([--disable-readline], [disable readline support @<:@default=yes@:>@]),
    [
        if test x$enableval = xno; then
-          support_readline=no
+         support_readline=no
        fi
    ]
 )
@@ -764,61 +767,61 @@ if test x$support_readline = xyes; then
    AC_ARG_WITH(readline,
       AC_HELP_STRING([--with-readline@<:@=DIR@:>@], [specify readline library directory]),
       [
-          case "$with_readline" in
-          no)
-             :
-             ;;
-          yes|*)
-             if test -f ${with_readline}/readline.h; then
-                CONS_INC="-I${with_readline}"
-                CONS_LDFLAGS="-L$with_readline"
-             elif test -f ${with_readline}/include/readline/readline.h; then
-                CONS_INC="-I${with_readline}/include/readline"
-                CONS_LDFLAGS="-L${with_readline}/lib"
-                with_readline="${with_readline}/include/readline"
-             else
-                with_readline="/usr/include/readline" 
-             fi
-
-             AC_CHECK_HEADER(${with_readline}/readline.h, 
-                [
-                    AC_DEFINE(HAVE_READLINE, 1, [Set to enable readline support])
-                    CONS_LIBS="-lreadline -lhistory -ltermcap"
-                    got_readline="yes"   
-                ], [
-                    echo " "
-                    echo "readline.h not found. readline turned off ..."
-                    echo " "
-                ]
-             )
-             ;;
-          esac
+         case "$with_readline" in
+         no)
+            :
+            ;;
+         yes|*)
+            if test -f ${with_readline}/readline.h; then
+               CONS_INC="-I${with_readline}"
+               CONS_LDFLAGS="-L$with_readline"
+            elif test -f ${with_readline}/include/readline/readline.h; then
+               CONS_INC="-I${with_readline}/include/readline"
+               CONS_LDFLAGS="-L${with_readline}/lib"
+               with_readline="${with_readline}/include/readline"
+            else
+               with_readline="/usr/include/readline" 
+            fi
+
+            AC_CHECK_HEADER(${with_readline}/readline.h, 
+               [
+                   AC_DEFINE(HAVE_READLINE, 1, [Set to enable readline support])
+                   CONS_LIBS="-lreadline -lhistory -ltermcap"
+                   got_readline="yes"   
+               ], [
+                   echo " "
+                   echo "readline.h not found. readline turned off ..."
+                   echo " "
+               ]
+            )
+            ;;
+         esac
       ],[
-         dnl check for standard readline library
-         AC_CHECK_HEADER(/usr/include/readline/readline.h, 
-            [
-                AC_DEFINE(HAVE_READLINE, 1, [Set to enable readline support])
-                got_readline="yes"
-                CONS_INC="-I/usr/include/readline"
-                CONS_LIBS="-lreadline -ltermcap"
-            ], [
-                dnl Did not find standard library, so try Bacula's default
-                AC_CHECK_HEADER(${TOP_DIR}/depkgs/readline/readline.h, 
-                    [
-                        AC_DEFINE(HAVE_READLINE, 1, [Set to enable readline support])
-                        got_readline="yes"   
-                        CONS_INC="-I${TOP_DIR}/depkgs/readline"
-                        CONS_LIBS="-lreadline -lhistory -ltermcap"
-                        CONS_LDFLAGS="-L${TOP_DIR}/depkgs/readline"
-                        PRTREADLINE_SRC="${TOP_DIR}/depkgs/readline"
-                    ], [
-                        echo " "
-                        echo "readline.h not found. readline turned off ..."
-                        echo " "
-                    ]
-                )
-            ]
-         )
+        dnl check for standard readline library
+        AC_CHECK_HEADER(/usr/include/readline/readline.h, 
+           [
+               AC_DEFINE(HAVE_READLINE, 1, [Set to enable readline support])
+               got_readline="yes"
+               CONS_INC="-I/usr/include/readline"
+               CONS_LIBS="-lreadline -ltermcap"
+           ], [
+               dnl Did not find standard library, so try Bacula's default
+               AC_CHECK_HEADER(${TOP_DIR}/depkgs/readline/readline.h, 
+                   [
+                       AC_DEFINE(HAVE_READLINE, 1, [Set to enable readline support])
+                       got_readline="yes"   
+                       CONS_INC="-I${TOP_DIR}/depkgs/readline"
+                       CONS_LIBS="-lreadline -lhistory -ltermcap"
+                       CONS_LDFLAGS="-L${TOP_DIR}/depkgs/readline"
+                       PRTREADLINE_SRC="${TOP_DIR}/depkgs/readline"
+                   ], [
+                       echo " "
+                       echo "readline.h not found. readline turned off ..."
+                       echo " "
+                   ]
+               )
+           ]
+        )
       ]    
    )
 fi
@@ -852,69 +855,69 @@ AC_ARG_WITH(python,
        PYTHON_INCDIR= 
        PYTHON_LIBS=
        if test "$withval" != "no"; then
-          if test "$withval" = "yes"; then
-             for python_root in /usr /usr/local /usr/sfw; do
-                for ver in python2.2 python2.3 python2.4 python2.5; do
-                   if test -f $python_root/include/${ver}/Python.h; then
-                      PYTHON_INCDIR=-I$python_root/include/${ver}
-                      if test -d $python_root/lib64/${ver}/config; then
-                         PYTHON_LIBS="-L$python_root/lib64/${ver}/config -l${ver}"
-                      else
-                         PYTHON_LIBS="-L$python_root/lib/${ver}/config -l${ver}"
-                      fi
-                      break 
-                   fi
-                done
-             done
-
-             if test x$PYTHON_INCDIR = x; then
-                if test -f $prefix/include/Python.h; then
-                   PYTHON_INCDIR=-I$prefix/include
-                   if test -d $prefix/lib64/config; then
-                      PYTHON_LIBS="-L$prefix/lib64/config -lpython"
-                   else
-                      PYTHON_LIBS="-L$prefix/lib/config -lpython"
-                   fi
-                else
-                   AC_MSG_RESULT(no)
-                   AC_MSG_ERROR(Unable to find Python.h in standard locations)
-                fi
-             fi
-          else
-             if test -f $withval/Python.h; then
-                PYTHON_INCDIR=-I$withval
-                PYTHON_LIBS="-L$withval/config -lpython"
-             elif test -f $withval/include/Python.h; then
-                PYTHON_INCDIR=-I$withval/include
-                if test -d $withval/lib64/config; then
-                   PYTHON_LIBS="-L$withval/lib64/config -lpython"
-                else
-                   PYTHON_LIBS="-L$withval/lib/config -lpython"
-                fi
-             elif test -f $withval/include/python/Python.h; then
-                PYTHON_INCDIR=-I$withval/include/python
-                if test -d $withval/lib64/python/config; then
-                   PYTHON_LIBS="-L$withval/lib64/python/config -lpython"
-                else
-                   PYTHON_LIBS="-L$withval/lib/python/config -lpython"
-                fi
-             else
-                AC_MSG_RESULT(no)
-                AC_MSG_ERROR(Invalid Python directory $withval - unable to find Python.h under $withval)
-             fi
-          fi
-
-          AC_DEFINE([HAVE_PYTHON], 1)
-          AC_MSG_RESULT(yes)
-          support_python=yes
-          AC_MSG_NOTICE(checking for more Python libs)
-          saved_LIBS="$LIBS"; LIBS=
-          AC_SEARCH_LIBS(shm_open, [rt])
-          AC_CHECK_LIB(util, openpty)
-          PYTHON_LIBS="$PYTHON_LIBS $LIBS"
-          LIBS="$saved_LIBS"
+         if test "$withval" = "yes"; then
+            for python_root in /usr /usr/local /usr/sfw; do
+               for ver in python2.2 python2.3 python2.4 python2.5; do
+                  if test -f $python_root/include/${ver}/Python.h; then
+                     PYTHON_INCDIR=-I$python_root/include/${ver}
+                     if test -d $python_root/lib64/${ver}/config; then
+                        PYTHON_LIBS="-L$python_root/lib64/${ver}/config -l${ver}"
+                     else
+                        PYTHON_LIBS="-L$python_root/lib/${ver}/config -l${ver}"
+                     fi
+                     break 
+                  fi
+               done
+            done
+
+            if test x$PYTHON_INCDIR = x; then
+               if test -f $prefix/include/Python.h; then
+                  PYTHON_INCDIR=-I$prefix/include
+                  if test -d $prefix/lib64/config; then
+                     PYTHON_LIBS="-L$prefix/lib64/config -lpython"
+                  else
+                     PYTHON_LIBS="-L$prefix/lib/config -lpython"
+                  fi
+               else
+                  AC_MSG_RESULT(no)
+                  AC_MSG_ERROR(Unable to find Python.h in standard locations)
+               fi
+            fi
+         else
+            if test -f $withval/Python.h; then
+               PYTHON_INCDIR=-I$withval
+               PYTHON_LIBS="-L$withval/config -lpython"
+            elif test -f $withval/include/Python.h; then
+               PYTHON_INCDIR=-I$withval/include
+               if test -d $withval/lib64/config; then
+                  PYTHON_LIBS="-L$withval/lib64/config -lpython"
+               else
+                  PYTHON_LIBS="-L$withval/lib/config -lpython"
+               fi
+            elif test -f $withval/include/python/Python.h; then
+               PYTHON_INCDIR=-I$withval/include/python
+               if test -d $withval/lib64/python/config; then
+                  PYTHON_LIBS="-L$withval/lib64/python/config -lpython"
+               else
+                  PYTHON_LIBS="-L$withval/lib/python/config -lpython"
+               fi
+            else
+               AC_MSG_RESULT(no)
+               AC_MSG_ERROR(Invalid Python directory $withval - unable to find Python.h under $withval)
+            fi
+         fi
+
+         AC_DEFINE([HAVE_PYTHON], 1)
+         AC_MSG_RESULT(yes)
+         support_python=yes
+         AC_MSG_NOTICE(checking for more Python libs)
+         saved_LIBS="$LIBS"; LIBS=
+         AC_SEARCH_LIBS(shm_open, [rt])
+         AC_CHECK_LIB(util, openpty)
+         PYTHON_LIBS="$PYTHON_LIBS $LIBS"
+         LIBS="$saved_LIBS"
        else
-          AC_MSG_RESULT(no)
+         AC_MSG_RESULT(no)
        fi
    ],[
        AC_MSG_RESULT(no)
@@ -943,49 +946,49 @@ AC_ARG_WITH(tcp-wrappers,
    AC_HELP_STRING([--with-tcp-wrappers@<:@=DIR@:>@], [enable tcpwrappers support]),
    [
        if test "x$withval" != "xno" ; then
-          saved_LIBS="$LIBS"
-          LIBS="$saved_LIBS -lwrap"
-          AC_MSG_CHECKING(for libwrap)
-          AC_SEARCH_LIBS(nanosleep, [rt])
-          AC_TRY_LINK(
-             
-               #include <sys/types.h>
-               #include <tcpd.h>
-               int deny_severity = 0;
-               int allow_severity = 0;
-               struct request_info *req;
-             ], [
-                hosts_access(req);
-             ], [
-                 AC_MSG_RESULT(yes)
-                 AC_DEFINE(HAVE_LIBWRAP, 1, [Set to enable libwraper support])
-                 TCPW_MSG="yes" 
-                 LIBS="$saved_LIBS"
-                 WRAPLIBS="-lwrap"
-             ], [
-                 LIBS="$saved_LIBS -lwrap -lnsl"
-                 WRAPLIBS="$saved_LIBS -lwrap -lnsl"
-                 AC_TRY_LINK(
-                   [
-                       #include <sys/types.h>
-                       #include <tcpd.h>
-                       int deny_severity = 0;
-                       int allow_severity = 0;
-                       struct request_info *req;
-                   ], [
-                       hosts_access(req);
-                   ], [
-                      AC_MSG_RESULT(yes)
-                      AC_DEFINE(HAVE_LIBWRAP, 1, [Set to enable libwraper support])
-                      TCPW_MSG="yes" 
-                      LIBS="$saved_LIBS"
-                      WRAPLIBS="-lwrap"
-                   ], [
-                      AC_MSG_ERROR([*** libwrap missing])
-                   ]
-                )
-             ]
-          )
+         saved_LIBS="$LIBS"
+         LIBS="$saved_LIBS -lwrap"
+         AC_MSG_CHECKING(for libwrap)
+         AC_SEARCH_LIBS(nanosleep, [rt])
+         AC_TRY_LINK(
+            [ 
+              #include <sys/types.h>
+              #include <tcpd.h>
+              int deny_severity = 0;
+              int allow_severity = 0;
+              struct request_info *req;
+            ], [
+               hosts_access(req);
+            ], [
+                AC_MSG_RESULT(yes)
+                AC_DEFINE(HAVE_LIBWRAP, 1, [Set to enable libwraper support])
+                TCPW_MSG="yes" 
+                LIBS="$saved_LIBS"
+                WRAPLIBS="-lwrap"
+            ], [
+                LIBS="$saved_LIBS -lwrap -lnsl"
+                WRAPLIBS="$saved_LIBS -lwrap -lnsl"
+                AC_TRY_LINK(
+                  [
+                      #include <sys/types.h>
+                      #include <tcpd.h>
+                      int deny_severity = 0;
+                      int allow_severity = 0;
+                      struct request_info *req;
+                  ], [
+                      hosts_access(req);
+                  ], [
+                     AC_MSG_RESULT(yes)
+                     AC_DEFINE(HAVE_LIBWRAP, 1, [Set to enable libwraper support])
+                     TCPW_MSG="yes" 
+                     LIBS="$saved_LIBS"
+                     WRAPLIBS="-lwrap"
+                  ], [
+                     AC_MSG_ERROR([*** libwrap missing])
+                  ]
+               )
+            ]
+         )
        fi
    ]
 )
@@ -1000,7 +1003,7 @@ dnl '@:>@' = ']'
 AC_ARG_WITH(openssl,
     AC_HELP_STRING([--with-openssl@<:@=DIR@:>@], [Include OpenSSL support. DIR is the OpenSSL base]),
     [
-        with_openssl_directory=${withval}
+       with_openssl_directory=${withval}
     ]
 )
 
@@ -1013,8 +1016,8 @@ if test "x$with_openssl_directory" != "xno"; then
       # Make sure the $with_openssl_directory also makes sense
       #
       if test -d "$with_openssl_directory/lib" -a -d "$with_openssl_directory/include"; then
-         OPENSSL_LIBS="-L$with_openssl_directory/lib $OPENSSL_LIBS"
-         OPENSSL_INC="-I$with_openssl_directory/include $OPENSSL_INC"
+        OPENSSL_LIBS="-L$with_openssl_directory/lib $OPENSSL_LIBS"
+        OPENSSL_INC="-I$with_openssl_directory/include $OPENSSL_INC"
       fi
    fi
 
@@ -1025,26 +1028,26 @@ if test "x$with_openssl_directory" != "xno"; then
 
    AC_TRY_LINK(
       [
-          #include <openssl/ssl.h>
+         #include <openssl/ssl.h>
       ], [
-           CRYPTO_set_id_callback(NULL);
+          CRYPTO_set_id_callback(NULL);
       ], [
-          support_tls="yes"
-          support_crypto="yes"
+         support_tls="yes"
+         support_crypto="yes"
       ], [
-          support_tls="no"
+         support_tls="no"
       ]
    )
 
    AC_TRY_LINK(
       [
-          #include <openssl/evp.h>
+         #include <openssl/evp.h>
       ], [
-          EVP_sha512();
+         EVP_sha512();
       ], [
-          ac_cv_openssl_sha2="yes"
+         ac_cv_openssl_sha2="yes"
       ], [
-          ac_cv_openssl_sha2="no"
+         ac_cv_openssl_sha2="no"
       ]
    )
 
@@ -1054,13 +1057,13 @@ if test "x$with_openssl_directory" != "xno"; then
    dnl openssl library.
    AC_TRY_LINK(
       [
-          #include <openssl/evp.h>
+         #include <openssl/evp.h>
       ], [
-          EVP_aes_192_cbc();
+         EVP_aes_192_cbc();
       ], [
-          ac_cv_openssl_export="no"
+         ac_cv_openssl_export="no"
       ], [
-          ac_cv_openssl_export="yes"
+         ac_cv_openssl_export="yes"
       ]
    )
 
@@ -1104,7 +1107,7 @@ AC_ARG_WITH(working-dir,
    AC_HELP_STRING([--with-working-dir=PATH], [specify path of Bacula working directory]),
    [
        if test "x$withval" != "xno" ; then     
-         working_dir=$withval
+        working_dir=$withval
        fi
    ]
 )
@@ -1119,7 +1122,7 @@ AC_ARG_WITH(archivedir,
    AC_HELP_STRING([--with-archivedir=PATH], [specify path of SD archive directory]),
    [
        if test "x$withval" != "xno" ; then     
-          archivedir=$withval
+         archivedir=$withval
        fi
    ]
 )
@@ -1134,7 +1137,7 @@ AC_ARG_WITH(scriptdir,
    AC_HELP_STRING([--with-scriptdir=PATH], [specify path of Bacula scripts directory]),
    [
        if test "x$withval" != "xno" ; then     
-          scriptdir=$withval
+         scriptdir=$withval
        fi
    ]
 )
@@ -1149,7 +1152,7 @@ AC_ARG_WITH(plugindir,
    AC_HELP_STRING([--with-plugindir=PATH], [specify path of Bacula plugins directory]),
    [
        if test "x$withval" != "xno" ; then     
-          plugindir=$withval
+         plugindir=$withval
        fi
    ]
 )
@@ -1164,7 +1167,7 @@ AC_ARG_WITH(dump-email,
    AC_HELP_STRING([--with-dump-email=EMAIL], [dump email address]),
    [
        if test "x$withval" != "xno" ; then     
-          dump_email=$withval
+         dump_email=$withval
        fi
    ]
 )
@@ -1179,7 +1182,7 @@ AC_ARG_WITH(job-email,
    AC_HELP_STRING([--with-job-email=EMAIL], [job output email address]),
    [
        if test "x$withval" != "xno" ; then     
-          job_email=$withval
+         job_email=$withval
        fi
    ]
 )
@@ -1194,7 +1197,7 @@ AC_ARG_WITH(smtp_host,
    AC_HELP_STRING([--with-smtp-host=HOST], [SMTP mail host address]),
    [
        if test "x$withval" != "xno" ; then     
-          smtp_host=$withval
+         smtp_host=$withval
        fi
    ]
 )
@@ -1209,7 +1212,7 @@ AC_ARG_WITH(pid-dir,
    AC_HELP_STRING([--with-pid-dir=PATH], [specify location of Bacula pid files]),
    [
        if test "x$withval" != "xno" ; then   
-          piddir=$withval
+         piddir=$withval
        fi
    ]
 )
@@ -1232,7 +1235,7 @@ AC_ARG_WITH(subsys-dir,
    AC_HELP_STRING([--with-subsys-dir=PATH], [specify location of Bacula subsys file]),
    [
        if test "x$withval" != "xno" ; then   
-          subsysdir=$withval
+         subsysdir=$withval
        fi
    ]
 )
@@ -1247,7 +1250,7 @@ AC_ARG_WITH(baseport,
    AC_HELP_STRING([--with-baseport=PORT], [specify base port address for daemons]),
    [
        if test "x$withval" != "xno" ; then   
-          baseport=$withval
+         baseport=$withval
        fi
    ]
 )
@@ -1269,7 +1272,7 @@ AC_ARG_WITH(dir-password,
    AC_HELP_STRING([--with-dir-password=PASSWORD], [specify Director's password]),
    [
        if test "x$withval" != "xno" ; then     
-          dir_password=$withval
+         dir_password=$withval
        fi
    ]
 )
@@ -1288,7 +1291,7 @@ AC_ARG_WITH(fd-password,
    AC_HELP_STRING([--with-fd-password=PASSWORD], [specify Client's password]),
    [
        if test "x$withval" != "xno" ; then     
-          fd_password=$withval
+         fd_password=$withval
        fi
    ]
 )
@@ -1307,7 +1310,7 @@ AC_ARG_WITH(sd-password,
    AC_HELP_STRING([--with-sd-password=PASSWORD], [specify Storage daemon's password]),
    [
        if test "x$withval" != "xno" ; then     
-          sd_password=$withval
+         sd_password=$withval
        fi
    ]
 )
@@ -1326,7 +1329,7 @@ AC_ARG_WITH(mon-dir-password,
    AC_HELP_STRING([--with-mon-dir-password=PASSWORD], [specify Director's password used by the monitor]),
    [
        if test "x$withval" != "xno" ; then     
-          mon_dir_password=$withval
+         mon_dir_password=$withval
        fi
    ]
 )
@@ -1345,7 +1348,7 @@ AC_ARG_WITH(mon-fd-password,
    AC_HELP_STRING([--with-mon-fd-password=PASSWORD], [specify Client's password used by the monitor]),
    [
        if test "x$withval" != "xno" ; then     
-          mon_fd_password=$withval
+         mon_fd_password=$withval
        fi
    ]
 )
@@ -1364,7 +1367,7 @@ AC_ARG_WITH(mon-sd-password,
    AC_HELP_STRING([--with-mon-sd-password=PASSWORD], [specify Storage daemon's password used by the monitor]),
    [
        if test "x$withval" != "xno" ; then     
-          mon_sd_password=$withval
+         mon_sd_password=$withval
        fi
    ]
 )
@@ -1393,7 +1396,7 @@ AC_ARG_WITH(db_name,
    AC_HELP_STRING([--with-db-name=DBNAME], [specify database name @<:@default=bacula@:>@]),
    [
        if test "x$withval" != "x" ; then   
-          db_name=$withval
+         db_name=$withval
        fi
    ]
 )
@@ -1404,7 +1407,7 @@ AC_ARG_WITH(db_user,
    AC_HELP_STRING([--with-db-user=UNAME], [specify database user @<:@default=bacula@:>@]),
    [
        if test "x$withval" != "x" ; then   
-          db_user=$withval
+         db_user=$withval
        fi
    ]
 )
@@ -1415,7 +1418,7 @@ AC_ARG_WITH(db_password,
    AC_HELP_STRING([--with-db-password=PWD], [specify database password @<:@default=*none*@:>@]),
    [
        if test "x$withval" != "x" ; then   
-          db_password=$withval
+         db_password=$withval
        fi
    ]
 )
@@ -1429,7 +1432,7 @@ AC_ARG_WITH(db_port,
    AC_HELP_STRING([--with-db-port=DBPORT], [specify a database port @<:@default=null@:>@]),
    [
        if test "x$withval" != "x" ; then
-          db_port=$withval
+         db_port=$withval
        fi
    ]
 )
@@ -1443,7 +1446,7 @@ AC_ARG_WITH(dir_user,
    AC_HELP_STRING([--with-dir-user=USER], [specify user for Director daemon]),
    [
        if test "x$withval" != "x" ; then   
-           dir_user=$withval
+          dir_user=$withval
        fi
    ]
 )
@@ -1453,7 +1456,7 @@ AC_ARG_WITH(dir_group,
    AC_HELP_STRING([--with-dir-group=GROUP], [specify group for Director daemon]),
    [
        if test "x$withval" != "x" ; then   
-          dir_group=$withval
+         dir_group=$withval
        fi
    ]
 )
@@ -1463,7 +1466,7 @@ AC_ARG_WITH(sd_user,
    AC_HELP_STRING([--with-sd-user=USER], [specify user for Storage daemon]),
    [
        if test "x$withval" != "x" ; then   
-          sd_user=$withval
+         sd_user=$withval
        fi
    ]
 )
@@ -1473,7 +1476,7 @@ AC_ARG_WITH(sd_group,
    AC_HELP_STRING([--with-sd-group=GROUP], [specify group for Storage daemon]),
    [
        if test "x$withval" != "x" ; then   
-          sd_group=$withval
+         sd_group=$withval
        fi
    ]
 )
@@ -1483,7 +1486,7 @@ AC_ARG_WITH(fd_user,
    AC_HELP_STRING([--with-fd-user=USER], [specify user for File daemon]),
    [
        if test "x$withval" != "x" ; then   
-          fd_user=$withval
+         fd_user=$withval
        fi
    ]
 )
@@ -1493,7 +1496,7 @@ AC_ARG_WITH(fd_group,
    AC_HELP_STRING([--with-fd-group=GROUP], [specify group for File daemon]),
    [
        if test "x$withval" != "x" ; then   
-          fd_group=$withval
+         fd_group=$withval
        fi
    ]
 )
@@ -1513,7 +1516,7 @@ AC_ARG_WITH(sbin-perm,
    AC_HELP_STRING([--with-sbin-perm=MODE], [specify permissions for sbin binaries @<:@default=0754@:>@]),
    [
        if test "x$withval" != "x" ; then   
-          SBINPERM=$withval
+         SBINPERM=$withval
        fi
    ]
 )
@@ -1550,11 +1553,11 @@ if test $pkg = 0; then
    AC_ARG_ENABLE(batch-insert,
       AC_HELP_STRING([--enable-batch-insert], [enable the DB batch insert code @<:@default=no@:>@]),
       [
-          if test x$enableval = xno; then
-             support_batch_insert=no
-          else
-             support_batch_insert=yes
-          fi
+         if test x$enableval = xno; then
+            support_batch_insert=no
+         else
+            support_batch_insert=yes
+         fi
       ]
    )
 fi
@@ -1580,7 +1583,7 @@ if test x$DB_TYPE = xdbi; then
 
    if test $DB_PROG = mysql; then
       A=`test -f $SQL_LIB && nm $DB_PROG_LIB | grep pthread_mutex_lock`
-      pkg=$?    
+      pkg=$?   
    fi
 
    if test $DB_PROG = sqlite3; then
@@ -1590,14 +1593,14 @@ if test x$DB_TYPE = xdbi; then
 
    if test $pkg = 0; then
       AC_ARG_ENABLE(batch-insert,
-         AC_HELP_STRING([--enable-batch-insert], [enable the DB batch insert code @<:@default=no@:>@]),
-         [
-             if test x$enableval = xno; then
-                support_batch_insert=no
-             else
-                support_batch_insert=yes
-             fi
-         ]
+        AC_HELP_STRING([--enable-batch-insert], [enable the DB batch insert code @<:@default=no@:>@]),
+        [
+            if test x$enableval = xno; then
+               support_batch_insert=no
+            else
+               support_batch_insert=yes
+            fi
+        ]
       )
    fi
 else 
@@ -1683,16 +1686,16 @@ dnl --------------------------------------------------------------------------
 AC_CACHE_CHECK(for utime.h, ba_cv_header_utime_h,
    [
        AC_TRY_COMPILE(
-          [
-              #include <sys/types.h>
-              #include <utime.h>
-          ], [
-              struct utimbuf foo
-          ], [
-              ba_cv_header_utime_h=yes
-          ], [
-              ba_cv_header_utime_h=no
-          ]
+         [
+             #include <sys/types.h>
+             #include <utime.h>
+         ], [
+             struct utimbuf foo
+         ], [
+             ba_cv_header_utime_h=yes
+         ], [
+             ba_cv_header_utime_h=no
+         ]
        )
    ]
 )
@@ -1704,16 +1707,16 @@ dnl --------------------------------------------------------------------------
 AC_CACHE_CHECK(for socklen_t, ba_cv_header_socklen_t,
    [
        AC_TRY_COMPILE(
-          [
-              #include <sys/types.h>
-              #include <sys/socket.h>
-          ], [
-              socklen_t x
-          ], [
-             ba_cv_header_socklen_t=yes
-          ], [
-             ba_cv_header_socklen_t=no
-          ]
+         [
+             #include <sys/types.h>
+             #include <sys/socket.h>
+         ], [
+             socklen_t x
+         ], [
+            ba_cv_header_socklen_t=yes
+         ], [
+            ba_cv_header_socklen_t=no
+         ]
        )
    ]
 )
@@ -1725,15 +1728,15 @@ dnl --------------------------------------------------------------------------
 AC_CACHE_CHECK([for bigendian], ba_cv_bigendian,
    [
        AC_TRY_RUN(
-          [
-              main(){long a=1L; char *p=(char *)&a; exit(*p);}
-          ], [
-             ba_cv_bigendian=yes
-          ], [
-             ba_cv_bigendian=no
-          ], [
-             ba_cv_bigendian=no
-          ]
+         [
+             main(){long a=1L; char *p=(char *)&a; exit(*p);}
+         ], [
+            ba_cv_bigendian=yes
+         ], [
+            ba_cv_bigendian=no
+         ], [
+            ba_cv_bigendian=no
+         ]
        )
    ]
 )
@@ -1746,15 +1749,15 @@ AC_LANG_PUSH(C++)
 AC_CACHE_CHECK(for typeof, ba_cv_have_typeof,
    [
        AC_TRY_RUN(
-          [
-              main(){char *a = 0; a = (typeof a)a;}
-          ], [
-              ba_cv_have_typeof=yes
-          ], [
-              ba_cv_have_typeof=no
-          ], [
-              ba_cv_have_typeof=no
-          ]
+         [
+             main(){char *a = 0; a = (typeof a)a;}
+         ], [
+             ba_cv_have_typeof=yes
+         ], [
+             ba_cv_have_typeof=no
+         ], [
+             ba_cv_have_typeof=no
+         ]
        )
    ]
 )
@@ -1779,8 +1782,8 @@ AC_TRY_CPP(
 if test $fstype = no; then
    AC_TRY_CPP(
       [
-          #include <sys/statfs.h>
-          #include <sys/fstyp.h>
+         #include <sys/statfs.h>
+         #include <sys/fstyp.h>
       ],
       AC_DEFINE(FSTYPE_USG_STATFS) fstype=SVR3
    )
@@ -1788,8 +1791,8 @@ fi
 if test $fstype = no; then
    AC_TRY_CPP(
       [
-          #include <sys/statfs.h>
-          #include <sys/vmount.h>
+         #include <sys/statfs.h>
+         #include <sys/vmount.h>
       ],
       AC_DEFINE(FSTYPE_AIX_STATFS) fstype=AIX
    )
@@ -1797,7 +1800,7 @@ fi
 if test $fstype = no; then  
    AC_TRY_CPP(
       [
-          #include <mntent.h>
+         #include <mntent.h>
       ],
       AC_DEFINE(FSTYPE_MNTENT) fstype=4.3BSD
    )
@@ -1808,8 +1811,8 @@ fi
 if test $fstype = no; then  
    AC_TRY_CPP(
       [
-          #include <sys/mount.h>
-          #include <sys/fs_types.h>
+         #include <sys/mount.h>
+         #include <sys/fs_types.h>
       ],
       AC_DEFINE(FSTYPE_GETMNT) fstype=Ultrix
    )
@@ -1850,15 +1853,15 @@ dnl Check for sys/types.h types
 AC_CACHE_CHECK([for u_int type], ac_cv_have_u_int,
    [
        AC_TRY_COMPILE(
-          [
-              #include <sys/types.h>
-          ], [
-              u_int a; a = 1;
-          ], [
-              ac_cv_have_u_int="yes"
-          ], [
-              ac_cv_have_u_int="no"
-          ]
+         [
+             #include <sys/types.h>
+         ], [
+             u_int a; a = 1;
+         ], [
+             ac_cv_have_u_int="yes"
+         ], [
+             ac_cv_have_u_int="no"
+         ]
        )
    ]
 )
@@ -1870,25 +1873,25 @@ fi
 AC_CACHE_CHECK([for intmax_t type], ac_cv_have_intmax_t,
    [
        AC_TRY_COMPILE(
-          [
-              #include <sys/types.h>
-          ], [
-              intmax_t a; a = 1;
-          ], [
-              ac_cv_have_intmax_t="yes"
-          ], [ 
-              AC_TRY_COMPILE(
-                 [
-                     #include <stdint.h>
-                 ], [
-                     intmax_t a; a = 1;
-                 ], [
-                     ac_cv_have_intmax_t="yes"
-                 ], [
-                     ac_cv_have_intmax_t="no"
-                 ]
-              )
-          ]
+         [
+             #include <sys/types.h>
+         ], [
+             intmax_t a; a = 1;
+         ], [
+             ac_cv_have_intmax_t="yes"
+         ], [ 
+             AC_TRY_COMPILE(
+                [
+                    #include <stdint.h>
+                ], [
+                    intmax_t a; a = 1;
+                ], [
+                    ac_cv_have_intmax_t="yes"
+                ], [
+                    ac_cv_have_intmax_t="no"
+                ]
+             )
+         ]
        )       
    ]
 )
@@ -1900,25 +1903,25 @@ fi
 AC_CACHE_CHECK([for u_intmax_t type], ac_cv_have_u_intmax_t,
    [
        AC_TRY_COMPILE(
-          [
-              #include <sys/types.h>
-          ], [
-              u_intmax_t a; a = 1;
-          ], [
-              ac_cv_have_u_intmax_t="yes"
-          ], [ 
-              AC_TRY_COMPILE(
-                 [
-                     #include <stdint.h>
-                 ], [
-                    u_intmax_t a; a = 1;
-                 ], [
-                    ac_cv_have_u_intmax_t="yes"
-                 ], [
-                    ac_cv_have_u_intmax_t="no"
-                 ]
-              )
-          ]
+         [
+             #include <sys/types.h>
+         ], [
+             u_intmax_t a; a = 1;
+         ], [
+             ac_cv_have_u_intmax_t="yes"
+         ], [ 
+             AC_TRY_COMPILE(
+                [
+                    #include <stdint.h>
+                ], [
+                   u_intmax_t a; a = 1;
+                ], [
+                   ac_cv_have_u_intmax_t="yes"
+                ], [
+                   ac_cv_have_u_intmax_t="no"
+                ]
+             )
+         ]
        )
    ]
 )
@@ -1930,15 +1933,15 @@ fi
 AC_CACHE_CHECK([for intXX_t types], ac_cv_have_intxx_t,
    [
        AC_TRY_COMPILE(
-          [
-              #include <sys/types.h>
-          ], [
-              int8_t a; int16_t b; int32_t c; a = b = c = 1;
-          ], [
-              ac_cv_have_intxx_t="yes"
-          ], [
-              ac_cv_have_intxx_t="no"
-          ]
+         [
+             #include <sys/types.h>
+         ], [
+             int8_t a; int16_t b; int32_t c; a = b = c = 1;
+         ], [
+             ac_cv_have_intxx_t="yes"
+         ], [
+             ac_cv_have_intxx_t="no"
+         ]
        )
    ]
 )
@@ -1950,15 +1953,15 @@ fi
 AC_CACHE_CHECK([for int64_t type], ac_cv_have_int64_t,
    [
        AC_TRY_COMPILE(
-          [
-              #include <sys/types.h>
-          ], [
-              int64_t a; a = 1;
-          ], [
-              ac_cv_have_int64_t="yes"
-          ], [
-              ac_cv_have_int64_t="no"
-          ]
+         [
+             #include <sys/types.h>
+         ], [
+             int64_t a; a = 1;
+         ], [
+             ac_cv_have_int64_t="yes"
+         ], [
+             ac_cv_have_int64_t="no"
+         ]
        )
    ]
 )
@@ -1970,15 +1973,15 @@ fi
 AC_CACHE_CHECK([for u_intXX_t types], ac_cv_have_u_intxx_t,
    [
        AC_TRY_COMPILE(
-          [
-              #include <sys/types.h>
-          ], [
-              u_int8_t a; u_int16_t b; u_int32_t c; a = b = c = 1;
-          ], [
-             ac_cv_have_u_intxx_t="yes"
-          ], [
-             ac_cv_have_u_intxx_t="no"
-          ]
+         [
+             #include <sys/types.h>
+         ], [
+             u_int8_t a; u_int16_t b; u_int32_t c; a = b = c = 1;
+         ], [
+            ac_cv_have_u_intxx_t="yes"
+         ], [
+            ac_cv_have_u_intxx_t="no"
+         ]
        )
    ]
 )
@@ -1990,15 +1993,15 @@ fi
 AC_CACHE_CHECK([for u_int64_t types], ac_cv_have_u_int64_t,
    [
        AC_TRY_COMPILE(
-          [
-              #include <sys/types.h>
-          ], [
-              u_int64_t a; a = 1;
-          ], [
-             ac_cv_have_u_int64_t="yes"
-          ], [
-             ac_cv_have_u_int64_t="no"
-          ]
+         [
+             #include <sys/types.h>
+         ], [
+             u_int64_t a; a = 1;
+         ], [
+            ac_cv_have_u_int64_t="yes"
+         ], [
+            ac_cv_have_u_int64_t="no"
+         ]
        )
    ]
 )
@@ -2013,18 +2016,18 @@ then
    AC_MSG_CHECKING([for intXX_t and u_intXX_t types in sys/bitypes.h])
    AC_TRY_COMPILE(
       [
-          #include <sys/bitypes.h>
+         #include <sys/bitypes.h>
       ], [
-          int8_t a; int16_t b; int32_t c;
-          u_int8_t e; u_int16_t f; u_int32_t g;
-          a = b = c = e = f = g = 1;
+         int8_t a; int16_t b; int32_t c;
+         u_int8_t e; u_int16_t f; u_int32_t g;
+         a = b = c = e = f = g = 1;
       ], [
-          AC_DEFINE(HAVE_U_INTXX_T)
-          AC_DEFINE(HAVE_INTXX_T)
-          AC_DEFINE(HAVE_SYS_BITYPES_H)
-          AC_MSG_RESULT(yes)
+         AC_DEFINE(HAVE_U_INTXX_T)
+         AC_DEFINE(HAVE_INTXX_T)
+         AC_DEFINE(HAVE_SYS_BITYPES_H)
+         AC_MSG_RESULT(yes)
       ], [
-          AC_MSG_RESULT(no)
+         AC_MSG_RESULT(no)
       ]
    ) 
 fi
@@ -2032,18 +2035,18 @@ fi
 if test -z "$have_u_intxx_t" ; then
    AC_CACHE_CHECK([for uintXX_t types], ac_cv_have_uintxx_t,
       [
-          AC_TRY_COMPILE(
-             [
-                 #include <sys/types.h>
-             ], [
-                 uint8_t a; uint16_t b; 
-                 uint32_t c; a = b = c = 1;
-             ], [
-                ac_cv_have_uintxx_t="yes"
-             ], [
-                ac_cv_have_uintxx_t="no"
-             ]
-          )
+         AC_TRY_COMPILE(
+            [
+                #include <sys/types.h>
+            ], [
+                uint8_t a; uint16_t b; 
+                uint32_t c; a = b = c = 1;
+            ], [
+               ac_cv_have_uintxx_t="yes"
+            ], [
+               ac_cv_have_uintxx_t="no"
+            ]
+         )
       ]
    )
    if test "x$ac_cv_have_uintxx_t" = "xyes" ; then
@@ -2057,16 +2060,16 @@ then
    AC_MSG_CHECKING([for int64_t and u_int64_t types in sys/bitypes.h])
    AC_TRY_COMPILE(
       [
-          #include <sys/bitypes.h>
+         #include <sys/bitypes.h>
       ], [
-          int64_t a; u_int64_t b; 
-          a = b = 1;
+         int64_t a; u_int64_t b; 
+         a = b = 1;
       ], [
-          AC_DEFINE(HAVE_U_INT64_T)
-          AC_DEFINE(HAVE_INT64_T)
-          AC_MSG_RESULT(yes)
+         AC_DEFINE(HAVE_U_INT64_T)
+         AC_DEFINE(HAVE_INT64_T)
+         AC_MSG_RESULT(yes)
       ], [
-          AC_MSG_RESULT(no)
+         AC_MSG_RESULT(no)
       ]
    ) 
 fi
@@ -2077,15 +2080,15 @@ then
    AC_MSG_CHECKING([for uintXX_t types in sys/bitypes.h])
    AC_TRY_COMPILE(
       [
-          #include <sys/bitypes.h>
+         #include <sys/bitypes.h>
       ], [
-          uint8_t a; uint16_t b; 
-          uint32_t c; a = b = c = 1;
+         uint8_t a; uint16_t b; 
+         uint32_t c; a = b = c = 1;
       ], [
-          AC_DEFINE(HAVE_UINTXX_T)
-          AC_MSG_RESULT(yes)
+         AC_DEFINE(HAVE_UINTXX_T)
+         AC_MSG_RESULT(yes)
       ], [
-          AC_MSG_RESULT(no)
+         AC_MSG_RESULT(no)
       ]
    ) 
 fi
@@ -2123,17 +2126,17 @@ AC_CHECK_FUNCS(snprintf vsnprintf gethostid fseeko)
 AC_CACHE_CHECK(for va_copy, ba_cv_va_copy,
    [
        AC_TRY_LINK(
-          [
-              #include <stdarg.h>
-              void use_va_copy(va_list args){va_list args2; va_copy(args2,args); va_end(args2);}
-              void call_use_va_copy(int junk,...){va_list args; va_start(args,junk); use_va_copy(args); va_end(args);}
-          ], [
-              call_use_va_copy(1,2,3)
-          ], [
-              ba_cv_va_copy=yes,
-          ], [
-              ba_cv_va_copy=no
-          ]
+         [
+             #include <stdarg.h>
+             void use_va_copy(va_list args){va_list args2; va_copy(args2,args); va_end(args2);}
+             void call_use_va_copy(int junk,...){va_list args; va_start(args,junk); use_va_copy(args); va_end(args);}
+         ], [
+             call_use_va_copy(1,2,3)
+         ], [
+             ba_cv_va_copy=yes,
+         ], [
+             ba_cv_va_copy=no
+         ]
        )
    ]
 )
@@ -2160,14 +2163,14 @@ dnl ----------------------------
 AC_CACHE_CHECK(for struct sockaddr has a sa_len field, ac_cv_struct_sockaddr_sa_len,
    [
        AC_TRY_COMPILE(
-          [
-              #include <sys/socket.h>
-          ], [
-              struct sockaddr s; s.sa_len;
-          ], [
-             ac_cv_struct_sockaddr_sa_len=yes
-          ], [ac_cv_struct_sockaddr_sa_len=no
-          ]
+         [
+             #include <sys/socket.h>
+         ], [
+             struct sockaddr s; s.sa_len;
+         ], [
+            ac_cv_struct_sockaddr_sa_len=yes
+         ], [ac_cv_struct_sockaddr_sa_len=no
+         ]
        )
    ]
 )
@@ -2181,7 +2184,7 @@ AC_FUNC_VPRINTF
 AC_FUNC_ALLOCA
 AC_FUNC_GETMNTENT
 AC_FUNC_CLOSEDIR_VOID
-AC_FUNC_SETPGRP             dnl check for BSD setpgrp.
+AC_FUNC_SETPGRP            dnl check for BSD setpgrp.
 # AC_FUNC_FNMATCH    dnl use local version
 
 AC_CHECK_LIB(intl, gettext, [LIBS="$LIBS -lintl"])
@@ -2204,17 +2207,17 @@ AC_CHECK_HEADER(sys/acl.h)
 AC_CHECK_FUNC(acl_get_file, [have_acl=yes],
    [
        AC_CHECK_LIB(acl, acl_get_file,
-          [
-              have_acl=yes;
-              FDLIBS="-lacl $FDLIBS"
-          ], [
-              AC_CHECK_LIB(sec, acltotext,
-                 [
-                     have_acl=yes;
-                     FDLIBS="-lsec $FDLIBS"
-                 ]
-              )
-          ]
+         [
+             have_acl=yes;
+             FDLIBS="-lacl $FDLIBS"
+         ], [
+             AC_CHECK_LIB(sec, acltotext,
+                [
+                    have_acl=yes;
+                    FDLIBS="-lsec $FDLIBS"
+                ]
+             )
+         ]
        )
    ]
 )
@@ -2227,13 +2230,13 @@ PTHREAD_LIB=""
 AC_CHECK_LIB(pthread, pthread_create, PTHREAD_LIB="-lpthread",
    [
        AC_CHECK_LIB(pthreads, pthread_create, PTHREAD_LIB="-lpthreads",
-          [
-              AC_CHECK_LIB(c_r, pthread_create, PTHREAD_LIB="-lc_r",
-                 [
-                     AC_CHECK_FUNC(pthread_create)
-                 ]
-              )
-          ]
+         [
+             AC_CHECK_LIB(c_r, pthread_create, PTHREAD_LIB="-lc_r",
+                [
+                    AC_CHECK_FUNC(pthread_create)
+                ]
+             )
+         ]
        )
    ]
 )
@@ -2297,7 +2300,7 @@ aix)
    PFILES="${PFILES} \
       platforms/aix/Makefile"
    TAPEDRIVE="/dev/rmt0.1" 
-  ;;     
+  ;;    
 alpha)
    DISTVER=`uname -r`
    PTHREAD_LIB="-lpthread -lexc"
@@ -2353,10 +2356,10 @@ debian)
    if test -f /etc/lsb-release ; then
       . /etc/lsb-release
       if test "x$DISTRIB_ID" != "x" ; then
-         DISTNAME=$DISTRIB_ID
+        DISTNAME=$DISTRIB_ID
       fi
       if test "x$DISTRIB_RELEASE" != "x" ; then
-         DISTVER=$DISTRIB_RELEASE
+        DISTVER=$DISTRIB_RELEASE
       fi
    fi
    if test "$DISTNAME" = "Ubuntu" ; then
@@ -2366,16 +2369,16 @@ debian)
    PSCMD="ps -e -o pid,command"
    if test "$DISTNAME" = "ubuntu" ; then
       PFILES="${PFILES} \
-         platforms/ubuntu/Makefile \
-         platforms/ubuntu/bacula-fd \
-         platforms/ubuntu/bacula-sd \
-         platforms/ubuntu/bacula-dir"
+        platforms/ubuntu/Makefile \
+        platforms/ubuntu/bacula-fd \
+        platforms/ubuntu/bacula-sd \
+        platforms/ubuntu/bacula-dir"
    else 
       PFILES="${PFILES} \
-         platforms/debian/Makefile \
-         platforms/debian/bacula-fd \
-         platforms/debian/bacula-sd \
-         platforms/debian/bacula-dir"
+        platforms/debian/Makefile \
+        platforms/debian/bacula-fd \
+        platforms/debian/bacula-sd \
+        platforms/debian/bacula-dir"
    fi
   ;;
 freebsd)
@@ -2454,12 +2457,12 @@ redhat)
       f=/etc/redhat-release
    fi
    if test `cat $f | grep release |\
-         cut -f 3 -d ' '`x = "Enterprise"x ; then
+        cut -f 3 -d ' '`x = "Enterprise"x ; then
       DISTVER="Enterprise "`cat $f | grep release |\
-          cut -f 6 -d ' '`
+         cut -f 6 -d ' '`
    else
        DISTVER=`cat /etc/redhat-release | grep release |\
-           cut -f 5 -d ' '`
+          cut -f 5 -d ' '`
    fi
    TAPEDRIVE="/dev/nst0"
    PSCMD="ps -e -o pid,command"
@@ -2610,114 +2613,114 @@ if test "x${subsysdir}" = "x${sbindir}" ; then
 fi 
 
 AC_OUTPUT([autoconf/Make.common \
-           Makefile \
-           manpages/Makefile \
-           scripts/startmysql \
-           scripts/stopmysql \
-           scripts/btraceback \
-           scripts/startit \
-           scripts/stopit \
-           scripts/bconsole \
-           scripts/gconsole \
-           scripts/bacula \
-           scripts/bacula-ctl-dir \
-           scripts/bacula-ctl-fd \
-           scripts/bacula-ctl-sd \
-           scripts/devel_bacula \
-           scripts/Makefile \
-           scripts/logrotate \
-           scripts/bacula.desktop.gnome1 \
-           scripts/bacula.desktop.gnome2 \
-           scripts/bacula.desktop.gnome1.consolehelper \
-           scripts/bacula.desktop.gnome2.consolehelper \
-           scripts/bacula.desktop.gnome1.xsu \
-           scripts/bacula.desktop.gnome2.xsu \
-           scripts/bgnome-console.console_apps \
-           scripts/mtx-changer \
-           scripts/disk-changer \
-           scripts/dvd-handler \
-           scripts/dvd-simulator \
-           scripts/bacula-tray-monitor.desktop \
-           scripts/logwatch/Makefile \
-           scripts/logwatch/logfile.bacula.conf \
-           scripts/wxconsole.console_apps \
-           scripts/wxconsole.desktop.consolehelper \
-           scripts/wxconsole.desktop.xsu \
-           scripts/bat.desktop \
-           scripts/bat.desktop.xsu \
-           scripts/bat.desktop.consolehelper \
-           scripts/bat.console_apps \
-           src/Makefile \
-           src/host.h \
-           src/console/Makefile \
-           src/console/bconsole.conf \
-           src/gnome2-console/Makefile \
-           src/gnome2-console/bgnome-console.conf \
-           src/qt-console/bat.conf \
-           src/qt-console/bat.pro \
-           src/qt-console/bat.pro.mingw32 \
-           src/qt-console/install_conf_file \
-           src/wx-console/Makefile \
-           src/wx-console/bwx-console.conf \
-           src/tray-monitor/Makefile \
-           src/tray-monitor/tray-monitor.conf \
-           src/dird/Makefile \
-           src/dird/bacula-dir.conf \
-           src/lib/Makefile \
-           src/stored/Makefile \
-           src/stored/bacula-sd.conf \
-           src/filed/Makefile \
-           src/filed/bacula-fd.conf \
-           src/cats/Makefile \
-           src/cats/make_catalog_backup \
-           src/cats/delete_catalog_backup \
-           src/cats/create_postgresql_database \
-           src/cats/update_postgresql_tables \
-           src/cats/make_postgresql_tables \
-           src/cats/grant_postgresql_privileges \
-           src/cats/drop_postgresql_tables \
-           src/cats/drop_postgresql_database \
-           src/cats/create_mysql_database \
-           src/cats/update_mysql_tables \
-           src/cats/make_mysql_tables \
-           src/cats/grant_mysql_privileges \
-           src/cats/drop_mysql_tables \
-           src/cats/drop_mysql_database \
-           src/cats/create_sqlite_database \
-           src/cats/update_sqlite_tables \
-           src/cats/make_sqlite_tables \
-           src/cats/grant_sqlite_privileges \
-           src/cats/drop_sqlite_tables \
-           src/cats/drop_sqlite_database \
-           src/cats/create_sqlite3_database \
-           src/cats/update_sqlite3_tables \
-           src/cats/make_sqlite3_tables \
-           src/cats/grant_sqlite3_privileges \
-           src/cats/drop_sqlite3_tables \
-           src/cats/drop_sqlite3_database \
-           src/cats/sqlite \
-           src/cats/mysql \
-           src/cats/create_bdb_database \
-           src/cats/update_bdb_tables \
-           src/cats/make_bdb_tables \
-           src/cats/grant_bdb_privileges \
-           src/cats/drop_bdb_tables \
-           src/cats/drop_bdb_database \
-           src/cats/create_bacula_database \
-           src/cats/update_bacula_tables \
-           src/cats/grant_bacula_privileges \
-           src/cats/make_bacula_tables \
-           src/cats/drop_bacula_tables \
-           src/cats/drop_bacula_database \
-           src/findlib/Makefile \
-           src/tools/Makefile \
-           src/plugins/fd/Makefile \
-           po/Makefile.in \
-           updatedb/update_mysql_tables_10_to_11 \
-           updatedb/update_sqlite3_tables_10_to_11 \
-           updatedb/update_postgresql_tables_10_to_11 \
-           updatedb/update_sqlite_tables_10_to_11 \
-           $PFILES ],  
+          Makefile \
+          manpages/Makefile \
+          scripts/startmysql \
+          scripts/stopmysql \
+          scripts/btraceback \
+          scripts/startit \
+          scripts/stopit \
+          scripts/bconsole \
+          scripts/gconsole \
+          scripts/bacula \
+          scripts/bacula-ctl-dir \
+          scripts/bacula-ctl-fd \
+          scripts/bacula-ctl-sd \
+          scripts/devel_bacula \
+          scripts/Makefile \
+          scripts/logrotate \
+          scripts/bacula.desktop.gnome1 \
+          scripts/bacula.desktop.gnome2 \
+          scripts/bacula.desktop.gnome1.consolehelper \
+          scripts/bacula.desktop.gnome2.consolehelper \
+          scripts/bacula.desktop.gnome1.xsu \
+          scripts/bacula.desktop.gnome2.xsu \
+          scripts/bgnome-console.console_apps \
+          scripts/mtx-changer \
+          scripts/disk-changer \
+          scripts/dvd-handler \
+          scripts/dvd-simulator \
+          scripts/bacula-tray-monitor.desktop \
+          scripts/logwatch/Makefile \
+          scripts/logwatch/logfile.bacula.conf \
+          scripts/wxconsole.console_apps \
+          scripts/wxconsole.desktop.consolehelper \
+          scripts/wxconsole.desktop.xsu \
+          scripts/bat.desktop \
+          scripts/bat.desktop.xsu \
+          scripts/bat.desktop.consolehelper \
+          scripts/bat.console_apps \
+          src/Makefile \
+          src/host.h \
+          src/console/Makefile \
+          src/console/bconsole.conf \
+          src/gnome2-console/Makefile \
+          src/gnome2-console/bgnome-console.conf \
+          src/qt-console/bat.conf \
+          src/qt-console/bat.pro \
+          src/qt-console/bat.pro.mingw32 \
+          src/qt-console/install_conf_file \
+          src/wx-console/Makefile \
+          src/wx-console/bwx-console.conf \
+          src/tray-monitor/Makefile \
+          src/tray-monitor/tray-monitor.conf \
+          src/dird/Makefile \
+          src/dird/bacula-dir.conf \
+          src/lib/Makefile \
+          src/stored/Makefile \
+          src/stored/bacula-sd.conf \
+          src/filed/Makefile \
+          src/filed/bacula-fd.conf \
+          src/cats/Makefile \
+          src/cats/make_catalog_backup \
+          src/cats/delete_catalog_backup \
+          src/cats/create_postgresql_database \
+          src/cats/update_postgresql_tables \
+          src/cats/make_postgresql_tables \
+          src/cats/grant_postgresql_privileges \
+          src/cats/drop_postgresql_tables \
+          src/cats/drop_postgresql_database \
+          src/cats/create_mysql_database \
+          src/cats/update_mysql_tables \
+          src/cats/make_mysql_tables \
+          src/cats/grant_mysql_privileges \
+          src/cats/drop_mysql_tables \
+          src/cats/drop_mysql_database \
+          src/cats/create_sqlite_database \
+          src/cats/update_sqlite_tables \
+          src/cats/make_sqlite_tables \
+          src/cats/grant_sqlite_privileges \
+          src/cats/drop_sqlite_tables \
+          src/cats/drop_sqlite_database \
+          src/cats/create_sqlite3_database \
+          src/cats/update_sqlite3_tables \
+          src/cats/make_sqlite3_tables \
+          src/cats/grant_sqlite3_privileges \
+          src/cats/drop_sqlite3_tables \
+          src/cats/drop_sqlite3_database \
+          src/cats/sqlite \
+          src/cats/mysql \
+          src/cats/create_bdb_database \
+          src/cats/update_bdb_tables \
+          src/cats/make_bdb_tables \
+          src/cats/grant_bdb_privileges \
+          src/cats/drop_bdb_tables \
+          src/cats/drop_bdb_database \
+          src/cats/create_bacula_database \
+          src/cats/update_bacula_tables \
+          src/cats/grant_bacula_privileges \
+          src/cats/make_bacula_tables \
+          src/cats/drop_bacula_tables \
+          src/cats/drop_bacula_database \
+          src/findlib/Makefile \
+          src/tools/Makefile \
+          src/plugins/fd/Makefile \
+          po/Makefile.in \
+          updatedb/update_mysql_tables_10_to_11 \
+          updatedb/update_sqlite3_tables_10_to_11 \
+          updatedb/update_postgresql_tables_10_to_11 \
+          updatedb/update_sqlite_tables_10_to_11 \
+          $PFILES ],  
      [ ]
 )
 
@@ -2758,7 +2761,7 @@ cd ..
 
 c=updatedb
 chmod 755 $c/update_mysql_tables_10_to_11   $c/update_sqlite3_tables_10_to_11
-chmod 755 $c/update_postgresql_tables_10_to_11   $c/update_sqlite_tables_10_to_11
+chmod 755 $c/update_postgresql_tables_10_to_11  $c/update_sqlite_tables_10_to_11
 
 c=src/cats
 
@@ -2775,7 +2778,7 @@ chmod 755 $c/create_sqlite_database   $c/update_sqlite_tables  $c/make_sqlite_ta
 chmod 755 $c/grant_sqlite_privileges  $c/drop_sqlite_tables    $c/drop_sqlite_database
 
 chmod 755 $c/create_sqlite3_database   $c/update_sqlite3_tables  $c/make_sqlite3_tables
-chmod 755 $c/grant_sqlite3_privileges  $c/drop_sqlite3_tables    $c/drop_sqlite3_database
+chmod 755 $c/grant_sqlite3_privileges  $c/drop_sqlite3_tables   $c/drop_sqlite3_database
 
 chmod 755 $c/create_postgresql_database  $c/update_postgresql_tables $c/make_postgresql_tables
 chmod 755 $c/grant_postgresql_privileges $c/drop_postgresql_tables   $c/drop_postgresql_database
@@ -2794,7 +2797,7 @@ dnl Only try to find out the version number of the compiler when we know its som
 if test X"$GCC" = "Xyes" ; then
    dnl
    dnl A whole lot of hand springs to get the compiler version.
-   dnl  This is because gcc changed the output in version 3.0
+   dnl This is because gcc changed the output in version 3.0
    dnl
    CCVERSION=`${CC} --version | tr '\n' ' ' | cut -f 3 -d ' '`
    if test "x${CCVERSION}" = "x" ; then
@@ -2822,69 +2825,69 @@ fi
 echo "
 Configuration on `date`:
 
-   Host:                    ${host}${post_host} -- ${DISTNAME} ${DISTVER}
-   Bacula version:          ${BACULA} ${VERSION} (${DATE})
+   Host:                   ${host}${post_host} -- ${DISTNAME} ${DISTVER}
+   Bacula version:         ${BACULA} ${VERSION} (${DATE})
    Source code location:    ${srcdir}
-   Install binaries:        ${sbindir}
-   Install libraries:       ${libdir}
+   Install binaries:       ${sbindir}
+   Install libraries:      ${libdir}
    Install config files:    ${sysconfdir}
-   Scripts directory:       ${scriptdir}
-   Archive directory:       ${archivedir}
-   Working directory:       ${working_dir}
-   PID directory:           ${piddir}
-   Subsys directory:        ${subsysdir}
-   Man directory:           ${mandir}
-   Data directory:          ${datarootdir}
-   C Compiler:              ${CC} ${CCVERSION}
-   C++ Compiler:            ${CXX} ${CXXVERSION}
-   Compiler flags:          ${WCFLAGS} ${CFLAGS} 
-   Linker flags:            ${WLDFLAGS} ${LDFLAGS}
-   Libraries:               ${LIBS}
+   Scripts directory:      ${scriptdir}
+   Archive directory:      ${archivedir}
+   Working directory:      ${working_dir}
+   PID directory:          ${piddir}
+   Subsys directory:       ${subsysdir}
+   Man directory:          ${mandir}
+   Data directory:         ${datarootdir}
+   C Compiler:             ${CC} ${CCVERSION}
+   C++ Compiler:           ${CXX} ${CXXVERSION}
+   Compiler flags:         ${WCFLAGS} ${CFLAGS} 
+   Linker flags:           ${WLDFLAGS} ${LDFLAGS}
+   Libraries:              ${LIBS}
    Statically Linked Tools: ${support_static_tools}
    Statically Linked FD:    ${support_static_fd}
    Statically Linked SD:    ${support_static_sd}
    Statically Linked DIR:   ${support_static_dir}
    Statically Linked CONS:  ${support_static_cons}
-   Database type:           ${db_type}
-   Database port:           ${db_port}
-   Database lib:            ${DB_LIBS}
-   Database name:           ${db_name}
-   Database user:           ${db_user}
+   Database type:          ${db_type}
+   Database port:          ${db_port}
+   Database lib:           ${DB_LIBS}
+   Database name:          ${db_name}
+   Database user:          ${db_user}
  
-   Job Output Email:        ${job_email}
-   Traceback Email:         ${dump_email}
-   SMTP Host Address:       ${smtp_host}
+   Job Output Email:       ${job_email}
+   Traceback Email:        ${dump_email}
+   SMTP Host Address:      ${smtp_host}
  
-   Director Port:           ${dir_port}
-   File daemon Port:        ${fd_port}
+   Director Port:          ${dir_port}
+   File daemon Port:       ${fd_port}
    Storage daemon Port:     ${sd_port}
  
-   Director User:           ${dir_user}
-   Director Group:          ${dir_group}
+   Director User:          ${dir_user}
+   Director Group:         ${dir_group}
    Storage Daemon User:     ${sd_user}
    Storage DaemonGroup:     ${sd_group}
-   File Daemon User:        ${fd_user}
-   File Daemon Group:       ${fd_group}
+   File Daemon User:       ${fd_user}
+   File Daemon Group:      ${fd_group}
  
    SQL binaries Directory   ${SQL_BINDIR}
  
-   Large file support:      $largefile_support
+   Large file support:     $largefile_support
    Bacula conio support:    ${got_conio} ${CONS_LIBS}
-   readline support:        ${got_readline} ${PRTREADLINE_SRC}
+   readline support:       ${got_readline} ${PRTREADLINE_SRC}
    TCP Wrappers support:    ${TCPW_MSG} ${WRAPLIBS}
-   TLS support:             ${support_tls}
-   Encryption support:      ${support_crypto} 
-   ZLIB support:            ${have_zlib}
-   enable-smartalloc:       ${support_smartalloc} 
-   bat support:             ${support_bat} ${QWT_LDFLAGS}
-   enable-gnome:            ${support_gnome} ${gnome_version}
-   enable-bwx-console:      ${support_wx_console} ${wx_version}
+   TLS support:            ${support_tls}
+   Encryption support:     ${support_crypto} 
+   ZLIB support:           ${have_zlib}
+   enable-smartalloc:      ${support_smartalloc} 
+   bat support:            ${support_bat} ${QWT_LDFLAGS}
+   enable-gnome:           ${support_gnome} ${gnome_version}
+   enable-bwx-console:     ${support_wx_console} ${wx_version}
    enable-tray-monitor:     ${support_tray_monitor}
-   client-only:             ${build_client_only}
-   build-dird:              ${build_dird}
-   build-stored:            ${build_stored}
-   ACL support:             ${have_acl}
-   Python support:          ${support_python} ${PYTHON_LIBS}
+   client-only:            ${build_client_only}
+   build-dird:             ${build_dird}
+   build-stored:           ${build_stored}
+   ACL support:            ${have_acl}
+   Python support:         ${support_python} ${PYTHON_LIBS}
    Batch insert enabled:    ${support_batch_insert}
 
   " > config.out
index 8edf8b766d987a9e4f237cdf26250792dbdf035d..dd2f258499c13483941e0b60f6b018327db6697e 100755 (executable)
@@ -5326,7 +5326,7 @@ MAKE_SHELL=/bin/sh
 if test "${enable_libtool+set}" = set; then
   enableval=$enable_libtool;
        if test x$enableval = xno; then
-          use_libtool=no
+         use_libtool=no
        fi
 
 
@@ -15902,7 +15902,7 @@ fi
 if test "${enable_includes+set}" = set; then
   enableval=$enable_includes;
        if test x$enableval = xno; then
-          install_includes=no
+         install_includes=no
        fi
 
 
@@ -15917,6 +15917,9 @@ else
    INCLUDE_INSTALL_TARGET=""
    INCLUDE_UNINSTALL_TARGET=""
 fi
+# Turn off install of includes
+INCLUDE_INSTALL_TARGET=""
+INCLUDE_UNINSTALL_TARGET=""
 
 
 
@@ -23955,7 +23958,7 @@ DB_TYPE=bdb
 if test "${enable_gnome+set}" = set; then
   enableval=$enable_gnome;
        if test x$enableval = xyes; then
-          support_gnome=yes
+         support_gnome=yes
        fi
 
 
@@ -23994,7 +23997,7 @@ cat >>confdefs.h <<\_ACEOF
 #define HAVE_BAT 1
 _ACEOF
 
-          support_bat=yes
+         support_bat=yes
        fi
 
 
@@ -24027,19 +24030,19 @@ echo $ECHO_N "checking for qwt support... $ECHO_C" >&6; }
 # Check whether --with-qwt was given.
 if test "${with_qwt+set}" = set; then
   withval=$with_qwt;
-          case "$with_qwt" in
-          no)
-             no_qwt=yes
-             ;;
-          yes|*)
-             if test -f ${with_qwt}/include/qwt.h; then
-                QWT_INC="${with_qwt}/include"
-                QWT_LDFLAGS="-L${with_qwt}/lib"
-                QWT_LIB="-lqwt"
-                QWT="qwt"
-             fi
-             ;;
-          esac
+         case "$with_qwt" in
+         no)
+            no_qwt=yes
+            ;;
+         yes|*)
+            if test -f ${with_qwt}/include/qwt.h; then
+               QWT_INC="${with_qwt}/include"
+               QWT_LDFLAGS="-L${with_qwt}/lib"
+               QWT_LIB="-lqwt"
+               QWT="qwt"
+            fi
+            ;;
+         esac
 
 
 fi
 
             if test $no_qwt = no; then
       if test x$QWT_INC = x; then
-         for root in /usr /usr/local; do
-            for ver in qwt qwt5 qwt-qt4; do
-               if test -f ${root}/include/${ver}/qwt.h; then
-                  QWT_INC="${root}/include/${ver}"
-                  if test -d ${root}/lib64/; then
-                     QWT_LDFLAGS="-L${root}/lib64"
-                  elif test -d ${root}/lib/64/; then
-                     QWT_LDFLAGS="-L${root}/64"
-                  else
-                     QWT_LDFLAGS="-L${root}/lib"
-                  fi
-                  QWT_LIB="-lqwt"
-                  QWT="qwt"
-                  got_qwt=yes
-                  break;
-               fi
-            done
-         done
+        for root in /usr /usr/local; do
+           for ver in qwt qwt5 qwt-qt4; do
+              if test -f ${root}/include/${ver}/qwt.h; then
+                 QWT_INC="${root}/include/${ver}"
+                 if test -d ${root}/lib64/; then
+                    QWT_LDFLAGS="-L${root}/lib64"
+                 elif test -d ${root}/lib/64/; then
+                    QWT_LDFLAGS="-L${root}/64"
+                 else
+                    QWT_LDFLAGS="-L${root}/lib"
+                 fi
+                 QWT_LIB="-lqwt"
+                 QWT="qwt"
+                 got_qwt=yes
+                 break;
+              fi
+           done
+        done
       fi
    fi
    if test x$QWT_INC = x; then
@@ -24091,7 +24094,7 @@ fi
 if test "${enable_bwx_console+set}" = set; then
   enableval=$enable_bwx_console;
        if test x$enableval = xyes; then
-          support_wx_console=yes
+         support_wx_console=yes
        fi
 
 
@@ -24123,7 +24126,7 @@ fi
 if test "${enable_tray_monitor+set}" = set; then
   enableval=$enable_tray_monitor;
        if test x$enableval = xyes; then
-          support_tray_monitor=yes
+         support_tray_monitor=yes
        fi
 
 
@@ -24157,7 +24160,7 @@ fi
 if test "${enable_smartalloc+set}" = set; then
   enableval=$enable_smartalloc;
        if test x$enableval = xno; then
-          support_smartalloc=no
+         support_smartalloc=no
        fi
 
 
@@ -24176,7 +24179,7 @@ fi
 if test "${enable_static_tools+set}" = set; then
   enableval=$enable_static_tools;
        if test x$enableval = xyes; then
-          support_static_tools=yes
+         support_static_tools=yes
        fi
 
 
@@ -24193,7 +24196,7 @@ fi
 if test "${enable_static_fd+set}" = set; then
   enableval=$enable_static_fd;
        if test x$enableval = xyes; then
-          support_static_fd=yes
+         support_static_fd=yes
        fi
 
 
@@ -24210,7 +24213,7 @@ fi
 if test "${enable_static_sd+set}" = set; then
   enableval=$enable_static_sd;
        if test x$enableval = xyes; then
-          support_static_sd=yes
+         support_static_sd=yes
        fi
 
 
@@ -24227,7 +24230,7 @@ fi
 if test "${enable_static_dir+set}" = set; then
   enableval=$enable_static_dir;
        if test x$enableval = xyes; then
-          support_static_dir=yes
+         support_static_dir=yes
        fi
 
 
@@ -24244,7 +24247,7 @@ fi
 if test "${enable_static_cons+set}" = set; then
   enableval=$enable_static_cons;
        if test x$enableval = xyes; then
-          support_static_cons=yes
+         support_static_cons=yes
        fi
 
 
@@ -24267,9 +24270,9 @@ fi
 if test "${enable_client_only+set}" = set; then
   enableval=$enable_client_only;
        if test x$enableval = xyes; then
-          build_client_only=yes
-          db_type=None
-          DB_TYPE=none
+         build_client_only=yes
+         db_type=None
+         DB_TYPE=none
        fi
 
 
@@ -24286,7 +24289,7 @@ fi
 if test "${enable_build_dird+set}" = set; then
   enableval=$enable_build_dird;
        if test x$enableval = xno; then
-          build_dird=no
+         build_dird=no
        fi
 
 
@@ -24306,7 +24309,7 @@ fi
 if test "${enable_build_stored+set}" = set; then
   enableval=$enable_build_stored;
       if test x$enableval = xno; then
-         build_stored=no
+        build_stored=no
       fi
 
 
@@ -24323,7 +24326,7 @@ fi
 if test "${enable_conio+set}" = set; then
   enableval=$enable_conio;
        if test x$enableval = xno; then
-          support_conio=no
+         support_conio=no
        fi
 
 
@@ -24336,7 +24339,7 @@ support_ipv6=yes
 if test "${enable_ipv6+set}" = set; then
   enableval=$enable_ipv6;
        if test x$enableval = xno; then
-          support_ipv6=no
+         support_ipv6=no
        fi
 
 
 echo "${ECHO_T}$ac_cv_lib_curses_tgetent" >&6; }
 if test $ac_cv_lib_curses_tgetent = yes; then
    CONS_LIBS="-lcurses"
-         CONS_OBJ="conio.o"
-         CONS_SRC="conio.c"
-         got_conio="yes"
-         support_readline=no
+        CONS_OBJ="conio.o"
+        CONS_SRC="conio.c"
+        got_conio="yes"
+        support_readline=no
 
 cat >>confdefs.h <<\_ACEOF
 #define HAVE_CONIO 1
@@ -24962,7 +24965,7 @@ fi
 if test "${enable_readline+set}" = set; then
   enableval=$enable_readline;
        if test x$enableval = xno; then
-          support_readline=no
+         support_readline=no
        fi
 
 
@@ -24976,23 +24979,23 @@ if test x$support_readline = xyes; then
 # Check whether --with-readline was given.
 if test "${with_readline+set}" = set; then
   withval=$with_readline;
-          case "$with_readline" in
-          no)
-             :
-             ;;
-          yes|*)
-             if test -f ${with_readline}/readline.h; then
-                CONS_INC="-I${with_readline}"
-                CONS_LDFLAGS="-L$with_readline"
-             elif test -f ${with_readline}/include/readline/readline.h; then
-                CONS_INC="-I${with_readline}/include/readline"
-                CONS_LDFLAGS="-L${with_readline}/lib"
-                with_readline="${with_readline}/include/readline"
-             else
-                with_readline="/usr/include/readline"
-             fi
-
-             as_ac_Header=`echo "ac_cv_header_${with_readline}/readline.h" | $as_tr_sh`
+         case "$with_readline" in
+         no)
+            :
+            ;;
+         yes|*)
+            if test -f ${with_readline}/readline.h; then
+               CONS_INC="-I${with_readline}"
+               CONS_LDFLAGS="-L$with_readline"
+            elif test -f ${with_readline}/include/readline/readline.h; then
+               CONS_INC="-I${with_readline}/include/readline"
+               CONS_LDFLAGS="-L${with_readline}/lib"
+               with_readline="${with_readline}/include/readline"
+            else
+               with_readline="/usr/include/readline"
+            fi
+
+            as_ac_Header=`echo "ac_cv_header_${with_readline}/readline.h" | $as_tr_sh`
 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   { echo "$as_me:$LINENO: checking for ${with_readline}/readline.h" >&5
 echo $ECHO_N "checking for ${with_readline}/readline.h... $ECHO_C" >&6; }
@@ -25127,25 +25130,25 @@ cat >>confdefs.h <<\_ACEOF
 #define HAVE_READLINE 1
 _ACEOF
 
-                    CONS_LIBS="-lreadline -lhistory -ltermcap"
-                    got_readline="yes"
+                   CONS_LIBS="-lreadline -lhistory -ltermcap"
+                   got_readline="yes"
 
 else
 
-                    echo " "
-                    echo "readline.h not found. readline turned off ..."
-                    echo " "
+                   echo " "
+                   echo "readline.h not found. readline turned off ..."
+                   echo " "
 
 
 fi
 
 
-             ;;
-          esac
+            ;;
+         esac
 
 else
 
-                  if test "${ac_cv_header__usr_include_readline_readline_h+set}" = set; then
+                if test "${ac_cv_header__usr_include_readline_readline_h+set}" = set; then
   { echo "$as_me:$LINENO: checking for /usr/include/readline/readline.h" >&5
 echo $ECHO_N "checking for /usr/include/readline/readline.h... $ECHO_C" >&6; }
 if test "${ac_cv_header__usr_include_readline_readline_h+set}" = set; then
@@ -25277,13 +25280,13 @@ cat >>confdefs.h <<\_ACEOF
 #define HAVE_READLINE 1
 _ACEOF
 
-                got_readline="yes"
-                CONS_INC="-I/usr/include/readline"
-                CONS_LIBS="-lreadline -ltermcap"
+               got_readline="yes"
+               CONS_INC="-I/usr/include/readline"
+               CONS_LIBS="-lreadline -ltermcap"
 
 else
 
-                                as_ac_Header=`echo "ac_cv_header_${TOP_DIR}/depkgs/readline/readline.h" | $as_tr_sh`
+                               as_ac_Header=`echo "ac_cv_header_${TOP_DIR}/depkgs/readline/readline.h" | $as_tr_sh`
 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   { echo "$as_me:$LINENO: checking for ${TOP_DIR}/depkgs/readline/readline.h" >&5
 echo $ECHO_N "checking for ${TOP_DIR}/depkgs/readline/readline.h... $ECHO_C" >&6; }
@@ -25418,17 +25421,17 @@ cat >>confdefs.h <<\_ACEOF
 #define HAVE_READLINE 1
 _ACEOF
 
-                        got_readline="yes"
-                        CONS_INC="-I${TOP_DIR}/depkgs/readline"
-                        CONS_LIBS="-lreadline -lhistory -ltermcap"
-                        CONS_LDFLAGS="-L${TOP_DIR}/depkgs/readline"
-                        PRTREADLINE_SRC="${TOP_DIR}/depkgs/readline"
+                       got_readline="yes"
+                       CONS_INC="-I${TOP_DIR}/depkgs/readline"
+                       CONS_LIBS="-lreadline -lhistory -ltermcap"
+                       CONS_LDFLAGS="-L${TOP_DIR}/depkgs/readline"
+                       PRTREADLINE_SRC="${TOP_DIR}/depkgs/readline"
 
 else
 
-                        echo " "
-                        echo "readline.h not found. readline turned off ..."
-                        echo " "
+                       echo " "
+                       echo "readline.h not found. readline turned off ..."
+                       echo " "
 
 
 fi
@@ -26109,75 +26112,75 @@ if test "${with_python+set}" = set; then
        PYTHON_INCDIR=
        PYTHON_LIBS=
        if test "$withval" != "no"; then
-          if test "$withval" = "yes"; then
-             for python_root in /usr /usr/local /usr/sfw; do
-                for ver in python2.2 python2.3 python2.4 python2.5; do
-                   if test -f $python_root/include/${ver}/Python.h; then
-                      PYTHON_INCDIR=-I$python_root/include/${ver}
-                      if test -d $python_root/lib64/${ver}/config; then
-                         PYTHON_LIBS="-L$python_root/lib64/${ver}/config -l${ver}"
-                      else
-                         PYTHON_LIBS="-L$python_root/lib/${ver}/config -l${ver}"
-                      fi
-                      break
-                   fi
-                done
-             done
-
-             if test x$PYTHON_INCDIR = x; then
-                if test -f $prefix/include/Python.h; then
-                   PYTHON_INCDIR=-I$prefix/include
-                   if test -d $prefix/lib64/config; then
-                      PYTHON_LIBS="-L$prefix/lib64/config -lpython"
-                   else
-                      PYTHON_LIBS="-L$prefix/lib/config -lpython"
-                   fi
-                else
-                   { echo "$as_me:$LINENO: result: no" >&5
+         if test "$withval" = "yes"; then
+            for python_root in /usr /usr/local /usr/sfw; do
+               for ver in python2.2 python2.3 python2.4 python2.5; do
+                  if test -f $python_root/include/${ver}/Python.h; then
+                     PYTHON_INCDIR=-I$python_root/include/${ver}
+                     if test -d $python_root/lib64/${ver}/config; then
+                        PYTHON_LIBS="-L$python_root/lib64/${ver}/config -l${ver}"
+                     else
+                        PYTHON_LIBS="-L$python_root/lib/${ver}/config -l${ver}"
+                     fi
+                     break
+                  fi
+               done
+            done
+
+            if test x$PYTHON_INCDIR = x; then
+               if test -f $prefix/include/Python.h; then
+                  PYTHON_INCDIR=-I$prefix/include
+                  if test -d $prefix/lib64/config; then
+                     PYTHON_LIBS="-L$prefix/lib64/config -lpython"
+                  else
+                     PYTHON_LIBS="-L$prefix/lib/config -lpython"
+                  fi
+               else
+                  { echo "$as_me:$LINENO: result: no" >&5
 echo "${ECHO_T}no" >&6; }
-                   { { echo "$as_me:$LINENO: error: Unable to find Python.h in standard locations" >&5
+                  { { echo "$as_me:$LINENO: error: Unable to find Python.h in standard locations" >&5
 echo "$as_me: error: Unable to find Python.h in standard locations" >&2;}
    { (exit 1); exit 1; }; }
-                fi
-             fi
-          else
-             if test -f $withval/Python.h; then
-                PYTHON_INCDIR=-I$withval
-                PYTHON_LIBS="-L$withval/config -lpython"
-             elif test -f $withval/include/Python.h; then
-                PYTHON_INCDIR=-I$withval/include
-                if test -d $withval/lib64/config; then
-                   PYTHON_LIBS="-L$withval/lib64/config -lpython"
-                else
-                   PYTHON_LIBS="-L$withval/lib/config -lpython"
-                fi
-             elif test -f $withval/include/python/Python.h; then
-                PYTHON_INCDIR=-I$withval/include/python
-                if test -d $withval/lib64/python/config; then
-                   PYTHON_LIBS="-L$withval/lib64/python/config -lpython"
-                else
-                   PYTHON_LIBS="-L$withval/lib/python/config -lpython"
-                fi
-             else
-                { echo "$as_me:$LINENO: result: no" >&5
+               fi
+            fi
+         else
+            if test -f $withval/Python.h; then
+               PYTHON_INCDIR=-I$withval
+               PYTHON_LIBS="-L$withval/config -lpython"
+            elif test -f $withval/include/Python.h; then
+               PYTHON_INCDIR=-I$withval/include
+               if test -d $withval/lib64/config; then
+                  PYTHON_LIBS="-L$withval/lib64/config -lpython"
+               else
+                  PYTHON_LIBS="-L$withval/lib/config -lpython"
+               fi
+            elif test -f $withval/include/python/Python.h; then
+               PYTHON_INCDIR=-I$withval/include/python
+               if test -d $withval/lib64/python/config; then
+                  PYTHON_LIBS="-L$withval/lib64/python/config -lpython"
+               else
+                  PYTHON_LIBS="-L$withval/lib/python/config -lpython"
+               fi
+            else
+               { echo "$as_me:$LINENO: result: no" >&5
 echo "${ECHO_T}no" >&6; }
-                { { echo "$as_me:$LINENO: error: Invalid Python directory $withval - unable to find Python.h under $withval" >&5
+               { { echo "$as_me:$LINENO: error: Invalid Python directory $withval - unable to find Python.h under $withval" >&5
 echo "$as_me: error: Invalid Python directory $withval - unable to find Python.h under $withval" >&2;}
    { (exit 1); exit 1; }; }
-             fi
-          fi
+            fi
+         fi
 
-          cat >>confdefs.h <<\_ACEOF
+         cat >>confdefs.h <<\_ACEOF
 #define HAVE_PYTHON 1
 _ACEOF
 
-          { echo "$as_me:$LINENO: result: yes" >&5
+         { echo "$as_me:$LINENO: result: yes" >&5
 echo "${ECHO_T}yes" >&6; }
-          support_python=yes
-          { echo "$as_me:$LINENO: checking for more Python libs" >&5
+         support_python=yes
+         { echo "$as_me:$LINENO: checking for more Python libs" >&5
 echo "$as_me: checking for more Python libs" >&6;}
-          saved_LIBS="$LIBS"; LIBS=
-          { echo "$as_me:$LINENO: checking for library containing shm_open" >&5
+         saved_LIBS="$LIBS"; LIBS=
+         { echo "$as_me:$LINENO: checking for library containing shm_open" >&5
 echo $ECHO_N "checking for library containing shm_open... $ECHO_C" >&6; }
 if test "${ac_cv_search_shm_open+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -26331,10 +26334,10 @@ _ACEOF
 
 fi
 
-          PYTHON_LIBS="$PYTHON_LIBS $LIBS"
-          LIBS="$saved_LIBS"
+         PYTHON_LIBS="$PYTHON_LIBS $LIBS"
+         LIBS="$saved_LIBS"
        else
-          { echo "$as_me:$LINENO: result: no" >&5
+         { echo "$as_me:$LINENO: result: no" >&5
 echo "${ECHO_T}no" >&6; }
        fi
 
@@ -26657,11 +26660,11 @@ WRAPLIBS=""
 if test "${with_tcp_wrappers+set}" = set; then
   withval=$with_tcp_wrappers;
        if test "x$withval" != "xno" ; then
-          saved_LIBS="$LIBS"
-          LIBS="$saved_LIBS -lwrap"
-          { echo "$as_me:$LINENO: checking for libwrap" >&5
+         saved_LIBS="$LIBS"
+         LIBS="$saved_LIBS -lwrap"
+         { echo "$as_me:$LINENO: checking for libwrap" >&5
 echo $ECHO_N "checking for libwrap... $ECHO_C" >&6; }
-          { echo "$as_me:$LINENO: checking for library containing nanosleep" >&5
+         { echo "$as_me:$LINENO: checking for library containing nanosleep" >&5
 echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6; }
 if test "${ac_cv_search_nanosleep+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -26744,24 +26747,24 @@ if test "$ac_res" != no; then
 
 fi
 
-          cat >conftest.$ac_ext <<_ACEOF
+         cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
 cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
-               #include <sys/types.h>
-               #include <tcpd.h>
-               int deny_severity = 0;
-               int allow_severity = 0;
-               struct request_info *req;
+              #include <sys/types.h>
+              #include <tcpd.h>
+              int deny_severity = 0;
+              int allow_severity = 0;
+              struct request_info *req;
 
 int
 main ()
 {
 
-                hosts_access(req);
+               hosts_access(req);
 
   ;
   return 0;
@@ -26786,42 +26789,42 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        } && test -s conftest$ac_exeext &&
        $as_test_x conftest$ac_exeext; then
 
-                 { echo "$as_me:$LINENO: result: yes" >&5
+                { echo "$as_me:$LINENO: result: yes" >&5
 echo "${ECHO_T}yes" >&6; }
 
 cat >>confdefs.h <<\_ACEOF
 #define HAVE_LIBWRAP 1
 _ACEOF
 
-                 TCPW_MSG="yes"
-                 LIBS="$saved_LIBS"
-                 WRAPLIBS="-lwrap"
+                TCPW_MSG="yes"
+                LIBS="$saved_LIBS"
+                WRAPLIBS="-lwrap"
 
 else
   echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
 
 
-                 LIBS="$saved_LIBS -lwrap -lnsl"
-                 WRAPLIBS="$saved_LIBS -lwrap -lnsl"
-                 cat >conftest.$ac_ext <<_ACEOF
+                LIBS="$saved_LIBS -lwrap -lnsl"
+                WRAPLIBS="$saved_LIBS -lwrap -lnsl"
+                cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
 cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
-                       #include <sys/types.h>
-                       #include <tcpd.h>
-                       int deny_severity = 0;
-                       int allow_severity = 0;
-                       struct request_info *req;
+                      #include <sys/types.h>
+                      #include <tcpd.h>
+                      int deny_severity = 0;
+                      int allow_severity = 0;
+                      struct request_info *req;
 
 int
 main ()
 {
 
-                       hosts_access(req);
+                      hosts_access(req);
 
   ;
   return 0;
@@ -26846,23 +26849,23 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        } && test -s conftest$ac_exeext &&
        $as_test_x conftest$ac_exeext; then
 
-                      { echo "$as_me:$LINENO: result: yes" >&5
+                     { echo "$as_me:$LINENO: result: yes" >&5
 echo "${ECHO_T}yes" >&6; }
 
 cat >>confdefs.h <<\_ACEOF
 #define HAVE_LIBWRAP 1
 _ACEOF
 
-                      TCPW_MSG="yes"
-                      LIBS="$saved_LIBS"
-                      WRAPLIBS="-lwrap"
+                     TCPW_MSG="yes"
+                     LIBS="$saved_LIBS"
+                     WRAPLIBS="-lwrap"
 
 else
   echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
 
 
-                      { { echo "$as_me:$LINENO: error: *** libwrap missing" >&5
+                     { { echo "$as_me:$LINENO: error: *** libwrap missing" >&5
 echo "$as_me: error: *** libwrap missing" >&2;}
    { (exit 1); exit 1; }; }
 
@@ -26889,7 +26892,7 @@ echo $ECHO_N "checking for OpenSSL... $ECHO_C" >&6; }
 # Check whether --with-openssl was given.
 if test "${with_openssl+set}" = set; then
   withval=$with_openssl;
-        with_openssl_directory=${withval}
+       with_openssl_directory=${withval}
 
 
 fi
@@ -26904,8 +26907,8 @@ if test "x$with_openssl_directory" != "xno"; then
       # Make sure the $with_openssl_directory also makes sense
       #
       if test -d "$with_openssl_directory/lib" -a -d "$with_openssl_directory/include"; then
-         OPENSSL_LIBS="-L$with_openssl_directory/lib $OPENSSL_LIBS"
-         OPENSSL_INC="-I$with_openssl_directory/include $OPENSSL_INC"
+        OPENSSL_LIBS="-L$with_openssl_directory/lib $OPENSSL_LIBS"
+        OPENSSL_INC="-I$with_openssl_directory/include $OPENSSL_INC"
       fi
    fi
 
@@ -26921,13 +26924,13 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
-          #include <openssl/ssl.h>
+         #include <openssl/ssl.h>
 
 int
 main ()
 {
 
-           CRYPTO_set_id_callback(NULL);
+          CRYPTO_set_id_callback(NULL);
 
   ;
   return 0;
@@ -26952,15 +26955,15 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        } && test -s conftest$ac_exeext &&
        $as_test_x conftest$ac_exeext; then
 
-          support_tls="yes"
-          support_crypto="yes"
+         support_tls="yes"
+         support_crypto="yes"
 
 else
   echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
 
 
-          support_tls="no"
+         support_tls="no"
 
 
 fi
@@ -26975,13 +26978,13 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
-          #include <openssl/evp.h>
+         #include <openssl/evp.h>
 
 int
 main ()
 {
 
-          EVP_sha512();
+         EVP_sha512();
 
   ;
   return 0;
@@ -27006,14 +27009,14 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        } && test -s conftest$ac_exeext &&
        $as_test_x conftest$ac_exeext; then
 
-          ac_cv_openssl_sha2="yes"
+         ac_cv_openssl_sha2="yes"
 
 else
   echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
 
 
-          ac_cv_openssl_sha2="no"
+         ac_cv_openssl_sha2="no"
 
 
 fi
@@ -27028,13 +27031,13 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
-          #include <openssl/evp.h>
+         #include <openssl/evp.h>
 
 int
 main ()
 {
 
-          EVP_aes_192_cbc();
+         EVP_aes_192_cbc();
 
   ;
   return 0;
@@ -27059,14 +27062,14 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        } && test -s conftest$ac_exeext &&
        $as_test_x conftest$ac_exeext; then
 
-          ac_cv_openssl_export="no"
+         ac_cv_openssl_export="no"
 
 else
   echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
 
 
-          ac_cv_openssl_export="yes"
+         ac_cv_openssl_export="yes"
 
 
 fi
@@ -27212,7 +27215,7 @@ working_dir=`eval echo ${prefix}/var/bacula/working`
 if test "${with_working_dir+set}" = set; then
   withval=$with_working_dir;
        if test "x$withval" != "xno" ; then
-         working_dir=$withval
+        working_dir=$withval
        fi
 
 
@@ -27227,7 +27230,7 @@ archive_dir=/tmp
 if test "${with_archivedir+set}" = set; then
   withval=$with_archivedir;
        if test "x$withval" != "xno" ; then
-          archivedir=$withval
+         archivedir=$withval
        fi
 
 
@@ -27242,7 +27245,7 @@ scriptdir=`eval echo ${sysconfdir}`
 if test "${with_scriptdir+set}" = set; then
   withval=$with_scriptdir;
        if test "x$withval" != "xno" ; then
-          scriptdir=$withval
+         scriptdir=$withval
        fi
 
 
@@ -27260,7 +27263,7 @@ plugindir=`eval echo ${sysconfdir}`
 if test "${with_plugindir+set}" = set; then
   withval=$with_plugindir;
        if test "x$withval" != "xno" ; then
-          plugindir=$withval
+         plugindir=$withval
        fi
 
 
@@ -27275,7 +27278,7 @@ dump_email=root@localhost
 if test "${with_dump_email+set}" = set; then
   withval=$with_dump_email;
        if test "x$withval" != "xno" ; then
-          dump_email=$withval
+         dump_email=$withval
        fi
 
 
@@ -27290,7 +27293,7 @@ job_email=root@localhost
 if test "${with_job_email+set}" = set; then
   withval=$with_job_email;
        if test "x$withval" != "xno" ; then
-          job_email=$withval
+         job_email=$withval
        fi
 
 
@@ -27305,7 +27308,7 @@ smtp_host=localhost
 if test "${with_smtp_host+set}" = set; then
   withval=$with_smtp_host;
        if test "x$withval" != "xno" ; then
-          smtp_host=$withval
+         smtp_host=$withval
        fi
 
 
@@ -27320,7 +27323,7 @@ piddir=/var/run
 if test "${with_pid_dir+set}" = set; then
   withval=$with_pid_dir;
        if test "x$withval" != "xno" ; then
-          piddir=$withval
+         piddir=$withval
        fi
 
 
@@ -27346,7 +27349,7 @@ fi
 if test "${with_subsys_dir+set}" = set; then
   withval=$with_subsys_dir;
        if test "x$withval" != "xno" ; then
-          subsysdir=$withval
+         subsysdir=$withval
        fi
 
 
@@ -27361,7 +27364,7 @@ baseport=9101
 if test "${with_baseport+set}" = set; then
   withval=$with_baseport;
        if test "x$withval" != "xno" ; then
-          baseport=$withval
+         baseport=$withval
        fi
 
 
@@ -27383,7 +27386,7 @@ dir_password=
 if test "${with_dir_password+set}" = set; then
   withval=$with_dir_password;
        if test "x$withval" != "xno" ; then
-          dir_password=$withval
+         dir_password=$withval
        fi
 
 
@@ -27405,7 +27408,7 @@ fd_password=
 if test "${with_fd_password+set}" = set; then
   withval=$with_fd_password;
        if test "x$withval" != "xno" ; then
-          fd_password=$withval
+         fd_password=$withval
        fi
 
 
@@ -27427,7 +27430,7 @@ sd_password=
 if test "${with_sd_password+set}" = set; then
   withval=$with_sd_password;
        if test "x$withval" != "xno" ; then
-          sd_password=$withval
+         sd_password=$withval
        fi
 
 
@@ -27449,7 +27452,7 @@ mon_dir_password=
 if test "${with_mon_dir_password+set}" = set; then
   withval=$with_mon_dir_password;
        if test "x$withval" != "xno" ; then
-          mon_dir_password=$withval
+         mon_dir_password=$withval
        fi
 
 
@@ -27471,7 +27474,7 @@ mon_fd_password=
 if test "${with_mon_fd_password+set}" = set; then
   withval=$with_mon_fd_password;
        if test "x$withval" != "xno" ; then
-          mon_fd_password=$withval
+         mon_fd_password=$withval
        fi
 
 
@@ -27493,7 +27496,7 @@ mon_sd_password=
 if test "${with_mon_sd_password+set}" = set; then
   withval=$with_mon_sd_password;
        if test "x$withval" != "xno" ; then
-          mon_sd_password=$withval
+         mon_sd_password=$withval
        fi
 
 
@@ -27522,7 +27525,7 @@ db_name=bacula
 if test "${with_db_name+set}" = set; then
   withval=$with_db_name;
        if test "x$withval" != "x" ; then
-          db_name=$withval
+         db_name=$withval
        fi
 
 
@@ -27536,7 +27539,7 @@ db_user=bacula
 if test "${with_db_user+set}" = set; then
   withval=$with_db_user;
        if test "x$withval" != "x" ; then
-          db_user=$withval
+         db_user=$withval
        fi
 
 
@@ -27550,7 +27553,7 @@ db_password=
 if test "${with_db_password+set}" = set; then
   withval=$with_db_password;
        if test "x$withval" != "x" ; then
-          db_password=$withval
+         db_password=$withval
        fi
 
 
@@ -27564,7 +27567,7 @@ db_port=" "
 if test "${with_db_port+set}" = set; then
   withval=$with_db_port;
        if test "x$withval" != "x" ; then
-          db_port=$withval
+         db_port=$withval
        fi
 
 
@@ -27581,7 +27584,7 @@ dir_user=
 if test "${with_dir_user+set}" = set; then
   withval=$with_dir_user;
        if test "x$withval" != "x" ; then
-           dir_user=$withval
+          dir_user=$withval
        fi
 
 
@@ -27594,7 +27597,7 @@ dir_group=
 if test "${with_dir_group+set}" = set; then
   withval=$with_dir_group;
        if test "x$withval" != "x" ; then
-          dir_group=$withval
+         dir_group=$withval
        fi
 
 
@@ -27607,7 +27610,7 @@ sd_user=
 if test "${with_sd_user+set}" = set; then
   withval=$with_sd_user;
        if test "x$withval" != "x" ; then
-          sd_user=$withval
+         sd_user=$withval
        fi
 
 
@@ -27620,7 +27623,7 @@ sd_group=
 if test "${with_sd_group+set}" = set; then
   withval=$with_sd_group;
        if test "x$withval" != "x" ; then
-          sd_group=$withval
+         sd_group=$withval
        fi
 
 
@@ -27633,7 +27636,7 @@ fd_user=
 if test "${with_fd_user+set}" = set; then
   withval=$with_fd_user;
        if test "x$withval" != "x" ; then
-          fd_user=$withval
+         fd_user=$withval
        fi
 
 
@@ -27646,7 +27649,7 @@ fd_group=
 if test "${with_fd_group+set}" = set; then
   withval=$with_fd_group;
        if test "x$withval" != "x" ; then
-          fd_group=$withval
+         fd_group=$withval
        fi
 
 
@@ -27666,7 +27669,7 @@ SBINPERM=0754
 if test "${with_sbin_perm+set}" = set; then
   withval=$with_sbin_perm;
        if test "x$withval" != "x" ; then
-          SBINPERM=$withval
+         SBINPERM=$withval
        fi
 
 
@@ -28729,11 +28732,11 @@ if test $pkg = 0; then
    # Check whether --enable-batch-insert was given.
 if test "${enable_batch_insert+set}" = set; then
   enableval=$enable_batch_insert;
-          if test x$enableval = xno; then
-             support_batch_insert=no
-          else
-             support_batch_insert=yes
-          fi
+         if test x$enableval = xno; then
+            support_batch_insert=no
+         else
+            support_batch_insert=yes
+         fi
 
 
 fi
@@ -28771,11 +28774,11 @@ if test x$DB_TYPE = xdbi; then
       # Check whether --enable-batch-insert was given.
 if test "${enable_batch_insert+set}" = set; then
   enableval=$enable_batch_insert;
-             if test x$enableval = xno; then
-                support_batch_insert=no
-             else
-                support_batch_insert=yes
-             fi
+            if test x$enableval = xno; then
+               support_batch_insert=no
+            else
+               support_batch_insert=yes
+            fi
 
 
 fi
@@ -32122,14 +32125,14 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
-              #include <sys/types.h>
-              #include <utime.h>
+             #include <sys/types.h>
+             #include <utime.h>
 
 int
 main ()
 {
 
-              struct utimbuf foo
+             struct utimbuf foo
 
   ;
   return 0;
@@ -32153,14 +32156,14 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
 
-              ba_cv_header_utime_h=yes
+             ba_cv_header_utime_h=yes
 
 else
   echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
 
 
-              ba_cv_header_utime_h=no
+             ba_cv_header_utime_h=no
 
 
 fi
@@ -32190,14 +32193,14 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
-              #include <sys/types.h>
-              #include <sys/socket.h>
+             #include <sys/types.h>
+             #include <sys/socket.h>
 
 int
 main ()
 {
 
-              socklen_t x
+             socklen_t x
 
   ;
   return 0;
@@ -32221,14 +32224,14 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
 
-             ba_cv_header_socklen_t=yes
+            ba_cv_header_socklen_t=yes
 
 else
   echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
 
 
-             ba_cv_header_socklen_t=no
+            ba_cv_header_socklen_t=no
 
 
 fi
@@ -32252,7 +32255,7 @@ else
 
        if test "$cross_compiling" = yes; then
 
-             ba_cv_bigendian=no
+            ba_cv_bigendian=no
 
 
 else
@@ -32263,7 +32266,7 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
-              main(){long a=1L; char *p=(char *)&a; exit(*p);}
+             main(){long a=1L; char *p=(char *)&a; exit(*p);}
 
 _ACEOF
 rm -f conftest$ac_exeext
@@ -32287,7 +32290,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
 
-             ba_cv_bigendian=yes
+            ba_cv_bigendian=yes
 
 else
   echo "$as_me: program exited with status $ac_status" >&5
@@ -32296,7 +32299,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
 
 ( exit $ac_status )
 
-             ba_cv_bigendian=no
+            ba_cv_bigendian=no
 
 fi
 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
@@ -32327,7 +32330,7 @@ else
 
        if test "$cross_compiling" = yes; then
 
-              ba_cv_have_typeof=no
+             ba_cv_have_typeof=no
 
 
 else
@@ -32338,7 +32341,7 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
-              main(){char *a = 0; a = (typeof a)a;}
+             main(){char *a = 0; a = (typeof a)a;}
 
 _ACEOF
 rm -f conftest$ac_exeext
@@ -32362,7 +32365,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
 
-              ba_cv_have_typeof=yes
+             ba_cv_have_typeof=yes
 
 else
   echo "$as_me: program exited with status $ac_status" >&5
@@ -32371,7 +32374,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
 
 ( exit $ac_status )
 
-              ba_cv_have_typeof=no
+             ba_cv_have_typeof=no
 
 fi
 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
@@ -32554,8 +32557,8 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
-          #include <sys/statfs.h>
-          #include <sys/fstyp.h>
+         #include <sys/statfs.h>
+         #include <sys/fstyp.h>
 
 _ACEOF
 if { (ac_try="$ac_cpp conftest.$ac_ext"
@@ -32596,8 +32599,8 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
-          #include <sys/statfs.h>
-          #include <sys/vmount.h>
+         #include <sys/statfs.h>
+         #include <sys/vmount.h>
 
 _ACEOF
 if { (ac_try="$ac_cpp conftest.$ac_ext"
@@ -32638,7 +32641,7 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
-          #include <mntent.h>
+         #include <mntent.h>
 
 _ACEOF
 if { (ac_try="$ac_cpp conftest.$ac_ext"
@@ -32699,8 +32702,8 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
-          #include <sys/mount.h>
-          #include <sys/fs_types.h>
+         #include <sys/mount.h>
+         #include <sys/fs_types.h>
 
 _ACEOF
 if { (ac_try="$ac_cpp conftest.$ac_ext"
@@ -36605,13 +36608,13 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
-              #include <sys/types.h>
+             #include <sys/types.h>
 
 int
 main ()
 {
 
-              u_int a; a = 1;
+             u_int a; a = 1;
 
   ;
   return 0;
@@ -36635,14 +36638,14 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
 
-              ac_cv_have_u_int="yes"
+             ac_cv_have_u_int="yes"
 
 else
   echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
 
 
-              ac_cv_have_u_int="no"
+             ac_cv_have_u_int="no"
 
 
 fi
@@ -36674,13 +36677,13 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
-              #include <sys/types.h>
+             #include <sys/types.h>
 
 int
 main ()
 {
 
-              intmax_t a; a = 1;
+             intmax_t a; a = 1;
 
   ;
   return 0;
@@ -36704,27 +36707,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
 
-              ac_cv_have_intmax_t="yes"
+             ac_cv_have_intmax_t="yes"
 
 else
   echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
 
 
-              cat >conftest.$ac_ext <<_ACEOF
+             cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
 cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
-                     #include <stdint.h>
+                    #include <stdint.h>
 
 int
 main ()
 {
 
-                     intmax_t a; a = 1;
+                    intmax_t a; a = 1;
 
   ;
   return 0;
@@ -36748,14 +36751,14 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
 
-                     ac_cv_have_intmax_t="yes"
+                    ac_cv_have_intmax_t="yes"
 
 else
   echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
 
 
-                     ac_cv_have_intmax_t="no"
+                    ac_cv_have_intmax_t="no"
 
 
 fi
@@ -36792,13 +36795,13 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
-              #include <sys/types.h>
+             #include <sys/types.h>
 
 int
 main ()
 {
 
-              u_intmax_t a; a = 1;
+             u_intmax_t a; a = 1;
 
   ;
   return 0;
@@ -36822,27 +36825,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
 
-              ac_cv_have_u_intmax_t="yes"
+             ac_cv_have_u_intmax_t="yes"
 
 else
   echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
 
 
-              cat >conftest.$ac_ext <<_ACEOF
+             cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
 cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
-                     #include <stdint.h>
+                    #include <stdint.h>
 
 int
 main ()
 {
 
-                    u_intmax_t a; a = 1;
+                   u_intmax_t a; a = 1;
 
   ;
   return 0;
@@ -36866,14 +36869,14 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
 
-                    ac_cv_have_u_intmax_t="yes"
+                   ac_cv_have_u_intmax_t="yes"
 
 else
   echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
 
 
-                    ac_cv_have_u_intmax_t="no"
+                   ac_cv_have_u_intmax_t="no"
 
 
 fi
@@ -36910,13 +36913,13 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
-              #include <sys/types.h>
+             #include <sys/types.h>
 
 int
 main ()
 {
 
-              int8_t a; int16_t b; int32_t c; a = b = c = 1;
+             int8_t a; int16_t b; int32_t c; a = b = c = 1;
 
   ;
   return 0;
@@ -36940,14 +36943,14 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
 
-              ac_cv_have_intxx_t="yes"
+             ac_cv_have_intxx_t="yes"
 
 else
   echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
 
 
-              ac_cv_have_intxx_t="no"
+             ac_cv_have_intxx_t="no"
 
 
 fi
@@ -36979,13 +36982,13 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
-              #include <sys/types.h>
+             #include <sys/types.h>
 
 int
 main ()
 {
 
-              int64_t a; a = 1;
+             int64_t a; a = 1;
 
   ;
   return 0;
@@ -37009,14 +37012,14 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
 
-              ac_cv_have_int64_t="yes"
+             ac_cv_have_int64_t="yes"
 
 else
   echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
 
 
-              ac_cv_have_int64_t="no"
+             ac_cv_have_int64_t="no"
 
 
 fi
@@ -37048,13 +37051,13 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
-              #include <sys/types.h>
+             #include <sys/types.h>
 
 int
 main ()
 {
 
-              u_int8_t a; u_int16_t b; u_int32_t c; a = b = c = 1;
+             u_int8_t a; u_int16_t b; u_int32_t c; a = b = c = 1;
 
   ;
   return 0;
@@ -37078,14 +37081,14 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
 
-             ac_cv_have_u_intxx_t="yes"
+            ac_cv_have_u_intxx_t="yes"
 
 else
   echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
 
 
-             ac_cv_have_u_intxx_t="no"
+            ac_cv_have_u_intxx_t="no"
 
 
 fi
@@ -37117,13 +37120,13 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
-              #include <sys/types.h>
+             #include <sys/types.h>
 
 int
 main ()
 {
 
-              u_int64_t a; a = 1;
+             u_int64_t a; a = 1;
 
   ;
   return 0;
@@ -37147,14 +37150,14 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
 
-             ac_cv_have_u_int64_t="yes"
+            ac_cv_have_u_int64_t="yes"
 
 else
   echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
 
 
-             ac_cv_have_u_int64_t="no"
+            ac_cv_have_u_int64_t="no"
 
 
 fi
@@ -37185,15 +37188,15 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
-          #include <sys/bitypes.h>
+         #include <sys/bitypes.h>
 
 int
 main ()
 {
 
-          int8_t a; int16_t b; int32_t c;
-          u_int8_t e; u_int16_t f; u_int32_t g;
-          a = b = c = e = f = g = 1;
+         int8_t a; int16_t b; int32_t c;
+         u_int8_t e; u_int16_t f; u_int32_t g;
+         a = b = c = e = f = g = 1;
 
   ;
   return 0;
@@ -37217,19 +37220,19 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
 
-          cat >>confdefs.h <<\_ACEOF
+         cat >>confdefs.h <<\_ACEOF
 #define HAVE_U_INTXX_T 1
 _ACEOF
 
-          cat >>confdefs.h <<\_ACEOF
+         cat >>confdefs.h <<\_ACEOF
 #define HAVE_INTXX_T 1
 _ACEOF
 
-          cat >>confdefs.h <<\_ACEOF
+         cat >>confdefs.h <<\_ACEOF
 #define HAVE_SYS_BITYPES_H 1
 _ACEOF
 
-          { echo "$as_me:$LINENO: result: yes" >&5
+         { echo "$as_me:$LINENO: result: yes" >&5
 echo "${ECHO_T}yes" >&6; }
 
 else
@@ -37237,7 +37240,7 @@ else
 sed 's/^/| /' conftest.$ac_ext >&5
 
 
-          { echo "$as_me:$LINENO: result: no" >&5
+         { echo "$as_me:$LINENO: result: no" >&5
 echo "${ECHO_T}no" >&6; }
 
 
@@ -37253,21 +37256,21 @@ if test "${ac_cv_have_uintxx_t+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
 
-          cat >conftest.$ac_ext <<_ACEOF
+         cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
 cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
-                 #include <sys/types.h>
+                #include <sys/types.h>
 
 int
 main ()
 {
 
-                 uint8_t a; uint16_t b;
-                 uint32_t c; a = b = c = 1;
+                uint8_t a; uint16_t b;
+                uint32_t c; a = b = c = 1;
 
   ;
   return 0;
@@ -37291,14 +37294,14 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
 
-                ac_cv_have_uintxx_t="yes"
+               ac_cv_have_uintxx_t="yes"
 
 else
   echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
 
 
-                ac_cv_have_uintxx_t="no"
+               ac_cv_have_uintxx_t="no"
 
 
 fi
@@ -37329,14 +37332,14 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
-          #include <sys/bitypes.h>
+         #include <sys/bitypes.h>
 
 int
 main ()
 {
 
-          int64_t a; u_int64_t b;
-          a = b = 1;
+         int64_t a; u_int64_t b;
+         a = b = 1;
 
   ;
   return 0;
@@ -37360,15 +37363,15 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
 
-          cat >>confdefs.h <<\_ACEOF
+         cat >>confdefs.h <<\_ACEOF
 #define HAVE_U_INT64_T 1
 _ACEOF
 
-          cat >>confdefs.h <<\_ACEOF
+         cat >>confdefs.h <<\_ACEOF
 #define HAVE_INT64_T 1
 _ACEOF
 
-          { echo "$as_me:$LINENO: result: yes" >&5
+         { echo "$as_me:$LINENO: result: yes" >&5
 echo "${ECHO_T}yes" >&6; }
 
 else
@@ -37376,7 +37379,7 @@ else
 sed 's/^/| /' conftest.$ac_ext >&5
 
 
-          { echo "$as_me:$LINENO: result: no" >&5
+         { echo "$as_me:$LINENO: result: no" >&5
 echo "${ECHO_T}no" >&6; }
 
 
@@ -37397,14 +37400,14 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
-          #include <sys/bitypes.h>
+         #include <sys/bitypes.h>
 
 int
 main ()
 {
 
-          uint8_t a; uint16_t b;
-          uint32_t c; a = b = c = 1;
+         uint8_t a; uint16_t b;
+         uint32_t c; a = b = c = 1;
 
   ;
   return 0;
@@ -37428,11 +37431,11 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
 
-          cat >>confdefs.h <<\_ACEOF
+         cat >>confdefs.h <<\_ACEOF
 #define HAVE_UINTXX_T 1
 _ACEOF
 
-          { echo "$as_me:$LINENO: result: yes" >&5
+         { echo "$as_me:$LINENO: result: yes" >&5
 echo "${ECHO_T}yes" >&6; }
 
 else
@@ -37440,7 +37443,7 @@ else
 sed 's/^/| /' conftest.$ac_ext >&5
 
 
-          { echo "$as_me:$LINENO: result: no" >&5
+         { echo "$as_me:$LINENO: result: no" >&5
 echo "${ECHO_T}no" >&6; }
 
 
@@ -38162,15 +38165,15 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
-              #include <stdarg.h>
-              void use_va_copy(va_list args){va_list args2; va_copy(args2,args); va_end(args2);}
-              void call_use_va_copy(int junk,...){va_list args; va_start(args,junk); use_va_copy(args); va_end(args);}
+             #include <stdarg.h>
+             void use_va_copy(va_list args){va_list args2; va_copy(args2,args); va_end(args2);}
+             void call_use_va_copy(int junk,...){va_list args; va_start(args,junk); use_va_copy(args); va_end(args);}
 
 int
 main ()
 {
 
-              call_use_va_copy(1,2,3)
+             call_use_va_copy(1,2,3)
 
   ;
   return 0;
@@ -38195,14 +38198,14 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        } && test -s conftest$ac_exeext &&
        $as_test_x conftest$ac_exeext; then
 
-              ba_cv_va_copy=yes,
+             ba_cv_va_copy=yes,
 
 else
   echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
 
 
-              ba_cv_va_copy=no
+             ba_cv_va_copy=no
 
 
 fi
@@ -38854,13 +38857,13 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
-              #include <sys/socket.h>
+             #include <sys/socket.h>
 
 int
 main ()
 {
 
-              struct sockaddr s; s.sa_len;
+             struct sockaddr s; s.sa_len;
 
   ;
   return 0;
@@ -38884,7 +38887,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
 
-             ac_cv_struct_sockaddr_sa_len=yes
+            ac_cv_struct_sockaddr_sa_len=yes
 
 else
   echo "$as_me: failed program was:" >&5
@@ -39854,7 +39857,7 @@ cat >>confdefs.h <<\_ACEOF
 _ACEOF
 
 fi
-             # AC_FUNC_FNMATCH    dnl use local version
+           # AC_FUNC_FNMATCH    dnl use local version
 
 { echo "$as_me:$LINENO: checking for gettext in -lintl" >&5
 echo $ECHO_N "checking for gettext in -lintl... $ECHO_C" >&6; }
 echo "${ECHO_T}$ac_cv_lib_acl_acl_get_file" >&6; }
 if test $ac_cv_lib_acl_acl_get_file = yes; then
 
-              have_acl=yes;
-              FDLIBS="-lacl $FDLIBS"
+             have_acl=yes;
+             FDLIBS="-lacl $FDLIBS"
 
 else
 
-              { echo "$as_me:$LINENO: checking for acltotext in -lsec" >&5
+             { echo "$as_me:$LINENO: checking for acltotext in -lsec" >&5
 echo $ECHO_N "checking for acltotext in -lsec... $ECHO_C" >&6; }
 if test "${ac_cv_lib_sec_acltotext+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -40552,8 +40555,8 @@ fi
 echo "${ECHO_T}$ac_cv_lib_sec_acltotext" >&6; }
 if test $ac_cv_lib_sec_acltotext = yes; then
 
-                     have_acl=yes;
-                     FDLIBS="-lsec $FDLIBS"
+                    have_acl=yes;
+                    FDLIBS="-lsec $FDLIBS"
 
 
 fi
@@ -40704,7 +40707,7 @@ if test $ac_cv_lib_pthreads_pthread_create = yes; then
   PTHREAD_LIB="-lpthreads"
 else
 
-              { echo "$as_me:$LINENO: checking for pthread_create in -lc_r" >&5
+             { echo "$as_me:$LINENO: checking for pthread_create in -lc_r" >&5
 echo $ECHO_N "checking for pthread_create in -lc_r... $ECHO_C" >&6; }
 if test "${ac_cv_lib_c_r_pthread_create+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -40769,7 +40772,7 @@ if test $ac_cv_lib_c_r_pthread_create = yes; then
   PTHREAD_LIB="-lc_r"
 else
 
-                     { echo "$as_me:$LINENO: checking for pthread_create" >&5
+                    { echo "$as_me:$LINENO: checking for pthread_create" >&5
 echo $ECHO_N "checking for pthread_create... $ECHO_C" >&6; }
 if test "${ac_cv_func_pthread_create+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -40975,10 +40978,10 @@ debian)
    if test -f /etc/lsb-release ; then
       . /etc/lsb-release
       if test "x$DISTRIB_ID" != "x" ; then
-         DISTNAME=$DISTRIB_ID
+        DISTNAME=$DISTRIB_ID
       fi
       if test "x$DISTRIB_RELEASE" != "x" ; then
-         DISTVER=$DISTRIB_RELEASE
+        DISTVER=$DISTRIB_RELEASE
       fi
    fi
    if test "$DISTNAME" = "Ubuntu" ; then
@@ -40988,16 +40991,16 @@ debian)
    PSCMD="ps -e -o pid,command"
    if test "$DISTNAME" = "ubuntu" ; then
       PFILES="${PFILES} \
-         platforms/ubuntu/Makefile \
-         platforms/ubuntu/bacula-fd \
-         platforms/ubuntu/bacula-sd \
-         platforms/ubuntu/bacula-dir"
+        platforms/ubuntu/Makefile \
+        platforms/ubuntu/bacula-fd \
+        platforms/ubuntu/bacula-sd \
+        platforms/ubuntu/bacula-dir"
    else
       PFILES="${PFILES} \
-         platforms/debian/Makefile \
-         platforms/debian/bacula-fd \
-         platforms/debian/bacula-sd \
-         platforms/debian/bacula-dir"
+        platforms/debian/Makefile \
+        platforms/debian/bacula-fd \
+        platforms/debian/bacula-sd \
+        platforms/debian/bacula-dir"
    fi
   ;;
 freebsd)
@@ -41077,12 +41080,12 @@ redhat)
       f=/etc/redhat-release
    fi
    if test `cat $f | grep release |\
-         cut -f 3 -d ' '`x = "Enterprise"x ; then
+        cut -f 3 -d ' '`x = "Enterprise"x ; then
       DISTVER="Enterprise "`cat $f | grep release |\
-          cut -f 6 -d ' '`
+         cut -f 6 -d ' '`
    else
        DISTVER=`cat /etc/redhat-release | grep release |\
-           cut -f 5 -d ' '`
+          cut -f 5 -d ' '`
    fi
    TAPEDRIVE="/dev/nst0"
    PSCMD="ps -e -o pid,command"
@@ -44090,7 +44093,7 @@ cd ..
 
 c=updatedb
 chmod 755 $c/update_mysql_tables_10_to_11   $c/update_sqlite3_tables_10_to_11
-chmod 755 $c/update_postgresql_tables_10_to_11   $c/update_sqlite_tables_10_to_11
+chmod 755 $c/update_postgresql_tables_10_to_11  $c/update_sqlite_tables_10_to_11
 
 c=src/cats
 
@@ -44107,7 +44110,7 @@ chmod 755 $c/create_sqlite_database   $c/update_sqlite_tables  $c/make_sqlite_ta
 chmod 755 $c/grant_sqlite_privileges  $c/drop_sqlite_tables    $c/drop_sqlite_database
 
 chmod 755 $c/create_sqlite3_database   $c/update_sqlite3_tables  $c/make_sqlite3_tables
-chmod 755 $c/grant_sqlite3_privileges  $c/drop_sqlite3_tables    $c/drop_sqlite3_database
+chmod 755 $c/grant_sqlite3_privileges  $c/drop_sqlite3_tables   $c/drop_sqlite3_database
 
 chmod 755 $c/create_postgresql_database  $c/update_postgresql_tables $c/make_postgresql_tables
 chmod 755 $c/grant_postgresql_privileges $c/drop_postgresql_tables   $c/drop_postgresql_database
 echo "
 Configuration on `date`:
 
-   Host:                    ${host}${post_host} -- ${DISTNAME} ${DISTVER}
-   Bacula version:          ${BACULA} ${VERSION} (${DATE})
+   Host:                   ${host}${post_host} -- ${DISTNAME} ${DISTVER}
+   Bacula version:         ${BACULA} ${VERSION} (${DATE})
    Source code location:    ${srcdir}
-   Install binaries:        ${sbindir}
-   Install libraries:       ${libdir}
+   Install binaries:       ${sbindir}
+   Install libraries:      ${libdir}
    Install config files:    ${sysconfdir}
-   Scripts directory:       ${scriptdir}
-   Archive directory:       ${archivedir}
-   Working directory:       ${working_dir}
-   PID directory:           ${piddir}
-   Subsys directory:        ${subsysdir}
-   Man directory:           ${mandir}
-   Data directory:          ${datarootdir}
-   C Compiler:              ${CC} ${CCVERSION}
-   C++ Compiler:            ${CXX} ${CXXVERSION}
-   Compiler flags:          ${WCFLAGS} ${CFLAGS}
-   Linker flags:            ${WLDFLAGS} ${LDFLAGS}
-   Libraries:               ${LIBS}
+   Scripts directory:      ${scriptdir}
+   Archive directory:      ${archivedir}
+   Working directory:      ${working_dir}
+   PID directory:          ${piddir}
+   Subsys directory:       ${subsysdir}
+   Man directory:          ${mandir}
+   Data directory:         ${datarootdir}
+   C Compiler:             ${CC} ${CCVERSION}
+   C++ Compiler:           ${CXX} ${CXXVERSION}
+   Compiler flags:         ${WCFLAGS} ${CFLAGS}
+   Linker flags:           ${WLDFLAGS} ${LDFLAGS}
+   Libraries:              ${LIBS}
    Statically Linked Tools: ${support_static_tools}
    Statically Linked FD:    ${support_static_fd}
    Statically Linked SD:    ${support_static_sd}
    Statically Linked DIR:   ${support_static_dir}
    Statically Linked CONS:  ${support_static_cons}
-   Database type:           ${db_type}
-   Database port:           ${db_port}
-   Database lib:            ${DB_LIBS}
-   Database name:           ${db_name}
-   Database user:           ${db_user}
-
-   Job Output Email:        ${job_email}
-   Traceback Email:         ${dump_email}
-   SMTP Host Address:       ${smtp_host}
-
-   Director Port:           ${dir_port}
-   File daemon Port:        ${fd_port}
+   Database type:          ${db_type}
+   Database port:          ${db_port}
+   Database lib:           ${DB_LIBS}
+   Database name:          ${db_name}
+   Database user:          ${db_user}
+
+   Job Output Email:       ${job_email}
+   Traceback Email:        ${dump_email}
+   SMTP Host Address:      ${smtp_host}
+
+   Director Port:          ${dir_port}
+   File daemon Port:       ${fd_port}
    Storage daemon Port:     ${sd_port}
 
-   Director User:           ${dir_user}
-   Director Group:          ${dir_group}
+   Director User:          ${dir_user}
+   Director Group:         ${dir_group}
    Storage Daemon User:     ${sd_user}
    Storage DaemonGroup:     ${sd_group}
-   File Daemon User:        ${fd_user}
-   File Daemon Group:       ${fd_group}
+   File Daemon User:       ${fd_user}
+   File Daemon Group:      ${fd_group}
 
    SQL binaries Directory   ${SQL_BINDIR}
 
-   Large file support:      $largefile_support
+   Large file support:     $largefile_support
    Bacula conio support:    ${got_conio} ${CONS_LIBS}
-   readline support:        ${got_readline} ${PRTREADLINE_SRC}
+   readline support:       ${got_readline} ${PRTREADLINE_SRC}
    TCP Wrappers support:    ${TCPW_MSG} ${WRAPLIBS}
-   TLS support:             ${support_tls}
-   Encryption support:      ${support_crypto}
-   ZLIB support:            ${have_zlib}
-   enable-smartalloc:       ${support_smartalloc}
-   bat support:             ${support_bat} ${QWT_LDFLAGS}
-   enable-gnome:            ${support_gnome} ${gnome_version}
-   enable-bwx-console:      ${support_wx_console} ${wx_version}
+   TLS support:            ${support_tls}
+   Encryption support:     ${support_crypto}
+   ZLIB support:           ${have_zlib}
+   enable-smartalloc:      ${support_smartalloc}
+   bat support:            ${support_bat} ${QWT_LDFLAGS}
+   enable-gnome:           ${support_gnome} ${gnome_version}
+   enable-bwx-console:     ${support_wx_console} ${wx_version}
    enable-tray-monitor:     ${support_tray_monitor}
-   client-only:             ${build_client_only}
-   build-dird:              ${build_dird}
-   build-stored:            ${build_stored}
-   ACL support:             ${have_acl}
-   Python support:          ${support_python} ${PYTHON_LIBS}
+   client-only:            ${build_client_only}
+   build-dird:             ${build_dird}
+   build-stored:           ${build_stored}
+   ACL support:            ${have_acl}
+   Python support:         ${support_python} ${PYTHON_LIBS}
    Batch insert enabled:    ${support_batch_insert}
 
   " > config.out