Re: The havelib module

2009-02-09 Thread Sylvain Beucler
On Mon, Feb 09, 2009 at 12:42:33AM +0100, Bruno Haible wrote: > 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

Re: The havelib module

2009-02-08 Thread Bruno Haible
Hi Sylvain, Sylvain Beucler wrote: > Can you explain me basically what it does and how to use it? > (is it even meant for external use?) I'm adding this doc to the gnulib manual. To view it reasonably: $ git pull $ cd doc $ make gnulib.info; info -f ./gnulib.info $ make gnulib.html; konq

Re: The havelib module

2009-02-08 Thread Bruno Haible
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 t

Re: The havelib module

2009-02-07 Thread Simon Josefsson
Sylvain Beucler writes: > It looks like you're explicitely defining --with-openssl: > > http://libssh2.cvs.sourceforge.net/viewvc/libssh2/libssh2/configure.in?revision=1.63&view=markup > >79 AC_ARG_WITH(openssl, >80 AC_HELP_STRING([--with-openssl],[Use OpenSSL for crypto]), >81 us

Re: The havelib module

2009-02-07 Thread Sylvain Beucler
On Sat, Feb 07, 2009 at 07:57:50PM +0100, Simon Josefsson wrote: > Sylvain Beucler writes: > > > I'm working upon GNUpdf's configure.ac: > > > > AC_LIB_HAVE_LINKFLAGS( > > [jbig2dec], dnl lib name > > [], dnl no dependencies > > [], dnl not checking because it re

Re: The havelib module

2009-02-07 Thread Sylvain Beucler
On Sat, Feb 07, 2009 at 12:55:50PM -0700, Eric Blake wrote: > According to Sylvain Beucler on 2/7/2009 11:04 AM: > > AC_LIB_HAVE_LINKFLAGS( > > [jbig2dec], dnl lib name > > [], > > Careful with your m4 quoting here - by adding a dnl after the comma, the > leading whitespace on the next

Re: The havelib module

2009-02-07 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Sylvain Beucler on 2/7/2009 11:04 AM: > AC_LIB_HAVE_LINKFLAGS( > [jbig2dec], dnl lib name > [], Careful with your m4 quoting here - by adding a dnl after the comma, the leading whitespace on the next line is no longer strip

Re: The havelib module

2009-02-07 Thread Simon Josefsson
Sylvain Beucler writes: > I'm working upon GNUpdf's configure.ac: > > AC_LIB_HAVE_LINKFLAGS( > [jbig2dec], dnl lib name > [], dnl no dependencies > [], dnl not checking because it requires >dnl (for uint8_t) from Gnulib which isn't buil

Re: The havelib module

2009-02-07 Thread Sylvain Beucler
On Sat, Feb 07, 2009 at 02:44:24PM +0100, Simon Josefsson wrote: > Sylvain Beucler writes: > > On Fri, Feb 06, 2009 at 11:49:51PM +0100, Simon Josefsson wrote: > >> Sylvain Beucler writes: > >> > >> > The AC_LIB_HAVE_LINKFLAGS macro generates options like > >> > "--with-libmylib-prefix". > >> >

Re: The havelib module

2009-02-07 Thread Simon Josefsson
Sylvain Beucler writes: > On Fri, Feb 06, 2009 at 11:49:51PM +0100, Simon Josefsson wrote: >> Sylvain Beucler writes: >> >> > The AC_LIB_HAVE_LINKFLAGS macro generates options like >> > "--with-libmylib-prefix". >> >> Note that it also generate options like --with-libmylib. >> >> The --with-l

Re: The havelib module

2009-02-07 Thread Sylvain Beucler
On Fri, Feb 06, 2009 at 11:49:51PM +0100, Simon Josefsson wrote: > Sylvain Beucler 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 use

Re: The havelib module

2009-02-06 Thread Simon Josefsson
Sylvain Beucler 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 i

Re: The havelib module

2009-02-06 Thread Sylvain Beucler
On Mon, Feb 02, 2009 at 09:18:14PM +0100, Simon Josefsson wrote: > Sylvain Beucler writes: > > > Hi, > > > > I'm trying to implement simply a '--with-mylib=/path/to/mylib' option > > in 'configure', and I'm wondering if the 'havelib' would help. > > Hi. I believe it does. > > > However I don't

Re: The havelib module

2009-02-02 Thread Simon Josefsson
Sylvain Beucler writes: > Hi, > > I'm trying to implement simply a '--with-mylib=/path/to/mylib' option > in 'configure', and I'm wondering if the 'havelib' would help. Hi. I believe it does. > However I don't really understand how it's meant to be > used. Apparently its m4 macros need to be u

The havelib module

2009-02-02 Thread Sylvain Beucler
Hi, I'm trying to implement simply a '--with-mylib=/path/to/mylib' option in 'configure', and I'm wondering if the 'havelib' would help. However I don't really understand how it's meant to be used. Apparently its m4 macros need to be used within a macro definition? Can you explain me basically w