create a symlink at mono/runtime/etc/mono/2.0/web.config similar to machine.config
authorAndrew Skiba <andrews@mono-cvs.ximian.com>
Wed, 24 May 2006 11:24:41 +0000 (11:24 -0000)
committerAndrew Skiba <andrews@mono-cvs.ximian.com>
Wed, 24 May 2006 11:24:41 +0000 (11:24 -0000)
svn path=/trunk/mono/; revision=61045

ChangeLog
configure.in
runtime/Makefile.am

index 3a73cc872ff2df51c6af3f540e7ab01222d6a3f0..af8716c85d84b6409a310d29f5e08107ea7c9e0e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-05-24  Andrew Skiba <andrews@mainsoft.com>
+
+       * configure.in, runtime/Makefile.am: create a symlink at
+       mono/runtime/etc/mono/2.0/web.config similar to machine.config
+       
 2006-05-24  Raja R Harinath  <rharinath@novell.com>
 
        * scripts/Makefile.am (scripts_1_0, scripts_2_0): Move
index d9c69efe6b7e59bf64762407f9f01512fe7d5190..e42dfd7426f7be9b284ee04f3a2283fd6eb5caea 100644 (file)
@@ -1892,6 +1892,20 @@ AC_CONFIG_COMMANDS([runtime/etc/mono/2.0/machine.config],
     cd $depth
 ],[LN_S='$LN_S'])
 
+AC_CONFIG_COMMANDS([runtime/etc/mono/2.0/web.config],
+[   depth=../../../..
+    case $srcdir in
+    [[\\/$]]* | ?:[[\\/]]* ) reldir=$srcdir ;;
+    .) reldir=$depth ;;
+    *) reldir=$depth/$srcdir ;;
+    esac
+    $ac_aux_dir/install-sh -d runtime/etc/mono/2.0
+    cd runtime/etc/mono/2.0
+    rm -f web.config
+    $LN_S $reldir/data/net_2_0/web.config web.config
+    cd $depth
+],[LN_S='$LN_S'])
+
 AC_OUTPUT([
 Makefile
 mint.pc
index 1b9881a2f08c33dc45b4de4f3a5533dba65f5df1..68b540e0f0df77b092390ac80fd2c7a44abf25a3 100644 (file)
@@ -6,10 +6,11 @@ tmpinst = _tmpinst
 noinst_SCRIPTS = mono-wrapper monodis-wrapper semdel-wrapper
 
 etctmp = etc
-symlinks = etc/mono/1.0/machine.config etc/mono/2.0/machine.config
+symlinks = etc/mono/1.0/machine.config etc/mono/2.0/machine.config etc/mono/2.0/web.config 
 
 etc/mono/1.0/machine.config: $(top_srcdir)/data/net_1_1/machine.config
 etc/mono/2.0/machine.config: $(top_srcdir)/data/net_2_0/machine.config
+etc/mono/2.0/web.config: $(top_srcdir)/data/net_2_0/web.config
 
 $(symlinks):
        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@