gnuastro-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuastro-commits] master f25e222: Configure date and time no longer kep


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master f25e222: Configure date and time no longer kept or written
Date: Fri, 18 Nov 2016 16:36:29 +0000 (UTC)

branch: master
commit f25e2221b6d0e56d01947220fb26c8aff65433ab
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>

    Configure date and time no longer kept or written
    
    From Debian's reproducible builds reports, apparently the only
    reproducibility problem in Gnuastro is the configure date and time that is
    recorded at configure time and passed to all the executables.
    
    With all other things being equal (same tar-ball, same dependencies and
    etc), the configuration time is completely arbitary/irrelevant and since
    Gnuastro was first started, I haven't found myself actually paying any
    attention to it or wanting to use it. So I feel it is good to remove it
    with the benefit of having a reproducible build.
---
 configure.ac      |   12 ------------
 lib/configfiles.h |    1 -
 2 files changed, 13 deletions(-)

diff --git a/configure.ac b/configure.ac
index 3666215..96b884d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -182,18 +182,6 @@ AM_CONDITIONAL([COND_HASHELP2MAN], [test "x$has_help2man" 
= "xyes"])
 
 
 
-# Read the configuration date.
-AC_MSG_CHECKING([for date of compilation])
-AC_DEFINE_UNQUOTED([CONFIGDATE], ["`date +"%d %B %Y"`"],
-                   [Date of compilation])
-AC_DEFINE_UNQUOTED([CONFIGTIME], ["`date +"%H:%M"`"],
-                   [Time of compilation])
-AC_MSG_RESULT([done])
-
-
-
-
-
 
 
 # Check libjpeg:
diff --git a/lib/configfiles.h b/lib/configfiles.h
index 1dfba5d..51ead50 100644
--- a/lib/configfiles.h
+++ b/lib/configfiles.h
@@ -176,7 +176,6 @@ __BEGIN_C_DECLS  /* From C++ preparations */
 
 #define GAL_CONFIGFILES_REPORT_PARAMETERS_SET {                         \
     fprintf(stdout, "# "SPACK_STRING"\n");                              \
-    fprintf(stdout, "# Configured on "CONFIGDATE" at "CONFIGTIME"\n");  \
     fprintf(stdout, "# Written on %s", ctime(&p->rawtime));             \
     printvalues(stdout, p);                                             \
     exit(EXIT_SUCCESS);                                                 \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]