Sylvain Beucler wrote:
> > > I got confused because `./configure --help` documents
> > > '--with-libmylib-prefix', but doesn't mention '--with-mylib'.

If you use AC_LIB_LINKFLAGS, there is no --with[out]-mylib option,
only a --with[out]-libmylib-prefix option. --without-libmylib-prefix
instructs the configure file to not make special effort to search
for libmylib.

If libmylib may or may not be present, you better use
AC_LIB_HAVE_LINKFLAGS instead of AC_LIB_LINKFLAGS, and provide an
AC_ARG_WITH([libmylib], ...) by yourself.

Bruno


Reply via email to