git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6987
91ce42f0-d328-0410-95d8-
f526ca767f89
cd ${BUILD_DIR}
fi
-echo "Doing make of dependencies"
-${MAKE:-make} depend
-
+# configure and prepare libtokyodbm for bacula
pushd src/lib/tokyocabinet > /dev/null
tcdbm_opt=
if test x$largefile_support = xyes; then
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
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