Changeset 1964 for cpio/vendor/current/m4/lchown.m4
- Timestamp:
- Feb 3, 2017, 2:02:34 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified cpio/vendor/current/m4/lchown.m4 ¶
r118 r1964 1 # serial 1 51 # serial 17 2 2 # Determine whether we need the lchown wrapper. 3 3 4 dnl Copyright (C) 1998, 2001, 2003-2007, 2009-201 0Free Software Foundation,4 dnl Copyright (C) 1998, 2001, 2003-2007, 2009-2015 Free Software Foundation, 5 5 dnl Inc. 6 6 … … 18 18 AC_REQUIRE([gl_FUNC_CHOWN]) 19 19 AC_CHECK_FUNCS_ONCE([lchmod]) 20 AC_ REPLACE_FUNCS([lchown])20 AC_CHECK_FUNCS([lchown]) 21 21 if test $ac_cv_func_lchown = no; then 22 22 HAVE_LCHOWN=0 23 elif test "$gl_cv_func_chown_slash_works" != yes \ 24 || test "$gl_cv_func_chown_ctime_works" != yes; then 23 else 25 24 dnl Trailing slash and ctime bugs in chown also occur in lchown. 26 AC_LIBOBJ([lchown]) 27 REPLACE_LCHOWN=1 25 case "$gl_cv_func_chown_slash_works" in 26 *yes) ;; 27 *) 28 REPLACE_LCHOWN=1 29 ;; 30 esac 31 case "$gl_cv_func_chown_ctime_works" in 32 *yes) ;; 33 *) 34 REPLACE_LCHOWN=1 35 ;; 36 esac 28 37 fi 29 38 ])
Note:
See TracChangeset
for help on using the changeset viewer.