URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [libgloss/] [arm/] [configure.in] - Rev 816
Compare with Previous | Blame | View Log
dnl Process this file with autoconf to produce a configure script.AC_PREREQ(2.59)AC_INIT(redboot-crt0.S)dnl Support --disable-newlib-supplied-syscallsAC_ARG_ENABLE(newlib-supplied-syscalls,[ --disable-newlib-supplied-syscalls disable newlib from supplying syscalls],[case "${enableval}" inyes) newlib_may_supply_syscalls=yes ;;no) newlib_may_supply_syscalls=no ;;*) AC_MSG_ERROR(bad value ${enableval} for newlib-supplied-syscalls option) ;;esac], [newlib_may_supply_syscalls=yes])dnlif test "x$newlib_may_supply_syscalls" = "xyes"; thenBUILD_CRT0_TRUE='#'BUILD_CRT0_FALSE=elseBUILD_CRT0_TRUE=BUILD_CRT0_FALSE='#'fiAC_SUBST(BUILD_CRT0_TRUE)AC_SUBST(BUILD_CRT0_FALSE)if test "$srcdir" = "." ; thenif test "${with_target_subdir}" != "." ; thenlibgloss_topdir="${srcdir}/${with_multisrctop}../../.."elselibgloss_topdir="${srcdir}/${with_multisrctop}../.."fielselibgloss_topdir="${srcdir}/../.."fiAC_CONFIG_AUX_DIR($libgloss_topdir)AC_CANONICAL_SYSTEMAC_ARG_PROGRAMAC_PROG_INSTALLLIB_AC_PROG_CCAS=${AS-as}AC_SUBST(AS)AR=${AR-ar}AC_SUBST(AR)LD=${LD-ld}AC_SUBST(LD)AC_PROG_RANLIBLIB_AM_PROG_AScase "${target}" in*-*-elf | *-*-eabi)objtype=elf-;;*-*-coff)objtype=coff-;;esacAC_SUBST(objtype)host_makefile_frag=${srcdir}/../config/default.mhdnl We have to assign the same value to other variables because autoconfdnl doesn't provide a mechanism to substitute a replacement keyword withdnl arbitrary data or pathnames.dnlhost_makefile_frag_path=$host_makefile_fragAC_SUBST(host_makefile_frag_path)AC_SUBST_FILE(host_makefile_frag)AC_CONFIG_FILES(Makefile,. ${libgloss_topdir}/config-ml.in,srcdir=${srcdir}target=${target}with_multisubdir=${with_multisubdir}ac_configure_args="${ac_configure_args} --enable-multilib"CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}libgloss_topdir=${libgloss_topdir})AC_OUTPUT
