diff options
author | Ross Burton <ross.burton@intel.com> | 2014-05-28 12:56:26 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-06-06 09:26:39 +0100 |
commit | e2485940f980f462ca4b7894864d808dba605de8 (patch) | |
tree | 175eaa8cd8d82172e388051ce27dcdb720950952 | |
parent | f852934df4efd977e4a7095a4c45e79b477fc4b8 (diff) | |
download | poky-e2485940f980f462ca4b7894864d808dba605de8.tar.gz |
autoconf: don't disable the autoheader warnings
The usual autoheader warning is due to AC_DEFINE variables not having a
description. This results in no variable being defined in config.h, which leads
to code behaving as if the test failed when it actually succeeded.
This patch was introduced to OpenEmbedded back in 2004:
http://git.openembedded.org/openembedded/commit/?id=5eab06d132cb2895fd579f5cedffbb54c27794f8
There is no rationale for the patch so I suspect this is due to the warnings
being fatal and the submitter not understanding that the problem is more than
cosmetic.
(From OE-Core rev: de5fb9d7f60763082327ddeca71842c00a2fa23e)
(From OE-Core rev: dd9c3d7bc946ff44e0ca90f4e345711d6ad21728)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/autoconf/autoconf/autoheader-nonfatal-warnings.patch | 15 | ||||
-rw-r--r-- | meta/recipes-devtools/autoconf/autoconf_2.69.bb | 1 |
2 files changed, 0 insertions, 16 deletions
diff --git a/meta/recipes-devtools/autoconf/autoconf/autoheader-nonfatal-warnings.patch b/meta/recipes-devtools/autoconf/autoconf/autoheader-nonfatal-warnings.patch deleted file mode 100644 index 8ae6d5c8aa..0000000000 --- a/meta/recipes-devtools/autoconf/autoconf/autoheader-nonfatal-warnings.patch +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | --- autoconf-2.59/bin/autoheader.in~ 2003-10-10 14:52:56.000000000 +0100 | ||
4 | +++ autoconf-2.59/bin/autoheader.in 2004-05-03 01:36:45.000000000 +0100 | ||
5 | @@ -272,8 +272,8 @@ | ||
6 | } | ||
7 | |||
8 | } | ||
9 | - exit 1 | ||
10 | - if keys %symbol; | ||
11 | +# exit 1 | ||
12 | +# if keys %symbol; | ||
13 | } | ||
14 | |||
15 | update_file ("$tmp/config.hin", "$config_h_in"); | ||
diff --git a/meta/recipes-devtools/autoconf/autoconf_2.69.bb b/meta/recipes-devtools/autoconf/autoconf_2.69.bb index a2ecd94d8a..5c652d43fa 100644 --- a/meta/recipes-devtools/autoconf/autoconf_2.69.bb +++ b/meta/recipes-devtools/autoconf/autoconf_2.69.bb | |||
@@ -12,7 +12,6 @@ SRC_URI += "file://autoreconf-include.patch \ | |||
12 | file://autoreconf-exclude.patch \ | 12 | file://autoreconf-exclude.patch \ |
13 | file://autoreconf-foreign.patch \ | 13 | file://autoreconf-foreign.patch \ |
14 | file://autoreconf-gnuconfigize.patch \ | 14 | file://autoreconf-gnuconfigize.patch \ |
15 | file://autoheader-nonfatal-warnings.patch \ | ||
16 | file://config_site.patch \ | 15 | file://config_site.patch \ |
17 | file://remove-usr-local-lib-from-m4.patch \ | 16 | file://remove-usr-local-lib-from-m4.patch \ |
18 | file://preferbash.patch \ | 17 | file://preferbash.patch \ |