comparison configure.in @ 4180:84fe3ca3a246

[project @ 2002-11-15 04:47:01 by jwe]
author jwe
date Fri, 15 Nov 2002 04:47:02 +0000
parents 811ec5317aeb
children 4d1d7c51205c
comparison
equal deleted inserted replaced
4179:8734ba917fea 4180:84fe3ca3a246
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.388 $) 25 AC_REVISION($Revision: 1.389 $)
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.])
896 AC_CHECK_FUNCS(atexit bcopy bzero dup2 endgrent endpwent execvp \ 896 AC_CHECK_FUNCS(atexit bcopy bzero dup2 endgrent endpwent execvp \
897 fcntl fork getcwd getegid geteuid getgid getgrent getgrgid \ 897 fcntl fork getcwd getegid geteuid getgid getgrent getgrgid \
898 getgrnam getpgrp getpid getppid getpwent \ 898 getgrnam getpgrp getpid getppid getpwent \
899 getpwuid gettimeofday getuid getwd _kbhit kill link localtime_r lstat \ 899 getpwuid gettimeofday getuid getwd _kbhit kill link localtime_r lstat \
900 memmove mkdir mkfifo on_exit pipe poll putenv raise readlink rename \ 900 memmove mkdir mkfifo on_exit pipe poll putenv raise readlink rename \
901 rindex rmdir select setgrent setpwent setvbuf sigaction sigpending \ 901 rindex rmdir select setgrent setpwent setvbuf sigaction siglongjmp \
902 sigprocmask sigsuspend stat strcasecmp strdup strerror strftime \ 902 sigpending sigprocmask sigsuspend stat strcasecmp strdup \
903 stricmp strncasecmp strnicmp strptime symlink tempnam umask unlink \ 903 strerror strftime stricmp strncasecmp strnicmp strptime symlink \
904 usleep vfprintf vsprintf vsnprintf waitpid) 904 tempnam umask unlink usleep vfprintf vsprintf vsnprintf waitpid)
905 905
906 OCTAVE_SMART_PUTENV 906 OCTAVE_SMART_PUTENV
907 907
908 ### Dynamic linking is now enabled only if we are building shared 908 ### Dynamic linking is now enabled only if we are building shared
909 ### libs and some API for dynamic linking is detected. 909 ### libs and some API for dynamic linking is detected.
1132 AC_TYPE_OFF_T 1132 AC_TYPE_OFF_T
1133 AC_TYPE_PID_T 1133 AC_TYPE_PID_T
1134 AC_TYPE_SIZE_T 1134 AC_TYPE_SIZE_T
1135 AC_TYPE_UID_T 1135 AC_TYPE_UID_T
1136 AC_CHECK_TYPES([dev_t, ino_t, nlink_t, nlink_t]) 1136 AC_CHECK_TYPES([dev_t, ino_t, nlink_t, nlink_t])
1137 AC_CHECK_TYPES(sigset_t, , , [#include <signal.h>]) 1137 AC_CHECK_TYPES([sigset_t, sig_atomic_t], , , [#include <signal.h>])
1138 1138
1139 ### A system dependent kluge or two. 1139 ### A system dependent kluge or two.
1140 1140
1141 AC_CHECK_FUNCS(getrusage times) 1141 AC_CHECK_FUNCS(getrusage times)
1142 case "$canonical_host_type" in 1142 case "$canonical_host_type" in
1312 1312
1313 #if !defined(HAVE_SIGSET_T) 1313 #if !defined(HAVE_SIGSET_T)
1314 typedef int sigset_t; 1314 typedef int sigset_t;
1315 #endif 1315 #endif
1316 1316
1317 #if !defined(HAVE_SIG_ATOMIC_T)
1318 typedef int sig_atomic_t;
1319 #endif
1320
1317 #define OCTAVE_HAVE_POSIX_FILESYSTEM 1 1321 #define OCTAVE_HAVE_POSIX_FILESYSTEM 1
1318 1322
1319 #if defined (__WIN32__) 1323 #if defined (__WIN32__)
1320 #define OCTAVE_HAVE_WINDOWS_FILESYSTEM 1 1324 #define OCTAVE_HAVE_WINDOWS_FILESYSTEM 1
1321 #if ! defined (__CYGWIN__) 1325 #if ! defined (__CYGWIN__)
1327 #if defined (__WIN32__) && ! defined (__CYGWIN__) 1331 #if defined (__WIN32__) && ! defined (__CYGWIN__)
1328 #define OCTAVE_USE_WINDOWS_API 1 1332 #define OCTAVE_USE_WINDOWS_API 1
1329 #endif 1333 #endif
1330 1334
1331 #define USE_EXCEPTIONS_FOR_INTERRUPTS 1 1335 #define USE_EXCEPTIONS_FOR_INTERRUPTS 1
1336
1337 /* sigsetjmp is a macro, not a function. */
1338 #if defined (sigsetjmp) && defined (HAVE_SIGLONGJMP)
1339 #define OCTAVE_HAVE_SIG_JUMP
1340 #endif
1332 ]) 1341 ])
1333 1342
1334 ### Do the substitutions in all the Makefiles. 1343 ### Do the substitutions in all the Makefiles.
1335 1344
1336 AC_CONFIG_FILES([Makefile octMakefile Makeconf install-octave \ 1345 AC_CONFIG_FILES([Makefile octMakefile Makeconf install-octave \