From 492e75a7336b4dbfe38207ea3abf8d5bd72376a9 Mon Sep 17 00:00:00 2001 From: rth Date: Tue, 13 Nov 2012 22:19:44 +0000 Subject: Move libsanitizer configure logic to subdirectory git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193487 138bc75d-0d04-0410-961f-82ee72b054a4 --- libsanitizer/ChangeLog.asan | 4 ++++ libsanitizer/configure.tgt | 28 ++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 libsanitizer/configure.tgt (limited to 'libsanitizer') 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 + + * configure.tgt: New file. + 2012-11-12 David S. Miller * 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 . + +# 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 -- cgit v1.2.1