From 2754a0578a96976804e2ee48b53b279435570dfa Mon Sep 17 00:00:00 2001 From: Kevin McCarthy Date: Fri, 1 Jan 2021 12:45:18 -0800 Subject: Replace AC_ERROR with AC_MSG_ERROR. --- m4/curslib.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'm4') diff --git a/m4/curslib.m4 b/m4/curslib.m4 index 5d443ecc..805c68f9 100644 --- a/m4/curslib.m4 +++ b/m4/curslib.m4 @@ -53,7 +53,7 @@ if test ".$ac_cv_func_initscr" != .yes ; then do AC_CHECK_LIB($cf_curs_lib,initscr,[break]) done - test $cf_curs_lib = unknown && AC_ERROR(no curses library found) + test $cf_curs_lib = unknown && AC_MSG_ERROR([no curses library found]) LIBS="-l$cf_curs_lib $cf_save_LIBS" if test "$cf_term_lib" = unknown ; then @@ -63,7 +63,7 @@ if test ".$ac_cv_func_initscr" != .yes ; then [cf_result=yes], [cf_result=no]) AC_MSG_RESULT($cf_result) - test $cf_result = no && AC_ERROR(Cannot link curses library) + test $cf_result = no && AC_MSG_ERROR([cannot link curses library]) elif test "$cf_term_lib" != predefined ; then AC_MSG_CHECKING(if we need both $cf_curs_lib and $cf_term_lib libraries) AC_TRY_LINK([#include <${cf_cv_ncurses_header-curses.h}>], -- cgit v1.2.3