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>
10 lines
432 B
Plaintext
10 lines
432 B
Plaintext
dnl --------------------------------------------------------------------------
|
|
dnl PA_ADD_LANGFLAGS(flag...)
|
|
dnl
|
|
dnl Attempt to add the first accepted option in the given list to each
|
|
dnl compiler flags (CFLAGS, CXXFLAGS, ...).
|
|
dnl --------------------------------------------------------------------------
|
|
AC_DEFUN([PA_ADD_LANGFLAGS],
|
|
[PA_LANG_FOREACH(PA_LANG_HAVE_FLAGVAR_LIST,
|
|
[PA_FIND_FLAGS(m4_quote(PA_LANG_FLAGVAR),[$@])])])
|