Browse Source

Remove unused OSX support in autotools

Probably best illustrated by the fact it's still called OSX, rather than
macOS.
Bart van Strien 1 year ago
parent
commit
e4e16e8a88
2 changed files with 0 additions and 16 deletions
  1. 0 9
      platform/unix/configure.ac
  2. 0 7
      platform/unix/genmodules

+ 0 - 9
platform/unix/configure.ac

@@ -33,14 +33,6 @@ ACLOVE_CPP14_TEST
 CFLAGS="-fvisibility=hidden $CFLAGS"
 CXXFLAGS="-fvisibility=hidden -fvisibility-inlines-hidden $CXXFLAGS"
 
-# Allow people on OSX to use autotools, they need their platform files
-AC_ARG_ENABLE([osx],
-			  AC_HELP_STRING([--enable-osx], [Compile platform-specific files for OSX]), [], [enable_osx=no])
-AS_VAR_IF([enable_osx], [no], [], #else
-		  ac_cv_search_glLoadIdentity="-framework OpenGL"
-		  AC_SUBST([LDFLAGS], ["${LDFLAGS} -framework CoreFoundation -framework Cocoa"])
-		  AC_SUBST([CPPFLAGS], ["${CPPFLAGS} -I../platform/macosx"]))
-
 # --with-lua and --with-luaversion
 AC_ARG_WITH([lua], [AS_HELP_STRING([--with-lua], [Select the lua implementation])],
 	[], [with_lua=luajit])
@@ -112,7 +104,6 @@ AS_VAR_IF([enable_exe], [no], [], #else
 	  AC_DEFINE([LOVE_BUILD_EXE], [], [Skip building launcher]))
 
 AM_CONDITIONAL([LOVE_BUILD_EXE], [test "x$enable_exe" != xno])
-AM_CONDITIONAL([LOVE_TARGET_OSX], [test "x$enable_osx" != xno])
 
 # Automatic script file rebuilding
 AC_CHECK_PROGS([LUA_EXECUTABLE], ["${with_lua}${with_luaversion}" "${with_lua}" "lua"], [:])

+ 0 - 7
platform/unix/genmodules

@@ -120,15 +120,8 @@ bin_PROGRAMS = love${love_suffix}
 #love_LDFLAGS =
 love${love_amsuffix}_LDADD = liblove${love_suffix}.la \$(lua_LIBS)
 love${love_amsuffix}_SOURCES = love.cpp
-
-if LOVE_TARGET_OSX
-love${love_amsuffix}_LIBTOOLFLAGS = --tag=OBJCXX
-love${love_amsuffix}_SOURCES += \\
-    ./common/macosx.mm
-else
 love${love_amsuffix}_LIBTOOLFLAGS = --tag=CXX
 endif
-endif
 
 # Compile scripts
 .lua.lua.h: