mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-10-10 00:25:06 -04:00
More macro updates from the pa_autoconf library. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
18 lines
631 B
Plaintext
18 lines
631 B
Plaintext
dnl --------------------------------------------------------------------------
|
|
dnl PA_LANG_FOREACH(subset, body)
|
|
dnl
|
|
dnl Expand [body] for each language encountered in the configure script also
|
|
dnl present in [subset], or all if [subset] is empty
|
|
dnl --------------------------------------------------------------------------
|
|
AC_DEFUN([_PA_LANG_FOREACH],
|
|
[m4_pushdef([pa_lang_for_each])dnl
|
|
m4_foreach([pa_lang_for_each],$1,[dnl
|
|
AC_LANG_PUSH(pa_lang_for_each)
|
|
$2
|
|
AC_LANG_POP(pa_lang_for_each)
|
|
])dnl
|
|
m4_popdef([pa_lang_for_each])])
|
|
|
|
AC_DEFUN([PA_LANG_FOREACH],
|
|
[_PA_LANG_FOREACH(m4_dquote(PA_LANG_SEEN_LIST(m4_dquote($1))),[$2])])
|