From e6f2eaf47a177a8eca054d1d70a1b6287e8c3521 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 3 Jun 2024 16:01:35 +0200 Subject: Adding upstream version 102. Signed-off-by: Daniel Baumann --- configure | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 91af417..9a313db 100755 --- a/configure +++ b/configure @@ -60,6 +60,11 @@ if ! ${PKG_CONFIG} --exists --print-errors " libkmod >= 23 "; then exit 1 fi +if ! ${CC} -c -o /dev/null /dev/null &> /dev/null; then + echo "dracut needs a C compiler (${CC} not found)." >&2 + exit 1 +fi + cat << EOF > conftest.c #include int main() { -- cgit v1.2.3