Commit 9f9fd0ac authored by Sam Lantinga's avatar Sam Lantinga

Fixed automake warnings about Objective C support

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40676
parent 90de09ec
...@@ -60,7 +60,6 @@ CCAS="$CC" ...@@ -60,7 +60,6 @@ CCAS="$CC"
AC_SUBST(CCAS) AC_SUBST(CCAS)
CCASFLAGS="" CCASFLAGS=""
AC_SUBST(CCASFLAGS) AC_SUBST(CCASFLAGS)
AM_CONDITIONAL([am__fastdepOBJC], false)
dnl The alpha architecture needs special flags for binary portability dnl The alpha architecture needs special flags for binary portability
case "$target" in case "$target" in
...@@ -2596,12 +2595,17 @@ CXXFLAGS="$CFLAGS" ...@@ -2596,12 +2595,17 @@ CXXFLAGS="$CFLAGS"
# We do this here so that we get the full CFLAGS into OBJCFLAGS # We do this here so that we get the full CFLAGS into OBJCFLAGS
case "$target" in case "$target" in
*-*-darwin*) *-*-darwin*)
OBJC="cc" dnl AC_PROG_OBJC doesn't seem to exist, this is the SDL workaround
OBJCFLAGS="$CFLAGS" AC_MSG_CHECKING(for an Objective-C compiler)
OBJCDEPMODE="$CCDEPMODE" OBJC="$CC"
AC_SUBST(OBJC) AC_SUBST(OBJC)
OBJCFLAGS="$CFLAGS"
AC_SUBST(OBJCFLAGS) 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_SUBST(OBJCDEPMODE)
AC_MSG_RESULT(not implemented yet)
;; ;;
esac esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment