summaryrefslogtreecommitdiff
path: root/configure1.in
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-04-29 21:29:49 +0000
committerRichard M. Stallman <rms@gnu.org>1994-04-29 21:29:49 +0000
commit2518c7a78c5751da5afacfe4ef0d6b2491c02cfe (patch)
tree090dd54bf19fb8417bad9a28acbd67b6b18513af /configure1.in
parentf475e0102877bfc6aa8619b5d719a8ff5f790615 (diff)
downloademacs-2518c7a78c5751da5afacfe4ef0d6b2491c02cfe.tar.gz
(window_system): Restore accidentally deleted code that uses AC_FIND_X.
Diffstat (limited to 'configure1.in')
-rwxr-xr-xconfigure1.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure1.in b/configure1.in
index ebd646e3378..5a8c1fddd84 100755
--- a/configure1.in
+++ b/configure1.in
@@ -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}"