summaryrefslogtreecommitdiffstats
path: root/tools/automake/patches/100-aclocal-skip-not-existing-directories.patch
blob: 1df30300d9cf999003d70900d2021366a1b5a15b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/aclocal.in
+++ b/aclocal.in
@@ -311,7 +311,8 @@ sub scan_m4_dirs ($@)
     {
       if (! opendir (DIR, $m4dir))
 	{
-	  fatal "couldn't open directory `$m4dir': $!";
+	  msg ('override', "warning: skipping not existing directory `$m4dir'");
+	  next;
 	}
 
       # We reverse the directory contents so that foo2.m4 gets