summaryrefslogtreecommitdiffstats
path: root/tools/automake/patches/100-aclocal-skip-not-existing-directories.patch
diff options
context:
space:
mode:
Diffstat (limited to 'tools/automake/patches/100-aclocal-skip-not-existing-directories.patch')
-rw-r--r--tools/automake/patches/100-aclocal-skip-not-existing-directories.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/automake/patches/100-aclocal-skip-not-existing-directories.patch b/tools/automake/patches/100-aclocal-skip-not-existing-directories.patch
new file mode 100644
index 000000000..1df30300d
--- /dev/null
+++ b/tools/automake/patches/100-aclocal-skip-not-existing-directories.patch
@@ -0,0 +1,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