[Top][All Lists]

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

Warn: non-POSIX variable name

From: Steven Woody
Subject: Warn: non-POSIX variable name
Date: Tue, 19 Aug 2008 10:14:41 +0800


How do I remove these warnings when do automake:

    src/rmeterd/ shell ../../svndate-sh: non-POSIX variable name
    src/rmeterd/ (probably a GNU make extension)

in the, I did something like this:

    rmeterd_CXXFLAGS = \
                    -D'SVN_REV="$(shell ../../svnrev-sh)"' \
                    -D'SVN_DATE="$(shell ../../svndate-sh)"'

That is, I call a external shell script to get values that will be set
to a -D definition.

What's the correct way to do this without warning? Thanks.

reply via email to

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