2004-05-25 16:32:18 +00:00
|
|
|
# signed.m4 serial 1 (gettext-0.10.40)
|
|
|
|
dnl Copyright (C) 2001-2002 Free Software Foundation, Inc.
|
2007-08-07 19:22:32 +00:00
|
|
|
dnl This file is free software; the Free Software Foundation
|
|
|
|
dnl gives unlimited permission to copy and/or distribute it,
|
|
|
|
dnl with or without modifications, as long as this notice is preserved.
|
2004-05-25 16:32:18 +00:00
|
|
|
|
|
|
|
dnl From Bruno Haible.
|
|
|
|
|
|
|
|
AC_DEFUN([bh_C_SIGNED],
|
|
|
|
[
|
|
|
|
AC_CACHE_CHECK([for signed], bh_cv_c_signed,
|
|
|
|
[AC_TRY_COMPILE(, [signed char x;], bh_cv_c_signed=yes, bh_cv_c_signed=no)])
|
|
|
|
if test $bh_cv_c_signed = no; then
|
|
|
|
AC_DEFINE(signed, ,
|
|
|
|
[Define to empty if the C compiler doesn't support this keyword.])
|
|
|
|
fi
|
|
|
|
])
|