USE_CONTRIB_UMFPACK='yes'
AC_MSG_RESULT(using included version)
fi
- AC_DEFINE(HAVE_UMFPACK,1,[UMFPACK is $1])
+ AC_DEFINE(HAVE_LIBUMFPACK,1,[UMFPACK is $1])
])
libstdc++ interface. */
#undef HAVE_LIBSTDCXX_DEMANGLER
-/* Define to 1 if you have the `umfpack' library (-lumfpack). */
+/* UMFPACK is $withval */
#undef HAVE_LIBUMFPACK
/* Define to 1 if you have the `z' library (-lz). */
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
-/* UMFPACK is $withval */
-#undef HAVE_UMFPACK
-
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
fi
cat >>confdefs.h <<\_ACEOF
-#define HAVE_UMFPACK 1
+#define HAVE_LIBUMFPACK 1
_ACEOF
#endif
// include UMFPACK file.
-#ifdef HAVE_UMFPACK
+#ifdef HAVE_LIBUMFPACK
extern "C" {
# include <umfpack.h>
}
{}
-#ifdef HAVE_UMFPACK
+#ifdef HAVE_LIBUMFPACK
SparseDirectUMFPACK::SparseDirectUMFPACK ()
:
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams