Re: how to use variable with translit definitions

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

 





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@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