dnl This is the newlib/libc/machine/arm configure.in file. dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) AC_INIT([newlib],[NEWLIB_VERSION]) AC_CONFIG_SRCDIR([Makefile.am]) dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. AC_CONFIG_AUX_DIR(../../../..) NEWLIB_CONFIGURE(../../..) dnl Check for Thumb1 supported. AC_CACHE_CHECK(whether we are using thumb1, acnewlib_cv_thumb1_processor, [dnl cat > conftest.c <&AS_MESSAGE_LOG_FD]) then acnewlib_cv_thumb1_processor=yes; else acnewlib_cv_thumb1_processor=no; fi rm -f conftest*]) AM_CONDITIONAL(HAVE_THUMB1, test x"$acnewlib_cv_thumb1_processor" = x"yes") dnl Check for whether the size is preferred. AC_CACHE_CHECK(whether the size is preferred, acnewlib_cv_opt_size, [dnl cat > conftest.c <&AS_MESSAGE_LOG_FD]) then acnewlib_cv_opt_size=yes; else acnewlib_cv_opt_size=no; fi rm -f conftest*]) AM_CONDITIONAL(OPT_SIZE, test x"$acnewlib_cv_opt_size" = x"yes") dnl Check for whether ARM_7 or ARM_ARCH_6T2 is defined. dnl This macro is used to support memchr() for old CPU. AC_CACHE_CHECK(whether armv7 processor is supported, acnewlib_cv_armv7_processor, [dnl cat > conftest.c <&AS_MESSAGE_LOG_FD]) then acnewlib_cv_armv7_processor=yes; else acnewlib_cv_armv7_processor=no; fi rm -f conftest*]) AM_CONDITIONAL(HAVE_ARMV7, test x"$acnewlib_cv_armv7_processor" = x"yes") AC_SUBST(CFLAGS) AC_CONFIG_FILES([Makefile]) AC_OUTPUT