Hello Vincent,
* Vincent Torri wrote on Fri, Aug 10, 2007 at 07:51:00AM CEST:
On Thu, 9 Aug 2007, Eric Blake wrote:
AM_CONDITIONAL([BUILD_DRIVER_]UP, [...])
calls AM_CONDITIONAL with a string consisting of UP already expanded (ok
if UP is alphanumeric, but with the potential for m4 syntax confusion if
it contains anything in the character class [][,()].
both solutions:
AM_CONDITIONAL([BUILD_DRIVER_]UP, [test "x${use_]DOWN[_driver}" = "xyes"])
AM_CONDITIONAL([BUILD_DRIVER_]UP, test "x${[use_]DOWN[_driver]}" = "xyes")
are working
One check to avoid further hidden issues is to
grep UP configure
grep DOWN configure
There seems to be at least one harmless unexpanded instance left in a
comment, hopefully fixed by the (untested) patch below. OK to apply?