[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#619719: autoconf2.64: ftbfs with dash from experimental (AC_PROG_GNU_M4 relies on echo preserving backslashes)



tags 619719 + patch
quit

Simon McVittie wrote:
> On Sat, 26 Mar 2011 at 08:01:26 -0500, Jonathan Nieder wrote:

>> Or set CONFIG_SHELL in debian/rules.
>
> Given that this outdated version of autoconf is only packaged to be able to
> build gcc, I think that's probably the right fix.

Thanks.  FWIW, I've tested the following and it seems to work fine.
---
 debian/changelog |    7 +++++++
 debian/rules     |    3 ++-
 2 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 65c9d0b..c3dfec9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+autoconf2.64 (2.64-3.1) local; urgency=low
+
+  * debian/rules: CONFIG_SHELL=/bin/bash.  Thanks to Simon McVittie.
+    Closes: #619719.
+
+ -- Jonathan Nieder <jrnieder@gmail.com>  Tue, 18 Oct 2011 05:53:18 -0500
+
 autoconf2.64 (2.64-3) unstable; urgency=low
 
   * Update local patch for 2.64.
diff --git a/debian/rules b/debian/rules
index cec8d00..aeea620 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,8 @@ include /usr/share/quilt/quilt.make
 configure: configure-stamp
 configure-stamp: $(QUILT_STAMPFN)
 	dh_testdir
-	./configure --prefix=/usr --datadir=/usr/share \
+	CONFIG_SHELL=/bin/bash \
+	bash ./configure --prefix=/usr --datadir=/usr/share \
 	  --mandir=/usr/share/man --infodir=/usr/share/info \
 	  --program-suffix=2.64
 	touch $@
-- 
1.7.7




Reply to: