Files
emacs/src
Philipp Stephani 4eb7f9ef59 Unbreak build when building without GMP support.
Add support for a new preprocessor macro EMACS_MODULE_HAVE_MPZ_T to
emacs-module.h.  If this macro is defined, assume that mpz_t is
already defined and don’t include gmp.h.

Don’t document the new macro for now, as it’s unclear whether we want
to support this in modules outside the Emacs tree.

* src/emacs-module.h.in: Allow user to prevent inclusion of gmp.h.

* src/emacs-module.c: Use mini-gmp if GMP is unavailable.  Don’t
include gmp.h.

* src/lisp.h: Don’t require gmp.h.  It’s not needed for lisp.h.

* test/Makefile.in (GMP_LIB, GMP_OBJ): New variables.
($(test_module)): Use them.

* test/data/emacs-module/mod-test.c: Use mini-gmp if GMP is unavailable.
2019-04-24 23:27:43 +02:00
..
2019-01-01 01:01:13 +00:00
2018-12-31 18:47:22 -08:00
2019-01-01 01:01:13 +00:00
2019-01-15 17:37:36 -05:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2019-01-15 17:37:36 -05:00
2018-12-31 17:57:29 -08:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-01-12 14:47:33 -08:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-01-12 14:47:33 -08:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2018-12-31 17:57:29 -08:00
2018-08-07 18:08:53 -06:00
2018-12-09 00:23:55 -08:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-01-31 10:31:43 -08:00
2019-04-14 23:11:40 -07:00
2019-01-01 01:01:13 +00:00
2019-04-07 11:44:04 -07:00
2018-12-31 17:57:29 -08:00
2019-04-22 12:25:53 -07:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-04-19 23:17:19 +02:00
2019-01-15 17:37:36 -05:00
2018-12-31 17:57:29 -08:00
2019-04-17 09:32:40 -07:00
2018-12-31 17:57:29 -08:00
2019-04-10 21:00:47 -07:00
2018-12-31 17:57:29 -08:00
2019-01-01 01:01:13 +00:00
2018-12-31 17:57:29 -08:00
2019-01-01 01:01:13 +00:00
2019-04-10 09:07:16 -07:00
2019-01-01 01:01:13 +00:00
2019-04-24 13:37:15 -07:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-03-04 00:05:04 -08:00
2019-04-10 09:07:16 -07:00
2019-01-01 01:01:13 +00:00
2019-04-17 09:32:40 -07:00
2019-04-18 00:35:18 -07:00
2019-01-15 17:37:36 -05:00
2019-01-15 17:37:36 -05:00
2019-01-01 01:01:13 +00:00
2019-01-15 17:37:36 -05:00
2019-03-04 00:05:04 -08:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-04-18 00:35:18 -07:00
2019-01-01 01:01:13 +00:00
2019-03-15 18:25:24 -07:00
2019-03-04 00:05:04 -08:00
2019-01-01 01:01:13 +00:00
2019-02-01 13:05:39 -08:00
2018-12-31 17:57:29 -08:00
2019-04-19 12:57:30 -07:00
2019-01-01 01:01:13 +00:00
2019-01-15 17:37:36 -05:00
2019-02-27 01:23:30 -08:00
2019-01-01 01:01:13 +00:00
2019-04-24 12:31:37 +09:00
2018-12-31 18:47:22 -08:00
2018-12-31 18:47:22 -08:00
2018-12-31 18:47:22 -08:00
2019-04-12 07:51:35 -07:00
2019-04-17 09:32:40 -07:00
2019-03-04 00:05:04 -08:00
2019-01-15 17:37:36 -05:00
2018-12-31 17:57:29 -08:00
2019-01-10 19:24:20 +00:00
2019-01-15 17:37:36 -05:00
2018-12-31 17:57:29 -08:00
2019-01-10 19:24:20 +00:00
2019-04-21 21:16:26 -07:00
2019-04-19 14:03:16 +02:00
2018-12-31 18:47:22 -08:00
2018-12-31 17:57:29 -08:00
2019-01-01 01:01:13 +00:00
2019-03-27 21:24:26 -07:00
2019-03-27 21:24:26 -07:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-02-27 01:23:30 -08:00
2019-04-24 13:37:15 -07:00
2019-01-15 17:37:36 -05:00
2019-01-15 17:37:36 -05:00
2019-04-18 00:35:18 -07:00
2018-12-31 17:57:29 -08:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2018-12-31 17:57:29 -08:00
2019-04-22 12:25:53 -07:00
2019-04-24 13:17:53 +02:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-04-18 00:35:18 -07:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-04-24 13:37:15 -07:00
2019-04-24 13:37:15 -07:00
2019-04-24 15:18:18 +03:00
2019-01-01 01:01:13 +00:00
2018-12-31 17:57:29 -08:00
2019-02-27 01:23:30 -08:00
2019-01-01 01:01:13 +00:00
2019-02-01 13:05:39 -08:00
2018-12-31 17:57:29 -08:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-01-15 17:37:36 -05:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2019-03-04 00:05:04 -08:00
2019-01-15 17:37:36 -05:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-02-01 13:05:39 -08:00
2018-12-31 17:57:29 -08:00
2019-01-01 01:01:13 +00:00
2019-01-15 17:37:36 -05:00
2018-12-31 17:57:29 -08:00
2019-03-23 10:31:06 +02:00
2018-12-31 17:57:29 -08:00
2019-01-01 01:01:13 +00:00
2018-12-31 17:57:29 -08:00
2019-01-18 07:50:47 -08:00
2019-01-01 01:01:13 +00:00
2019-04-15 20:53:36 -07:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-04-10 09:07:16 -07:00
2019-04-15 20:24:18 -07:00
2019-04-24 12:31:37 +09:00
2019-02-08 09:05:11 +01:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-03-15 18:25:24 -07:00
2018-12-31 17:57:29 -08:00
2019-04-24 12:31:37 +09:00
2019-04-24 12:31:37 +09:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-04-24 12:31:37 +09:00

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Copyright (C) 2001-2019 Free Software Foundation, Inc.
See the end of the file for license conditions.


This directory contains the source files for the C component of GNU Emacs.
Nothing in this directory is needed for using Emacs once it is built
and installed, if the dumped Emacs is copied elsewhere.

See the files ../README and then ../INSTALL for installation instructions.

The file 'Makefile.in' is used as a template by the script
'../configure' to produce 'Makefile'.  This is the file which actually
controls the compilation of Emacs C source files.  All of this should
work transparently; you should only need to change to the parent
directory, run './configure', and then run 'make'.

This file is part of GNU Emacs.

GNU Emacs is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.