Index: llvm/trunk/cmake/config-ix.cmake =================================================================== --- llvm/trunk/cmake/config-ix.cmake +++ llvm/trunk/cmake/config-ix.cmake @@ -207,7 +207,6 @@ 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: llvm/trunk/include/llvm/Config/config.h.cmake =================================================================== --- llvm/trunk/include/llvm/Config/config.h.cmake +++ llvm/trunk/include/llvm/Config/config.h.cmake @@ -154,9 +154,6 @@ /* 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: llvm/trunk/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn =================================================================== --- llvm/trunk/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn +++ llvm/trunk/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn @@ -211,7 +211,6 @@ "HAVE_PTHREAD_H=", "HAVE_PTHREAD_MUTEX_LOCK=", "HAVE_PTHREAD_RWLOCK_INIT=", - "HAVE_REALPATH=", "HAVE_SBRK=", "HAVE_SETENV=", "HAVE_SETRLIMIT=", @@ -250,7 +249,6 @@ "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",