mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-10-10 00:25:06 -04:00
- Add some features to autoconf that makes it cleaner and faster - Modernize some of the autoconf macros - Update compiler.h with some C23 features Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
14 lines
585 B
Plaintext
14 lines
585 B
Plaintext
dnl --------------------------------------------------------------------------
|
|
dnl PA_FIND_FLAGS(flagvar, flags_list)
|
|
dnl
|
|
dnl Add the first set of flags in flags_list that is accepted by
|
|
dnl by all languages affected by [flagvar], if those languages have
|
|
dnl been previously seen in the script.
|
|
dnl --------------------------------------------------------------------------
|
|
AC_DEFUN([PA_FIND_FLAGS],
|
|
[_pa_find_flags_done=no
|
|
m4_foreach([_pa_find_flags_flag],[$2],
|
|
[
|
|
AS_IF([test x$_pa_find_flags_done != xyes],
|
|
[PA_ADD_FLAGS([$1],_pa_find_flags_flag,,[_pa_find_flags_done=yes])])])])
|