~ken-vandine/gdm/ubuntu_transition_from_lightdm

« back to all changes in this revision

Viewing changes to debian/patches/16_xserver_path.patch

  • Committer: Jeremy Bicha
  • Date: 2017-04-26 11:02:52 UTC
  • Revision ID: jbicha@ubuntu.com-20170426110252-of979orglkl75xgt
Tags: 3.24.1-0ubuntu1
Update to current artful package

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: b/configure.ac
 
2
===================================================================
 
3
--- a/configure.ac
 
4
+++ b/configure.ac
 
5
@@ -1196,7 +1196,10 @@
 
6
 # and /usr/X11 since they often symlink to each other, and configure
 
7
 # should use the more stable location (the real directory) if possible.
 
8
 #
 
9
-if test -x /usr/bin/X; then
 
10
+if test -n "$X_PATH"; then
 
11
+   # assume the user set these variables and don't second-guess them.
 
12
+   true
 
13
+elif test -x /usr/bin/X; then
 
14
    X_PATH="/usr/bin"
 
15
    X_SERVER_PATH="/usr/bin"
 
16
    X_SERVER="/usr/bin/X"