[xiph-commits] r18942 - trunk/ogg

tterribe at svn.xiph.org tterribe at svn.xiph.org
Mon May 13 18:27:07 PDT 2013


Author: tterribe
Date: 2013-05-13 18:27:07 -0700 (Mon, 13 May 2013)
New Revision: 18942

Modified:
   trunk/ogg/configure.in
Log:
Prefer the stdint types in config_types.h.

This seems like a fairly sane thing to do anyway if the stdint
 types are available to use - but primarily we're doing it here to
 hide the problem evident in http://bugs.debian.org/675887 where
 the public header is unnecessarily different between architectures.

Patch contributed by Ron Lee.


Modified: trunk/ogg/configure.in
===================================================================
--- trunk/ogg/configure.in	2013-05-14 01:24:11 UTC (rev 18941)
+++ trunk/ogg/configure.in	2013-05-14 01:27:07 UTC (rev 18942)
@@ -100,38 +100,38 @@
 AC_CHECK_SIZEOF(long long)
 
 case 2 in
+     $ac_cv_sizeof_int16_t) SIZE16="int16_t";;
      $ac_cv_sizeof_short) SIZE16="short";;
      $ac_cv_sizeof_int) SIZE16="int";;
-     $ac_cv_sizeof_int16_t) SIZE16="int16_t";;
 esac
 
 case 2 in
+     $ac_cv_sizeof_uint16_t) USIZE16="uint16_t";;
      $ac_cv_sizeof_short) USIZE16="unsigned short";;
      $ac_cv_sizeof_int) USIZE16="unsigned int";;
      $ac_cv_sizeof_u_int16_t) USIZE16="u_int16_t";;
-     $ac_cv_sizeof_uint16_t) USIZE16="uint16_t";;
 esac
 
 case 4 in
+     $ac_cv_sizeof_int32_t) SIZE32="int32_t";;
      $ac_cv_sizeof_short) SIZE32="short";;
      $ac_cv_sizeof_int) SIZE32="int";;
      $ac_cv_sizeof_long) SIZE32="long";;
-     $ac_cv_sizeof_int32_t) SIZE32="int32_t";;
 esac
 
 case 4 in
+     $ac_cv_sizeof_uint32_t) USIZE32="uint32_t";;
      $ac_cv_sizeof_short) USIZE32="unsigned short";;
      $ac_cv_sizeof_int) USIZE32="unsigned int";;
      $ac_cv_sizeof_long) USIZE32="unsigned long";;
      $ac_cv_sizeof_u_int32_t) USIZE32="u_int32_t";;
-     $ac_cv_sizeof_uint32_t) USIZE32="uint32_t";;
 esac
 
 case 8 in
+     $ac_cv_sizeof_int64_t) SIZE64="int64_t";;
      $ac_cv_sizeof_int) SIZE64="int";;
      $ac_cv_sizeof_long) SIZE64="long";;
      $ac_cv_sizeof_long_long) SIZE64="long long";;
-     $ac_cv_sizeof_int64_t) SIZE64="int64_t";;
 esac
 
 if test -z "$SIZE16"; then



More information about the commits mailing list