mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-16 10:50:49 -08:00
* configure.ac (--with-ns): Enable by default on OS X.
; * etc/NEWS, nextstep/INSTALL: Mention this.
This commit is contained in:
parent
eccfc0a487
commit
d97fbcbedc
3 changed files with 14 additions and 4 deletions
12
configure.ac
12
configure.ac
|
|
@ -341,7 +341,9 @@ OPTION_DEFAULT_ON([m17n-flt],[don't use m17n-flt for text shaping])
|
||||||
OPTION_DEFAULT_ON([toolkit-scroll-bars],[don't use Motif or Xaw3d scroll bars])
|
OPTION_DEFAULT_ON([toolkit-scroll-bars],[don't use Motif or Xaw3d scroll bars])
|
||||||
OPTION_DEFAULT_ON([xaw3d],[don't use Xaw3d])
|
OPTION_DEFAULT_ON([xaw3d],[don't use Xaw3d])
|
||||||
OPTION_DEFAULT_ON([xim],[don't use X11 XIM])
|
OPTION_DEFAULT_ON([xim],[don't use X11 XIM])
|
||||||
OPTION_DEFAULT_OFF([ns],[use NeXTstep (Cocoa or GNUstep) windowing system])
|
AC_ARG_WITH([ns],[AS_HELP_STRING([--with-ns],
|
||||||
|
[use Nextstep (OS X Cocoa or GNUstep) windowing system.
|
||||||
|
On by default on Mac OS X.])],[],[with_ns=maybe])
|
||||||
OPTION_DEFAULT_OFF([w32], [use native MS Windows GUI in a Cygwin build])
|
OPTION_DEFAULT_OFF([w32], [use native MS Windows GUI in a Cygwin build])
|
||||||
|
|
||||||
OPTION_DEFAULT_ON([gpm],[don't use -lgpm for mouse support on a GNU/Linux console])
|
OPTION_DEFAULT_ON([gpm],[don't use -lgpm for mouse support on a GNU/Linux console])
|
||||||
|
|
@ -1746,6 +1748,7 @@ else
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
test "${with_ns}" = maybe && test "${opsys}" != darwin && with_ns=no
|
||||||
HAVE_NS=no
|
HAVE_NS=no
|
||||||
NS_GNUSTEP_CONFIG=no
|
NS_GNUSTEP_CONFIG=no
|
||||||
NS_IMPL_COCOA=no
|
NS_IMPL_COCOA=no
|
||||||
|
|
@ -1816,8 +1819,9 @@ fail;
|
||||||
CFLAGS="$CFLAGS $GNU_OBJC_CFLAGS"
|
CFLAGS="$CFLAGS $GNU_OBJC_CFLAGS"
|
||||||
|
|
||||||
AC_CHECK_HEADER([AppKit/AppKit.h], [HAVE_NS=yes],
|
AC_CHECK_HEADER([AppKit/AppKit.h], [HAVE_NS=yes],
|
||||||
[AC_MSG_ERROR(['--with-ns' was specified, but the include
|
[AC_MSG_ERROR([The include files (AppKit/AppKit.h etc) that
|
||||||
files are missing or cannot be compiled.])])
|
are required for a Nextstep build are missing or cannot be compiled.
|
||||||
|
Either fix this, or re-configure with the option '--without-ns'.])])
|
||||||
|
|
||||||
macfont_file=""
|
macfont_file=""
|
||||||
if test "${NS_IMPL_COCOA}" = "yes"; then
|
if test "${NS_IMPL_COCOA}" = "yes"; then
|
||||||
|
|
@ -2670,7 +2674,7 @@ NOTIFY_SUMMARY=no
|
||||||
|
|
||||||
dnl FIXME? Don't auto-detect on NS, but do allow someone to specify
|
dnl FIXME? Don't auto-detect on NS, but do allow someone to specify
|
||||||
dnl a particular library. This doesn't make much sense?
|
dnl a particular library. This doesn't make much sense?
|
||||||
if test "${with_ns}" = yes && test ${with_file_notification} = yes; then
|
if test "${HAVE_ns}" = yes && test ${with_file_notification} = yes; then
|
||||||
with_file_notification=no
|
with_file_notification=no
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
4
etc/NEWS
4
etc/NEWS
|
|
@ -1089,6 +1089,10 @@ of Windows starting with Windows 9X.
|
||||||
** The byte counts in etags-generated TAGS files are now the same on
|
** The byte counts in etags-generated TAGS files are now the same on
|
||||||
MS-Windows as they are on other platforms.
|
MS-Windows as they are on other platforms.
|
||||||
|
|
||||||
|
---
|
||||||
|
** On OS X, configure creates a Cocoa ("Nextstep") build by default.
|
||||||
|
Pass '--without-ns' to configure to create an X11 build, the old default.
|
||||||
|
|
||||||
** OS X 10.5 or older is no longer supported.
|
** OS X 10.5 or older is no longer supported.
|
||||||
|
|
||||||
** OS X on PowerPC is no longer supported.
|
** OS X on PowerPC is no longer supported.
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,8 @@ In the top-level directory, use:
|
||||||
|
|
||||||
./configure --with-ns
|
./configure --with-ns
|
||||||
|
|
||||||
|
(On Mac OS X, --with-ns is enabled by default.)
|
||||||
|
|
||||||
This will compile all the files, but emacs will not be able to be run except
|
This will compile all the files, but emacs will not be able to be run except
|
||||||
in -nw (terminal) mode.
|
in -nw (terminal) mode.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue