Fixed nt/mingw-cfg.site to pass the configure step.
[bpt/emacs.git] / nt / mingw-cfg.site
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
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
10 ac_cv_func_acl_set_file=yes
11 ac_cv_func_acl_free=yes
12 ac_cv_func_acl_from_text=yes
13 gl_cv_func_working_acl_get_file=yes
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
18 ac_cv_func_pselect=yes
19 gl_cv_sig_pselect=yes
20 gl_cv_func_pselect_detects_ebadf=yes
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
27 # Implemented as sys_recvfrom in w32.c
28 ac_cv_func_recvfrom=yes
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
33 # Implemented as sys_socket in w32.c
34 ac_cv_func_socket=yes
35 # Implemented in w32.c
36 ac_cv_func_readlink=yes
37 ac_cv_func_symlink=yes
38 # Avoid run-time tests of readlink and symlink, which will fail
39 gl_cv_func_readlink_works=yes
40 gl_cv_func_symlink_works=yes
41 ac_cv_func_readlinkat=yes
42 ac_cv_func_faccessat=yes
43 # We don't need fdopendir
44 ac_cv_func_fdopendir="not-needed"
45 gl_cv_func_fdopendir_works="no-but-not-needed-so-yes"
46 # Implemented in w32.c
47 ac_cv_func_lstat=yes
48 gl_cv_func_lstat_dereferences_slashed_symlink=yes
49 ac_cv_func_fstatat=yes
50 gl_cv_func_fstatat_zero_flag=yes
51 # Aliased to _commit in ms-w32.h
52 ac_cv_func_fsync=yes
53 ac_cv_func_fdatasync=yes
54 # Implemented in w32proc.c
55 ac_cv_func_pthread_sigmask=yes
56 # Avoid gnulib replacement
57 gl_threads_api=posix
58 gl_cv_func_pthread_sigmask_return_works=yes
59 gl_cv_func_pthread_sigmask_unblock_works="not relevant"
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
77 ac_cv_func_random=yes
78 # Implemented in w32.c as sys_putenv
79 gl_cv_func_svid_putenv=yes