Ignore:
Timestamp:
Sep 15, 2006, 7:09:38 AM (19 years ago)
Author:
bird
Message:

Untested merge with GNU Make v3.81 (vendor/gnumake/2005-05-16 -> vendor/gnumake/current).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gmake/signame.c

    r281 r503  
    11/* Convert between signal names and numbers.
    2 Copyright (C) 1990,92,93,95,96,99, 2002 Free Software Foundation, Inc.
    3 This file was part of the GNU C Library, but is now part of GNU make.
    4 
    5 GNU Make is free software; you can redistribute it and/or modify
    6 it under the terms of the GNU General Public License as published by
    7 the Free Software Foundation; either version 2, or (at your option)
    8 any later version.
    9 
    10 GNU Make is distributed in the hope that it will be useful,
    11 but WITHOUT ANY WARRANTY; without even the implied warranty of
    12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    13 GNU General Public License for more details.
    14 
    15 You should have received a copy of the GNU General Public License
    16 along with GNU Make; see the file COPYING.  If not, write to
    17 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    18 Boston, MA 02111-1307, USA.  */
     2Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
     32000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
     4This file is part of GNU Make.
     5
     6GNU Make is free software; you can redistribute it and/or modify it under the
     7terms of the GNU General Public License as published by the Free Software
     8Foundation; either version 2, or (at your option) any later version.
     9
     10GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
     11WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
     12A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
     13
     14You should have received a copy of the GNU General Public License along with
     15GNU Make; see the file COPYING.  If not, write to the Free Software
     16Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.  */
    1917
    2018#include "make.h"
     
    2220/* If the system provides strsignal, we don't need it. */
    2321
    24 #if !defined(HAVE_STRSIGNAL)
     22#if !HAVE_STRSIGNAL
    2523
    2624/* If the system provides sys_siglist, we'll use that.
     
    2826 */
    2927
    30 #if !defined(HAVE_DECL_SYS_SIGLIST)
     28#if !HAVE_DECL_SYS_SIGLIST
    3129
    3230/* Some systems do not define NSIG in <signal.h>.  */
     
    236234
    237235#if ! HAVE_DECL_SYS_SIGLIST
     236# if HAVE_DECL__SYS_SIGLIST
     237#  define sys_siglist _sys_siglist
     238# elif HAVE_DECL___SYS_SIGLIST
     239#  define sys_siglist __sys_siglist
     240# else
    238241  static char sig_initted = 0;
    239242
    240243  if (!sig_initted)
    241244    sig_initted = signame_init ();
     245# endif
    242246#endif
    243247
Note: See TracChangeset for help on using the changeset viewer.