freebsd-ports/graphics/vips/files/patch-configure
2003-12-22 14:06:05 +00:00

36 lines
1.1 KiB
Text

--- configure.orig Fri Dec 19 18:53:45 2003
+++ configure Fri Dec 19 18:57:16 2003
@@ -12181,7 +12181,7 @@
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
- if test "$FFTW_LIBS" == "no"; then
+ if test "$FFTW_LIBS" = "no"; then
# Try the standard search path first
LIBS="-lrfftw -lfftw -lm $fftw_save_LIBS"
cat >conftest.$ac_ext <<_ACEOF
@@ -12225,7 +12225,7 @@
/usr/*/lib \
"${prefix}"/lib/* /usr/lib/* \
/usr/local/lib/* /*/lib; do
- if test -d "$dir" && test "`ls $dir/libdfftw.* 2> /dev/null`" != ""; then
+ if test -d "$dir" && test "`ls $dir/libfftw.* 2> /dev/null`" != ""; then
FFTW_LIBS="-L$dir -lrfftw -lfftw -lm"
break
fi
@@ -12693,13 +12693,12 @@
else
- echo "$as_me:12696: checking for dlopen in -l" >&5
-echo $ECHO_N "checking for dlopen in -l... $ECHO_C" >&6
+ echo "$as_me:12696: checking for dlopen" >&5
+echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
if test "${ac_cv_lib__dlopen+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-l $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line 12704 "configure"
#include "confdefs.h"