autoconf
[Top][All Lists]
Advanced

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

Re: test in a m4 macro and variable created from pushdef


From: Vincent Torri
Subject: Re: test in a m4 macro and variable created from pushdef
Date: Thu, 9 Aug 2007 08:34:45 +0200 (CEST)



On Wed, 8 Aug 2007, Andreas Schwab wrote:

if test "x${use_]DOWN[_driver}" = "xyes"; then

The outer pairs of quotes are removed before the AC_DEFUN macro is
called, thus the argument does not contain the word DOWN any more, but
rather use_DOWN_driver.  You need to fix the quoting that they survive
the first pass of parsing:

if test "x${use_[]DOWN[]_driver}" = "xyes"; then

thank you, it works. I also have to add those quotes to all the other places so that it works correctly

Vincent Torri




reply via email to

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