diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2010-01-08 19:04:25 -0500 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-01-19 17:35:04 +1300 |
commit | 08c2df881d61fccfd488b5ca4482686a7f3b47c0 (patch) | |
tree | bbd13ee3bb83cc3257bb0f2c507648eeef9fd21c | |
parent | b7e903526c28eb4d5368d916708ff30486e94319 (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>
(cherry picked from commit 6313d2da6c6910827d68cf31fe00b46a34c5bfc7)
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index c564cf983..e16eb9028 100644 --- a/configure.ac +++ b/configure.ac @@ -2020,9 +2020,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" |