autoconf
[Top][All Lists]
Advanced

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

Re: Using special characters (quote / space) in compiler-related variabl


From: Paul Eggert
Subject: Re: Using special characters (quote / space) in compiler-related variables
Date: Tue, 18 Oct 2011 08:25:05 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110928 Fedora/3.1.15-1.fc14 Thunderbird/3.1.15

On 10/18/11 06:57, Dmitry Katsubo wrote:
> CXXFLAGS="-D__int64=\"long long\" ${CXXFLAGS}"

This appears to be more of a shell question than an autoconf
question.  From an autoconf point of view, you probably shouldn't
be messing with CXXFLAGS -- that's a variable that the
user should be setting.

>From a shell point of view, the program:

CXXFLAGS="-D__int64=\"long long\""
for i in $CXXFLAGS; do echo $i; done

outputs:

-D__int64="long
long"

which may help to explain the symptoms you're seeing.



reply via email to

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