[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SED and old ltconfig files
From: |
Robert Boehne |
Subject: |
Re: SED and old ltconfig files |
Date: |
Tue, 26 Nov 2002 23:09:46 -0600 |
Jens,
Two points to mention, the 1.4 branch is no longer maintained
in favor of 1.5 (current CVS). The second thing is that mixing
versions of Libtool is bound to fail, why not regenerate all the
files from the same version of Libtool? Your patch would solve
one problem with mixed versions, but I doubt that all of them
would be solved.
Thanks for you input though,
Robert Boehne
Jens Petersen wrote:
>
> Hello,
>
> This problem has come before in the mailing lists I think,
> but I haven't seen any solution proposed yet.
>
> The introduction of SED in ltmain.sh in 1.4.3 creates
> problems when running libtoolize in projects with a ltconfig
> created by Libtool 1.3. Basically the problem is that it
> creates a libtool script in the project which doesn't define
> SED, and then things go wrong. I think this problem is
> probably a barrier to the adoption of 1.4.3. The patch
> below works around the problem by defining SED in ltmain.sh
> before it is used if it isn't set. Perhaps there is a more
> elegant solution, but this seems to work better at least.
>
> Jens
>
> --- libtool-1.4.3/ltmain.sh~ 2002-10-23 11:26:24.000000000 +0900
> +++ libtool-1.4.3/ltmain.sh 2002-11-23 11:56:58.000000000 +0900
> @@ -48,6 +48,9 @@
> exit 0
> fi
>
> +# define SED for historic ltconfig's generated by Libtool 1.3
> +SED=${SED:-sed}
> +
> # The name of this program.
> progname=`$echo "$0" | ${SED} 's%^.*/%%'`
> modename="$progname"
>
> _______________________________________________
> Libtool-patches mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/libtool-patches