nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 5c3e00d70ae7cb7e2e52baf6edf913db462757b3
parent 6c4c77971e2c883ef838b08c2b1bec55e0094027
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Mon,  7 Mar 2022 18:04:17 +0100

build: remove an obsolete check -- the dependent code was deleted

The code fragment that was conditionalized on REDEFINING_MACROS_OK
was deleted five weeks ago in commit 3f494e35.

Diffstat:
Mconfigure.ac | 15---------------
1 file changed, 0 insertions(+), 15 deletions(-)

diff --git a/configure.ac b/configure.ac @@ -514,21 +514,6 @@ int main(void) *** Can't check need for _XOPEN_SOURCE_EXTENDED when cross-compiling.])) fi -AC_MSG_CHECKING([whether LINES and COLS can be redefined]) -AC_RUN_IFELSE([AC_LANG_SOURCE([[ -#include <curses.h> -int main(void) -{ - LINES = 80; - COLS = 25; - return 0; -}]])], -AC_DEFINE(REDEFINING_MACROS_OK, 1, [Define this if you know your curses library allows LINES and COLS to be redefined to deal with a resizing bug.]) -AC_MSG_RESULT(yes), -AC_MSG_RESULT(no), -AC_MSG_WARN([ - *** Can't check for macro redefinability when cross-compiling.])) - AS_IF([test "x$enable_libmagic" != "xno"], [ AC_CHECK_HEADERS([magic.h]) AC_CHECK_LIB(magic, magic_open)