summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2007-03-01 09:50:38 +0000
committerChris Wilson <cpwilson@src.gnome.org>2007-03-01 09:50:38 +0000
commitfb8c66adab006dc51567dc043ad4d3a9471872a3 (patch)
treedb216e6c66f49946999353e36050664c0d8f9458
parente76f76be61f5c533e54c0820361765437ef75b8e (diff)
downloadvte-fb8c66adab006dc51567dc043ad4d3a9471872a3.tar.gz
Fix X11 headers / libraries detection on bi-arch systems. Patch by
2007-03-01 Chris Wilson <chris@chris-wilson.co.uk> Fix X11 headers / libraries detection on bi-arch systems. Patch by Frederic Crozat. * configure.in: Check for x_includes before ac_x_includes, and similary for ac_x_libraries. svn path=/trunk/; revision=1788
-rw-r--r--ChangeLog9
-rw-r--r--configure.in6
2 files changed, 14 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 62aeab14..eed487cb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
2007-03-01 Chris Wilson <chris@chris-wilson.co.uk>
+ Fix X11 headers / libraries detection on bi-arch systems.
+ Patch by Frederic Crozat.
+
+ * configure.in:
+ Check for x_includes before ac_x_includes, and similary for
+ ac_x_libraries.
+
+2007-03-01 Chris Wilson <chris@chris-wilson.co.uk>
+
Bug 410534 – Slow content scrolling, takes 100% of CPU.
* src/vtexft.c:
diff --git a/configure.in b/configure.in
index 22b22685..cff9d17f 100644
--- a/configure.in
+++ b/configure.in
@@ -185,11 +185,15 @@ fi
# the list of libraries for grins.
AC_PATH_XTRA([X11], [X11/Xlib.h], [XFlush(NULL)])
if test "$have_x" = yes ; then
- if test -d "$ac_x_includes" ; then
+ if test -d "$x_includes" ; then
+ X_CFLAGS="-I$x_includes $X_CFLAGS"
+ elif test -d "$ac_x_includes" ; then
X_CFLAGS="-I$ac_x_includes $X_CFLAGS"
fi
X_LIBS="$X_PRE_LIBS $X_LIBS -lX11 $X_EXTRA_LIBS"
if test -d "$ac_x_libraries" ; then
+ X_LIBS="-L$x_libraries $X_LIBS"
+ elif test -d "$ac_x_libraries" ; then
X_LIBS="-L$ac_x_libraries $X_LIBS"
fi
fi