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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [newlib/] [libm/] [configure.in] - Blame information for rev 853

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

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

powered by: WebSVN 2.1.0

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