diff -aurN gdm-2.15.9.orig/configure.ac gdm-2.15.9/configure.ac --- gdm-2.15.9.orig/configure.ac 2006-08-07 21:56:22.000000000 +0200 +++ gdm-2.15.9/configure.ac 2006-08-09 22:21:36.737065346 +0200 @@ -965,67 +965,10 @@ ;; esac -# First check with "! -h" for /usr/X11R6 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 ! -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" - GDM_USER_PATH="$GDM_USER_PATH:/usr/X11R6/bin" - 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" - GDM_USER_PATH="$GDM_USER_PATH:/usr/X11/bin" - 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" - GDM_USER_PATH="$GDM_USER_PATH:/usr/X11R6/bin" - 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" - GDM_USER_PATH="$GDM_USER_PATH:/usr/X11/bin" - 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" - GDM_USER_PATH="$GDM_USER_PATH:/opt/X11R6/bin" - 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_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" - GDM_USER_PATH="$GDM_USER_PATH:/usr/bin/X11:/usr/X11R6/bin:/usr/local/bin:/opt/X11R6/bin" - X_CONFIG_OPTIONS="-audit 0" -fi +X_PATH="/usr/bin" +X_SERVER_PATH="/usr/bin" +X_SERVER="/usr/bin/X" +X_CONFIG_OPTIONS="-audit 0" # Don't add bindir to GDM_USER_PATH if it is already in the PATH. # If it is /bin or /usr/bin, for example.