Commit | Line | Data |
---|---|---|
c38ad11c EZ |
1 | #! /bin/sh |
2 | # Site defaults for the MinGW configuration of GNU Emacs. | |
3 | ||
4 | # We want to use getopt.h from gnulib | |
5 | ac_cv_header_getopt_h=no | |
6 | ||
9e5b5c79 EZ |
7 | # ACL functions are implemented in w32.c |
8 | ac_cv_search_acl_get_file="none required" | |
9 | ac_cv_func_acl_get_file=yes | |
c38ad11c | 10 | ac_cv_func_acl_set_file=yes |
9e5b5c79 EZ |
11 | ac_cv_func_acl_free=yes |
12 | ac_cv_func_acl_from_text=yes | |
13 | gl_cv_func_working_acl_get_file=yes | |
c38ad11c EZ |
14 | # Autoconf's test program is not smart enough, and fails to detect gethostname |
15 | ac_cv_func_gethostname=yes | |
16 | # Implemented as sys_select in w32proc.c | |
17 | ac_cv_func_select=yes | |
6cd0eaeb EZ |
18 | ac_cv_func_pselect=yes |
19 | gl_cv_sig_pselect=yes | |
20 | gl_cv_func_pselect_detects_ebadf=yes | |
c38ad11c EZ |
21 | # Implemented as sys_shutdown in w32.c |
22 | ac_cv_func_shutdown=yes | |
23 | # Implemented in w32proc.c | |
24 | ac_cv_func_setitimer=yes | |
25 | # Implemented as sys_sendto in w32.c | |
26 | ac_cv_func_sendto=yes | |
cb11bd95 EZ |
27 | # Implemented as sys_recvfrom in w32.c |
28 | ac_cv_func_recvfrom=yes | |
c38ad11c EZ |
29 | # Implemented as sys_getsockname in w32.c |
30 | ac_cv_func_getsockname=yes | |
31 | # Implemented as sys_getpeername in w32.c | |
32 | ac_cv_func_getpeername=yes | |
da6c9624 EZ |
33 | # Implemented as sys_socket in w32.c |
34 | ac_cv_func_socket=yes | |
c38ad11c EZ |
35 | # Implemented in w32.c |
36 | ac_cv_func_readlink=yes | |
da6c9624 EZ |
37 | ac_cv_func_symlink=yes |
38 | # Avoid run-time tests of readlink and symlink, which will fail | |
c38ad11c | 39 | gl_cv_func_readlink_works=yes |
da6c9624 | 40 | gl_cv_func_symlink_works=yes |
c38ad11c EZ |
41 | ac_cv_func_readlinkat=yes |
42 | ac_cv_func_faccessat=yes | |
43 | # We don't need fdopendir | |
52aa6b17 | 44 | ac_cv_func_fdopendir="not-needed" |
ef904742 EZ |
45 | gl_cv_func_fdopendir_works="no-but-not-needed-so-yes" |
46 | # Implemented in w32.c | |
da6c9624 EZ |
47 | ac_cv_func_lstat=yes |
48 | gl_cv_func_lstat_dereferences_slashed_symlink=yes | |
ef904742 EZ |
49 | ac_cv_func_fstatat=yes |
50 | gl_cv_func_fstatat_zero_flag=yes | |
ef904742 EZ |
51 | # Aliased to _commit in ms-w32.h |
52 | ac_cv_func_fsync=yes | |
da6c9624 EZ |
53 | ac_cv_func_fdatasync=yes |
54 | # Implemented in w32proc.c | |
55 | ac_cv_func_pthread_sigmask=yes | |
cb11bd95 | 56 | # Avoid gnulib replacement |
6cd0eaeb | 57 | gl_threads_api=posix |
cb11bd95 EZ |
58 | gl_cv_func_pthread_sigmask_return_works=yes |
59 | gl_cv_func_pthread_sigmask_unblock_works="not relevant" | |
da6c9624 EZ |
60 | # Implemented in w32proc.c |
61 | emacs_cv_langinfo_codeset=yes | |
62 | # Declared in ms-w32.h | |
63 | ac_cv_have_decl_alarm=yes | |
64 | # Avoid including the gnulib dup2 module | |
65 | gl_cv_func_dup2_works=yes | |
66 | # Defined in w32.c | |
67 | ac_cv_func_getloadavg=yes | |
68 | # Avoid compiling gnulib mktime | |
69 | gl_cv_func_working_mktime=yes | |
70 | # Implemented in w32.c | |
71 | ac_cv_have_decl_unsetenv=yes | |
72 | ac_cv_func_unsetenv=yes | |
73 | gt_cv_func_unsetenv_ret='int' | |
74 | gl_cv_func_unsetenv_works=yes | |
75 | gl_cv_func_stat_dir_slash=yes | |
76 | gl_cv_func_stat_file_slash=yes | |
cb11bd95 | 77 | ac_cv_func_random=yes |
6cd0eaeb EZ |
78 | # Implemented in w32.c as sys_putenv |
79 | gl_cv_func_svid_putenv=yes |