Vincent Torri <vtorri@xxxxxxxxxxxx> writes: > AC_DEFUN([AS_CREATE_DRIVER], [ > > pushdef([UP], translit([$1], [a-z], [A-Z]))dnl > pushdef([DOWN], translit([$1], [A-Z], [a-z]))dnl > > pushdef([SRCUP], translit([$2], [a-z], [A-Z]))dnl > pushdef([SRCDOWN], translit([$2], [A-Z], [a-z]))dnl > > 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 Andreas. -- Andreas Schwab, SuSE Labs, schwab@xxxxxxx SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf