1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-28 12:16:47 +02:00

[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
This commit is contained in:
jow 2010-12-10 16:01:33 +00:00
parent 0de20c7971
commit d7949ae19a

View File

@ -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