This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [Bug-readline] [PATCH] [readline] Fix !djgpp x djgpp canadian builds.
- From: Yao Qi <yao at codesourcery dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Wed, 22 May 2013 17:52:29 +0800
- Subject: Re: [Bug-readline] [PATCH] [readline] Fix !djgpp x djgpp canadian builds.
- References: <20130521202859 dot 22914 dot 11860 dot stgit at brno dot lan> <519C0953 dot 8000802 at codesourcery dot com> <519C10D3 dot 2050300 at case dot edu> <519C84E1 dot 9010906 at redhat dot com>
On 05/22/2013 04:42 PM, Pedro Alves wrote:
> Yao, please go ahead and backport.
OK, this is what I committed.
--
Yao (éå)
Index: readline/ChangeLog.gdb
===================================================================
RCS file: /cvs/src/src/readline/ChangeLog.gdb,v
retrieving revision 1.43
diff -u -r1.43 ChangeLog.gdb
--- readline/ChangeLog.gdb 18 Oct 2012 18:55:41 -0000 1.43
+++ readline/ChangeLog.gdb 22 May 2013 09:50:12 -0000
@@ -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
Index: readline/configure
===================================================================
RCS file: /cvs/src/src/readline/configure,v
retrieving revision 1.17
diff -u -r1.17 configure
--- readline/configure 11 May 2011 23:38:39 -0000 1.17
+++ readline/configure 22 May 2013 09:50:13 -0000
@@ -2285,6 +2285,7 @@
+
opt_curses=no
opt_purify=no
@@ -6264,7 +6265,7 @@
-case "$host_os" in
+case "$build_os" in
msdosdjgpp*) BUILD_DIR=`pwd.exe` ;; # to prevent //d/path/file
*) BUILD_DIR=`pwd` ;;
esac
Index: readline/configure.in
===================================================================
RCS file: /cvs/src/src/readline/configure.in,v
retrieving revision 1.13
diff -u -r1.13 configure.in
--- readline/configure.in 11 May 2011 23:38:39 -0000 1.13
+++ readline/configure.in 22 May 2013 09:50:13 -0000
@@ -39,6 +39,7 @@
LIBVERSION=6.2
AC_CANONICAL_HOST
+AC_CANONICAL_BUILD
dnl configure defaults
opt_curses=no
@@ -268,7 +269,7 @@
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