|
From: Mikhail K. <mko...@gm...> - 2012-12-27 02:11:18
|
On 27/12/2012 00:09, Daniel J Sebald wrote:
> On 12/26/2012 02:57 PM, Mikhail Kononets wrote:
>> i can see the following line inside the ./configure script
>>
>> CXX=${CXX-${host_alias}-c++}
>
> Strange construct. Given
>
> AA=${BB-${CC}-c++}
>
> it seems that if BB is defined AA ends up being BB. If BB is not
> defined and CC is then AA is ${CC}-c++. If neither BB or CC is defined
> then AA is -c++. Is the dash supposed to be similar to a conditional?
first dash is conditional, but the second must be literal in this notation.
i made some more trials. Slackware build script for gnuplot invokes
./configure with --build=i486-slackware-linux. If i omit setting --build
option, then C++ compiler is detected properly and gnuplot is built with
wxt terminal.
there are few more strange issues building 4.6 and some syntax changes
between 4.4 and 4.6 which must be taken into account before i can switch
to 4.6. so i give up and keep version 4.4.4 running for now.
thanks everyone for help.
Mikhail
>
> Dan
|