diff options
| -rw-r--r-- | configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index be5c4e35b17..c1c49700029 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -1960,7 +1960,10 @@ CFLAGS="$CFLAGS -x objective-c" | |||
| 1960 | GNU_OBJC_CFLAGS= | 1960 | GNU_OBJC_CFLAGS= |
| 1961 | LIBS_GNUSTEP= | 1961 | LIBS_GNUSTEP= |
| 1962 | if test "${with_ns}" != no; then | 1962 | if test "${with_ns}" != no; then |
| 1963 | if test "${opsys}" = darwin; then | 1963 | # macfont.o requires macuvs.h which is absent in the repository, |
| 1964 | # so avoid NS_IMPL_COCOA if macuvs.h is absent. | ||
| 1965 | # Even a headless Emacs can build macuvs.h, so this lets you bootstrap. | ||
| 1966 | if test "${opsys}" = darwin && test -f "$srcdir/src/macuvs.h"; then | ||
| 1964 | NS_IMPL_COCOA=yes | 1967 | NS_IMPL_COCOA=yes |
| 1965 | ns_appdir=`pwd`/nextstep/Emacs.app | 1968 | ns_appdir=`pwd`/nextstep/Emacs.app |
| 1966 | ns_appbindir=${ns_appdir}/Contents/MacOS | 1969 | ns_appbindir=${ns_appdir}/Contents/MacOS |