This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Bug-readline] [PATCH] [readline] Fix !djgpp x djgpp canadian builds.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]