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