summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-30 16:38:14 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-30 16:38:14 +0000
commit9f2296a2cf434ba3ba6b0e5c72422645dbe19151 (patch)
treecc15831dd8171c6b99cb12d1f2443a57a353c5db /config
parent3fecb07d2202b0e380eb965c9ec24bae972bfba1 (diff)
downloadgcc-9f2296a2cf434ba3ba6b0e5c72422645dbe19151.tar.gz
* largefile.m4 (ACX_LARGEFILE): Require AC_CANONICAL_HOST and
AC_CANONICAL_TARGET. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154830 138bc75d-0d04-0410-961f-82ee72b054a4
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 aa716ea437d..9e524fc8737 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 9449b12dca4..4a88fd738fd 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.