Differences From Artifact [b23f940e4b]:
- File configure.ac — part of check-in [896084c340] at 2013-05-22 18:42:46 on branch trunk — Check for more socket-related headers / functions. (user: js, size: 22506) [annotate] [blame] [check-ins using]
To Artifact [c6b89e288b]:
- File
configure.ac
— part of check-in
[a889f21180]
at
2013-05-22 20:36:31
on branch trunk
— Don't depened on execinfo.h for backtraces.
Instead, __builtin_return_address() is used now. This makes backtraces
available on many platforms, it even works if dladdr is missing (it does
not show symbol names then, though). (user: js, size: 22738) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
464 465 466 467 468 469 470 471 472 473 474 475 476 477 | ], [ AC_CHECK_FUNC(random, [ AC_DEFINE(HAVE_RANDOM, 1, [Whether we have random()]) ]) ]) AC_CHECK_LIB(dl, dlopen, LIBS="$LIBS -ldl") AC_ARG_ENABLE(threads, AS_HELP_STRING([--disable-threads], [disable thread support])) AS_IF([test x"$enable_threads" != x"no"], [ case "$host_os" in mingw*) AC_MSG_CHECKING(for threads) | > | 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 | ], [ AC_CHECK_FUNC(random, [ AC_DEFINE(HAVE_RANDOM, 1, [Whether we have random()]) ]) ]) AC_CHECK_LIB(dl, dlopen, LIBS="$LIBS -ldl") AC_CHECK_HEADERS(dlfcn.h) AC_ARG_ENABLE(threads, AS_HELP_STRING([--disable-threads], [disable thread support])) AS_IF([test x"$enable_threads" != x"no"], [ case "$host_os" in mingw*) AC_MSG_CHECKING(for threads) |
︙ | ︙ | |||
746 747 748 749 750 751 752 | ;; esac AS_IF([test x"$have_processes" = x"yes"], [ AC_SUBST(OFPROCESS_M, "OFProcess.m") AC_DEFINE(OF_HAVE_PROCESSES, 1, [Whether we have processes]) ]) | > | > > > > > > > > | 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 | ;; esac AS_IF([test x"$have_processes" = x"yes"], [ AC_SUBST(OFPROCESS_M, "OFProcess.m") AC_DEFINE(OF_HAVE_PROCESSES, 1, [Whether we have processes]) ]) AC_MSG_CHECKING(for __builtin_return_address) AC_TRY_LINK([], [ __builtin_return_address(0); ], [ AC_MSG_RESULT(yes) AC_DEFINE(HAVE_BUILTIN_RETURN_ADDRESS, 1, [Whether we have __builtin_return_address]) ], [ AC_MSG_RESULT(no) ]) AS_IF([test x"$objc_runtime" = x"Apple runtime"], [ AC_CHECK_HEADER(Foundation/NSObject.h, [ AC_SUBST(FOUNDATION_COMPAT_M, "foundation-compat.m") AC_SUBST(BRIDGE, "bridge") AS_IF([test x"$enable_shared" != x"no"], [ |
︙ | ︙ |