Commit 46be9662 authored by tim@cane.mysql.fi's avatar tim@cane.mysql.fi

Merge work.mysql.com:/home/bk/mysql

into cane.mysql.fi:/usr/home/tim/my/work
parents 860719b7 0243cda8
mwagner@work.mysql.com
mwagner@evoq.home.mwagner.org
monty@donna.mysql.com monty@donna.mysql.com
monty@work.mysql.com monty@work.mysql.com
mwagner@evoq.home.mwagner.org
mwagner@work.mysql.com
sasha@mysql.sashanet.com
sasha@work.mysql.com
tim@cane.mysql.fi
...@@ -719,7 +719,9 @@ dnl echo "DBG3: [$mode] bdb='$bdb'; incl='$bdb_includes'; lib='$bdb_libs'" ...@@ -719,7 +719,9 @@ dnl echo "DBG3: [$mode] bdb='$bdb'; incl='$bdb_includes'; lib='$bdb_libs'"
;; ;;
compile ) compile )
have_berkeley_db="$bdb" have_berkeley_db="$bdb"
dnl Is added to @sql_server_dirs@ in configure.in
MYSQL_TOP_BUILDDIR([have_berkeley_db]) MYSQL_TOP_BUILDDIR([have_berkeley_db])
AC_MSG_RESULT([Compiling Berekeley DB in '$have_berkeley_db'])
;; ;;
* ) * )
AC_MSG_ERROR([impossible case condition '$mode': please report this to bugs@lists.mysql.com]) AC_MSG_ERROR([impossible case condition '$mode': please report this to bugs@lists.mysql.com])
...@@ -816,12 +818,17 @@ AC_DEFUN([MYSQL_CHECK_BDB_VERSION], [ ...@@ -816,12 +818,17 @@ AC_DEFUN([MYSQL_CHECK_BDB_VERSION], [
elif test $db_major -eq 3 && test $db_minor -gt 2 elif test $db_major -eq 3 && test $db_minor -gt 2
then then
bdb_version_ok=yes bdb_version_ok=yes
elif test $db_major -eq 3 && test $db_minor -eq 2 && test $db_patch -ge 3 elif test $db_major -eq 3 && test $db_minor -eq 2 && test $db_patch -gt 3
then
bdb_version_ok=yes
# This is ugly, but about as good as it can get
elif test $db_major -eq 3 && test $db_minor -eq 2 && test $db_patch -eq 3 &&\
grep 'DB_VERSION_STRING\>.*g: (' [$1] > /dev/null
then then
bdb_version_ok=yes bdb_version_ok=yes
else else
bdb_version_ok="invalid version $db_major.$db_minor.$db_patch" bdb_version_ok="invalid version $db_major.$db_minor.$db_patch"
bdb_version_ok="$bdb_version_ok (must be at least version 3.2.3)" bdb_version_ok="$bdb_version_ok (must be at least version 3.2.3g)"
fi fi
]) ])
...@@ -830,6 +837,10 @@ AC_DEFUN([MYSQL_TOP_BUILDDIR], [ ...@@ -830,6 +837,10 @@ AC_DEFUN([MYSQL_TOP_BUILDDIR], [
/* ) ;; # already an absolute path /* ) ;; # already an absolute path
* ) [$1]="'\$(top_builddir)/'$[$1]" ;; * ) [$1]="'\$(top_builddir)/'$[$1]" ;;
esac esac
if X"$[$1]" != "/"
then
[$1]=`echo $[$1] | sed -e 's,/$,,'`
fi
]) ])
dnl --------------------------------------------------------------------------- dnl ---------------------------------------------------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment