[PATCH] configure.in: Fix --without-compile-date.
The option forgot to properly set the supplied value, and thus, always resulted in compile date being enabled. This patch corrects that. Reported-By: Peter Czanik <czanik@balabit.hu> Signed-off-by: Gergely Nagy <algernon@balabit.hu> --- configure.in | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/configure.in b/configure.in index 36da2c0..2efc397 100644 --- a/configure.in +++ b/configure.in @@ -187,7 +187,8 @@ AC_ARG_ENABLE(systemd, AC_ARG_WITH(compile-date, [ --without-compile-date Do not include the compile date in the binary] - ,, wcmp_date="1") + ,wcmp_date="${withval}", wcmp_date="yes") + if test "x$wcmp_date" != "xno"; then wcmp_date="1" else -- 1.7.5.4
Thanks, applied to master. On Sat, 2011-09-10 at 21:20 +0200, Gergely Nagy wrote:
The option forgot to properly set the supplied value, and thus, always resulted in compile date being enabled. This patch corrects that.
Reported-By: Peter Czanik <czanik@balabit.hu> Signed-off-by: Gergely Nagy <algernon@balabit.hu>
-- Bazsi
participants (2)
-
Balazs Scheidler
-
Gergely Nagy