[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Avoid poor request for a header bug report when using old AC_INIT
From: |
Ralf Wildenhues |
Subject: |
Re: Avoid poor request for a header bug report when using old AC_INIT |
Date: |
Mon, 3 Apr 2006 19:59:24 +0200 |
User-agent: |
Mutt/1.5.9i |
Hi Noah,
* Noah Misch wrote on Mon, Apr 03, 2006 at 07:23:54PM CEST:
> If a package uses the zero- or one-argument form of AC_INIT, the warning for
> present-but-not-usable headers looks like this:
> configure: WARNING: ## ------------------------------------------ ##
> configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##
> configure: WARNING: ## ------------------------------------------ ##
> This patch makes `configure' omit the report request when we have no
> bug report address to provide. Ok?
How about this instead?
Cheers,
Ralf
Index: lib/autoconf/headers.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/headers.m4,v
retrieving revision 1.46
diff -u -r1.46 headers.m4
--- lib/autoconf/headers.m4 3 Apr 2006 03:18:39 -0000 1.46
+++ lib/autoconf/headers.m4 3 Apr 2006 17:53:20 -0000
@@ -137,8 +137,10 @@
AC_MSG_WARN([$1: in the future, the compiler will take precedence])
(
AS_BOX([Report this to ]m4_ifset([AC_PACKAGE_BUGREPORT],
- [AC_PACKAGE_BUGREPORT],
- [the AC_PACKAGE_NAME lists. ]))
+ [AC_PACKAGE_BUGREPORT],
+ m4_ifset([AC_PACKAGE_NAME],
+ [the AC_PACKAGE_NAME lists. ],
+ [the maintainer of this package. ])))
) |
sed "s/^/$as_me: WARNING: /" >&2
;;