libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cygwin: need to use the correct 'head.exe'


From: Max Bowsher
Subject: Re: cygwin: need to use the correct 'head.exe'
Date: Mon, 10 Mar 2003 08:50:57 -0000

Charles Wilson wrote:
>> If one has the perl libwww module installed, then a file 'HEAD' is
>> installed in /usr/bin.  On cygwin, where (a) executables can be
>> called 
>> without a trailing '.exe' -- even though the executable is named
>> thus, 
>> and (b) the file system is case-insensitive but case-preserving, this
>> leads to a problem:
>> 
>> HEAD is indistinguishable from head.exe -- and in fact, is preferred.
>> 
>> This causes problems in libtool, where 'head' is invoked without the
>> trailing .exe -- and calling HEAD instead leads to, err,
>> unsatisfactory 
>> results.
>> 
>> This patch adds $HEAD to the list of variables stored in the libtool
>> script, and during configury hunts for 'head.exe' in preference to
>> 'head' (or HEAD), and invokes the program thru that variable rather
>> than 
>> directly.  It should have no impact on other platforms -- beyond
>> adding 
>> another unused variable to the libtool script (like OBJDUMP and
>> DLLTOOL 
>> are now), since nothing but win32_libid() calls 'head' anyway.

How about using "sed 10q" instead?


Max.




reply via email to

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