--- ../../../libtool-1.4.3/libtool.m4 Tue Oct 22 20:45:04 2002 +++ libtool.m4i Thu Oct 31 16:56:03 2002 @@ -31,7 +31,7 @@ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" # Always use our own libtool. -LIBTOOL='$(SHELL) $(top_builddir)/libtool' +LIBTOOL="$CONFIG_SHELL \$(top_builddir)/libtool" AC_SUBST(LIBTOOL)dnl # Prevent multiple expansion @@ -526,6 +526,10 @@ fi fi +if test "X$CONFIG_SHELL" = "X"; then + CONFIG_SHELL="$SHELL" +fi + # Copy echo and quote the copy suitably for passing to libtool from # the Makefile, instead of quoting the original, which is used later. ECHO=$echo @@ -2511,7 +2515,7 @@ done cat <<__EOF__ > "${ofile}T" -#! $SHELL +#! $CONFIG_SHELL # `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)