opnsense-ports/audio/audacity/files/patch-configure.ac
Franco Fichtner 96e3a232f6 */*: sync with upstream
Taken from: HardenedBSD
2017-07-26 04:49:57 +02:00

24 lines
816 B
Text

--- configure.ac.orig 2016-01-08 22:05:48 UTC
+++ configure.ac
@@ -235,20 +236,7 @@
dnl Solaris builds, by defining HAVE_ALLOCA_H
AC_CHECK_HEADERS_ONCE(alloca.h)
-
-dnl Enable C++ 11 support. Use gnu++11 on GCC since wxWidgets uses extensions
-if test "${ax_cv_c_compiler_vendor}" = "gnu"; then
-
- 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])
- if test x$gcc_ok = xno; then
- AC_MSG_ERROR([Audacity requires at least GCC 4.9])
- fi
-
- CXXFLAGS="${CXXFLAGS} --std=gnu++11"
-else
- CXXFLAGS="${CXXFLAGS} --std=c++11"
-fi
+CXXFLAGS="${CXXFLAGS} --std=c++11"
dnl --------------------------------------------------------------------------
dnl We would like warnings enabled on the builds, but different compilers need