source: trunk/libs/newlib/src/config/gc++filt.m4 @ 555

Last change on this file since 555 was 444, checked in by satin@…, 7 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 1.1 KB
Line 
1# gc++filt.m4 serial 1                                  -*- Autoconf -*-
2# Find an instance of GNU c++filt on PATH.
3
4dnl Copyright (C) 2010 Free Software Foundation, Inc.
5dnl This file is free software, distributed under the terms of the GNU
6dnl General Public License.  As a special exception to the GNU General
7dnl Public License, this file may be distributed as part of a program
8dnl that contains a configuration script generated by Autoconf, under
9dnl the same distribution terms as the rest of that program.
10
11dnl From Rainer Orth.
12
13# GCC_PROG_GNU_CXXFILT
14# --------------------
15# Check for GNU c++filt.
16# FIXME: Maybe need TARGET variant, though c++filt should be target
17# independent.
18AC_DEFUN([GCC_PROG_GNU_CXXFILT],
19  [AC_ARG_VAR([CXXFILT], [Location of GNU c++filt.  Defaults to the first
20    GNU version of `c++filt', `gc++filt' on PATH.])
21  AC_CACHE_CHECK([for GNU c++filt], [ac_cv_path_CXXFILT],
22    [AC_PATH_PROGS_FEATURE_CHECK([CXXFILT], [c++filt gc++filt],
23      [_AC_PATH_PROG_FLAVOR_GNU([$ac_path_CXXFILT],
24        [ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:])])])
25  CXXFILT=$ac_cv_path_CXXFILT
26])
Note: See TracBrowser for help on using the repository browser.