This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [v3] testsuite_flags absolute path fix
- To: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- Subject: Re: [v3] testsuite_flags absolute path fix
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Wed, 23 May 2001 16:59:16 -0700 (PDT)
- cc: Richard Henderson <rth at redhat dot com>, gcc-patches at gcc dot gnu dot org, zackw at Stanford dot EDU, Alexandre Oliva <aoliva at redhat dot com>
> This is the critical one. Did you intend the linebreak (for cosmetic or
> other reasons), or is this just an artifact (mail or otherwise)?
It's an artifact.
I suspect this will solve the immediate libstdc++-v3 problem, although
there do seem to be additional places that require work.
I'm tempted to check this in, objections? Richard, can you try this and
make sure it works for you?
2001-05-22 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Phil Edwards <pme@sources.redhat.com>
* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
in an amd-safe manner. Revert glibcpp_prefixdir.
Index: acinclude.m4
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/acinclude.m4,v
retrieving revision 1.147
diff -c -p -r1.147 acinclude.m4
*** acinclude.m4 2001/05/19 20:27:34 1.147
--- acinclude.m4 2001/05/23 23:57:40
*************** glibcpp_toolexecdir=no
*** 1580,1589 ****
glibcpp_toolexeclibdir=no
# Export build and source directories.
! # These need to be absolute paths, thus the use of pwd.
glibcpp_builddir=`pwd`
! glibcpp_srcdir=`cd ${srcdir} && pwd`
! glibcpp_prefixdir=`cd ${prefix} && pwd`
AC_MSG_CHECKING([for interface version number])
libstdcxx_interface=$INTERFACE
--- 1580,1591 ----
glibcpp_toolexeclibdir=no
# Export build and source directories.
! # These need to be absolute paths, yet at the same time need to
! # canonicalize only relative paths, because then amd will not unmount
! # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using
amd.
glibcpp_builddir=`pwd`
! glibcpp_srcdir=`case ${srcdir} in /*) echo ${srcdir} ;; *) echo \`cd
${srcdir}; ${PWDCMD:-pwd}\` ;; esac`
! glibcpp_prefixdir=${prefix}
AC_MSG_CHECKING([for interface version number])
libstdcxx_interface=$INTERFACE