This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

PATH COMMITTED: Minor bug in configury patch


This patch to configure.ac:

    http://gcc.gnu.org/ml/gcc-patches/2004-02/msg01592.html

2004-02-17  Geoffrey Keating  <geoffk@apple.com>

	* configure.ac: When generating auto-build.h, pass
	--enable-languages to the sub-configure.
	Put quotes around ${program_transform_name} when generating
	name of as, ld, nm, objdump.
	* configure: Regenerate.

fails when --enable-languages is not used at all when doing a
Canadian Cross build.  The sub-configure gets an error:
    --enable-languages needs at least one language argument

The appended patch fixes the problem.  Committed as obvious.

Ian


2004-03-05  Ian Lance Taylor  <ian@wasabisystems.com>

	* configure.ac: When passing --enable-languages to subdir
	configure when host != build, make sure we don't pass an empty
	value.
	* configure: Regenerate.


Index: configure.ac
===================================================================
RCS file: /cvs/gcc/gcc/gcc/configure.ac,v
retrieving revision 2.19
diff -u -r2.19 configure.ac
--- configure.ac	29 Feb 2004 22:50:19 -0000	2.19
+++ configure.ac	5 Mar 2004 14:07:41 -0000
@@ -1206,7 +1206,7 @@
 	saved_CFLAGS="${CFLAGS}"
 	CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD}" \
 	${realsrcdir}/configure \
-		--enable-languages=${enable_languages} \
+		--enable-languages=${enable_languages-all} \
 		--target=$target_alias --host=$build_alias --build=$build_alias
 	CFLAGS="${saved_CFLAGS}"
 


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