avoid configure-dependent link failures
I noticed that when configuring without --enable-readline, or without --enable-cmdlib, building would fail with link errors, at least on rawhide.
The two patches below fix those problems so that builds succeed regardless of which settings you choose for those configure-time options. i.e., these four builds all succeed:
for enable in enable disable; do
for f in readline cmdlib; do
echo --$enable-$f
{ make clean && ./configure --$enable-$f --enable-dmeventd \
--disable-nls --with-dmdir=$PWD/../device-mapper CFLAGS=-g \
--enable-readline && make } > log-$enable-$f 2>&1 done
done
Barring objections, I'll commit these (along with WHATS_NEW and configure updates) on Monday.