OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib-1.10.0/] [newlib/] [libm/] [configure.in] - Blame information for rev 1773

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1010 ivang
dnl This is the newlib/libm configure.in file.
2
dnl Process this file with autoconf to produce a configure script.
3
 
4
AC_PREREQ(2.5)
5
AC_INIT(libm.texinfo)
6
 
7
AC_ARG_ENABLE(newlib_hw_fp,
8
[  --enable-newlib-hw-fp    Turn on hardware floating point math],
9
[case "${enableval}" in
10
   yes) newlib_hw_fp=true ;;
11
   no)  newlib_hw_fp=false ;;
12
   *) AC_MSG_ERROR(bad value ${enableval} for --enable-newlib-hw-fp) ;;
13
 esac],[newlib_hw_fp=false])
14
AM_CONDITIONAL(NEWLIB_HW_FP, test x$newlib_hw_fp = xtrue)
15
 
16
dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake.
17
AC_CONFIG_AUX_DIR(../..)
18
 
19
NEWLIB_CONFIGURE(..)
20
 
21
dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and
22
dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first
23
dnl line of the macro which fail because appropriate LDFLAGS are not set.
24
 
25
if test "${use_libtool}" = "yes"; then
26
AC_LIBTOOL_WIN32_DLL
27
AM_PROG_LIBTOOL
28
fi
29
 
30
LIBM_MACHINE_LIB=
31
if test -n "${machine_dir}"; then
32
  AC_CONFIG_SUBDIRS(machine)
33
  if test "${use_libtool}" = "yes"; then
34
    LIBM_MACHINE_LIB=machine/${machine_dir}/lib${machine_dir}.${aext}
35
  else
36
    LIBM_MACHINE_LIB=machine/lib.${aext}
37
  fi
38
fi
39
 
40
AC_SUBST(LIBM_MACHINE_LIB)
41
 
42
AC_OUTPUT(Makefile math/Makefile mathfp/Makefile common/Makefile)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.