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

123456789101112131415
  1. --- a/aclocal.in
  2. +++ b/aclocal.in
  3. @@ -327,6 +327,12 @@
  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. if ($install && $type == FT_USER && $first_user_m4dir)