changeset 105052:fe2a0bec5d65

* puresize.h (BASE_PURESIZE): Increase to 1290000. * Makefile.in (OTHER_FILES): Define using autoconf, not cpp. (OBJECTS_MACHINE): Remove, unused. * configure.in (OTHER_FILES): Define using autoconf not cpp.
author Dan Nicolaescu <dann@ics.uci.edu>
date Thu, 17 Sep 2009 06:10:44 +0000
parents b24c3613ac28
children b942d57a0577
files ChangeLog configure configure.in src/ChangeLog src/Makefile.in src/config.in src/puresize.h
diffstat 7 files changed, 24 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Sep 17 06:02:20 2009 +0000
+++ b/ChangeLog	Thu Sep 17 06:10:44 2009 +0000
@@ -1,3 +1,7 @@
+2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* configure.in (OTHER_FILES): Define using autoconf not cpp.
+
 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
 
 	* .dir-locals.el (change-log-mode): Restore bug-reference-mode.
--- a/configure	Thu Sep 17 06:02:20 2009 +0000
+++ b/configure	Thu Sep 17 06:10:44 2009 +0000
@@ -764,6 +764,7 @@
 GNUSTEP_SYSTEM_LIBRARIES
 GNU_OBJC_CFLAGS
 LIB_SRC_EXTRA_INSTALLABLES
+OTHER_FILES
 LTLIBOBJS'
 ac_subst_files=''
 ac_user_opts='
@@ -15615,6 +15616,7 @@
   fi
   # We also have mouse menus.
   HAVE_MENUS=yes
+  OTHER_FILES=ns-app
 fi
 
 
--- a/configure.in	Thu Sep 17 06:02:20 2009 +0000
+++ b/configure.in	Thu Sep 17 06:10:44 2009 +0000
@@ -2188,6 +2188,7 @@
   fi
   # We also have mouse menus.
   HAVE_MENUS=yes
+  OTHER_FILES=ns-app
 fi
 
 
@@ -2598,6 +2599,7 @@
 AC_SUBST(GNUSTEP_SYSTEM_LIBRARIES)
 AC_SUBST(GNU_OBJC_CFLAGS)
 AC_SUBST(LIB_SRC_EXTRA_INSTALLABLES)
+AC_SUBST(OTHER_FILES)
 
 AC_DEFINE_UNQUOTED(EMACS_CONFIGURATION,  "${canonical}",
 		   [Define to the canonical Emacs configuration name.])
@@ -2744,7 +2746,6 @@
    side does this in s/darwin.h and we cannot
    parallel this exactly since GNUstep is multi-OS. */
 #ifdef HAVE_NS
-#define OTHER_FILES ns-app
 # ifdef NS_IMPL_GNUSTEP
 /* See also .m.o rule in Makefile.in */
 /* FIXME: are all these flags really needed?  Document here why.  */
--- a/src/ChangeLog	Thu Sep 17 06:02:20 2009 +0000
+++ b/src/ChangeLog	Thu Sep 17 06:10:44 2009 +0000
@@ -1,3 +1,10 @@
+2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* puresize.h (BASE_PURESIZE): Increase to 1290000.
+
+	* Makefile.in (OTHER_FILES): Define using autoconf, not cpp.
+	(OBJECTS_MACHINE): Remove, unused.
+
 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 	* frame.c (x_get_resource_string): Remove unused.
--- a/src/Makefile.in	Thu Sep 17 06:02:20 2009 +0000
+++ b/src/Makefile.in	Thu Sep 17 06:10:44 2009 +0000
@@ -65,6 +65,8 @@
 
 bootstrap_exe = ../src/bootstrap-emacs${EXEEXT}
 
+OTHER_FILES = @OTHER_FILES@
+
 # ========================== start of cpp stuff =======================
 /* From here on, comments must be done in C syntax.  */
 
@@ -886,23 +888,13 @@
    @FREETYPE_LIBS@ @FONTCONFIG_LIBS@ @LIBOTF_LIBS@ @M17N_FLT_LIBS@ \
    $(GNULIB_VAR) LIB_MATH LIB_STANDARD $(GNULIB_VAR)
 
-/* Enable recompilation of certain other files depending on system type.  */
-
-#ifndef OTHER_FILES
-#define OTHER_FILES
-#endif
-
-#ifndef OBJECTS_MACHINE
-#define OBJECTS_MACHINE
-#endif
-
 #ifdef HAVE_SHM
 RUN_TEMACS = `/bin/pwd`/temacs -nl
 #else
 RUN_TEMACS = `/bin/pwd`/temacs
 #endif
 
-all: emacs${EXEEXT} OTHER_FILES
+all: emacs${EXEEXT} $(OTHER_FILES)
 
 emacs${EXEEXT}: temacs${EXEEXT} ${etc}DOC ${lisp} ${SOME_MACHINE_LISP}
 #ifdef CANNOT_DUMP
@@ -939,18 +931,18 @@
 	cd ${libsrc}; ${MAKE} ${MFLAGS} make-docfile${EXEEXT}
 
 buildobj.h: Makefile
-	echo "#define BUILDOBJ \"${obj} ${otherobj} " OBJECTS_MACHINE "\"" > buildobj.h
+	echo "#define BUILDOBJ \"${obj} ${otherobj} " "\"" > buildobj.h
 
-temacs${EXEEXT}: $(LOCALCPP) $(STARTFILES) stamp-oldxmenu ${obj} ${otherobj} OBJECTS_MACHINE prefix-args${EXEEXT}
+temacs${EXEEXT}: $(LOCALCPP) $(STARTFILES) stamp-oldxmenu ${obj} ${otherobj} prefix-args${EXEEXT}
 #ifdef NS_IMPL_GNUSTEP
 	$(CC) -rdynamic YMF_PASS_LDFLAGS ( ${TEMACS_LDFLAGS} \
 	-L@GNUSTEP_SYSTEM_LIBRARIES@ -lgnustep-gui -lgnustep-base \
 	-lobjc $(CONFIG_SYSTEM_LIBS) -lpthread ) -o temacs \
-	${obj} ${otherobj} OBJECTS_MACHINE ${LIBES}
+	${obj} ${otherobj} ${LIBES}
 #else
 	$(LD) YMF_PASS_LDFLAGS (${STARTFLAGS} ${TEMACS_LDFLAGS}) $(LDFLAGS) \
     -o temacs ${STARTFILES} ${obj} ${otherobj}  \
-    OBJECTS_MACHINE ${LIBES}
+    ${LIBES}
 #endif
 
 /* We do not use ALL_LDFLAGS because LD_SWITCH_SYSTEM and LD_SWITCH_MACHINE
@@ -1256,7 +1248,7 @@
 	$(config_h)
 
 /* System-specific programs to be made.
-   OTHER_FILES and OBJECTS_MACHINE
+   OTHER_FILES
    select which of these should be compiled.  */
 
 #ifdef HAVE_NS
--- a/src/config.in	Thu Sep 17 06:02:20 2009 +0000
+++ b/src/config.in	Thu Sep 17 06:10:44 2009 +0000
@@ -1064,7 +1064,6 @@
    side does this in s/darwin.h and we cannot
    parallel this exactly since GNUstep is multi-OS. */
 #ifdef HAVE_NS
-#define OTHER_FILES ns-app
 # ifdef NS_IMPL_GNUSTEP
 /* See also .m.o rule in Makefile.in */
 /* FIXME: are all these flags really needed?  Document here why.  */
--- a/src/puresize.h	Thu Sep 17 06:02:20 2009 +0000
+++ b/src/puresize.h	Thu Sep 17 06:10:44 2009 +0000
@@ -41,7 +41,7 @@
 #endif
 
 #ifndef BASE_PURESIZE
-#define BASE_PURESIZE (1270000 + SYSTEM_PURESIZE_EXTRA + SITELOAD_PURESIZE_EXTRA)
+#define BASE_PURESIZE (1290000 + SYSTEM_PURESIZE_EXTRA + SITELOAD_PURESIZE_EXTRA)
 #endif
 
 /* Increase BASE_PURESIZE by a ratio depending on the machine's word size.  */