Cube  Check-in [975d7dff02]

Overview
Comment:Enable ARC
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 975d7dff02bf95eab8e0769b93ba994b8f0e13a2d881fa15386dbcac8052410d
User & Date: js on 2024-08-03 12:44:55
Other Links: manifest | tags
Context
2024-08-03
13:11
Migrate to Meson check-in: c0465302cc user: js tags: trunk
12:44
Enable ARC check-in: 975d7dff02 user: js tags: trunk
2024-08-02
11:09
Fix crash when compiled with Clang check-in: 5e7a0895eb user: js tags: trunk
Changes

Modified configure.ac from [e3f3f558bf] to [f0ecd91d09].

16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
AC_PROG_OBJCXX(clang++ g++)
AC_PROG_OBJCXXCPP

AC_CHECK_TOOL(OBJFW_CONFIG, objfw-config)
AS_IF([test x"$OBJFW_CONFIG" = x""], [
	AC_MSG_ERROR(You need ObjFW and objfw-config installed!)
])
OBJCXXFLAGS="$OBJCXXFLAGS $($OBJFW_CONFIG --cppflags --objcflags)"
LDFLAGS="$($OBJFW_CONFIG --ldflags --rpath)"
LIBS="$($OBJFW_CONFIG --libs) $LIBS"

AC_PATH_TOOL(AR, ar)
AC_PATH_TOOL(RANLIB, ranlib)

PKG_CHECK_MODULES(SDL, [







|







16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
AC_PROG_OBJCXX(clang++ g++)
AC_PROG_OBJCXXCPP

AC_CHECK_TOOL(OBJFW_CONFIG, objfw-config)
AS_IF([test x"$OBJFW_CONFIG" = x""], [
	AC_MSG_ERROR(You need ObjFW and objfw-config installed!)
])
OBJCXXFLAGS="$OBJCXXFLAGS $($OBJFW_CONFIG --cppflags --objcflags --arc)"
LDFLAGS="$($OBJFW_CONFIG --ldflags --rpath)"
LIBS="$($OBJFW_CONFIG --libs) $LIBS"

AC_PATH_TOOL(AR, ar)
AC_PATH_TOOL(RANLIB, ranlib)

PKG_CHECK_MODULES(SDL, [