diff options
author | Ray Strode <rstrode@redhat.com> | 2016-10-04 11:16:01 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2016-10-12 13:56:22 -0400 |
commit | 1c1a6974cf3a3a9740f30ce7395543c6b5d45930 (patch) | |
tree | 3fc9133251842027da63933c85bb20c7ba6a0c21 | |
parent | 3d2aa559a4a7decc8b6568de6b41cf9f94170613 (diff) | |
download | gdm-1c1a6974cf3a3a9740f30ce7395543c6b5d45930.tar.gz |
configure: use /usr/bin/X instead of /usr/bin/Xorg by default
https://bugzilla.gnome.org/show_bug.cgi?id=772319
-rw-r--r-- | configure.ac | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index a61be000..99a6540d 100644 --- a/configure.ac +++ b/configure.ac @@ -1196,7 +1196,11 @@ dnl --------------------------------------------------------------------------- # and /usr/X11 since they often symlink to each other, and configure # should use the more stable location (the real directory) if possible. # -if test -x /usr/X11/bin/Xserver; then +if test -x /usr/bin/X; then + X_PATH="/usr/bin" + X_SERVER_PATH="/usr/bin" + X_SERVER="/usr/bin/X" +elif test -x /usr/X11/bin/Xserver; then X_PATH="/usr/X11/bin" X_SERVER_PATH="/usr/X11/bin" X_SERVER="/usr/X11/bin/Xserver" @@ -1231,10 +1235,6 @@ elif test -x /opt/X11R6/bin/X; then X_PATH="/opt/X11R6/bin" X_SERVER_PATH="/opt/X11R6/bin" X_SERVER="/opt/X11R6/bin/X" -elif test -x /usr/bin/X; then - X_PATH="/usr/bin" - X_SERVER_PATH="/usr/bin" - X_SERVER="/usr/bin/X" else # what to do, what to do, this is wrong, but this just sets the # defaults, perhaps this user is cross compiling or some such |