diff options
Diffstat (limited to 'newlib/libm/configure.in')
-rw-r--r-- | newlib/libm/configure.in | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/newlib/libm/configure.in b/newlib/libm/configure.in new file mode 100644 index 0000000..66ebb4f --- /dev/null +++ b/newlib/libm/configure.in @@ -0,0 +1,21 @@ +dnl This is the newlib/libm configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.5) +AC_INIT(libm.texinfo) + +AC_ARG_ENABLE(newlib_hw_fp, +[ --enable-newlib-hw-fp Turn on hardware floating point math], +[case "${enableval}" in + yes) 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(..) + +AC_OUTPUT(Makefile math/Makefile mathfp/Makefile common/Makefile) |