(gl_FUNC_CHDIR_LONG): Compare $gl_have_path...
authorJim Meyering <jim@meyering.net>
Sun, 2 Oct 2005 10:09:14 +0000 (10:09 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 2 Oct 2005 10:09:14 +0000 (10:09 +0000)
against `yes', rather than just testing for nonempty.

m4/chdir-long.m4

index 9e9e35f9824eacadcc4bc02e8b343f308a4c9117..0f22e382ca913be1c43f6de7f3e71c7620d41f4d 100644 (file)
@@ -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