aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2009-09-17 06:10:44 +0000
committerDan Nicolaescu2009-09-17 06:10:44 +0000
commit005bd5a2637911a3664cd767c71e3b692a5ed77d (patch)
tree82790475f2d3fd4b23097c3404d7937295287c61
parent28fab7b561569d2c31a48c54d3454ed159873f40 (diff)
downloademacs-005bd5a2637911a3664cd767c71e3b692a5ed77d.tar.gz
emacs-005bd5a2637911a3664cd767c71e3b692a5ed77d.zip
* 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.
-rw-r--r--ChangeLog4
-rwxr-xr-xconfigure2
-rw-r--r--configure.in3
-rw-r--r--src/ChangeLog7
-rw-r--r--src/Makefile.in24
-rw-r--r--src/config.in1
-rw-r--r--src/puresize.h2
7 files changed, 24 insertions, 19 deletions
diff --git a/ChangeLog b/ChangeLog
index 3e4ebba1117..f618eec730a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
12009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * configure.in (OTHER_FILES): Define using autoconf not cpp.
4
12009-09-14 Dan Nicolaescu <dann@ics.uci.edu> 52009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
2 6
3 * .dir-locals.el (change-log-mode): Restore bug-reference-mode. 7 * .dir-locals.el (change-log-mode): Restore bug-reference-mode.
diff --git a/configure b/configure
index 8726ef6adcc..390875f1074 100755
--- a/configure
+++ b/configure
@@ -764,6 +764,7 @@ GNUSTEP_SYSTEM_HEADERS
764GNUSTEP_SYSTEM_LIBRARIES 764GNUSTEP_SYSTEM_LIBRARIES
765GNU_OBJC_CFLAGS 765GNU_OBJC_CFLAGS
766LIB_SRC_EXTRA_INSTALLABLES 766LIB_SRC_EXTRA_INSTALLABLES
767OTHER_FILES
767LTLIBOBJS' 768LTLIBOBJS'
768ac_subst_files='' 769ac_subst_files=''
769ac_user_opts=' 770ac_user_opts='
@@ -15615,6 +15616,7 @@ _ACEOF
15615 fi 15616 fi
15616 # We also have mouse menus. 15617 # We also have mouse menus.
15617 HAVE_MENUS=yes 15618 HAVE_MENUS=yes
15619 OTHER_FILES=ns-app
15618fi 15620fi
15619 15621
15620 15622
diff --git a/configure.in b/configure.in
index e578f76ce5a..81f632c13b2 100644
--- a/configure.in
+++ b/configure.in
@@ -2188,6 +2188,7 @@ if test "${HAVE_NS}" = "yes"; then
2188 fi 2188 fi
2189 # We also have mouse menus. 2189 # We also have mouse menus.
2190 HAVE_MENUS=yes 2190 HAVE_MENUS=yes
2191 OTHER_FILES=ns-app
2191fi 2192fi
2192 2193
2193 2194
@@ -2598,6 +2599,7 @@ AC_SUBST(GNUSTEP_SYSTEM_HEADERS)
2598AC_SUBST(GNUSTEP_SYSTEM_LIBRARIES) 2599AC_SUBST(GNUSTEP_SYSTEM_LIBRARIES)
2599AC_SUBST(GNU_OBJC_CFLAGS) 2600AC_SUBST(GNU_OBJC_CFLAGS)
2600AC_SUBST(LIB_SRC_EXTRA_INSTALLABLES) 2601AC_SUBST(LIB_SRC_EXTRA_INSTALLABLES)
2602AC_SUBST(OTHER_FILES)
2601 2603
2602AC_DEFINE_UNQUOTED(EMACS_CONFIGURATION, "${canonical}", 2604AC_DEFINE_UNQUOTED(EMACS_CONFIGURATION, "${canonical}",
2603 [Define to the canonical Emacs configuration name.]) 2605 [Define to the canonical Emacs configuration name.])
@@ -2744,7 +2746,6 @@ AH_BOTTOM([
2744 side does this in s/darwin.h and we cannot 2746 side does this in s/darwin.h and we cannot
2745 parallel this exactly since GNUstep is multi-OS. */ 2747 parallel this exactly since GNUstep is multi-OS. */
2746#ifdef HAVE_NS 2748#ifdef HAVE_NS
2747#define OTHER_FILES ns-app
2748# ifdef NS_IMPL_GNUSTEP 2749# ifdef NS_IMPL_GNUSTEP
2749/* See also .m.o rule in Makefile.in */ 2750/* See also .m.o rule in Makefile.in */
2750/* FIXME: are all these flags really needed? Document here why. */ 2751/* FIXME: are all these flags really needed? Document here why. */
diff --git a/src/ChangeLog b/src/ChangeLog
index ec6d0095da5..47dda2e0f80 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,10 @@
12009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * puresize.h (BASE_PURESIZE): Increase to 1290000.
4
5 * Makefile.in (OTHER_FILES): Define using autoconf, not cpp.
6 (OBJECTS_MACHINE): Remove, unused.
7
12009-09-16 Stefan Monnier <monnier@iro.umontreal.ca> 82009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2 9
3 * frame.c (x_get_resource_string): Remove unused. 10 * frame.c (x_get_resource_string): Remove unused.
diff --git a/src/Makefile.in b/src/Makefile.in
index fa2457c73a8..865f14d8cdd 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -65,6 +65,8 @@ config_h = config.h $(M_FILE) $(S_FILE)
65 65
66bootstrap_exe = ../src/bootstrap-emacs${EXEEXT} 66bootstrap_exe = ../src/bootstrap-emacs${EXEEXT}
67 67
68OTHER_FILES = @OTHER_FILES@
69
68# ========================== start of cpp stuff ======================= 70# ========================== start of cpp stuff =======================
69/* From here on, comments must be done in C syntax. */ 71/* From here on, comments must be done in C syntax. */
70 72
@@ -886,23 +888,13 @@ LIBES = $(LOADLIBES) $(LIBS) $(LIBX) $(LIBSOUND) $(RSVG_LIBS) $(DBUS_LIBS) \
886 @FREETYPE_LIBS@ @FONTCONFIG_LIBS@ @LIBOTF_LIBS@ @M17N_FLT_LIBS@ \ 888 @FREETYPE_LIBS@ @FONTCONFIG_LIBS@ @LIBOTF_LIBS@ @M17N_FLT_LIBS@ \
887 $(GNULIB_VAR) LIB_MATH LIB_STANDARD $(GNULIB_VAR) 889 $(GNULIB_VAR) LIB_MATH LIB_STANDARD $(GNULIB_VAR)
888 890
889/* Enable recompilation of certain other files depending on system type. */
890
891#ifndef OTHER_FILES
892#define OTHER_FILES
893#endif
894
895#ifndef OBJECTS_MACHINE
896#define OBJECTS_MACHINE
897#endif
898
899#ifdef HAVE_SHM 891#ifdef HAVE_SHM
900RUN_TEMACS = `/bin/pwd`/temacs -nl 892RUN_TEMACS = `/bin/pwd`/temacs -nl
901#else 893#else
902RUN_TEMACS = `/bin/pwd`/temacs 894RUN_TEMACS = `/bin/pwd`/temacs
903#endif 895#endif
904 896
905all: emacs${EXEEXT} OTHER_FILES 897all: emacs${EXEEXT} $(OTHER_FILES)
906 898
907emacs${EXEEXT}: temacs${EXEEXT} ${etc}DOC ${lisp} ${SOME_MACHINE_LISP} 899emacs${EXEEXT}: temacs${EXEEXT} ${etc}DOC ${lisp} ${SOME_MACHINE_LISP}
908#ifdef CANNOT_DUMP 900#ifdef CANNOT_DUMP
@@ -939,18 +931,18 @@ ${libsrc}make-docfile${EXEEXT}:
939 cd ${libsrc}; ${MAKE} ${MFLAGS} make-docfile${EXEEXT} 931 cd ${libsrc}; ${MAKE} ${MFLAGS} make-docfile${EXEEXT}
940 932
941buildobj.h: Makefile 933buildobj.h: Makefile
942 echo "#define BUILDOBJ \"${obj} ${otherobj} " OBJECTS_MACHINE "\"" > buildobj.h 934 echo "#define BUILDOBJ \"${obj} ${otherobj} " "\"" > buildobj.h
943 935
944temacs${EXEEXT}: $(LOCALCPP) $(STARTFILES) stamp-oldxmenu ${obj} ${otherobj} OBJECTS_MACHINE prefix-args${EXEEXT} 936temacs${EXEEXT}: $(LOCALCPP) $(STARTFILES) stamp-oldxmenu ${obj} ${otherobj} prefix-args${EXEEXT}
945#ifdef NS_IMPL_GNUSTEP 937#ifdef NS_IMPL_GNUSTEP
946 $(CC) -rdynamic YMF_PASS_LDFLAGS ( ${TEMACS_LDFLAGS} \ 938 $(CC) -rdynamic YMF_PASS_LDFLAGS ( ${TEMACS_LDFLAGS} \
947 -L@GNUSTEP_SYSTEM_LIBRARIES@ -lgnustep-gui -lgnustep-base \ 939 -L@GNUSTEP_SYSTEM_LIBRARIES@ -lgnustep-gui -lgnustep-base \
948 -lobjc $(CONFIG_SYSTEM_LIBS) -lpthread ) -o temacs \ 940 -lobjc $(CONFIG_SYSTEM_LIBS) -lpthread ) -o temacs \
949 ${obj} ${otherobj} OBJECTS_MACHINE ${LIBES} 941 ${obj} ${otherobj} ${LIBES}
950#else 942#else
951 $(LD) YMF_PASS_LDFLAGS (${STARTFLAGS} ${TEMACS_LDFLAGS}) $(LDFLAGS) \ 943 $(LD) YMF_PASS_LDFLAGS (${STARTFLAGS} ${TEMACS_LDFLAGS}) $(LDFLAGS) \
952 -o temacs ${STARTFILES} ${obj} ${otherobj} \ 944 -o temacs ${STARTFILES} ${obj} ${otherobj} \
953 OBJECTS_MACHINE ${LIBES} 945 ${LIBES}
954#endif 946#endif
955 947
956/* We do not use ALL_LDFLAGS because LD_SWITCH_SYSTEM and LD_SWITCH_MACHINE 948/* 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) \
1256 $(config_h) 1248 $(config_h)
1257 1249
1258/* System-specific programs to be made. 1250/* System-specific programs to be made.
1259 OTHER_FILES and OBJECTS_MACHINE 1251 OTHER_FILES
1260 select which of these should be compiled. */ 1252 select which of these should be compiled. */
1261 1253
1262#ifdef HAVE_NS 1254#ifdef HAVE_NS
diff --git a/src/config.in b/src/config.in
index 598132428c3..c250e1a933b 100644
--- a/src/config.in
+++ b/src/config.in
@@ -1064,7 +1064,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1064 side does this in s/darwin.h and we cannot 1064 side does this in s/darwin.h and we cannot
1065 parallel this exactly since GNUstep is multi-OS. */ 1065 parallel this exactly since GNUstep is multi-OS. */
1066#ifdef HAVE_NS 1066#ifdef HAVE_NS
1067#define OTHER_FILES ns-app
1068# ifdef NS_IMPL_GNUSTEP 1067# ifdef NS_IMPL_GNUSTEP
1069/* See also .m.o rule in Makefile.in */ 1068/* See also .m.o rule in Makefile.in */
1070/* FIXME: are all these flags really needed? Document here why. */ 1069/* FIXME: are all these flags really needed? Document here why. */
diff --git a/src/puresize.h b/src/puresize.h
index 04cbf87a840..3d20d57584d 100644
--- a/src/puresize.h
+++ b/src/puresize.h
@@ -41,7 +41,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
41#endif 41#endif
42 42
43#ifndef BASE_PURESIZE 43#ifndef BASE_PURESIZE
44#define BASE_PURESIZE (1270000 + SYSTEM_PURESIZE_EXTRA + SITELOAD_PURESIZE_EXTRA) 44#define BASE_PURESIZE (1290000 + SYSTEM_PURESIZE_EXTRA + SITELOAD_PURESIZE_EXTRA)
45#endif 45#endif
46 46
47/* Increase BASE_PURESIZE by a ratio depending on the machine's word size. */ 47/* Increase BASE_PURESIZE by a ratio depending on the machine's word size. */