Last change
on this file since 623 was
444,
checked in by satin@…, 7 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
935 bytes
|
Line | |
---|
1 | dnl Copyright (C) 2010, 2011, 2015 Free Software Foundation, Inc. |
---|
2 | dnl This file is free software, distributed under the terms of the GNU |
---|
3 | dnl General Public License. As a special exception to the GNU General |
---|
4 | dnl Public License, this file may be distributed as part of a program |
---|
5 | dnl that contains a configuration script generated by Autoconf, under |
---|
6 | dnl the same distribution terms as the rest of that program. |
---|
7 | |
---|
8 | dnl From Paolo Bonzini. |
---|
9 | |
---|
10 | dnl Is this an ELF target supporting the LTO plugin? |
---|
11 | |
---|
12 | dnl usage: ACX_ELF_TARGET_IFELSE([if-elf], [if-not-elf]) |
---|
13 | AC_DEFUN([ACX_ELF_TARGET_IFELSE], [ |
---|
14 | AC_REQUIRE([AC_CANONICAL_TARGET]) |
---|
15 | |
---|
16 | target_elf=no |
---|
17 | case $target in |
---|
18 | *-darwin* | *-aix* | *-cygwin* | *-mingw* | *-aout* | *-*coff* | \ |
---|
19 | *-msdosdjgpp* | *-vms* | *-wince* | *-*-pe* | \ |
---|
20 | alpha*-dec-osf* | hppa[[12]]*-*-hpux* | \ |
---|
21 | nvptx-*-none) |
---|
22 | target_elf=no |
---|
23 | ;; |
---|
24 | *) |
---|
25 | target_elf=yes |
---|
26 | ;; |
---|
27 | esac |
---|
28 | |
---|
29 | AS_IF([test $target_elf = yes], [$1], [$2]) |
---|
30 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.