[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: Thu, 20 Mar 2003 15:27:33 -0600 (CST)

In spite of this patch being applied to libtool, I am still seeing the
F77 tag being added, and attempt to configure, even though no F77
compiler was found:

appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for  option to produce PIC... -fPIC
checking if  PIC flag -fPIC works... no
checking if  supports -c -o file.o... no
checking whether the  linker (/usr/ccs/bin/ld) supports shared
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics...
-print-search-dirs: command not found

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.
>       * 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, 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]