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: Thu, 14 Jun 2001 10:36:03 -0700

CVSROOT:        /cvs
Module name:    guile
Changes by:     Marius Vollmer <address@hidden> 01/06/14 10:36:03

Modified files:
        guile-core     : configure.in 

Log message:
        Check for header <stdint.h>.  Check for uintptr_t
        type.  Use AC_CHECK_TYPES for this.  Do not caus ptrdiff_t to be
        `#defined'.

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

Patches:
Index: guile/guile-core/configure.in
diff -u guile/guile-core/configure.in:1.155 guile/guile-core/configure.in:1.156
--- guile/guile-core/configure.in:1.155 Tue Jun  5 10:35:42 2001
+++ guile/guile-core/configure.in       Thu Jun 14 10:36:03 2001
@@ -165,10 +165,12 @@
 AC_CHECK_SIZEOF(int)
 AC_CHECK_SIZEOF(long)
 
-dnl by the pre C9X ANSI C standards, size_t & ptrdiff_t have to be
-dnl representable by a standard integral type.  since the largest 
-dnl integer type in the pre-C9X ANSI C standards is long...
-AC_CHECK_TYPE(ptrdiff_t, long)
+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
+dnl "unsigned long" and "long", respectively.
+
+AC_CHECK_HEADERS(stdint.h)
+AC_CHECK_TYPES([uintptr_t, ptrdiff_t])
 
 AC_CACHE_CHECK([for long longs], scm_cv_long_longs,
               AC_TRY_COMPILE(,



reply via email to

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