comparison configure.in @ 4366:ad851d04b396

[project @ 2003-03-05 09:49:18 by jwe]
author jwe
date Wed, 05 Mar 2003 09:49:18 +0000
parents 4dfce8f9ee98
children c45874c087c7
comparison
equal deleted inserted replaced
4365:4dfce8f9ee98 4366:ad851d04b396
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.420 $) 25 AC_REVISION($Revision: 1.421 $)
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.])
865 865
866 ### See if we should use placement delete. 866 ### See if we should use placement delete.
867 867
868 OCTAVE_PLACEMENT_DELETE 868 OCTAVE_PLACEMENT_DELETE
869 869
870 ### See if we can auto allocate variable sized arrays.
871
872 OCTAVE_DYNAMIC_AUTO_ARRAYS
873
870 ### Checks for header files. 874 ### Checks for header files.
871 875
872 AC_HEADER_STDC 876 AC_HEADER_STDC
873 AC_HEADER_DIRENT 877 AC_HEADER_DIRENT
874 AC_HEADER_TIME 878 AC_HEADER_TIME
1386 /* sigsetjmp is a macro, not a function. */ 1390 /* sigsetjmp is a macro, not a function. */
1387 #if defined (sigsetjmp) && defined (HAVE_SIGLONGJMP) 1391 #if defined (sigsetjmp) && defined (HAVE_SIGLONGJMP)
1388 #define OCTAVE_HAVE_SIG_JUMP 1392 #define OCTAVE_HAVE_SIG_JUMP
1389 #endif 1393 #endif
1390 1394
1391 #if defined (__GNUG__) 1395 #if defined (HAVE_DYNAMIC_AUTO_ARRAYS)
1392 #define OCTAVE_LOCAL_BUFFER(T, buf, size) \ 1396 #define OCTAVE_LOCAL_BUFFER(T, buf, size) \
1393 T buf[size] 1397 T buf[size]
1394 #else 1398 #else
1395 #define OCTAVE_LOCAL_BUFFER(T, buf, size) \ 1399 #define OCTAVE_LOCAL_BUFFER(T, buf, size) \
1396 std::auto_ptr<T> buf ## _auto_ptr (new T [size]); \ 1400 std::auto_ptr<T> buf ## _auto_ptr (new T [size]); \