[PATCH] Fix X11 detection on GNU/Linux

François Revol <[email protected]> Fri, 21 Apr 2017 16:19:07 +0200
Newsgroups gmane.editors.qemacs.devel
Message-ID <[email protected]>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 5dcabb7..02c694b 100755
--- a/configure
+++ b/configure
@@ -170,7 +170,7 @@ if test -f "/usr/include/png.h" ; then
     png="yes"
 fi
 
-for x11path in /usr/include/X11 /opt/X11 /usr/X11R6; do
+for x11path in /usr /opt/X11 /usr/X11R6; do
     if test -f "$x11path/include/X11/Xlib.h" ; then
         x11="yes"
         x11_libdir="$x11path/lib"
-- 
2.11.0