mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-17 00:20:06 +02:00
clang: correct detection of gcc
This commit is contained in:
parent
389370d01e
commit
4f397b288c
@ -206,7 +206,7 @@ fi
|
|||||||
|
|
||||||
if test x$enable_sse = xyes; then
|
if test x$enable_sse = xyes; then
|
||||||
|
|
||||||
if test "${ax_cv_cxx_compiler_vendor}" = "gnu"; then
|
if test "${CXX}" = "gnu"; then
|
||||||
AX_CHECK_COMPILER_FLAGS(-msse, [SBSMS_CFLAGS="$SBSMS_CFLAGS -msse"],[AC_MSG_ERROR([Need a version of gcc with -msse])])
|
AX_CHECK_COMPILER_FLAGS(-msse, [SBSMS_CFLAGS="$SBSMS_CFLAGS -msse"],[AC_MSG_ERROR([Need a version of gcc with -msse])])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -237,7 +237,7 @@ AC_CHECK_HEADERS_ONCE(alloca.h)
|
|||||||
|
|
||||||
|
|
||||||
dnl Enable C++ 11 support. Use gnu++11 on GCC since wxWidgets uses extensions
|
dnl Enable C++ 11 support. Use gnu++11 on GCC since wxWidgets uses extensions
|
||||||
if test "${ax_cv_c_compiler_vendor}" = "gnu"; then
|
if "${CXX}" -v 2>&1 | grep -q '^gcc version'; then
|
||||||
|
|
||||||
dnl GCC < 4.9 has known bugs (#1397) and can't be used
|
dnl GCC < 4.9 has known bugs (#1397) and can't be used
|
||||||
AX_GCC_VERSION_ATLEAST(4,9,0,[gcc_ok=yes], [gcc_ok=no])
|
AX_GCC_VERSION_ATLEAST(4,9,0,[gcc_ok=yes], [gcc_ok=no])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user