|
From: | Bob Friesenhahn |
Subject: | Re: libtool assumes that "file" is in /usr/bin |
Date: | Wed, 7 May 2008 22:40:00 -0500 (CDT) |
On Thu, 8 May 2008, Vincent Lefevre wrote:
But an exception for "file" (since a problem is known for this particular utility) would not change very much the execution time.BTW, I see: test -z "$OBJDUMP" && OBJDUMP=objdump So, why would this be different for the "file" utility?
In the ideal case, configure should test 'file' (possibly several different ones) to make sure that it properly identifies what is needed by libtool and define a variable for the 'file' program which works. This is quite a lot of work since the expected strings differ for each target. There would have to be a complete new configure section just to test 'file' to make sure it works. Maybe this would make libtool's part of the configure script 20% larger and run 50% longer.
Libtool.m4 uses /usr/bin/file in operating system specific cases which are usually very well tested. It is very odd that this Debian system does not include /usr/bin/file. Maybe the user's Debian system is altered or broken?
Bob ====================================== Bob Friesenhahn address@hidden, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
[Prev in Thread] | Current Thread | [Next in Thread] |