Correct test for native largefile64 checking in configure.ac. Instead of AC_FUNC_FSEEKO use AC_CHECK_FUNCS. Newer autotools is doing that test in different way

This commit is contained in:
Radim Kolar 2009-06-14 13:09:21 +02:00
parent 64eace4a77
commit 21e967fcac

View File

@ -104,7 +104,7 @@ AC_CHECK_SIZEOF(long)
AC_CHECK_SIZEOF(char) AC_CHECK_SIZEOF(char)
AC_CHECK_SIZEOF(void) AC_CHECK_SIZEOF(void)
AC_SYS_LARGEFILE AC_SYS_LARGEFILE
AC_FUNC_FSEEKO AC_CHECK_FUNCS(fseeko)
AC_CHECK_SIZEOF(off_t) AC_CHECK_SIZEOF(off_t)
if test $ac_cv_sizeof_off_t -ge 8 -a "x$ac_cv_func_fseeko" = xyes; then if test $ac_cv_sizeof_off_t -ge 8 -a "x$ac_cv_func_fseeko" = xyes; then
AC_DEFINE(NATIVE_LARGEFILES,1,[Define if we have 64bit off_t and fseeko]) AC_DEFINE(NATIVE_LARGEFILES,1,[Define if we have 64bit off_t and fseeko])