Re: Feature suggestion: Option to generate a Makefile include file containing assignments for all of the output variables

2013-04-01 Thread Nick Bowler
On 2013-03-30 14:56 +, Gavin Smith wrote: > autoconf-generated configure scripts substitute strings like @var@ in files > like for the value of output variables set in the configure script. Most of > the time, these will only be used in lines like > > var = @var@ > > in Makefile.in. The Makef

Re: Autoreconf stops with "non-POSIX variable name"

2013-04-01 Thread Eric Blake
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

Re: Autoreconf stops with "non-POSIX variable name"

2013-04-01 Thread Russ Allbery
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

RE: Autoreconf stops with "non-POSIX variable name"

2013-04-01 Thread Borchert, Oliver
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