1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-29 08:31:35 -08:00
emacs/test/data
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
..
decompress * lisp/tar-mode.el (tar-extract): Call tar--try-jka-compr (bug#34251) 2019-02-03 23:00:29 +02:00
emacs-module Unbreak build when building without GMP support. 2019-04-24 23:27:43 +02:00
epg Fix epg-tests with dummy-pinentry program (Bug#23619) 2017-02-28 19:57:35 -05:00
image Add image sizing tests for an image that's narrow 2017-04-24 07:56:31 +02:00
mailcap Add tests for mailcap.el 2017-09-05 11:55:01 -04:00
net Move the cert files to the data directory 2016-03-20 16:08:55 +01:00
shr Handle HTML 'ol' start attribute in shr.el 2019-02-22 09:52:57 +02:00
vc/diff-mode * test/lisp/vc/diff-mode-tests.el (diff-mode-test-font-lock): New test. 2019-02-02 23:23:16 +02:00
xdg Add MIME apps spec utilities 2017-09-26 17:48:00 -04:00
xref Port xref-tests to master branch 2016-05-06 10:09:53 -07:00
files-bug18141.el.gz
somelib.el Put re-loaded file back at start of load-history (bug#26837) 2017-05-09 19:44:09 -04:00
somelib2.el Put re-loaded file back at start of load-history (bug#26837) 2017-05-09 19:44:09 -04:00