llvm-project/llvm/projects/sample/autoconf/m4/cxx_flag_check.m4

3 lines
115 B
Plaintext

AC_DEFUN([CXX_FLAG_CHECK],
[AC_SUBST($1, `$CXX -Werror $2 -fsyntax-only -xc /dev/null 2>/dev/null && echo $2`)])