From a70d38879b8855116c9bdd21362919561f40faef Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Tue, 20 Feb 2001 09:24:40 +0000 Subject: [PATCH] * autoscan.pl (check_configure_ac): Pretty missing macro warnings output. --- ChangeLog | 5 +++++ autoscan.in | 6 +++++- autoscan.pl | 6 +++++- bin/autoscan.in | 6 +++++- man/autoupdate.1 | 2 +- 5 files changed, 21 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index acef4e67..5292188e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-02-20 Paul Martinolich + + * autoscan.pl (check_configure_ac): Pretty missing macro warnings + output. + 2001-02-19 Paul Eggert * aclang.m4 (AC_C_INLINE): Define "inline" to empty if the diff --git a/autoscan.in b/autoscan.in index 3daa46fd..07cd7091 100644 --- a/autoscan.in +++ b/autoscan.in @@ -617,7 +617,11 @@ sub check_configure_ac ($) foreach my $macro (sort keys %needed_macros) { - warn "warning: missing $macro wanted by: @{$needed_macros{$macro}}\n"; + warn "$me: warning: missing $macro wanted by: \n"; + foreach my $need (@{$needed_macros{$macro}}) + { + warn "\t$need\n"; + } } } diff --git a/autoscan.pl b/autoscan.pl index 3daa46fd..07cd7091 100644 --- a/autoscan.pl +++ b/autoscan.pl @@ -617,7 +617,11 @@ sub check_configure_ac ($) foreach my $macro (sort keys %needed_macros) { - warn "warning: missing $macro wanted by: @{$needed_macros{$macro}}\n"; + warn "$me: warning: missing $macro wanted by: \n"; + foreach my $need (@{$needed_macros{$macro}}) + { + warn "\t$need\n"; + } } } diff --git a/bin/autoscan.in b/bin/autoscan.in index 3daa46fd..07cd7091 100644 --- a/bin/autoscan.in +++ b/bin/autoscan.in @@ -617,7 +617,11 @@ sub check_configure_ac ($) foreach my $macro (sort keys %needed_macros) { - warn "warning: missing $macro wanted by: @{$needed_macros{$macro}}\n"; + warn "$me: warning: missing $macro wanted by: \n"; + foreach my $need (@{$needed_macros{$macro}}) + { + warn "\t$need\n"; + } } } diff --git a/man/autoupdate.1 b/man/autoupdate.1 index 28512518..416cf182 100644 --- a/man/autoupdate.1 +++ b/man/autoupdate.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. -.TH AUTOUPDATE "1" "January 2001" "GNU Autoconf 2.49d" FSF +.TH AUTOUPDATE "1" "February 2001" "GNU Autoconf 2.49d" FSF .SH NAME autoupdate \- Update a configure.in to a newer Autoconf .SH SYNOPSIS