newlib-cygwin/newlib/libc/machine/nds32/configure.ac

23 lines
659 B
Plaintext

dnl This is the newlib/libc/machine/nds32 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(../../../..)
NEWLIB_CONFIGURE(../../..)
dnl Use builtin macro to detect if this is for "AndeStar ISA V3m".
AC_PREPROC_IFELSE([AC_LANG_PROGRAM(
[[#ifdef __NDS32_ISA_V3M__
# error "This is nds32_isa_v3m."
#endif
]])], [is_nds32_isa_v3m="no"], [is_nds32_isa_v3m="yes"])
AM_CONDITIONAL(IS_NDS32_ISA_V3M, test "$is_nds32_isa_v3m" = "yes")
AC_CONFIG_FILES([Makefile])
AC_OUTPUT