Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2013-04-12 16:05:31 +0400
committerCorinna Vinschen <corinna@vinschen.de>2013-04-12 16:05:31 +0400
commitf7a4b388b0f7c49bc1542ae9829e6fb31bc9c611 (patch)
tree908cbe7edd91e596ad54e9c2b551720df5fc7a33 /newlib/libc/configure.in
parent492ee4ee4b3afe434279078b2796c7233a55a256 (diff)
* acconfig.h (_WCHAR_ORIENT): Undef
* newlib.hin (_WCHAR_ORIENT): Undef * configure.in (--enable-newlib-wchar-orient): New option. * configure: Regenerated. * libc/configure.in (--enable-newlib-wchar-orient): New option. * libc/configure: Regenerated. * libc/stdio/Makefile.am (NEWLIB_WIDE_ORIENT): Use. * libc/stdio/Makefile.in: Regenerated. * libc/stdio/local.h (ORIENT): Use _WCHAR_ORIENT to control the definition. Add alternative definition. * libc/stdio/vfprintf.c (__sfputs_r, __sprint_r): Use _WCHAR_ORIENT to control the wide char output.
Diffstat (limited to 'newlib/libc/configure.in')
-rw-r--r--newlib/libc/configure.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/newlib/libc/configure.in b/newlib/libc/configure.in
index a7f665a07..f262d7d45 100644
--- a/newlib/libc/configure.in
+++ b/newlib/libc/configure.in
@@ -17,6 +17,16 @@ AC_ARG_ENABLE(newlib-io-pos-args,
*) AC_MSG_ERROR(bad value ${enableval} for newlib-io-pos-args option) ;;
esac], [newlib_io_pos_args=no])dnl
+dnl Support --enable-newlib-wide-orient used by libc/stdio
+AC_ARG_ENABLE(newlib_wide_orient,
+[ --disable-newlib-wide-orient Turn off wide char orient in streamio],
+[case "${enableval}" in
+ yes) newlib_wide_orient=yes ;;
+ no) newlib_wide_orient=no ;;
+ *) AC_MSG_ERROR(bad value ${enableval} for newlib-wide-orient) ;;
+ esac],[newlib_wide_orient=yes])
+AM_CONDITIONAL(NEWLIB_WIDE_ORIENT, test x$newlib_wide_orient = xyes)
+
NEWLIB_CONFIGURE(..)
dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and