Fix default build-from-Git on macOS
* configure.ac (NS_IMPL_COCOA): Do not default to "yes" if src/macuvs.h is absent, which is possible in a build from Git.
This commit is contained in:
parent
7555f9321d
commit
9b170060ba
1 changed files with 4 additions and 1 deletions
|
@ -1960,7 +1960,10 @@ CFLAGS="$CFLAGS -x objective-c"
|
|||
GNU_OBJC_CFLAGS=
|
||||
LIBS_GNUSTEP=
|
||||
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
|
||||
NS_IMPL_COCOA=yes
|
||||
ns_appdir=`pwd`/nextstep/Emacs.app
|
||||
ns_appbindir=${ns_appdir}/Contents/MacOS
|
||||
|
|
Loading…
Add table
Reference in a new issue