]> code.delx.au - gnu-emacs/commitdiff
Fix CLASH_DETECTION and 'not needed' result for fdopendir.
authorEli Zaretskii <eliz@gnu.org>
Fri, 29 Mar 2013 11:38:13 +0000 (14:38 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 29 Mar 2013 11:38:13 +0000 (14:38 +0300)
configure.ac
nt/mingw-cfg.site

index c0a8d9905a8473fc677074cf052e305685abb57e..f870ff5b68e316022003c0a91c4ab25ff09c64c6 100644 (file)
@@ -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.
index e3c49c1a914d7c82362f010e6bca3675fafca036..4e1a77e0968b588c17c1307d71d7919ca1844944 100644 (file)
@@ -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"