aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorJeff Smith <[email protected]>2010-03-12 18:55:09 -0600
committerDan Nicholson <[email protected]>2010-03-13 11:42:24 -0800
commit8d86d395dcf6a5f192b6987485bb7aef49f1fefc (patch)
tree63e097b1d9fda1848c5ef299ffb48b227b318734 /configure.ac
parent392d37609d85f42bf5fbcecbc285857e8ed265e5 (diff)
Use X_LIBS from pkg-config, instead of libdir, for locating libX11
Signed-off-by: Jeff Smith <[email protected]> Signed-off-by: Dan Nicholson <[email protected]>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index ed47f428c9e..35fbcd9d85b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -547,7 +547,9 @@ else
x11_pkgconfig=no
fi
dnl Use the autoconf macro if no pkg-config files
-if test "$x11_pkgconfig" = no; then
+if test "$x11_pkgconfig" = yes; then
+ PKG_CHECK_MODULES([X], [x11])
+else
AC_PATH_XTRA
fi