[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PATCH: Don't add tags for languages not used or found
From: |
Bob Friesenhahn |
Subject: |
Re: PATCH: Don't add tags for languages not used or found |
Date: |
Wed, 19 Mar 2003 20:35:22 -0600 (CST) |
This looks and sounds great to me. Please commit it as soon as
possible so that I can start using it. :-)
It would also be nice for a package which includes an embedded libtool
to be able to tell libtool what languages it requires, but we can save
this as a feature for a future release.
Bob
On Wed, 19 Mar 2003, Robert Boehne x238 wrote:
> Hello,
>
> Finally, you've all been waiting for this, here is a patch to Libtool
> that keeps the extra tags from being added even when the language
> is not wanted or needed.
>
> ChangeLog entry:
> 2003-03-19 Robert Boehne <address@hidden>
>
> * libtool.m4 (_LT_AC_TAGCONFIG): Add test around the macro that
> adds tags to the libtool script so that they won't run when not
> needed.
> * configure.ac: Set F77 to no when no Fortran compiler is found.
>
> Any gurus care to look this over? It seems too simple to work
> but it does. In configure.ac, I set F77 to "no" if it isn't
> set after AC_PROG_F77 (which probably should do this itself).
> Then in _LT_AC_TAGCONFIG I skip over the tag creation macro if
> the language in question is set to "no", then set tagname to null
> so it won't be added to the list of available tags. It is so simple,
> it must be the right solution. ;)
>
> Approval anyone?
>
> Robert
>
> --
> Robert Boehne Software Engineer
> Ricardo Software Chicago Technical Center
> TEL: (630)789-0003 x. 238
> FAX: (630)789-0127
> email: rboehne AT ricardo-us DOT com
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen