mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-22 15:07:43 +08:00
a100e80fc9
The newlib & libgloss dirs are already generated using autoconf-2.69. To avoid merging new code and/or accidental regeneration using diff versions, leverage config/override.m4 to pin to 2.69 exactly. This matches what gcc/binutils/gdb are already doing. The README file already says to use autoconf-2.69. To accomplish this, it's just as simple as adding -I flags to the top-level config/ dir when running aclocal. This is because the override.m4 file overrides AC_INIT to first require the specific autoconf version before calling the real AC_INIT.
38 lines
1.6 KiB
Plaintext
38 lines
1.6 KiB
Plaintext
# Copyright (c) 2013 Red Hat, Inc. All rights reserved.
|
|
#
|
|
# This copyrighted material is made available to anyone wishing to use,
|
|
# modify, copy, or redistribute it subject to the terms and conditions
|
|
# of the BSD License. This program is distributed in the hope that
|
|
# it will be useful, but WITHOUT ANY WARRANTY expressed or implied,
|
|
# including the implied warranties of MERCHANTABILITY or FITNESS FOR
|
|
# A PARTICULAR PURPOSE. A copy of this license is available at
|
|
# http://www.opensource.org/licenses. Any Red Hat trademarks that are
|
|
# incorporated in the source code or documentation are not subject to
|
|
# the BSD License and may only be used or replicated with the express
|
|
# permission of Red Hat, Inc.
|
|
|
|
dnl This is the newlib/libc/machine/msp430 configure.in file.
|
|
dnl Process this file with autoconf to produce a configure script.
|
|
|
|
AC_INIT([newlib],[NEWLIB_VERSION])
|
|
AC_CONFIG_SRCDIR([setjmp.S])
|
|
|
|
dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake.
|
|
AC_CONFIG_AUX_DIR(../../../..)
|
|
|
|
dnl Support --enable-newlib-nano-formatted-io required by tiny-printf.c
|
|
dnl and tiny-puts.c
|
|
AC_ARG_ENABLE(newlib_nano_formatted_io,
|
|
[ --enable-newlib-nano-formatted-io Use small-footprint nano-formatted-IO implementation],
|
|
[case "${enableval}" in
|
|
yes) newlib_nano_formatted_io=yes ;;
|
|
no) newlib_nano_formatted_io=no ;;
|
|
*) AC_MSG_ERROR(bad value ${enableval} for newlib-nano-formatted-io) ;;
|
|
esac],[newlib_nano_formatted_io=no])
|
|
AM_CONDITIONAL(NEWLIB_NANO_FORMATTED_IO, test x$newlib_nano_formatted_io = xyes)
|
|
|
|
NEWLIB_CONFIGURE(../../..)
|
|
|
|
AC_CONFIG_FILES([Makefile])
|
|
AC_OUTPUT
|