Merge branch 'master' of git.sv.gnu.org:/srv/git/gnash
[gnash.git] / macros / signed.m4
blob2a896e2f7a4b923474dc21ce4eaca53e622e6774
1 # signed.m4 serial 1 (gettext-0.10.40)
2 dnl Copyright (C) 2001-2002, 2009, 2010 Free Software Foundation, Inc.
3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved.
7 dnl From Bruno Haible.
9 AC_DEFUN([bh_C_SIGNED],
11   AC_CACHE_CHECK([for signed], bh_cv_c_signed,
12    [AC_TRY_COMPILE(, [signed char x;], bh_cv_c_signed=yes, bh_cv_c_signed=no)])
13   if test $bh_cv_c_signed = no; then
14     AC_DEFINE(signed, ,
15               [Define to empty if the C compiler doesn't support this keyword.])
16   fi