ObjFW  Check-in [04e9bb53df]

Overview
Comment:Check libunwind for _Unwind_RaiseException
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 04e9bb53df9a6c394df5bea438a3aa90307002ec32f46eadab6189f2807722b0
User & Date: js on 2021-01-12 00:45:28
Other Links: manifest | tags
Context
2021-01-13
17:31
Update buildsys check-in: 838ed5b789 user: js tags: trunk
2021-01-12
00:45
Check libunwind for _Unwind_RaiseException check-in: 04e9bb53df user: js tags: trunk
2021-01-03
16:49
Add define for HPPA64 check-in: e4d7703434 user: js tags: trunk
Changes

Modified configure.ac from [b8bbd3b61b] to [132a637380].

605
606
607
608
609
610
611
612
613
614
615
616
617
618
619

		AC_MSG_RESULT($exception_type)
	], [
		AC_MSG_RESULT(exceptions unavailable!)
		AC_MSG_ERROR([Exceptions not accepted by compiler!])
	])

	AC_SEARCH_LIBS($raise_exception, [c++abi gcc_s gcc], [
		dnl c++abi requires pthread on OpenBSD
		AS_IF([test x"$ac_lib" = x"c++abi"], [LIBS="$LIBS -lpthread"])
	], [
		AC_MSG_ERROR([$raise_exception missing!])
	], [-lpthread])

	AC_CHECK_FUNCS(_Unwind_GetDataRelBase _Unwind_GetTextRelBase)







|







605
606
607
608
609
610
611
612
613
614
615
616
617
618
619

		AC_MSG_RESULT($exception_type)
	], [
		AC_MSG_RESULT(exceptions unavailable!)
		AC_MSG_ERROR([Exceptions not accepted by compiler!])
	])

	AC_SEARCH_LIBS($raise_exception, [c++abi gcc_s gcc unwind], [
		dnl c++abi requires pthread on OpenBSD
		AS_IF([test x"$ac_lib" = x"c++abi"], [LIBS="$LIBS -lpthread"])
	], [
		AC_MSG_ERROR([$raise_exception missing!])
	], [-lpthread])

	AC_CHECK_FUNCS(_Unwind_GetDataRelBase _Unwind_GetTextRelBase)