[GRASS-dev] diglib test.c fails on 64bit win

Glynn Clements glynn at gclements.plus.com
Fri May 14 14:31:19 EDT 2010


Markus Metz wrote:

> To avoid confusion, on MINGW32 it would be better to not use
> _FILE_OFFSET_BITS=64 and don't set USE_LARGEFILES and HAVE_LARGEFILES
> even if LFS is requested? Unset/undefine somewhere in configure.in or
> a bit later in config.h.in USE_LARGEFILES and HAVE_LARGEFILES for
> MINGW32?

How about:

 if test $ac_cv_largefiles = yes; then
	USE_LARGEFILES=1
+	if test "$MINGW32" = yes ; then
+		AC_MSG_ERROR([*** --enable-largefile doesn't work on Windows])
+	fi
 fi

?

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list