aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2012-09-17 14:33:14 -0700
committerPaul Eggert2012-09-17 14:33:14 -0700
commit50bfc8243c7385f7e795bca26b539f57c167170c (patch)
tree8d26efc306a737a61c8207febe0c0af71a7214c2
parentc8b9f1bcbf98ba65fd8a311befd9df99cd143875 (diff)
downloademacs-50bfc8243c7385f7e795bca26b539f57c167170c.tar.gz
emacs-50bfc8243c7385f7e795bca26b539f57c167170c.zip
* Makefile.in: Fix build error on FreeBSD.
($(MAKEFILE_NAME)): Pass MAKE='$(MAKE)' to config.status's env. Suggested by Wolfgang Jenker in <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00430.html>. (MAKE_CONFIG_STATUS): Remove. Remaining use expanded. This undoes part of the 2012-09-10 patch. (bootstrap): Run ./configure, rather than trying to run config.status if it exists. That builds src/epaths.h more reliably.
-rw-r--r--ChangeLog9
-rw-r--r--Makefile.in8
2 files changed, 12 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 7b9da902551..48d1e52e2cd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
12012-09-17 Paul Eggert <eggert@cs.ucla.edu> 12012-09-17 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * Makefile.in: Fix build error on FreeBSD.
4 ($(MAKEFILE_NAME)): Pass MAKE='$(MAKE)' to config.status's env.
5 Suggested by Wolfgang Jenker in
6 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00430.html>.
7 (MAKE_CONFIG_STATUS): Remove. Remaining use expanded.
8 This undoes part of the 2012-09-10 patch.
9 (bootstrap): Run ./configure, rather than trying to run config.status
10 if it exists. That builds src/epaths.h more reliably.
11
3 Remove no-longer-needed Solaris 2.4 vfork bug workaround. 12 Remove no-longer-needed Solaris 2.4 vfork bug workaround.
4 * configure.ac (ac_cv_func_vfork_works): Default to 'no' on 13 * configure.ac (ac_cv_func_vfork_works): Default to 'no' on
5 Solaris 2.4, so that AC_FUNC_VFORK doesn't think vfork works. 14 Solaris 2.4, so that AC_FUNC_VFORK doesn't think vfork works.
diff --git a/Makefile.in b/Makefile.in
index 9bb85967930..386c4c135be 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -358,19 +358,17 @@ blessmail: Makefile src FRC
358MAKEFILE_NAME = Makefile 358MAKEFILE_NAME = Makefile
359$(MAKEFILE_NAME): config.status $(srcdir)/src/config.in \ 359$(MAKEFILE_NAME): config.status $(srcdir)/src/config.in \
360 $(srcdir)/Makefile.in $(SUBDIR_MAKEFILES_IN) 360 $(srcdir)/Makefile.in $(SUBDIR_MAKEFILES_IN)
361 ./config.status 361 MAKE='$(MAKE)' ./config.status
362 362
363# Don't erase these files if make is interrupted while refreshing them. 363# Don't erase these files if make is interrupted while refreshing them.
364.PRECIOUS: Makefile config.status 364.PRECIOUS: Makefile config.status
365 365
366MAKE_CONFIG_STATUS = \ 366config.status: ${srcdir}/configure ${srcdir}/lisp/version.el
367 if [ -x ./config.status ]; then \ 367 if [ -x ./config.status ]; then \
368 ./config.status --recheck; \ 368 ./config.status --recheck; \
369 else \ 369 else \
370 ./configure $(CONFIGURE_FLAGS); \ 370 ./configure $(CONFIGURE_FLAGS); \
371 fi 371 fi
372config.status: ${srcdir}/configure ${srcdir}/lisp/version.el
373 $(MAKE_CONFIG_STATUS)
374 372
375AUTOCONF_INPUTS = $(srcdir)/configure.ac $(srcdir)/aclocal.m4 373AUTOCONF_INPUTS = $(srcdir)/configure.ac $(srcdir)/aclocal.m4
376 374
@@ -897,7 +895,7 @@ dvi:
897# * Do the actual build. 895# * Do the actual build.
898bootstrap: bootstrap-clean FRC 896bootstrap: bootstrap-clean FRC
899 cd $(srcdir) && { ./autogen.sh || test $$? -eq 101; } 897 cd $(srcdir) && { ./autogen.sh || test $$? -eq 101; }
900 $(MAKE_CONFIG_STATUS) 898 ./configure $(CONFIGURE_FLAGS)
901 $(MAKE) $(MFLAGS) info all 899 $(MAKE) $(MFLAGS) info all
902 900
903.PHONY: check-declare 901.PHONY: check-declare