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:
Diffstat (limited to 'newlib/configure.in')
-rw-r--r--newlib/configure.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/newlib/configure.in b/newlib/configure.in
index 2894d713a..b349237c3 100644
--- a/newlib/configure.in
+++ b/newlib/configure.in
@@ -7,6 +7,18 @@ AC_INIT(libc)
dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake.
AC_CONFIG_AUX_DIR(..)
+dnl Support --enable-newlib-io-pos-args
+dnl This option is actually read in libc/configure.in. It is repeated
+dnl here so that it shows up in the help text.
+AC_ARG_ENABLE(newlib-io-pos-args,
+[ --enable-newlib-io-pos-args enable printf-family positional arg support],
+[case "${enableval}" in
+ yes) newlib_io_pos_args=yes ;;
+ no) newlib_io_pos_args=no ;;
+ *) AC_MSG_ERROR(bad value ${enableval} for newlib-io-pos-args option) ;;
+ esac], [newlib_io_pos_args=no])dnl
+
+
NEWLIB_CONFIGURE(.)
dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and