X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=macros%2Flargefile-check.m4;h=8610f5ee23806b878febfa5157904d81968a8a59;hb=0a4d3f729499937ca9c1ff4f927a940ec556757b;hp=75ba94747ed7781e29e35b2458508269b454d4ec;hpb=ecfc96169ab669b578e53fa8e13592934fe37788;p=netatalk.git diff --git a/macros/largefile-check.m4 b/macros/largefile-check.m4 index 75ba9474..8610f5ee 100644 --- a/macros/largefile-check.m4 +++ b/macros/largefile-check.m4 @@ -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])