summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2021-01-01 12:45:18 -0800
committerKevin McCarthy <kevin@8t8.us>2021-01-03 13:00:29 -0800
commit2754a0578a96976804e2ee48b53b279435570dfa (patch)
treed24313f2185a66f3f318bbfa151758de1aa1057b /m4
parentcbc0957e42dadebc68ff049074bb54ec15ec8858 (diff)
Replace AC_ERROR with AC_MSG_ERROR.
Diffstat (limited to 'm4')
-rw-r--r--m4/curslib.m44
1 files changed, 2 insertions, 2 deletions
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}>],