Disable lfs on FreeBSD
It has the off64_t type, but none of the legacy *64 functions.
This commit is contained in:
parent
f002abe258
commit
e3f801c2e8
1 changed files with 5 additions and 0 deletions
|
|
@ -74,6 +74,11 @@ AM_CONDITIONAL(CPU_X86_64, test "$CPU" = "x86_64")
|
||||||
|
|
||||||
AC_MSG_CHECKING([for off64_t])
|
AC_MSG_CHECKING([for off64_t])
|
||||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h>]],[[off64_t n=0;]])],[has_lfs="yes"],[has_lfs="no"])
|
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h>]],[[off64_t n=0;]])],[has_lfs="yes"],[has_lfs="no"])
|
||||||
|
case "$host" in
|
||||||
|
*-*-freebsd*) # has off64_t but no fopen64/etc.
|
||||||
|
has_lfs="no"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
AC_MSG_RESULT($has_lfs)
|
AC_MSG_RESULT($has_lfs)
|
||||||
|
|
||||||
#AC_MSG_CHECKING([for libz])
|
#AC_MSG_CHECKING([for libz])
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue