summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/ngspice/files/ngspice-27-autoconf_fftw3.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/sci-electronics/ngspice/files/ngspice-27-autoconf_fftw3.patch b/sci-electronics/ngspice/files/ngspice-27-autoconf_fftw3.patch
index d490938d2099..d0eec127c572 100644
--- a/sci-electronics/ngspice/files/ngspice-27-autoconf_fftw3.patch
+++ b/sci-electronics/ngspice/files/ngspice-27-autoconf_fftw3.patch
@@ -15,7 +15,7 @@
# Look for math library:
AC_CHECK_LIB([m], [sqrt])
AC_CHECK_HEADERS([float.h limits.h values.h ieeefp.h])
-+if test "x$with_fftw3" = xyes; then
++if test "x$with_fftw3" != xno; then
AC_CHECK_HEADERS([fftw3.h])
AC_CHECK_LIB([fftw3], [fftw_plan_dft_1d],
[AC_DEFINE([HAVE_LIBFFTW3], [], [Have fft routines in libfftw3])