Giuseppe Greco <[EMAIL PROTECTED]> writes: > AC_DEFUN(ZT_CHECK_PROG, > [ > AC_PATH_PROG($1, $2) > > if test -z "[$]$1"; then > AC_MSG_ERROR([You need '$2' to proceed.]) > fi > ]) > > ... and I call it with a statement like these
> ... > ZT_CHECK_PROG(LATEX, latex) > ZT_CHECK_PROG(TEX4HT, tex4ht) > ... > > Well, after running automake and autoconf, and configure, right? (it pays to make sure :) > I'm missing something? Are there errors in my statements? Your macro needs to call AC_SUBST, something like: AC_SUBST($1) after the call to AC_PATH_PROG. hope that helps, -- Clinton Roy Elvin Software Engineer - elvin.dstc.edu.au Humbug Vice president - www.humbug.org.au
