[Top][All Lists]

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

Re: Compiler flags

From: Guido Draheim
Subject: Re: Compiler flags
Date: Mon, 11 Nov 2002 01:49:20 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826

This is an  question...

Michael Lemke wrote:
Today I've been trying to learn automake&autoconf.  Something I can't
figure out although it is the main reason I am investigating automake:

How do I set compiler flags based on the compiler? For example, g77 requires -fdollar-ok but Sun Fortran won't like that. How can I handle
that?  How much does automake know about such problems?

Thanks for any suggestions,

check at configure-time if the compiler supports the option.
Just try_compile and do not use if the test fails. That's it.

reply via email to

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