Commit d475215a by Tom Tromey Committed by Tom Tromey

re PR java/3441 (fastjar zlib)

	* configure: Rebuilt.
	* configure.in: Accept --with-system-zlib.  Fixes PR java/3441.

From-SVN: r43644
parent fa2eec9a
2001-06-28 Tom Tromey <tromey@redhat.com>
* configure: Rebuilt.
* configure.in: Accept --with-system-zlib. Fixes PR java/3441.
2001-05-15 Per Bothner <per@bothner.com>
* Makefile.am (bin_PROGRAMS): Renamed from "fastjar" to "jar".
......
......@@ -37,10 +37,25 @@ AC_CHECK_SIZEOF(long long)
dnl Check byte order
AC_C_BIGENDIAN
dnl Brain dead check for tree's zlib
ZDEPS='$(top_builddir)/../zlib/libz.a'
ZLIBS="$ZDEPS -L\$(here)/../zlib/$libsubdir"
ZINCS='-I$(top_srcdir)/../zlib'
AC_ARG_WITH(system-zlib,
[ --with-system-zlib use installed libz])
ZLIBS=
ZDEPS=
ZINCS=
use_zlib=maybe
if test "$with_system_zlib" = yes; then
AC_CHECK_LIB(z, deflate, ZLIBS=-lz, use_zlib=no)
else
use_zlib=no
fi
if test "$use_zlib" = no; then
# Brain dead way to find tree's zlib.
ZDEPS='$(top_builddir)/../zlib/libz.a'
ZLIBS="$ZDEPS -L\$(here)/../zlib/$libsubdir"
ZINCS='-I$(top_srcdir)/../zlib'
fi
AC_SUBST(ZLIBS)
AC_SUBST(ZDEPS)
AC_SUBST(ZINCS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment