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

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

 





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


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux