100-aclocal-skip-not-existing-directories.patch 376 B

123456789101112131415
  1. --- a/bin/aclocal.in
  2. +++ b/bin/aclocal.in
  3. @@ -356,6 +356,12 @@ sub scan_m4_dirs ($$@)
  4. foreach my $m4dir (@dirlist)
  5. {
  6. + if (! -d $m4dir)
  7. + {
  8. + msg ('override', "warning: skipping not existing directory `$m4dir'");
  9. + next;
  10. + }
  11. +
  12. if (! opendir (DIR, $m4dir))
  13. {
  14. # TODO: maybe avoid complaining only if errno == ENONENT?