2015-01-09 22:51:23 +08:00
|
|
|
--- a/bin/aclocal.in
|
|
|
|
+++ b/bin/aclocal.in
|
2015-03-24 21:13:01 +08:00
|
|
|
@@ -356,6 +356,12 @@ sub scan_m4_dirs ($$@)
|
2010-12-11 00:10:07 +08:00
|
|
|
|
|
|
|
foreach my $m4dir (@dirlist)
|
2010-12-11 00:01:33 +08:00
|
|
|
{
|
2010-12-11 00:10:07 +08:00
|
|
|
+ if (! -d $m4dir)
|
2015-01-09 22:51:23 +08:00
|
|
|
+ {
|
|
|
|
+ msg ('override', "warning: skipping not existing directory `$m4dir'");
|
|
|
|
+ next;
|
|
|
|
+ }
|
2010-12-11 00:10:07 +08:00
|
|
|
+
|
2010-12-11 00:01:33 +08:00
|
|
|
if (! opendir (DIR, $m4dir))
|
|
|
|
{
|
2015-01-09 22:51:23 +08:00
|
|
|
# TODO: maybe avoid complaining only if errno == ENONENT?
|