--- coreutils-5.3.0/m4/chdir-long.m4	2004-12-10 01:01:23.000000000 +0100
+++ coreutils-5.3.0_fixed/m4/chdir-long.m4	2005-11-13 18:43:49.000000000 +0100
@@ -21,7 +21,7 @@
     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
