# HG changeset patch # User jwe # Date 1180425439 0 # Node ID 69197bd681f68fbb5499d6446190fd27b637dc27 # Parent a36e4bb269438f340ca787935752efc21b7a1455 [project @ 2007-05-29 07:57:19 by jwe] diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-05-29 Steven Mestdagh + + * configure.in: Delete spurious "break" in fftw3 check. + Use separate case for SH_LD and SH_LDFLAGS on openbsd. + 2007-05-22 John W. Eaton * Makeconf.in (do-script-uninstall): Also remove directory. diff --git a/configure.in b/configure.in --- a/configure.in +++ b/configure.in @@ -29,7 +29,7 @@ EXTERN_CXXFLAGS="$CXXFLAGS" AC_INIT -AC_REVISION($Revision: 1.560 $) +AC_REVISION($Revision: 1.561 $) AC_PREREQ(2.57) AC_CONFIG_SRCDIR([src/octave.cc]) AC_CONFIG_HEADER(config.h) @@ -561,7 +561,7 @@ if test "$with_fftw" = yes; then have_fftw3_header=no with_fftw3=no - AC_CHECK_HEADER(fftw3.h, [have_fftw3_header=yes; break]) + AC_CHECK_HEADER(fftw3.h, [have_fftw3_header=yes]) if test "$have_fftw3_header" = yes; then AC_CHECK_LIB(fftw3, fftw_plan_dft_1d, [FFTW_LIBS="-lfftw3"; with_fftw3=yes]) fi @@ -1084,10 +1084,14 @@ OCTINTERP_DLL_DEFS= library_path_var=LD_LIBRARY_PATH case "$canonical_host_type" in - *-*-386bsd* | *-*-openbsd* | *-*-netbsd*) + *-*-386bsd* | *-*-netbsd*) SH_LD=ld SH_LDFLAGS=-Bshareable ;; + *-*-openbsd*) + SH_LD='$(CXX)' + SH_LDFLAGS='-shared -fPIC' + ;; *-*-freebsd*) SH_LD='$(CC)' SH_LDFLAGS="-shared -Wl,-x"