Commit graph

487 commits

Author SHA1 Message Date
Dima Pasechnik
cd2f19fedb exit() prototype is in stdlib.h, include it
this is needed to support Apple's clang 12, the
compiler in Xcode 12 on macOS 10.15 and upcoming macOS 11.

configure was regenerated by running autoreconf -ivf
with autoconf version 2.69
2020-09-18 13:18:56 +01:00
Christopher Chavez
0f3d6e08d1 Fix spelling 2020-09-11 02:11:26 +00:00
Dima Pasechnik
f291264ffc checking that makeinfo works; better messages 2020-07-20 09:35:58 +01:00
Daniel Kochmański
20ccc68af0 Merge branch 'c-stack-fixes' into 'develop'
Fix #596

Closes #596

See merge request embeddable-common-lisp/ecl!215
2020-06-15 10:36:46 +00:00
Marius Gerbershagen
90043d205c stacks: fix default C stack size
The ifdef in config-internal.h was buggy since RLIMIT_STACK is only defined after
sys/resource.h has been included which it wasn't. This lead to the stack size always being
increased to at least the default of 1 MB. To fix this, we move the check for RLIMIT_STACK
to the configure script.
2020-06-11 15:16:10 +02:00
Dima Pasechnik
ff74b3b8e7 make sure C compiler conforms to C99 standard
this is needed e.g. for constructions like
for (int i,...); by default some compilers in older Linux
systems, eg Ubuntu Trusty, still default to C89, giving a build error.
This fix will try to make sure that C99 is used, with an extra option.
2020-06-07 10:11:26 +01:00
Dima Pasechnik
4bce0a0e3c fix issue #593
make check for makeinfo conditional on successful
check for install-info
2020-05-25 11:14:42 +01:00
Marius Gerbershagen
e0bf0f5ac2 gc: remove unnecessary workarounds for old bdwgc versions 2020-05-10 19:47:05 +02:00
Daniel Kochmański
eea597de34 20.4.24 release
Announcement proposal. When this is merged to the develop branch, then
we should make a PR against master and merge. Then we shall publish
tarballs and the announcement on the website.
2020-04-21 11:24:02 +02:00
Marius Gerbershagen
350c493cb4 configure: only disable fpe but not ieee-fp for mingw
Due to recent changes, it is possible to have infinity and NaN, but
without floating point exceptions.
2020-03-01 18:49:49 +01:00
Marius Gerbershagen
22ad495e26 ieee-fp: allow for infinity and NaN without floating point exceptions 2020-01-11 17:21:10 +01:00
Marius Gerbershagen
e65e23ee8a configure: check if feenableexcept is actually working
Not all processors will signal floating point exceptions even when
told so, for example the Raspberry Pi as Dave Richards pointed out on
the ecl-devel mailing list.
2020-01-11 15:37:15 +01:00
Marius Gerbershagen
d7b2dfb722 Change handling of C stack size
Previously: unconditionally use the size from ECL_OPT_C_STACK_SIZE if
it is larger than the OS provided value and if possible resize the
stack at runtime.

Now: Use ECL_OPT_C_STACK_SIZE if provided. Otherwise, use a) the OS
provided value if we can resize the stack at runtime (for Unix) or b)
the new build option ECL_DEFAULT_C_STACK_SIZE (1 MB) if we can set the
stack size at link time (for Windows).
2019-12-26 19:13:31 +01:00
Marius Gerbershagen
dbe43c09e6 libffi: disable building the documentation 2019-12-18 21:38:59 +01:00
Marius Gerbershagen
5860f42f88 ffi: Update libffi to version 3.3 2019-12-09 19:49:30 +01:00
Marius Gerbershagen
a2319d3150 unixsys: check for system() in configure
Don't let a non-available system() function (happens e.g. on iOS)
prevent us from compiling ECL.
2019-12-08 10:26:52 +01:00
Daniel Kochmański
8b82c98cac Merge branch 'alt-fix-513' into 'develop'
Fix 513 2nd try

Closes #514

See merge request embeddable-common-lisp/ecl!159
2019-08-16 18:44:23 +00:00
Exaybachay
9e7d545b3e buildsystem: with-manual in configure script should be enable-manual 2019-07-22 22:36:02 +08:00
Daniel Kochmański
db41388791 cleanup: remove unused code
- ECL_ASM_APPLY was never used (apply assembly implementation for x86)
- ECL_USE_VARARG_AS_POINTER was never used
2019-07-16 09:04:46 +02:00
Daniel Kochmański
bc839d2a41 aclocal: fix typo in test for complex float 2019-05-25 09:55:50 +02:00
Daniel Kochmański
ea87100a06 long-float: remove conditionalization
Many parts of the source code were bent backward to support builds
without long floats which are always present given we depend expect
c99 compiler.

The corresponding C macros (ECL_LONG_FLOAT) and the *feature*
entry (:long-float) are marked as deprecated in the documentation.
2019-05-24 21:04:59 +00:00
Daniel Kochmański
1533824059 buildsystem: improve checks for floats
We do not check for c99-mandated functions for long float (we only
check for the type). We also check for complex numbers in a separate
function and define ECL_COMPLEX_FLOAT when found.
2019-05-05 10:38:02 +02:00
Marius Gerbershagen
93496e108c configure: change manual installation
Introduce a configure option controlling the installation and build
the documentation during the build instead of the install phase. Targets
for installation of the html version have also been added.
Fixes #482.
2019-04-11 18:17:02 +02:00
Marius Gerbershagen
1ad91df1cf configure: fix check for system libatomic_ops
Previously we would not fail if trying to link to an incompatible
libatomic_ops.a
Fixes #481.
2019-03-25 19:46:02 +01:00
Marius Gerbershagen
19c6635ff0 expt: use pow function for floating point numbers
Improves speed and accurracy.
2019-02-12 22:37:23 +01:00
Marius Gerbershagen
ca4eabea15 configure.ac: detect feenableexcept with AC_CHECK_DECL
On Android feenableexcept is only declared as a macro, but not
    present as a function.
2019-01-12 22:51:59 +01:00
Marius Gerbershagen
d0cf3c86e4 build libecl.so with soname on Android
Otherwise the linker on recent Android versions will not find
    libecl.so. For compatibility with existing Android apps which only
    distribute a libecl.so file, but not a libecl.so.16.x file, we
    don't use a version component in soname, since the linker on older
    Android versions only looks for libraries matching the exact
    soname.
2019-01-12 22:51:59 +01:00
Marius Gerbershagen
6090d9d201 update installation instructions for recent Android NDKs and support ARM64
Works for Android NDKs with unified headers (see https://android.googlesource.com/platform/ndk/+/ndk-release-r16/docs/UnifiedHeaders.md).
    Separate step of configuring a standalone toolchain is recommended
    by the Android docs. Explicitely setting CC to clang is useful,
    since gcc in Android NDK is deprecated and outright broken in NDK
    version 18. Using the bfd linker is needed for bdwgc to work
    correctly (see also https://github.com/ivmai/bdwgc/issues/259).
2019-01-12 22:51:17 +01:00
Marius Gerbershagen
06d6ffe158 android: do not compile with -D_FILE_OFFSET_BITS=64
Otherwise on NDK >= 16 fseeko and ftello are not declared in
    stdio.h for Android API versions smaller than 24 (See
    https://android-developers.googleblog.com/2017/09/introducing-android-native-development.html).
2019-01-12 20:21:19 +01:00
Marius Gerbershagen
6005c030b6 doc: set new doc as standard documentation 2019-01-03 19:14:28 +01:00
Marius Gerbershagen
76941e25dc fix the broken serialization functions for externalizable objects 2018-12-10 18:14:01 +01:00
Sébastien Villemot
2ef5d11cf9 Fix ECL_LINEFEED_MODE test with -Werror=format-security
In Debian, the -Werror=format-security flag is now passed by default to gcc.
This makes the ECL_LINEFEED_MODE test fail.

The fix is to replace the call to fprintf() by fputs().
2018-10-29 19:38:17 +01:00
Marius Gerbershagen
fb643f6b0f buildsystem: fix building for mingw64
mingw64 also defines __MINGW32__ and sets the host system type to
    be x86_64-w64-mingw32, so we only need to change the way we detect this
    in aclocal.m4.
2018-07-07 22:16:49 +02:00
Daniel Kochmanski
d4370d1b31 re-add deprecation of rt and profile (rebase thing) 2018-05-08 19:36:11 +02:00
Marius Gerbershagen
b87fc19afb remove no longer needed checks in configure.ac 2018-05-08 19:36:11 +02:00
Daniel Kochmanski
0494fb1592 Moderate interface cleanup
- unicode name tables are always compiled in when we have unicode support
- thread local variables support is removed
- profile and rt contribs are deprecated
2018-05-01 10:16:20 +02:00
Daniel Kochmanski
c3244b0148 Remove deprecated 8-bit opcodes 2018-04-29 13:54:38 +02:00
Fabrizio Fabbri
45722f06c9
Fix #410 link error as feenableexcept not present on OSX. 2017-10-23 00:40:37 -04:00
Daniel Kochmański
9be3ffcce4 cleanup: fix autoscripts (defsystem, feennableexcept) 2017-09-14 16:11:00 +02:00
Marius Gerbershagen
ae9ca62d7e configure.ac: use AC_CHECK_DECLS instead of AC_CHECK_FUNCS to check for availibility of feenableexcept 2017-08-12 13:40:00 +02:00
Daniel Kochmanski
bf92eca693 contribs: defsystem: disable by default 2017-07-21 12:22:55 +02:00
Fabrizio Fabbri
fb249d9e1e
regenerate configure 2017-06-22 00:51:41 +02:00
Daniel Kochmanski
72e422f1b3 cleanup: remove hierarchical packages interface
It didn't work for some cases and wasn't documented, so I'm removing
it. Freshly written tests are left in tests for someone, who would
like to reimplement them.
2017-05-13 18:06:26 +02:00
Kris Katterjohn
2779b16b95 configure: check for additional ctags names
It looks like it's been assumed that "ctags" is exuberant ctags
(or similar), but some systems like OpenBSD have a ctags in the
base system that does not support some desired options like -R.
Try some other names first.
2017-02-04 15:40:10 -06:00
Daniel Kochmański
8eb357bc84 Merge branch 'develop' into 'develop'
osx: fix #343 runtime path

Closes #343

See merge request !45
2017-01-20 06:17:29 +00:00
Fabrizio Fabbri
6be9cb9dee osx: fix #343 runtime path 2017-01-19 23:12:43 +01:00
MichaelJFox
bc9632fe44 Add --with-libgc-prefix=path and friends
Copied the code in configure.ac for --with-libffi-prefix
No idea how it works, but I tested it and it does apparently work.
2017-01-16 16:04:17 -08:00
Daniel Kochmański
cb3294fc7b fix parallel builds 2017-01-06 18:52:24 +01:00
Daniel Kochmański
8e621114d0 release: bump ECL version number 2016-12-13 09:19:13 +01:00
Daniel Kochmański
370bc48622 autotools: improve cc script 2016-12-11 11:11:28 +01:00