From b9ac7b273b84f78355517ad6098d6359b68dab1c Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Sat, 5 Jun 2010 13:58:15 +0000 Subject: Make configure abort on failed check for libncurses. We used to just continue but this results in a build failure of call. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index d939949..f49dfc0 100644 --- a/configure.ac +++ b/configure.ac @@ -17,7 +17,7 @@ dnl Checks for libraries. AC_SUBST(AX25_LIB) AC_SUBST(NCURSES_LIB) AC_CHECK_LIB(ax25, ax25_config_load_ports, AX25_LIB="-lax25", AC_MSG_ERROR(Could not find the libax25 libraries; aborting)) -AC_CHECK_LIB(ncurses, initscr,NCURSES_LIB="-lncurses",NCURSES_LIB=) +AC_CHECK_LIB(ncurses, initscr,NCURSES_LIB="-lncurses", AC_MSG_ERROR(Could not find the ncurses library; aborting)) dnl Checks for working glibc 2.1 headers AC_CHECK_TYPES([struct ax25_fwd_struct], [], -- cgit v1.2.3