SHA256
1
0
forked from pool/hugin
hugin/hugin-fftw.patch

33 lines
830 B
Diff

--- m4/ax_fftw.m4
+++ m4/ax_fftw.m4
@@ -1,6 +1,6 @@
AC_DEFUN([AC_PATH_FFTW],
[
-LIBFFTW="-lrfftw -lfftw"
+LIBFFTW="-ldrfftw -ldfftw"
AC_MSG_CHECKING([for fftw])
@@ -62,7 +62,7 @@
test=NONE
fftw_libdir=NONE
for dir in $fftw_libdirs; do
- try="ls -1 $dir/libfftw*"
+ try="ls -1 $dir/libdfftw*"
if test=`eval $try 2> /dev/null`; then fftw_libdir=$dir; break; else echo "tried $dir" >&AC_FD_CC ; fi
done
@@ -128,10 +128,10 @@
if test "$fftw_libraries" = "/usr/lib" || test "$fftw_libraries" = "/usr/lib64" || test "$fftw_libraries" = "$x_libraries" || test -z "$fftw_libraries"; then
FFTW_LDFLAGS=""
- LIB_FFTW='-lrfftw -lfftw'
+ LIB_FFTW='-ldrfftw -ldfftw'
else
FFTW_LDFLAGS="-L$fftw_libraries"
- LIB_FFTW='-lrfftw -lfftw'
+ LIB_FFTW='-ldrfftw -ldfftw'
all_libraries="$FFTW_LDFLAGS $all_libraries"
fi