llvm.org GIT mirror llvm / b72573e
Remove getsect checks, the result is unused and is broken anyhow. Fixes PR7967. Owen: You added these, any reason? git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112041 91177308-0d34-0410-b5e6-96231b3b80d8 Eric Christopher 8 years ago
1 changed file(s) with 0 addition(s) and 20 deletion(s). Raw diff Collapse all Expand all
12681268 dnl Try to find Darwin specific crash reporting library.
12691269 AC_CHECK_HEADERS([CrashReporterClient.h])
12701270
1271 dnl Try to find Darwin specific linker-section library.
1272 AC_CHECK_HEADERS([mach-o/getsect.h])
1273
12741271 dnl===-----------------------------------------------------------------------===
12751272 dnl===
12761273 dnl=== SECTION 7: Check for types and structures
13491346 AC_MSG_RESULT(no)
13501347 AC_DEFINE(LLVM_MULTITHREADED, 0, Build multithreading support into LLVM)
13511348 AC_MSG_WARN([LLVM will be built thread-unsafe because atomic builtins are missing]))
1352
1353 dnl Check for Darwin-specific getsect().
1354 AC_MSG_CHECKING(for getsect())
1355 AC_COMPILE_IFELSE(
1356 AC_LANG_SOURCE(
1357 [[#include
1358 int main() {
1359 unsigned long p;
1360 return (int)getsect("__DATA","__pass_info", &p);
1361 }
1362 ]]),
1363 AC_MSG_RESULT(yes)
1364 AC_DEFINE(HAVE_GETSECT, 1, Have Darwin getsect() support),
1365 AC_MSG_RESULT(no)
1366 AC_DEFINE(HAVE_GETSECT, 1, Have Darwin getsect() support)
1367 )
1368
13691349
13701350 dnl===-----------------------------------------------------------------------===
13711351 dnl===