Skip to content
Permalink
Browse files

Fixed automake warnings about Objective C support

  • Loading branch information
slouken committed Aug 9, 2003
1 parent 500521b commit 2038b76f12fbffc15031c8a3c0859f7802aeb0e2
Showing with 8 additions and 4 deletions.
  1. +8 −4 configure.in
@@ -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

0 comments on commit 2038b76

Please sign in to comment.