ObjFW  Check-in [e03ab23de2]

Overview
Comment:Only use mach_alias_list on x86_64.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: e03ab23de2e483ab655d598f7dc89c1e72bd442017f240096d9b39c421901172
User & Date: js on 2011-03-21 22:33:38
Other Links: manifest | tags
Context
2011-03-21
23:19
Add a real Xcode project which is not only using make. check-in: accfa586da user: js tags: trunk
22:33
Only use mach_alias_list on x86_64. check-in: e03ab23de2 user: js tags: trunk
21:33
Add missing files to Xcode project. check-in: c5378ff224 user: js tags: trunk
Changes

Modified configure.ac from [fa42e0339c] to [0003f7755e].

196
197
198
199
200
201
202
203
204
205




206
207
208
209
210
211
212
196
197
198
199
200
201
202



203
204
205
206
207
208
209
210
211
212
213







-
-
-
+
+
+
+







	AC_SUBST(TESTPLUGIN, "plugin")
	AC_DEFINE(OF_PLUGINS, 1, [Whether we have plugin support])
	AC_SUBST(OFPLUGINS_DEF, "-DOF_PLUGINS")
])

case "$host_os" in
	darwin*)
		AC_SUBST(REEXPORT_LIBOBJC, [-Wl,-reexport-lobjc])
		AC_SUBST(LDFLAGS_REEXPORT, [-Wl,-reexport-lobjfw])
		AC_SUBST(MACH_ALIAS_LIST, [-Wl,-alias_list,mach_alias_list])
		AC_SUBST(REEXPORT_LIBOBJC, ["-Wl,-reexport-lobjc"])
		AC_SUBST(LDFLAGS_REEXPORT, ["-Wl,-reexport-lobjfw"])
		AC_SUBST(MACH_ALIAS_LIST,
			 ["-Xarch_x86_64 -Wl,-alias_list,mach_alias_list"])
		;;
esac

AC_C_BIGENDIAN([
	AC_DEFINE(OF_BIG_ENDIAN, 1, [Whether we are big endian])
	AC_SUBST(ENDIANESS_DEF, "-DOF_BIG_ENDIAN")
])