changeset 200:ec77d3d32201

MacOS X fix
author Sam Lantinga <slouken@libsdl.org>
date Sun, 30 Sep 2001 18:55:08 +0000
parents 2ad0957f6265
children ddee60057806
files configure.in
diffstat 1 files changed, 3 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- 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