summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-20 12:32:48 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-20 12:32:48 -0800
commit9b8e87a0f7bbe5ae2772f2c8acc66e25880e80bf (patch)
tree1f1d5952dec1cb74b766a3a7db3f2e12af171df8
parent025697278897648e33be6b5d662fbeda2a14871f (diff)
configure: Use AC_SYS_LARGEFILE to enable large file support
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 990d3da..a2382d5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -51,6 +51,10 @@ AC_ARG_WITH(appdefaultdir,
[appdefaultdir="$withval"], [appdefaultdir="${xt_appdefaultdir}"])
AC_SUBST(appdefaultdir)
+# Checks for typedefs, structures, and compiler characteristics.
+AC_SYS_LARGEFILE
+
+# Checks for library functions.
AC_SEARCH_LIBS(openpty, [util])
AC_CHECK_FUNC(openpty, [HAS_OPENPTY="yes"])
if test "x$HAS_OPENPTY" = "xyes" ; then