ObjFW  Check-in [a6f2b8570c]

Overview
Comment:configure.ac: Use C11 if available.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a6f2b8570ceab6bfbbc1891f37d8f5d9f3726596f59f73bf26c70a42c9f07735
User & Date: js on 2013-12-07 16:49:15
Other Links: manifest | tags
Context
2013-12-07
16:56
macros.h: Make sure static_assert is defined. check-in: 71ebf4e8fe user: js tags: trunk
16:49
configure.ac: Use C11 if available. check-in: a6f2b8570c user: js tags: trunk
2013-12-06
03:07
configure.ac: Disable features on DJGPP/DOS. check-in: 2bd1eda5fe user: js tags: trunk
Changes

Modified configure.ac from [942c90823c] to [01527acc38].

56
57
58
59
60
61
62



63



64
65
66
67
68
69
70
	TESTS_LIBS="$TESTS_LIBS -lwiiuse -lbte"
	enable_shared="no"
	enable_threads="no"	# TODO

	AC_SUBST(MAP_LDFLAGS, ['-Wl,-Map,$@.map'])
])




AX_CHECK_COMPILER_FLAGS(-std=gnu99, [OBJCFLAGS="$OBJCFLAGS -std=gnu99"])



case $OBJC in
	*clang*)
		;;
	*)
		AX_CHECK_COMPILER_FLAGS([-fgnu89-inline -Werror],
			[OBJCFLAGS="$OBJCFLAGS -fgnu89-inline"])
		;;







>
>
>
|
>
>
>







56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
	TESTS_LIBS="$TESTS_LIBS -lwiiuse -lbte"
	enable_shared="no"
	enable_threads="no"	# TODO

	AC_SUBST(MAP_LDFLAGS, ['-Wl,-Map,$@.map'])
])

AX_CHECK_COMPILER_FLAGS(-std=gnu11, [
	OBJCFLAGS="$OBJCFLAGS -std=gnu11"
], [
	AX_CHECK_COMPILER_FLAGS(-std=gnu99,
		[OBJCFLAGS="$OBJCFLAGS -std=gnu99"])
])

case $OBJC in
	*clang*)
		;;
	*)
		AX_CHECK_COMPILER_FLAGS([-fgnu89-inline -Werror],
			[OBJCFLAGS="$OBJCFLAGS -fgnu89-inline"])
		;;