]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/configure
ebl Add patch for tokyo support
[bacula/bacula] / bacula / configure
index 9dd2d7dab683f4c3ed05be3846fc5cef6f87d1b2..42440e2bfb6ecefb452aeebac756d74060ae7db6 100755 (executable)
@@ -32124,16 +32124,19 @@ if test "${support_bat}" = "yes" ; then
   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