From 368f2425dac3d5020c4118011e4f5eaae8b6e064 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 8 Aug 2017 21:57:53 +0200 Subject: Make missing libutil fatal. We could simply skip building the two programs that require libutil but since it's always available with glibc there's no point. Signed-off-by: Ralf Baechle --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index f7394cb..92947d3 100644 --- a/configure.ac +++ b/configure.ac @@ -22,7 +22,7 @@ AC_SUBST(UTIL_LIB) AC_SUBST(FLTK_LIB) AC_CHECK_LIB(z, zlibVersion,Z_LIB="-lz",Z_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(util, openpty, UTIL_LIB="-lutil",UTIL_LIB=) +AC_CHECK_LIB(util, openpty, UTIL_LIB="-lutil",AC_MSG_ERROR([Could not find libutil; aborting])) AC_CHECK_LIB(GL, main, GL_LIB="-lGL", AC_CHECK_LIB(MesaGL, main, GL_LIB="-lMesaGL", GL_LIB=, ${X_LIBS} ${X_PRE_LIBS} -lXi -lXext -lX11 ${X_EXTRA_LIBS}),${X_LIBS} ${X_PRE_LIBS} -lXi -lXext -lX11 ${X_EXTRA_LIBS}) if test -n "$GL_LIB"; then -- cgit v1.2.3