projects/sample: Import adapted form of current LLVM autoconf/Makefile setup so that...
[oota-llvm.git] / projects / sample / autoconf / m4 / cxx_flag_check.m4
1 AC_DEFUN([CXX_FLAG_CHECK],
2   [AC_SUBST($1, `$CXX $2 -fsyntax-only -xc /dev/null 2>/dev/null && echo $2`)])