diff options
author | lns <matzeton@googlemail.com> | 2018-06-02 22:58:39 +0200 |
---|---|---|
committer | lns <matzeton@googlemail.com> | 2018-06-02 22:58:39 +0200 |
commit | d300ff8d8a19ec8d8d2297257dda6c4796711a46 (patch) | |
tree | 04d11f4fa1eae99f319db6fc49ec8f16a3ab2fc0 | |
parent | 94f97f09d6acb69ade8cfd9f01a6204607be15e8 (diff) |
POTD skeleton #91.
Signed-off-by: lns <matzeton@googlemail.com>
-rw-r--r-- | configure.ac | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index eb612ba..c4839bd 100644 --- a/configure.ac +++ b/configure.ac @@ -13,9 +13,13 @@ AC_CANONICAL_HOST AC_PROG_CC AC_PROG_CC_STDC AC_PROG_INSTALL - AC_TYPE_SIZE_T +AC_CHECK_TOOL([PKGCONFIG], [pkg-config], [:]) +if test "x${PKGCONFIG}" = x; then + AC_MSG_ERROR([pkg-config not found]) +fi + # check for spectre mitigation saved_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -mindirect-branch=thunk" |