a009f2e775
/: Sync from GCC: 2010-05-05 Sebastian Pop <sebastian.pop@amd.com> * configure.ac: Allow all the versions greater than 0.10 of PPL. * configure: Regenerated. 2010-04-20 Eric Botcazou <ebotcazou@adacore.com> * configure.ac (BUILD_CONFIG): Redirect output to /dev/null. * configure: Regenerate. 2010-04-17 Ralf Corsépius <ralf.corsepius@rtems.org> * configure.ac (*-*-rtems*): Add target-libiberty to $skipdirs. * configure: Regenerate. 2010-04-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * configure.ac: Check for elf_getshdrstrndx or elf_getshstrndx separately. * configure: Regenerate. 2010-04-13 Steve Ellcey <sje@cup.hp.com> * configure: Regenerate after change to elf.m4. 2010-04-02 Sebastian Pop <sebastian.pop@amd.com> * configure.ac: Add brackets around AC_TRY_COMPILE alternative. * configure: Regenerated. 2010-04-02 Sebastian Pop <sebastian.pop@amd.com> * configure.ac: Print "buggy but acceptable" when CLooG revision is less than 9. * configure: Regenerated. config/: Sync from GCC: 2010-04-13 Steve Ellcey <sje@cup.hp.com> * elf.m4: Add hppa[12]*-*-hpux* to list of non-elf platforms. 2010-01-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * stdint.m4 (GCC_HEADER_STDINT): Don't typedef uint8_t etc. if corresponding macros already exist. bfd/: * configure: Regenerate.
28 lines
876 B
Plaintext
28 lines
876 B
Plaintext
dnl Copyright (C) 2010 Free Software Foundation, Inc.
|
|
dnl This file is free software, distributed under the terms of the GNU
|
|
dnl General Public License. As a special exception to the GNU General
|
|
dnl Public License, this file may be distributed as part of a program
|
|
dnl that contains a configuration script generated by Autoconf, under
|
|
dnl the same distribution terms as the rest of that program.
|
|
|
|
dnl From Paolo Bonzini.
|
|
|
|
dnl usage: ACX_ELF_TARGET_IFELSE([if-elf], [if-not-elf])
|
|
AC_DEFUN([ACX_ELF_TARGET_IFELSE], [
|
|
AC_REQUIRE([AC_CANONICAL_TARGET])
|
|
|
|
target_elf=no
|
|
case $target in
|
|
*-darwin* | *-aix* | *-cygwin* | *-mingw* | *-aout* | *-*coff* | \
|
|
*-msdosdjgpp* | *-netware* | *-vms* | *-wince* | *-*-pe* | \
|
|
alpha*-dec-osf* | *-interix* | hppa[[12]]*-*-hpux*)
|
|
target_elf=no
|
|
;;
|
|
*)
|
|
target_elf=yes
|
|
;;
|
|
esac
|
|
|
|
AS_IF([test $target_elf = yes], [$1], [$2])
|
|
])
|