From 5cbec267b6426960c90f6bcff1d051af5084538c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Mon, 11 Jun 2007 12:38:41 +0200 Subject: [PATCH] Make sure BUILD_TIME doesn't have a leading zero. It causes the compiler to treat it as an octal constant instead of decimal as intended, which could even cause a build failure in the cases of 08 and 09. Thanks to Clark Rawlins for pointing out the problem. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index ad934a211..0fd473ad8 100644 --- a/configure.ac +++ b/configure.ac @@ -1948,7 +1948,7 @@ AM_CONDITIONAL(SUN_KBD_MODE, [test x$KBD_MODE_TYPE = xsun]) BUILD_DATE="$(date +'%Y%m%d')" AC_SUBST([BUILD_DATE]) -BUILD_TIME="$(date +'%H%M%S')" +BUILD_TIME="$(date +'%k%M%S')" AC_SUBST([BUILD_TIME]) DIX_CFLAGS="-DHAVE_DIX_CONFIG_H $XSERVER_CFLAGS"