Mercurial > vim
comparison src/auto/configure @ 13140:eb45750114ed v8.0.1444
patch 8.0.1444: missing -D_FILE_OFFSET_BITS=64 may cause problems
commit https://github.com/vim/vim/commit/ec0557f08b2660118eaedb94471e5ab0f87cf2a3
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 31 14:41:37 2018 +0100
patch 8.0.1444: missing -D_FILE_OFFSET_BITS=64 may cause problems
Problem: Missing -D_FILE_OFFSET_BITS=64 may cause problems if a library is
compiled with it.
Solution: Include -D_FILE_OFFSET_BITS if some CFLAGS has it. (James McCoy,
closes #2600)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 31 Jan 2018 14:45:05 +0100 |
parents | 35e148715059 |
children | 825841608429 |
comparison
equal
deleted
inserted
replaced
13139:ff0adb5f16d0 | 13140:eb45750114ed |
---|---|
14312 $as_echo "no" >&6; } | 14312 $as_echo "no" >&6; } |
14313 fi | 14313 fi |
14314 fi | 14314 fi |
14315 | 14315 |
14316 | 14316 |
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to force -D_FILE_OFFSET_BITS=64" >&5 | |
14318 $as_echo_n "checking whether we need to force -D_FILE_OFFSET_BITS=64... " >&6; } | |
14319 if echo "$CFLAGS $LUA_CFLAGS $MZSCHEME_CFLAGS $PERL_CFLAGS $PYTHON_GETPATH_CFLAGS $PYTHON_CFLAGS $PYTHON3_CFLAGS $TCL_CFLAGS $RUBY_CFLAGS $GTK_CFLAGS" | grep -q D_FILE_OFFSET_BITS 2>/dev/null; then | |
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
14321 $as_echo "yes" >&6; } | |
14322 $as_echo "#define _FILE_OFFSET_BITS 64" >>confdefs.h | |
14323 | |
14324 else | |
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
14326 $as_echo "no" >&6; } | |
14327 fi | |
14328 | |
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker --as-needed support" >&5 | 14329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker --as-needed support" >&5 |
14318 $as_echo_n "checking linker --as-needed support... " >&6; } | 14330 $as_echo_n "checking linker --as-needed support... " >&6; } |
14319 LINK_AS_NEEDED= | 14331 LINK_AS_NEEDED= |
14320 # Check if linker supports --as-needed and --no-as-needed options | 14332 # Check if linker supports --as-needed and --no-as-needed options |
14321 if $CC -Wl,--help 2>/dev/null | grep as-needed > /dev/null; then | 14333 if $CC -Wl,--help 2>/dev/null | grep as-needed > /dev/null; then |