configure.in
changeset 351 bc4fa7896225
parent 347 56ce50a62241
child 353 7adb20841f11
equal deleted inserted replaced
350:ec1e75681b4b 351:bc4fa7896225
   100 dnl check for 64-bit llseek()...
   100 dnl check for 64-bit llseek()...
   101 dnl AC_CHECK_LIB(c, llseek, have_llseek=yes)
   101 dnl AC_CHECK_LIB(c, llseek, have_llseek=yes)
   102 if test x$have_llseek = xyes; then
   102 if test x$have_llseek = xyes; then
   103   AC_DEFINE([PHYSFS_HAVE_LLSEEK], 1, [define if we have llseek])
   103   AC_DEFINE([PHYSFS_HAVE_LLSEEK], 1, [define if we have llseek])
   104 fi
   104 fi
       
   105 
       
   106 dnl BSD systems use sys/ucred.h for getting mounted volumes.
       
   107 dnl Linux and others use mntent.h.
       
   108 AC_CHECK_HEADER(sys/ucred.h, have_ucred_hdr=yes)
       
   109 if test x$have_ucred_hdr = xyes; then
       
   110   AC_DEFINE([PHYSFS_HAVE_SYS_UCRED_H], 1, [define if we have sys/ucred.h])
       
   111 fi
       
   112 
       
   113 AC_CHECK_HEADER(mntent.h, have_mntent_hdr=yes)
       
   114 if test x$have_mntent_hdr = xyes; then
       
   115   AC_DEFINE([PHYSFS_HAVE_MNTENT_H], 1, [define if we have mntent.h])
       
   116 fi
       
   117 
   105 
   118 
   106 require_zlib="no"
   119 require_zlib="no"
   107 
   120 
   108 dnl Check for zip archiver inclusion...
   121 dnl Check for zip archiver inclusion...
   109 AC_ARG_ENABLE(zip,
   122 AC_ARG_ENABLE(zip,