Honor SOURCE_DATE_EPOCH when exporting configuraton date. Remove unreproducible configuration data. --- a/configure +++ b/configure @@ -23169,7 +23169,14 @@ ## Configuration date - CONFIG_DATE="`date`" + CONFIG_DATE="`date -u`" +if test -n "$SOURCE_DATE_EPOCH"; then + CONFIG_DATE=`date -u -d "@$SOURCE_DATE_EPOCH" 2>/dev/null \ + || date -u -r "$SOURCE_DATE_EPOCH" 2>/dev/null` + if test -z "$CONFIG_DATE"; then + as_fn_error $? "malformed SOURCE_DATE_EPOCH" "$LINENO" 5 + fi +fi ## User doing the configuration CONFIG_USER="`whoami`@`hostname`" --- a/libhdf4.settings.in +++ b/libhdf4.settings.in @@ -5,17 +5,17 @@ ------------------- HDF4 Version: @H4_VERSION@ Configured on: @CONFIG_DATE@ - Configured by: @CONFIG_USER@ + Configured by: guix Configure mode: @CONFIG_MODE@ - Host system: @host_cpu@-@host_vendor@-@host_os@ - Uname information: @UNAME_INFO@ + Host system: guix + Uname information: guix Libraries: @STATIC_SHARED@ Installation point: @prefix@ Compiling Options: ------------------ Compilation Mode: @CONFIG_MODE@ - C compiler: @CC_VERSION@ + C compiler: CFLAGS: @CFLAGS@ CPPFLAGS: @CPPFLAGS@ Shared Libraries: @enable_shared@ @@ -29,7 +29,7 @@ Languages: ---------- Fortran: @BUILD_FORTRAN@ -@HDF_BUILD_FORTRAN_TRUE@ Fortran Compiler: @F77_VERSION@ +@HDF_BUILD_FORTRAN_TRUE@ Fortran Compiler: @HDF_BUILD_FORTRAN_TRUE@ FFLAGS: @FFLAGS@ Features: