diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-10-09 15:05:09 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-10-09 15:05:09 +0100 |
commit | 939e2fe270553ac4675520adeaf23761e856c468 (patch) | |
tree | 966942ac34f8d449478f6cbe2e77982398c97e31 /meta/recipes-core/gettext/gettext-0.14.1/getline.m4.patch | |
parent | 530fb7fdea401fd33e4ef90a7ee411f675a4a20c (diff) | |
download | openembedded-core-939e2fe270553ac4675520adeaf23761e856c468.tar.gz openembedded-core-939e2fe270553ac4675520adeaf23761e856c468.tar.bz2 openembedded-core-939e2fe270553ac4675520adeaf23761e856c468.tar.xz openembedded-core-939e2fe270553ac4675520adeaf23761e856c468.zip |
gettext: Move files to the correct place
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-core/gettext/gettext-0.14.1/getline.m4.patch')
-rw-r--r-- | meta/recipes-core/gettext/gettext-0.14.1/getline.m4.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-core/gettext/gettext-0.14.1/getline.m4.patch b/meta/recipes-core/gettext/gettext-0.14.1/getline.m4.patch new file mode 100644 index 000000000..f71d0e1d8 --- /dev/null +++ b/meta/recipes-core/gettext/gettext-0.14.1/getline.m4.patch @@ -0,0 +1,36 @@ +# Pulled from OpenEmbedded +# +# Commented by: Saul Wold <saul.wold@intel.com> + +--- /gettext-tools/m4/orig-getline.m4 2003-07-18 18:11:37.000000000 +0300 ++++ /gettext-tools/m4/getline.m4 2007-02-03 13:33:41.000000000 +0200 +@@ -42,12 +42,23 @@ + return 1; + len = getline (&line, &siz, in); + exit ((len == 4 && line && strcmp (line, "foo\n") == 0) ? 0 : 1); +- } +- ], am_cv_func_working_getline=yes dnl The library version works. +- , am_cv_func_working_getline=no dnl The library version does NOT work. +- , am_cv_func_working_getline=no dnl We're cross compiling. +- )]) +- fi ++ } ++ ], am_cv_func_working_getline=yes dnl The library version works. ++ , am_cv_func_working_getline=no dnl The library version does NOT work. ++! , dnl We're cross compiling. Assume ir works on glibc2 systems. ++! [AC_EGREP_CPP([Lucky GNU user], ++! [ ++! #include <features.h> ++! #ifdef __GNU_LIBRARY__ ++! #if (__GLIBC__ >= 2) ++! Lucky GNU user ++! #endif ++! #endif ++! ], ++! [am_cv_func_working_getline=yes], ++! [am_cv_func_working_getline=no])] ++ )]) ++ fi + + if test $am_cv_func_working_getline = no; then + dnl We must choose a different name for our function, since on ELF systems |