<p dir="ltr"><br>
On Jul 15, 2014 9:20 AM, &quot;Ross Burton&quot; &lt;<a href="mailto:ross.burton@intel.com">ross.burton@intel.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Since 2004 we&#39;ve been carrying a patch[1] make autoreconf pass --foreign to<br>
&gt; automake.  Presumably at the time this was due to many upstreams using<br>
&gt; hand-coded bootstrap scripts that passed --foreign manually, but we were using<br>
&gt; autoreconf.  These days many projects have added foreign to AM_INIT_AUTOMAKE and<br>
&gt; use autoreconf directly, so this patch isn&#39;t as critical as it used to be.</p>
<p dir="ltr"> can it be somehow made such that it can be passed via option flags so we dont have to patch the packages not using above automake macro<br>
&gt;<br>
&gt; Signed-off-by: Ross Burton &lt;<a href="mailto:ross.burton@intel.com">ross.burton@intel.com</a>&gt;<br>
&gt;<br>
&gt; [1] oe-classic 2ab2a92eadaf2f80410d8746099f8a9b1b81ff91<br>
&gt; ---<br>
&gt;  .../autoconf/autoconf/autoreconf-foreign.patch            |   13 -------------<br>
&gt;  meta/recipes-devtools/autoconf/<a href="http://autoconf_2.69.bb">autoconf_2.69.bb</a>           |    1 -<br>
&gt;  2 files changed, 14 deletions(-)<br>
&gt;  delete mode 100644 meta/recipes-devtools/autoconf/autoconf/autoreconf-foreign.patch<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/autoconf/autoconf/autoreconf-foreign.patch b/meta/recipes-devtools/autoconf/autoconf/autoreconf-foreign.patch<br>
&gt; deleted file mode 100644<br>
&gt; index 88f7501..0000000<br>
&gt; --- a/meta/recipes-devtools/autoconf/autoconf/autoreconf-foreign.patch<br>
&gt; +++ /dev/null<br>
&gt; @@ -1,13 +0,0 @@<br>
&gt; -Upstream-Status: Pending<br>
&gt; -<br>
&gt; ---- autoconf-2.59/bin/<a href="http://autoreconf.in">autoreconf.in</a>~autoreconf-foreign 2004-05-09 20:55:06.000000000 -0400<br>
&gt; -+++ autoconf-2.59/bin/<a href="http://autoreconf.in">autoreconf.in</a>    2004-05-09 20:55:55.000000000 -0400<br>
&gt; -@@ -184,6 +184,8 @@<br>
&gt; -<br>
&gt; -   $aclocal_supports_force = `$aclocal --help` =~ /--force/;<br>
&gt; -<br>
&gt; -+  $automake   .= &#39; --foreign&#39;;<br>
&gt; -+<br>
&gt; -   # Dispatch autoreconf&#39;s option to the tools.<br>
&gt; -   # --include;<br>
&gt; -   $autoconf   .= join (&#39; --include=&#39;, &#39;&#39;, @include);<br>
&gt; diff --git a/meta/recipes-devtools/autoconf/<a href="http://autoconf_2.69.bb">autoconf_2.69.bb</a> b/meta/recipes-devtools/autoconf/<a href="http://autoconf_2.69.bb">autoconf_2.69.bb</a><br>
&gt; index 5c652d4..6614a7b 100644<br>
&gt; --- a/meta/recipes-devtools/autoconf/<a href="http://autoconf_2.69.bb">autoconf_2.69.bb</a><br>
&gt; +++ b/meta/recipes-devtools/autoconf/<a href="http://autoconf_2.69.bb">autoconf_2.69.bb</a><br>
&gt; @@ -10,7 +10,6 @@ LIC_FILES_CHKSUM = &quot;file://COPYING;md5=751419260aa954499f7abaabaa882bbe \<br>
&gt;  SRC_URI += &quot;file://autoreconf-include.patch \<br>
&gt;             file://check-automake-cross-warning.patch \<br>
&gt;             file://autoreconf-exclude.patch \<br>
&gt; -           file://autoreconf-foreign.patch \<br>
&gt;             file://autoreconf-gnuconfigize.patch \<br>
&gt;              file://config_site.patch \<br>
&gt;              file://remove-usr-local-lib-from-m4.patch \<br>
&gt; --<br>
&gt; 1.7.10.4<br>
&gt;<br>
&gt; --<br>
&gt; _______________________________________________<br>
&gt; Openembedded-devel mailing list<br>
&gt; <a href="mailto:Openembedded-devel@lists.openembedded.org">Openembedded-devel@lists.openembedded.org</a><br>
&gt; <a href="http://lists.openembedded.org/mailman/listinfo/openembedded-devel">http://lists.openembedded.org/mailman/listinfo/openembedded-devel</a><br>
</p>