Roumen Petrov <[email protected]> writes:

> For performance reasons I use ksh to configure build system,
> i.e. CONFIG_SHELL=/bin/ksh .../configure  ....
>
> Generated libtool script  is optimised for specified shell and for
> instance use build in print command. The default user shell ( bash )
> does not support this command and some test that use libtool fail. For
> instance lang-c .

Thanks, but I cannot reproduce the problem.  If configured with the
above command line, tests/init-env defines LIBTOOL as:

  LIBTOOL="/bin/ksh ${top_builddir}/libtool"

So, the local libtool script will be actually executed using /bin/ksh.
This seems to be related to the following local modification to
libtool.m4:

        2008-04-06  Bruno Haible  <[email protected]>
                * m4/libtool.m4 (LT_INIT): When setting LIBTOOL, use
                CONFIG_SHELL; don't assume that the Makefile.in will set SHELL
                to ${CONFIG_SHELL}.

Regards,
--
Daiki Ueno

Reply via email to