Re: Autoconf & libssl

2011-11-11 Thread Till Elsner
- Ursprüngliche Mitteilung -
> On 11/11/2011 09:13 AM, Till Elsner wrote:
> > Ok, here we go: The following configure.ac seems to serve as a
> > minimal example:
> > --- begin configure.ac ---
> > AC_PREREQ([2.68])
> > AC_INIT([actest], [1])
> > AC_SEARCH_LIBS([MD5], [ssl]);
> 
> Remove that trailing ';' - it isn't necessary.
> 
> -- 
> Eric Blake     ebl...@redhat.com       +1-801-349-2682
> Libvirt virtualization library http://libvirt.org
> 

Crap. I see. I wsn't even looking at this any more because autoreconf finished 
without errors.

Thanks guys, nice weekend :)

___
Autoconf mailing list
Autoconf@gnu.org
https://lists.gnu.org/mailman/listinfo/autoconf


Re: Autoconf & libssl

2011-11-11 Thread Mike Frysinger
On Friday 11 November 2011 11:13:22 Till Elsner wrote:
> Ok, here we go: The following configure.ac seems to serve as a
> minimal example:
> --- begin configure.ac ---
> AC_PREREQ([2.68])
> AC_INIT([actest], [1])
> AC_SEARCH_LIBS([MD5], [ssl]);
> AC_OUTPUT
> --- end configure.ac ---
> 
> I only have this one file. I run
> autoreconf
> and
> ./configure
> and I get
> ./configure: line 2600: syntax error near unexpected token `;'
> ./configure: line 2600: `;'
> 
> So far, I've seen this error on x86_64 Gentoo and x86 Arch.

i would say that's a bug in your script.  it's no different from doing:
bash -c ';'

shells do not like semi-colons without commands.
-mike


signature.asc
Description: This is a digitally signed message part.
___
Autoconf mailing list
Autoconf@gnu.org
https://lists.gnu.org/mailman/listinfo/autoconf


Re: Autoconf & libssl

2011-11-11 Thread Eric Blake
On 11/11/2011 09:13 AM, Till Elsner wrote:
> Ok, here we go: The following configure.ac seems to serve as a
> minimal example:
> --- begin configure.ac ---
> AC_PREREQ([2.68])
> AC_INIT([actest], [1])
> AC_SEARCH_LIBS([MD5], [ssl]);

Remove that trailing ';' - it isn't necessary.

-- 
Eric Blake   ebl...@redhat.com+1-801-349-2682
Libvirt virtualization library http://libvirt.org



signature.asc
Description: OpenPGP digital signature
___
Autoconf mailing list
Autoconf@gnu.org
https://lists.gnu.org/mailman/listinfo/autoconf


Re: Autoconf & libssl

2011-11-11 Thread Till Elsner
Mike Frysinger (Thu, 10. 11. 2011, 18:20):
> On Thursday 10 November 2011 18:03:12 Till Elsner wrote:
> > 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?
> 
> most likely not, but please post the actual configure.ac file
> -mike

Ok, here we go: The following configure.ac seems to serve as a
minimal example:
--- begin configure.ac ---
AC_PREREQ([2.68])
AC_INIT([actest], [1])
AC_SEARCH_LIBS([MD5], [ssl]);
AC_OUTPUT
--- end configure.ac ---

I only have this one file. I run
autoreconf
and
./configure
and I get
./configure: line 2600: syntax error near unexpected token `;'
./configure: line 2600: `;'

So far, I've seen this error on x86_64 Gentoo and x86 Arch.


-- 
Till Elsner   []
t...@0xaa55.org (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


pgpaccLO6BdmZ.pgp
Description: PGP signature
___
Autoconf mailing list
Autoconf@gnu.org
https://lists.gnu.org/mailman/listinfo/autoconf