[adding bug-gnulib] On 11/05/2013 08:55 AM, GW wrote: > M4 does not build "as is" on DragonFly BSD. However, the fix we found and > used > for a while at DragonFly is actually fairly simple: > > > --- lib/fpending.h.orig 2013-11-05 16:23:53.676412000 +0100 > +++ lib/fpending.h 2013-11-05 16:25:14.837659000 +0100 > @@ -24,6 +24,8 @@ > # include <stdio_ext.h> > #endif > > +#ifndef __DragonFly__ > #ifndef __fpending > size_t __fpending (FILE *); > #endif > +#endif
Thanks; but this needs to be patched upstream in gnulib (the next m4 release will pick up the gnulib fix). Furthermore, your patch isn't quite right; we need to figure out WHY your build is failing if we redeclare __fpending on DragonFly, rather than just #ifdef'ing it out. Can you post the actual compiler message? -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature