[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Elrond] Bug#281364: autoconf: configure doesn't show version for --vers
From: |
Ben Pfaff |
Subject: |
[Elrond] Bug#281364: autoconf: configure doesn't show version for --version |
Date: |
Mon, 15 Nov 2004 22:40:35 -0800 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
When the old style of AC_INIT is used (with a single argument
that indicates a file to check for) recent Autoconf omits
Autoconf version info from the generated configure's --version
output. Using the modern style of AC_INIT fixes the problem.
This is a forwarded copy of a bug reported against Debian's
package for Autoconf, which I maintain. I've included the
original bug report below.
-------------------- Start of forwarded message --------------------
Delivery-date: Mon, 15 Nov 2004 05:12:47 -0800
Subject: Bug#281364: autoconf: configure doesn't show version for --version
Reply-To: Elrond <address@hidden>,
address@hidden
Resent-From: Elrond <address@hidden>
Resent-To: address@hidden
Resent-CC: Ben Pfaff <address@hidden>
Resent-Date: Mon, 15 Nov 2004 13:03:01 UTC
Resent-Message-ID: <address@hidden>
Date: Mon, 15 Nov 2004 13:34:43 +0100
From: Elrond <address@hidden>
To: address@hidden
Message-ID: <address@hidden>
User-Agent: Mutt/1.5.6+20040722i
Delivered-To: address@hidden
Resent-Sender: Debian BTS <address@hidden>
Resent-Date: Mon, 15 Nov 2004 05:10:37 -0800
Package: autoconf
Version: 2.59-8
Severity: minor
Should be obvious from this example:
source% autoconf2.13
source% ./configure --version
configure generated by autoconf version 2.13
source% autoconf2.50
source% ./configure --version
Copyright (C) 2003 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
source% $EDITOR configure.in
... changing AC_INIT
from: AC_INIT(include/foo.h) <-- old 2.13 syntax
to: AC_INIT(mypackage, 3.3) <-- new syntax
source% autoconf2.50
source% ./configure --version
mypackage configure 3.3
generated by GNU Autoconf 2.59
The configure generated with 2.5x should really say, that
it was generated using 2.59, even for oldish configure.in.
Elrond
-------------------- End of forwarded message --------------------
--
"MONO - Monochrome Emulation
This field is used to store your favorite bit."
--FreeVGA Attribute Controller Reference
- [Elrond] Bug#281364: autoconf: configure doesn't show version for --version,
Ben Pfaff <=