Merge from trunk.
[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 # Implemented in w32.c
8 ac_cv_func_acl_set_file=yes
9 # Autoconf's test program is not smart enough, and fails to detect gethostname
10 ac_cv_func_gethostname=yes
11 # Implemented as sys_select in w32proc.c
12 ac_cv_func_select=yes
13 ac_cv_func_pselect=yes
14 gl_cv_sig_pselect=yes
15 gl_cv_func_pselect_detects_ebadf=yes
16 # Implemented as sys_shutdown in w32.c
17 ac_cv_func_shutdown=yes
18 # Implemented in w32proc.c
19 ac_cv_func_setitimer=yes
20 # Implemented as sys_sendto in w32.c
21 ac_cv_func_sendto=yes
22 # Implemented as sys_recvfrom in w32.c
23 ac_cv_func_recvfrom=yes
24 # Implemented as sys_getsockname in w32.c
25 ac_cv_func_getsockname=yes
26 # Implemented as sys_getpeername in w32.c
27 ac_cv_func_getpeername=yes
28 # Implemented as sys_socket in w32.c
29 ac_cv_func_socket=yes
30 # Implemented in w32.c
31 ac_cv_func_readlink=yes
32 ac_cv_func_symlink=yes
33 # Avoid run-time tests of readlink and symlink, which will fail
34 gl_cv_func_readlink_works=yes
35 gl_cv_func_symlink_works=yes
36 ac_cv_func_readlinkat=yes
37 ac_cv_func_faccessat=yes
38 # We don't need fdopendir
39 ac_cv_func_fdopendir="not-needed"
40 gl_cv_func_fdopendir_works="no-but-not-needed-so-yes"
41 # Implemented in w32.c
42 ac_cv_func_lstat=yes
43 gl_cv_func_lstat_dereferences_slashed_symlink=yes
44 ac_cv_func_fstatat=yes
45 gl_cv_func_fstatat_zero_flag=yes
46 # Aliased to _commit in ms-w32.h
47 ac_cv_func_fsync=yes
48 ac_cv_func_fdatasync=yes
49 # Implemented in w32proc.c
50 ac_cv_func_pthread_sigmask=yes
51 # Avoid gnulib replacement
52 gl_threads_api=posix
53 gl_cv_func_pthread_sigmask_return_works=yes
54 gl_cv_func_pthread_sigmask_unblock_works="not relevant"
55 # Implemented in w32proc.c
56 emacs_cv_langinfo_codeset=yes
57 # Declared in ms-w32.h
58 ac_cv_have_decl_alarm=yes
59 # Avoid including the gnulib dup2 module
60 gl_cv_func_dup2_works=yes
61 # Defined in w32.c
62 ac_cv_func_getloadavg=yes
63 # Avoid compiling gnulib mktime
64 gl_cv_func_working_mktime=yes
65 # Implemented in w32.c
66 ac_cv_have_decl_unsetenv=yes
67 ac_cv_func_unsetenv=yes
68 gt_cv_func_unsetenv_ret='int'
69 gl_cv_func_unsetenv_works=yes
70 gl_cv_func_stat_dir_slash=yes
71 gl_cv_func_stat_file_slash=yes
72 ac_cv_func_random=yes
73 # Implemented in w32.c as sys_putenv
74 gl_cv_func_svid_putenv=yes