blob: 4092a7303dc9fb7358e0d7397f4ac5b5284c5c4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
https://bugs.gentoo.org/920788
https://github.com/ImageMagick/ImageMagick/pull/6978
--- a/configure.ac
+++ b/configure.ac
@@ -386,7 +386,7 @@ AC_FUNC_FSEEKO
LFS_CPPFLAGS=''
if test "$enable_largefile" != no
then
- if test "$ac_cv_sys_file_offset_bits" != 'no'
+ if test "$ac_cv_sys_file_offset_bits" != 'no' && test -n "$ac_cv_sys_file_offset_bits"
then
LFS_CPPFLAGS="$LFS_CPPFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits"
fi
|