diff options
author | Bruno Haible <bruno@clisp.org> | 2019-09-08 23:05:22 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2019-09-08 23:05:22 +0200 |
commit | 0253d3f5d1d28694248f80f32146b472cda7b15c (patch) | |
tree | b70186d9843673fb7a92cb67f55becc4cf74e05f | |
parent | 3578d0622666eba427577c7163efe8262e030259 (diff) | |
download | gnulib-0253d3f5d1d28694248f80f32146b472cda7b15c.tar.gz gnulib-0253d3f5d1d28694248f80f32146b472cda7b15c.tar.bz2 |
chown: Fix configure output (regression from 2019-03-23).
* m4/chown.m4 (gl_FUNC_CHOWN): Fix reference to
gl_cv_func_chown_follows_symlink variable.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | m4/chown.m4 | 9 |
2 files changed, 11 insertions, 4 deletions
@@ -1,5 +1,11 @@ 2019-09-08 Bruno Haible <bruno@clisp.org> + chown: Fix configure output (regression from 2019-03-23). + * m4/chown.m4 (gl_FUNC_CHOWN): Fix reference to + gl_cv_func_chown_follows_symlink variable. + +2019-09-08 Bruno Haible <bruno@clisp.org> + findprog-in: New module. Suggested by Paul Smith <psmith@gnu.org>. * lib/findprog.h (find_in_given_path): New declaration. diff --git a/m4/chown.m4 b/m4/chown.m4 index b7983250e0..b693686bd9 100644 --- a/m4/chown.m4 +++ b/m4/chown.m4 @@ -1,4 +1,4 @@ -# serial 32 +# serial 33 # Determine whether we need the chown wrapper. dnl Copyright (C) 1997-2001, 2003-2005, 2007, 2009-2019 Free Software @@ -80,9 +80,10 @@ AC_DEFUN_ONCE([gl_FUNC_CHOWN], HAVE_CHOWN=0 else dnl Some old systems treated chown like lchown. - if test $gl_cv_func_chown_follows_symlink = no; then - REPLACE_CHOWN=1 - fi + case "$gl_cv_func_chown_follows_symlink" in + *yes) ;; + *) REPLACE_CHOWN=1 ;; + esac dnl Some old systems tried to use uid/gid -1 literally. case "$ac_cv_func_chown_works" in |