]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
largefile.m4 (ACX_LARGEFILE): Require AC_CANONICAL_HOST and AC_CANONICAL_TARGET.
authorJoseph Myers <joseph@codesourcery.com>
Mon, 30 Nov 2009 16:38:14 +0000 (16:38 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Mon, 30 Nov 2009 16:38:14 +0000 (16:38 +0000)
* largefile.m4 (ACX_LARGEFILE): Require AC_CANONICAL_HOST and
AC_CANONICAL_TARGET.

From-SVN: r154830

config/ChangeLog
config/largefile.m4

index aa716ea437d456f45a8f710bbf30ed5648eab6c2..9e524fc8737fb0fd06251923b30df1394539dfcf 100644 (file)
@@ -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.
index 9449b12dca45e6324745ac89d07ecd258843e9e2..4a88fd738fd05d1e9a5cfad3394adf1374dae630 100644 (file)
@@ -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.