]> code.delx.au - gnu-emacs/blob - nt/mingw-cfg.site
Remove App Nap setting from Info.plist (bug#22993)
[gnu-emacs] / nt / mingw-cfg.site
1 # -*- sh -*-
2 # Site defaults for the MinGW configuration of GNU Emacs.
3 #
4 # This file's purpose is to short-circuit configure-time tests for
5 # which we want to provide the results instead of letting the
6 # 'configure' script do that. This is mainly for features that
7 # 'configure' tests that are implemented as part of Emacs sources, not
8 # as part of system libraries. The idea is to set shell variables
9 # that appear to the script as cached values.
10 #
11 # For each header file foo.h you want to supply test results, set the
12 # value of a shell variable ac_cv_header_foo_h. The value should be
13 # yes if the header is deemed to exist, no otherwise. Or it could be
14 # something else, if the value computed by 'configure' requires that.
15 # In general, since configure (when invoked from an MSYS environment)
16 # instructs GCC to use header files in nt/inc, you should not need to
17 # futz with header file tests. But there are exceptions, like with
18 # getopt.h below (which is a MinGW system header, but we do not want
19 # to use it).
20 #
21 # For each library function foo you want to supply test results, set
22 # the value of a shell variable ac_cv_func_foo. Again, the value is
23 # determined by what 'configure' expects; sometimes it could be "not
24 # needed" or whatever, see the examples below. In addition, you may
25 # need to set the various gl_cv_* variables for those tests that come
26 # from gnulib.
27 #
28 # In short, examine the test in 'configure' and push the knobs that
29 # are necessary to steer the test in the direction you need, by
30 # judiciously setting variables that control the test results.
31
32 # We want to use getopt.h from gnulib
33 ac_cv_header_getopt_h=no
34
35 # We don't want our struct timeval replaced due to Posix conformance
36 gl_cv_sys_struct_timeval_tv_sec=yes
37
38 # We don't want pthread.h to be picked up just because it defines timespec
39 gl_cv_sys_struct_timespec_in_pthread_h=no
40 # Or at all...
41 ac_cv_header_pthread_h=no
42
43 # We don't want to check for these functions
44 # because they are implemented in libwinpthread.
45 ac_cv_search_clock_gettime="none required"
46 ac_cv_func_clock_gettime=no
47 ac_cv_func_clock_settime=no
48
49 # ACL functions are implemented in w32.c
50 ac_cv_search_acl_get_file="none required"
51 ac_cv_func_acl_get_file=yes
52 ac_cv_func_acl_set_file=yes
53 ac_cv_func_acl_free=yes
54 ac_cv_func_acl_from_text=yes
55 gl_cv_func_working_acl_get_file=yes
56 # Autoconf's test program is not smart enough, and fails to detect gethostname
57 ac_cv_func_gethostname=yes
58 # Implemented as sys_select in w32proc.c
59 ac_cv_func_select=yes
60 ac_cv_func_pselect=yes
61 gl_cv_sig_pselect=yes
62 gl_cv_func_pselect_detects_ebadf=yes
63 # Implemented as sys_shutdown in w32.c
64 ac_cv_func_shutdown=yes
65 # Implemented in w32proc.c
66 ac_cv_func_setitimer=yes
67 # Implemented as sys_sendto in w32.c
68 ac_cv_func_sendto=yes
69 # Implemented as sys_recvfrom in w32.c
70 ac_cv_func_recvfrom=yes
71 # Implemented as sys_getsockname in w32.c
72 ac_cv_func_getsockname=yes
73 # Implemented as sys_getpeername in w32.c
74 ac_cv_func_getpeername=yes
75 # Implemented as sys_socket in w32.c
76 ac_cv_func_socket=yes
77 # Implemented as sys_getaddrinfo in w32.c
78 ac_cv_func_getaddrinfo=yes
79 # Implemented as an inline function in ws2tcpip.h
80 ac_cv_func_gai_strerror=yes
81 # Implemented in w32.c
82 ac_cv_func_mkostemp=yes
83 ac_cv_func_readlink=yes
84 ac_cv_func_symlink=yes
85 # Avoid run-time tests of readlink and symlink, which will fail
86 gl_cv_func_readlink_works=yes
87 gl_cv_func_symlink_works=yes
88 ac_cv_func_readlinkat=yes
89 ac_cv_func_faccessat=yes
90 # Implemented in w32.c
91 ac_cv_func_fcntl=yes
92 gl_cv_func_fcntl_f_dupfd_cloexec=yes
93 gl_cv_func_fcntl_f_dupfd_works=yes
94 # We don't need fdopendir
95 ac_cv_func_fdopendir="not-needed"
96 gl_cv_func_fdopendir_works="no-but-not-needed-so-yes"
97 # Implemented in w32.c
98 ac_cv_func_lstat=yes
99 gl_cv_func_lstat_dereferences_slashed_symlink=yes
100 ac_cv_func_fstatat=yes
101 gl_cv_func_fstatat_zero_flag=yes
102 # Aliased to _commit in ms-w32.h
103 ac_cv_func_fsync=yes
104 ac_cv_func_fdatasync=yes
105 # Implemented in w32proc.c
106 ac_cv_func_pthread_sigmask=yes
107 # Avoid gnulib replacement
108 gl_threads_api=posix
109 gl_cv_func_pthread_sigmask_return_works=yes
110 gl_cv_func_pthread_sigmask_unblock_works="not relevant"
111 # Implemented in w32proc.c
112 emacs_cv_langinfo_codeset=yes
113 # Declared in ms-w32.h
114 ac_cv_have_decl_alarm=yes
115 # Avoid including the gnulib dup2 module
116 gl_cv_func_dup2_works=yes
117 # Defined in w32.c
118 ac_cv_func_getloadavg=yes
119 # Avoid compiling gnulib mktime
120 gl_cv_func_working_mktime=yes
121 # Implemented in w32.c
122 ac_cv_func_pipe2=yes
123 ac_cv_have_decl_unsetenv=yes
124 ac_cv_func_unsetenv=yes
125 gt_cv_func_unsetenv_ret='int'
126 gl_cv_func_unsetenv_works=yes
127 gl_cv_func_stat_dir_slash=yes
128 gl_cv_func_stat_file_slash=yes
129 ac_cv_func_random=yes
130 # Implemented in w32.c as sys_putenv
131 gl_cv_func_svid_putenv=yes
132 # GCC warnings that produce too much noise
133 gl_cv_warn_c__Wredundant_decls=no