tags 1080110 + patch
thanks
/usr/include/features.h:398:52: error: operator '&&' has no right operand
398 | #if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS == 64
Hi. This happens because at such point _FILE_OFFSET_BITS is defined but
having an empty value.
The attached patch might help, but you might want to double-check.
as I'm no expert at modifying autoconf macros.
Thanks.
--- a/configure.ac
+++ b/configure.ac
@@ -431,7 +431,7 @@ if test "x$enable_largefile" != "xno"; then
enable_largefile="yes"
fi
- if test "x$ac_cv_sys_file_offset_bits" != "xno"; then
+ if test "x$ac_cv_sys_file_offset_bits" != "xno" && test -n
"$ac_cv_sys_file_offset_bits"; then
LFS_CFLAGS="$LFS_CFLAGS
-D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits"
enable_largefile="yes"
fi