ObjFW  Check-in [20147a800c]

Overview
Comment:Add -fno-objc-default-synthesize-properties.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 20147a800c0ff40372f633a4484798bfab021400d9cc3898b5f2be4c3886d0f1
User & Date: js on 2012-04-09 09:34:34
Other Links: manifest | tags
Context
2012-04-09
09:38
Change .impl to .bundle in Xcode project. check-in: 622d96b71d user: js tags: trunk
09:34
Add -fno-objc-default-synthesize-properties. check-in: 20147a800c user: js tags: trunk
2012-04-03
17:53
Add a missing include. check-in: d0f8cffed5 user: js tags: trunk
Changes

Modified configure.ac from [587857d1f8] to [122d336cf4].

33
34
35
36
37
38
39


40
41
42
43
44
45
46
esac
AX_CHECK_COMPILER_FLAGS(-pipe, [OBJCFLAGS="$OBJCFLAGS -pipe"])
AX_CHECK_COMPILER_FLAGS(-fno-common, [OBJCFLAGS="$OBJCFLAGS -fno-common"])
AX_CHECK_COMPILER_FLAGS(-fno-constant-cfstrings, [
	OBJCFLAGS="$OBJCFLAGS -fno-constant-cfstrings"
	AC_SUBST(NO_CONST_CFSTRINGS, "-fno-constant-cfstrings")
])


AX_CHECK_COMPILER_FLAGS(-Wshorten-64-to-32, [
	old_OBJCFLAGS="$OBJCFLAGS"
	OBJCFLAGS="$OBJCFLAGS -Wshorten-64-to-32 -Werror"
	AC_TRY_COMPILE([
		#import <objc/objc-api.h>
	], [], [
		OBJCFLAGS="$old_OBJCFLAGS -Wshorten-64-to-32"







>
>







33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
esac
AX_CHECK_COMPILER_FLAGS(-pipe, [OBJCFLAGS="$OBJCFLAGS -pipe"])
AX_CHECK_COMPILER_FLAGS(-fno-common, [OBJCFLAGS="$OBJCFLAGS -fno-common"])
AX_CHECK_COMPILER_FLAGS(-fno-constant-cfstrings, [
	OBJCFLAGS="$OBJCFLAGS -fno-constant-cfstrings"
	AC_SUBST(NO_CONST_CFSTRINGS, "-fno-constant-cfstrings")
])
AX_CHECK_COMPILER_FLAGS(-fno-objc-default-synthesize-properties,
	[OBJCFLAGS="$OBJCFLAGS -fno-objc-default-synthesize-properties"])
AX_CHECK_COMPILER_FLAGS(-Wshorten-64-to-32, [
	old_OBJCFLAGS="$OBJCFLAGS"
	OBJCFLAGS="$OBJCFLAGS -Wshorten-64-to-32 -Werror"
	AC_TRY_COMPILE([
		#import <objc/objc-api.h>
	], [], [
		OBJCFLAGS="$old_OBJCFLAGS -Wshorten-64-to-32"
677
678
679
680
681
682
683
684
685
686
687
BUILDSYS_TOUCH_DEPS

dnl We don't call AC_PROG_CPP, but only AC_PROG_OBJCPP and set CPP to OBJCPP
dnl and add OBJCPPFLAGS to CPPFLAGS, thus we need to AC_SUBST these ourself.
AC_SUBST(CPP)
AC_SUBST(CPPFLAGS)

AC_SUBST(PACKAGE, ObjFW)
AC_CONFIG_FILES([buildsys.mk extra.mk utils/objfw-config Info.plist])
AC_CONFIG_HEADERS([config.h src/objfw-defs.h])
AC_OUTPUT







<



679
680
681
682
683
684
685

686
687
688
BUILDSYS_TOUCH_DEPS

dnl We don't call AC_PROG_CPP, but only AC_PROG_OBJCPP and set CPP to OBJCPP
dnl and add OBJCPPFLAGS to CPPFLAGS, thus we need to AC_SUBST these ourself.
AC_SUBST(CPP)
AC_SUBST(CPPFLAGS)


AC_CONFIG_FILES([buildsys.mk extra.mk utils/objfw-config Info.plist])
AC_CONFIG_HEADERS([config.h src/objfw-defs.h])
AC_OUTPUT