On Sun, 25 Mar 2007, Andreas Schwab wrote:

What you want is that the body of the macro looks like this:

pushdef([DOWN], translit([$1], [A-Z], [a-z]))dnl

ecore_[]DOWN[]_libs=""

AC_SUBST(ecore_[]DOWN[]_libs)

popdef([DOWN])

Now put a pair of quotes around it, and you get this:

AC_DEFUN([AC_CHECK_ECORE_MODULE],
[
pushdef([DOWN], translit([$1], [A-Z], [a-z]))dnl

ecore_[]DOWN[]_libs=""

AC_SUBST(ecore_[]DOWN[]_libs)

popdef([DOWN])
])

It works flawlessly. Thank you very much !

Vincent Torri


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

Reply via email to