As John said you should use
CPPFLAGS="${CPPFLAGS} -DMACRO1 -DMACRO2"
But most likely you want to set this in DEFINES rather than CPPFLAGS,
or use AC_DEFINE directly…
Diego Elio Pettenò — Flameeyes
https://blog.flameeyes.eu/
On 3 April 2015 at 00:04, Andy Falanga (afalanga) wrote:
> Hi,
>
> I p
- Original Message -
| From: "Andy Falanga (afalanga)"
| To: automake@gnu.org
| Sent: Thursday, April 2, 2015 7:04:48 PM
| Subject: The right way to use standard variable in configure.ac
|
| Hi,
|
| I placed the following in my configure.ac file:
|
| CPPFLAGS="-D
Did you try:
CPPFLAGS="$CPPFLAGS -DMACR..."
?
John
Sent via the Samsung GALAXY S® 5, an AT&T 4G LTE smartphone
Original message
From: "Andy Falanga (afalanga)"
Date:04/02/2015 5:04 PM (GMT-07:00)
To: automake@gnu.org
Subject: The right way to
Hi,
I placed the following in my configure.ac file:
CPPFLAGS="-DMACRO1 -DMACRO2"
because I found that as an example on a webpage someplace. I reviewed so many
learning about the autotools that I don't recall which one now. I did this
because there were some preprocessor flags that I wanted t