[Top][All Lists]

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

Autoreconf stops with "non-POSIX variable name"

From: oborchert
Subject: Autoreconf stops with "non-POSIX variable name"
Date: Fri, 29 Mar 2013 14:17:24 -0700 (PDT)

I created a where I read the content out of a file and pass it
to CFLAGS. Calling ./configure ... the Makefile will be generated an all
works well.
MY_REVISION=$(shell cat $(top_srcdir)/$(MY_REVISION_FILE))

The problem arises once I moved the code into to
allow the auto generation of There calling autoreconf -i
--force stops with the following error: 

server/ cat $(top_srcdir: non-POSIX variable name
server/ (probably a GNU make extension)
autoreconf: automake failed with exit status: 1

This problem hunts me now since quite some time. I searched everywhere but
did not find anything that could help me finding a solution for that. In
short, the only thing I need is a way to get an uninterpreted text such as
"$(shell cat $(top_srcdir)/$(MY_REVISION_FILE))" copied from to

Any idea?


View this message in context:
Sent from the Gnu - Autoconf - General mailing list archive at

reply via email to

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