Bug #35250: readline check breaks when doing vpath build

Fixed several (obvious) places that don't work with vpath
build.
This commit is contained in:
Georgi Kodinov 2010-02-12 18:28:35 +02:00
commit 792fc9f784
5 changed files with 11 additions and 10 deletions

View file

@ -2711,7 +2711,7 @@ case $SYSTEM_TYPE in
fi
# if there is no readline, but we want to build with readline, we fail
if [test "$want_to_use_readline" = "yes"] && [test ! -d "./cmd-line-utils/readline"]
if [test "$want_to_use_readline" = "yes"] && [test ! -d "$srcdir/cmd-line-utils/readline"]
then
AC_MSG_ERROR([This commercially licensed MySQL source package can't
be built with libreadline. Please use --with-libedit to use