From: Ralf Wildenhues Date: Thu, 29 Sep 2005 16:36:17 +0000 (+0000) Subject: * libtoolize.m4sh (func_included_files): Do not recurse X-Git-Tag: release-2-1b~489 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=db7359dd3299a94b7b997807e6e7d67f6bcf3325;p=thirdparty%2Flibtool.git * libtoolize.m4sh (func_included_files): Do not recurse non-existent files. --- 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 }