gnulib-cfg.mk 2.74 KB
Newer Older
Paul Eggert's avatar
Paul Eggert committed
1
# Configurations for ../lib/gnulib.mk.
2
#
Paul Eggert's avatar
Paul Eggert committed
3
# Copyright 2017-2019 Free Software Foundation, Inc.
Paul Eggert's avatar
Paul Eggert committed
4 5 6 7 8 9 10 11 12 13 14 15
#
# This file 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.
#
# This file 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
Paul Eggert's avatar
Paul Eggert committed
16
# along with this file.  If not, see <https://www.gnu.org/licenses/>.
Paul Eggert's avatar
Paul Eggert committed
17 18


Paul Eggert's avatar
Paul Eggert committed
19
# Gnulib modules to be omitted from Emacs.
Paul Eggert's avatar
Paul Eggert committed
20 21

# Omit them because they either conflict with MinGW headers or
22 23 24 25 26
# headers in nt/inc, or because those modules won't compile with
# MinGW, or because Emacs already has the corresponding facilities as
# part of Emacs sources, and their implementation is incompatible with
# Gnulib's.
#
Paul Eggert's avatar
Paul Eggert committed
27 28
# In general, do NOT omit modules that
# don't need to be omitted, to minimize the differences from
29 30 31 32 33
# upstream gnulib.mk and thus make the maintenance easier.  Every
# header file whose generation is controlled by configure-time tests
# does NOT need to be removed; instead, force the configure script to
# accept whatever MinGW has to offer, by defining the appropriate
# Autoconf variable in the nt/mingw-cfg.site file.  Headers that are
Paul Eggert's avatar
Paul Eggert committed
34
# generated conditionally have the tell-tale "ifneq (,$(GL_GENERATE_foo_H))"
35 36 37 38 39 40 41 42
# condition before their Makefile snippet in this file.  Likewise, do
# NOT remove gnulib modules which introduce header files that don't
# exist in MinGW and in nt/inc/, since they cannot possibly clash
# with anything.  Gnulib modules that introduce source *.c files also
# need not be removed; if they define functions that could clash with
# the w32 substitutes in Emacs, disable their compilation by defining
# suitable variables in nt/mingw-cfg.site.
# ----------------------------------------------------------------------
Paul Eggert's avatar
Paul Eggert committed
43 44 45 46 47 48 49 50 51 52

OMIT_GNULIB_MODULE_acl-permissions = true
OMIT_GNULIB_MODULE_allocator = true
OMIT_GNULIB_MODULE_at-internal = true
OMIT_GNULIB_MODULE_careadlinkat = true
OMIT_GNULIB_MODULE_dirent = true
OMIT_GNULIB_MODULE_dirfd = true
OMIT_GNULIB_MODULE_fcntl = true
OMIT_GNULIB_MODULE_fcntl-h = true
OMIT_GNULIB_MODULE_inttypes-incomplete = true
Eli Zaretskii's avatar
Eli Zaretskii committed
53
OMIT_GNULIB_MODULE_open = true
Paul Eggert's avatar
Paul Eggert committed
54 55 56 57 58 59 60 61 62 63
OMIT_GNULIB_MODULE_pipe2 = true
OMIT_GNULIB_MODULE_secure_getenv = true
OMIT_GNULIB_MODULE_signal-h = true
OMIT_GNULIB_MODULE_stdio = true
OMIT_GNULIB_MODULE_stdlib = true
OMIT_GNULIB_MODULE_sys_select = true
OMIT_GNULIB_MODULE_sys_stat = true
OMIT_GNULIB_MODULE_sys_time = true
OMIT_GNULIB_MODULE_sys_types = true
OMIT_GNULIB_MODULE_unistd = true