configure.ac: Fix configure for vitasdk

Closes: https://github.com/erikd/libsndfile/issues/310
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
This commit is contained in:
Ghabry 2017-08-29 02:40:42 +02:00 committed by Erik de Castro Lopo
parent 45fb22f52e
commit 3f8d728f01

View File

@ -246,6 +246,13 @@ AS_CASE([$host_os],
])
])
AS_CASE([$host_vendor],
[vita], [
TYPEOF_SF_COUNT_T="int64_t"
SF_COUNT_MAX="0x7FFFFFFFFFFFFFFFLL"
SIZEOF_SF_COUNT_T=8
])
AS_IF([test "x$SIZEOF_SF_COUNT_T" = "x4"], [
SF_COUNT_MAX="0x7FFFFFFF"
])