This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: zlib and configure
On Oct 10, 2000, Nathan Sidwell <nathan@codesourcery.com> wrote:
> Alexandre Oliva wrote:
>> It seems that zlib is missing the magic spell in libiberty, namely:
> Nope, same failure mode. I tried the slightly different spell from libf2c's
> configure.in, but that fails even earlier
Ok, now I see the invocation of config-ml.in uses zlib_basedir, but
the code that sets zlib_basedir doesn't handle the case of an empty
`$with_target_subdir', as is the case when zlib is configured for the
host. Please try:
-if test "[$]{srcdir}" = "."; then
+if test "x[$]{with_target_subdir}" != x && \
+ test "[$]{srcdir}" = "."; then
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me