dnl **********************************
dnl *** Checks for MonoPosixHelper ***
dnl **********************************
- AC_CHECK_FUNC(setkey, ,
- AC_CHECK_LIB(crypt, setkey, [
- AC_DEFINE(HAVE_SETKEY, 1, [Define if setkey(3) is available])
- CRYPT_LIBS="-lcrypt"
- ])
- )
- AC_SUBST(CRYPT_LIBS)
AC_CHECK_HEADERS(checklist.h)
AC_CHECK_HEADERS(fstab.h)
AC_CHECK_HEADERS(attr/xattr.h)
AC_CONFIG_FILES([runtime/monodis-wrapper],[chmod +x runtime/monodis-wrapper])
AC_CONFIG_FILES([runtime/semdel-wrapper],[chmod +x runtime/semdel-wrapper])
-AC_CONFIG_COMMANDS([runtime/etc/mono/config],
-[ depth=../../..
- case $srcdir in
- [[\\/$]]* | ?:[[\\/]]* ) reldir=$srcdir ;;
- .) reldir=$depth ;;
- *) reldir=$depth/$srcdir ;;
- esac
- $ac_aux_dir/install-sh -d runtime/etc/mono
- cd runtime/etc/mono
- rm -f config
- $LN_S $reldir/data/config config
- cd $depth
-],[LN_S='$LN_S'])
-
AC_CONFIG_COMMANDS([runtime/etc/mono/1.0/machine.config],
[ depth=../../../..
case $srcdir in
$disabled
"
-if test x$with_static_mono = xno; then
+if test x$with_static_mono = xno -a "x$platform_win32" != "xyes"; then
AC_MSG_WARN(Turning off static Mono is a risk, you might run into unexepcted bugs)
fi