added stubs for missing public API,
[mono.git] / configure.in
index 90ffc85cf952f9e3ba908ae0addad2e35ad690f5..90d4bd1e235375de654d0fb4e615f720b77bebda 100644 (file)
@@ -1980,6 +1980,20 @@ AC_ARG_WITH(moonlight,[ --with-moonlight=yes,no   If you want to build the Moonl
        fi
 ])
 
+OPROFILE=no
+AC_ARG_WITH(oprofile,[ --with-oprofile=no,<path>   Enable oprofile support (defaults to NO)],[
+       if test x$with_oprofile != xno; then
+             OPROFILE=yes
+             OPROFILE_CFLAGS="-I$with_oprofile/include"
+             OPROFILE_LIBS=
+             AC_DEFINE(HAVE_OPROFILE,1,[Have oprofile support])
+       fi
+])
+
+AM_CONDITIONAL(HAVE_OPROFILE, test x$OPROFILE = xyes)
+AC_SUBST(OPROFILE_CFLAGS)
+AC_SUBST(OPROFILE_LIBS)
+
 libmono_ldflags="$libmono_ldflags $LIBS"
 
 AM_CONDITIONAL(INSTALL_2_0, test x$PREVIEW = xyes)
@@ -2243,6 +2257,7 @@ echo "
        JNI support: $jdk_headers_found
        libgdiplus:  $libgdiplus_msg
        zlib:        $zlib_msg
+       oprofile:    $OPROFILE
        $disabled
 
 "