Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed automake warnings about Objective C support
  • Loading branch information
slouken committed Aug 9, 2003
1 parent 500521b commit 2038b76
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions configure.in
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 2038b76

Please sign in to comment.