autoconf
[Top][All Lists]
Advanced

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

Re: Autoconf & libssl


From: Till Elsner
Subject: Re: Autoconf & libssl
Date: Fri, 11 Nov 2011 00:03:12 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Eric Blake (Thu, 10. 11. 2011, 15:48):
> On 11/10/2011 03:22 PM, Till Elsner wrote:
> > Hi everyone,
> >
> > I'm experiencing strange problems when using autoreconf together
> > with OpenSSL.
> > Everything seems to work just fine (autoreconf, ./configure,
> > make), until I include libssl. Whenever autoconf is asked to
> > check for libssl, autoreconf completes successful, but
> > ./configure fails with a "syntax error near unexpected token
> > ';'".
> > If I remove the libssl check in question, everything is fine
> > again.
> > I doesn't matter if I use AC_CHECK_LIB or AC_SEARCH_LIBS, the
> > error stays the same.
> > My autoconf is 2.68, OpenSSL is 1.0.0e.
> > Anyone experienced something like this before?
> 
> Which package are you configuring?  Most likely, it is a syntax error in 
> the particular configure.ac of the package you are using, and not a bug 
> in autoconf itself.  You may have better luck asking on the list that 
> wrote that configure.ac file.
> 
> Can you locate the particular portion of configure that contains the 
> syntax error, and the particular lines in configure.ac that generate 
> those lines?

I'm trying to configure my own package.
I've located the relevant portion in the configure file. It's
the section with cares for the SSL lib, which matches the fact
that removing the SSL line from the configure.ac file also
removes the error.
I've also found the actual error: a single semicolon, sitting
misplaced in a line for its own. I removed it and all is well...
When I create the configure script with autoreconf from
configure.ac again, same thing happens.
Bug?

> 
> -- 
> Eric Blake   address@hidden    +1-801-349-2682
> Libvirt virtualization library http://libvirt.org
> 
> _______________________________________________
> Autoconf mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/autoconf

-- 
Till Elsner                                                   []
address@hidden (Email & XMPP)                                  []
irc.0xaa55.org #praty                                       [][][]

############################## GPG ###############################
#                      KeyID=0xFCFF4656                          #
# fingerprint: 1A1E 3B61 6956 07E3 2CB8 D0F8 791F 52F8 FCFF 4656 #
##################################################################

 ()  ascii ribbon campaign  - against html e-mail
 /\   www.asciiribbon.org   - against proprietary attachments

Attachment: pgpQ9HdxWJw1k.pgp
Description: PGP signature


reply via email to

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