This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: Configure problems (RFA)


Branko[_ibej] wrote :
> I'm having problems bootstrapping GCC on sparc-sun-solaris2.6 lately,
> but current CVS (updated a few minutes ago) won't even configure:
> 
>    checking whether gcc and cc understand -c and -o together... yes
>    ../../../gcc/gcc/configure: test: argument expected

and Robert Lipe wrote :

> Philippe,  this patch breaks configure for me.
> 
> 
> Wed May 17 18:19:41 2000  Philippe De Muyter  <phdm@macqel.be>
> 
>         * configure.in (NO_MINUS_C_MINUS_O): Macro made availabe for AC_OUTPUT
>         files.
>         * configure: Rebuilt.

Ooops, sorry :(
I think Branko got it right. It must be :
OK to commit ?

Philippe De Muyter  <phdm@macqel.be>

	* configure.in (NO_MINUS_C_MINUS_O): Test `$ac_cv_prog_cc_${ac_cc}_c_o',
	not `$ac_cv_prog_cc_cc_c_o'.
	* configure: Regenerated.

Index: gcc/configure
===================================================================
RCS file: /cvs/gcc/egcs/gcc/configure,v
retrieving revision 1.365
diff -u -p -r1.365 configure
--- configure	2000/05/18 00:20:39	1.365
+++ configure	2000/05/18 14:50:13
@@ -1301,12 +1301,12 @@ else
 EOF
 
 fi

-if test $ac_cv_prog_cc_cc_c_o = no; then
+if test $ac_cv_prog_cc_${ac_cc}_c_o = no; then
   NO_MINUS_C_MINUS_O=yes
 fi
 
 
 echo $ac_n "checking for long double""... $ac_c" 1>&6
 echo "configure:1312: checking for long double" >&5
 if eval "test \"`echo '$''{'gcc_cv_c_long_double'+set}'`\" = set"; then
Index: gcc/configure.in
===================================================================
RCS file: /cvs/gcc/egcs/gcc/configure.in,v
retrieving revision 1.370
diff -u -p -r1.370 configure.in
--- configure.in	2000/05/18 00:20:39	1.370
+++ configure.in	2000/05/18 14:50:17
@@ -322,7 +322,7 @@ AC_CANONICAL_SYSTEM
 # Find the native compiler
 AC_PROG_CC
 AC_PROG_CC_C_O
-if test $ac_cv_prog_cc_cc_c_o = no; then
+if test $ac_cv_prog_cc_${ac_cc}_c_o = no; then
   NO_MINUS_C_MINUS_O=yes
 fi
 AC_SUBST(NO_MINUS_C_MINUS_O)

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