Okie, this is what is wrong:

  if test $gl_have_path_max_definition; then
    AC_LIBOBJ([chdir-long])
    gl_PREREQ_CHDIR_LONG
  fi

That always evals to true, since gl_have_path_max_definition is always
set to either yes/no.

m4/ChangeLog
2005-10-02  Alfred M. Szmidt  <[EMAIL PROTECTED]>

        * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Only call
        `gl_PREREQ_CHDIR_LONG' if `$gl_have_path_max_definition' is set to
        `yes'.


--- m4/chdir-long.m4    06 Feb 2005 19:22:42 +0100      1.6
+++ m4/chdir-long.m4    02 Oct 2005 12:00:00 +0200      
@@ -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


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to