This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Your recent change to gcc/configure.in
- To: gcc-patches at gcc dot gnu dot org
- Subject: Re: Your recent change to gcc/configure.in
- From: Richard Earnshaw <rearnsha at arm dot com>
- Date: Mon, 13 Nov 2000 16:58:25 +0000
- Cc: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>, gcc-bugs at gcc dot gnu dot org
- Cc: rearnsha at arm dot com
- Organization: ARM Ltd.
- Reply-To: rearnsha at arm dot com
>
> This change
>
> 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
>
> * configure.in: Take toplevel configure arguments from the
> environment to create configargs.h and substitute
> gcc_config_arguments, taking account of any existing configargs.h
> if reconfiguring.
> * configure: Regenerate.
>
> Breaks builds on Solaris machines. 'test' on these machines does not
> support the -e flag.
>
> Also, in autoconf files you should use 'test', not '['; since I believe
> that the latter is not as widely available on some obscure machines.
>
> R.
>
Ok, I've installed the following patch to fix this problem:
2000-11-13 Richard Earnshaw <rearnsha@arm.com>
* configure.in: Use 'test -f' not '[ -e'.
* configure: Regenerated.
Index: configure.in
===================================================================
RCS file: /cvs/gcc/egcs/gcc/configure.in,v
retrieving revision 1.450
diff -p -r1.450 configure.in
*** configure.in 2000/11/13 13:39:35 1.450
--- configure.in 2000/11/13 16:54:40
*************** gcc_version_full=`grep version_string ${
*** 4204,4210 ****
gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
# Compile in configure arguments.
! if [ -e configargs.h ]; then
# Being re-configured.
gcc_config_arguments=`grep configuration_arguments configargs.h | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
gcc_config_arguments="$gcc_config_arguments : (reconfigured) $TOPLEVEL_CONFIGURE_ARGUMENTS"
--- 4204,4210 ----
gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
# Compile in configure arguments.
! if test -f configargs.h ; then
# Being re-configured.
gcc_config_arguments=`grep configuration_arguments configargs.h | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
gcc_config_arguments="$gcc_config_arguments : (reconfigured) $TOPLEVEL_CONFIGURE_ARGUMENTS"