From 5c3e00d70ae7cb7e2e52baf6edf913db462757b3 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Mon, 7 Mar 2022 18:04:17 +0100 Subject: [PATCH] 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. --- configure.ac | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/configure.ac b/configure.ac index 95e0c2a0..23fee876 100644 --- 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 -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)