Commit 1659e114 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(window_system): Restore accidentally deleted code that uses AC_FIND_X.

parent b4929f75
......@@ -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}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment