ソースを参照

* Check size of some types, size_t, ptrdiff_t, time_t

svn: 3891
Bryan Drewery 17 年 前
コミット
8e76284ade
3 ファイル変更1231 行追加7 行削除
  1. 5 5
      autotools/configure.ac
  2. 9 0
      config.h.in
  3. 1217 2
      configure

+ 5 - 5
autotools/configure.ac

@@ -87,7 +87,7 @@ AC_CACHE_SAVE
 #EGG_CHECK_SSL
 #EGG_CHECK_SSL
 
 
 
 
-AC_SUBST(ZLIB)dnl
+#AC_SUBST(ZLIB)dnl
 #AC_SUBST(SSL)dnl
 #AC_SUBST(SSL)dnl
 
 
 # Checks for typedefs, structures, and compiler characteristics
 # Checks for typedefs, structures, and compiler characteristics
@@ -107,18 +107,18 @@ AC_C_CHAR_UNSIGNED
 #checkpoint
 #checkpoint
 AC_CACHE_SAVE 
 AC_CACHE_SAVE 
 
 
-AC_CHECK_SIZEOF(int, 0)
 AC_CHECK_SIZEOF(short, 0)
 AC_CHECK_SIZEOF(short, 0)
+AC_CHECK_SIZEOF(int, 0)
 AC_CHECK_SIZEOF(long, 0)
 AC_CHECK_SIZEOF(long, 0)
 AC_CHECK_SIZEOF(long long,0)
 AC_CHECK_SIZEOF(long long,0)
+AC_CHECK_SIZEOF(size_t, 0)
+AC_CHECK_SIZEOF(ptrdiff_t, 0)
+AC_CHECK_SIZEOF(time_t, 0)
 
 
 
 
 AC_STRUCT_TIMEZONE
 AC_STRUCT_TIMEZONE
 AC_STRUCT_TM
 AC_STRUCT_TM
 
 
-#checkpoint
-AC_CACHE_SAVE 
-
 # Checks for library functions
 # Checks for library functions
 AC_FUNC_FORK
 AC_FUNC_FORK
 AC_FUNC_LSTAT
 AC_FUNC_LSTAT

+ 9 - 0
config.h.in

@@ -283,9 +283,18 @@
 /* The size of `long long', as computed by sizeof. */
 /* The size of `long long', as computed by sizeof. */
 #undef SIZEOF_LONG_LONG
 #undef SIZEOF_LONG_LONG
 
 
+/* The size of `ptrdiff_t', as computed by sizeof. */
+#undef SIZEOF_PTRDIFF_T
+
 /* The size of `short', as computed by sizeof. */
 /* The size of `short', as computed by sizeof. */
 #undef SIZEOF_SHORT
 #undef SIZEOF_SHORT
 
 
+/* The size of `size_t', as computed by sizeof. */
+#undef SIZEOF_SIZE_T
+
+/* The size of `time_t', as computed by sizeof. */
+#undef SIZEOF_TIME_T
+
 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
 #undef STAT_MACROS_BROKEN
 #undef STAT_MACROS_BROKEN
 
 

ファイルの差分が大きいため隠しています
+ 1217 - 2
configure


この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません