[Fakeroot-commits] [SCM] fakeroot branch, upstream, updated. debian/1.14.3-200-gb232f8a

Clint Adams schizo at debian.org
Tue Aug 23 13:06:08 UTC 2011


The following commit has been merged in the upstream branch:
commit 7aa2c515399107d19817ae19f1b6bf3f82996b8f
Author: Clint Adams <schizo at debian.org>
Date:   Tue Feb 5 23:57:17 2008 +0000

    patch from Ralf Wildenhues to not override $SHELL late in configure.ac, by means of undocumented Autoconf interface _AS_DETECT_REQUIRED to require $(...) command replacement.
    
    git-archimport-id: fakeroot at packages.debian.org--fakeroot/fakeroot--main--0.0--patch-162

diff --git a/configure.ac b/configure.ac
index 698686c..aa2313e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -482,21 +482,9 @@ AH_VERBATIM([WRAP_STAT],
 dnl kludge end
 
 dnl check for b0rked Solaris (and other shells) and find one that works
-AC_MSG_CHECKING(for a working shell...)
-for i in /usr/xpg6/bin/sh /usr/xpg4/bin/sh /usr/ccs/bin/sh /bin/sh /usr/bin/sh /bin/ksh /bin/bash /usr/local/bin/bash ; do
-    $i -c 'if ! false ; then echo $(echo ok) ; fi' >config.$$ 2>/dev/null
-    j=`cat config.$$`
-    rm -f config.$$
-    if test "x$j" = "xok" ; then
-        SHELL=$i
-        AC_SUBST(SHELL)
-        break
-    fi
-done
-AC_MSG_RESULT($SHELL)
-if test "x$SHELL" = "x" ; then
-    AC_MSG_ERROR(no SUS compliant shell found - on Solaris, install SUNWxcu4)
-fi
+_AS_DETECT_REQUIRED([echo $(echo ok) > config.$$ 2>/dev/null
+		      j=`cat config.$$`
+		      test "x$j" = "xok"])
 
 case "$target_cpu:$target_os" in
 	(alpha*:linux*)
diff --git a/debian/changelog b/debian/changelog
index c501c80..4ee1898 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+fakeroot (1.9.3) unstable; urgency=medium
+
+  * configure.ac: patch from Ralf Wildenhues to not override $SHELL
+    late in configure.ac, by means of undocumented Autoconf interface
+    _AS_DETECT_REQUIRED to require $(...) command replacement.
+
+ -- Clint Adams <schizo at debian.org>  Tue, 05 Feb 2008 18:55:36 -0500
+
 fakeroot (1.9.2) unstable; urgency=low
 
   * debian/copyright: add pointers to the GPL and Artistic licenses

-- 
fakeroot



More information about the Fakeroot-commits mailing list