configure.in
changeset 453 108de3bb1b6b
parent 444 06f6a31057a0
child 454 e1353730f8c6
--- a/configure.in	Fri Aug 09 19:47:06 2002 +0000
+++ b/configure.in	Fri Aug 09 19:47:35 2002 +0000
@@ -108,7 +108,7 @@
 fi
 
 
-dnl Check for zip archiver inclusion...
+dnl Check for grp archiver inclusion...
 AC_ARG_ENABLE(grp,
 [  --enable-grp               enable Build Engine GRP support [default=yes]],
               , enable_grp=yes)
@@ -117,6 +117,15 @@
 fi
 
 
+dnl Check for qpak archiver inclusion...
+AC_ARG_ENABLE(qpak,
+[  --enable-qpak              enable Quake PAK support [default=yes]],
+              , enable_qpak=yes)
+if test x$enable_qpak = xyes; then
+  AC_DEFINE([PHYSFS_SUPPORTS_QPAK], 1, [define if qpak support is enabled])
+fi
+
+
 AC_ARG_ENABLE(internal-zlib,
 [  --enable-internal-zlib     use included zlib [default=only if needed]],
               , enable_internal_zlib=maybe)
@@ -415,6 +424,8 @@
 AC_FUNC_MEMCMP
 AC_CHECK_FUNCS([memset strrchr])
 
+AC_CHECK_SIZEOF(int, 4)
+
 CFLAGS="$CFLAGS -D_REENTRANT -D_THREAD_SAFE"
 LDFLAGS="$LDFLAGS -no-undefined"