ObjFW  Check-in [20a020da0e]

Overview
Comment:configure: Only add -no-integrated-as for Clang.

gcc accepts the flag, but issues a warning each time it is used.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 20a020da0eb739eccf66fb1733ddacf4c0e9f12b951b62a66451ed1b3addffd9
User & Date: js on 2012-12-11 12:22:15
Other Links: manifest | tags
Context
2012-12-11
12:27
OFHTTPClient: Small fixes. check-in: 634a1461f8 user: js tags: trunk
12:22
configure: Only add -no-integrated-as for Clang. check-in: 20a020da0e user: js tags: trunk
12:12
Add OFHTTPServer. check-in: 190b9d3a5c user: js tags: trunk
Changes

Modified configure.ac from [9c5224dec5] to [96cf137383].

39
40
41
42
43
44
45
46


47


48
49
50
51
52
53
54
])
AX_CHECK_COMPILER_FLAGS(-Wshorten-64-to-32,
	[OBJCFLAGS="$OBJCFLAGS -Wshorten-64-to-32"])
AX_CHECK_COMPILER_FLAGS(-Wsemicolon-before-method-body,
	[OBJCFLAGS="$OBJCFLAGS -Wsemicolon-before-method-body"])
AX_CHECK_COMPILER_FLAGS(-Wno-objc-root-class,
	[OBJCFLAGS="$OBJCFLAGS -Wno-objc-root-class"])
AX_CHECK_COMPILER_FLAGS([-no-integrated-as],


	[ASFLAGS="$ASFLAGS -no-integrated-as"])



AC_MSG_CHECKING(whether Objective C compiler supports properties)
AC_TRY_COMPILE([
	@interface Foo
	{
		id bar;
	}







|
>
>
|
>
>







39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
])
AX_CHECK_COMPILER_FLAGS(-Wshorten-64-to-32,
	[OBJCFLAGS="$OBJCFLAGS -Wshorten-64-to-32"])
AX_CHECK_COMPILER_FLAGS(-Wsemicolon-before-method-body,
	[OBJCFLAGS="$OBJCFLAGS -Wsemicolon-before-method-body"])
AX_CHECK_COMPILER_FLAGS(-Wno-objc-root-class,
	[OBJCFLAGS="$OBJCFLAGS -Wno-objc-root-class"])

case "$OBJC" in
	*clang*)
		ASFLAGS="$ASFLAGS -no-integrated-as"
		;;
esac

AC_MSG_CHECKING(whether Objective C compiler supports properties)
AC_TRY_COMPILE([
	@interface Foo
	{
		id bar;
	}