bug-gnulib
[Top][All Lists]
Advanced

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

[PATCH] gnulib-tool (func_import): Explain origin of code.


From: Simon Josefsson
Subject: [PATCH] gnulib-tool (func_import): Explain origin of code.
Date: Fri, 12 Mar 2010 14:45:49 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)

I pushed this, it simplifies tracking down from which module some
particular code in your gnulib-comp.m4 comes from.

/Simon

---
 ChangeLog   |    4 ++++
 gnulib-tool |    3 +++
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b6d8f41..fa172b9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-03-12  Simon Josefsson  <address@hidden>
+
+       * gnulib-tool (func_import): Explain origin of code.
+
 2010-03-12  Bruno Haible  <address@hidden>
 
        Fix problem with automake's definition of CXXLINK.
diff --git a/gnulib-tool b/gnulib-tool
index 0517bd4..9746d88 100755
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -4080,6 +4080,7 @@ s,//*$,/,'
     for module in $final_modules; do
       func_verify_module
       if test -n "$module"; then
+        echo "# Code from module $module:"
         func_get_autoconf_early_snippet "$module"
       fi
     done \
@@ -4114,6 +4115,7 @@ s,//*$,/,'
     for module in $main_modules; do
       func_verify_module
       if test -n "$module"; then
+        echo "  # Code from module $module:"
         func_get_autoconf_snippet "$module" \
           | sed -e '/^$/d;' -e 's/^/  /' \
                 -e 's/AM_GNU_GETTEXT(\[external\])/dnl you must add 
AM_GNU_GETTEXT([external]) or similar to configure.ac./' \
@@ -4126,6 +4128,7 @@ s,//*$,/,'
         fi
       fi
     done
+    echo "  # End of code from modules"
     func_emit_initmacro_end $macro_prefix
     echo "  gltests_libdeps="
     echo "  gltests_ltlibdeps="
-- 
1.7.0





reply via email to

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