comparison configure.in @ 2108:2b67abb63030

[project @ 1996-04-30 10:44:17 by jwe]
author jwe
date Tue, 30 Apr 1996 10:44:44 +0000
parents c83cda959354
children 12e92d302bbf
comparison
equal deleted inserted replaced
2107:2eec34fc1aca 2108:2b67abb63030
18 ### 18 ###
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 02111-1307, USA. 21 ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22 22
23 AC_REVISION($Revision: 1.194 $) 23 AC_REVISION($Revision: 1.195 $)
24 AC_PREREQ(2.9) 24 AC_PREREQ(2.9)
25 AC_INIT(src/octave.cc) 25 AC_INIT(src/octave.cc)
26 AC_CONFIG_HEADER(config.h) 26 AC_CONFIG_HEADER(config.h)
27 27
28 AC_DEFINE(OCTAVE_SOURCE, 1) 28 AC_DEFINE(OCTAVE_SOURCE, 1)
181 AC_DEFINE(USE_READLINE, 1) 181 AC_DEFINE(USE_READLINE, 1)
182 fi 182 fi
183 AC_SUBST(LIBREADLINE) 183 AC_SUBST(LIBREADLINE)
184 AC_SUBST(READLINE_DIR) 184 AC_SUBST(READLINE_DIR)
185 185
186 ### By default, Octave's internal array and matrix classes do bounds
187 ### checking on element references. This slows some operations down a
188 ### bit, so give the user the option of disabling it.
189
190 BOUNDS_CHECKING=true
191 AC_ARG_ENABLE(bounds-check,
192 [ --enable-bounds-check for internal array classes (default is yes)],
193 [if test "$enableval" = no; then BOUNDS_CHECKING=false; fi], [])
194 if $BOUNDS_CHECKING; then
195 AC_DEFINE(BOUNDS_CHECKING, 1)
196 fi
197
186 ### See which C++ compiler to use (we expect to find g++). 198 ### See which C++ compiler to use (we expect to find g++).
187 199
188 EXTERN_CXXFLAGS="$CXXFLAGS" 200 EXTERN_CXXFLAGS="$CXXFLAGS"
189 201
190 AC_PROG_CXX 202 AC_PROG_CXX
325 337
326 ### Allow the user to experiment with dynamic linking using 338 ### Allow the user to experiment with dynamic linking using
327 ### shl_load/shl_findsym (HP/UX only?). 339 ### shl_load/shl_findsym (HP/UX only?).
328 340
329 AC_ARG_ENABLE(shl, 341 AC_ARG_ENABLE(shl,
330 [ --enable-shl use shl_load/shl_findsym for dynamic linking (HP only?)], 342 [ --enable-shl use shl_load/shl_findsym for dynamic linking (HP only)],
331 [if test $enableval = no; then WITH_SHL=no; 343 [if test $enableval = no; then WITH_SHL=no;
332 elif test $enableval = yes; then WITH_SHL=yes; 344 elif test $enableval = yes; then WITH_SHL=yes;
333 else WITH_SHL=maybe; fi], 345 else WITH_SHL=maybe; fi],
334 WITH_SHL=maybe) 346 WITH_SHL=maybe)
335 347
1056 Use GNU readline: $USE_READLINE 1068 Use GNU readline: $USE_READLINE
1057 Use GNU info reader: $USE_GNU_INFO 1069 Use GNU info reader: $USE_GNU_INFO
1058 Default pager: $DEFAULT_PAGER 1070 Default pager: $DEFAULT_PAGER
1059 gnuplot: $GNUPLOT_BINARY 1071 gnuplot: $GNUPLOT_BINARY
1060 1072
1073 Do internal array bounds checking: $BOUNDS_CHECKING
1061 Build shared libraries: $SHARED_LIBS 1074 Build shared libraries: $SHARED_LIBS
1062 Minimal kernel option: $OCTAVE_LITE 1075 Minimal kernel option: $OCTAVE_LITE
1063 Dynamic Linking (dlopen/dlsym): $WITH_DL 1076 Dynamic Linking (dlopen/dlsym): $WITH_DL
1064 Dynamic Linking (shl_load/shl_findsym): $WITH_SHL 1077 Dynamic Linking (shl_load/shl_findsym): $WITH_SHL
1065 ]) 1078 ])