mpg123-1.32.6

This commit is contained in:
Ozkan Sezer
2024-04-18 23:56:32 +03:00
parent 73caa15ce9
commit 304bf5b276
18 changed files with 130 additions and 23 deletions

View File

@@ -1355,8 +1355,13 @@ AC_COMPUTE_INT(switched_off_size, sizeof(off_t), [
#include <sys/types.h>
])
AC_MSG_RESULT([$switched_off_size])
# If you have predefined _FILE_OFFSET_BITS, I will treat that as a system
# property.
AC_MSG_CHECKING([unswitched off_t size])
AC_COMPUTE_INT(unswitched_off_size, sizeof(off_t), [
#undef _FILE_OFFSET_BITS
#include <sys/types.h>
])
AC_MSG_RESULT([$unswitched_off_size])
# Now the size without meddling, possibly enforced to 64 bits by system settings.
AC_CHECK_SIZEOF(off_t, [], [
#include <sys/types.h>
])
@@ -1381,6 +1386,15 @@ else
lfs_sensitive=no
fi
forced_off_64=no
if test "x$unswitched_off_size" != "x$ac_cv_sizeof_off_t"; then
if test "x$ac_cv_sizeof_off_t" = x8; then
AC_MSG_NOTICE([Detected system with enforced 64 bit offsets, dropping suffixless symbols for uncryptic ABI breakage.])
AC_DEFINE([FORCED_OFF_64], 1, [System setup enforces 64 bit offsets where 32 bit would be native.])
forced_off_64=yes
fi
fi
use_largefile=auto
AC_MSG_CHECKING([if native off_t is already 64 bits])
@@ -2969,8 +2983,16 @@ fi
echo " largefile sensitive ..... $lfs_sensitive"
echo " default offsets ......... $default_offset_bits"
echo " explicit 64 bit offsets . $use_largefile"
echo " forced 64 bit offsets ... $forced_off_64"
echo " only portable API ....... $portable_api"
if test "x$forced_off_64" = xyes; then
echo
echo "Note: Ensure that client programs are built with _FILE_OFFSET_BITS defined to 64, too."
echo " Old binaries built for 32 bit off_t may fail missing symbols in mpg123 libraries."
echo
fi
echo "
Core libmpg123 features:
Layer I ................. $layer1