summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/fftw/files/fftw-3.1.2-configure.ac.patch')
-rw-r--r--sci-libs/fftw/files/fftw-3.1.2-configure.ac.patch13
1 files changed, 11 insertions, 2 deletions
diff --git a/sci-libs/fftw/files/fftw-3.1.2-configure.ac.patch b/sci-libs/fftw/files/fftw-3.1.2-configure.ac.patch
index bbc0ccb6b5f8..de54a25dab05 100644
--- a/sci-libs/fftw/files/fftw-3.1.2-configure.ac.patch
+++ b/sci-libs/fftw/files/fftw-3.1.2-configure.ac.patch
@@ -1,5 +1,5 @@
---- configure.ac.orig 2008-03-31 23:03:45.200210228 +0100
-+++ configure.ac 2008-03-31 23:06:57.111081976 +0100
+--- configure.ac.orig 2008-06-30 23:10:27.431674828 +0100
++++ configure.ac 2008-06-30 23:50:59.266804845 +0100
@@ -135,7 +135,7 @@
AC_PROG_CC
AX_COMPILER_VENDOR
@@ -18,3 +18,12 @@
dnl Checks for header files.
AC_HEADER_STDC
+@@ -362,7 +364,7 @@
+ THREADLIBS=""
+ if test "$enable_threads" = "yes"; then
+ if test "$with_openmp"x != nox; then
+- AX_OPENMP([THREADLIBS=" "
++ AX_OPENMP([THREADLIBS="$OPENMP_LIBS"
+ AC_DEFINE(USING_OPENMP_THREADS, 1, [Define if we have and are using OpenMP multithreading directives])
+ CFLAGS="$CFLAGS $OPENMP_CFLAGS"],
+ [AC_MSG_ERROR([don't know how to enable OpenMP])])