From: Eli Zaretskii Date: Fri, 29 Mar 2013 11:38:13 +0000 (+0300) Subject: Fix CLASH_DETECTION and 'not needed' result for fdopendir. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2026^2~229^2~63^2~69 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=52aa6b170b532b920ec593072249e0e3649a27b1;p=emacs.git Fix CLASH_DETECTION and 'not needed' result for fdopendir. --- diff --git a/configure.ac b/configure.ac index c0a8d9905a8..f870ff5b68e 100644 --- a/configure.ac +++ b/configure.ac @@ -3426,15 +3426,13 @@ dnl Turned on June 1996 supposing nobody will mind it. AC_DEFINE(AMPERSAND_FULL_NAME, 1, [Define to use the convention that & in the full name stands for the login id.]) -dnl Every platform that uses configure, except MinGW, -dnl supports this. There is a create-lockfiles option you can +dnl Every platform that uses configure supports this. +dnl There is a create-lockfiles option you can dnl customize if you do not want the lock files to be written. dnl So it is not clear that this #define still needs to exist. -if test "${opsys}" != "mingw32"; then - AC_DEFINE(CLASH_DETECTION, 1, [Define if you want lock files to be written, - so that Emacs can tell instantly when you try to modify a file that - someone else has modified in his/her Emacs.]) -fi +AC_DEFINE(CLASH_DETECTION, 1, [Define if you want lock files to be written, + so that Emacs can tell instantly when you try to modify a file that + someone else has modified in his/her Emacs.]) dnl Everybody supports this, except MS. dnl Seems like the kind of thing we should be testing for, though. diff --git a/nt/mingw-cfg.site b/nt/mingw-cfg.site index e3c49c1a914..4e1a77e0968 100644 --- a/nt/mingw-cfg.site +++ b/nt/mingw-cfg.site @@ -29,5 +29,5 @@ gl_cv_func_readlink_works=yes ac_cv_func_readlinkat=yes ac_cv_func_faccessat=yes # We don't need fdopendir -ac_cv_func_fdopendir="not needed" +ac_cv_func_fdopendir="not-needed" gl_cv_func_fdopendir_works="no, but not needed, so yes"