URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [newlib/] [libm/] [configure.in] - Rev 158
Compare with Previous | Blame | View Log
dnl This is the newlib/libm 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([libm.texinfo])AC_ARG_ENABLE(newlib_hw_fp,[ --enable-newlib-hw-fp Turn on hardware floating point math],[case "${enableval}" inyes) newlib_hw_fp=true ;;no) newlib_hw_fp=false ;;*) AC_MSG_ERROR(bad value ${enableval} for --enable-newlib-hw-fp) ;;esac],[newlib_hw_fp=false])AM_CONDITIONAL(NEWLIB_HW_FP, test x$newlib_hw_fp = xtrue)dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake.AC_CONFIG_AUX_DIR(../..)NEWLIB_CONFIGURE(..)dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try anddnl add it into NEWLIB_CONFIGURE, executable tests are made before the firstdnl line of the macro which fail because appropriate LDFLAGS are not set._LT_DECL_SEDif test "${use_libtool}" = "yes"; thenAC_LIBTOOL_WIN32_DLLAM_PROG_LIBTOOLfiAC_CONFIG_SUBDIRS(machine)LIBM_MACHINE_LIB=if test -n "${libm_machine_dir}"; thenif test "${use_libtool}" = "yes"; thenLIBM_MACHINE_LIB=machine/${libm_machine_dir}/lib${libm_machine_dir}.${aext}elseLIBM_MACHINE_LIB=machine/lib.${aext}fifiAC_SUBST(LIBM_MACHINE_LIB)AC_CONFIG_FILES([Makefile math/Makefile mathfp/Makefile common/Makefile])AC_OUTPUT
