This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: zlib and configure
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Subject: Re: zlib and configure
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 10 Oct 2000 07:00:31 -0200
- Cc: gcc-bugs at gcc dot gnu dot org, green at cygnus dot com
- Organization: GCC Team, Red Hat
- References: <39E2D95E.1CBB9239@codesourcery.com>
On Oct 10, 2000, Nathan Sidwell <nathan@codesourcery.com> wrote:
> As you can see from the attached configure log from the sparc box,
> the zlib configure dies failing to find ../../config-ml.in
> Notice that on that box, srcdir appears to be set to ., even
> though I explicitly set it to the base directory of the build.
It seems that zlib is missing the magic spell in libiberty, namely:
if test "${srcdir}" = "."; then
if test -z "${with_target_subdir}"; then
libiberty_topdir="${srcdir}/.."
else
if test "${with_target_subdir}" != "."; then
libiberty_topdir="${srcdir}/${with_multisrctop}../.."
else
libiberty_topdir="${srcdir}/${with_multisrctop}.."
fi
fi
else
libiberty_topdir="${srcdir}/.."
fi
AC_CONFIG_AUX_DIR($libiberty_topdir)
Currently, its configure.in reads:
AC_CONFIG_AUX_DIR(..)
which is probably inappropriate.
--
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