Retro68/gcc/newlib/libm/machine/configure.in

51 lines
1.3 KiB
Plaintext
Raw Normal View History

2017-04-11 21:13:36 +00:00
dnl This is the newlib/libm/machine 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([i386])
dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake.
AC_CONFIG_AUX_DIR(../../..)
NEWLIB_CONFIGURE(../..)
dnl We have to add the following lines because automake detects the
dnl references to libtool libraries from aclocal and tries to verify that
dnl AM_PROG_LIBTOOL is being used. This must be added after
dnl the call to NEWLIB_CONFIGURE.
_LT_DECL_SED
_LT_PROG_ECHO_BACKSLASH
if test "${use_libtool}" = "yes"; then
AC_LIBTOOL_WIN32_DLL
AM_PROG_LIBTOOL
fi
machlib=
if test -n "${libm_machine_dir}"; then
case ${libm_machine_dir} in
aarch64) AC_CONFIG_SUBDIRS(aarch64) ;;
arm) AC_CONFIG_SUBDIRS(arm) ;;
2017-04-11 21:13:36 +00:00
i386) AC_CONFIG_SUBDIRS(i386) ;;
nds32) AC_CONFIG_SUBDIRS(nds32) ;;
2017-04-11 21:13:36 +00:00
spu) AC_CONFIG_SUBDIRS(spu) ;;
2018-12-28 15:30:48 +00:00
riscv) AC_CONFIG_SUBDIRS(riscv) ;;
2017-04-11 21:13:36 +00:00
esac;
if test "${use_libtool}" = "yes"; then
machlib=${libm_machine_dir}/lib${libm_machine_dir}.${aext}
else
machlib=${libm_machine_dir}/lib.${aext}
fi
fi
AC_SUBST(libm_machine_dir)
AC_SUBST(machlib)
AM_CONDITIONAL(HAVE_LIBM_MACHINE_DIR, test x${libm_machine_dir} != x)
AC_CONFIG_FILES([Makefile])
AC_OUTPUT