Mercurial > octave-nkf
comparison configure.in @ 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 | 7ea76c8a59f7 |
children | 49a0c58a7dcf |
comparison
equal
deleted
inserted
replaced
9177:39be2c4531c8 | 9178:a6375c37dad4 |
---|---|
182 | 182 |
183 gxx_version=`$CXX -v 2>&1 | grep "^.*g.. version" | \ | 183 gxx_version=`$CXX -v 2>&1 | grep "^.*g.. version" | \ |
184 sed -e 's/^.*g.. version *//' -e 's/cygnus-//' -e 's/egcs-//' -e 's/ .*//'` | 184 sed -e 's/^.*g.. version *//' -e 's/cygnus-//' -e 's/egcs-//' -e 's/ .*//'` |
185 | 185 |
186 case "$gxx_version" in | 186 case "$gxx_version" in |
187 1.* | 2.[[012345678]].*) | 187 1.* | 2.[[0123456789]].* | 3.[[01234]].*) |
188 AC_MSG_ERROR([g++ version $gxx_version will probably fail to compile Octave] | 188 AC_MSG_ERROR([g++ version $gxx_version will probably fail to compile Octave] |
189 ) | 189 ) |
190 ;; | |
191 2.9*) | |
192 warn_gxx_version="g++ version $gxx_version is likely to cause problems" | |
193 AC_MSG_WARN($warn_gxx_version) | |
194 ;; | 190 ;; |
195 esac | 191 esac |
196 | 192 |
197 CXX_VERSION= | 193 CXX_VERSION= |
198 if test -n "$gxx_version"; then | 194 if test -n "$gxx_version"; then |