From 78efe227f3d4a8668fa7c83e8699ea307e911f91 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 6 Jun 2002 06:09:51 +0000 Subject: [PATCH] 64-bit _llseek() detection code. --- acconfig.h | 1 + configure.in | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/acconfig.h b/acconfig.h index 97b96f86..6ae4eab3 100644 --- a/acconfig.h +++ b/acconfig.h @@ -5,4 +5,5 @@ #undef PHYSFS_SUPPORTS_ZIP #undef PHYSFS_SUPPORTS_GRP #undef PHYSFS_HAVE_READLINE +#undef PHYSFS_HAVE_LLSEEK diff --git a/configure.in b/configure.in index e57983c5..b7e736a6 100644 --- a/configure.in +++ b/configure.in @@ -93,6 +93,13 @@ dnl --------------------------------------------------------------------- dnl Checks for libraries. dnl --------------------------------------------------------------------- +dnl !!! FIXME: Not sure how to detect this... +dnl check for 64-bit llseek()... +dnl AC_CHECK_LIB(c, llseek, have_llseek=yes) +if test x$have_llseek = xyes; then + AC_DEFINE(PHYSFS_HAVE_LLSEEK) +fi + require_zlib="no" dnl Check for zip archiver inclusion...