diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-12-10 16:01:33 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-12-10 16:01:33 +0000 |
commit | 94c3f4ab4d6d9ac9f2647997d4e2759c13131c02 (patch) | |
tree | 00d19685ee97cf310476641a78759294c5f77fc2 /tools/automake | |
parent | ffbed0f08a6549f954d9187709f4245570a2b815 (diff) | |
download | mtk-20170518-94c3f4ab4d6d9ac9f2647997d4e2759c13131c02.zip mtk-20170518-94c3f4ab4d6d9ac9f2647997d4e2759c13131c02.tar.gz mtk-20170518-94c3f4ab4d6d9ac9f2647997d4e2759c13131c02.tar.bz2 |
automake: skip over not existing m4 macro directories, don't fail
SVN-Revision: 24424
Diffstat (limited to 'tools/automake')
-rw-r--r-- | tools/automake/patches/100-aclocal-skip-not-existing-directories.patch | 12 |
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 0000000..1df3030 --- /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 |