aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2010-11-06 16:26:05 +0000
committerdos-reis <gdr@axiomatics.org>2010-11-06 16:26:05 +0000
commitad10d0cf79ab09a0175fc95ef5a71033a8de0a1a (patch)
tree706a90a1ab415b92620054a60200da1da0dfe401 /config
parent1cfbe5aaa3d2dd322cb6dcc74cab17b784af9328 (diff)
downloadopen-axiom-ad10d0cf79ab09a0175fc95ef5a71033a8de0a1a.tar.gz
Test for large files and Posix termios
Diffstat (limited to 'config')
-rw-r--r--config/open-axiom.m46
-rw-r--r--config/openaxiom-c-macros.h.in9
2 files changed, 15 insertions, 0 deletions
diff --git a/config/open-axiom.m4 b/config/open-axiom.m4
index 137ebeb5..17542ed6 100644
--- a/config/open-axiom.m4
+++ b/config/open-axiom.m4
@@ -800,6 +800,12 @@ dnl ------------------------
dnl -- OPENAXIOM_CHECK_IO --
dnl ------------------------
AC_DEFUN([OPENAXIOM_CHECK_IO],[
+# Honor support for large files
+AC_SYS_LARGEFILE
+# What about long file names?
+AC_SYS_LONG_FILE_NAMES
+# Posix terminal IO?
+AC_SYS_POSIX_TERMIOS
## Does this system have openpty or shall we emulate?
AC_CHECK_HEADERS([sys/ioctl.h pty.h util.h libutil.h termios.h])
AC_CHECK_DECLS([openpty],[],[],
diff --git a/config/openaxiom-c-macros.h.in b/config/openaxiom-c-macros.h.in
index 792766ef..2176f23e 100644
--- a/config/openaxiom-c-macros.h.in
+++ b/config/openaxiom-c-macros.h.in
@@ -63,6 +63,9 @@
/* Define to 1 if you have the <libutil.h> header file. */
#undef HAVE_LIBUTIL_H
+/* Define to 1 if you support file names longer than 14 characters. */
+#undef HAVE_LONG_FILE_NAMES
+
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
@@ -175,6 +178,12 @@
/* Define to 1 if the X Window System is missing or not being used. */
#undef X_DISPLAY_MISSING
+/* 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 for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
#define below would cause a syntax error. */