Add check to prevent bogus reports from Solaris users
authorMiguel de Icaza <miguel@gnome.org>
Sat, 26 Apr 2008 05:20:34 +0000 (05:20 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Sat, 26 Apr 2008 05:20:34 +0000 (05:20 -0000)
svn path=/trunk/mono/; revision=101904

configure.in

index 48e6162bf2b91f1e964c5e9f834b6f503f06cbaa..0d18be9530cdde596ea6da487143985b2c2a643f 100644 (file)
@@ -402,6 +402,18 @@ else
   mcsdir=../mcs
 fi
 
+#
+# A sanity check to catch cases where the package was unpacked
+# with an ancient tar program (Solaris)
+#
+AC_MSG_CHECKING(Integrity of package)
+if test -f $mcsdir/class/System.Web.Extensions/Test/AUT/System.Web.UI.UpdatePanel.CreateContentTemplateContainer/UpdatePanelCreateContentTemplateContainerCS.aspx; then
+   AC_MSG_RESULT(ok)
+else
+   errorm="Your mono distribution is incomplete;  if unpacking from a tar file, make sure you use GNU tar;  see http://www.mono-project.com/IncompletePackage for more details"
+   AC_MSG_ERROR([$errorm])
+fi
+
 mcs_topdir='$(top_srcdir)/'$mcsdir
 mcs_topdir_from_srcdir='$(top_builddir)/'$mcsdir