comparison configure.in @ 4249:8a1ef8fe4036

[project @ 2002-12-31 04:42:32 by jwe]
author jwe
date Tue, 31 Dec 2002 04:42:33 +0000
parents 40153a2affd6
children f35aa1f0201f
comparison
equal deleted inserted replaced
4248:eef64f3f9a4c 4249:8a1ef8fe4036
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.399 $) 25 AC_REVISION($Revision: 1.400 $)
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.])
1346 1346
1347 /* sigsetjmp is a macro, not a function. */ 1347 /* sigsetjmp is a macro, not a function. */
1348 #if defined (sigsetjmp) && defined (HAVE_SIGLONGJMP) 1348 #if defined (sigsetjmp) && defined (HAVE_SIGLONGJMP)
1349 #define OCTAVE_HAVE_SIG_JUMP 1349 #define OCTAVE_HAVE_SIG_JUMP
1350 #endif 1350 #endif
1351
1352 #if defined (__GNUG__)
1353 #define OCTAVE_LOCAL_BUFFER(T, buf, size) \
1354 T buf[size]
1355 #else
1356 #define OCTAVE_LOCAL_BUFFER(T, buf, size) \
1357 std::auto_ptr<T> buf_auto_ptr (new T [size]); \
1358 T *buf = buf_auto_ptr.get ()
1359 #endif
1351 ]) 1360 ])
1352 1361
1353 ### Do the substitutions in all the Makefiles. 1362 ### Do the substitutions in all the Makefiles.
1354 1363
1355 AC_CONFIG_FILES([Makefile octMakefile Makeconf install-octave \ 1364 AC_CONFIG_FILES([Makefile octMakefile Makeconf install-octave \