diff --git a/ChangeLog b/ChangeLog index debfa027..1de8aa18 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-05-23 Jim Meyering + + * 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 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and diff --git a/lib/autoconf/functions.m4 b/lib/autoconf/functions.m4 index f050bfc4..03adfeed 100644 --- a/lib/autoconf/functions.m4 +++ b/lib/autoconf/functions.m4 @@ -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])