fi
AC_SUBST(NEEDS_F77LIBS, "yes")
])
+
+dnl --------------------------------------------------
+dnl Include the LAPACK library
+dnl --------------------------------------------------
+AC_DEFUN(DEAL_II_WITH_ZLIB, dnl
+[
+ if test "x$1" != "xyes" ; then
+ AC_CHECK_LIB($1, crc32,
+ [ LIBS="-l$1 $LIBS"
+ AC_DEFINE(HAVE_LIBZ)
+ ])
+dnl fi
+ else
+ AC_CHECK_LIB(z, crc32)
+ fi
+])
+
use -llapack.],
DEAL_II_WITH_LAPACK($withval))
+dnl Check for the compression library zlib.
+dnl First activate if no option given
+if test "x$with_zlib" = "x" ; then
+ with_zlib="yes"
+fi
+
+AC_ARG_WITH(zlib,
+ [ --with-zlib=zlib use the compression library zlib for gzipped input and output
+ and link it with -lzlib (the default is -lz).
+ Make sure the library is in the search path of ld.],
+ DEAL_II_WITH_ZLIB($withval))
+
+
dnl -------------------------------------------------------------
dnl Optimizations and consistency of compiler flags
dnl -------------------------------------------------------------
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