Re: [LAD] Autotools and missing headers.

From: Stefan Kost <ensonic@email-addr-hidden-obscura.de>
Date: Mon Jun 22 2009 - 23:30:56 EEST

Mark Vitek schrieb:
>
>
>
> Don't set CPPFLAGS or anything like it in Makefile.am. These are set in
> confingure.ac <http://confingure.ac>. Also, there's rules about
> which ones the user sets and which one
> the build system sets. E.g. I think CFLAGS is reserved for the
> build system,
> but CPPFLAGS reserved for the user.
>
> HTH,
> Gabriel
>
>
>
> Not so much user-reserved vs. build system-reserved:
>
> CPPFLAGS are for the C preprocessor, so -Ddefines and -I includepaths
> would be preprocessor flags. CFLAGS would be for C compiler flags, e.g.
> optimization or architecure flags.
>
>
Right and the one you can set from Makefile.am are called
AM_CFLAGS and AM_CPPFLAGS.

Stefan
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Tue Jun 23 00:15:04 2009

This archive was generated by hypermail 2.1.8 : Tue Jun 23 2009 - 00:15:04 EEST