configure: use def_bool for available features

It's one line shorter, and easier to read.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
Yann E. MORIN" 2011-08-22 17:13:42 +02:00
parent 68cd6e6d26
commit 9a9e8385ba

View File

@ -198,9 +198,10 @@ config/configure.in: FORCE
for var in $(KCONFIG); do \
printf "\n"; \
printf "config CONFIGURE_$${var%%=*}\n"; \
printf " bool\n"; \
if [ "$${var#*=}" = "y" ]; then \
printf " default y\n"; \
printf " def_bool y\n"; \
else \
printf " bool\n"; \
fi; \
done; \
} >$@