Fixed automake warnings about Objective C support

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40676
This commit is contained in:
Sam Lantinga 2003-08-09 18:19:42 +00:00
parent 90de09eccf
commit 9f9fd0ac25

View File

@ -60,7 +60,6 @@ CCAS="$CC"
AC_SUBST(CCAS)
CCASFLAGS=""
AC_SUBST(CCASFLAGS)
AM_CONDITIONAL([am__fastdepOBJC], false)
dnl The alpha architecture needs special flags for binary portability
case "$target" in
@ -2596,12 +2595,17 @@ CXXFLAGS="$CFLAGS"
# We do this here so that we get the full CFLAGS into OBJCFLAGS
case "$target" in
*-*-darwin*)
OBJC="cc"
OBJCFLAGS="$CFLAGS"
OBJCDEPMODE="$CCDEPMODE"
dnl AC_PROG_OBJC doesn't seem to exist, this is the SDL workaround
AC_MSG_CHECKING(for an Objective-C compiler)
OBJC="$CC"
AC_SUBST(OBJC)
OBJCFLAGS="$CFLAGS"
AC_SUBST(OBJCFLAGS)
dnl _AM_DEPENDENCIES(OBJC) doesn't work, so hard code OBJCDEPMODE here
dnl _AM_DEPENDENCIES(OBJC)
OBJCDEPMODE="depmode=gcc3"
AC_SUBST(OBJCDEPMODE)
AC_MSG_RESULT(not implemented yet)
;;
esac