aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--configure.in22
2 files changed, 9 insertions, 16 deletions
diff --git a/ChangeLog b/ChangeLog
index 40bdeece6f0..423a40421cd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
12012-05-01 Glenn Morris <rgm@gnu.org> 12012-05-01 Glenn Morris <rgm@gnu.org>
2 2
3 * configure.in: Invert the TERMINFO logic,
4 since "yes" is far more common than "no".
5
3 * configure.in (HAVE_LIBNCURSES): Remove; it is required to be true. 6 * configure.in (HAVE_LIBNCURSES): Remove; it is required to be true.
4 7
5 * configure.in (LD_SWITCH_X_SITE_RPATH): 8 * configure.in (LD_SWITCH_X_SITE_RPATH):
diff --git a/configure.in b/configure.in
index f337f1b3eaf..4ee84c61eb5 100644
--- a/configure.in
+++ b/configure.in
@@ -2894,25 +2894,15 @@ for your system, together with its header files.
2894For example, a libncurses-dev(el) or similar package.]) 2894For example, a libncurses-dev(el) or similar package.])
2895fi 2895fi
2896 2896
2897## Use terminfo instead of termcap? 2897## Use termcap instead of terminfo?
2898## Note only system files NOT using terminfo are: 2898## Only true for: freebsd < 40000, ms-w32, msdos, netbsd < 599002500.
2899## freebsd < 40000, ms-w32, msdos, netbsd < 599002500 2899TERMINFO=yes
2900TERMINFO=no
2901case "$opsys" in 2900case "$opsys" in
2902 ## cygwin: Fewer environment variables to go wrong, more terminal types.
2903 ## hpux10-20: Use the system provided termcap(3) library.
2904 ## openbsd: David Mazieres <dm@reeducation-labor.lcs.mit.edu> says this
2905 ## is necessary. Otherwise Emacs dumps core when run -nw.
2906 aix4-2|cygwin|hpux*|irix6-5|openbsd|sol2*|unixware) TERMINFO=yes ;;
2907
2908 ## darwin: Prevents crashes when running Emacs in Terminal.app under 10.2. 2901 ## darwin: Prevents crashes when running Emacs in Terminal.app under 10.2.
2909 ## The ncurses library has been moved out of the System framework in 2902 ## The ncurses library has been moved out of the System framework in
2910 ## Mac OS X 10.2. So if configure detects it, set the command-line 2903 ## Mac OS X 10.2. So if configure detects it, set the command-line
2911 ## option to use it. 2904 ## option to use it.
2912 darwin|gnu*) 2905 darwin|gnu*) LIBS_TERMCAP="-lncurses" ;;
2913 TERMINFO=yes
2914 LIBS_TERMCAP="-lncurses"
2915 ;;
2916 2906
2917 freebsd) 2907 freebsd)
2918 AC_MSG_CHECKING([whether FreeBSD is new enough to use terminfo]) 2908 AC_MSG_CHECKING([whether FreeBSD is new enough to use terminfo])
@@ -2926,18 +2916,18 @@ fail;
2926 AC_MSG_RESULT($emacs_cv_freebsd_terminfo) 2916 AC_MSG_RESULT($emacs_cv_freebsd_terminfo)
2927 2917
2928 if test $emacs_cv_freebsd_terminfo = yes; then 2918 if test $emacs_cv_freebsd_terminfo = yes; then
2929 TERMINFO=yes
2930 LIBS_TERMCAP="-lncurses" 2919 LIBS_TERMCAP="-lncurses"
2931 else 2920 else
2921 TERMINFO=no
2932 LIBS_TERMCAP="-ltermcap" 2922 LIBS_TERMCAP="-ltermcap"
2933 fi 2923 fi
2934 ;; 2924 ;;
2935 2925
2936 netbsd) 2926 netbsd)
2937 if test $ac_cv_search_tputs = -lterminfo; then 2927 if test $ac_cv_search_tputs = -lterminfo; then
2938 TERMINFO=yes
2939 LIBS_TERMCAP="-lterminfo" 2928 LIBS_TERMCAP="-lterminfo"
2940 else 2929 else
2930 TERMINFO=no
2941 LIBS_TERMCAP="-ltermcap" 2931 LIBS_TERMCAP="-ltermcap"
2942 fi 2932 fi
2943 ;; 2933 ;;