]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
authorJim Meyering <meyering@lucent.com>
Tue, 23 May 2006 21:23:32 +0000 (21:23 +0000)
committerJim Meyering <meyering@lucent.com>
Tue, 23 May 2006 21:23:32 +0000 (21:23 +0000)
Fix typo introduced with 2006-04-02 change.  It reversed the sense
of the test.

ChangeLog
lib/autoconf/functions.m4

index debfa027a09e28c4fa8896870631874d8f9ee153..1de8aa1809db32a3b4c274f66c6bc4bfec0c2a3f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-05-23  Jim Meyering  <jim@meyering.net>
+
+       * lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
+       Fix typo introduced with 2006-04-02 change.  It reversed the sense
+       of the test.
+
 2006-05-23  Paul Eggert  <eggert@cs.ucla.edu>
 
        * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
index f050bfc4566e9ae33bcda0f5ce5d1ebc4c0940a4..03adfeed7b3aceee1bbd2788ac138943a2e768ea 100644 (file)
@@ -841,7 +841,7 @@ if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
      /* Linux will dereference the symlink and fail.
        That is better in the sense that it means we will not
        have to compile and use the lstat wrapper.  */
-     return lstat ("conftest.sym/", &sbuf) != 0;])],
+     return lstat ("conftest.sym/", &sbuf) == 0;])],
                [ac_cv_func_lstat_dereferences_slashed_symlink=yes],
                [ac_cv_func_lstat_dereferences_slashed_symlink=no],
                [ac_cv_func_lstat_dereferences_slashed_symlink=no])