Unset zlibdir/zlibinc only for --with-system-zlib
* zlib.m4 (AM_ZLIB): Unset zlibdir and zlibinc only for --with-system-zlib.
This commit is contained in:
parent
875b5b9d14
commit
031f1448b6
@ -1,3 +1,8 @@
|
|||||||
|
2015-04-01 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* zlib.m4 (AM_ZLIB): Unset zlibdir and zlibinc only for
|
||||||
|
--with-system-zlib.
|
||||||
|
|
||||||
2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
|
2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* zlib.m4 (AM_ZLIB): Replace --with-zlib with --with-system-zlib.
|
* zlib.m4 (AM_ZLIB): Replace --with-zlib with --with-system-zlib.
|
||||||
|
@ -9,8 +9,10 @@ AC_DEFUN([AM_ZLIB],
|
|||||||
zlibinc="-I\$(srcdir)/../zlib"
|
zlibinc="-I\$(srcdir)/../zlib"
|
||||||
AC_ARG_WITH(system-zlib,
|
AC_ARG_WITH(system-zlib,
|
||||||
[AS_HELP_STRING([--with-system-zlib], [use installed libz])],
|
[AS_HELP_STRING([--with-system-zlib], [use installed libz])],
|
||||||
zlibdir=
|
if test x$with_system_zlib = xyes ; then
|
||||||
zlibinc=
|
zlibdir=
|
||||||
|
zlibinc=
|
||||||
|
fi
|
||||||
)
|
)
|
||||||
AC_SUBST(zlibdir)
|
AC_SUBST(zlibdir)
|
||||||
AC_SUBST(zlibinc)
|
AC_SUBST(zlibinc)
|
||||||
|
Loading…
Reference in New Issue
Block a user