This is an autoconf.at.gnu.org 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
On Mon, 20 Nov 2000, Tim Heath wrote:
> AM_CXXFLAGS = -D_POSIX1C_SOURCE -D_HPUX_SOURCE -D_REENTRANT
[...]
> If you know of a better way please feel free to share it with me. I am
> interested in how to do and if/then to use this only if I am compiling
> on HPUX 11.0 with aCC etc.
Why only wi
I put the following in my configure.in:
AM_CFLAGS = -D_POSIX1C_SOURCE -D_HPUX_SOURCE -D_REENTRANT
I assume this is wrong as it does not have the desired effect.
Can you tell me what should be done please?
Thanks,
Tim Heath
Tom Tromey wrote:
>
> > "Simon" == Simon Richter <[EMAIL PROTECT
AM_CXXFLAGS = -D_POSIX1C_SOURCE -D_HPUX_SOURCE -D_REENTRANT
at the top of my Makefile.am had the desired affect I was looking for.
Thanks,
Tim Heath
P.S.
If you know of a better way please feel free to share it with me. I am
interested in how to do and if/then to use this only if I am compi
> "Simon" == Simon Richter <[EMAIL PROTECTED]>
>writes:
>> On Fri, 17 Nov 2000, Tim Heath wrote:
>> How do I add compiler flags? What AM is necessary to accomplish that?
Simon> Make your configure.in add them to $CFLAGS, before AC_PROG_CC
Simon> (to make sure the compiler actually accepts
Hi,
On Sat, Nov 18, 2000 at 06:41:17PM +0100, Simon Richter wrote:
> On Fri, 17 Nov 2000, Tim Heath wrote:
>
> > How do I add compiler flags? What AM is necessary to accomplish that?
>
> Make your configure.in add them to $CFLAGS, before AC_PROG_CC (to make
> sure the compiler actually acc
On Fri, 17 Nov 2000, Tim Heath wrote:
> How do I add compiler flags? What AM is necessary to accomplish that?
Make your configure.in add them to $CFLAGS, before AC_PROG_CC (to make
sure the compiler actually accepts them).
Simon
--
GPG public key available from http://phobos.fs.tum.