ObjFW  Diff

Differences From Artifact [12cfb0cf48]:

To Artifact [bc2e61633f]:


869
870
871
872
873
874
875
876

877
878
879
880
881
882
883
884
885

886
887

888
889
890
891
892
893
894
869
870
871
872
873
874
875

876
877
878
879
880
881
882
883
884

885
886

887
888
889
890
891
892
893
894







-
+








-
+

-
+







	], [
		AC_MSG_RESULT(yes)
		OBJCFLAGS="$old_OBJCFLAGS"
	])

	old_OBJCFLAGS="$OBJCFLAGS"
	OBJCFLAGS="$OBJCFLAGS -Wdocumentation"
	AC_MSG_CHECKING(whether -Wdocumentation is buggy)
	AC_MSG_CHECKING(whether -Wdocumentation works correctly)
	AC_TRY_COMPILE([
		/*!
		 * @class Test conftest.m conftest.m
		 */
		@interface Test
		@end
	], [
	], [
		AC_MSG_RESULT(no, adding -Wdocumentation)
		AC_MSG_RESULT(yes)
	], [
		AC_MSG_RESULT(yes)
		AC_MSG_RESULT(no)
		OBJCFLAGS="$old_OBJCFLAGS"
	])
])

AS_IF([test x"$cross_compiling" = x"yes"], [
	AC_SUBST(BIN_PREFIX, "${host_alias}-")