]> arthur.barton.de Git - netatalk.git/commitdiff
fix LFS test for cross compilation, from Bolke de Bruin
authordidg <didg>
Tue, 6 May 2008 11:03:23 +0000 (11:03 +0000)
committerdidg <didg>
Tue, 6 May 2008 11:03:23 +0000 (11:03 +0000)
macros/largefile-check.m4

index 75ba94747ed7781e29e35b2458508269b454d4ec..8610f5ee23806b878febfa5157904d81968a8a59 100644 (file)
@@ -64,7 +64,7 @@ main() { exit((sizeof(off_t) == 8) ? 0 : 1); }],
 netatalk_cv_SIZEOF_OFF_T=yes,netatalk_cv_SIZEOF_OFF_T=no,netatalk_cv_SIZEOF_OFF_T=cross)])
 
     AC_MSG_CHECKING([if large file support is available])
-    if test "x$netatalk_cv_SIZEOF_OFF_T" = "xyes"; then
+    if test "x$netatalk_cv_SIZEOF_OFF_T" != "xno"; then
         AC_DEFINE(HAVE_LARGEFILE_SUPPORT, [], [LARGEFILE support])
        AC_MSG_RESULT([yes])
         ifelse([$1], , :, [$1])