[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/5] rumpdisk: Link with rumpvfs_nofifofs if present
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 2/5] rumpdisk: Link with rumpvfs_nofifofs if present |
Date: |
Sun, 26 Dec 2021 18:49:25 +0100 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Damien Zammit, le dim. 26 déc. 2021 22:38:54 +1100, a ecrit:
> -AC_CHECK_HEADER([rump/rump.h], [
> - AC_CHECK_LIB(rump, rump_init, [HAVE_LIBRUMP=yes], [HAVE_LIBRUMP=no])
> - ], [HAVE_LIBRUMP=no])
> +AC_CACHE_CHECK(for librump, rump_cv_HAVE_LIBRUMP, [dnl
> +cat > conftest.c <<EOF
> +#include <hurd.h>
> +#define _STANDALONE
> +#include <rump/rump.h>
> +main () { return 0; }
> +EOF
> +if AC_TRY_COMMAND([${CC-cc} conftest.c -o conftest -lrump
> 1>&AS_MESSAGE_LOG_FD])
Better use AC_LINK_IFELSE and AC_LANG_PROGRAM with LIBS set to the link
flags you want to test.
Samuel
- [PATCH 0/5] hurd: Patches for new librump, Damien Zammit, 2021/12/26
- [PATCH 1/5] rumpdisk: define _STANDALONE to avoid register_t, Damien Zammit, 2021/12/26
- [PATCH 2/5] rumpdisk: Link with rumpvfs_nofifofs if present, Damien Zammit, 2021/12/26
- Re: [PATCH 2/5] rumpdisk: Link with rumpvfs_nofifofs if present,
Samuel Thibault <=
- [PATCH 4/5] pci-arbiter,rumpdisk: Lock all memory for swapping, Damien Zammit, 2021/12/26
- [PATCH 5/5] rumpdisk: Fault-in the memory pages, Damien Zammit, 2021/12/26
- [PATCH 3/5] rumpdisk: Use raw uncached character device rwdXd, Damien Zammit, 2021/12/26