[PATCH] configure: use backticks rather than $() for command substitution
Gaetan Nadon
memsize at videotron.ca
Sun Dec 20 18:16:49 PST 2009
This increases code portability to non POSIX systems.
Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
configure.ac | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index fe28a07..531c1c2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2073,9 +2073,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"
--
1.6.0.4
--Boundary_(ID_ceAWRC21+DYgc+7NouFmmQ)--
More information about the xorg-devel
mailing list