64-bit _llseek() detection code.
authorRyan C. Gordon <icculus@icculus.org>
Thu, 06 Jun 2002 06:09:51 +0000
changeset 261 9e1647c75ae0
parent 260 72d08673c81f
child 262 2d332d53c263
64-bit _llseek() detection code.
acconfig.h
configure.in
--- a/acconfig.h	Thu Jun 06 06:09:26 2002 +0000
+++ b/acconfig.h	Thu Jun 06 06:09:51 2002 +0000
@@ -5,4 +5,5 @@
 #undef PHYSFS_SUPPORTS_ZIP
 #undef PHYSFS_SUPPORTS_GRP
 #undef PHYSFS_HAVE_READLINE
+#undef PHYSFS_HAVE_LLSEEK
 
--- a/configure.in	Thu Jun 06 06:09:26 2002 +0000
+++ b/configure.in	Thu Jun 06 06:09:51 2002 +0000
@@ -93,6 +93,13 @@
 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...