1 # Configurations for ../lib/gnulib.mk.
3 # Copyright 2017-2019 Free Software Foundation, Inc.
5 # This file is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
10 # This file is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this file. If not, see <https://www.gnu.org/licenses/>.
19 # Gnulib modules to be omitted from Emacs.
21 # Omit them because they either conflict with MinGW headers or
22 # headers in nt/inc, or because those modules won't compile with
23 # MinGW, or because Emacs already has the corresponding facilities as
24 # part of Emacs sources, and their implementation is incompatible with
27 # In general, do NOT omit modules that
28 # don't need to be omitted, to minimize the differences from
29 # upstream gnulib.mk and thus make the maintenance easier. Every
30 # header file whose generation is controlled by configure-time tests
31 # does NOT need to be removed; instead, force the configure script to
32 # accept whatever MinGW has to offer, by defining the appropriate
33 # Autoconf variable in the nt/mingw-cfg.site file. Headers that are
34 # generated conditionally have the tell-tale "ifneq (,$(GL_GENERATE_foo_H))"
35 # condition before their Makefile snippet in this file. Likewise, do
36 # NOT remove gnulib modules which introduce header files that don't
37 # exist in MinGW and in nt/inc/, since they cannot possibly clash
38 # with anything. Gnulib modules that introduce source *.c files also
39 # need not be removed; if they define functions that could clash with
40 # the w32 substitutes in Emacs, disable their compilation by defining
41 # suitable variables in nt/mingw-cfg.site.
42 # ----------------------------------------------------------------------
44 OMIT_GNULIB_MODULE_acl-permissions
= true
45 OMIT_GNULIB_MODULE_allocator
= true
46 OMIT_GNULIB_MODULE_at-internal
= true
47 OMIT_GNULIB_MODULE_careadlinkat
= true
48 OMIT_GNULIB_MODULE_dirent
= true
49 OMIT_GNULIB_MODULE_dirfd
= true
50 OMIT_GNULIB_MODULE_fcntl
= true
51 OMIT_GNULIB_MODULE_fcntl-h
= true
52 OMIT_GNULIB_MODULE_inttypes-incomplete
= true
53 OMIT_GNULIB_MODULE_open
= true
54 OMIT_GNULIB_MODULE_pipe2
= true
55 OMIT_GNULIB_MODULE_secure_getenv
= true
56 OMIT_GNULIB_MODULE_signal-h
= true
57 OMIT_GNULIB_MODULE_stdio
= true
58 OMIT_GNULIB_MODULE_stdlib
= true
59 OMIT_GNULIB_MODULE_sys_select
= true
60 OMIT_GNULIB_MODULE_sys_stat
= true
61 OMIT_GNULIB_MODULE_sys_time
= true
62 OMIT_GNULIB_MODULE_sys_types
= true
63 OMIT_GNULIB_MODULE_unistd
= true