1configure.ac:  override CONFIGURE_LINE
2
3For reproducible binaries, we need to report a constant CONFIGURE_LINE.
4
5Upstream-Status: Pending
6
7Signed-off-by: Joe Slater <joe.slater@windriver.com>
8
9
10--- git.orig/configure.ac
11+++ git/configure.ac
12@@ -15,7 +15,15 @@ AC_PREREQ(2.69)
13 ################################################################################
14 dnl -- Process this file with autoconf to produce a configure script.
15 AC_INIT
16-CONFIGURE_LINE="$0 $@"
17+
18+dnl per reproducible-builds.org check SOURCE_DATE_EPOCH
19+dnl
20+if test -z "${SOURCE_DATE_EPOCH+set}" ; then
21+    CONFIGURE_LINE="$0 $@"
22+else
23+    CONFIGURE_LINE="configure options are not available for reproducible builds"
24+fi
25+
26 AC_CONFIG_SRCDIR([lib/device/dev-cache.h])
27 AC_CONFIG_HEADERS([include/configure.h])
28
29