[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Wget 1.12 v. VMS
From: |
Micah Cowan |
Subject: |
Re: [Bug-wget] Wget 1.12 v. VMS |
Date: |
Fri, 09 Oct 2009 02:25:39 -0700 |
User-agent: |
Thunderbird 2.0.0.23 (X11/20090817) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Micah Cowan wrote:
> So, what I don't understand is, why is this a runtime check? I mean,
> it's a build-time constant, isn't it? So I'm not clear on how that makes
> it any different from the other things that are already in
> compiled_features. Except that it's probably the only one so far that
> wouldn't normally be configurable in the "configure" script.
And of course I'm completely retarded here, since sizeof (foo) will
never expand to a numeric constant for the preprocessor. Anyhoo...
Going with SIZEOF_OFF_T. The configure script automatically detects the
right value for this, but of course that's not going to help you. I
suppose you could either hard code it, or write a check into your
builders that's equivalent to what the configure script will do.
I've attached the current version of build_info.c that results from
build_info.pl's processing. I made some significant modifications to
build_info.pl's behavior, so you may notice some other differences as well.
The current --version string I get starts with:
- -----
GNU Wget 1.12.1-devel (e0522c68d1c6) built on linux-gnu.
+digest +https +ipv6 +iri +large-file +md5/openssl +nls +ntlm +opie
+ssl/openssl
- -----
Note; I actually didn't like the whole line-prefixing thing being
applied to feature advertisement, so I had removed it. I had neglected
to fix the comment.
- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer.
Maintainer of GNU Wget and GNU Teseq
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkrPAZIACgkQ7M8hyUobTrEnqQCfTP2nd7mOpj1yiZ5GCGZAlOth
Ol8AoJA9iTRS2TRiDwKA0q7TznXwXGyy
=l82m
-----END PGP SIGNATURE-----
/* Autogenerated by build_info.pl - DO NOT EDIT */
/* This stores global variables that are initialized with
preprocessor declarations for output with the --version flag.
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. */
#include "wget.h"
#include <stdio.h>
const char *compiled_features[] =
{
#if defined ENABLE_DIGEST
"+digest",
#else
"-digest",
#endif
#if defined HAVE_SSL
"+https",
#else
"-https",
#endif
#if defined ENABLE_IPV6
"+ipv6",
#else
"-ipv6",
#endif
#if defined ENABLE_IRI
"+iri",
#else
"-iri",
#endif
#if SIZEOF_OFF_T >= 8
"+large-file",
#else
"-large-file",
#endif
#if defined HAVE_BUILTIN_MD5
"+md5/builtin",
#elif defined HAVE_OPENSSL_MD5
"+md5/openssl",
#elif defined HAVE_SOLARIS_MD5
"+md5/solaris",
#else
"-md5",
#endif
#if defined ENABLE_NLS
"+nls",
#else
"-nls",
#endif
#if defined ENABLE_NTLM
"+ntlm",
#else
"-ntlm",
#endif
#if defined ENABLE_OPIE
"+opie",
#else
"-opie",
#endif
#if defined HAVE_LIBSSL
"+ssl/openssl",
#elif defined HAVE_LIBGNUTLS
"+ssl/gnutls",
#else
"-ssl",
#endif
/* sentinel value */
NULL
};
build_info.c.sig
Description: PGP signature
- Re: [Bug-wget] Wget 1.12 v. VMS, Steven M. Schweda, 2009/10/07
- Re: [Bug-wget] Wget 1.12 v. VMS, Steven M. Schweda, 2009/10/07
- Re: [Bug-wget] Wget 1.12 v. VMS, Micah Cowan, 2009/10/09
- Re: [Bug-wget] Wget 1.12 v. VMS,
Micah Cowan <=
- Re: [Bug-wget] Wget 1.12 v. VMS, Micah Cowan, 2009/10/09
- Re: [Bug-wget] Wget 1.12 v. VMS, Steven M. Schweda, 2009/10/09
- Re: [Bug-wget] Wget 1.12 v. VMS, Steven M. Schweda, 2009/10/09