X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=tools%2Fautomake%2Fpatches%2F100-aclocal-skip-not-existing-directories.patch;fp=tools%2Fautomake%2Fpatches%2F100-aclocal-skip-not-existing-directories.patch;h=caaad084a4996a4ad8afca3411381382f6ff8e2c;hb=cdaf75b641e6f55ed8de286d1db81d0338add315;hp=e6c3d7f335533865e907ccd6b2fdb0cda0f4a4ad;hpb=da9782f93591fc4856d9fed753a9ee0e3168ede8;p=openwrt%2F.git diff --git a/tools/automake/patches/100-aclocal-skip-not-existing-directories.patch b/tools/automake/patches/100-aclocal-skip-not-existing-directories.patch index e6c3d7f335..caaad084a4 100644 --- a/tools/automake/patches/100-aclocal-skip-not-existing-directories.patch +++ b/tools/automake/patches/100-aclocal-skip-not-existing-directories.patch @@ -1,15 +1,15 @@ ---- a/aclocal.in -+++ b/aclocal.in -@@ -327,6 +327,12 @@ +--- a/bin/aclocal.in ++++ b/bin/aclocal.in +@@ -354,6 +354,12 @@ sub scan_m4_dirs ($$@) foreach my $m4dir (@dirlist) { + if (! -d $m4dir) -+ { -+ msg ('override', "warning: skipping not existing directory `$m4dir'"); -+ next; -+ } ++ { ++ msg ('override', "warning: skipping not existing directory `$m4dir'"); ++ next; ++ } + if (! opendir (DIR, $m4dir)) { - if ($install && $type == FT_USER && $first_user_m4dir) + # TODO: maybe avoid complaining only if errno == ENONENT?