ObjFW  Check-in [bce687f0b4]

Overview
Comment:Don't use dladdr on MorphOS
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | amiga-library
Files: files | file ages | folders
SHA3-256: bce687f0b43119cf090ff731ebd0f939fa38efcf34926b520e9900ea565a1c7f
User & Date: js on 2020-12-19 15:28:13
Other Links: branch diff | manifest | tags
Context
2020-12-19
22:24
Add -laboxstub -labox for .library on MorphOS check-in: 878cc0296e user: js tags: amiga-library
15:28
Don't use dladdr on MorphOS check-in: bce687f0b4 user: js tags: amiga-library
14:44
Don't build encodings twice for Amiga .library check-in: 82e9c435fe user: js tags: amiga-library
Changes

Modified configure.ac from [dca622de13] to [e931d218b1].

1007
1008
1009
1010
1011
1012
1013



1014
1015
1016
1017
1018
1019
1020
	netbsd*)
		dnl dladdr exists on NetBSD, but it is completely broken.
		dnl When using it with code that uses __thread, it freezes the
		dnl process so that it has to be killed using SIGKILL.
		dnl When disabling __thread, it doesn't freeze, but all symbols
		dnl are wrong.
		;;



	*)
		AC_CHECK_FUNCS(dladdr)
		;;
esac

AC_CHECK_HEADERS(sys/mman.h)
AC_CHECK_FUNCS(mmap mlock)







>
>
>







1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
	netbsd*)
		dnl dladdr exists on NetBSD, but it is completely broken.
		dnl When using it with code that uses __thread, it freezes the
		dnl process so that it has to be killed using SIGKILL.
		dnl When disabling __thread, it doesn't freeze, but all symbols
		dnl are wrong.
		;;
	morphos*)
		dnl MorphOS has a dladdr symbol, but it doesn't work.
		;;
	*)
		AC_CHECK_FUNCS(dladdr)
		;;
esac

AC_CHECK_HEADERS(sys/mman.h)
AC_CHECK_FUNCS(mmap mlock)