From 05902800365ab437f453f4217879aba4bae1bbb9 Mon Sep 17 00:00:00 2001 From: Tim Terriberry Date: Tue, 14 May 2013 01:27:07 +0000 Subject: 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. git-svn-id: http://svn.xiph.org/trunk/ogg@18942 0101bb08-14d6-0310-b084-bc0e0c8e3800 --- configure.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/configure.in b/configure.in index 3aedbde..9cb2233 100644 --- a/configure.in +++ b/configure.in @@ -100,38 +100,38 @@ AC_CHECK_SIZEOF(long) 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 -- cgit v1.2.1