--- rpl/configure.ac 2013/03/19 13:14:44 1.61 +++ rpl/configure.ac 2013/04/01 12:34:33 1.65 @@ -16,14 +16,15 @@ GPP=gpp-3.0 GNUPLOT=gnuplot-4.6.2 FILE=file-5.11 ICONV=libiconv-1.14 -SQLITE=sqlite-3.7.16 +SQLITE=sqlite-3.7.16.1 OPENSSL=openssl-1.0.1e OPENMOTIF=openmotif-2.3.4 LIBXPM=libXpm-3.5.9 SIGSEGV=libsigsegv-2.11 +ZLIB=zlib-1.2.7 GMP=gmp-5.1.1 -MPFR=mpfr-3.1.1 +MPFR=mpfr-3.1.2 NTL=ntl-5.5.2 COCOA=CoCoALib-0.9950 PARI=pari-2.5.1 @@ -500,6 +501,10 @@ if test ! -d tools/$OPENSSL; then gunzip -c "$srcdir"/tools/$OPENSSL.tar.gz | \ (cd tools && tar -xf -) fi +if test ! -d tools/$ZLIB; then + gunzip -c "$srcdir"/tools/$ZLIB.tar.gz | \ + (cd tools && tar -xf - && cd $ZLIB && ./configure --static) +fi if test ! -d rplcas; then mkdir rplcas fi @@ -1356,6 +1361,7 @@ AC_SUBST(PARI) AC_SUBST(GIAC) AC_SUBST(INCMOTIF) AC_SUBST(LIBMOTIF) +AC_SUBST(ZLIB) AC_SUBST(CFLAGS) AC_SUBST(CXXFLAGS) @@ -1381,14 +1387,6 @@ if test $RECURSIVE = yes; then AC_CONFIG_SUBDIRS(tools/$SIGSEGV) fi -if test x$MYSQL_LIB = x"yes" -o x$POSTGRESQL_LIB = x"yes"; then - ZLIB=-lz -else - ZLIB= -fi - -AC_SUBST(ZLIB) - AC_CONFIG_FILES(Makefile) AC_CONFIG_FILES(HEADER) AC_CONFIG_FILES(tools/Makefile)