diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-04-11 18:35:30 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-04-11 18:35:56 +0200 |
commit | 61ea190ac347ab091882a827b3549a08bdd47f6c (patch) | |
tree | 853c81c5e58ab779171e2ccf0ce6bbc94489f22e /configure.ac | |
parent | 78f3d3ee0b18456f28a4605e62a3057a6b0b64c5 (diff) | |
download | hurd-61ea190ac347ab091882a827b3549a08bdd47f6c.tar.gz hurd-61ea190ac347ab091882a827b3549a08bdd47f6c.tar.bz2 hurd-61ea190ac347ab091882a827b3549a08bdd47f6c.zip |
rump: do not build if rump/rump.h can't be found
* configure.ac: Combine tests for rump/rump.h and librump.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 3 insertions, 2 deletions
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, |