automake: skip over not existing m4 macro directories, don't fail

SVN-Revision: 24424
v19.07.3_mercusys_ac12_duma
Jo-Philipp Wich 14 years ago
parent ffbed0f08a
commit 94c3f4ab4d

@ -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
Loading…
Cancel
Save