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