1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
From: Santiago Vila <sanvila@debian.org>
Date: Mon, 9 Sep 2024 19:52:06 +0200
Subject: fix build with autoconf-2.7
Bug-Debian: https://bugs.debian.org/1080146
---
configure.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.in b/configure.in
index 16b7db0..a06c77e 100644
--- a/configure.in
+++ b/configure.in
@@ -206,7 +206,7 @@ AC_C_INLINE
dnl Check for how to do large files
AC_SYS_LARGEFILE(CFLAGS)
-if test "${ac_cv_sys_file_offset_bits}" != no ; then
+if test "${ac_cv_sys_file_offset_bits}" != no && test -n "${ac_cv_sys_file_offset_bits}" ; then
CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=${ac_cv_sys_file_offset_bits}"
fi
if test "${ac_cv_sys_large_files}" != no ; then
|