mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-22 12:33:39 -08:00
cleanup: fix autoscripts (defsystem, feennableexcept)
This commit is contained in:
parent
db5a55c820
commit
9be3ffcce4
3 changed files with 27 additions and 7 deletions
20
src/configure
vendored
20
src/configure
vendored
|
|
@ -737,6 +737,7 @@ infodir
|
|||
docdir
|
||||
oldincludedir
|
||||
includedir
|
||||
runstatedir
|
||||
localstatedir
|
||||
sharedstatedir
|
||||
sysconfdir
|
||||
|
|
@ -866,6 +867,7 @@ datadir='${datarootdir}'
|
|||
sysconfdir='${prefix}/etc'
|
||||
sharedstatedir='${prefix}/com'
|
||||
localstatedir='${prefix}/var'
|
||||
runstatedir='${localstatedir}/run'
|
||||
includedir='${prefix}/include'
|
||||
oldincludedir='/usr/include'
|
||||
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
|
||||
|
|
@ -1118,6 +1120,15 @@ do
|
|||
| -silent | --silent | --silen | --sile | --sil)
|
||||
silent=yes ;;
|
||||
|
||||
-runstatedir | --runstatedir | --runstatedi | --runstated \
|
||||
| --runstate | --runstat | --runsta | --runst | --runs \
|
||||
| --run | --ru | --r)
|
||||
ac_prev=runstatedir ;;
|
||||
-runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
|
||||
| --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
|
||||
| --run=* | --ru=* | --r=*)
|
||||
runstatedir=$ac_optarg ;;
|
||||
|
||||
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
||||
ac_prev=sbindir ;;
|
||||
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
||||
|
|
@ -1255,7 +1266,7 @@ fi
|
|||
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
||||
datadir sysconfdir sharedstatedir localstatedir includedir \
|
||||
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
||||
libdir localedir mandir
|
||||
libdir localedir mandir runstatedir
|
||||
do
|
||||
eval ac_val=\$$ac_var
|
||||
# Remove trailing slashes.
|
||||
|
|
@ -1408,6 +1419,7 @@ Fine tuning of the installation directories:
|
|||
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
||||
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
||||
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
||||
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
|
||||
--libdir=DIR object code libraries [EPREFIX/lib]
|
||||
--includedir=DIR C header files [PREFIX/include]
|
||||
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
||||
|
|
@ -1512,7 +1524,7 @@ Optional Packages:
|
|||
--with-asdf include ASDF building facility (yes|builtin|no,
|
||||
default=YES)
|
||||
--with-defsystem include DEFSYSTEM building facility (yes|builtin|no,
|
||||
default=YES)
|
||||
default=NO)
|
||||
--with-cmp build the compiler (yes|builtin|no, default=YES)
|
||||
--with-bytecmp build the bytecodes compiler (yes|builtin|no,
|
||||
default=YES)
|
||||
|
|
@ -9434,6 +9446,8 @@ fi
|
|||
done
|
||||
|
||||
|
||||
$as_echo "#define HAVE_FEENABLEEXCEPT /**/" >>confdefs.h
|
||||
|
||||
ac_fn_c_check_decl "$LINENO" "feenableexcept" "ac_cv_have_decl_feenableexcept" "#include <fenv.h>
|
||||
"
|
||||
if test "x$ac_cv_have_decl_feenableexcept" = xyes; then :
|
||||
|
|
@ -9447,7 +9461,7 @@ cat >>confdefs.h <<_ACEOF
|
|||
_ACEOF
|
||||
if test $ac_have_decl = 1; then :
|
||||
$as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
|
||||
|
||||
, , HAVE_FEENABLEEXCEPT
|
||||
else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: feenableexcept not declared: disabling floating point exceptions" >&5
|
||||
$as_echo "$as_me: WARNING: feenableexcept not declared: disabling floating point exceptions" >&2;}
|
||||
|
|
|
|||
|
|
@ -182,7 +182,7 @@ AC_ARG_WITH(asdf,
|
|||
AC_ARG_WITH(defsystem,
|
||||
AS_HELP_STRING( [--with-defsystem],
|
||||
[include DEFSYSTEM building facility]
|
||||
[(yes|builtin|no, default=YES)]),
|
||||
[(yes|builtin|no, default=NO)]),
|
||||
[], [with_defsystem=no])
|
||||
|
||||
AC_ARG_WITH(cmp,
|
||||
|
|
@ -749,8 +749,10 @@ dnl !!! end autoscan
|
|||
AC_CHECK_FUNCS( [nanosleep alarm times select setenv putenv] \
|
||||
[lstat mkstemp sigprocmask isatty tzset] \
|
||||
[gettimeofday getrusage] )
|
||||
|
||||
AC_CHECK_DECLS([feenableexcept], [AC_DEFINE(HAVE_FEENABLEEXCEPT)], [AC_MSG_WARN(feenableexcept not declared: disabling floating point exceptions)], [#include <fenv.h>])
|
||||
AC_DEFINE([HAVE_FEENABLEEXCEPT], [], [Description])
|
||||
AC_CHECK_DECLS([feenableexcept],
|
||||
[AC_DEFINE(HAVE_FEENABLEEXCEPT), [], [HAVE_FEENABLEEXCEPT]],
|
||||
[AC_MSG_WARN(feenableexcept not declared: disabling floating point exceptions)], [#include <fenv.h>])
|
||||
|
||||
AC_CHECK_FUNCS( [expf logf sqrtf cosf sinf tanf sinhf coshf tanhf] \
|
||||
[floorf ceilf fabsf frexpf ldexpf log1p log1pf log1pl] \
|
||||
|
|
|
|||
|
|
@ -102,6 +102,10 @@
|
|||
/* Define to 1 if you have the `cosl' function. */
|
||||
#undef HAVE_COSL
|
||||
|
||||
/* Define to 1 if you have the declaration of `feenableexcept', and to 0 if
|
||||
you don't. */
|
||||
#undef HAVE_DECL_FEENABLEEXCEPT
|
||||
|
||||
/* Define to 1 if you have the <dirent.h> header file. */
|
||||
#undef HAVE_DIRENT_H
|
||||
|
||||
|
|
@ -129,7 +133,7 @@
|
|||
/* Define to 1 if you have the <fcntl.h> header file. */
|
||||
#undef HAVE_FCNTL_H
|
||||
|
||||
/* Define to 1 if you have the `feenableexcept' function. */
|
||||
/* Description */
|
||||
#undef HAVE_FEENABLEEXCEPT
|
||||
|
||||
/* Define to 1 if you have the <fenv.h> header file. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue