From: Jim Meyering Date: Sun, 2 Oct 2005 10:09:14 +0000 (+0000) Subject: (gl_FUNC_CHDIR_LONG): Compare $gl_have_path... X-Git-Tag: v5.91~70 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1cf46dda932ac4e88c5f9dca517ce24c0d683669;p=thirdparty%2Fcoreutils.git (gl_FUNC_CHDIR_LONG): Compare $gl_have_path... against `yes', rather than just testing for nonempty. --- diff --git a/m4/chdir-long.m4 b/m4/chdir-long.m4 index 9e9e35f982..0f22e382ca 100644 --- a/m4/chdir-long.m4 +++ b/m4/chdir-long.m4 @@ -1,4 +1,4 @@ -#serial 5 +#serial 6 # Use Gnulib's robust chdir function. # It can handle arbitrarily long directory names, which means @@ -27,7 +27,7 @@ have_path_max_definition gl_have_path_max_definition=yes, gl_have_path_max_definition=no)]) - if test $gl_have_path_max_definition; then + if test $gl_have_path_max_definition = yes; then AC_LIBOBJ([chdir-long]) gl_PREREQ_CHDIR_LONG fi