Il 21/11/2012 04:03, Wenchao Xia ha scritto: >> >>> +libqblock="yes" >> >> Please make the default the empty string, i.e. "build if and only if >> libtool is present". >> > Do you mean adding a probe section later that if libtool is present, > its default is "yes", else set it to "no"?
Here, you just do libqblock="". Then --enable-libqblock and --disable-libqblock set it to yes or no. Then, if $libqblock = yes, and no libtool, fail. If $libqblock is empty, and no libtool, set it to no. If $libqblock is empty, and libtool is there, set it to yes. Paolo