bug-gnulib
[Top][All Lists]
Advanced

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

Re: The havelib module


From: Sylvain Beucler
Subject: Re: The havelib module
Date: Sat, 7 Feb 2009 21:23:07 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On Sat, Feb 07, 2009 at 07:57:50PM +0100, Simon Josefsson wrote:
> Sylvain Beucler <address@hidden> writes:
> 
> > I'm working upon GNUpdf's configure.ac:
> >
> >   AC_LIB_HAVE_LINKFLAGS(
> >     [jbig2dec],  dnl lib name
> >     [],          dnl no dependencies
> >     [],          dnl not checking <jbig.h> because it requires <stdint.h>
> >                  dnl (for uint8_t) from Gnulib which isn't built yet
> >     dnl code to test linking:
> >     [extern void* jbig2_ctx_new(); void* t = jbig2_ctx_new;]
> >   )
> >
> > (initial configure.ac is:)
> > http://bzr.savannah.gnu.org/lh/pdf/libgnupdf/branches/trunk/annotate/head:/configure.ac
> >
> >
> > It doesn't seem to work the same, --with-jbig2dec is missing:
> >
> > $ ./configure --help | grep with
> >   --enable-coverage       Compile the library with code coverage support
> >   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
> >   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
> >   --with-pic              try to use only PIC/non-PIC objects [default=use
> >   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
> >   --with-zlib=DIR root directory path of zlib installation defaults to
> >   --without-zlib to disable zlib usage completely
> >   --with-gnu-ld           assume the C compiler uses GNU ld default=no
> >   --with-libjbig2dec-prefix[=DIR]  search for libjbig2dec in DIR/include 
> > and DIR/lib
> >   --without-libjbig2dec-prefix     don't search for libjbig2dec in 
> > includedir and libdir
> >   --with-libgcrypt-prefix=PFX
> >
> >
> > I refreshed gnulib yesterday and today - i.e. not using an old version
> > :)
> 
> I'm out of ideas.  Bruno?

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   use_openssl=$withval,use_openssl=auto)

   86 # Look for OpenSSL (default)
   87 if test "$use_openssl" != "no" && test "$use_libgcrypt" != "yes"; then
   88   AC_LIB_HAVE_LINKFLAGS([ssl], [crypto], [#include <openssl/ssl.h>])
   89 fi
   90 

Is this the recommended usage?

-- 
Sylvain




reply via email to

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