1 dnl Add a set of flags to WARNING_FLAGS, that enable compiler warnings for 2 dnl isl. The warnings that are enabled vary with the compiler and only include 3 dnl warnings that did not trigger at the time of adding these flags. 4 AC_DEFUN([AX_SET_WARNING_FLAGS],[dnl 5 AX_COMPILER_VENDOR 6 7 WARNING_FLAGS="" 8 9 if test "${ax_cv_c_compiler_vendor}" = "clang"; then 10 dnl isl is at the moment clean of -Wall warnings. If clang adds 11 dnl new warnings to -Wall which cause false positives, the 12 dnl specific warning types will be disabled explicitally (by 13 dnl adding for example -Wno-return-type). To temporarily disable 14 dnl all warnings run configure with CFLAGS=-Wno-all. 15 WARNING_FLAGS="-Wall" 16 fi 17 ]) 18