This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: top-level configure
- From: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- To: Ben Elliston <bje at au1 dot ibm dot com>, gcc at gcc dot gnu dot org, aoliva at redhat dot com, bonzini at gnu dot org, gcc-patches at gnu dot org
- Date: Sun, 5 Aug 2007 13:02:08 +0200
- Subject: Re: top-level configure
- References: <1185050034.8555.7.camel@localhost> <20070723173713.GA8696@ins.uni-bonn.de>
Hello,
a gentle reminder for:
<http://gcc.gnu.org/ml/gcc-patches/2007-07/msg01679.html>
:ADDPATCH configure:
> * Ben Elliston wrote on Sat, Jul 21, 2007 at 10:33:54PM CEST:
>
> > It used to be the case that the Cygnus top-level configure script would
> > pass any configure options to all subdirectory `configure' invocations.
> > Now it doesn't seem to work as I expect when I pass --quiet to the
> > top-level configure script.
[...]
> ChangeLog:
> 2007-07-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
>
> * configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS, baseargs):
> Pass --silent if $silent.
>
> Index: configure.ac
> ===================================================================
> --- configure.ac (revision 126835)
> +++ configure.ac (working copy)
> @@ -101,6 +102,9 @@
> # Add the quoted argument to the list.
> TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
> done
> +if test "$silent" = yes; then
> + TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
> +fi
> # Remove the initial space we just introduced and, as these will be
> # expanded by make, quote '$'.
> TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
> @@ -2178,6 +2183,9 @@
> gcc_transform_name=`cat conftestsed.out`
> rm -f conftestsed.out
> baseargs="$baseargs --program-transform-name='${gcc_transform_name}'"
> +if test "$silent" = yes; then
> + baseargs="$baseargs --silent"
> +fi
>
> # For the build-side libraries, we just need to pretend we're native,
> # and not use the same cache file. Multilibs are neither needed nor