aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 3862c38..ed449e8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,7 +35,8 @@ AC_PROG_CC_C99
AC_PROG_GREP
AC_PROG_INSTALL
-AM_CONDITIONAL(CLANG, [$CXX --version | $GREP clang >/dev/null])
+# Emscripten uses Clang as well
+AM_CONDITIONAL(CLANG, [$CXX --version | $GREP -E "clang|Emscripten" >/dev/null])
AC_CHECK_PROG(DATE, date, date)
if [[ x$DATE = x ]]; then