* Makefile: Added new make target 'consolidate-test-results'.
[mono.git] / configure.in
index 224c3402862be6af4dd3cb0d1d5df46f44f8c995..f7b025dbdaab8e6885170df5c2707d91c5f25287 100644 (file)
@@ -358,6 +358,11 @@ fi
 AC_ARG_WITH(sigaltstack, [  --with-sigaltstack=yes,no      enable/disable support for sigaltstack],[],[with_sigaltstack=no])
 
 AC_ARG_WITH(static_mono, [  --with-static_mono=yes,no      link mono statically to libmono (faster)],[],[with_static_mono=yes])
+
+if test "x$enable_static" = "xno"; then
+   with_static_mono=no
+fi
+
 AM_CONDITIONAL(STATIC_MONO, test x$with_static_mono != xno)
 
 # assembly bundle support, see metadata/make-bundle.pl for more info