mirror of
https://github.com/xiph/opus.git
synced 2025-06-06 23:40:50 +00:00
Drop the stdint size tests that we never use anywhere
These were probably cribbed from libogg, but we don't use them here, opus_types.h instead has a list of hardcoded arch definitions.
This commit is contained in:
parent
f22e54dca4
commit
4a7bb1fe9b
1 changed files with 4 additions and 37 deletions
41
configure.ac
41
configure.ac
|
@ -262,40 +262,6 @@ AC_CHECK_FUNCS([lrintf])
|
||||||
AC_CHECK_FUNCS([lrint])
|
AC_CHECK_FUNCS([lrint])
|
||||||
AC_CHECK_FUNCS([__malloc_hook])
|
AC_CHECK_FUNCS([__malloc_hook])
|
||||||
|
|
||||||
AC_CHECK_SIZEOF(short)
|
|
||||||
AC_CHECK_SIZEOF(int)
|
|
||||||
AC_CHECK_SIZEOF(long)
|
|
||||||
AC_CHECK_SIZEOF(long long)
|
|
||||||
|
|
||||||
if test x$has_char16 = "xyes" ; then
|
|
||||||
case 1 in
|
|
||||||
$ac_cv_sizeof_short) SIZE16="short";;
|
|
||||||
$ac_cv_sizeof_int) SIZE16="int";;
|
|
||||||
esac
|
|
||||||
else
|
|
||||||
case 2 in
|
|
||||||
$ac_cv_sizeof_short) SIZE16="short";;
|
|
||||||
$ac_cv_sizeof_int) SIZE16="int";;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test x$has_char16 = "xyes" ; then
|
|
||||||
case 2 in
|
|
||||||
$ac_cv_sizeof_int) SIZE32="int";;
|
|
||||||
$ac_cv_sizeof_long) SIZE32="long";;
|
|
||||||
$ac_cv_sizeof_short) SIZE32="short";;
|
|
||||||
esac
|
|
||||||
else
|
|
||||||
case 4 in
|
|
||||||
$ac_cv_sizeof_int) SIZE32="int";;
|
|
||||||
$ac_cv_sizeof_long) SIZE32="long";;
|
|
||||||
$ac_cv_sizeof_short) SIZE32="short";;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_SUBST(SIZE16)
|
|
||||||
AC_SUBST(SIZE32)
|
|
||||||
|
|
||||||
AM_CONDITIONAL([FIXED_POINT], [test x$ac_enable_fixed = xyes])
|
AM_CONDITIONAL([FIXED_POINT], [test x$ac_enable_fixed = xyes])
|
||||||
AM_CONDITIONAL([CUSTOM_MODES], [test x$ac_enable_custom_modes = xyes])
|
AM_CONDITIONAL([CUSTOM_MODES], [test x$ac_enable_custom_modes = xyes])
|
||||||
AM_CONDITIONAL([EXTRA_PROGRAMS], [test x$ac_enable_extra_programs = xyes])
|
AM_CONDITIONAL([EXTRA_PROGRAMS], [test x$ac_enable_extra_programs = xyes])
|
||||||
|
@ -324,7 +290,7 @@ AC_CONFIG_HEADERS([config.h])
|
||||||
|
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
||||||
AC_MSG_RESULT([
|
AC_MSG_NOTICE([
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
$PACKAGE_NAME $PACKAGE_VERSION: Automatic configuration OK.
|
$PACKAGE_NAME $PACKAGE_VERSION: Automatic configuration OK.
|
||||||
|
|
||||||
|
@ -348,7 +314,8 @@ AC_MSG_RESULT([
|
||||||
API documentation: ............. ${ac_enable_doc}
|
API documentation: ............. ${ac_enable_doc}
|
||||||
Extra programs: ................ ${ac_enable_extra_programs}
|
Extra programs: ................ ${ac_enable_extra_programs}
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Type "make; make install" to compile and install
|
||||||
|
Type "make check" to run the test suite
|
||||||
])
|
])
|
||||||
|
|
||||||
echo "Type \"make; make install\" to compile and install";
|
|
||||||
echo "Type \"make check\" to run the test suite";
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue