diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2015-10-12 17:04:30 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2015-10-12 17:10:19 +0200 |
commit | 845cc7aa383fcfc7ae564705fe93a95972bb1052 (patch) | |
tree | c12ea9c8240ac340baad43455292c166313d550f /configure.ac | |
parent | eb3429dbb0948308bf81ddc0d0a8fe6447119460 (diff) |
configure: make emscripten read from stdin
Emscripten doesn't support reading from stdin currently.
This works around that bug by using the /dev/stdin file
See https://github.com/kripken/emscripten/issues/3800
Change-Id: I0c938504d645acdeae89c83e0f00bb856381f943
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 758c9e840679..41d080f90477 100644 --- a/configure.ac +++ b/configure.ac @@ -3263,8 +3263,8 @@ if test "$GCC" = "yes"; then if test "$COM_GCC_IS_CLANG" = TRUE; then AC_MSG_CHECKING([the Clang version]) - clang_version=`echo __clang_major__.__clang_minor__.__clang_patchlevel__ | $CC -E -P -` - CLANG_FULL_VERSION=`echo __clang_version__ | $CC -E -P -` + clang_version=`echo __clang_major__.__clang_minor__.__clang_patchlevel__ | $CC -E -P /dev/stdin` + CLANG_FULL_VERSION=`echo __clang_version__ | $CC -E -P /dev/stdin` CLANGVER=`echo $clang_version | $AWK -F. '{ print \$1*10000+\$2*100+\$3 }'` AC_MSG_RESULT([Clang $CLANG_FULL_VERSION, $CLANGVER]) AC_DEFINE_UNQUOTED(CLANG_FULL_VERSION,$CLANG_FULL_VERSION) |