bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The havelib module


From: Simon Josefsson
Subject: Re: The havelib module
Date: Sat, 07 Feb 2009 14:44:24 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.90 (gnu/linux)

Sylvain Beucler <address@hidden> writes:

> On Fri, Feb 06, 2009 at 11:49:51PM +0100, Simon Josefsson wrote:
>> Sylvain Beucler <address@hidden> 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?

It seems to work here:

  --with-libgcrypt        Use Libgcrypt for crypto
  --with-openssl          Use OpenSSL for crypto
  --with-libz             Use Libz for compression
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
  --with-libssl-prefix[=DIR]  search for libssl in DIR/include and DIR/lib
  --without-libssl-prefix     don't search for libssl in includedir and libdir
  --with-libgcrypt-prefix[=DIR]  search for libgcrypt in DIR/include and DIR/lib
  --without-libgcrypt-prefix     don't search for libgcrypt in includedir and 
libdir
  --with-libz-prefix[=DIR]  search for libz in DIR/include and DIR/lib
  --without-libz-prefix     don't search for libz in includedir and libdir

The ordering isn't perfect though, but it is still there.

/Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]