OSDN Git Service

Remove HAVE_REALPATH from config.h
authorNico Weber <nicolasweber@gmx.de>
Wed, 20 Mar 2019 17:26:11 +0000 (17:26 +0000)
committerNico Weber <nicolasweber@gmx.de>
Wed, 20 Mar 2019 17:26:11 +0000 (17:26 +0000)
Its last use was removed in r352916.
No behavior change.

Differential Revision: https://reviews.llvm.org/D59601

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356579 91177308-0d34-0410-b5e6-96231b3b80d8

cmake/config-ix.cmake
include/llvm/Config/config.h.cmake
utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn

index 18026d6..b010d08 100644 (file)
@@ -207,7 +207,6 @@ check_symbol_exists(malloc_zone_statistics malloc/malloc.h
 check_symbol_exists(getrlimit "sys/types.h;sys/time.h;sys/resource.h" HAVE_GETRLIMIT)
 check_symbol_exists(posix_spawn spawn.h HAVE_POSIX_SPAWN)
 check_symbol_exists(pread unistd.h HAVE_PREAD)
-check_symbol_exists(realpath stdlib.h HAVE_REALPATH)
 check_symbol_exists(sbrk unistd.h HAVE_SBRK)
 check_symbol_exists(strerror string.h HAVE_STRERROR)
 check_symbol_exists(strerror_r string.h HAVE_STRERROR_R)
index 80131de..e30cb8a 100644 (file)
 /* Have pthread_rwlock_init */
 #cmakedefine HAVE_PTHREAD_RWLOCK_INIT ${HAVE_PTHREAD_RWLOCK_INIT}
 
-/* Define to 1 if you have the `realpath' function. */
-#cmakedefine HAVE_REALPATH ${HAVE_REALPATH}
-
 /* Define to 1 if you have the `sbrk' function. */
 #cmakedefine HAVE_SBRK ${HAVE_SBRK}
 
index 84e6001..ea408da 100644 (file)
@@ -211,7 +211,6 @@ write_cmake_config("config") {
       "HAVE_PTHREAD_H=",
       "HAVE_PTHREAD_MUTEX_LOCK=",
       "HAVE_PTHREAD_RWLOCK_INIT=",
-      "HAVE_REALPATH=",
       "HAVE_SBRK=",
       "HAVE_SETENV=",
       "HAVE_SETRLIMIT=",
@@ -250,7 +249,6 @@ write_cmake_config("config") {
       "HAVE_PTHREAD_H=1",
       "HAVE_PTHREAD_MUTEX_LOCK=1",
       "HAVE_PTHREAD_RWLOCK_INIT=1",
-      "HAVE_REALPATH=1",
       "HAVE_SBRK=1",
       "HAVE_SETENV=1",
       "HAVE_SETRLIMIT=1",