Commit 8a500492 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Remove some unused configure checks

parent f4a87317
......@@ -404,7 +404,7 @@ CPPFLAGS_save="${CPPFLAGS_save} -DSYS_`echo ${SYS} | sed -e 's/-.*//' | tr 'abcd
dnl Check for system libs needed
need_libc=false
AC_CHECK_FUNCS(gettimeofday select strerror strtod strtol strtof strtoll strtoull strsep isatty vasprintf asprintf swab sigrelse getpwuid memalign posix_memalign if_nametoindex atoll getenv putenv setenv gmtime_r ctime_r localtime_r lrintf daemon scandir fork bsearch lstat)
AC_CHECK_FUNCS(gettimeofday strtod strtol strtof strtoll strtoull strsep isatty vasprintf asprintf swab sigrelse getpwuid memalign posix_memalign if_nametoindex atoll getenv putenv setenv gmtime_r ctime_r localtime_r lrintf daemon scandir fork bsearch lstat)
dnl Check for usual libc functions
AC_CHECK_FUNCS(strdup strndup atof)
......
......@@ -632,13 +632,8 @@ int __vlc_thread_create( vlc_object_t *p_this, char * psz_file, int i_line,
}
else
{
#ifdef HAVE_STRERROR
msg_Err( p_this, "%s thread could not be created at %s:%d (%s)",
psz_name, psz_file, i_line, strerror(i_ret) );
#else
msg_Err( p_this, "%s thread could not be created at %s:%d",
psz_name, psz_file, i_line );
#endif
vlc_mutex_unlock( &p_this->object_lock );
}
......@@ -782,14 +777,9 @@ void __vlc_thread_join( vlc_object_t *p_this, char * psz_file, int i_line )
if( i_ret )
{
#ifdef HAVE_STRERROR
msg_Err( p_this, "thread_join(%u) failed at %s:%d (%s)",
(unsigned int)p_this->thread_id, psz_file, i_line,
strerror(i_ret) );
#else
msg_Err( p_this, "thread_join(%u) failed at %s:%d",
(unsigned int)p_this->thread_id, psz_file, i_line );
#endif
}
else
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment