mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 18:14:13 +08:00
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>
|
||||
|
||||
* zlib.m4 (AM_ZLIB): Replace --with-zlib with --with-system-zlib.
|
||||
|
@ -9,8 +9,10 @@ AC_DEFUN([AM_ZLIB],
|
||||
zlibinc="-I\$(srcdir)/../zlib"
|
||||
AC_ARG_WITH(system-zlib,
|
||||
[AS_HELP_STRING([--with-system-zlib], [use installed libz])],
|
||||
zlibdir=
|
||||
zlibinc=
|
||||
if test x$with_system_zlib = xyes ; then
|
||||
zlibdir=
|
||||
zlibinc=
|
||||
fi
|
||||
)
|
||||
AC_SUBST(zlibdir)
|
||||
AC_SUBST(zlibinc)
|
||||
|
Loading…
Reference in New Issue
Block a user