summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2010-01-08 19:04:25 -0500
committerKeith Packard <keithp@keithp.com>2010-01-08 16:12:00 -0800
commit6313d2da6c6910827d68cf31fe00b46a34c5bfc7 (patch)
tree56494d793fd5a8256636308f01afcaf23f0ab558
parent74ab27f64a747ee45810f99cdc6e29b82cf8035e (diff)
configure: use backticks rather than $() for commands
This patch to xserver configure.ac is to increase code portability to non POSIX system by using backticks rather than $() for command substitution for BUILD_DATE and BUILD_TIME. Reviewed-by: RĂ©mi Cardona <remi@gentoo.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index e0ddd48f2..92dd8a4ec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2112,9 +2112,9 @@ AC_TRY_COMPILE([
AC_DEFINE_DIR(PROJECTROOT, prefix, [Overall prefix])
-BUILD_DATE="$(date +'%Y%m%d')"
+BUILD_DATE="`date +'%Y%m%d'`"
AC_SUBST([BUILD_DATE])
-BUILD_TIME="$(date +'1%H%M%S')"
+BUILD_TIME="`date +'1%H%M%S'`"
AC_SUBST([BUILD_TIME])
DIX_CFLAGS="-DHAVE_DIX_CONFIG_H $XSERVER_CFLAGS"