[Fakeroot-commits] [SCM] fakeroot branch, upstream, updated. 08ed00124d8b6b445d3b91a9aa15eec638b02f05
Clint Adams
schizo at debian.org
Sun Nov 15 03:17:29 UTC 2009
The following commit has been merged in the upstream branch:
commit d57baf5a65cedfafa2cc4592f51f911f6ef1c1a3
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*)
--
fakeroot
More information about the Fakeroot-commits
mailing list