From 348e86d95832f94c04e43abfb3715ce1a60be523 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 5 Sep 2009 15:43:31 +0000 Subject: [PATCH] * config/djgpp/djconfig.sh: Fix for Autoconf 2.64. * config/djgpp/config.sed: Fix for Autoconf 2.64. --- gdb/ChangeLog | 5 +++++ gdb/config/djgpp/config.sed | 35 +++++++++++++++++------------------ gdb/config/djgpp/djconfig.sh | 4 +++- 3 files changed, 25 insertions(+), 19 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e1ee38dbbf..353bfc00d8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2009-09-05 Eli Zaretskii + + * config/djgpp/djconfig.sh: Fix for Autoconf 2.64. + * config/djgpp/config.sed: Fix for Autoconf 2.64. + 2009-09-05 Hui Zhu * i386-tdep.c (i386_record_s): Add orig_addr. diff --git a/gdb/config/djgpp/config.sed b/gdb/config/djgpp/config.sed index 98882cfe7f..633c5b9989 100644 --- a/gdb/config/djgpp/config.sed +++ b/gdb/config/djgpp/config.sed @@ -2,31 +2,37 @@ s|po2tbl\.sed\.in|po2tblsed.in|g s|gdb\.c++|gdb.cxx|g /ac_rel_source/s|ln -s|cp -p| s|\.gdbinit|gdb.ini|g +# This works around a bug in DJGPP port of Bash 2.0x +s|return $ac_retval|(&)|g +# DJGPP port of Bash 2.04 doesn't like this redirection of stdin +/exec 7