]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - configure.in
ncurses 6.4 - patch 20230722
[ncurses.git] / configure.in
index 097c7427149c78dd634e1d22c722e5108c8e5111..4ad5523521c1906fa672ba04b83185d570c92ce5 100644 (file)
@@ -29,7 +29,7 @@ dnl***************************************************************************
 dnl
 dnl Author: Thomas E. Dickey 1995-on
 dnl
-dnl $Id: configure.in,v 1.764 2023/05/06 19:40:40 tom Exp $
+dnl $Id: configure.in,v 1.765 2023/07/22 17:20:35 tom Exp $
 dnl Process this file with autoconf to produce a configure script.
 dnl
 dnl For additional information, see
@@ -38,7 +38,7 @@ dnl     https://invisible-island.net/autoconf/my-autoconf.html
 dnl
 dnl ---------------------------------------------------------------------------
 AC_PREREQ(2.52.20210101)
-AC_REVISION($Revision: 1.764 $)
+AC_REVISION($Revision: 1.765 $)
 AC_INIT(ncurses/base/lib_initscr.c)
 AC_CONFIG_HEADER(include/ncurses_cfg.h:include/ncurses_cfg.hin)
 
@@ -696,7 +696,7 @@ AC_MSG_CHECKING(if xterm backspace sends BS or DEL)
 AC_ARG_WITH(xterm-kbs,
        [  --with-xterm-kbs=XXX    specify if xterm backspace sends BS or DEL],
        [with_xterm_kbs=$withval],
-       [with_xterm_kbs=BS])
+       [with_xterm_kbs=auto])
 case x$with_xterm_kbs in
 (xyes|xno|xBS|xbs|x8)
        with_xterm_kbs=BS
@@ -704,6 +704,9 @@ case x$with_xterm_kbs in
 (xDEL|xdel|x127)
        with_xterm_kbs=DEL
        ;;
+(xauto)
+       with_xterm_kbs=$want_xterm_kbs
+       ;;
 (*)
        with_xterm_kbs=$withval
        ;;
@@ -714,7 +717,7 @@ AC_SUBST(XTERM_KBS)
 
 if test "x$with_xterm_kbs" != "x$want_xterm_kbs"
 then
-       AC_MSG_WARN(expected --with-xterm-kbs=$want_xterm_kbs for $host_os)
+       AC_MSG_WARN([expected --with-xterm-kbs=$want_xterm_kbs for $host_os, have $with_xterm_kbs])
 fi
 
 MAKE_TERMINFO=