cf/largefile.m4: Fix build with autoconf-2.72

Fixes https://github.com/heimdal/heimdal/issues/1201
This commit is contained in:
Bernd Kuhls
2024-02-10 09:33:48 +01:00
committed by Jeffrey Altman
parent aff90c322e
commit 1b57b62d82

View File

@@ -10,7 +10,7 @@ dnl with generated code, such as lex
if test "$enable_largefile" != no -a "$ac_cv_sys_large_files" != no; then
CPPFLAGS="$CPPFLAGS -D_LARGE_FILES=$ac_cv_sys_large_files"
fi
if test "$enable_largefile" != no -a "$ac_cv_sys_file_offset_bits" != no; then
if test "$enable_largefile" != no -a "$ac_cv_sys_file_offset_bits" != no && test -n "$ac_cv_sys_file_offset_bits"; then
CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits"
fi
])