MacOS X fix
authorSam Lantinga <slouken@libsdl.org>
Sun, 30 Sep 2001 18:55:08 +0000
changeset 200 ec77d3d32201
parent 199 2ad0957f6265
child 201 ddee60057806
MacOS X fix
configure.in
--- a/configure.in	Sun Sep 23 22:33:19 2001 +0000
+++ b/configure.in	Sun Sep 30 18:55:08 2001 +0000
@@ -52,18 +52,7 @@
 AC_PROG_CC
 AC_C_INLINE
 AC_C_CONST
-case "$target" in
-    *-*-beos*)
-        AC_PROG_CXX
-        ;;
-    *-*-aix*)
-        AC_PROG_CXX
-        ;;
-    # This is stupid, but necessary on some versions of Linux (joysticks)
-    *-*-linux*)
-        AC_PROG_CXX
-        ;;
-esac
+AC_PROG_CXX
 AC_PROG_INSTALL
 AC_FUNC_ALLOCA
 
@@ -2201,8 +2190,10 @@
     *-*-darwin*)
         OBJC="cc"
         OBJCFLAGS="$CFLAGS"
+        OBJCDEPMODE="$CCDEPMODE"
         AC_SUBST(OBJC)
         AC_SUBST(OBJCFLAGS)
+        AC_SUBST(OBJCDEPMODE)
         ;;
 esac