aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gnome/gdm-2.26.1/cross-xdetection.diff
diff options
context:
space:
mode:
authorSteve Sakoman <steve@sakoman.com>2009-08-12 12:28:51 -0700
committerKoen Kooi <koen@openembedded.org>2009-08-12 23:09:23 +0200
commit3cf083349c96eea98bf91a0cf9e362ed5b342aa3 (patch)
tree5bdb8b639d950aff2887f60a286c9cc2f18a26ae /recipes/gnome/gdm-2.26.1/cross-xdetection.diff
parent99fe4c90c40584d0d394b497243d789724b1d95a (diff)
downloadopenembedded-3cf083349c96eea98bf91a0cf9e362ed5b342aa3.tar.gz
gdm: add 2.6.21
Diffstat (limited to 'recipes/gnome/gdm-2.26.1/cross-xdetection.diff')
-rw-r--r--recipes/gnome/gdm-2.26.1/cross-xdetection.diff66
1 files changed, 66 insertions, 0 deletions
diff --git a/recipes/gnome/gdm-2.26.1/cross-xdetection.diff b/recipes/gnome/gdm-2.26.1/cross-xdetection.diff
new file mode 100644
index 0000000000..150f79763a
--- /dev/null
+++ b/recipes/gnome/gdm-2.26.1/cross-xdetection.diff
@@ -0,0 +1,66 @@
+--- gdm-2.26.1/configure.ac-orig 2009-03-16 12:50:10.000000000 -0700
++++ gdm-2.26.1/configure.ac 2009-06-12 16:40:40.000000000 -0700
+@@ -1085,62 +1085,10 @@ 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
+- X_PATH="/usr/X11/bin"
+- X_SERVER_PATH="/usr/X11/bin"
+- X_SERVER="/usr/X11/bin/Xserver"
+- X_CONFIG_OPTIONS="-audit 0"
+-elif test ! -h /usr/X11R6 -a -x /usr/X11R6/bin/X; then
+- X_PATH="/usr/X11R6/bin"
+- X_SERVER_PATH="/usr/X11R6/bin"
+- X_SERVER="/usr/X11R6/bin/X"
+- X_CONFIG_OPTIONS="-audit 0"
+-elif test ! -h /usr/X11 -a -x /usr/X11/bin/X; then
+- X_PATH="/usr/X11/bin"
+- X_SERVER_PATH="/usr/X11/bin"
+- X_SERVER="/usr/X11/bin/X"
+- X_CONFIG_OPTIONS="-audit 0"
+-elif test -x /usr/X11R6/bin/X; then
+- X_PATH="/usr/X11R6/bin"
+- X_SERVER_PATH="/usr/X11R6/bin"
+- X_SERVER="/usr/X11R6/bin/X"
+- X_CONFIG_OPTIONS="-audit 0"
+-elif test -x /usr/bin/Xorg; then
+- X_PATH="/usr/bin"
+- X_SERVER_PATH="/usr/bin"
+- X_SERVER="/usr/bin/Xorg"
+- X_CONFIG_OPTIONS="-audit 0"
+-elif test -x /usr/X11/bin/X; then
+- X_PATH="/usr/X11/bin"
+- X_SERVER_PATH="/usr/X11/bin"
+- X_SERVER="/usr/X11/bin/X"
+- X_CONFIG_OPTIONS="-audit 0"
+-elif test -x /usr/openwin/bin/Xsun; then
+- # Do not add /usr/openwin/bin here because on Solaris you need
+- # /usr/openwin/bin in your PATH even if you are using the Xorg
+- # Xserver. We add this to the path below.
+- X_PATH="/usr/openwin/bin"
+- X_SERVER_PATH="/usr/openwin/bin"
+- X_SERVER="/usr/openwin/bin/Xsun"
+- X_CONFIG_OPTIONS="-audit 0 -nobanner"
+-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"
+- X_CONFIG_OPTIONS="-audit 0"
+-elif test -x /usr/bin/X; then
+ X_PATH="/usr/bin"
+ X_SERVER_PATH="/usr/bin"
+- X_SERVER="/usr/bin/X"
++ X_SERVER="/usr/bin/X"
+ X_CONFIG_OPTIONS="-audit 0"
+-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
+- X_PATH="/usr/bin/X11:/usr/X11R6/bin:/opt/X11R6/bin"
+- X_SERVER_PATH="/usr/X11R6/bin"
+- X_SERVER="/usr/X11R6/bin/X"
+- X_CONFIG_OPTIONS="-audit 0"
+-fi
+
+ dnl ---------------------------------------------------------------------------
+ dnl - Check for Xnest / Xephyr support