mirror of
https://github.com/gperftools/gperftools
synced 2025-03-31 23:59:52 +00:00
don't check for unused uname symbol
This commit is contained in:
parent
01c2697fac
commit
95b52b0504
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user