Disable non UI build. Too much going wrong for that to work
authorNelson Ferreira <nelson.ferreira@ieee.org>
Tue, 27 Mar 2012 18:11:31 +0000 (15:11 -0300)
committerNelson Ferreira <nelson.ferreira@ieee.org>
Tue, 27 Mar 2012 18:11:31 +0000 (15:11 -0300)
Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
configure.ac

index 2213a65..e49ddfc 100644 (file)
@@ -2859,11 +2859,12 @@ AS_IF([test "$with_tty" != "no" -a "$have_tty" != no], [
 
 SXE_CHECK_UI_SUFFICIENCY
 
 
 SXE_CHECK_UI_SUFFICIENCY
 
-AS_IF([test -z "$window_system" -o "$window_system" != "none" ], [
+AS_IF([test -z "$window_system" -o "$window_system" = "none" ], [
     dnl It ought to be reasonable to have no output device at all, and only use
     dnl SXEmacs in --batch mode.
     dnl It ought to be reasonable to have no output device at all, and only use
     dnl SXEmacs in --batch mode.
-    AS_IF([test "$with_tty" = "no"],
-       AC_MSG_WARN([No window system nor TTY support. You only can use --batch mode.]))
+    AS_IF([test "$have_tty" = "no"],
+       AC_MSG_ERROR([No window system nor TTY support. SXEmacs cannot be compiled.
+Check INSTALL and PROBLEMS files for hints on how to solve.]))
 ])
 
 ## Uncertain options
 ])
 
 ## Uncertain options