diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 38d33bf..cca1cd3 100644 --- a/configure.ac +++ b/configure.ac @@ -56,6 +56,7 @@ AC_PROG_CC # FIXME: We want -std=gnu11 AC_PROG_CC_C99 AC_PROG_SED +AC_PROG_GREP AC_PROG_INSTALL # Mainly because of Scintilla, which depends on @@ -75,6 +76,9 @@ AC_PROG_CXX AX_CXX_COMPILE_STDCXX(11, noext, mandatory) AC_CHECK_TOOL(AR, ar) +# Whether $CC is Clang +AM_CONDITIONAL(CLANG, [$CC --version | $GREP -i clang >/dev/null]) + # Check for Windows resource compiler and define # WIN32 conditional case $host in |