comparison configure.in @ 8547:d66c9b6e506a

imported patch qrupdate.diff
author Jaroslav Hajek <highegg@gmail.com>
date Tue, 20 Jan 2009 21:16:42 +0100
parents 654bcfb937bf
children 424ba638d8f1
comparison
equal deleted inserted replaced
8546:3d8a914c580e 8547:d66c9b6e506a
863 if test "x$acx_blas_f77_func_ok" = "xno"; then 863 if test "x$acx_blas_f77_func_ok" = "xno"; then
864 warn_blas_f77_incompatible="A BLAS library was detected but found incompatible with your Fortran 77 compiler. The reference BLAS implementation will be used. To improve performance, consider using a different Fortran compiler or a switch like -ff2c to make your Fortran compiler use a calling convention compatible with the way your BLAS library was compiled, or use a different BLAS library." 864 warn_blas_f77_incompatible="A BLAS library was detected but found incompatible with your Fortran 77 compiler. The reference BLAS implementation will be used. To improve performance, consider using a different Fortran compiler or a switch like -ff2c to make your Fortran compiler use a calling convention compatible with the way your BLAS library was compiled, or use a different BLAS library."
865 AC_MSG_WARN($warn_blas_f77_incompatible) 865 AC_MSG_WARN($warn_blas_f77_incompatible)
866 fi 866 fi
867 867
868 QRUPDATE_LIBS=
869 AC_SUBST(QRUPDATE_LIBS)
870
871 # Check for the qrupdate library
872 AC_ARG_WITH(qrupdate,
873 [AS_HELP_STRING([--without-qrupdate],
874 [don't use qrupdate, disable QR & Cholesky updating functions])],
875 with_qrupdate=$withval, with_qrupdate=yes)
876
877 warn_qrupdate="qrupdate not found. The QR & Cholesky updating function will not be available."
878 if test "$with_qrupdate" = yes; then
879 with_qrupdate=no
880 if $have_fortran_compiler; then
881 AC_F77_FUNC(sqr1up)
882 elif $have_f2c; then
883 sqr1up=sqr1up_
884 fi
885 AC_CHECK_LIB(qrupdate, $sqr1up,
886 [QRUPDATE_LIBS="-lqrupdate"; with_qrupdate=yes], [], [$BLAS_LIBS $FLIBS])
887 if test "$with_qrupdate" = yes; then
888 AC_DEFINE(HAVE_QRUPDATE, 1, [Define if the qrupdate library is used.])
889 warn_qrupdate=
890 fi
891 fi
892 if test -n "$warn_qrupdate"; then
893 AC_MSG_WARN($warn_qrupdate)
894 fi
895
868 # Check for AMD library 896 # Check for AMD library
869 AMD_LIBS= 897 AMD_LIBS=
870 AC_SUBST(AMD_LIBS) 898 AC_SUBST(AMD_LIBS)
871 899
872 AC_ARG_WITH(amd, 900 AC_ARG_WITH(amd,
1995 libcruft/daspk/Makefile libcruft/dasrt/Makefile 2023 libcruft/daspk/Makefile libcruft/dasrt/Makefile
1996 libcruft/dassl/Makefile libcruft/fftpack/Makefile 2024 libcruft/dassl/Makefile libcruft/fftpack/Makefile
1997 libcruft/lapack/Makefile 2025 libcruft/lapack/Makefile
1998 libcruft/misc/Makefile libcruft/odepack/Makefile 2026 libcruft/misc/Makefile libcruft/odepack/Makefile
1999 libcruft/ordered-qz/Makefile libcruft/quadpack/Makefile 2027 libcruft/ordered-qz/Makefile libcruft/quadpack/Makefile
2000 libcruft/qrupdate/Makefile
2001 libcruft/ranlib/Makefile libcruft/slatec-fn/Makefile 2028 libcruft/ranlib/Makefile libcruft/slatec-fn/Makefile
2002 libcruft/slatec-err/Makefile libcruft/villad/Makefile 2029 libcruft/slatec-err/Makefile libcruft/villad/Makefile
2003 libcruft/blas-xtra/Makefile libcruft/lapack-xtra/Makefile]) 2030 libcruft/blas-xtra/Makefile libcruft/lapack-xtra/Makefile])
2004 AC_OUTPUT 2031 AC_OUTPUT
2005 2032
2032 COLAMD libraries: $COLAMD_LIBS 2059 COLAMD libraries: $COLAMD_LIBS
2033 CCOLAMD libraries: $CCOLAMD_LIBS 2060 CCOLAMD libraries: $CCOLAMD_LIBS
2034 CHOLMOD libraries: $CHOLMOD_LIBS 2061 CHOLMOD libraries: $CHOLMOD_LIBS
2035 CXSPARSE libraries: $CXSPARSE_LIBS 2062 CXSPARSE libraries: $CXSPARSE_LIBS
2036 ARPACK libraries: $ARPACK_LIBS 2063 ARPACK libraries: $ARPACK_LIBS
2064 QRUPDATE libraries: $QRUPDATE_LIBS
2037 HDF5 libraries: $HDF5_LIBS 2065 HDF5 libraries: $HDF5_LIBS
2038 CURL libraries: $CURL_LIBS 2066 CURL libraries: $CURL_LIBS
2039 REGEX libraries: $REGEX_LIBS 2067 REGEX libraries: $REGEX_LIBS
2040 QHULL libraries: $QHULL_LIBS 2068 QHULL libraries: $QHULL_LIBS
2041 LIBS: $LIBS 2069 LIBS: $LIBS
2115 warn_msg_printed=true 2143 warn_msg_printed=true
2116 fi 2144 fi
2117 2145
2118 if test -n "$warn_umfpack"; then 2146 if test -n "$warn_umfpack"; then
2119 AC_MSG_WARN($warn_umfpack) 2147 AC_MSG_WARN($warn_umfpack)
2148 warn_msg_printed=true
2149 fi
2150
2151 if test -n "$warn_qrupdate"; then
2152 AC_MSG_WARN($warn_qrupdate)
2120 warn_msg_printed=true 2153 warn_msg_printed=true
2121 fi 2154 fi
2122 2155
2123 if test -n "$warn_amd"; then 2156 if test -n "$warn_amd"; then
2124 AC_MSG_WARN($warn_amd) 2157 AC_MSG_WARN($warn_amd)