[adding gnulib] On 07/30/2014 07:14 PM, Garrett Cooper wrote: > Hi, > I recently tried to install m4 1.4.17 on FreeBSD 7 (which doesn't > have posix_spawn) and I ran into build errors with execute.c; it was > looking for posix_spawn-related constants and the API, which didn't > exist. > I'm not sure what the best course of action would be for this -- > either remove the autoconf-related feature checking or add the > necessary #defines to support OSes without posix_spawn.
M4 uses the gnulib module for posix_spawn, which _should_ work on systems that lack it natively. The autoconf checking for posix_spawn should be learning that there is no native posix_spawn and supply a working alternative based on fork() that just works. Can you please show the (section of) config.log related to posix_spawn probes, to see if there's something that went obviously wrong? Also, it might be nice to debug this gnulib issue in isolation; are you able to help debug things if I help you test a tarball created from gnulib.git? -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature