Sylvain Beucler <b...@beuc.net> writes:

> The AC_LIB_HAVE_LINKFLAGS macro generates options like
> "--with-libmylib-prefix".

Note that it also generate options like --with-libmylib.

The --with-libmylib-prefix is there to allow users to set the path to
where mylib will be found.

The --without-libmylib-prefix is there to allow users to disable
automatic searching for mylib in $prefix.

This is somewhat surprising, but it is useful once you know it.  Read
the docstrings for the parameters carefully.

> It sounds a bit unclear to specify options such as
> --without-libmylib-prefix to disable "mylib" (i.e. it sounds like
> we're disabling mylib's *additional prefix* only, "--without-mylib"
> would be more straightforward).

It actually works as you think it should work, I believe.  Use
--without-mylib to disable mylib.

/Simon



Reply via email to