aboutsummaryrefslogtreecommitdiffstats
path: root/tools/automake
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-12-10 16:01:33 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-12-10 16:01:33 +0000
commitd47f844c99f375f80143257991ff554ab1123807 (patch)
tree5383ee980e3c5c00faaac04f7b7a0295cb8aa32d /tools/automake
parent955afe2b80ef9ea0d26cc2ad9700c4266721ba1d (diff)
downloadmaster-187ad058-d47f844c99f375f80143257991ff554ab1123807.tar.gz
master-187ad058-d47f844c99f375f80143257991ff554ab1123807.tar.bz2
master-187ad058-d47f844c99f375f80143257991ff554ab1123807.zip
[tools] automake: skip over not existing m4 macro directories, don't fail
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24424 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/automake')
-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 0000000000..1df30300d9
--- /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