On Tue, Jun 07, 2005 at 12:35:00PM +0200, Ralf Wildenhues wrote: > * Nicolas Joly wrote on Tue, Jun 07, 2005 at 12:10:47PM CEST: > > On Sun, Jun 05, 2005 at 07:38:59PM +0200, Ralf Wildenhues wrote: > > > > > > CONFIG_SHELL=/bin/foosh /bin/foosh path/to/configure [OPTIONS..] > > > > > > and you should provide an echo which does not interpret backslashes > > > (one of `echo', `/bin/echo', `print -r', `printf %s\\n' should usually > > > do). > > > > In the mean time, i tested the solution where `print -r' and `ksh' > > tests are swapped (attached patch). It seems to go a little further > > (no more `print' error messages), but seems to fail in another ksh > > problem/bug : > > Please rerun the libtool command line with --debug and post output, > you may pack (gzip, bzip2).
libtool.dbg.bz2 attached. Regards. NB: Attached the patch forgotten in previous email too :-( -- Nicolas Joly Biological Software and Databanks. Institut Pasteur, Paris.
libtool.dbg.bz2
Description: Binary data
Index: m4/libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/m4/libtool.m4,v
retrieving revision 1.194
diff -u -r1.194 libtool.m4
--- m4/libtool.m4 6 Jun 2005 16:12:53 -0000 1.194
+++ m4/libtool.m4 7 Jun 2005 09:41:26 -0000
@@ -818,19 +818,19 @@
if test "X$ECHO" = Xecho; then
# We didn't find a better echo, so look for alternatives.
- if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
- echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
- test "X$echo_testing_string" = "X$echo_test_string"; then
- # This shell has a builtin print -r that does the trick.
- ECHO='print -r'
- elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
- test "X$CONFIG_SHELL" != X/bin/ksh; then
+ if { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
+ test "X$CONFIG_SHELL" != X/bin/ksh; then
# If we have ksh, try running configure again with it.
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
export ORIGINAL_CONFIG_SHELL
CONFIG_SHELL=/bin/ksh
export CONFIG_SHELL
exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
+ elif test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
+ echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
+ test "X$echo_testing_string" = "X$echo_test_string"; then
+ # This shell has a builtin print -r that does the trick.
+ ECHO='print -r'
else
# Try using printf.
ECHO='printf %s\n'
_______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool
