From db7359dd3299a94b7b997807e6e7d67f6bcf3325 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Thu, 29 Sep 2005 16:36:17 +0000 Subject: [PATCH] * libtoolize.m4sh (func_included_files): Do not recurse non-existent files. --- ChangeLog | 5 +++++ libtoolize.m4sh | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5c8c4e002..1a8898651 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-09-29 Ralf Wildenhues + + * libtoolize.m4sh (func_included_files): Do not recurse + non-existent files. + 2005-09-27 Gary V. Vaughan * libtoolize.m4sh (func_scan_files): Support projects that have diff --git a/libtoolize.m4sh b/libtoolize.m4sh index 4bb4e45c9..1b0eed108 100644 --- a/libtoolize.m4sh +++ b/libtoolize.m4sh @@ -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 } -- 2.47.3