Index: acfunctions.m4 =================================================================== RCS file: /cvsroot/autoconf/autoconf/acfunctions.m4,v retrieving revision 1.33 diff -p -d -c -c -r1.33 acfunctions.m4 *** acfunctions.m4 2001/04/22 12:50:07 1.33 --- acfunctions.m4 2001/05/22 11:59:31 *************** AC_DEFUN([AC_FUNC_LSTAT_FOLLOWS_SLASHED_ *** 670,685 **** [AC_CACHE_CHECK( [whether lstat dereferences a symlink specified with a trailing slash], [ac_cv_func_lstat_dereferences_slashed_symlink], ! [rm -f conftest.sym conftest.file echo >conftest.file ! if ln -s conftest.file conftest.sym; then AC_RUN_IFELSE([AC_LANG_PROGRAM(address@hidden:@include @%:@include ], [struct stat sbuf; /* 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. */ ! exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1);])], [ac_cv_func_lstat_dereferences_slashed_symlink=yes], [ac_cv_func_lstat_dereferences_slashed_symlink=no], [ac_cv_func_lstat_dereferences_slashed_symlink=no]) --- 670,685 ---- [AC_CACHE_CHECK( [whether lstat dereferences a symlink specified with a trailing slash], [ac_cv_func_lstat_dereferences_slashed_symlink], ! [rm -f conf$$ conf$$.exe conf$$.file echo >conftest.file ! if ln -s conf$$.file conf$$ && test ! -f conf$$.exe; then AC_RUN_IFELSE([AC_LANG_PROGRAM(address@hidden:@include @%:@include ], [struct stat sbuf; /* 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. */ ! exit (lstat ("conf$$.sym/", &sbuf) ? 0 : 1);])], [ac_cv_func_lstat_dereferences_slashed_symlink=yes], [ac_cv_func_lstat_dereferences_slashed_symlink=no], [ac_cv_func_lstat_dereferences_slashed_symlink=no]) *************** else *** 688,694 **** # have an lstat function. ac_cv_func_lstat_dereferences_slashed_symlink=no fi ! rm -f conftest.sym conftest.file ]) test $ac_cv_func_lstat_dereferences_slashed_symlink = yes && --- 688,694 ---- # have an lstat function. ac_cv_func_lstat_dereferences_slashed_symlink=no fi ! rm -f conf$$ conf$$.exe conf$$.file ]) test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&