This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Update --with-system-zlib


On 01 Apr 2015 19:05, Bernhard Reutner-Fischer wrote:
> On April 1, 2015 6:54:31 PM GMT+02:00, Mike Frysinger wrote:
> >On 01 Apr 2015 05:04, H.J. Lu wrote:
> >> --- a/config/zlib.m4
> >> +++ b/config/zlib.m4
> >> @@ -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
> >>    )
> >
> >this is inside the 3rd arg, so normally you check $withval.  this code
> >will 
> >still work as the generated shell does:
> >if test "${with_system_zlib+set}" = set; then :
> 
> Why doesn't this expand to test -n "${with_system_zlib+set}"
> nowadays, BTW? Would be faster to parse and supposedly sums up quite a bit, fwiw.

question for the autoconf list ?

although note that this is autoconf-2.64 as that is what the tree has locked 
itself to currently.
-mike

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]