Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
262f06da
Commit
262f06da
authored
Apr 30, 2012
by
Glenn Morris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* configure.in: Invert the TERMINFO logic
(since "yes" is far more common than "no")
parent
43b3c7d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
16 deletions
+9
-16
ChangeLog
ChangeLog
+3
-0
configure.in
configure.in
+6
-16
No files found.
ChangeLog
View file @
262f06da
2012-05-01 Glenn Morris <rgm@gnu.org>
* configure.in: Invert the TERMINFO logic,
since "yes" is far more common than "no".
* configure.in (HAVE_LIBNCURSES): Remove; it is required to be true.
* configure.in (LD_SWITCH_X_SITE_RPATH):
...
...
configure.in
View file @
262f06da
...
...
@@ -2894,25 +2894,15 @@ for your system, together with its header files.
For example, a libncurses-dev(el) or similar package.])
fi
## Use terminfo instead of termcap?
## Note only system files NOT using terminfo are:
## freebsd < 40000, ms-w32, msdos, netbsd < 599002500
TERMINFO=no
## Use termcap instead of terminfo?
## Only true for: freebsd < 40000, ms-w32, msdos, netbsd < 599002500.
TERMINFO=yes
case "$opsys" in
## cygwin: Fewer environment variables to go wrong, more terminal types.
## hpux10-20: Use the system provided termcap(3) library.
## openbsd: David Mazieres <dm@reeducation-labor.lcs.mit.edu> says this
## is necessary. Otherwise Emacs dumps core when run -nw.
aix4-2|cygwin|hpux*|irix6-5|openbsd|sol2*|unixware) TERMINFO=yes ;;
## 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
## option to use it.
darwin|gnu*)
TERMINFO=yes
LIBS_TERMCAP="-lncurses"
;;
darwin|gnu*) LIBS_TERMCAP="-lncurses" ;;
freebsd)
AC_MSG_CHECKING([whether FreeBSD is new enough to use terminfo])
...
...
@@ -2926,18 +2916,18 @@ fail;
AC_MSG_RESULT($emacs_cv_freebsd_terminfo)
if test $emacs_cv_freebsd_terminfo = yes; then
TERMINFO=yes
LIBS_TERMCAP="-lncurses"
else
TERMINFO=no
LIBS_TERMCAP="-ltermcap"
fi
;;
netbsd)
if test $ac_cv_search_tputs = -lterminfo; then
TERMINFO=yes
LIBS_TERMCAP="-lterminfo"
else
TERMINFO=no
LIBS_TERMCAP="-ltermcap"
fi
;;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment