Hi Gary, * Gary V. Vaughan wrote on Thu, Feb 23, 2006 at 11:53:39PM CET: > Ralf Wildenhues wrote: > > This patch restores the environment for mode=execute. Unfortunately, > > it also means more overhead for every libtool invocation. :-( > > (At least no fork&exec.) > > Negligible time overhead... but an unfortunate ugliness all the same.
The corresponding Autoconf code is not negligible in overhead. > > OK to apply? > > Yes, nice fix, thankyou! Applied. But I also added an `export $lt_var' for good measure, at the right position. > > I am thinking a bit, though, whether there is something we could get > > Autoconf to do, before their next release (so we don't have to wait > > three years until we can use features from their next but one release). > > ACK. It would be nice to push the solution back into Autoconf so that > everyone can benefit from it. Let's see about that. Cheers, Ralf > > * libltdl/config/ltmain.m4sh (startup): save all locale specific > > environment, variables:, LANG, LANGUAGE, LC_ADDRESS, LC_ALL > > LC_COLLATE, LC_CTYPE, LC_IDENTIFICATION, LC_MEASUREMENT, > > LC_MESSAGES LC_MONETARY, LC_NAME, LC_NUMERIC, LC_PAPER, > > LC_TELEPHONE, LC_TIME. > > (func_mode_execute): Restore them.
