changeset 9178:a6375c37dad4

update config stuff to gripe with g++-3.x
author Jaroslav Hajek <highegg@gmail.com>
date Tue, 05 May 2009 15:37:13 +0200
parents 39be2c4531c8
children 5be2e6696772
files ChangeLog Makefile configure.in
diffstat 3 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue May 05 15:18:55 2009 +0200
+++ b/ChangeLog	Tue May 05 15:37:13 2009 +0200
@@ -1,3 +1,8 @@
+2009-05-05  Jaroslav Hajek  <highegg@gmail.com>
+
+	* configure.in: Include the whole 3.x g++ series as problematic.
+	* Makefile: Don't mention that g++-3.x might work.
+
 2009-05-04  John W. Eaton  <jwe@octave.org>
 
 	* configure.in: Put -lftgl ahead of $FT2_LIBS, and $FT2_LIBS ahead
--- a/Makefile	Tue May 05 15:18:55 2009 +0200
+++ b/Makefile	Tue May 05 15:37:13 2009 +0200
@@ -51,8 +51,7 @@
 	@echo "*"
 	@echo "*    GNU Make (a recent version)"
 	@echo "*"
-	@echo "*    g++ (preferably a recent 4.x version, though later"
-	@echo "*    3.x versions may also work)"
+	@echo "*    g++ (preferably a recent 4.x version)"
 	@echo "*"
 	@echo "*    flex (2.5.4 or a more recent version) -- required if"
 	@echo "*    you need to recreate lex.cc from lex.l"
--- a/configure.in	Tue May 05 15:18:55 2009 +0200
+++ b/configure.in	Tue May 05 15:37:13 2009 +0200
@@ -184,14 +184,10 @@
   sed -e 's/^.*g.. version *//' -e 's/cygnus-//' -e 's/egcs-//' -e 's/ .*//'`
 
 case "$gxx_version" in
-  1.* | 2.[[012345678]].*)
+  1.* | 2.[[0123456789]].* | 3.[[01234]].*)
     AC_MSG_ERROR([g++ version $gxx_version will probably fail to compile Octave]
 )
   ;;
-  2.9*)
-    warn_gxx_version="g++ version $gxx_version is likely to cause problems"
-    AC_MSG_WARN($warn_gxx_version)
-  ;;
 esac
 
 CXX_VERSION=