blob: a0d04e21e5fdc437927bc76e8ab5b78997f855d3 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001--- a/bin/aclocal.in
2+++ b/bin/aclocal.in
3@@ -371,6 +371,12 @@ sub scan_m4_dirs ($$@)
4
5 foreach my $m4dir (@dirlist)
6 {
7+ if (! -d $m4dir)
8+ {
9+ msg ('override', "warning: skipping not existing directory `$m4dir'");
10+ next;
11+ }
12+
13 if (! opendir (DIR, $m4dir))
14 {
15 # TODO: maybe avoid complaining only if errno == ENONENT?