automake-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] {master} missing: better tips about missing tools


From: Stefano Lattarini
Subject: Re: [PATCH] {master} missing: better tips about missing tools
Date: Mon, 25 Jun 2012 10:44:24 +0200

On 06/23/2012 01:58 PM, Stefano Lattarini wrote:
> On 06/23/2012 10:39 AM, Dave Hart wrote:
>>
>> Looks like a nice improvement, thanks.
>>
> Glad you like it.  I will push by tomorrow if there is
> no further feedback.
> 
I've pushed the patch, applied the follow-up below on the top of it,
merged to master, and pushed.

Thanks,
  Stefano


>From 9adbc8d7d5a2a90e97d29af5ebff176fb3d794f3 Mon Sep 17 00:00:00 2001
Message-Id: <address@hidden>
From: Stefano Lattarini <address@hidden>
Date: Mon, 25 Jun 2012 10:38:58 +0200
Subject: [PATCH] missing: don't cater to 'configure.in' in our advice

The use of 'configure.in' as autoconf input now deprecated the development
versions of both Automake and Autoconf, and we'd like to speed up its
demise.

* missing: In the advice displayed in case some autotools are detected to
be missing, refer to 'configure.ac' unconditionally, instead of referring
to 'configure.in' when that file exists in the current directory (and no
'configure.ac' does).

Signed-off-by: Stefano Lattarini <address@hidden>
---
 lib/missing |   14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/lib/missing b/lib/missing
index b24ebab..86301c4 100755
--- a/lib/missing
+++ b/lib/missing
@@ -1,7 +1,7 @@
 #! /bin/sh
 # Common wrapper for a few potentially missing GNU programs.

-scriptversion=2012-06-23.01; # UTC
+scriptversion=2012-06-25.09; # UTC

 # Copyright (C) 1996-2012 Free Software Foundation, Inc.
 # Originally written by Fran,cois Pinard <address@hidden>, 1996.
@@ -29,14 +29,6 @@ if test $# -eq 0; then
   exit 1
 fi

-# In the cases where this matters, 'missing' is being run in the
-# srcdir already.
-if test -f configure.ac; then
-  configure_ac=configure.ac
-else
-  configure_ac=configure.in
-fi
-
 case $1 in

   --is-lightweight)
@@ -139,10 +131,10 @@ give_advice ()

   printf '%s\n' "'$1' is $msg."

-  configure_deps="'${configure_ac}' or m4 files included by '${configure_ac}'"
+  configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
   case $normalized_program in
     autoconf*)
-      echo "You should only need it if you modified '${configure_ac}',"
+      echo "You should only need it if you modified 'configure.ac',"
       echo "or m4 files included by it."
       program_details 'autoconf'
       ;;
-- 
1.7.9.5



reply via email to

[Prev in Thread] Current Thread [Next in Thread]