Browse Source

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

Pavel Roskin 19 years ago
parent
commit
f9f69feabb
2 changed files with 16 additions and 0 deletions
  1. 5 0
      ChangeLog
  2. 11 0
      acinclude.m4

+ 5 - 0
ChangeLog

@@ -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.

+ 11 - 0
acinclude.m4

@@ -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