]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtoolize.m4sh (func_included_files): Do not recurse
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 29 Sep 2005 16:36:17 +0000 (16:36 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 29 Sep 2005 16:36:17 +0000 (16:36 +0000)
non-existent files.

ChangeLog
libtoolize.m4sh

index 5c8c4e0029a9d16b80be1407416007e27b8bbc18..1a889865162943e7d1de69390e6a3ffe369a7f27 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-09-29  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+       * libtoolize.m4sh (func_included_files): Do not recurse
+       non-existent files.
+
 2005-09-27  Gary V. Vaughan  <gary@gnu.org>
 
        * libtoolize.m4sh (func_scan_files): Support projects that have
index 4bb4e45c96e11e3771501a1e8f73eca0d76a2189..1b0eed108b4283f18c117b92dea15dc464a1854e 100644 (file)
@@ -453,13 +453,13 @@ func_included_files ()
 
     if test -f "$my_searchfile"; then
       $ECHO "X$my_searchfile" | $Xsed
-    fi
 
-    # Only recurse when we don't care if all the variables we use get
-    # trashed, since they are in global scope.
-    for my_filename in `$SED "$my_sed_include" "$my_searchfile"`; do
-      func_included_files $my_filename
-    done
+      # Only recurse when we don't care if all the variables we use get
+      # trashed, since they are in global scope.
+      for my_filename in `$SED "$my_sed_include" "$my_searchfile"`; do
+       func_included_files $my_filename
+      done
+    fi
 }