[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: acl: FTBFS on GNU/Hurd



On Sat, Oct 11, 2003 at 02:23:41PM +0200, Alfred M. Szmidt wrote:
>    __USE_LARGEFILE64 and __USE_XOPEN_EXTENDED are *not* user macros.
>    You want to use _FILE_OFFSET_BITS and _XOPEN_EXTENDED respectively.
>    However, these must be defined before any includes are done and (at
>    least the former) should be done across all files.  I suggest that
>    they be added to the CFLAGS (e.g. in the automake files).
> 
> Better to add it to config.hin.

Fixed now. Someone should bang upstream with a large trout over this ;)

[...]
-ifeq ($(PKG_PLATFORM),linux)
+ifeq ($(PKG_LIBC),gnu)
 PCFLAGS = -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
 endif
[...]
+
+    case `uname -s` in Linux|GNU|GNU/*) pkg_libc=gnu ;; esac
+    test -z "$LIBC" || pkg_libc="$LIBC"
+    AC_SUBST(pkg_libc)


-- 
Robert Millan

"[..] but the delight and pride of Aule is in the deed of making, and in the
thing made, and neither in possession nor in his own mastery; wherefore he
gives and hoards not, and is free from care, passing ever on to some new work."

 -- J.R.R.T, Ainulindale (Silmarillion)



Reply to: