diff options
Diffstat (limited to 'm4/signed.m4')
-rw-r--r-- | m4/signed.m4 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/m4/signed.m4 b/m4/signed.m4 new file mode 100644 index 000000000..dc1f54f10 --- /dev/null +++ b/m4/signed.m4 | |||
@@ -0,0 +1,19 @@ | |||
1 | # signed.m4 serial 1 (gettext-0.10.40) | ||
2 | dnl Copyright (C) 2001-2002 Free Software Foundation, Inc. | ||
3 | dnl This file is free software, distributed under the terms of the GNU | ||
4 | dnl General Public License. As a special exception to the GNU General | ||
5 | dnl Public License, this file may be distributed as part of a program | ||
6 | dnl that contains a configuration script generated by Autoconf, under | ||
7 | dnl the same distribution terms as the rest of that program. | ||
8 | |||
9 | dnl From Bruno Haible. | ||
10 | |||
11 | AC_DEFUN([bh_C_SIGNED], | ||
12 | [ | ||
13 | AC_CACHE_CHECK([for signed], bh_cv_c_signed, | ||
14 | [AC_TRY_COMPILE(, [signed char x;], bh_cv_c_signed=yes, bh_cv_c_signed=no)]) | ||
15 | if test $bh_cv_c_signed = no; then | ||
16 | AC_DEFINE(signed, , | ||
17 | [Define to empty if the C compiler doesn't support this keyword.]) | ||
18 | fi | ||
19 | ]) | ||