mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-01-06 16:04:43 +08:00
b0121dc312
I have been setting up a cross-project librarized autoconf setup; use it for NASM as well. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
10 lines
511 B
Plaintext
10 lines
511 B
Plaintext
dnl --------------------------------------------------------------------------
|
|
dnl PA_ADD_CFLAGS(variable, flag [,actual_flag])
|
|
dnl
|
|
dnl Attempt to add the given option to xFLAGS, if it doesn't break
|
|
dnl compilation. If the option to be tested is different than the
|
|
dnl option that should actually be added, add the option to be
|
|
dnl actually added as a second argument.
|
|
dnl --------------------------------------------------------------------------
|
|
AC_DEFUN([PA_ADD_CFLAGS], [PA_ADD_FLAGS(CFLAGS, [$1], [$2])])
|