Mercurial > octave
comparison configure.in @ 1207:bc643da88524
[project @ 1995-04-04 02:46:06 by jwe]
author | jwe |
---|---|
date | Tue, 04 Apr 1995 02:46:06 +0000 |
parents | d94bcafabac2 |
children | 3431a4febc98 |
comparison
equal
deleted
inserted
replaced
1206:83b59118ab1a | 1207:bc643da88524 |
---|---|
19 ### | 19 ### |
20 ### You should have received a copy of the GNU General Public License | 20 ### You should have received a copy of the GNU General Public License |
21 ### along with Octave; see the file COPYING. If not, write to the Free | 21 ### along with Octave; see the file COPYING. If not, write to the Free |
22 ### Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | 22 ### Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
23 | 23 |
24 AC_REVISION($Revision: 1.106 $) | 24 AC_REVISION($Revision: 1.107 $) |
25 AC_PREREQ(2.0) | 25 AC_PREREQ(2.0) |
26 AC_INIT(src/octave.cc) | 26 AC_INIT(src/octave.cc) |
27 AC_CONFIG_HEADER(config.h) | 27 AC_CONFIG_HEADER(config.h) |
28 | 28 |
29 AC_DEFINE(OCTAVE_SOURCE, 1) | 29 AC_DEFINE(OCTAVE_SOURCE, 1) |
239 | 239 |
240 ### Do special things for g++. | 240 ### Do special things for g++. |
241 | 241 |
242 ADD_CXX_WALL=false | 242 ADD_CXX_WALL=false |
243 NO_IMPLICIT_TEMPLATES= | 243 NO_IMPLICIT_TEMPLATES= |
244 gxx_version=`$CXX -v 2>&1 | grep "^g.. version" | sed 's/^g.. version *//'` | 244 gxx_version=`$CXX -v 2>&1 | grep "^.*g.. version" | sed 's/^.*g.. version *//'` |
245 case "$gxx_version" in | 245 case "$gxx_version" in |
246 changequote(,)dnl | 246 changequote(,)dnl |
247 2.[6789].*|2.[123456789][0123456789].*) | 247 2.[6789].*|2.[123456789][0123456789].*) |
248 changequote([,])dnl | 248 changequote([,])dnl |
249 if test -z "$CXXFLAGS"; then | 249 if test -z "$CXXFLAGS"; then |
298 AC_PROG_GCC_TRADITIONAL | 298 AC_PROG_GCC_TRADITIONAL |
299 | 299 |
300 ### Do special things for gcc. | 300 ### Do special things for gcc. |
301 | 301 |
302 ADD_CC_WALL=false | 302 ADD_CC_WALL=false |
303 gcc_version=`$CC -v 2>&1 | grep "^gcc version" | sed 's/^gcc version *//'` | 303 gcc_version=`$CC -v 2>&1 | grep "^.*gcc version" | sed 's/^.*gcc version *//'` |
304 case "$gcc_version" in | 304 case "$gcc_version" in |
305 2.*) | 305 2.*) |
306 if test -z "$CFLAGS"; then | 306 if test -z "$CFLAGS"; then |
307 CFLAGS="-g -O" | 307 CFLAGS="-g -O" |
308 AC_MSG_RESULT([defining CFLAGS to be $CFLAGS]) | 308 AC_MSG_RESULT([defining CFLAGS to be $CFLAGS]) |