Replace --with-zlib with --with-system-zlib
[deliverable/binutils-gdb.git] / config / zlib.m4
1 dnl A function to check if the system's zlib library should be used. The
2 dnl builtin zlib dnl is used by default unless the user configured with
3 dnl --with-system-zlib.
4
5 AC_DEFUN([AM_ZLIB],
6 [
7 # Use the system's zlib library.
8 zlibdir=-L../zlib
9 zlibinc="-I\$(srcdir)/../zlib"
10 AC_ARG_WITH(system-zlib,
11 [AS_HELP_STRING([--with-system-zlib], [use installed libz])],
12 zlibdir=
13 zlibinc=
14 )
15 AC_SUBST(zlibdir)
16 AC_SUBST(zlibinc)
17 ])
This page took 0.042003 seconds and 5 git commands to generate.