]> www.infradead.org Git - mtd-utils.git/commit
Cleanup handling of optional dependencies
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Sun, 28 Feb 2021 12:50:57 +0000 (13:50 +0100)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Thu, 15 Feb 2024 14:07:17 +0000 (15:07 +0100)
commit6fcdc552ffdca93334ffe2d044745c83de0722fa
treed04cc29c4cbd576a8690cc4bdd4b374c45356166
parent1be992db04fc71296a98303724635b2b6b0cd10d
Cleanup handling of optional dependencies

Don't use super pedantic parsing of the argument and work with the
generated variable instead of assigning it to our own and set it
to "check" if not value is assigned. Then search for a dependency
if the with variable is anything other than "no" and fail if it
was set to "yes".

In addition, the WITHOUT_xxx defines are replaced with WITH_xxx defines.

Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Makefile.am
configure.ac
jffsX-utils/compr.c
jffsX-utils/compr.h
jffsX-utils/compr_lzo.c
jffsX-utils/mkfs.jffs2.c
ubifs-utils/mkfs.ubifs/compr.c
ubifs-utils/mkfs.ubifs/mkfs.ubifs.c