summaryrefslogtreecommitdiff
path: root/readline/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'readline/configure.in')
-rw-r--r--readline/configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/readline/configure.in b/readline/configure.in
index f09f4e5776..b395af458f 100644
--- a/readline/configure.in
+++ b/readline/configure.in
@@ -39,6 +39,7 @@ dnl update the value of RL_READLINE_VERSION in readline.h when this changes
LIBVERSION=6.2
AC_CANONICAL_HOST
+AC_CANONICAL_BUILD
dnl configure defaults
opt_curses=no
@@ -268,7 +269,7 @@ AC_SUBST(SHARED_TARGET)
AC_SUBST(STATIC_INSTALL_TARGET)
AC_SUBST(SHARED_INSTALL_TARGET)
-case "$host_os" in
+case "$build_os" in
msdosdjgpp*) BUILD_DIR=`pwd.exe` ;; # to prevent //d/path/file
*) BUILD_DIR=`pwd` ;;
esac