Skip to content

Commit

Permalink
Remove --with-[monotouch|xammac]=only from configure.
Browse files Browse the repository at this point in the history
The Xamarin.iOS and Xamarin.Mac builds don't use these options,
so remove them to reduce unnecessary complexity.
  • Loading branch information
rolfbjarne committed Jun 25, 2015
1 parent ff73b91 commit a9d8378
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 21 deletions.
8 changes: 0 additions & 8 deletions Makefile.am
Expand Up @@ -10,19 +10,11 @@ SUBDIRS = po $(libgc_dir) eglib mono $(ikvm_native_dir) support data runtime scr
## 'tools' is not normally built
DIST_SUBDIRS = m4 po $(libgc_dir) eglib mono ikvm-native support data runtime scripts man samples tools msvc docs
else
if ONLY_MONOTOUCH
SUBDIRS = $(MONOTOUCH_SUBDIRS) runtime
else
if ONLY_XAMMAC
SUBDIRS = $(libgc_dir) eglib/src mono runtime
else
SUBDIRS = po $(libgc_dir) eglib mono $(ikvm_native_dir) support data runtime scripts man samples msvc $(docs_dir)
# Keep in sync with SUBDIRS
## 'tools' is not normally built
DIST_SUBDIRS = m4 po $(libgc_dir) eglib mono ikvm-native support data runtime scripts man samples tools msvc docs
endif
endif
endif

all: update_submodules

Expand Down
6 changes: 2 additions & 4 deletions configure.ac
Expand Up @@ -3493,8 +3493,8 @@ esac

AC_ARG_WITH(profile4_5,[ --with-profile4_5=yes,no If you want to install the 4.5 FX (defaults to yes)], [], [with_profile4_5=yes])
AC_ARG_WITH(monodroid, [ --with-monodroid=yes,no If you want to build the MonoDroid assemblies (defaults to no)], [], [with_monodroid=no])
AC_ARG_WITH(monotouch, [ --with-monotouch=yes,no,only If you want to build the MonoTouch assemblies (defaults to no)], [], [with_monotouch=no])
AC_ARG_WITH(xammac, [ --with-xammac=yes,no,only If you want to build the Xamarin.Mac assemblies (defaults to no)], [], [with_xammac=no])
AC_ARG_WITH(monotouch, [ --with-monotouch=yes,no If you want to build the Xamarin.iOS assemblies (defaults to no)], [], [with_monotouch=no])
AC_ARG_WITH(xammac, [ --with-xammac=yes,no If you want to build the Xamarin.Mac assemblies (defaults to no)], [], [with_xammac=no])

OPROFILE=no
AC_ARG_WITH(oprofile,[ --with-oprofile=no,<oprofile install dir> Enable oprofile support (defaults to no)],[
Expand Down Expand Up @@ -3597,8 +3597,6 @@ AM_CONDITIONAL(INSTALL_4_5, [test "x$with_profile4_5" = xyes])
AM_CONDITIONAL(INSTALL_MONODROID, [test "x$with_monodroid" != "xno"])
AM_CONDITIONAL(INSTALL_MONOTOUCH, [test "x$with_monotouch" != "xno"])
AM_CONDITIONAL(INSTALL_XAMMAC, [test "x$with_xammac" != "xno"])
AM_CONDITIONAL(ONLY_MONOTOUCH, [test "x$with_monotouch" = "xonly"])
AM_CONDITIONAL(ONLY_XAMMAC, [test "x$with_xammac" = "xonly"])

AM_CONDITIONAL(MIPS_GCC, test ${TARGET}${ac_cv_prog_gcc} = MIPSyes)
AM_CONDITIONAL(MIPS_SGI, test ${TARGET}${ac_cv_prog_gcc} = MIPSno)
Expand Down
9 changes: 0 additions & 9 deletions runtime/Makefile.am
Expand Up @@ -25,12 +25,6 @@ $(symlinks):

SUPPORT_FILES = $(symlinks) mono-wrapper etc/mono/config

if ONLY_MONOTOUCH
build_profiles = monotouch
else
if ONLY_XAMMAC
build_profiles = xammac
else
build_profiles =

if INSTALL_4_5
Expand All @@ -52,9 +46,6 @@ endif

test_profiles = $(build_profiles)

endif
endif

if BUILD_MCS

MAKE_FLAGS=$(if $(V),,--no-print-directory -s)
Expand Down

0 comments on commit a9d8378

Please sign in to comment.