diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2002-08-09 21:12:09 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2002-08-09 21:12:09 +0000 |
commit | 037240a242b404e18308dd1a60937a5868bed702 (patch) | |
tree | 5c9ff2a9f35785c05923d464af5e37a05c677d32 /newlib/configure.in | |
parent | c9fadf3b49ec07bf3b25ba0e1a75842ddc702f4d (diff) | |
download | newlib-037240a242b404e18308dd1a60937a5868bed702.zip newlib-037240a242b404e18308dd1a60937a5868bed702.tar.gz newlib-037240a242b404e18308dd1a60937a5868bed702.tar.bz2 |
2002-08-09 Jeff Johnston <jjohnstn@redhat.com>
* configure.host: Add check for --enable-newlib-io-pos-args
and define WANT_IO_POS_ARGS flag if enabled. Define
the flag by default for x86-linux configurations.
* configure.in: Add support for --enable-newlib-io-pos-args.
* libc/configure.in: Ditto.
* configure: Regenerated.
* libc/configure: Ditto.
* libc/stdio/Makefile.am: Specify -fshort-enums for compiling
vfprintf.c and vfiprintf.c.
* libc/stdio/Makefile.in: Regenerated.
* libc/stdio/vfprintf.c: Add positional argument support that
is enabled by compiling with -DWANT_IO_POS_ARGS.
Diffstat (limited to 'newlib/configure.in')
-rw-r--r-- | newlib/configure.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/newlib/configure.in b/newlib/configure.in index 2894d71..b349237 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 |