automake
[Top][All Lists]
Advanced

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

make portability issue


From: Guillaume Rousse
Subject: make portability issue
Date: Thu, 08 Feb 2007 10:44:35 +0100
User-agent: Thunderbird 1.5.0.9 (X11/20070105)

Hello.

I just found an issue in GNU make handling of empty variable in
substitutions:
A = foo
LIST = $(A) $(B)
LIST_H = $(LIST:=.h)

all:
        echo $(LIST_H)

With GNU make 3.80, LIST_H is incorectly expanded to "foo.h .h", whereas
in make 3.81, this is correctly expanded to "foo.h" only. How to
workaround this ?






reply via email to

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