Testing the value of a variable defined with m4_define (configure.ac)

2011-11-05 Thread Thomas Adam
Hello all, I've got a shell script which is called from within configure.ac -- with m4_esyscmd_s -- and this shell script echos out a few m4_define lines to set some values. Previously, these checks resided in configure.ac and set these variables as shell variables. Here's an example of what

Re: Testing the value of a variable defined with m4_define (configure.ac)

2011-11-05 Thread Gary V. Vaughan
On 5 Nov 2011, at 21:10, Thomas Adam wrote: previously defined: if test x$ISRELEASED = xyes; then VAR=somevalue VAR2=somevalue2 fi Now, though, the shell script I mentioned is instead setting ISRELEAED like this: m4_define([ISRELEASED], [$VALUE_OF_RELEASE_STATUS]) So my