comparison configure.in @ 200:ec77d3d32201

MacOS X fix
author Sam Lantinga <slouken@libsdl.org>
date Sun, 30 Sep 2001 18:55:08 +0000
parents c4c4b221a5e5
children 0cc95f442f3a
comparison
equal deleted inserted replaced
199:2ad0957f6265 200:ec77d3d32201
50 AM_PROG_LIBTOOL 50 AM_PROG_LIBTOOL
51 AC_PROG_MAKE_SET 51 AC_PROG_MAKE_SET
52 AC_PROG_CC 52 AC_PROG_CC
53 AC_C_INLINE 53 AC_C_INLINE
54 AC_C_CONST 54 AC_C_CONST
55 case "$target" in 55 AC_PROG_CXX
56 *-*-beos*)
57 AC_PROG_CXX
58 ;;
59 *-*-aix*)
60 AC_PROG_CXX
61 ;;
62 # This is stupid, but necessary on some versions of Linux (joysticks)
63 *-*-linux*)
64 AC_PROG_CXX
65 ;;
66 esac
67 AC_PROG_INSTALL 56 AC_PROG_INSTALL
68 AC_FUNC_ALLOCA 57 AC_FUNC_ALLOCA
69 58
70 dnl The alpha architecture needs special flags for binary portability 59 dnl The alpha architecture needs special flags for binary portability
71 case "$target" in 60 case "$target" in
2199 # We do this here so that we get the full CFLAGS into OBJCFLAGS 2188 # We do this here so that we get the full CFLAGS into OBJCFLAGS
2200 case "$target" in 2189 case "$target" in
2201 *-*-darwin*) 2190 *-*-darwin*)
2202 OBJC="cc" 2191 OBJC="cc"
2203 OBJCFLAGS="$CFLAGS" 2192 OBJCFLAGS="$CFLAGS"
2193 OBJCDEPMODE="$CCDEPMODE"
2204 AC_SUBST(OBJC) 2194 AC_SUBST(OBJC)
2205 AC_SUBST(OBJCFLAGS) 2195 AC_SUBST(OBJCFLAGS)
2196 AC_SUBST(OBJCDEPMODE)
2206 ;; 2197 ;;
2207 esac 2198 esac
2208 2199
2209 # Finally create all the generated files 2200 # Finally create all the generated files
2210 dnl Important: Any directory that you want to be in the distcheck should 2201 dnl Important: Any directory that you want to be in the distcheck should