Mercurial > octave-nkf
comparison configure.in @ 4314:b8f7e8193bf6
[project @ 2003-02-03 17:22:33 by jwe]
author | jwe |
---|---|
date | Mon, 03 Feb 2003 17:22:33 +0000 |
parents | 055d2f68d445 |
children | 0990c9b77109 |
comparison
equal
deleted
inserted
replaced
4313:efd8cd91857e | 4314:b8f7e8193bf6 |
---|---|
20 ### along with Octave; see the file COPYING. If not, write to the Free | 20 ### along with Octave; see the file COPYING. If not, write to the Free |
21 ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA | 21 ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA |
22 ### 02111-1307, USA. | 22 ### 02111-1307, USA. |
23 | 23 |
24 AC_INIT | 24 AC_INIT |
25 AC_REVISION($Revision: 1.408 $) | 25 AC_REVISION($Revision: 1.409 $) |
26 AC_PREREQ(2.52) | 26 AC_PREREQ(2.52) |
27 AC_CONFIG_SRCDIR([src/octave.cc]) | 27 AC_CONFIG_SRCDIR([src/octave.cc]) |
28 AC_CONFIG_HEADER(config.h) | 28 AC_CONFIG_HEADER(config.h) |
29 | 29 |
30 AC_DEFINE(OCTAVE_SOURCE, 1, [Define if this is Octave.]) | 30 AC_DEFINE(OCTAVE_SOURCE, 1, [Define if this is Octave.]) |
172 | 172 |
173 gxx_version=`$CXX -v 2>&1 | grep "^.*g.. version" | \ | 173 gxx_version=`$CXX -v 2>&1 | grep "^.*g.. version" | \ |
174 sed -e 's/^.*g.. version *//' -e 's/cygnus-//' -e 's/egcs-//'` | 174 sed -e 's/^.*g.. version *//' -e 's/cygnus-//' -e 's/egcs-//'` |
175 | 175 |
176 case "$gxx_version" in | 176 case "$gxx_version" in |
177 1.* | 2.[[0123456789]].*) | 177 1.* | 2.[[0123456789]].* | 3.0.*) |
178 AC_MSG_ERROR([g++ version $gxx_version will probably fail to compile Octave]) | 178 AC_MSG_ERROR([g++ version $gxx_version will probably fail to compile Octave]) |
179 ;; | 179 ;; |
180 esac | 180 esac |
181 | 181 |
182 CXX_VERSION= | 182 CXX_VERSION= |