"Gerrit P. Haase" <[EMAIL PROTECTED]> writes:

> I also got antoher error, for module mathl this was added to Makefile.am:
>
> noinst_HEADERS += ....
>
> Since it was the first use of noinst_HEADERS automake chokes on it.

I guess you're supposed to put "noinst_HEADERS =" at the top.


> Suggested fix is adding
>
>    AC_REQUIRE([AC_SYS_LONG_FILE_NAMES])
>
> to the same prerequisites like it is in backupfile.m4.

Thanks; I installed this patch in both gnulib and coreutils:

2005-07-07  Paul Eggert  <[EMAIL PROTECTED]>

        * backupfile.m4 (gl_BACKUPFILE): Use AC_CHECK_FUNCS_ONCE on pathconf.
        * same.m4 (gl_SAME): Likewise.
        Require AC_SYS_LONG_FILE_NAMES; bug reported by Gerrit P. Haase.

Index: m4/backupfile.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/backupfile.m4,v
retrieving revision 1.8
diff -p -u -r1.8 backupfile.m4
--- m4/backupfile.m4    21 Mar 2005 22:06:27 -0000      1.8
+++ m4/backupfile.m4    8 Jul 2005 06:48:17 -0000
@@ -1,4 +1,4 @@
-# backupfile.m4 serial 7
+# backupfile.m4 serial 8
 dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -14,6 +14,6 @@ AC_DEFUN([gl_BACKUPFILE],
   AC_REQUIRE([gl_CHECK_TYPE_STRUCT_DIRENT_D_INO])
   AC_REQUIRE([gl_AC_DOS])
   AC_REQUIRE([AC_SYS_LONG_FILE_NAMES])
-  AC_CHECK_HEADERS_ONCE(unistd.h)
-  AC_CHECK_FUNCS(pathconf)
+  AC_CHECK_HEADERS_ONCE([unistd.h])
+  AC_CHECK_FUNCS_ONCE([pathconf])
 ])
Index: m4/same.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/same.m4,v
retrieving revision 1.5
diff -p -u -r1.5 same.m4
--- m4/same.m4  21 Mar 2005 22:06:27 -0000      1.5
+++ m4/same.m4  8 Jul 2005 06:48:17 -0000
@@ -1,4 +1,4 @@
-# same.m4 serial 4
+# same.m4 serial 5
 dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -10,6 +10,7 @@ AC_DEFUN([gl_SAME],
   AC_LIBOBJ([same])
 
   dnl Prerequisites of lib/same.c.
-  AC_CHECK_HEADERS_ONCE(unistd.h)
-  AC_CHECK_FUNCS(pathconf)
+  AC_REQUIRE([AC_SYS_LONG_FILE_NAMES])
+  AC_CHECK_HEADERS_ONCE([unistd.h])
+  AC_CHECK_FUNCS_ONCE([pathconf])
 ])




_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to