comparison configure.in @ 675:73506d26a1f4

Fixed automake warnings about Objective C support
author Sam Lantinga <slouken@libsdl.org>
date Sat, 09 Aug 2003 18:19:42 +0000
parents fbec2501cf9f
children 7f691fa4c1c7
comparison
equal deleted inserted replaced
674:be597a247e20 675:73506d26a1f4
58 AC_SUBST(ASFLAGS) 58 AC_SUBST(ASFLAGS)
59 CCAS="$CC" 59 CCAS="$CC"
60 AC_SUBST(CCAS) 60 AC_SUBST(CCAS)
61 CCASFLAGS="" 61 CCASFLAGS=""
62 AC_SUBST(CCASFLAGS) 62 AC_SUBST(CCASFLAGS)
63 AM_CONDITIONAL([am__fastdepOBJC], false)
64 63
65 dnl The alpha architecture needs special flags for binary portability 64 dnl The alpha architecture needs special flags for binary portability
66 case "$target" in 65 case "$target" in
67 alpha*-*-linux*) 66 alpha*-*-linux*)
68 if test x$ac_cv_prog_gcc = xyes; then 67 if test x$ac_cv_prog_gcc = xyes; then
2594 2593
2595 # Check for darwin at the very end and set up the Objective C compiler 2594 # Check for darwin at the very end and set up the Objective C compiler
2596 # We do this here so that we get the full CFLAGS into OBJCFLAGS 2595 # We do this here so that we get the full CFLAGS into OBJCFLAGS
2597 case "$target" in 2596 case "$target" in
2598 *-*-darwin*) 2597 *-*-darwin*)
2599 OBJC="cc" 2598 dnl AC_PROG_OBJC doesn't seem to exist, this is the SDL workaround
2599 AC_MSG_CHECKING(for an Objective-C compiler)
2600 OBJC="$CC"
2601 AC_SUBST(OBJC)
2600 OBJCFLAGS="$CFLAGS" 2602 OBJCFLAGS="$CFLAGS"
2601 OBJCDEPMODE="$CCDEPMODE"
2602 AC_SUBST(OBJC)
2603 AC_SUBST(OBJCFLAGS) 2603 AC_SUBST(OBJCFLAGS)
2604 dnl _AM_DEPENDENCIES(OBJC) doesn't work, so hard code OBJCDEPMODE here
2605 dnl _AM_DEPENDENCIES(OBJC)
2606 OBJCDEPMODE="depmode=gcc3"
2604 AC_SUBST(OBJCDEPMODE) 2607 AC_SUBST(OBJCDEPMODE)
2608 AC_MSG_RESULT(not implemented yet)
2605 ;; 2609 ;;
2606 esac 2610 esac
2607 2611
2608 # Finally create all the generated files 2612 # Finally create all the generated files
2609 dnl Important: Any directory that you want to be in the distcheck should 2613 dnl Important: Any directory that you want to be in the distcheck should