changeset 7201:417ba9b88185

(window_system): Restore accidentally deleted code that uses AC_FIND_X.
author Richard M. Stallman <rms@gnu.org>
date Fri, 29 Apr 1994 21:29:49 +0000
parents eabd5e6e95de
children 9f8b6ebe1d7e
files configure1.in
diffstat 1 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure1.in	Fri Apr 29 20:13:16 1994 +0000
+++ b/configure1.in	Fri Apr 29 21:29:49 1994 +0000
@@ -1221,6 +1221,21 @@
   ;;
 esac
 
+case "${window_system}" in
+  "" | "x11" )
+    ### If the user hasn't specified where we should find X, try
+    ### letting autoconf figure that out.
+    if [ -z "${x_includes}" ] && [ -z "${x_libraries}" ]; then
+      ]
+      AC_FIND_X
+      [
+    fi
+    if [ -n "${x_includes}" ] || [ -n "${x_libraries}" ]; then
+      window_system=x11
+    fi
+  ;;
+esac
+
 [ -z "${window_system}" ] && window_system=none
 
 [ -n "${x_libraries}" ] && LD_SWITCH_X_SITE="-L${x_libraries}"