# HG changeset patch # User Sam Lantinga # Date 1060453182 0 # Node ID 73506d26a1f4ef22bffba86c7476810dd4d8df64 # Parent be597a247e20878bffea1c1859c678aa09686f20 Fixed automake warnings about Objective C support diff -r be597a247e20 -r 73506d26a1f4 configure.in --- a/configure.in Sat Aug 09 18:12:11 2003 +0000 +++ b/configure.in Sat Aug 09 18:19:42 2003 +0000 @@ -60,7 +60,6 @@ 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 @@ # We do this here so that we get the full CFLAGS into OBJCFLAGS case "$target" in *-*-darwin*) - OBJC="cc" + 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" - OBJCDEPMODE="$CCDEPMODE" - AC_SUBST(OBJC) 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