don't check for unused uname symbol

This commit is contained in:
Aliaksey Kandratsenka 2021-02-14 15:02:57 -08:00
parent 01c2697fac
commit 95b52b0504
4 changed files with 0 additions and 14 deletions

View File

@ -454,9 +454,6 @@ if(EXISTS /usr/sfw/lib/libstdc++.la)
endif()
endif()
# We also need to check if the kernel supports __thread, which requires uname()
check_symbol_exists("uname" "sys/utsname.h" HAVE_DECL_UNAME)
check_cxx_source_compiles(
"#include <string>
#include <vector>

View File

@ -61,10 +61,6 @@
*/
#cmakedefine01 HAVE_DECL_SLEEP
/* Define to 1 if you have the declaration of `uname', and to 0 if you don't.
*/
#cmakedefine01 HAVE_DECL_UNAME
/* Define to 1 if you have the declaration of `valloc', and to 0 if you don't.
*/
#cmakedefine01 HAVE_DECL_VALLOC

View File

@ -510,9 +510,6 @@ then
fi
AC_SUBST(LIBSTDCXX_LA_LINKER_FLAG)
# We also need to check if the kernel supports __thread, which requires uname()
AC_CHECK_DECLS(uname,,, [#include <sys/utsname.h>])
# In fact, a lot of the code in this directory depends on pthreads
ACX_PTHREAD

View File

@ -67,10 +67,6 @@
*/
#define HAVE_DECL_SLEEP 0
/* Define to 1 if you have the declaration of `uname', and to 0 if you don't.
*/
#define HAVE_DECL_UNAME 0
/* Define to 1 if you have the declaration of `valloc', and to 0 if you don't.
*/
#define HAVE_DECL_VALLOC 0