Kamil Dudka wrote:
> Looks good to me. I wrote that nonsense as I had misunderstood semantic
> of the AC_ARG_ENABLE macro...
Thanks for the review.
This time I tested carefully ;-)
After each of the first three, below, grep LIB_CAP config.status prints
S["LIB_CAP"]="-lcap":
./configure -C >& /dev/null
./configure --enable-libcap -C >& /dev/null
./configure --enable-libcap=yes -C >& /dev/null
After each of these, it prints S["LIB_CAP"]=""
./configure --enable-libcap=no -C >& /dev/null
./configure --disable-libcap -C >& /dev/null