comparison src/auto/configure @ 20713:5ddd4df27068 v8.2.0910

patch 8.2.0910: Vim is not reproducibly buildable Commit: https://github.com/vim/vim/commit/8f1dde5021d9623a951d1ccbc78cf1b1a55ccd7a Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jun 5 23:16:29 2020 +0200 patch 8.2.0910: Vim is not reproducibly buildable Problem: Vim is not reproducibly buildable. Solution: Use the $SOURCE_DATE_EPOCH environment variable in configure. (James McCoy, closes #513) Give a warning about using it.
author Bram Moolenaar <Bram@vim.org>
date Fri, 05 Jun 2020 23:30:04 +0200
parents 4411c2b96af9
children 69055d27e85e
comparison
equal deleted inserted replaced
20712:f65c7bc846b2 20713:5ddd4df27068
719 OS_EXTRA_OBJ 719 OS_EXTRA_OBJ
720 OS_EXTRA_SRC 720 OS_EXTRA_SRC
721 XCODE_SELECT 721 XCODE_SELECT
722 CPP_MM 722 CPP_MM
723 CROSS_COMPILING 723 CROSS_COMPILING
724 BUILD_DATE_MSG
724 STRIP 725 STRIP
725 AWK 726 AWK
726 FGREP 727 FGREP
727 EGREP 728 EGREP
728 GREP 729 GREP
4453 as_fn_error $? "Compiler does not support C++ comments 4454 as_fn_error $? "Compiler does not support C++ comments
4454 See \`config.log' for more details" "$LINENO" 5; } 4455 See \`config.log' for more details" "$LINENO" 5; }
4455 fi 4456 fi
4456 fi 4457 fi
4457 4458
4459 if test -n "$SOURCE_DATE_EPOCH"; then
4460 DATE_FMT="%b %d %Y %H:%M:%S"
4461 BUILD_DATE=$(LC_ALL=C date -u -d "@$SOURCE_DATE_EPOCH" "+$DATE_FMT" 2>/dev/null || LC_ALL=C date -u -r "$SOURCE_DATE_EPOCH" "+$DATE_FMT" 2>/dev/null || LC_ALL=C date -u "+$DATE_FMT")
4462 cat >>confdefs.h <<_ACEOF
4463 #define BUILD_DATE "$BUILD_DATE"
4464 _ACEOF
4465
4466 BUILD_DATE_MSG=-"echo -e '=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\nNOTE: build date/time is fixed: $BUILD_DATE\n=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-='"
4467
4468 fi
4469
4458 4470
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking --enable-fail-if-missing argument" >&5 4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking --enable-fail-if-missing argument" >&5
4460 $as_echo_n "checking --enable-fail-if-missing argument... " >&6; } 4472 $as_echo_n "checking --enable-fail-if-missing argument... " >&6; }
4461 # Check whether --enable-fail_if_missing was given. 4473 # Check whether --enable-fail_if_missing was given.
4462 if test "${enable_fail_if_missing+set}" = set; then : 4474 if test "${enable_fail_if_missing+set}" = set; then :