From f05f10cba7039b971c2d77db0308f1b8b347a32b Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Tue, 13 Feb 2018 12:57:14 +0000 Subject: [PATCH] Split HAVE_RESIZE out of HAVE_RESIZETERM --- Makefile.autosetup | 2 +- auto.def | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile.autosetup b/Makefile.autosetup index 86ec4c970..5ea0fd208 100644 --- a/Makefile.autosetup +++ b/Makefile.autosetup @@ -72,7 +72,7 @@ NEOMUTTOBJS= mutt_account.o addrbook.o alias.o attach.o bcache.o body.o \ @if !HAVE_WCSCASECMP NEOMUTTOBJS+= wcscasecmp.o @endif -@if HAVE_RESIZETERM +@if HAVE_RESIZE NEOMUTTOBJS+= resize.o @endif @if USE_NOTMUCH diff --git a/auto.def b/auto.def index 45d80b7ca..cdeb7a7ec 100644 --- a/auto.def +++ b/auto.def @@ -506,6 +506,9 @@ switch [opt-val with-ui ncurses] { cc-check-function-in-lib $f $ncurses_lib } cc-check-functions use_extended_names + if {[have-feature RESIZETERM]} { + define-feature RESIZE + } } if {[have-feature start_color]} { @@ -525,7 +528,7 @@ switch [opt-val with-ui ncurses] { } define USE_SLANG_CURSES define-feature COLOR - define-feature RESIZETERM + define-feature RESIZE } default { -- 2.40.0