CVS update: /ccvs/m4/
[email protected] 24 May 2005 21:03:15 -0000
| Newsgroups | gmane.comp.version-control.cvs.cvs |
|---|---|
| Message-ID | <[email protected]> |
User: dprice Date: 05/05/24 14:03:15 Modified: /ccvs/m4/ ChangeLog, lstat.m4, stat.m4 Log: * lstat.m4, stat.m4: Define rpl_stat & rpl_lstat when needed. File Changes: Directory: /ccvs/m4/ ==================== File [changed]: ChangeLog Url: https://ccvs.cvshome.org/source/browse/ccvs/m4/ChangeLog?r1=1.129&r2=1.130 Delta lines: +4 -0 ------------------- --- ChangeLog 24 May 2005 16:37:24 -0000 1.129 +++ ChangeLog 24 May 2005 21:03:13 -0000 1.130 @@ -1,5 +1,9 @@ 2005-05-24 Derek Price <[email protected]> + * lstat.m4, stat.m4: Define rpl_stat & rpl_lstat when needed. + +2005-05-24 Derek Price <[email protected]> + * glob.m4 (gl_PREREQ_GLOB): Don't look for struct dirent64 or stat64. 2005-05-23 Derek Price <[email protected]> File [changed]: lstat.m4 Url: https://ccvs.cvshome.org/source/browse/ccvs/m4/lstat.m4?r1=1.6&r2=1.7 Delta lines: +18 -1 -------------------- --- lstat.m4 3 May 2005 14:58:58 -0000 1.6 +++ lstat.m4 24 May 2005 21:03:13 -0000 1.7 @@ -16,9 +16,26 @@ dnl compile the wrapper function. dnl +AC_DEFUN([gl_LSTAT_SUBSTITUTE], +[ + gl_PREREQ_LSTAT + AC_DEFINE(lstat, rpl_lstat, + [Define to a substitute for the `lstat' function.]) +]) + AC_DEFUN([gl_FUNC_LSTAT], [ - AC_REQUIRE([AC_FUNC_LSTAT]) + AC_REQUIRE([AC_FUNC_LSTAT])dnl dnl Note: AC_FUNC_LSTAT does AC_LIBOBJ(lstat). + if test $ac_cv_func_lstat_empty_string_bug = yes \ + || test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then + gl_LSTAT_SUBSTITUTE + fi + : +]) + +AC_DEFUN([gl_PREREQ_LSTAT], +[ + AC_REQUIRE([AC_FUNC_LSTAT])dnl : ]) File [changed]: stat.m4 Url: https://ccvs.cvshome.org/source/browse/ccvs/m4/stat.m4?r1=1.3&r2=1.4 Delta lines: +9 -2 ------------------- --- stat.m4 1 Mar 2005 18:15:07 -0000 1.3 +++ stat.m4 24 May 2005 21:03:13 -0000 1.4 @@ -16,17 +16,24 @@ dnl compile the wrapper function. dnl +AC_DEFUN([gl_STAT_SUBSTITUTE], +[ + gl_PREREQ_STAT + AC_DEFINE(stat, rpl_stat, [Define to a substitute for the stat function.]) +]) + AC_DEFUN([gl_FUNC_STAT], [ - AC_FUNC_STAT + AC_REQUIRE([AC_FUNC_STAT])dnl dnl Note: AC_FUNC_STAT does AC_LIBOBJ(stat). if test $ac_cv_func_stat_empty_string_bug = yes; then - gl_PREREQ_STAT + gl_STAT_SUBSTITUTE fi ]) # Prerequisites of lib/stat.c. AC_DEFUN([gl_PREREQ_STAT], [ + AC_REQUIRE([AC_FUNC_STAT])dnl : ])