aboutsummaryrefslogtreecommitdiff
path: root/readline
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-05-22 09:51:49 +0000
committerYao Qi <yao@codesourcery.com>2013-05-22 09:51:49 +0000
commit19ce2a293b87ea4c6991137292d7a4a38a0b8433 (patch)
tree76b275370d03eefda422e23965f3b9fba90e9807 /readline
parentac90359cdce0c994537301749278c962c7407f7b (diff)
downloadgdb-19ce2a293b87ea4c6991137292d7a4a38a0b8433.zip
gdb-19ce2a293b87ea4c6991137292d7a4a38a0b8433.tar.gz
gdb-19ce2a293b87ea4c6991137292d7a4a38a0b8433.tar.bz2
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 7e0d264..2613d78 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 0187311..09de45d 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 f09f4e5..b395af4 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