Enable large-file support using AC_SYS_LARGEFILE.
HEADS UP: autoconf 2.5 is now needed to process configure.in. I
figured this was preferable to copying the AC_SYS_LARGEFILE macro from
the autoconf sources and trying to make it work with autoconf 2.13.
dnl ** check for full ANSI header (.h) files
AC_HEADER_STDC
dnl ** check for full ANSI header (.h) files
AC_HEADER_STDC
+dnl ** Enable large file support. NB. do this before testing the type of
+dnl off_t, because it will affect the result of that test.
+AC_SYS_LARGEFILE
+
dnl ** check for specific header (.h) files that we are interested in
AC_CHECK_HEADERS(Files.h arpa/inet.h assert.h console.h ctype.h dirent.h errno.h fcntl.h float.h ftw.h grp.h ieee754.h inttypes.h limits.h malloc.h memory.h nlist.h pascal.h pwd.h sgtty.h siginfo.h signal.h stat.h stdint.h stdlib.h stddef.h stdarg.h string.h sys/fault.h sys/file.h sys/ioctl.h sys/limits.h sys/mman.h sys/param.h sys/procfs.h sys/resource.h sys/signal.h sys/socket.h netdb.h netinet/in.h netinet/tcp.h sys/stat.h sys/syscall.h sys/time.h sys/timeb.h sys/timers.h sys/times.h sys/types.h sys/un.h sys/utsname.h sys/vadvise.h sys/wait.h termio.h termios.h time.h types.h unistd.h utime.h values.h vfork.h bfd.h winsock.h pthread.h sys/uio.h)
AC_CHECK_HEADER(unistd.h,[AC_CHECK_FUNCS(lchown)])
dnl ** check for specific header (.h) files that we are interested in
AC_CHECK_HEADERS(Files.h arpa/inet.h assert.h console.h ctype.h dirent.h errno.h fcntl.h float.h ftw.h grp.h ieee754.h inttypes.h limits.h malloc.h memory.h nlist.h pascal.h pwd.h sgtty.h siginfo.h signal.h stat.h stdint.h stdlib.h stddef.h stdarg.h string.h sys/fault.h sys/file.h sys/ioctl.h sys/limits.h sys/mman.h sys/param.h sys/procfs.h sys/resource.h sys/signal.h sys/socket.h netdb.h netinet/in.h netinet/tcp.h sys/stat.h sys/syscall.h sys/time.h sys/timeb.h sys/timers.h sys/times.h sys/types.h sys/un.h sys/utsname.h sys/vadvise.h sys/wait.h termio.h termios.h time.h types.h unistd.h utime.h values.h vfork.h bfd.h winsock.h pthread.h sys/uio.h)
AC_CHECK_HEADER(unistd.h,[AC_CHECK_FUNCS(lchown)])
-/* mk/config.h.in. Generated automatically from configure.in by autoheader. */
+/* mk/config.h.in. Generated from configure.in by autoheader. */
/* acconfig.h
Descriptive text for the C preprocessor macros that
/* acconfig.h
Descriptive text for the C preprocessor macros that
/* Define to alignment constraint on chars */
#undef ALIGNMENT_CHAR
/* Define to alignment constraint on chars */
#undef ALIGNMENT_CHAR
*/
#undef CRAY_STACKSEG_END
*/
#undef CRAY_STACKSEG_END
-/* Define if using `alloca.c'. */
+/* Define to 1 if using `alloca.c'. */
-/* Define if you have the `access' function. */
+/* Define to 1 if you have the `access' function. */
-/* Define if you have `alloca', as a function or macro. */
+/* Define to 1 if you have `alloca', as a function or macro. */
-/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
+/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
+ */
-/* Define if you have the <arpa/inet.h> header file. */
+/* Define to 1 if you have the <arpa/inet.h> header file. */
-/* Define if you have the <assert.h> header file. */
+/* Define to 1 if you have the <assert.h> header file. */
-/* Define if you have the <bfd.h> header file. */
+/* Define to 1 if you have the <bfd.h> header file. */
-/* Define if you have the <conio.h> header file. */
+/* Define to 1 if you have the <conio.h> header file. */
-/* Define if you have the <console.h> header file. */
+/* Define to 1 if you have the <console.h> header file. */
-/* Define if you have the <ctype.h> header file. */
+/* Define to 1 if you have the <ctype.h> header file. */
-/* Define if you have the <dirent.h> header file. */
+/* Define to 1 if you have the <dirent.h> header file. */
-/* Define if you have the <dlfcn.h> header file. */
+/* Define to 1 if you have the <dlfcn.h> header file. */
-/* Define if you have the `dlopen' function. */
+/* Define to 1 if you have the `dlopen' function. */
-/* Define if you have the <dl.h> header file. */
+/* Define to 1 if you have the <dl.h> header file. */
-/* Define if you have the <dos.h> header file. */
+/* Define to 1 if you have the <dos.h> header file. */
-/* Define if you have the <errno.h> header file. */
+/* Define to 1 if you have the <errno.h> header file. */
-/* Define if you have the `farcalloc' function. */
+/* Define to 1 if you have the `farcalloc' function. */
-/* Define if you have the <fcntl.h> header file. */
+/* Define to 1 if you have the <fcntl.h> header file. */
-/* Define if you have the `fgetpos' function. */
+/* Define to 1 if you have the `fgetpos' function. */
-/* Define if you have the <Files.h> header file. */
+/* Define to 1 if you have the <Files.h> header file. */
-/* Define if you have the <float.h> header file. */
+/* Define to 1 if you have the <float.h> header file. */
-/* Define if you have the `fseek' function. */
+/* Define to 1 if you have the `fseek' function. */
-/* Define if you have the `fsetpos' function. */
+/* Define to 1 if you have the `fsetpos' function. */
-/* Define if you have the `ftell' function. */
+/* Define to 1 if you have the `ftell' function. */
-/* Define if you have the `ftime' function. */
+/* Define to 1 if you have the `ftime' function. */
-/* Define if you have the <ftw.h> header file. */
+/* Define to 1 if you have the <ftw.h> header file. */
-/* Define if you have the `getclock' function. */
+/* Define to 1 if you have the `getclock' function. */
-/* Define if you have the `getgrgid_r' function. */
+/* Define to 1 if you have the `getgrgid_r' function. */
-/* Define if you have the `getgrnam_r' function. */
+/* Define to 1 if you have the `getgrnam_r' function. */
-/* Define if you have the `getpagesize' function. */
+/* Define to 1 if you have the `getpagesize' function. */
-/* Define if you have the `getpwnam_r' function. */
+/* Define to 1 if you have the `getpwnam_r' function. */
-/* Define if you have the `getpwuid_r' function. */
+/* Define to 1 if you have the `getpwuid_r' function. */
-/* Define if you have the `getrusage' function. */
+/* Define to 1 if you have the `getrusage' function. */
-/* Define if you have the `gettimeofday' function. */
+/* Define to 1 if you have the `gettimeofday' function. */
-/* Define if you have the <GL/gl.h> header file. */
+/* Define to 1 if you have the <GL/gl.h> header file. */
-/* Define if you have the `gmtime_r' function. */
+/* Define to 1 if you have the `gmtime_r' function. */
-/* Define if you have the <grp.h> header file. */
+/* Define to 1 if you have the <grp.h> header file. */
-/* Define if you have the <ieee754.h> header file. */
+/* Define to 1 if you have the <ieee754.h> header file. */
-/* Define if you have the <inttypes.h> header file. */
+/* Define to 1 if you have the <inttypes.h> header file. */
-/* Define if you have the <io.h> header file. */
+/* Define to 1 if you have the <io.h> header file. */
-/* Define if you have the `lchown' function. */
+/* Define to 1 if you have the `lchown' function. */
-/* Define if you have the `bfd' library (-lbfd). */
+/* Define to 1 if you have the `bfd' library (-lbfd). */
-/* Define if you have the `iberty' library (-liberty). */
+/* Define to 1 if you have the `iberty' library (-liberty). */
-/* Define if you have the <limits.h> header file. */
+/* Define to 1 if you have the <limits.h> header file. */
-/* Define if you have the `localtime_r' function. */
+/* Define to 1 if you have the `localtime_r' function. */
-/* Define if you have the `lstat' function. */
+/* Define to 1 if you have the `lstat' function. */
-/* Define if you have the `macsystem' function. */
+/* Define to 1 if you have the `macsystem' function. */
-/* Define if you have the <malloc.h> header file. */
+/* Define to 1 if you have the <malloc.h> header file. */
-/* Define if you have the <memory.h> header file. */
+/* Define to 1 if you have the <memory.h> header file. */
-/* Define if you have the `mktime' function. */
+/* Define to 1 if you have the `mktime' function. */
-/* Define if you have the `mprotect' function. */
+/* Define to 1 if you have the `mprotect' function. */
-/* Define if you have the <netdb.h> header file. */
+/* Define to 1 if you have the <netdb.h> header file. */
-/* Define if you have the <netinet/in.h> header file. */
+/* Define to 1 if you have the <netinet/in.h> header file. */
-/* Define if you have the <netinet/tcp.h> header file. */
+/* Define to 1 if you have the <netinet/tcp.h> header file. */
#undef HAVE_NETINET_TCP_H
#undef HAVE_NETINET_TCP_H
-/* Define if you have the <nlist.h> header file. */
+/* Define to 1 if you have the <nlist.h> header file. */
-/* Define if you have the <pascal.h> header file. */
+/* Define to 1 if you have the <pascal.h> header file. */
-/* Define if you have the `PBHSetVolSync' function. */
+/* Define to 1 if you have the `PBHSetVolSync' function. */
#undef HAVE_PBHSETVOLSYNC
#undef HAVE_PBHSETVOLSYNC
-/* Define if you have the `pclose' function. */
+/* Define to 1 if you have the `pclose' function. */
-/* Define if you have the `popen' function. */
+/* Define to 1 if you have the `popen' function. */
-/* Define if you have the `setenv' function. */
-#undef HAVE_SETENV
-
-/* Define if you have the `unsetenv' function. */
-#undef HAVE_UNSETENV
-
-/* Define if you have the <pthread.h> header file. */
+/* Define to 1 if you have the <pthread.h> header file. */
-/* Define if you have the <pwd.h> header file. */
+/* Define to 1 if you have the <pwd.h> header file. */
-/* Define if you have the `readdir_r' function. */
+/* Define to 1 if you have the `readdir_r' function. */
-/* Define if you have the `readlink' function. */
+/* Define to 1 if you have the `readlink' function. */
-/* Define if you have the `realpath' function. */
+/* Define to 1 if you have the `realpath' function. */
-/* Define if you have the `setitimer' function. */
+/* Define to 1 if you have the `setenv' function. */
+#undef HAVE_SETENV
+
+/* Define to 1 if you have the `setitimer' function. */
-/* Define if you have the <sgtty.h> header file. */
+/* Define to 1 if you have the <sgtty.h> header file. */
-/* Define if you have the <siginfo.h> header file. */
+/* Define to 1 if you have the <siginfo.h> header file. */
-/* Define if you have the <signal.h> header file. */
+/* Define to 1 if you have the <signal.h> header file. */
-/* Define if you have the `snprintf' function. */
+/* Define to 1 if you have the `snprintf' function. */
-/* Define if you have the `stat' function. */
+/* Define to 1 if you have the `stat' function. */
-/* Define if you have the <stat.h> header file. */
+/* Define to 1 if you have the <stat.h> header file. */
-/* Define if you have the <stdarg.h> header file. */
+/* Define to 1 if you have the <stdarg.h> header file. */
-/* Define if you have the <stddef.h> header file. */
+/* Define to 1 if you have the <stddef.h> header file. */
-/* Define if you have the <stdint.h> header file. */
+/* Define to 1 if you have the <stdint.h> header file. */
-/* Define if you have the <stdlib.h> header file. */
+/* Define to 1 if you have the <stdlib.h> header file. */
-/* Define if you have the <std.h> header file. */
+/* Define to 1 if you have the <std.h> header file. */
-/* Define if you have the `strcasecmp' function. */
+/* Define to 1 if you have the `strcasecmp' function. */
-/* Define if you have the `strcmp' function. */
+/* Define to 1 if you have the `strcmp' function. */
-/* Define if you have the `strcmpi' function. */
+/* Define to 1 if you have the `strcmpi' function. */
-/* Define if you have the `stricmp' function. */
+/* Define to 1 if you have the `stricmp' function. */
-/* Define if you have the <strings.h> header file. */
+/* Define to 1 if you have the <strings.h> header file. */
-/* Define if you have the <string.h> header file. */
+/* Define to 1 if you have the <string.h> header file. */
-/* Define if `st_blksize' is member of `struct stat'. */
+/* Define to 1 if `st_blksize' is member of `struct stat'. */
#undef HAVE_STRUCT_STAT_ST_BLKSIZE
#undef HAVE_STRUCT_STAT_ST_BLKSIZE
-/* Define if `tm_zone' is member of `struct tm'. */
+/* Define to 1 if `tm_zone' is member of `struct tm'. */
#undef HAVE_STRUCT_TM_TM_ZONE
#undef HAVE_STRUCT_TM_TM_ZONE
-/* Define if your `struct stat' has `st_blksize'. Deprecated, use
+/* Define to 1 if your `struct stat' has `st_blksize'. Deprecated, use
`HAVE_STRUCT_STAT_ST_BLKSIZE' instead. */
#undef HAVE_ST_BLKSIZE
`HAVE_STRUCT_STAT_ST_BLKSIZE' instead. */
#undef HAVE_ST_BLKSIZE
-/* Define if you have the `symlink' function. */
+/* Define to 1 if you have the `symlink' function. */
-/* Define if you have the `sysconf' function. */
+/* Define to 1 if you have the `sysconf' function. */
-/* Define if you have the <sys/fault.h> header file. */
+/* Define to 1 if you have the <sys/fault.h> header file. */
-/* Define if you have the <sys/file.h> header file. */
+/* Define to 1 if you have the <sys/file.h> header file. */
-/* Define if you have the <sys/ioctl.h> header file. */
+/* Define to 1 if you have the <sys/ioctl.h> header file. */
-/* Define if you have the <sys/limits.h> header file. */
+/* Define to 1 if you have the <sys/limits.h> header file. */
-/* Define if you have the <sys/mman.h> header file. */
+/* Define to 1 if you have the <sys/mman.h> header file. */
-/* Define if you have the <sys/param.h> header file. */
+/* Define to 1 if you have the <sys/param.h> header file. */
-/* Define if you have the <sys/procfs.h> header file. */
+/* Define to 1 if you have the <sys/procfs.h> header file. */
-/* Define if you have the <sys/resource.h> header file. */
+/* Define to 1 if you have the <sys/resource.h> header file. */
#undef HAVE_SYS_RESOURCE_H
#undef HAVE_SYS_RESOURCE_H
-/* Define if you have the <sys/signal.h> header file. */
+/* Define to 1 if you have the <sys/signal.h> header file. */
-/* Define if you have the <sys/socket.h> header file. */
+/* Define to 1 if you have the <sys/socket.h> header file. */
-/* Define if you have the <sys/stat.h> header file. */
+/* Define to 1 if you have the <sys/stat.h> header file. */
-/* Define if you have the <sys/syscall.h> header file. */
+/* Define to 1 if you have the <sys/syscall.h> header file. */
#undef HAVE_SYS_SYSCALL_H
#undef HAVE_SYS_SYSCALL_H
-/* Define if you have the <sys/timeb.h> header file. */
+/* Define to 1 if you have the <sys/timeb.h> header file. */
-/* Define if you have the <sys/timers.h> header file. */
+/* Define to 1 if you have the <sys/timers.h> header file. */
-/* Define if you have the <sys/times.h> header file. */
+/* Define to 1 if you have the <sys/times.h> header file. */
-/* Define if you have the <sys/time.h> header file. */
+/* Define to 1 if you have the <sys/time.h> header file. */
-/* Define if you have the <sys/types.h> header file. */
+/* Define to 1 if you have the <sys/types.h> header file. */
-/* Define if you have the <sys/uio.h> header file. */
+/* Define to 1 if you have the <sys/uio.h> header file. */
-/* Define if you have the <sys/un.h> header file. */
+/* Define to 1 if you have the <sys/un.h> header file. */
-/* Define if you have the <sys/utsname.h> header file. */
+/* Define to 1 if you have the <sys/utsname.h> header file. */
#undef HAVE_SYS_UTSNAME_H
#undef HAVE_SYS_UTSNAME_H
-/* Define if you have the <sys/vadvise.h> header file. */
+/* Define to 1 if you have the <sys/vadvise.h> header file. */
#undef HAVE_SYS_VADVISE_H
#undef HAVE_SYS_VADVISE_H
-/* Define if you have the <sys/wait.h> header file. */
+/* Define to 1 if you have the <sys/wait.h> header file. */
-/* Define if you have the <termios.h> header file. */
+/* Define to 1 if you have the <termios.h> header file. */
-/* Define if you have the <termio.h> header file. */
+/* Define to 1 if you have the <termio.h> header file. */
-/* Define if you have the `timelocal' function. */
+/* Define to 1 if you have the `timelocal' function. */
-/* Define if you have the `times' function. */
+/* Define to 1 if you have the `times' function. */
-/* Define if you have the <time.h> header file. */
+/* Define to 1 if you have the <time.h> header file. */
-/* Define if your `struct tm' has `tm_zone'. Deprecated, use
+/* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
`HAVE_STRUCT_TM_TM_ZONE' instead. */
#undef HAVE_TM_ZONE
`HAVE_STRUCT_TM_TM_ZONE' instead. */
#undef HAVE_TM_ZONE
-/* Define if you have the <types.h> header file. */
+/* Define to 1 if you have the <types.h> header file. */
-/* Define if you don't have `tm_zone' but do have the external array `tzname'.
- */
+/* Define to 1 if you don't have `tm_zone' but do have the external array
+ `tzname'. */
-/* Define if you have the <unistd.h> header file. */
+/* Define to 1 if you have the <unistd.h> header file. */
-/* Define if you have the <utime.h> header file. */
+/* Define to 1 if you have the `unsetenv' function. */
+#undef HAVE_UNSETENV
+
+/* Define to 1 if you have the <utime.h> header file. */
-/* Define if you have the `vadvise' function. */
+/* Define to 1 if you have the `vadvise' function. */
-/* Define if you have the `valloc' function. */
+/* Define to 1 if you have the `valloc' function. */
-/* Define if you have the <values.h> header file. */
+/* Define to 1 if you have the <values.h> header file. */
-/* Define if you have the `vfork' function. */
+/* Define to 1 if you have the `vfork' function. */
-/* Define if you have the <vfork.h> header file. */
+/* Define to 1 if you have the <vfork.h> header file. */
-/* Define if you have the `vsnprintf' function. */
+/* Define to 1 if you have the `vsnprintf' function. */
-/* Define if you have the <windows.h> header file. */
+/* Define to 1 if you have the <windows.h> header file. */
-/* Define if you have the <winsock.h> header file. */
+/* Define to 1 if you have the <winsock.h> header file. */
-/* Define if you have the `_fullpath' function. */
+/* Define to 1 if you have the `_fullpath' function. */
-/* Define if you have the `_pclose' function. */
+/* Define to 1 if you have the `_pclose' function. */
-/* Define if you have the `_popen' function. */
+/* Define to 1 if you have the `_popen' function. */
-/* Define if you have the `_snprintf' function. */
+/* Define to 1 if you have the `_snprintf' function. */
-/* Define if you have the `_stricmp' function. */
+/* Define to 1 if you have the `_stricmp' function. */
-/* Define if you have the `_vsnprintf' function. */
+/* Define to 1 if you have the `_vsnprintf' function. */
+/* Define to the address where bug reports for this package should be sent. */
+#undef PACKAGE_BUGREPORT
+
+/* Define to the full name of this package. */
+#undef PACKAGE_NAME
+
+/* Define to the full name and version of this package. */
+#undef PACKAGE_STRING
+
+/* Define to the one symbol short name of this package. */
+#undef PACKAGE_TARNAME
+
+/* Define to the version of this package. */
+#undef PACKAGE_VERSION
+
/* Define as the return type of signal handlers (`int' or `void'). */
#undef RETSIGTYPE
/* Define as the return type of signal handlers (`int' or `void'). */
#undef RETSIGTYPE
STACK_DIRECTION = 0 => direction of growth unknown */
#undef STACK_DIRECTION
STACK_DIRECTION = 0 => direction of growth unknown */
#undef STACK_DIRECTION
-/* Define if you have the ANSI C header files. */
+/* Define to 1 if you have the ANSI C header files. */
-/* Define if you can safely include both <sys/time.h> and <time.h>. */
+/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#undef TIME_WITH_SYS_TIME
#undef TIME_WITH_SYS_TIME
-/* Define if your <sys/time.h> declares `struct tm'. */
+/* Define to 1 if your <sys/time.h> declares `struct tm'. */
#undef TM_IN_SYS_TIME
/* Define if the system headers declare usleep to return void. */
#undef USLEEP_RETURNS_VOID
#undef TM_IN_SYS_TIME
/* Define if the system headers declare usleep to return void. */
#undef USLEEP_RETURNS_VOID
-/* Define if your processor stores words with the most significant byte first
- (like Motorola and SPARC, unlike Intel and VAX). */
+/* Define to 1 if your processor stores words with the most significant byte
+ first (like Motorola and SPARC, unlike Intel and VAX). */
-/* Define if the X Window System is missing or not being used. */
+/* Define to 1 if the X Window System is missing or not being used. */
+/* Number of bits in a file offset, on hosts where this is settable. */
+#undef _FILE_OFFSET_BITS
+
+/* Define for large files, on AIX-style hosts. */
+#undef _LARGE_FILES
+
/* Define to empty if `const' does not conform to ANSI C. */
#undef const
/* Define to empty if `const' does not conform to ANSI C. */
#undef const