+2008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com>
+
+ * config.in: Regenerate.
+
+ * Makefile.in (emacs): Remove ndef NS conditional for 'emacs
+ -list-load-path-shadows'.
+ (nsgui.h): Reduce number of things depending on it.
+
2008-08-06 Chong Yidong <cyd@stupidchicken.com>
* xdisp.c (try_scrolling): Use iterator to find the scroll margin,
@: bootstrap-emacs, so let us replace it.
-ln -f emacs${EXEEXT} bootstrap-emacs${EXEEXT}
#endif /* ! defined (CANNOT_DUMP) */
-/* XXX: not working under NS currently due to path shenanigans.. */
-#ifndef HAVE_NS
-./emacs -q -batch -f list-load-path-shadows
-#endif
/* We run make-docfile twice because the command line may get too long
on some systems. */
select which of these should be compiled. */
#ifdef HAVE_NS
-buffer.o callint.o cmds.o dispnew.o editfns.o fileio.o frame.o \
- fontset.o indent.o insdel.o keyboard.o macros.o minibuf.o msdos.o process.o \
- scroll.o sysdep.o term.o widget.o window.o xdisp.o xfaces.o sound.o: nsgui.h
+/* In fact, every .o file depends directly or indirectly on dispextern.h
+ and hence nsgui.h under NS. But the ones that actually use stuff there
+ are more limited. */
+dispnew.o font.o fontset.o frame.o fringe.o image.o keyboard.o menu.o \
+ window.o xdisp.o xfaces.o: nsgui.h
${ns_appdir}: ${ns_appsrc}
rm -fr ${ns_appdir}
side does this in s/darwin.h and we cannot
parallel this exactly since GNUstep is multi-OS. */
#ifdef HAVE_NS
-# ifdef C_SWITCH_SYSTEM
-# undef C_SWITCH_SYSTEM
-# endif
# ifdef NS_IMPL_GNUSTEP
/* See also .m.o rule in Makefile.in */
-# define C_SWITCH_X_SYSTEM -MMD -MP -D_REENTRANT -fPIC -fno-strict-aliasing
+# define C_SWITCH_X_SYSTEM -D_REENTRANT -fPIC -fno-strict-aliasing
# define GNU_OBJC_CFLAGS -fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN -DGSDIAGNOSE
# define OTHER_FILES ns-app
# else /* NS_IMPL_COCOA */