From d7949ae19aa74a505d4d69d85ad18fedcd121019 Mon Sep 17 00:00:00 2001 From: jow Date: Fri, 10 Dec 2010 16:01:33 +0000 Subject: [PATCH] [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 --- .../100-aclocal-skip-not-existing-directories.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tools/automake/patches/100-aclocal-skip-not-existing-directories.patch 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