|
Karsten Hopp |
704e40 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
704e40 |
Subject: Patch 7.2.413
|
|
Karsten Hopp |
704e40 |
Fcc: outbox
|
|
Karsten Hopp |
704e40 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
704e40 |
Mime-Version: 1.0
|
|
Karsten Hopp |
704e40 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
704e40 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
704e40 |
------------
|
|
Karsten Hopp |
704e40 |
|
|
Karsten Hopp |
704e40 |
Patch 7.2.413
|
|
Karsten Hopp |
704e40 |
Problem: Large file support is incorrect.
|
|
Karsten Hopp |
704e40 |
Solution: Add AC_SYS_LARGEFILE to configure. (James Vega)
|
|
Karsten Hopp |
704e40 |
Files: src/configure.in, src/config.h.in, src/auto/configure
|
|
Karsten Hopp |
704e40 |
|
|
Karsten Hopp |
704e40 |
|
|
Karsten Hopp |
704e40 |
*** ../vim-7.2.412/src/configure.in 2010-03-10 16:27:27.000000000 +0100
|
|
Karsten Hopp |
704e40 |
--- src/configure.in 2010-04-01 15:06:04.000000000 +0200
|
|
Karsten Hopp |
704e40 |
***************
|
|
Karsten Hopp |
704e40 |
*** 2669,2674 ****
|
|
Karsten Hopp |
704e40 |
--- 2669,2678 ----
|
|
Karsten Hopp |
704e40 |
usleep utime utimes)
|
|
Karsten Hopp |
704e40 |
AC_FUNC_FSEEKO
|
|
Karsten Hopp |
704e40 |
|
|
Karsten Hopp |
704e40 |
+ dnl define _LARGE_FILES, _FILE_OFFSET_BITS and _LARGEFILE_SOURCE when
|
|
Karsten Hopp |
704e40 |
+ dnl appropriate, so that off_t is 64 bits when needed.
|
|
Karsten Hopp |
704e40 |
+ AC_SYS_LARGEFILE
|
|
Karsten Hopp |
704e40 |
+
|
|
Karsten Hopp |
704e40 |
dnl fstatfs() can take 2 to 4 arguments, try to use st_blksize if possible
|
|
Karsten Hopp |
704e40 |
AC_MSG_CHECKING(for st_blksize)
|
|
Karsten Hopp |
704e40 |
AC_TRY_COMPILE(
|
|
Karsten Hopp |
704e40 |
*** ../vim-7.2.412/src/config.h.in 2010-02-24 14:46:58.000000000 +0100
|
|
Karsten Hopp |
704e40 |
--- src/config.h.in 2010-04-01 15:10:49.000000000 +0200
|
|
Karsten Hopp |
704e40 |
***************
|
|
Karsten Hopp |
704e40 |
*** 196,201 ****
|
|
Karsten Hopp |
704e40 |
--- 196,206 ----
|
|
Karsten Hopp |
704e40 |
#undef HAVE_UTIME
|
|
Karsten Hopp |
704e40 |
#undef HAVE_BIND_TEXTDOMAIN_CODESET
|
|
Karsten Hopp |
704e40 |
|
|
Karsten Hopp |
704e40 |
+ /* Define, if needed, for accessing large files. */
|
|
Karsten Hopp |
704e40 |
+ #undef _LARGE_FILES
|
|
Karsten Hopp |
704e40 |
+ #undef _FILE_OFFSET_BITS
|
|
Karsten Hopp |
704e40 |
+ #undef _LARGEFILE_SOURCE
|
|
Karsten Hopp |
704e40 |
+
|
|
Karsten Hopp |
704e40 |
/* Define if you do not have utime(), but do have the utimes() function. */
|
|
Karsten Hopp |
704e40 |
#undef HAVE_UTIMES
|
|
Karsten Hopp |
704e40 |
|
|
Karsten Hopp |
704e40 |
*** ../vim-7.2.412/src/auto/configure 2010-03-10 16:27:27.000000000 +0100
|
|
Karsten Hopp |
704e40 |
--- src/auto/configure 2010-05-07 16:01:08.000000000 +0200
|
|
Karsten Hopp |
704e40 |
***************
|
|
Karsten Hopp |
704e40 |
*** 821,826 ****
|
|
Karsten Hopp |
704e40 |
--- 821,827 ----
|
|
Karsten Hopp |
704e40 |
with_gnome
|
|
Karsten Hopp |
704e40 |
with_motif_lib
|
|
Karsten Hopp |
704e40 |
with_tlib
|
|
Karsten Hopp |
704e40 |
+ enable_largefile
|
|
Karsten Hopp |
704e40 |
enable_acl
|
|
Karsten Hopp |
704e40 |
enable_gpm
|
|
Karsten Hopp |
704e40 |
enable_sysmouse
|
|
Karsten Hopp |
704e40 |
***************
|
|
Karsten Hopp |
704e40 |
*** 1485,1490 ****
|
|
Karsten Hopp |
704e40 |
--- 1486,1492 ----
|
|
Karsten Hopp |
704e40 |
--enable-nextaw-check If auto-select GUI, check for neXtaw default=yes
|
|
Karsten Hopp |
704e40 |
--enable-carbon-check If auto-select GUI, check for Carbon default=yes
|
|
Karsten Hopp |
704e40 |
--disable-gtktest Do not try to compile and run a test GTK program
|
|
Karsten Hopp |
704e40 |
+ --disable-largefile omit support for large files
|
|
Karsten Hopp |
704e40 |
--disable-acl Don't check for ACL support.
|
|
Karsten Hopp |
704e40 |
--disable-gpm Don't use gpm (Linux mouse daemon).
|
|
Karsten Hopp |
704e40 |
--disable-sysmouse Don't use sysmouse (mouse in *BSD console).
|
|
Karsten Hopp |
704e40 |
***************
|
|
Karsten Hopp |
704e40 |
*** 14345,14350 ****
|
|
Karsten Hopp |
704e40 |
--- 14347,14709 ----
|
|
Karsten Hopp |
704e40 |
fi
|
|
Karsten Hopp |
704e40 |
|
|
Karsten Hopp |
704e40 |
|
|
Karsten Hopp |
704e40 |
+ # Check whether --enable-largefile was given.
|
|
Karsten Hopp |
704e40 |
+ if test "${enable_largefile+set}" = set; then
|
|
Karsten Hopp |
704e40 |
+ enableval=$enable_largefile;
|
|
Karsten Hopp |
704e40 |
+ fi
|
|
Karsten Hopp |
704e40 |
+
|
|
Karsten Hopp |
704e40 |
+ if test "$enable_largefile" != no; then
|
|
Karsten Hopp |
704e40 |
+
|
|
Karsten Hopp |
704e40 |
+ { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
|
|
Karsten Hopp |
704e40 |
+ $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
|
|
Karsten Hopp |
704e40 |
+ if test "${ac_cv_sys_largefile_CC+set}" = set; then
|
|
Karsten Hopp |
704e40 |
+ $as_echo_n "(cached) " >&6
|
|
Karsten Hopp |
704e40 |
+ else
|
|
Karsten Hopp |
704e40 |
+ ac_cv_sys_largefile_CC=no
|
|
Karsten Hopp |
704e40 |
+ if test "$GCC" != yes; then
|
|
Karsten Hopp |
704e40 |
+ ac_save_CC=$CC
|
|
Karsten Hopp |
704e40 |
+ while :; do
|
|
Karsten Hopp |
704e40 |
+ # IRIX 6.2 and later do not support large files by default,
|
|
Karsten Hopp |
704e40 |
+ # so use the C compiler's -n32 option if that helps.
|
|
Karsten Hopp |
704e40 |
+ cat >conftest.$ac_ext <<_ACEOF
|
|
Karsten Hopp |
704e40 |
+ /* confdefs.h. */
|
|
Karsten Hopp |
704e40 |
+ _ACEOF
|
|
Karsten Hopp |
704e40 |
+ cat confdefs.h >>conftest.$ac_ext
|
|
Karsten Hopp |
704e40 |
+ cat >>conftest.$ac_ext <<_ACEOF
|
|
Karsten Hopp |
704e40 |
+ /* end confdefs.h. */
|
|
Karsten Hopp |
704e40 |
+ #include <sys/types.h>
|
|
Karsten Hopp |
704e40 |
+ /* Check that off_t can represent 2**63 - 1 correctly.
|
|
Karsten Hopp |
704e40 |
+ We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
|
Karsten Hopp |
704e40 |
+ since some C++ compilers masquerading as C compilers
|
|
Karsten Hopp |
704e40 |
+ incorrectly reject 9223372036854775807. */
|
|
Karsten Hopp |
704e40 |
+ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|
|
Karsten Hopp |
704e40 |
+ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
|
Karsten Hopp |
704e40 |
+ && LARGE_OFF_T % 2147483647 == 1)
|
|
Karsten Hopp |
704e40 |
+ ? 1 : -1];
|
|
Karsten Hopp |
704e40 |
+ int
|
|
Karsten Hopp |
704e40 |
+ main ()
|
|
Karsten Hopp |
704e40 |
+ {
|
|
Karsten Hopp |
704e40 |
+
|
|
Karsten Hopp |
704e40 |
+ ;
|
|
Karsten Hopp |
704e40 |
+ return 0;
|
|
Karsten Hopp |
704e40 |
+ }
|
|
Karsten Hopp |
704e40 |
+ _ACEOF
|
|
Karsten Hopp |
704e40 |
+ rm -f conftest.$ac_objext
|
|
Karsten Hopp |
704e40 |
+ if { (ac_try="$ac_compile"
|
|
Karsten Hopp |
704e40 |
+ case "(($ac_try" in
|
|
Karsten Hopp |
704e40 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
Karsten Hopp |
704e40 |
+ *) ac_try_echo=$ac_try;;
|
|
Karsten Hopp |
704e40 |
+ esac
|
|
Karsten Hopp |
704e40 |
+ eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
Karsten Hopp |
704e40 |
+ $as_echo "$ac_try_echo") >&5
|
|
Karsten Hopp |
704e40 |
+ (eval "$ac_compile") 2>conftest.er1
|
|
Karsten Hopp |
704e40 |
+ ac_status=$?
|
|
Karsten Hopp |
704e40 |
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
Karsten Hopp |
704e40 |
+ rm -f conftest.er1
|
|
Karsten Hopp |
704e40 |
+ cat conftest.err >&5
|
|
Karsten Hopp |
704e40 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
Karsten Hopp |
704e40 |
+ (exit $ac_status); } && {
|
|
Karsten Hopp |
704e40 |
+ test -z "$ac_c_werror_flag" ||
|
|
Karsten Hopp |
704e40 |
+ test ! -s conftest.err
|
|
Karsten Hopp |
704e40 |
+ } && test -s conftest.$ac_objext; then
|
|
Karsten Hopp |
704e40 |
+ break
|
|
Karsten Hopp |
704e40 |
+ else
|
|
Karsten Hopp |
704e40 |
+ $as_echo "$as_me: failed program was:" >&5
|
|
Karsten Hopp |
704e40 |
+ sed 's/^/| /' conftest.$ac_ext >&5
|
|
Karsten Hopp |
704e40 |
+
|
|
Karsten Hopp |
704e40 |
+
|
|
Karsten Hopp |
704e40 |
+ fi
|
|
Karsten Hopp |
704e40 |
+
|
|
Karsten Hopp |
704e40 |
+ rm -f core conftest.err conftest.$ac_objext
|
|
Karsten Hopp |
704e40 |
+ CC="$CC -n32"
|
|
Karsten Hopp |
704e40 |
+ rm -f conftest.$ac_objext
|
|
Karsten Hopp |
704e40 |
+ if { (ac_try="$ac_compile"
|
|
Karsten Hopp |
704e40 |
+ case "(($ac_try" in
|
|
Karsten Hopp |
704e40 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
Karsten Hopp |
704e40 |
+ *) ac_try_echo=$ac_try;;
|
|
Karsten Hopp |
704e40 |
+ esac
|
|
Karsten Hopp |
704e40 |
+ eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
Karsten Hopp |
704e40 |
+ $as_echo "$ac_try_echo") >&5
|
|
Karsten Hopp |
704e40 |
+ (eval "$ac_compile") 2>conftest.er1
|
|
Karsten Hopp |
704e40 |
+ ac_status=$?
|
|
Karsten Hopp |
704e40 |
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
Karsten Hopp |
704e40 |
+ rm -f conftest.er1
|
|
Karsten Hopp |
704e40 |
+ cat conftest.err >&5
|
|
Karsten Hopp |
704e40 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
Karsten Hopp |
704e40 |
+ (exit $ac_status); } && {
|
|
Karsten Hopp |
704e40 |
+ test -z "$ac_c_werror_flag" ||
|
|
Karsten Hopp |
704e40 |
+ test ! -s conftest.err
|
|
Karsten Hopp |
704e40 |
+ } && test -s conftest.$ac_objext; then
|
|
Karsten Hopp |
704e40 |
+ ac_cv_sys_largefile_CC=' -n32'; break
|
|
Karsten Hopp |
704e40 |
+ else
|
|
Karsten Hopp |
704e40 |
+ $as_echo "$as_me: failed program was:" >&5
|
|
Karsten Hopp |
704e40 |
+ sed 's/^/| /' conftest.$ac_ext >&5
|
|
Karsten Hopp |
704e40 |
+
|
|
Karsten Hopp |
704e40 |
+
|
|
Karsten Hopp |
704e40 |
+ fi
|
|
Karsten Hopp |
704e40 |
+
|
|
Karsten Hopp |
704e40 |
+ rm -f core conftest.err conftest.$ac_objext
|
|
Karsten Hopp |
704e40 |
+ break
|
|
Karsten Hopp |
704e40 |
+ done
|
|
Karsten Hopp |
704e40 |
+ CC=$ac_save_CC
|
|
Karsten Hopp |
704e40 |
+ rm -f conftest.$ac_ext
|
|
Karsten Hopp |
704e40 |
+ fi
|
|
Karsten Hopp |
704e40 |
+ fi
|
|
Karsten Hopp |
704e40 |
+ { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
|
|
Karsten Hopp |
704e40 |
+ $as_echo "$ac_cv_sys_largefile_CC" >&6; }
|
|
Karsten Hopp |
704e40 |
+ if test "$ac_cv_sys_largefile_CC" != no; then
|
|
Karsten Hopp |
704e40 |
+ CC=$CC$ac_cv_sys_largefile_CC
|
|
Karsten Hopp |
704e40 |
+ fi
|
|
Karsten Hopp |
704e40 |
+
|
|
Karsten Hopp |
704e40 |
+ { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
|
|
Karsten Hopp |
704e40 |
+ $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
|
|
Karsten Hopp |
704e40 |
+ if test "${ac_cv_sys_file_offset_bits+set}" = set; then
|
|
Karsten Hopp |
704e40 |
+ $as_echo_n "(cached) " >&6
|
|
Karsten Hopp |
704e40 |
+ else
|
|
Karsten Hopp |
704e40 |
+ while :; do
|
|
Karsten Hopp |
704e40 |
+ cat >conftest.$ac_ext <<_ACEOF
|
|
Karsten Hopp |
704e40 |
+ /* confdefs.h. */
|
|
Karsten Hopp |
704e40 |
+ _ACEOF
|
|
Karsten Hopp |
704e40 |
+ cat confdefs.h >>conftest.$ac_ext
|
|
Karsten Hopp |
704e40 |
+ cat >>conftest.$ac_ext <<_ACEOF
|
|
Karsten Hopp |
704e40 |
+ /* end confdefs.h. */
|
|
Karsten Hopp |
704e40 |
+ #include <sys/types.h>
|
|
Karsten Hopp |
704e40 |
+ /* Check that off_t can represent 2**63 - 1 correctly.
|
|
Karsten Hopp |
704e40 |
+ We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
|
Karsten Hopp |
704e40 |
+ since some C++ compilers masquerading as C compilers
|
|
Karsten Hopp |
704e40 |
+ incorrectly reject 9223372036854775807. */
|
|
Karsten Hopp |
704e40 |
+ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|
|
Karsten Hopp |
704e40 |
+ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
|
Karsten Hopp |
704e40 |
+ && LARGE_OFF_T % 2147483647 == 1)
|
|
Karsten Hopp |
704e40 |
+ ? 1 : -1];
|
|
Karsten Hopp |
704e40 |
+ int
|
|
Karsten Hopp |
704e40 |
+ main ()
|
|
Karsten Hopp |
704e40 |
+ {
|
|
Karsten Hopp |
704e40 |
+
|
|
Karsten Hopp |
704e40 |
+ ;
|
|
Karsten Hopp |
704e40 |
+ return 0;
|
|
Karsten Hopp |
704e40 |
+ }
|
|
Karsten Hopp |
704e40 |
+ _ACEOF
|
|
Karsten Hopp |
704e40 |
+ rm -f conftest.$ac_objext
|
|
Karsten Hopp |
704e40 |
+ if { (ac_try="$ac_compile"
|
|
Karsten Hopp |
704e40 |
+ case "(($ac_try" in
|
|
Karsten Hopp |
704e40 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
Karsten Hopp |
704e40 |
+ *) ac_try_echo=$ac_try;;
|
|
Karsten Hopp |
704e40 |
+ esac
|
|
Karsten Hopp |
704e40 |
+ eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
Karsten Hopp |
704e40 |
+ $as_echo "$ac_try_echo") >&5
|
|
Karsten Hopp |
704e40 |
+ (eval "$ac_compile") 2>conftest.er1
|
|
Karsten Hopp |
704e40 |
+ ac_status=$?
|
|
Karsten Hopp |
704e40 |
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
Karsten Hopp |
704e40 |
+ rm -f conftest.er1
|
|
Karsten Hopp |
704e40 |
+ cat conftest.err >&5
|
|
Karsten Hopp |
704e40 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
Karsten Hopp |
704e40 |
+ (exit $ac_status); } && {
|
|
Karsten Hopp |
704e40 |
+ test -z "$ac_c_werror_flag" ||
|
|
Karsten Hopp |
704e40 |
+ test ! -s conftest.err
|
|
Karsten Hopp |
704e40 |
+ } && test -s conftest.$ac_objext; then
|
|
Karsten Hopp |
704e40 |
+ ac_cv_sys_file_offset_bits=no; break
|
|
Karsten Hopp |
704e40 |
+ else
|
|
Karsten Hopp |
704e40 |
+ $as_echo "$as_me: failed program was:" >&5
|
|
Karsten Hopp |
704e40 |
+ sed 's/^/| /' conftest.$ac_ext >&5
|
|
Karsten Hopp |
704e40 |
+
|
|
Karsten Hopp |
704e40 |
+
|
|
Karsten Hopp |
704e40 |
+ fi
|
|
Karsten Hopp |
704e40 |
+
|
|
Karsten Hopp |
704e40 |
+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
Karsten Hopp |
704e40 |
+ cat >conftest.$ac_ext <<_ACEOF
|
|
Karsten Hopp |
704e40 |
+ /* confdefs.h. */
|
|
Karsten Hopp |
704e40 |
+ _ACEOF
|
|
Karsten Hopp |
704e40 |
+ cat confdefs.h >>conftest.$ac_ext
|
|
Karsten Hopp |
704e40 |
+ cat >>conftest.$ac_ext <<_ACEOF
|
|
Karsten Hopp |
704e40 |
+ /* end confdefs.h. */
|
|
Karsten Hopp |
704e40 |
+ #define _FILE_OFFSET_BITS 64
|
|
Karsten Hopp |
704e40 |
+ #include <sys/types.h>
|
|
Karsten Hopp |
704e40 |
+ /* Check that off_t can represent 2**63 - 1 correctly.
|
|
Karsten Hopp |
704e40 |
+ We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
|
Karsten Hopp |
704e40 |
+ since some C++ compilers masquerading as C compilers
|
|
Karsten Hopp |
704e40 |
+ incorrectly reject 9223372036854775807. */
|
|
Karsten Hopp |
704e40 |
+ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|
|
Karsten Hopp |
704e40 |
+ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
|
Karsten Hopp |
704e40 |
+ && LARGE_OFF_T % 2147483647 == 1)
|
|
Karsten Hopp |
704e40 |
+ ? 1 : -1];
|
|
Karsten Hopp |
704e40 |
+ int
|
|
Karsten Hopp |
704e40 |
+ main ()
|
|
Karsten Hopp |
704e40 |
+ {
|
|
Karsten Hopp |
704e40 |
+
|
|
Karsten Hopp |
704e40 |
+ ;
|
|
Karsten Hopp |
704e40 |
+ return 0;
|
|
Karsten Hopp |
704e40 |
+ }
|
|
Karsten Hopp |
704e40 |
+ _ACEOF
|
|
Karsten Hopp |
704e40 |
+ rm -f conftest.$ac_objext
|
|
Karsten Hopp |
704e40 |
+ if { (ac_try="$ac_compile"
|
|
Karsten Hopp |
704e40 |
+ case "(($ac_try" in
|
|
Karsten Hopp |
704e40 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
Karsten Hopp |
704e40 |
+ *) ac_try_echo=$ac_try;;
|
|
Karsten Hopp |
704e40 |
+ esac
|
|
Karsten Hopp |
704e40 |
+ eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
Karsten Hopp |
704e40 |
+ $as_echo "$ac_try_echo") >&5
|
|
Karsten Hopp |
704e40 |
+ (eval "$ac_compile") 2>conftest.er1
|
|
Karsten Hopp |
704e40 |
+ ac_status=$?
|
|
Karsten Hopp |
704e40 |
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
Karsten Hopp |
704e40 |
+ rm -f conftest.er1
|
|
Karsten Hopp |
704e40 |
+ cat conftest.err >&5
|
|
Karsten Hopp |
704e40 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
Karsten Hopp |
704e40 |
+ (exit $ac_status); } && {
|
|
Karsten Hopp |
704e40 |
+ test -z "$ac_c_werror_flag" ||
|
|
Karsten Hopp |
704e40 |
+ test ! -s conftest.err
|
|
Karsten Hopp |
704e40 |
+ } && test -s conftest.$ac_objext; then
|
|
Karsten Hopp |
704e40 |
+ ac_cv_sys_file_offset_bits=64; break
|
|
Karsten Hopp |
704e40 |
+ else
|
|
Karsten Hopp |
704e40 |
+ $as_echo "$as_me: failed program was:" >&5
|
|
Karsten Hopp |
704e40 |
+ sed 's/^/| /' conftest.$ac_ext >&5
|
|
Karsten Hopp |
704e40 |
+
|
|
Karsten Hopp |
704e40 |
+
|
|
Karsten Hopp |
704e40 |
+ fi
|
|
Karsten Hopp |
704e40 |
+
|
|
Karsten Hopp |
704e40 |
+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
Karsten Hopp |
704e40 |
+ ac_cv_sys_file_offset_bits=unknown
|
|
Karsten Hopp |
704e40 |
+ break
|
|
Karsten Hopp |
704e40 |
+ done
|
|
Karsten Hopp |
704e40 |
+ fi
|
|
Karsten Hopp |
704e40 |
+ { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
|
|
Karsten Hopp |
704e40 |
+ $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
|
|
Karsten Hopp |
704e40 |
+ case $ac_cv_sys_file_offset_bits in #(
|
|
Karsten Hopp |
704e40 |
+ no | unknown) ;;
|
|
Karsten Hopp |
704e40 |
+ *)
|
|
Karsten Hopp |
704e40 |
+ cat >>confdefs.h <<_ACEOF
|
|
Karsten Hopp |
704e40 |
+ #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
|
|
Karsten Hopp |
704e40 |
+ _ACEOF
|
|
Karsten Hopp |
704e40 |
+ ;;
|
|
Karsten Hopp |
704e40 |
+ esac
|
|
Karsten Hopp |
704e40 |
+ rm -rf conftest*
|
|
Karsten Hopp |
704e40 |
+ if test $ac_cv_sys_file_offset_bits = unknown; then
|
|
Karsten Hopp |
704e40 |
+ { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
|
|
Karsten Hopp |
704e40 |
+ $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
|
|
Karsten Hopp |
704e40 |
+ if test "${ac_cv_sys_large_files+set}" = set; then
|
|
Karsten Hopp |
704e40 |
+ $as_echo_n "(cached) " >&6
|
|
Karsten Hopp |
704e40 |
+ else
|
|
Karsten Hopp |
704e40 |
+ while :; do
|
|
Karsten Hopp |
704e40 |
+ cat >conftest.$ac_ext <<_ACEOF
|
|
Karsten Hopp |
704e40 |
+ /* confdefs.h. */
|
|
Karsten Hopp |
704e40 |
+ _ACEOF
|
|
Karsten Hopp |
704e40 |
+ cat confdefs.h >>conftest.$ac_ext
|
|
Karsten Hopp |
704e40 |
+ cat >>conftest.$ac_ext <<_ACEOF
|
|
Karsten Hopp |
704e40 |
+ /* end confdefs.h. */
|
|
Karsten Hopp |
704e40 |
+ #include <sys/types.h>
|
|
Karsten Hopp |
704e40 |
+ /* Check that off_t can represent 2**63 - 1 correctly.
|
|
Karsten Hopp |
704e40 |
+ We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
|
Karsten Hopp |
704e40 |
+ since some C++ compilers masquerading as C compilers
|
|
Karsten Hopp |
704e40 |
+ incorrectly reject 9223372036854775807. */
|
|
Karsten Hopp |
704e40 |
+ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|
|
Karsten Hopp |
704e40 |
+ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
|
Karsten Hopp |
704e40 |
+ && LARGE_OFF_T % 2147483647 == 1)
|
|
Karsten Hopp |
704e40 |
+ ? 1 : -1];
|
|
Karsten Hopp |
704e40 |
+ int
|
|
Karsten Hopp |
704e40 |
+ main ()
|
|
Karsten Hopp |
704e40 |
+ {
|
|
Karsten Hopp |
704e40 |
+
|
|
Karsten Hopp |
704e40 |
+ ;
|
|
Karsten Hopp |
704e40 |
+ return 0;
|
|
Karsten Hopp |
704e40 |
+ }
|
|
Karsten Hopp |
704e40 |
+ _ACEOF
|
|
Karsten Hopp |
704e40 |
+ rm -f conftest.$ac_objext
|
|
Karsten Hopp |
704e40 |
+ if { (ac_try="$ac_compile"
|
|
Karsten Hopp |
704e40 |
+ case "(($ac_try" in
|
|
Karsten Hopp |
704e40 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
Karsten Hopp |
704e40 |
+ *) ac_try_echo=$ac_try;;
|
|
Karsten Hopp |
704e40 |
+ esac
|
|
Karsten Hopp |
704e40 |
+ eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
Karsten Hopp |
704e40 |
+ $as_echo "$ac_try_echo") >&5
|
|
Karsten Hopp |
704e40 |
+ (eval "$ac_compile") 2>conftest.er1
|
|
Karsten Hopp |
704e40 |
+ ac_status=$?
|
|
Karsten Hopp |
704e40 |
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
Karsten Hopp |
704e40 |
+ rm -f conftest.er1
|
|
Karsten Hopp |
704e40 |
+ cat conftest.err >&5
|
|
Karsten Hopp |
704e40 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
Karsten Hopp |
704e40 |
+ (exit $ac_status); } && {
|
|
Karsten Hopp |
704e40 |
+ test -z "$ac_c_werror_flag" ||
|
|
Karsten Hopp |
704e40 |
+ test ! -s conftest.err
|
|
Karsten Hopp |
704e40 |
+ } && test -s conftest.$ac_objext; then
|
|
Karsten Hopp |
704e40 |
+ ac_cv_sys_large_files=no; break
|
|
Karsten Hopp |
704e40 |
+ else
|
|
Karsten Hopp |
704e40 |
+ $as_echo "$as_me: failed program was:" >&5
|
|
Karsten Hopp |
704e40 |
+ sed 's/^/| /' conftest.$ac_ext >&5
|
|
Karsten Hopp |
704e40 |
+
|
|
Karsten Hopp |
704e40 |
+
|
|
Karsten Hopp |
704e40 |
+ fi
|
|
Karsten Hopp |
704e40 |
+
|
|
Karsten Hopp |
704e40 |
+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
Karsten Hopp |
704e40 |
+ cat >conftest.$ac_ext <<_ACEOF
|
|
Karsten Hopp |
704e40 |
+ /* confdefs.h. */
|
|
Karsten Hopp |
704e40 |
+ _ACEOF
|
|
Karsten Hopp |
704e40 |
+ cat confdefs.h >>conftest.$ac_ext
|
|
Karsten Hopp |
704e40 |
+ cat >>conftest.$ac_ext <<_ACEOF
|
|
Karsten Hopp |
704e40 |
+ /* end confdefs.h. */
|
|
Karsten Hopp |
704e40 |
+ #define _LARGE_FILES 1
|
|
Karsten Hopp |
704e40 |
+ #include <sys/types.h>
|
|
Karsten Hopp |
704e40 |
+ /* Check that off_t can represent 2**63 - 1 correctly.
|
|
Karsten Hopp |
704e40 |
+ We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
|
Karsten Hopp |
704e40 |
+ since some C++ compilers masquerading as C compilers
|
|
Karsten Hopp |
704e40 |
+ incorrectly reject 9223372036854775807. */
|
|
Karsten Hopp |
704e40 |
+ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|
|
Karsten Hopp |
704e40 |
+ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
|
Karsten Hopp |
704e40 |
+ && LARGE_OFF_T % 2147483647 == 1)
|
|
Karsten Hopp |
704e40 |
+ ? 1 : -1];
|
|
Karsten Hopp |
704e40 |
+ int
|
|
Karsten Hopp |
704e40 |
+ main ()
|
|
Karsten Hopp |
704e40 |
+ {
|
|
Karsten Hopp |
704e40 |
+
|
|
Karsten Hopp |
704e40 |
+ ;
|
|
Karsten Hopp |
704e40 |
+ return 0;
|
|
Karsten Hopp |
704e40 |
+ }
|
|
Karsten Hopp |
704e40 |
+ _ACEOF
|
|
Karsten Hopp |
704e40 |
+ rm -f conftest.$ac_objext
|
|
Karsten Hopp |
704e40 |
+ if { (ac_try="$ac_compile"
|
|
Karsten Hopp |
704e40 |
+ case "(($ac_try" in
|
|
Karsten Hopp |
704e40 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
Karsten Hopp |
704e40 |
+ *) ac_try_echo=$ac_try;;
|
|
Karsten Hopp |
704e40 |
+ esac
|
|
Karsten Hopp |
704e40 |
+ eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
Karsten Hopp |
704e40 |
+ $as_echo "$ac_try_echo") >&5
|
|
Karsten Hopp |
704e40 |
+ (eval "$ac_compile") 2>conftest.er1
|
|
Karsten Hopp |
704e40 |
+ ac_status=$?
|
|
Karsten Hopp |
704e40 |
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
Karsten Hopp |
704e40 |
+ rm -f conftest.er1
|
|
Karsten Hopp |
704e40 |
+ cat conftest.err >&5
|
|
Karsten Hopp |
704e40 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
Karsten Hopp |
704e40 |
+ (exit $ac_status); } && {
|
|
Karsten Hopp |
704e40 |
+ test -z "$ac_c_werror_flag" ||
|
|
Karsten Hopp |
704e40 |
+ test ! -s conftest.err
|
|
Karsten Hopp |
704e40 |
+ } && test -s conftest.$ac_objext; then
|
|
Karsten Hopp |
704e40 |
+ ac_cv_sys_large_files=1; break
|
|
Karsten Hopp |
704e40 |
+ else
|
|
Karsten Hopp |
704e40 |
+ $as_echo "$as_me: failed program was:" >&5
|
|
Karsten Hopp |
704e40 |
+ sed 's/^/| /' conftest.$ac_ext >&5
|
|
Karsten Hopp |
704e40 |
+
|
|
Karsten Hopp |
704e40 |
+
|
|
Karsten Hopp |
704e40 |
+ fi
|
|
Karsten Hopp |
704e40 |
+
|
|
Karsten Hopp |
704e40 |
+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
Karsten Hopp |
704e40 |
+ ac_cv_sys_large_files=unknown
|
|
Karsten Hopp |
704e40 |
+ break
|
|
Karsten Hopp |
704e40 |
+ done
|
|
Karsten Hopp |
704e40 |
+ fi
|
|
Karsten Hopp |
704e40 |
+ { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
|
|
Karsten Hopp |
704e40 |
+ $as_echo "$ac_cv_sys_large_files" >&6; }
|
|
Karsten Hopp |
704e40 |
+ case $ac_cv_sys_large_files in #(
|
|
Karsten Hopp |
704e40 |
+ no | unknown) ;;
|
|
Karsten Hopp |
704e40 |
+ *)
|
|
Karsten Hopp |
704e40 |
+ cat >>confdefs.h <<_ACEOF
|
|
Karsten Hopp |
704e40 |
+ #define _LARGE_FILES $ac_cv_sys_large_files
|
|
Karsten Hopp |
704e40 |
+ _ACEOF
|
|
Karsten Hopp |
704e40 |
+ ;;
|
|
Karsten Hopp |
704e40 |
+ esac
|
|
Karsten Hopp |
704e40 |
+ rm -rf conftest*
|
|
Karsten Hopp |
704e40 |
+ fi
|
|
Karsten Hopp |
704e40 |
+ fi
|
|
Karsten Hopp |
704e40 |
+
|
|
Karsten Hopp |
704e40 |
+
|
|
Karsten Hopp |
704e40 |
{ $as_echo "$as_me:$LINENO: checking for st_blksize" >&5
|
|
Karsten Hopp |
704e40 |
$as_echo_n "checking for st_blksize... " >&6; }
|
|
Karsten Hopp |
704e40 |
cat >conftest.$ac_ext <<_ACEOF
|
|
Karsten Hopp |
704e40 |
*** ../vim-7.2.412/src/version.c 2010-05-07 15:51:59.000000000 +0200
|
|
Karsten Hopp |
704e40 |
--- src/version.c 2010-05-07 16:04:29.000000000 +0200
|
|
Karsten Hopp |
704e40 |
***************
|
|
Karsten Hopp |
704e40 |
*** 683,684 ****
|
|
Karsten Hopp |
704e40 |
--- 683,686 ----
|
|
Karsten Hopp |
704e40 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
704e40 |
+ /**/
|
|
Karsten Hopp |
704e40 |
+ 413,
|
|
Karsten Hopp |
704e40 |
/**/
|
|
Karsten Hopp |
704e40 |
|
|
Karsten Hopp |
704e40 |
--
|
|
Karsten Hopp |
704e40 |
How To Keep A Healthy Level Of Insanity:
|
|
Karsten Hopp |
704e40 |
2. Page yourself over the intercom. Don't disguise your voice.
|
|
Karsten Hopp |
704e40 |
|
|
Karsten Hopp |
704e40 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
704e40 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
704e40 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
704e40 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|