aboutsummaryrefslogtreecommitdiffstats
path: root/nt
diff options
context:
space:
mode:
authorEli Zaretskii2013-05-15 20:06:26 +0300
committerEli Zaretskii2013-05-15 20:06:26 +0300
commit9e5b5c79347e78cead061af5ef077c9a6d401bba (patch)
tree6090ddc47f4d4657965bb36601ce545ebfc8b19c /nt
parentd14365f9411ab4b20db6c455aa9cf24ce6a0bcb1 (diff)
downloademacs-9e5b5c79347e78cead061af5ef077c9a6d401bba.tar.gz
emacs-9e5b5c79347e78cead061af5ef077c9a6d401bba.zip
Fixed nt/mingw-cfg.site to pass the configure step.
Diffstat (limited to 'nt')
-rw-r--r--nt/gnulib.mk36
-rw-r--r--nt/inc/ms-w32.h7
-rw-r--r--nt/mingw-cfg.site7
3 files changed, 44 insertions, 6 deletions
diff --git a/nt/gnulib.mk b/nt/gnulib.mk
index d0fa88239dc..3450baaf9bd 100644
--- a/nt/gnulib.mk
+++ b/nt/gnulib.mk
@@ -43,7 +43,7 @@
43# the same distribution terms as the rest of that program. 43# the same distribution terms as the rest of that program.
44# 44#
45# Generated by gnulib-tool. 45# Generated by gnulib-tool.
46# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --avoid=dup --avoid=errno --avoid=fchdir --avoid=fcntl --avoid=fstat --avoid=malloc-posix --avoid=msvc-inval --avoid=msvc-nothrow --avoid=open --avoid=openat-die --avoid=opendir --avoid=raise --avoid=save-cwd --avoid=select --avoid=sigprocmask --avoid=sys_types --avoid=threadlib --makefile-name=gnulib.mk --conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca-opt c-ctype c-strcase careadlinkat close-stream crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dtoastr dtotimespec dup2 environ execinfo faccessat fcntl-h fdatasync fdopendir filemode fstatat fsync getloadavg getopt-gnu gettime gettimeofday ignore-value intprops largefile lstat manywarnings memrchr mktime pselect pthread_sigmask putenv readlink readlinkat sig2str socklen stat-time stdalign stdarg stdbool stdio strftime strtoimax strtoumax symlink sys_stat sys_time time timer-time timespec-add timespec-sub unsetenv utimens warnings 46# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --avoid=dup --avoid=fchdir --avoid=fcntl --avoid=fstat --avoid=malloc-posix --avoid=msvc-inval --avoid=msvc-nothrow --avoid=open --avoid=openat-die --avoid=opendir --avoid=raise --avoid=save-cwd --avoid=select --avoid=sigprocmask --avoid=sys_types --avoid=threadlib --makefile-name=gnulib.mk --conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca-opt c-ctype c-strcase careadlinkat close-stream crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dtoastr dtotimespec dup2 environ execinfo faccessat fcntl-h fdatasync fdopendir filemode fstatat fsync getloadavg getopt-gnu gettime gettimeofday ignore-value intprops largefile lstat manywarnings memrchr mktime pselect pthread_sigmask putenv qacl readlink readlinkat sig2str socklen stat-time stdalign stdarg stdbool stdio strftime strtoimax strtoumax symlink sys_stat sys_time time timer-time timespec-add timespec-sub unsetenv utimens warnings
47 47
48 48
49MOSTLYCLEANFILES += core *.stackdump 49MOSTLYCLEANFILES += core *.stackdump
@@ -164,6 +164,40 @@ EXTRA_libgnu_a_SOURCES += dup2.c
164 164
165## end gnulib module dup2 165## end gnulib module dup2
166 166
167## begin gnulib module errno
168
169BUILT_SOURCES += $(ERRNO_H)
170
171# We need the following in order to create <errno.h> when the system
172# doesn't have one that is POSIX compliant.
173if GL_GENERATE_ERRNO_H
174errno.h: errno.in.h $(top_builddir)/config.status
175 $(AM_V_GEN)rm -f $@-t $@ && \
176 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
177 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
178 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
179 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
180 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
181 -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
182 -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
183 -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
184 -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
185 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
186 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
187 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
188 < $(srcdir)/errno.in.h; \
189 } > $@-t && \
190 mv $@-t $@
191else
192errno.h: $(top_builddir)/config.status
193 rm -f $@
194endif
195MOSTLYCLEANFILES += errno.h errno.h-t
196
197EXTRA_DIST += errno.in.h
198
199## end gnulib module errno
200
167## begin gnulib module euidaccess 201## begin gnulib module euidaccess
168 202
169if gl_GNULIB_ENABLED_euidaccess 203if gl_GNULIB_ENABLED_euidaccess
diff --git a/nt/inc/ms-w32.h b/nt/inc/ms-w32.h
index 24078f9a344..29c8e383893 100644
--- a/nt/inc/ms-w32.h
+++ b/nt/inc/ms-w32.h
@@ -346,11 +346,10 @@ extern struct tm *localtime_r (time_t const * restrict, struct tm * restrict);
346#define ENOTSUP ENOSYS 346#define ENOTSUP ENOSYS
347#endif 347#endif
348 348
349/* WINDOWSNT <errno.h> doesn't define EOPNOTSUPP, and we don't have 349/* In case lib/errno.h is not used. */
350 'configure' working yet so we can't rely on the Gnulib replacement 350#ifndef EOPNOTSUPP
351 errno.h defining EOPNOTSUPP. Work around the problem by defining
352 it here. */
353#define EOPNOTSUPP 130 351#define EOPNOTSUPP 130
352#endif
354 353
355#ifdef _MSC_VER 354#ifdef _MSC_VER
356typedef int sigset_t; 355typedef int sigset_t;
diff --git a/nt/mingw-cfg.site b/nt/mingw-cfg.site
index 78bfa2bb758..8faf8e0dafe 100644
--- a/nt/mingw-cfg.site
+++ b/nt/mingw-cfg.site
@@ -4,8 +4,13 @@
4# We want to use getopt.h from gnulib 4# We want to use getopt.h from gnulib
5ac_cv_header_getopt_h=no 5ac_cv_header_getopt_h=no
6 6
7# Implemented in w32.c 7# ACL functions are implemented in w32.c
8ac_cv_search_acl_get_file="none required"
9ac_cv_func_acl_get_file=yes
8ac_cv_func_acl_set_file=yes 10ac_cv_func_acl_set_file=yes
11ac_cv_func_acl_free=yes
12ac_cv_func_acl_from_text=yes
13gl_cv_func_working_acl_get_file=yes
9# Autoconf's test program is not smart enough, and fails to detect gethostname 14# Autoconf's test program is not smart enough, and fails to detect gethostname
10ac_cv_func_gethostname=yes 15ac_cv_func_gethostname=yes
11# Implemented as sys_select in w32proc.c 16# Implemented as sys_select in w32proc.c