comparison configure.in @ 3060:9c6cd52f3f5a

[project @ 1997-06-25 18:30:40 by jwe]
author jwe
date Wed, 25 Jun 1997 18:32:50 +0000
parents f2a34a28d9c5
children 2280158c4449
comparison
equal deleted inserted replaced
3059:f2a34a28d9c5 3060:9c6cd52f3f5a
19 ### You should have received a copy of the GNU General Public License 19 ### You should have received a copy of the GNU General Public License
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_REVISION($Revision: 1.279 $) 24 AC_REVISION($Revision: 1.280 $)
25 AC_PREREQ(2.9) 25 AC_PREREQ(2.9)
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)
177 ### checking on element references. This slows some operations down a 177 ### checking on element references. This slows some operations down a
178 ### bit, so it is turned off by default. 178 ### bit, so it is turned off by default.
179 179
180 BOUNDS_CHECKING=false 180 BOUNDS_CHECKING=false
181 AC_ARG_ENABLE(bounds-check, 181 AC_ARG_ENABLE(bounds-check,
182 [ --enable-bounds-check for internal array classes (default is yes)], 182 [ --enable-bounds-check for internal array classes (default is no)],
183 [if test "$enableval" = no; then BOUNDS_CHECKING=false; fi], []) 183 [if test "$enableval" = yes; then BOUNDS_CHECKING=true; fi], [])
184 if $BOUNDS_CHECKING; then 184 if $BOUNDS_CHECKING; then
185 AC_DEFINE(BOUNDS_CHECKING, 1) 185 AC_DEFINE(BOUNDS_CHECKING, 1)
186 fi 186 fi
187 187
188 ### See which C++ compiler to use (we expect to find g++). 188 ### See which C++ compiler to use (we expect to find g++).