summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2009-11-30 16:46:35 +0000
committerJoseph Myers <joseph@codesourcery.com>2009-11-30 16:46:35 +0000
commit8c84abff43455d4daaec02590c4855a06e3f211a (patch)
treef687587620c5cfec20f9eefd2d8e74ed66952bc2 /config
parent883a2114549ee309dce35e091936b77d29a7fbb5 (diff)
downloadbinutils-redhat-8c84abff43455d4daaec02590c4855a06e3f211a.tar.gz
config:
* largefile.m4 (ACX_LARGEFILE): Require AC_CANONICAL_HOST and AC_CANONICAL_TARGET. bfd: * configure: Regenerate. binutils: * configure: Regenerate. gas: * configure: Regenerate. gdb: * configure: Regenerate. gprof: * configure: Regenerate. ld: * configure: Regenerate.
Diffstat (limited to 'config')
-rw-r--r--config/ChangeLog5
-rw-r--r--config/largefile.m45
2 files changed, 10 insertions, 0 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index aa716ea437..9e524fc873 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,8 @@
+2009-11-30 Joseph Myers <joseph@codesourcery.com>
+
+ * largefile.m4 (ACX_LARGEFILE): Require AC_CANONICAL_HOST and
+ AC_CANONICAL_TARGET.
+
2009-11-24 Joel Brobecker <brobecker@adacore.com>
* zlib.m4: New file.
diff --git a/config/largefile.m4 b/config/largefile.m4
index 9449b12dca..4a88fd738f 100644
--- a/config/largefile.m4
+++ b/config/largefile.m4
@@ -5,6 +5,11 @@
AC_DEFUN([ACX_LARGEFILE],[dnl
+# The tests for host and target for $enable_largefile require
+# canonical names.
+AC_REQUIRE([AC_CANONICAL_HOST])
+AC_REQUIRE([AC_CANONICAL_TARGET])
+
# As the $enable_largefile decision depends on --enable-plugins we must set it
# even in directories otherwise not depending on the $plugins option.