comparison configure.in @ 8417:654bcfb937bf

Add the eigs and svds functions
author David Bateman <dbateman@free.fr>
date Tue, 23 Dec 2008 08:28:23 +0100
parents 25bc2d31e1bf
children d66c9b6e506a
comparison
equal deleted inserted replaced
8416:0a56e5c21c29 8417:654bcfb937bf
1042 fi 1042 fi
1043 if test -n "$warn_cxsparse"; then 1043 if test -n "$warn_cxsparse"; then
1044 AC_MSG_WARN($warn_cxsparse) 1044 AC_MSG_WARN($warn_cxsparse)
1045 fi 1045 fi
1046 1046
1047 ARPACK_LIBS=
1048 AC_SUBST(ARPACK_LIBS)
1049
1050 AC_ARG_WITH(arpack,
1051 [AS_HELP_STRING([--without-arpack],
1052 [don't use ARPACK, disable some sparse functionality])],
1053 with_arpack=$withval, with_arpack=yes)
1054
1055 warn_arpack="arpack not found. This will result in a lack of the eigs function."
1056 if test "$with_arpack" = yes; then
1057 with_arpack=no
1058 AC_CHECK_LIB(arpack, F77_FUNC(dseupd,DSEUPD), [ARPACK_LIBS="-larpack"; with_arpack=yes], , $LAPACK_LIBS $FLIBS)
1059 if test "$with_arpack" = yes; then
1060 AC_DEFINE(HAVE_ARPACK, 1, [Define if the ARPACK library is used.])
1061 warn_arpack=
1062 fi
1063 fi
1064 if test -n "$warn_arpack"; then
1065 AC_MSG_WARN($warn_arpack)
1066 fi
1067
1047 ### Handle shared library options. 1068 ### Handle shared library options.
1048 1069
1049 ### Enable creation of static libraries. 1070 ### Enable creation of static libraries.
1050 1071
1051 AC_ARG_ENABLE(static, 1072 AC_ARG_ENABLE(static,
2010 CAMD libraries: $CAMD_LIBS 2031 CAMD libraries: $CAMD_LIBS
2011 COLAMD libraries: $COLAMD_LIBS 2032 COLAMD libraries: $COLAMD_LIBS
2012 CCOLAMD libraries: $CCOLAMD_LIBS 2033 CCOLAMD libraries: $CCOLAMD_LIBS
2013 CHOLMOD libraries: $CHOLMOD_LIBS 2034 CHOLMOD libraries: $CHOLMOD_LIBS
2014 CXSPARSE libraries: $CXSPARSE_LIBS 2035 CXSPARSE libraries: $CXSPARSE_LIBS
2036 ARPACK libraries: $ARPACK_LIBS
2015 HDF5 libraries: $HDF5_LIBS 2037 HDF5 libraries: $HDF5_LIBS
2016 CURL libraries: $CURL_LIBS 2038 CURL libraries: $CURL_LIBS
2017 REGEX libraries: $REGEX_LIBS 2039 REGEX libraries: $REGEX_LIBS
2018 QHULL libraries: $QHULL_LIBS 2040 QHULL libraries: $QHULL_LIBS
2019 LIBS: $LIBS 2041 LIBS: $LIBS
2118 warn_msg_printed=true 2140 warn_msg_printed=true
2119 fi 2141 fi
2120 2142
2121 if test -n "$warn_cxsparse"; then 2143 if test -n "$warn_cxsparse"; then
2122 AC_MSG_WARN($warn_cxsparse) 2144 AC_MSG_WARN($warn_cxsparse)
2145 warn_msg_printed=true
2146 fi
2147
2148 if test -n "$warn_arpack"; then
2149 AC_MSG_WARN($warn_arpack)
2123 warn_msg_printed=true 2150 warn_msg_printed=true
2124 fi 2151 fi
2125 2152
2126 if test -n "$warn_curl"; then 2153 if test -n "$warn_curl"; then
2127 AC_MSG_WARN($warn_curl) 2154 AC_MSG_WARN($warn_curl)