summaryrefslogtreecommitdiff
path: root/audio/audacity/files/patch-configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'audio/audacity/files/patch-configure.ac')
-rw-r--r--audio/audacity/files/patch-configure.ac19
1 files changed, 17 insertions, 2 deletions
diff --git a/audio/audacity/files/patch-configure.ac b/audio/audacity/files/patch-configure.ac
index 536f23a7145e..55b13b364147 100644
--- a/audio/audacity/files/patch-configure.ac
+++ b/audio/audacity/files/patch-configure.ac
@@ -1,6 +1,21 @@
---- configure.ac.orig 2018-09-20 14:35:07 UTC
+--- configure.ac.orig 2019-02-24 08:28:05 UTC
+++ configure.ac
-@@ -235,20 +235,7 @@ dnl check if alloca.h exists. If it does, we need to i
+@@ -204,14 +204,6 @@ if test x$enable_universal_binary = xyes; then
+ esac
+ fi
+
+-dnl Check if $CXX is clang by evaluating the version string because
+-dnl $ax_cv_cxx_compiler_vendor seems not to work (it is either "gnu" or just empty).
+-dnl If $CXX is clang (string is found), grep returns 0 and the if is executed.
+-dnl Use /dev/null to suppress grep output to shell.
+-if ($CXX --version | grep 'clang version' > /dev/null); then
+- LDFLAGS="${LDFLAGS} -latomic"
+-fi
+-
+ if test x$enable_sse = xyes; then
+
+ if test "${ax_cv_cxx_compiler_vendor}" = "gnu"; then
+@@ -243,20 +235,7 @@ dnl check if alloca.h exists. If it does, we need to i
dnl Solaris builds, by defining HAVE_ALLOCA_H
AC_CHECK_HEADERS_ONCE(alloca.h)