|
From: | Vincent Torri |
Subject: | Re: how to use variable with translit definitions |
Date: | Sun, 25 Mar 2007 12:36:48 +0200 (CEST) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |