From: Po Lu Date: Fri, 18 Aug 2023 00:20:30 +0000 (+0800) Subject: Don't disable terminfo on non-GUI Android builds X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=02d96e39b2182660e61e85b7b07da14ba6d94210;p=emacs.git Don't disable terminfo on non-GUI Android builds * configure.ac (TERMINFO, LIBS_TERMCAP): Clear only if REALLY_ANDROID. (bug#65340) --- diff --git a/configure.ac b/configure.ac index 4cf6751ab82..f92339225b5 100644 --- a/configure.ac +++ b/configure.ac @@ -6030,7 +6030,7 @@ TERMINFO=yes ## LIBS_TERMCAP="-lncurses", this overrides LIBS_TERMCAP = -ltinfo, ## if that was found above to have tputs. ## Should we use the gnu* logic everywhere? -case "$opsys" in +case "$opsys$REALLY_ANDROID" in ## darwin: Prevents crashes when running Emacs in Terminal.app under 10.2. ## The ncurses library has been moved out of the System framework in ## Mac OS X 10.2. So if configure detects it, set the command-line @@ -6059,7 +6059,10 @@ fail; fi ;; - mingw32 | android) + # The case condition is a concatenation of both $opsys and + # $REALLY_ANDROID. Only disable termcap if building a GUI program. + # (bug#65340) + mingw32 | androidyes) TERMINFO=no LIBS_TERMCAP= ;;