summaryrefslogtreecommitdiff
path: root/libsanitizer
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-13 22:19:44 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-13 22:19:44 +0000
commit492e75a7336b4dbfe38207ea3abf8d5bd72376a9 (patch)
treedd156eee0ba51f7c0c86f86bfe11a78d9133fc1c /libsanitizer
parent2d96fdefb3e9cd83a1523a506df71c3420dc6292 (diff)
downloadgcc-492e75a7336b4dbfe38207ea3abf8d5bd72376a9.tar.gz
Move libsanitizer configure logic to subdirectory
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193487 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libsanitizer')
-rw-r--r--libsanitizer/ChangeLog.asan4
-rw-r--r--libsanitizer/configure.tgt28
2 files changed, 32 insertions, 0 deletions
diff --git a/libsanitizer/ChangeLog.asan b/libsanitizer/ChangeLog.asan
index 55920921189..a12e908315c 100644
--- a/libsanitizer/ChangeLog.asan
+++ b/libsanitizer/ChangeLog.asan
@@ -1,3 +1,7 @@
+2012-11-13 Richard Henderson <rth@redhat.com>
+
+ * configure.tgt: New file.
+
2012-11-12 David S. Miller <davem@davemloft.net>
* asan/asan_linux.cc (GetPcSpBp): Add sparc support.
diff --git a/libsanitizer/configure.tgt b/libsanitizer/configure.tgt
new file mode 100644
index 00000000000..ca7ac1fb141
--- /dev/null
+++ b/libsanitizer/configure.tgt
@@ -0,0 +1,28 @@
+# -*- shell-script -*-
+# Copyright (C) 2012 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not see <http://www.gnu.org/licenses/>.
+
+# This is the target specific configuration file. This is invoked by the
+# autoconf generated configure script. Putting it in a separate shell file
+# lets us skip running autoconf when modifying target specific information.
+
+# Filter out unsupported systems.
+case "${target}" in
+ x86_64-*-linux* | i?86-*-linux*)
+ ;;
+ *)
+ UNSUPPORTED=1
+ ;;
+esac