Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame] | 1 | configure.ac: override CONFIGURE_LINE |
| 2 | |
| 3 | For reproducible binaries, we need to report a constant CONFIGURE_LINE. |
Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame] | 4 | |
Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 5 | Upstream-Status: Pending |
Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame] | 6 | |
| 7 | Signed-off-by: Joe Slater <joe.slater@windriver.com> |
| 8 | |
| 9 | |
| 10 | --- git.orig/configure.ac |
| 11 | +++ git/configure.ac |
Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 12 | @@ -15,7 +15,15 @@ AC_PREREQ(2.69) |
Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame] | 13 | ################################################################################ |
| 14 | dnl -- Process this file with autoconf to produce a configure script. |
| 15 | AC_INIT |
| 16 | -CONFIGURE_LINE="$0 $@" |
Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 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 |
Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame] | 25 | + |
| 26 | AC_CONFIG_SRCDIR([lib/device/dev-cache.h]) |
| 27 | AC_CONFIG_HEADERS([include/configure.h]) |
| 28 | |