On Sat, Jun 22, 2019 at 12:44:40PM -0700, Paul Eggert wrote: > Alan Third wrote: > > It is. What doesn’t work is defining HAVE_NS but not setting the > > requirements for an NS build. > > > > './configure --without-ns' works fine as is. > > OK, thanks, in that case I guess that the problem is only that after one > does 'make extraclean' then one cannot build with the current master without > manually specifying './configure --without-ns' at some point. This makes the > bug less urgent to fix. I haven’t been following the clean build chat on emacs-devel, does make extraclean delete macuvs.h? We could try returning a useful message at configure time instead of just failing during the build. Do you think the attached patch is OK? I’d rather not just build headless as the usual build process on the Mac is to do ’make; make install’, which just builds the NS app directory. If we were to configure headless then run that same command it would attempt to install a headless Emacs to /usr or somewhere. It would probably fail due to permissions, but I’d prefer to avoid any confusion in the first place. -- Alan Third