On Fri, Feb 06, 2009 at 11:49:51PM +0100, Simon Josefsson wrote: > 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.
Hmmm, true. I got confused because `./configure --help` documents '--with-libmylib-prefix', but doesn't mention '--with-mylib'. Is this a bug? -- Sylvain