* acinclude.m4 (MC_WITH_MCSLANG): Add type tests from S-Lang

configuration scripts.
This commit is contained in:
Pavel Roskin 2005-11-15 23:12:48 +00:00
parent d90475660e
commit f9f69feabb
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-11-15 Pavel Roskin <proski@gnu.org>
* acinclude.m4 (MC_WITH_MCSLANG): Add type tests from S-Lang
configuration scripts.
2005-11-10 Pavel Roskin <proski@gnu.org>
* configure.ac: Catch unexpanded MC_* macros.

View File

@ -803,6 +803,17 @@ AC_DEFUN([MC_WITH_MCSLANG], [
screen_type=mcslang
screen_msg="Included S-Lang library (mcslang)"
dnl Type checks from S-Lang sources
AC_CHECK_SIZEOF(short, 2)
AC_CHECK_SIZEOF(int, 4)
AC_CHECK_SIZEOF(long, 4)
AC_CHECK_SIZEOF(float, 4)
AC_CHECK_SIZEOF(double, 8)
AC_TYPE_OFF_T
AC_CHECK_SIZEOF(off_t)
AC_CHECK_TYPES(long long)
AC_CHECK_SIZEOF(long long)
# Search for terminfo database.
use_terminfo=
if test x"$with_termcap" != xyes; then