]> git.eshelyaron.com Git - emacs.git/commitdiff
(window_system): Restore accidentally deleted code that uses AC_FIND_X.
authorRichard M. Stallman <rms@gnu.org>
Fri, 29 Apr 1994 21:29:49 +0000 (21:29 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 29 Apr 1994 21:29:49 +0000 (21:29 +0000)
configure1.in

index ebd646e33783405816e1ad5ef370fc6c9eb452ce..5a8c1fddd843c651c73e51d40bd9a5bbc29ab172 100755 (executable)
@@ -1221,6 +1221,21 @@ case "${window_system}" in
   ;;
 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}"