[PATCH] configure.ac: use backticks rather than $() for cmd subs

Gaetan Nadon memsize at videotron.ca
Tue Dec 15 18:37:43 PST 2009


Use "$PKG_CONFIG" rather than hard coded "pkg-config"

Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 2d20cdc..4e63006 100644
--- a/configure.ac
+++ b/configure.ac
@@ -95,7 +95,7 @@ XORG_DRIVER_CHECK_EXT(XINPUT, inputproto)
 
 # Checks for pkg-config packages
 PKG_CHECK_MODULES(XORG, xorg-server xproto $REQUIRED_MODULES)
-sdkdir=$(pkg-config --variable=sdkdir xorg-server)
+sdkdir=`$PKG_CONFIG --variable=sdkdir xorg-server`
 AC_SUBST([sdkdir])
 
 PKG_CHECK_MODULES(XORG16, [xorg-server >= 1.6],
-- 
1.6.0.4


--Boundary_(ID_FjvbLPooI2PIHbXaS/kIaA)--


More information about the xorg-devel mailing list