source: trunk/essentials/app-arch/cpio/m4/signed.m4

Last change on this file was 3332, checked in by bird, 18 years ago

cpio 2.7

File size: 625 bytes
Line 
1# signed.m4 serial 2
2dnl Copyright (C) 2001-2002, 2006 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved.
6
7dnl From Bruno Haible.
8
9AC_DEFUN([bh_C_SIGNED],
10[
11 AC_CACHE_CHECK([for signed], bh_cv_c_signed,
12 [AC_TRY_COMPILE(, [signed char x; return !x;],
13 bh_cv_c_signed=yes, bh_cv_c_signed=no)])
14 if test $bh_cv_c_signed = no; then
15 AC_DEFINE(signed, ,
16 [Define to empty if the C compiler doesn't support this keyword.])
17 fi
18])
Note: See TracBrowser for help on using the repository browser.