2010-12-10 16:01:33 +00:00
|
|
|
--- a/aclocal.in
|
|
|
|
+++ b/aclocal.in
|
2012-01-20 15:19:22 +00:00
|
|
|
@@ -310,6 +310,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)
|
|
|
|
+ {
|
|
|
|
+ msg ('override', "warning: skipping not existing directory `$m4dir'");
|
|
|
|
+ next;
|
|
|
|
+ }
|
|
|
|
+
|
2010-12-10 16:01:33 +00:00
|
|
|
if (! opendir (DIR, $m4dir))
|
|
|
|
{
|
2010-12-10 16:10:07 +00:00
|
|
|
fatal "couldn't open directory `$m4dir': $!";
|