URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
330 |
jeremybenn |
# gc++filt.m4 serial 1 -*- Autoconf -*-
|
2 |
|
|
# Find an instance of GNU c++filt on PATH.
|
3 |
|
|
|
4 |
|
|
dnl Copyright (C) 2010 Free Software Foundation, Inc.
|
5 |
|
|
dnl This file is free software, distributed under the terms of the GNU
|
6 |
|
|
dnl General Public License. As a special exception to the GNU General
|
7 |
|
|
dnl Public License, this file may be distributed as part of a program
|
8 |
|
|
dnl that contains a configuration script generated by Autoconf, under
|
9 |
|
|
dnl the same distribution terms as the rest of that program.
|
10 |
|
|
|
11 |
|
|
dnl 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.
|
18 |
|
|
AC_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 |
|
|
])
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.