summaryrefslogtreecommitdiff
path: root/readline
diff options
context:
space:
mode:
authorqiyao <qiyao>2013-05-22 09:51:49 +0000
committerqiyao <qiyao>2013-05-22 09:51:49 +0000
commitd72eabc6f823fe4e3a4eafa81a119867c988a0c4 (patch)
tree1616a299054770b57bada955040c3b8491b6f0d9 /readline
parent5f9197eeaf0fa87eb98ac6ebaf88930f33821eab (diff)
downloadgdb-d72eabc6f823fe4e3a4eafa81a119867c988a0c4.tar.gz
readline/
* configure.in: Invoke AC_CANONICAL_BUILD. Change $host_os to $build_os. * configure: Regenerated.
Diffstat (limited to 'readline')
-rw-r--r--readline/ChangeLog.gdb6
-rwxr-xr-xreadline/configure3
-rw-r--r--readline/configure.in3
3 files changed, 10 insertions, 2 deletions
diff --git a/readline/ChangeLog.gdb b/readline/ChangeLog.gdb
index 7e0d2647527..2613d7800c9 100644
--- a/readline/ChangeLog.gdb
+++ b/readline/ChangeLog.gdb
@@ -1,3 +1,9 @@
+2013-05-22 Yao Qi <yao@codesourcery.com>
+
+ * configure.in: Invoke AC_CANONICAL_BUILD.
+ Change $host_os to $build_os.
+ * configure: Regenerated.
+
2012-10-18 Joel Brobecker <brobecker@adacore.com>
* terminal.c: Remove duplicate includes of windows.h and
diff --git a/readline/configure b/readline/configure
index 01873117e52..09de45df5e4 100755
--- a/readline/configure
+++ b/readline/configure
@@ -2285,6 +2285,7 @@ case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
+
opt_curses=no
opt_purify=no
@@ -6264,7 +6265,7 @@ fi
-case "$host_os" in
+case "$build_os" in
msdosdjgpp*) BUILD_DIR=`pwd.exe` ;; # to prevent //d/path/file
*) BUILD_DIR=`pwd` ;;
esac
diff --git a/readline/configure.in b/readline/configure.in
index f09f4e57766..b395af458f4 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