From 61ea190ac347ab091882a827b3549a08bdd47f6c Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 11 Apr 2020 18:35:30 +0200 Subject: rump: do not build if rump/rump.h can't be found * configure.ac: Combine tests for rump/rump.h and librump. --- configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 2d7ff5ca..7d645d11 100644 --- a/configure.ac +++ b/configure.ac @@ -243,8 +243,9 @@ AS_IF([test "x$with_libz" != xno], [ ]) AC_SUBST([HAVE_LIBZ]) -AC_CHECK_HEADER([rump/rump.h], [HAVE_LIBRUMP=yes], [HAVE_LIBRUMP=no]) -AC_CHECK_LIB(rump, rump_init, [HAVE_LIBRUMP=yes], [HAVE_LIBRUMP=no]) +AC_CHECK_HEADER([rump/rump.h], [ + AC_CHECK_LIB(rump, rump_init, [HAVE_LIBRUMP=yes], [HAVE_LIBRUMP=no]) + ], [HAVE_LIBRUMP=no]) AC_SUBST([HAVE_LIBRUMP]) AC_ARG_ENABLE(boot-store-types, -- cgit v1.2.3