]> code.delx.au - gnu-emacs/commitdiff
* puresize.h (BASE_PURESIZE): Increase to 1290000.
authorDan Nicolaescu <dann@ics.uci.edu>
Thu, 17 Sep 2009 06:10:44 +0000 (06:10 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Thu, 17 Sep 2009 06:10:44 +0000 (06:10 +0000)
* Makefile.in (OTHER_FILES): Define using autoconf, not cpp.
(OBJECTS_MACHINE): Remove, unused.

* configure.in (OTHER_FILES): Define using autoconf not cpp.

ChangeLog
configure
configure.in
src/ChangeLog
src/Makefile.in
src/config.in
src/puresize.h

index 3e4ebba111796778dc6b84ec8afd1b3f078d366c..f618eec730a7f322b4f9ce9ba9a6901065a4c1a5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 8726ef6adcc702af2e281870b16807a1d310bc8b..390875f107447c1e6993e1426fc651b2689f8647 100755 (executable)
--- a/configure
+++ b/configure
@@ -764,6 +764,7 @@ GNUSTEP_SYSTEM_HEADERS
 GNUSTEP_SYSTEM_LIBRARIES
 GNU_OBJC_CFLAGS
 LIB_SRC_EXTRA_INSTALLABLES
+OTHER_FILES
 LTLIBOBJS'
 ac_subst_files=''
 ac_user_opts='
@@ -15615,6 +15616,7 @@ _ACEOF
   fi
   # We also have mouse menus.
   HAVE_MENUS=yes
+  OTHER_FILES=ns-app
 fi
 
 
index e578f76ce5a91ca80a7e0c486ddb31ee431cbbeb..81f632c13b2e6ed1c7a6c85f338bf61fccfd2ae4 100644 (file)
@@ -2188,6 +2188,7 @@ if test "${HAVE_NS}" = "yes"; then
   fi
   # We also have mouse menus.
   HAVE_MENUS=yes
+  OTHER_FILES=ns-app
 fi
 
 
@@ -2598,6 +2599,7 @@ AC_SUBST(GNUSTEP_SYSTEM_HEADERS)
 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 @@ AH_BOTTOM([
    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.  */
index ec6d0095da5465607b828d5b648100170192f14d..47dda2e0f8023bcd9bcb4688ec94bee19afc81bb 100644 (file)
@@ -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.
index fa2457c73a895fbb409a48cd1a5c33a745cb78ab..865f14d8cddf8971aa2d13b75e2aabad4dc502f5 100644 (file)
@@ -65,6 +65,8 @@ config_h = config.h $(M_FILE) $(S_FILE)
 
 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 @@ LIBES = $(LOADLIBES) $(LIBS) $(LIBX) $(LIBSOUND) $(RSVG_LIBS) $(DBUS_LIBS) \
    @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 @@ ${libsrc}make-docfile${EXEEXT}:
        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 @@ textprop.o: textprop.c buffer.h window.h dispextern.h $(INTERVALS_H) \
        $(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
index 598132428c36d469bd534db7b7e3485ccdb08a56..c250e1a933bfe9ba0dd0b576362b2ed00cf41cb5 100644 (file)
@@ -1064,7 +1064,6 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
    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.  */
index 04cbf87a840a69e3361eb379e947310af915d038..3d20d57584dc3d9f9205c5f528800c9ec35f6084 100644 (file)
@@ -41,7 +41,7 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #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.  */