[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: same.c:78: error: `HAVE_LONG_FILE_NAMES' undeclared (first use in th
From: |
Paul Eggert |
Subject: |
Re: same.c:78: error: `HAVE_LONG_FILE_NAMES' undeclared (first use in this function) |
Date: |
Fri, 08 Jul 2005 00:11:01 -0700 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
"Gerrit P. Haase" <address@hidden> 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 <address@hidden>
* 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])
])
- Re: same.c:78: error: `HAVE_LONG_FILE_NAMES' undeclared (first use in this function),
Paul Eggert <=