Mercurial > hg > CbC > CbC_gcc
comparison config/elf.m4 @ 63:b7f97abdc517 gcc-4.6-20100522
update gcc from gcc-4.5.0 to gcc-4.6
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 24 May 2010 12:47:05 +0900 |
parents | |
children | 04ced10e8804 |
comparison
equal
deleted
inserted
replaced
56:3c8a44c06a95 | 63:b7f97abdc517 |
---|---|
1 dnl Copyright (C) 2010 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 usage: ACX_ELF_TARGET_IFELSE([if-elf], [if-not-elf]) | |
11 AC_DEFUN([ACX_ELF_TARGET_IFELSE], [ | |
12 AC_REQUIRE([AC_CANONICAL_TARGET]) | |
13 | |
14 target_elf=no | |
15 case $target in | |
16 *-darwin* | *-aix* | *-cygwin* | *-mingw* | *-aout* | *-*coff* | \ | |
17 *-msdosdjgpp* | *-netware* | *-vms* | *-wince* | *-*-pe* | \ | |
18 alpha*-dec-osf* | *-interix* | hppa[[12]]*-*-hpux*) | |
19 target_elf=no | |
20 ;; | |
21 *) | |
22 target_elf=yes | |
23 ;; | |
24 esac | |
25 | |
26 AS_IF([test $target_elf = yes], [$1], [$2]) | |
27 ]) |