~ubuntu-branches/ubuntu/utopic/binutils-arm64-cross/utopic

« back to all changes in this revision

Viewing changes to binutils-2.23.52.20130611/config/gthr.m4

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-06-20 17:38:09 UTC
  • Revision ID: package-import@ubuntu.com-20130620173809-app8lzgvymy5fg6c
Tags: 0.7
Build-depend on binutils-source (>= 2.23.52.20130620-1~).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dnl Copyright (C) 2012 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 Define header location by thread model
 
9
 
 
10
dnl usage: GCC_AC_THREAD_HEADER([thread_model])
 
11
AC_DEFUN([GCC_AC_THREAD_HEADER],
 
12
[
 
13
case $1 in
 
14
    aix)        thread_header=config/rs6000/gthr-aix.h ;;
 
15
    dce)        thread_header=config/pa/gthr-dce.h ;;
 
16
    lynx)       thread_header=config/gthr-lynx.h ;;
 
17
    mipssde)    thread_header=config/mips/gthr-mipssde.h ;;
 
18
    posix)      thread_header=gthr-posix.h ;;
 
19
    rtems)      thread_header=config/gthr-rtems.h ;;
 
20
    single)     thread_header=gthr-single.h ;;
 
21
    tpf)        thread_header=config/s390/gthr-tpf.h ;;
 
22
    vxworks)    thread_header=config/gthr-vxworks.h ;;
 
23
    win32)      thread_header=config/i386/gthr-win32.h ;;
 
24
esac
 
25
AC_SUBST(thread_header)
 
26
])
 
27