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>
20 lines
758 B
Plaintext
20 lines
758 B
Plaintext
dnl --------------------------------------------------------------------------
|
|
dnl PA_LANG_SEEN_SET
|
|
dnl
|
|
dnl Set of the languages that have been used in the configuration.
|
|
dnl
|
|
dnl This relies on overriding _AC_LANG_SET(from, to),
|
|
dnl the internal implementation of _AC_LANG.
|
|
dnl
|
|
dnl The very first language transition [] -> [C] is ignored, because
|
|
dnl it is done from AC_INIT regardless of any user specified language.
|
|
dnl --------------------------------------------------------------------------
|
|
|
|
m4_ifndef([_PA_LANG_SET],
|
|
[m4_rename([_AC_LANG_SET], [_PA_LANG_SET])
|
|
m4_set_delete([_pa_lang_seen_set])
|
|
m4_defun([_AC_LANG_SET],
|
|
[m4_ifnblank([$1],[m4_set_add([_pa_lang_seen_set],[$2])])_PA_LANG_SET($@)])])
|
|
|
|
AC_DEFUN([PA_LANG_SEEN_SET],[[_pa_lang_seen_set]])
|