comparison configure.in @ 4382:f8373733d8f9

[project @ 2003-04-22 18:02:48 by jwe]
author jwe
date Tue, 22 Apr 2003 18:02:48 +0000
parents 7d48a8fba1d4
children a3020cb1fe0f
comparison
equal deleted inserted replaced
4381:c77614c1c611 4382:f8373733d8f9
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.424 $) 25 AC_REVISION($Revision: 1.425 $)
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.])
1387 /* sigsetjmp is a macro, not a function. */ 1387 /* sigsetjmp is a macro, not a function. */
1388 #if defined (sigsetjmp) && defined (HAVE_SIGLONGJMP) 1388 #if defined (sigsetjmp) && defined (HAVE_SIGLONGJMP)
1389 #define OCTAVE_HAVE_SIG_JUMP 1389 #define OCTAVE_HAVE_SIG_JUMP
1390 #endif 1390 #endif
1391 1391
1392 /* Always use new, since we sometimes allocate large chunks of memory
1393 and that can cause trouble due to stack size limits.
1392 #if defined (HAVE_DYNAMIC_AUTO_ARRAYS) 1394 #if defined (HAVE_DYNAMIC_AUTO_ARRAYS)
1393 #define OCTAVE_LOCAL_BUFFER(T, buf, size) \ 1395 #define OCTAVE_LOCAL_BUFFER(T, buf, size) \
1394 T buf[size] 1396 T buf[size]
1395 #else 1397 #else */
1396 #define OCTAVE_LOCAL_BUFFER(T, buf, size) \ 1398 #define OCTAVE_LOCAL_BUFFER(T, buf, size) \
1397 std::auto_ptr<T> buf ## _auto_ptr (new T [size]); \ 1399 std::auto_ptr<T> buf ## _auto_ptr (new T [size]); \
1398 T *buf = buf ## _auto_ptr.get () 1400 T *buf = buf ## _auto_ptr.get ()
1399 #endif 1401 /* #endif */
1400 1402
1401 #if defined (__DECCXX) 1403 #if defined (__DECCXX)
1402 #define __USE_STD_IOSTREAM 1404 #define __USE_STD_IOSTREAM
1403 #endif 1405 #endif
1404 ]) 1406 ])