QWT_LDFLAGS=
QWT_LIB=
QWT=
+no_qwt=no
if test x$support_bat = xyes; then
{ echo "$as_me:$LINENO: checking for qwt support" >&5
echo $ECHO_N "checking for qwt support... $ECHO_C" >&6; }
withval=$with_qwt;
case "$with_qwt" in
no)
+ no_qwt=yes
;;
yes|*)
if test -f ${with_qwt}/include/qwt.h; then
#
# Search in standard places, or --with-qwt not specified
#
- if test x$QWT_INC = x; then
+ 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
fi
done
done
+ fi
fi
if test x$QWT_INC = x; then
{ echo "$as_me:$LINENO: result: no" >&5
QMAKEBIN=qmake-qt4
fi
-
-
cd src/qt-console
chmod 755 install_conf_file build-depkgs-qt-console
echo "Creating bat Makefile"
$QMAKEBIN
+ make clean
cd ${BUILD_DIR}
fi
+# 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