Hi,

For a project I would like to get defines for every supported languages.
The ALL_LINGUAS variable contains alist of language codes. Now I would
like to get

HAVE_LINGUA_$lang

for every languages code in the variable. I tried this piece of code:

> AS_FOR(
>         [AC_lingua],
>         [ac_lingua],
>         [$ALL_LINGUAS],
>         [
>          AC_MSG_NOTICE([Having lingua ]AC_lingua)
>          AH_TEMPLATE(AS_TR_CPP([HAVE_LINGUA_]AC_lingua), [Define to 1 for 
> <AC_lingua> lingua support.])
>          AC_DEFINE(AS_TR_CPP([HAVE_LINGUA_]AC_lingua))
>         ]
> )

But it doesn't work. I tried several other things, but the autoheader
file never contains the defines. What am I doing wrong?

Regards, Daniel


_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to