OSDN Git Service

GC HAVE_DLERROR.
authorJoerg Sonnenberger <joerg@bec.de>
Thu, 29 Sep 2016 21:32:30 +0000 (21:32 +0000)
committerJoerg Sonnenberger <joerg@bec.de>
Thu, 29 Sep 2016 21:32:30 +0000 (21:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282780 91177308-0d34-0410-b5e6-96231b3b80d8

cmake/config-ix.cmake
include/llvm/Config/config.h.cmake

index d0ba8ee..adf5938 100755 (executable)
@@ -210,7 +210,6 @@ if( HAVE_DLFCN_H )
   if( HAVE_LIBDL )
     list(APPEND CMAKE_REQUIRED_LIBRARIES dl)
   endif()
-  check_symbol_exists(dlerror dlfcn.h HAVE_DLERROR)
   check_symbol_exists(dlopen dlfcn.h HAVE_DLOPEN)
   if( HAVE_LIBDL )
     list(REMOVE_ITEM CMAKE_REQUIRED_LIBRARIES dl)
index deecd0b..025aaba 100644 (file)
@@ -51,9 +51,6 @@
 /* Define if you have the GNU dld library. */
 #undef HAVE_DLD
 
-/* Define to 1 if you have the `dlerror' function. */
-#cmakedefine HAVE_DLERROR ${HAVE_DLERROR}
-
 /* Define to 1 if you have the <dlfcn.h> header file. */
 #cmakedefine HAVE_DLFCN_H ${HAVE_DLFCN_H}