This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch: Fix for bootstrap/3075


Tom Tromey writes:

> This ought to work in any scenario.

> -   ac_configure_args="$ac_configure_args --with-auxdir=../$ac_aux_dir"
> +   sub_auxdir="`cd $ac_aux_dir && pwd`"
> +   ac_configure_args="$ac_configure_args --with-auxdir=$sub_auxdir"

... with the usual caveats about the use of `cd $dir && pwd` in the
presence of automounters; see the thread starting at

	http://gcc.gnu.org/ml/gcc-patches/2001-05/msg01254.html

I'd like to attack this for 3.1 as follows: provide some autoconf macro
like gcc_AC_ABSOLUTE_DIR(DIR) which encapsulates what went into libstdc++'s
configure.in

	http://gcc.gnu.org/ml/gcc-patches/2001-05/msg01827.html

and use it in all places where the `cd $dir && pwd` construct is currently
used.

	Rainer

-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University

Email: ro@TechFak.Uni-Bielefeld.DE


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]