ObjFW  Check-in [ae0351be5d]

Overview
Comment:configure: Fix atomic ops PPC ASM check
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ae0351be5dba0801439afad5fa298903da690564f3abcc4d000e3744e6fbd1f2
User & Date: js on 2017-05-16 22:11:42
Other Links: manifest | tags
Context
2017-05-16
22:19
Use .long 0x7C2004AC instead of lwsync check-in: 7fc5ab38ad user: js tags: trunk
22:11
configure: Fix atomic ops PPC ASM check check-in: ae0351be5d user: js tags: trunk
21:06
lookup-asm-ppc-elf.S: Use @ instead of % check-in: 59b780d680 user: js tags: trunk
Changes

Modified configure.ac from [30eccdf7c0] to [bdbced787a].

809
810
811
812
813
814
815

816
817
818
819
820
821
822
823

	atomic_ops="none"

	AC_MSG_CHECKING(whether we have an atomic ops assembly implementation)
	AC_EGREP_CPP(yes, [
		#if defined(__GNUC__) && (defined(__i386__) || \
			defined(__x86_64__) || defined(__amd64__)) || \

			(defined(__ppc__) && !defined(__APPLE_CC__))
		yes
		#endif
	], [
		AC_MSG_RESULT(yes)
		atomic_ops="assembly implementation"
	], [
		AC_MSG_RESULT(no)







>
|







809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824

	atomic_ops="none"

	AC_MSG_CHECKING(whether we have an atomic ops assembly implementation)
	AC_EGREP_CPP(yes, [
		#if defined(__GNUC__) && (defined(__i386__) || \
			defined(__x86_64__) || defined(__amd64__)) || \
			((defined(__ppc__) || defined(__PPC__) || \
			defined(__powerpc__)) && !defined(__APPLE_CC__))
		yes
		#endif
	], [
		AC_MSG_RESULT(yes)
		atomic_ops="assembly implementation"
	], [
		AC_MSG_RESULT(no)