zlib and configure

Nathan Sidwell nathan@codesourcery.com
Tue Oct 10 03:27:00 GMT 2000


Alexandre Oliva wrote:

> 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:
Hurrah! that works, both systems are now configuring ok

I attach the -c3p diff version of your patch. Thanks

nathan
-- 
Dr Nathan Sidwell   ::   http://www.codesourcery.com   ::   CodeSourcery LLC
         'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org
Index: configure.in
===================================================================
RCS file: /cvs/gcc/egcs/zlib/configure.in,v
retrieving revision 1.7
diff -c -3 -p -r1.7 configure.in
*** configure.in	2000/09/06 19:13:01	1.7
--- configure.in	2000/10/10 10:22:57
*************** AC_ARG_ENABLE(multilib,
*** 27,33 ****
  dnl We may get other options which we dont document:
  dnl --with-target-subdir, --with-multisrctop, --with-multisubdir
  
! if test "[$]{srcdir}" = "."; then
    if test "[$]{with_target_subdir}" != "."; then
      zlib_basedir="[$]{srcdir}/[$]{with_multisrctop}../"
    else
--- 27,34 ----
  dnl We may get other options which we dont document:
  dnl --with-target-subdir, --with-multisrctop, --with-multisubdir
  
! if test "x[$]{with_target_subdir}" != x && \
!    test "[$]{srcdir}" = "."; then
    if test "[$]{with_target_subdir}" != "."; then
      zlib_basedir="[$]{srcdir}/[$]{with_multisrctop}../"
    else


More information about the Gcc-bugs mailing list