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