llvm.org GIT mirror llvm / c6cf5fe
Fix LLVM CMake build system so that it may now work on Solaris and AuroraUX. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83819 91177308-0d34-0410-b5e6-96231b3b80d8 Edward O'Callaghan 10 years ago
3 changed file(s) with 7 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
220220
221221 include_directories( ${LLVM_BINARY_DIR}/include ${LLVM_MAIN_INCLUDE_DIR})
222222
223 if( ${CMAKE_SYSTEM_NAME} MATCHES SunOS )
224 SET(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-include llvm/System/Solaris.h")
225 endif( ${CMAKE_SYSTEM_NAME} MATCHES SunOS )
226
223227 include(AddLLVM)
224228 include(TableGen)
225229
7474 check_function_exists(isatty HAVE_ISATTY)
7575 check_symbol_exists(isinf cmath HAVE_ISINF_IN_CMATH)
7676 check_symbol_exists(isinf math.h HAVE_ISINF_IN_MATH_H)
77 check_symbol_exists(finite ieeefp.h HAVE_FINITE_IN_IEEEFP_H)
7778 check_symbol_exists(isnan cmath HAVE_ISNAN_IN_CMATH)
7879 check_symbol_exists(isnan math.h HAVE_ISNAN_IN_MATH_H)
7980 check_symbol_exists(ceilf math.h HAVE_CEILF)
9797 #cmakedefine HAVE_FCNTL_H ${HAVE_FCNTL_H}
9898
9999 /* Set to 1 if the finite function is found in */
100 #undef HAVE_FINITE_IN_IEEEFP_H
100 #cmakedefine HAVE_FINITE_IN_IEEEFP_H ${HAVE_FINITE_IN_IEEEFP_H}
101101
102102 /* Define to 1 if you have the `floorf' function. */
103103 #cmakedefine HAVE_FLOORF ${HAVE_FLOORF}
288288 #undef HAVE_ROUNDF
289289
290290 /* Define to 1 if you have the `sbrk' function. */
291 #undef HAVE_SBRK
291 #cmakedefine HAVE_SBRK ${HAVE_SBRK}
292292
293293 /* Define to 1 if you have the `setenv' function. */
294294 #cmakedefine HAVE_SETENV ${HAVE_SETENV}