Eric and Russ,
thanks for the reply. After long testing back and forth I decided to use
AC_SUBST.
My solution might not be the cleanest but it works for me.
In configure.ac I added the following line
AC_SUBST([DOLLAR_SIGN],[$])
In the Makefile.am I changed my previous line into
MY_REVISION=@DO
Eric Blake writes:
> If you care about non-GNU make users, then you can't use $(shell). And
> as long as you are going to mandate that your package be built with GNU
> make, then you might as well go all the way and document that fact in
> your README file, as well as:
This is actually an
On 04/01/2013 05:07 PM, Borchert, Oliver wrote:
> Eric and Russ,
>
> thanks for the reply. After long testing back and forth I decided to use
> AC_SUBST.
> My solution might not be the cleanest but it works for me.
It may work for you, but it alienates all users that were previously
able to bui
[adding automake]
On 03/29/2013 03:44 PM, Russ Allbery wrote:
>> MY_REVISION_FILE=my-revision.txt
>> MY_REVISION=$(shell cat $(top_srcdir)/$(MY_REVISION_FILE))
$(shell ...) is a GNU make extension, and by using it, you are making
your Makefile.am useless for all other make flavors. Automake's g