aboutsummaryrefslogtreecommitdiff
path: root/config/largefile.m4
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2009-11-30 16:38:14 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2009-11-30 16:38:14 +0000
commit1feb57517d546f3c026833ea9cc5880c8c01b050 (patch)
treecc15831dd8171c6b99cb12d1f2443a57a353c5db /config/largefile.m4
parent66bdcfd6554c30a23dd4a05e29e74f43226bbf17 (diff)
downloadgcc-1feb57517d546f3c026833ea9cc5880c8c01b050.zip
gcc-1feb57517d546f3c026833ea9cc5880c8c01b050.tar.gz
gcc-1feb57517d546f3c026833ea9cc5880c8c01b050.tar.bz2
largefile.m4 (ACX_LARGEFILE): Require AC_CANONICAL_HOST and AC_CANONICAL_TARGET.
* largefile.m4 (ACX_LARGEFILE): Require AC_CANONICAL_HOST and AC_CANONICAL_TARGET. From-SVN: r154830
Diffstat (limited to 'config/largefile.m4')
-rw-r--r--config/largefile.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/config/largefile.m4 b/config/largefile.m4
index 9449b12..4a88fd7 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.