guile-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

guile/guile-core configure.in


From: Marius Vollmer
Subject: guile/guile-core configure.in
Date: Sun, 11 Nov 2001 19:58:34 -0500

CVSROOT:        /cvs
Module name:    guile
Changes by:     Marius Vollmer <address@hidden> 01/11/11 19:58:33

Modified files:
        guile-core     : configure.in 

Log message:
        check for sizes of short, size_t, uintptr_t, and
        ptrdiff_t.  Checking for a size also checks automatically for the
        existence of the type, so we don't check for the existence of
        uintptr_t, ptrdiff_t and long long ourselves.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/guile/guile-core/configure.in.diff?cvsroot=OldCVS&tr1=1.171&tr2=1.172&r1=text&r2=text

Patches:
Index: guile/guile-core/configure.in
diff -u guile/guile-core/configure.in:1.171 guile/guile-core/configure.in:1.172
--- guile/guile-core/configure.in:1.171 Wed Nov  7 10:08:45 2001
+++ guile/guile-core/configure.in       Sun Nov 11 19:58:33 2001
@@ -176,8 +176,10 @@
 AC_C_INLINE
 AC_C_BIGENDIAN
 
+AC_CHECK_SIZEOF(short)
 AC_CHECK_SIZEOF(int)
 AC_CHECK_SIZEOF(long)
+AC_CHECK_SIZEOF(size_t)
 
 dnl Check for integral types that can represent the range of pointers.
 dnl If these types don't exist on this platform, they are replaced by
@@ -185,17 +187,10 @@
 
 AC_CHECK_HEADERS(stdint.h)
 AC_CHECK_HEADERS(inttypes.h)
-AC_CHECK_TYPES([uintptr_t, ptrdiff_t])
+AC_CHECK_SIZEOF(uintptr_t)
+AC_CHECK_SIZEOF(ptrdiff_t)
 
-AC_CACHE_CHECK([for long longs], scm_cv_long_longs,
-              AC_TRY_COMPILE(,
-                             [long long a],
-                             scm_cv_long_longs=yes,
-                             scm_cv_long_longs=no))
-if test "$scm_cv_long_longs" = yes; then
-  AC_DEFINE(HAVE_LONG_LONGS)
-  AC_CHECK_SIZEOF(long long)
-fi
+AC_CHECK_SIZEOF(long long)
 
 AC_CHECK_SIZEOF(void *)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]