]> git.ipfire.org Git - thirdparty/dracut.git/commit
fix(configure): misleading error if C compiler is not installed
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Thu, 7 Dec 2023 11:08:17 +0000 (12:08 +0100)
committerJóhann B. Guðmundsson <johannbg@gmail.com>
Thu, 4 Jan 2024 20:05:57 +0000 (20:05 +0000)
commit4980bad34775da715a2639b736cba5e65a8a2604
tree6986e9e5309c232e8fdd020dceffc2a796073554
parentde8ac6300d115a05d467dbb6b9a7c2599a2d306f
fix(configure): misleading error if C compiler is not installed

While preparing a new system for development, `./configure` reaches a point
where it fails with:

```
$ ./configure
dracut needs fts development files.
```

After installing the fts library, `./configure` keeps throwing the same error:

```
$ rpm -qf /usr/include/fts.h
glibc-devel-2.38-6.1.x86_64
$ ./configure
dracut needs fts development files.
```

The problem is `${CC} $CFLAGS $LDFLAGS conftest.c` can also fail if the compiler
referenced by `$CC` is not installed.
configure