+AC_ARG_WITH(moonlight, [ --with-moonlight=yes|no|only If you want to build Mono for Moonlight (defaults to no)],[
+ if test "x$with_moonlight" = "xyes"; then
+ AC_DEFINE(MOONLIGHT,1,[Building for Moonlight])
+ elif test "x$with_moonlight" = "xonly"; then
+ AC_DEFINE(MOONLIGHT,1,[Building for Moonlight])
+ fi
+], [with_moonlight=no])
+
+
+
+AC_CHECK_HEADER([malloc.h],
+ [AC_DEFINE([HAVE_USR_INCLUDE_MALLOC_H], [1],
+ [Define to 1 if you have /usr/include/malloc.h.])],,)
+