+2001-03-06 Bruno Haible <haible@clisp.cons.org>
+
+ * configure.in: Call bh_C_SIGNED.
+
2001-02-27 Bruno Haible <haible@clisp.cons.org>
* configure.in (ALL_LINGUAS): Replace no@nynorsk with nn.
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.13)
-AC_REVISION($Revision: 1.11 $)
+AC_REVISION($Revision: 1.12 $)
AC_INIT(src/msgfmt.c)
AM_INIT_AUTOMAKE(gettext, 0.10.36)
AM_CONFIG_HEADER(config.h)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_INLINE
+bh_C_SIGNED
AC_C_BACKSLASH_A
jm_AC_TYPE_UNSIGNED_LONG_LONG
AC_TYPE_OFF_T
+2001-03-06 Bruno Haible <haible@clisp.cons.org>
+
+ * signed.m4: New file.
+ * Makefile.am (EXTRA_DIST): Add it.
+
2001-03-03 Bruno Haible <haible@clisp.cons.org>
* gettext.m4 (AM_WITH_NLS): Add $LIBICONV to $INTLLIBS.
# |sed 's/@$/%/;s/@/ \\@/g' |tr @% '\012\012'
EXTRA_DIST = README \
c-bs-a.m4 codeset.m4 gettext.m4 iconv.m4 inttypes_h.m4 isc-posix.m4 \
-lcmessage.m4 libtool.m4 progtest.m4 setlocale.m4 uintmax_t.m4 ulonglong.m4
+lcmessage.m4 libtool.m4 progtest.m4 setlocale.m4 signed.m4 uintmax_t.m4 \
+ulonglong.m4
--- /dev/null
+#serial 1
+
+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
+])