summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2007-12-10 13:29:17 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:27:13 +0200
commitfdf090ae4505af5ca09d3ad4958a9e66c1748961 (patch)
treef94bc30fcc1b9f07a1000a265231cddac9db85dc /configure.ac
parentdb6bdf06c86d7a2903b32735df673ddb31dd0ffe (diff)
2007-12-10 Thomas Schwinge <tschwinge@gnu.org>
* i386/Makefrag.am (i386/i386at/boothdr.o, i386/i386at/interrupt.o) (i386/i386/cswitch.o, i386/i386/locore.o): Remove targets. * configure.ac <Dependency tracking for `.S' files>: Add a hack to re-add the four targets with have been removed above for the (legacy) case only where they are actually needed.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac16
1 files changed, 15 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 9a8c4ef9..c387349f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -235,6 +235,9 @@ AC_CONFIG_COMMANDS_POST([
# Again, a real patch is being used here and not some `sed' magic, so that
# it'll fail loudly in case some internals we're relying on are changed.
#
+# TODO. Remove this block as soon as we don't want to support such legacy
+# versions of Automake anymore.
+#
AC_CONFIG_COMMANDS([frob_Makefile_for_correct_output_files_for_.S_files],[
# Do we have a version of Automake that doesn't have this bug?
@@ -259,7 +262,7 @@ AC_CONFIG_COMMANDS([frob_Makefile_for_correct_output_files_for_.S_files],[
#
-# Makefile.dependency_tracking_for_.S_files.patch
+# Dependency tracking for `.S' files
#
# The used version of Automake might not support automatic dependency tracking
# for (preprocessed) Assembler source files. We might add such support here.
@@ -268,6 +271,9 @@ AC_CONFIG_COMMANDS([frob_Makefile_for_correct_output_files_for_.S_files],[
# we save the costs of adding such support here. You should instead consider
# updating to Automake 1.10 or better.
#
+# TODO. Remove this block as soon as we don't want to support such legacy
+# versions of Automake anymore.
+#
AC_CONFIG_COMMANDS([frob_Makefile_for_dependency_tracking_for_.S_files],[
# Do we have a version of Automake that doesn't have this bug?
@@ -278,6 +284,14 @@ AC_CONFIG_COMMANDS([frob_Makefile_for_dependency_tracking_for_.S_files],[
AC_MSG_NOTICE([Your build of GNU Mach won't have dependency tracking for]
[(preprocessed) Assembler source files. Consider updating to Automake]
[1.10 or better if you need such support.])
+ [# Make ``make -j'' parallel builds work at least.
+ cat >> Makefile <<"EOT"
+
+i386/i386at/boothdr.o: i386/i386/i386asm.h
+i386/i386at/interrupt.o: i386/i386/i386asm.h
+i386/i386/cswitch.o: i386/i386/i386asm.h
+i386/i386/locore.o: i386/i386/i386asm.h
+EOT]
dnl In case someone feels like completing this instead of simply using a fixed
dnl version of Automake...
dnl if "$PATCH" -f; then :; else]