Commit 9b170060 authored by Paul Eggert's avatar Paul Eggert

Fix default build-from-Git on macOS

* (NS_IMPL_COCOA): Do not default to "yes" if
src/macuvs.h is absent, which is possible in a build from Git.
parent 7555f932
Pipeline #2200 failed with stage
in 51 minutes and 26 seconds
......@@ -1960,7 +1960,10 @@ CFLAGS="$CFLAGS -x objective-c"
if test "${with_ns}" != no; then
if test "${opsys}" = darwin; then
# macfont.o requires macuvs.h which is absent in the repository,
# so avoid NS_IMPL_COCOA if macuvs.h is absent.
# Even a headless Emacs can build macuvs.h, so this lets you bootstrap.
if test "${opsys}" = darwin && test -f "$srcdir/src/macuvs.h"; then
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment