[Elrond] Bug#281364: autoconf: configure doesn't show version for --version

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

 



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 <elrond+bugs.debian.org@xxxxxxxxxxxxx>,
        281364@xxxxxxxxxxxxxxx
Resent-From: Elrond <elrond+bugs.debian.org@xxxxxxxxxxxxx>
Resent-To: debian-bugs-dist@xxxxxxxxxxxxxxxx
Resent-CC: Ben Pfaff <pfaffben@xxxxxxxxxx>
Resent-Date: Mon, 15 Nov 2004 13:03:01 UTC
Resent-Message-ID: <handler.281364.B.110052208710636@xxxxxxxxxxxxxxx>
Date: Mon, 15 Nov 2004 13:34:43 +0100
From: Elrond <elrond+bugs.debian.org@xxxxxxxxxxxxx>
To: submit@xxxxxxxxxxxxxxx
Message-ID: <20041115123442.GA6962@xxxxxxxxxxxxxxxxxxxxx>
User-Agent: Mutt/1.5.6+20040722i
Delivered-To: submit@xxxxxxxxxxxxxxx
Resent-Sender: Debian BTS <debbugs@xxxxxxxxxxxxxxx>
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


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux