~xiph/ogg/trunk

« back to all changes in this revision

Viewing changes to configure.in

  • Committer: tterribe
  • Date: 2013-05-14 01:27:07 UTC
  • Revision ID: svn-v4:0101bb08-14d6-0310-b084-bc0e0c8e3800:trunk/ogg:18942
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.

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
AC_CHECK_SIZEOF(long long)
101
101
 
102
102
case 2 in
 
103
     $ac_cv_sizeof_int16_t) SIZE16="int16_t";;
103
104
     $ac_cv_sizeof_short) SIZE16="short";;
104
105
     $ac_cv_sizeof_int) SIZE16="int";;
105
 
     $ac_cv_sizeof_int16_t) SIZE16="int16_t";;
106
106
esac
107
107
 
108
108
case 2 in
 
109
     $ac_cv_sizeof_uint16_t) USIZE16="uint16_t";;
109
110
     $ac_cv_sizeof_short) USIZE16="unsigned short";;
110
111
     $ac_cv_sizeof_int) USIZE16="unsigned int";;
111
112
     $ac_cv_sizeof_u_int16_t) USIZE16="u_int16_t";;
112
 
     $ac_cv_sizeof_uint16_t) USIZE16="uint16_t";;
113
113
esac
114
114
 
115
115
case 4 in
 
116
     $ac_cv_sizeof_int32_t) SIZE32="int32_t";;
116
117
     $ac_cv_sizeof_short) SIZE32="short";;
117
118
     $ac_cv_sizeof_int) SIZE32="int";;
118
119
     $ac_cv_sizeof_long) SIZE32="long";;
119
 
     $ac_cv_sizeof_int32_t) SIZE32="int32_t";;
120
120
esac
121
121
 
122
122
case 4 in
 
123
     $ac_cv_sizeof_uint32_t) USIZE32="uint32_t";;
123
124
     $ac_cv_sizeof_short) USIZE32="unsigned short";;
124
125
     $ac_cv_sizeof_int) USIZE32="unsigned int";;
125
126
     $ac_cv_sizeof_long) USIZE32="unsigned long";;
126
127
     $ac_cv_sizeof_u_int32_t) USIZE32="u_int32_t";;
127
 
     $ac_cv_sizeof_uint32_t) USIZE32="uint32_t";;
128
128
esac
129
129
 
130
130
case 8 in
 
131
     $ac_cv_sizeof_int64_t) SIZE64="int64_t";;
131
132
     $ac_cv_sizeof_int) SIZE64="int";;
132
133
     $ac_cv_sizeof_long) SIZE64="long";;
133
134
     $ac_cv_sizeof_long_long) SIZE64="long long";;
134
 
     $ac_cv_sizeof_int64_t) SIZE64="int64_t";;
135
135
esac
136
136
 
137
137
if test -z "$SIZE16"; then