annotate config/zlib.m4 @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents: 55
diff changeset
1 dnl A function to check if the system's zlib library should be used. The
kono
parents: 55
diff changeset
2 dnl builtin zlib dnl is used by default unless the user configured with
kono
parents: 55
diff changeset
3 dnl --with-system-zlib.
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
4
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 AC_DEFUN([AM_ZLIB],
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 [
111
kono
parents: 55
diff changeset
7 # Use the system's zlib library.
kono
parents: 55
diff changeset
8 zlibdir="-L\$(top_builddir)/../zlib"
kono
parents: 55
diff changeset
9 zlibinc="-I\$(top_srcdir)/../zlib"
kono
parents: 55
diff changeset
10 AC_ARG_WITH(system-zlib,
kono
parents: 55
diff changeset
11 [AS_HELP_STRING([--with-system-zlib], [use installed libz])],
kono
parents: 55
diff changeset
12 if test x$with_system_zlib = xyes ; then
kono
parents: 55
diff changeset
13 zlibdir=
kono
parents: 55
diff changeset
14 zlibinc=
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 fi
111
kono
parents: 55
diff changeset
16 )
kono
parents: 55
diff changeset
17 AC_SUBST(zlibdir)
kono
parents: 55
diff changeset
18 AC_SUBST(zlibinc)
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
19 ])