This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: Fix for bootstrap/3075
- To: tromey at redhat dot com
- Subject: Re: Patch: Fix for bootstrap/3075
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 08 Jun 2001 03:22:05 -0300
- Cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>, Java Patch List <java-patches at gcc dot gnu dot org>, Mark Mitchell <mark at codesourcery dot com>
- Organization: GCC Team, Red Hat
- References: <871yovbqjd.fsf@creche.redhat.com>
On Jun 8, 2001, Tom Tromey <tromey@redhat.com> wrote:
> Ok for the branch?
Have you looked at the way this was fixed in zlib? I'd rather use the
same solution everywhere, rather than keep re-inventing ways to do
it. Not that this solution isn't fragile to changes in automake or
autoconf, but if we use the same constructs, it will be easier to
change them all in case it breaks.
if test "x[$]{with_target_subdir}" != x && \
test "[$]{srcdir}" = "."; then
if test "[$]{with_target_subdir}" != "."; then
zlib_basedir="[$]{srcdir}/[$]{with_multisrctop}../"
else
zlib_basedir="[$]{srcdir}/[$]{with_multisrctop}"
fi
else
zlib_basedir="[$]{srcdir}/"
fi
AC_SUBST(zlib_basedir)
AC_CONFIG_AUX_DIR($zlib_basedir..)
if :; then :; else
# This overrides the previous occurrence for automake, but not for
# autoconf, which is exactly what we want.
AC_CONFIG_AUX_DIR(..)
fi
--
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