[syslog-ng] [PATCH] configure.in: Fix --without-compile-date.
Gergely Nagy
algernon at balabit.hu
Sat Sep 10 21:20:13 CEST 2011
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 at balabit.hu>
Signed-off-by: Gergely Nagy <algernon at 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
More information about the syslog-ng
mailing list