summaryrefslogtreecommitdiff
path: root/config/acx.m4
diff options
context:
space:
mode:
authorneroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-13 22:31:45 +0000
committerneroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-13 22:31:45 +0000
commitf2cb0e6fb1863269670802d21ba0d43a68d05204 (patch)
tree2d7e0d63cb90238fb43b8fb02a683e4c6a7b5127 /config/acx.m4
parent98e5a478192d4ae61bbd130e74d8b16bf700ac17 (diff)
downloadgcc-f2cb0e6fb1863269670802d21ba0d43a68d05204.tar.gz
2004-08-13 Nathanael Nerode <neroden@gcc.gnu.org>
* Add ACX_{TARGET,HOST,BUILD}_NONCANONICAL, which do an automatic AC_SUBST on _GCC_TOPLEV_*_NONCANONICAL. The intention is that we will migrate to these bit by bit. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85970 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'config/acx.m4')
-rw-r--r--config/acx.m424
1 files changed, 24 insertions, 0 deletions
diff --git a/config/acx.m4 b/config/acx.m4
index 09bac1c6c64..d4a583dc67f 100644
--- a/config/acx.m4
+++ b/config/acx.m4
@@ -38,6 +38,30 @@ esac
]) []dnl # _GCC_TOPLEV_NONCANONICAL_TARGET
dnl ####
+dnl # ACX_NONCANONICAL_BUILD
+dnl # Like underscored version, but AC_SUBST's.
+AC_DEFUN([ACX_NONCANONICAL_BUILD],
+[AC_REQUIRE([_GCC_TOPLEV_NONCANONICAL_BUILD]) []dnl
+AC_SUBST(build_noncanonical)
+]) []dnl # ACX_NONCANONICAL_BUILD
+
+dnl ####
+dnl # ACX_NONCANONICAL_HOST
+dnl # Like underscored version, but AC_SUBST's.
+AC_DEFUN([ACX_NONCANONICAL_HOST],
+[AC_REQUIRE([_GCC_TOPLEV_NONCANONICAL_HOST]) []dnl
+AC_SUBST(host_noncanonical)
+]) []dnl # ACX_NONCANONICAL_HOST
+
+dnl ####
+dnl # ACX_NONCANONICAL_TARGET
+dnl # Like underscored version, but AC_SUBST's.
+AC_DEFUN([ACX_NONCANONICAL_TARGET],
+[AC_REQUIRE([_GCC_TOPLEV_NONCANONICAL_TARGET]) []dnl
+AC_SUBST(target_noncanonical)
+]) []dnl # ACX_NONCANONICAL_TARGET
+
+dnl ####
dnl # GCC_TOPLEV_SUBDIRS
dnl # GCC & friends build 'build', 'host', and 'target' tools. These must
dnl # be separated into three well-known subdirectories of the build directory: