Skip to contentSkip to conversation

site/common-uclibc: Cache gl_cv_func_wcwidth_works

PATCH In review Khem Raj 2 participants 3 messages Jan 9, 2012

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 site/common-uclibc: Cache gl_cv_func_wcwidth_works

Its not computed properly during configure and
we configure uclibc with widechar support anyway
so its fine to cache it. It fixes the errors like

| In file included from ./stdio.h:31:0,
|                  from fpurge.h:20,
|                  from fpurge.c:20:
| /home/kraj/work/angstrom/sources/openembedded-core/build/tmp-uclibc/sysroots/qemux86/usr/include/stdio.h:662:40: error: expected declaration specifiers or '...' before '(' token
| make[4]: *** [fpurge.o] Error 1
---
 meta/site/common-uclibc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
meta/site/common-uclibc +1 -0
index 331c2a2..c2ad42d 100644
@@ -21,6 +21,7 @@ ac_cv_func_vsnprintf_c99=${ac_cv_func_vsnprintf_c99=yes}
 glib_cv_compliant_posix_memalign=${glib_cv_compliant_posix_memalign=1}
 glib_cv_long_long_format=${glib_cv_long_long_format=ll}
 glib_cv_have_qsort_r=${glib_cv_have_qsort_r=no}
+gl_cv_func_wcwidth_works=${gl_cv_func_wcwidth_works=yes}
 
 #dbus-glib
 ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes}
Signature · 1 line
1.7.5.4
#1 lore raw
Quoted 3 lines · Khem Raj

Its not computed properly during configure and
we configure uclibc with widechar support anyway
so its fine to cache it. It fixes the errors like

Is this really a good idea? Wide character support is already configurable for eglibc (via libc-posix-clang-wchar or whatever in DISTRO_FEATURES) and it seems as though making uclibc respect that as well would be a desirable plan for the future.

p.

author
#2 lore raw
Quoted 9 lines · Phil Blundell
Quoted 3 lines · Khem Raj

Its not computed properly during configure and
we configure uclibc with widechar support anyway
so its fine to cache it. It fixes the errors like

Is this really a good idea?  Wide character support is already configurable for eglibc (via libc-posix-clang-wchar or whatever in DISTRO_FEATURES) and it seems as though making uclibc respect that as well would be a desirable plan for the future.

hmm indeed I think I should have used that instead of this. I will redo it.

Quoted 9 lines

p.

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core