diff options
| author | Eli Zaretskii | 2017-12-10 18:36:37 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2017-12-10 18:36:37 +0200 |
| commit | 2b8a1b76920dbdfc39dab2ec29ab7650bf779275 (patch) | |
| tree | 2080a70b7238f63578d103dae8331e24840edc1c /nt/INSTALL | |
| parent | f856d1e4489eac45afab865838abb2b16fb1f14f (diff) | |
| download | emacs-2b8a1b76920dbdfc39dab2ec29ab7650bf779275.tar.gz emacs-2b8a1b76920dbdfc39dab2ec29ab7650bf779275.zip | |
Support dynamic loading of libjansson on MS-Windows
* src/json.c [WINDOWSNT]: Define fn_* function pointers to jansson
functions.
(json_delete) [WINDOWSNT]: A wrapper around fn_json_delete, needed
by json_decref.
(init_json_functions) [WINDOWSNT]: New function.
(Fjson_serialize, Fjson_insert, Fjson_parse_string)
(Fjson_parse_buffer) [WINDOWSNT]: Call init_json_functions if
needed, and record JSON in Vlibrary_cache.
* src/emacs.c (main): Don't call init_json on WINDOWSNT.
* src/w32fns.c (syms_of_w32fns): DEFSYM "json".
* lisp/term/w32-win.el (dynamic-library-alist): Add JSON DLL to
the list.
* configure.ac (HAVE_JSON): Empty JSON_LIBS for MinGW.
* nt/INSTALL.W64:
* nt/INSTALL: Add information about libjansson.
Diffstat (limited to 'nt/INSTALL')
| -rw-r--r-- | nt/INSTALL | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nt/INSTALL b/nt/INSTALL index 30e14293f5c..361d607ff68 100644 --- a/nt/INSTALL +++ b/nt/INSTALL | |||
| @@ -806,6 +806,13 @@ build will run on Windows 9X and newer systems). | |||
| 806 | Prebuilt binaries of lcms2 DLL (for 32-bit builds of Emacs) are | 806 | Prebuilt binaries of lcms2 DLL (for 32-bit builds of Emacs) are |
| 807 | available from the ezwinports site and from the MSYS2 project. | 807 | available from the ezwinports site and from the MSYS2 project. |
| 808 | 808 | ||
| 809 | * Optional support for JSON | ||
| 810 | |||
| 811 | Emacs can provide built-in support for JSON parsing and | ||
| 812 | serialization using the libjansson library. Prebuilt binaries of | ||
| 813 | the libjansson DLL (for 32-bit builds of Emacs) are available from | ||
| 814 | the ezwinports site and from the MSYS2 project. | ||
| 815 | |||
| 809 | 816 | ||
| 810 | This file is part of GNU Emacs. | 817 | This file is part of GNU Emacs. |
| 811 | 818 | ||