mpg123-1.32.1

This commit is contained in:
Ozkan Sezer
2023-09-24 23:11:10 +03:00
parent 2279cffc0f
commit de1a534fe6
16 changed files with 1024 additions and 46 deletions

View File

@@ -5,6 +5,7 @@ include(CheckFunctionExists)
include(CheckIncludeFile)
include(CheckIncludeFiles)
include(CheckSymbolExists)
include(CheckTypeSize)
include(CMakeDependentOption)
include(TestBigEndian)
@@ -69,6 +70,10 @@ check_function_exists(execvp HAVE_EXECVP)
check_function_exists(ctermid HAVE_CTERMID)
check_function_exists(clock_gettime HAVE_CLOCK_GETTIME)
check_type_size(long SIZEOF_LONG)
check_type_size(off_t SIZEOF_OFF_T)
if(SIZEOF_OFF_T LESS 8)
check_function_exists(lseek64 LFS_LARGEFILE_64)
if(LFS_LARGEFILE_64)
@@ -82,6 +87,7 @@ check_c_source_compiles(
int fd = open(\"/foo\", O_RDONLY|O_LARGEFILE);
" HAVE_O_LARGEFILE)
endif()
endif()
search_libs(gethostbyname GETHOSTBYNAME_LIB nsl socket network)
search_libs(socket SOCKET_LIB socket)