diff options
| author | Glenn Morris | 2015-06-22 22:03:33 -0400 |
|---|---|---|
| committer | Glenn Morris | 2015-06-22 22:03:33 -0400 |
| commit | d97fbcbedce8f36050af7a55d34c6ed50c99507c (patch) | |
| tree | 6c7382a717c19ae765b9b500647a4256dd1be3c1 | |
| parent | eccfc0a487787a7c1c2465c469becad983fc2810 (diff) | |
| download | emacs-d97fbcbedce8f36050af7a55d34c6ed50c99507c.tar.gz emacs-d97fbcbedce8f36050af7a55d34c6ed50c99507c.zip | |
* configure.ac (--with-ns): Enable by default on OS X.
; * etc/NEWS, nextstep/INSTALL: Mention this.
| -rw-r--r-- | configure.ac | 12 | ||||
| -rw-r--r-- | etc/NEWS | 4 | ||||
| -rw-r--r-- | nextstep/INSTALL | 2 |
3 files changed, 14 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index b54bd344aab..60d4bab8dc6 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -341,7 +341,9 @@ OPTION_DEFAULT_ON([m17n-flt],[don't use m17n-flt for text shaping]) | |||
| 341 | OPTION_DEFAULT_ON([toolkit-scroll-bars],[don't use Motif or Xaw3d scroll bars]) | 341 | OPTION_DEFAULT_ON([toolkit-scroll-bars],[don't use Motif or Xaw3d scroll bars]) |
| 342 | OPTION_DEFAULT_ON([xaw3d],[don't use Xaw3d]) | 342 | OPTION_DEFAULT_ON([xaw3d],[don't use Xaw3d]) |
| 343 | OPTION_DEFAULT_ON([xim],[don't use X11 XIM]) | 343 | OPTION_DEFAULT_ON([xim],[don't use X11 XIM]) |
| 344 | OPTION_DEFAULT_OFF([ns],[use NeXTstep (Cocoa or GNUstep) windowing system]) | 344 | AC_ARG_WITH([ns],[AS_HELP_STRING([--with-ns], |
| 345 | [use Nextstep (OS X Cocoa or GNUstep) windowing system. | ||
| 346 | On by default on Mac OS X.])],[],[with_ns=maybe]) | ||
| 345 | OPTION_DEFAULT_OFF([w32], [use native MS Windows GUI in a Cygwin build]) | 347 | OPTION_DEFAULT_OFF([w32], [use native MS Windows GUI in a Cygwin build]) |
| 346 | 348 | ||
| 347 | OPTION_DEFAULT_ON([gpm],[don't use -lgpm for mouse support on a GNU/Linux console]) | 349 | OPTION_DEFAULT_ON([gpm],[don't use -lgpm for mouse support on a GNU/Linux console]) |
| @@ -1746,6 +1748,7 @@ else | |||
| 1746 | fi | 1748 | fi |
| 1747 | fi | 1749 | fi |
| 1748 | 1750 | ||
| 1751 | test "${with_ns}" = maybe && test "${opsys}" != darwin && with_ns=no | ||
| 1749 | HAVE_NS=no | 1752 | HAVE_NS=no |
| 1750 | NS_GNUSTEP_CONFIG=no | 1753 | NS_GNUSTEP_CONFIG=no |
| 1751 | NS_IMPL_COCOA=no | 1754 | NS_IMPL_COCOA=no |
| @@ -1816,8 +1819,9 @@ fail; | |||
| 1816 | CFLAGS="$CFLAGS $GNU_OBJC_CFLAGS" | 1819 | CFLAGS="$CFLAGS $GNU_OBJC_CFLAGS" |
| 1817 | 1820 | ||
| 1818 | AC_CHECK_HEADER([AppKit/AppKit.h], [HAVE_NS=yes], | 1821 | AC_CHECK_HEADER([AppKit/AppKit.h], [HAVE_NS=yes], |
| 1819 | [AC_MSG_ERROR(['--with-ns' was specified, but the include | 1822 | [AC_MSG_ERROR([The include files (AppKit/AppKit.h etc) that |
| 1820 | files are missing or cannot be compiled.])]) | 1823 | are required for a Nextstep build are missing or cannot be compiled. |
| 1824 | Either fix this, or re-configure with the option '--without-ns'.])]) | ||
| 1821 | 1825 | ||
| 1822 | macfont_file="" | 1826 | macfont_file="" |
| 1823 | if test "${NS_IMPL_COCOA}" = "yes"; then | 1827 | if test "${NS_IMPL_COCOA}" = "yes"; then |
| @@ -2670,7 +2674,7 @@ NOTIFY_SUMMARY=no | |||
| 2670 | 2674 | ||
| 2671 | dnl FIXME? Don't auto-detect on NS, but do allow someone to specify | 2675 | dnl FIXME? Don't auto-detect on NS, but do allow someone to specify |
| 2672 | dnl a particular library. This doesn't make much sense? | 2676 | dnl a particular library. This doesn't make much sense? |
| 2673 | if test "${with_ns}" = yes && test ${with_file_notification} = yes; then | 2677 | if test "${HAVE_ns}" = yes && test ${with_file_notification} = yes; then |
| 2674 | with_file_notification=no | 2678 | with_file_notification=no |
| 2675 | fi | 2679 | fi |
| 2676 | 2680 | ||
| @@ -1089,6 +1089,10 @@ of Windows starting with Windows 9X. | |||
| 1089 | ** The byte counts in etags-generated TAGS files are now the same on | 1089 | ** The byte counts in etags-generated TAGS files are now the same on |
| 1090 | MS-Windows as they are on other platforms. | 1090 | MS-Windows as they are on other platforms. |
| 1091 | 1091 | ||
| 1092 | --- | ||
| 1093 | ** On OS X, configure creates a Cocoa ("Nextstep") build by default. | ||
| 1094 | Pass '--without-ns' to configure to create an X11 build, the old default. | ||
| 1095 | |||
| 1092 | ** OS X 10.5 or older is no longer supported. | 1096 | ** OS X 10.5 or older is no longer supported. |
| 1093 | 1097 | ||
| 1094 | ** OS X on PowerPC is no longer supported. | 1098 | ** OS X on PowerPC is no longer supported. |
diff --git a/nextstep/INSTALL b/nextstep/INSTALL index 96aaac7b09f..8c9cd3bab2b 100644 --- a/nextstep/INSTALL +++ b/nextstep/INSTALL | |||
| @@ -19,6 +19,8 @@ In the top-level directory, use: | |||
| 19 | 19 | ||
| 20 | ./configure --with-ns | 20 | ./configure --with-ns |
| 21 | 21 | ||
| 22 | (On Mac OS X, --with-ns is enabled by default.) | ||
| 23 | |||
| 22 | This will compile all the files, but emacs will not be able to be run except | 24 | This will compile all the files, but emacs will not be able to be run except |
| 23 | in -nw (terminal) mode. | 25 | in -nw (terminal) mode. |
| 24 | 26 | ||