libtool-patches
[Top][All Lists]
Advanced

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

[PATCH 3/4] libtoolize: rename require_makefile_am to require_Makefile_a


From: Gary V. Vaughan
Subject: [PATCH 3/4] libtoolize: rename require_makefile_am to require_Makefile_am.
Date: Mon, 14 Nov 2011 18:07:29 +0700

I would have applied this as obvious, but I don't want to
risk breaking something subtly by re-ordering patches again.

A simple refactoring to keep the next change self-contained.
* libtoolize.m4sh (require_makefile_am): Renamed from this...
(require_Makefile_am): ...to this.

Signed-off-by: Gary V. Vaughan <address@hidden>
---
 libtoolize.m4sh |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/libtoolize.m4sh b/libtoolize.m4sh
index 1fc0409..ea88d11 100644
--- a/libtoolize.m4sh
+++ b/libtoolize.m4sh
@@ -1378,9 +1378,9 @@ func_require_aclocal_amflags ()
 {
     $debug_cmd
 
-    $require_makefile_am
+    $require_Makefile_am
 
-    test -n "$makefile_am" && {
+    test -n "$Makefile_am" && {
       _G_sed_extract_aclocal_amflags='s|#.*$||
         /^[     ]*ACLOCAL_AMFLAGS[      ]*=/ {
             s|^.*=[     ]*\(.*\)|aclocal_amflags="\1"|
@@ -1388,7 +1388,7 @@ func_require_aclocal_amflags ()
         }'
 
       _G_aclocal_flags_cmd=`$SED -n "$_G_sed_extract_aclocal_amflags" \
-          "$makefile_am"`
+          "$Makefile_am"`
       eval "$_G_aclocal_flags_cmd"
 
       func_verbose "ACLOCAL_AMFLAGS='$aclocal_amflags'"
@@ -1542,24 +1542,24 @@ AC_CONFIG_MACRO_DIR([$ac_macro_dir]) conflicts with 
ACLOCAL_AMFLAGS=-I $am_macro
 }
 
 
-# require_makefile_am
+# require_Makefile_am
 # -------------------
-# If not already set, set makefile_am to `Makefile.am' if that file is
+# If not already set, set Makefile_am to `Makefile.am' if that file is
 # present in the current directory.
-require_makefile_am=func_require_makefile_am
-func_require_makefile_am ()
+require_Makefile_am=func_require_Makefile_am
+func_require_Makefile_am ()
 {
     $debug_cmd
 
-    test -n "$makefile_am" || makefile_am=Makefile.am
+    test -n "$Makefile_am" || Makefile_am=Makefile.am
 
     if test -f Makefile.am; then
-      func_verbose "found \`$makefile_am'"
+      func_verbose "found \`$Makefile_am'"
     else
-      makefile_am=
+      Makefile_am=
     fi
 
-    require_makefile_am=:
+    require_Makefile_am=:
 }
 
 
-- 
1.7.7.3

Cheers,
-- 
Gary V. Vaughan (gary AT gnu DOT org)



reply via email to

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