]> git.sesse.net Git - vlc/commitdiff
Remove some unused configure checks
authorRémi Denis-Courmont <rem@videolan.org>
Sat, 29 Apr 2006 14:07:18 +0000 (14:07 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sat, 29 Apr 2006 14:07:18 +0000 (14:07 +0000)
configure.ac
src/misc/threads.c

index ee1f3a1d39f56383a687ddeb270ac0959cc42b9c..415ad7687c170908fe889a3786e31ffcb11e0675 100644 (file)
@@ -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)
index cf73302444b58f4f9fc16579326ee156b9f5ff8b..f7142c96a423b738be5f2dc6dd869cf477106608 100644 (file)
@@ -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
     {