mpg123 1.33.0-dev+20250525022201

This commit is contained in:
Ozkan Sezer
2025-05-25 20:40:02 +03:00
parent 22dadfaa3c
commit bf2eba7bc0
28 changed files with 433 additions and 112 deletions

View File

@@ -1209,7 +1209,7 @@ dnl ############## Assembler, compiler properties
# extended to use balign if present
AC_MSG_CHECKING([if .balign is present])
echo '.balign 4' > conftest.s
if $CCAS -c -o conftest.o conftest.s 1>/dev/null 2>&1; then
if $CCAS $CCASFLAGS -c -o conftest.o conftest.s 1>/dev/null 2>&1; then
AC_MSG_RESULT([yes])
AC_DEFINE(ASMALIGN_BALIGN, 1, [ Define if .balign is present. ])
@@ -1224,7 +1224,7 @@ if test x"$asmalign_exp" = xunknown; then
AC_MSG_CHECKING([if .align takes 2-exponent])
asmalign_exp="no"
echo '.align 3' > conftest.s
if $CCAS -c -o conftest.o conftest.s 1>/dev/null 2>&1; then
if $CCAS $CCASFLAGS -c -o conftest.o conftest.s 1>/dev/null 2>&1; then
asmalign_exp="yes"
AC_MSG_RESULT([yes])
else
@@ -1263,7 +1263,7 @@ if test x"$avx_support" = xunknown; then
avx_support="no"
echo '.text' > conftest.s
echo 'vaddps %ymm0,%ymm0,%ymm0' >> conftest.s
if $CCAS -c -o conftest.o conftest.s 1>/dev/null 2>&1; then
if $CCAS $CCASFLAGS -c -o conftest.o conftest.s 1>/dev/null 2>&1; then
avx_support="yes"
AC_MSG_RESULT([yes])
else
@@ -1331,7 +1331,7 @@ dnl ############## LFS stuff
portable_api=no
AC_ARG_ENABLE(portable,
[AS_HELP_STRING( [--enable-portable], [only build portable API (no off_t, no internal I/O)])],
[AS_HELP_STRING( [--enable-portable], [only build portable API (no off_t, no internal I/O -- and no end-user programs)])],
[
if test "x$enableval" = xyes; then
portable_api="yes"
@@ -1491,7 +1491,8 @@ AC_CHECK_FUNCS( sched_setscheduler setuid getuid)
# Check for setpriority
AC_CHECK_FUNCS( setpriority )
AC_CHECK_FUNCS( strerror strerror_l uselocale )
# strtok_s for MSVCRT, not the C11 variant
AC_CHECK_FUNCS( strerror strerror_l uselocale strtok_r strtok_s)
AC_CHECK_FUNCS( setlocale nl_langinfo mbstowcs wcstombs wcswidth iswprint )
@@ -2953,11 +2954,18 @@ dnl ############## Display Message
default_offset_bits=`expr "$ac_cv_sizeof_off_t" "*" "8"`
if test "x$build_programs" = xyes && ! test "x$portable_api" = xyes; then
build_mpg123_programs=yes
else
build_mpg123_programs=no
fi
echo "
$PACKAGE_NAME $PACKAGE_VERSION
Install path ............ $prefix
Components .............. $components
Main mpg123 program(s)... $build_mpg123_programs
CPU Optimization ........ $cpu_type
Compiler Optimization ... $with_optimization"
if test x"$use_yasm_for_avx" = xyes; then