>> On Apr 4, 2000, Paul Eggert <[EMAIL PROTECTED]> wrote:
>>
>> > For example, if a compiler needs the option "-Olimit 2000" for some
>> > reason, then you should write a test case that exposes the need for
>> > this option, have configure try to compile the test case, and have
>> > it append the "-Olimit 2000" option only if the compilation fails
>> > without the option and succeeds with the option.
>>
>> Which means we could have a macro to encapsulate all this
>> functionality :-)
> not really - the given value of -Olimit varies according to the compiler,
> the program that you are trying to compile, and the optimization level.
Actually, I was just thinking of the ``test, if it fails add the flag
and test again, the revert if it still fail''.
--
Alexandre Oliva Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org} Write to mailing lists, not to me