]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/configure
kes Add make clean of qt-source directory during ./configure
[bacula/bacula] / bacula / configure
index 9dd2d7dab683f4c3ed05be3846fc5cef6f87d1b2..55745e5e8140da8be2e91c829148aa69cf1c4f20 100755 (executable)
@@ -32121,19 +32121,23 @@ if test "${support_bat}" = "yes" ; then
   chmod 755 install_conf_file build-depkgs-qt-console
   echo "Creating bat Makefile"
   $QMAKEBIN
+  make clean
   cd ${BUILD_DIR}
 fi
 
-echo "Doing make of dependencies"
-${MAKE:-make} depend
-
-pushd src/lib/tokyocabinet
+# configure and prepare libtokyodbm for bacula
+pushd src/lib/tokyocabinet > /dev/null
 tcdbm_opt=
 if test x$largefile_support = xyes; then
    tcdbm_opt=--enable-off64
 fi
 ./configure $tcdbm_opt
 popd > /dev/null
+# need tokyo header files for "make depend"
+cp src/lib/tokyocabinet/t*.h src/lib
+
+echo "Doing make of dependencies"
+${MAKE:-make} depend
 
 cd scripts
 chmod 755 startmysql stopmysql bacula startit stopit btraceback mtx-changer