On Sun, 03 Dec 2006 02:59:46 +0530, B S Srinidhi wrote: > Hi, > > Please review the patch attached that checks for the existence of the > XSP package using pkg-config. > > Thanks, > Srinidhi.
=================================================================== --- configure.in (revision 6625) +++ configure.in (working copy) @@ -590,8 +590,11 @@ # Configure MONO_WEBSERVER # MONO_WEBSERVER="no" -if test -e "/usr/lib/mono/1.0/Mono.WebServer.dll"; then - MONO_WEBSERVER="yes" +#if test -e "/usr/lib/mono/1.0/Mono.WebServer.dll"; then +# MONO_WEBSERVER="yes" +#fi +if test "$SIMIAS_OS" = "linux"; then + PKG_CHECK_MODULES(MONO_WEBSERVER, xsp >= 1.1.18) fi If this is being stored in a VCS, then why keep the old test around in the file? Also, is that check going to work like you think it does? I get: eve:[~]% pkg-config --modversion xsp 0.1 This is with Debian 4.0 (what will be 4.0 at any rate), even though I have eve:[~]% dpkg -l | grep xsp ii mono-xsp 1.1.18-1 simple web server to run ASP.NET applications ii mono-xsp-base 1.1.18-1 base libraries for XSP 1.1 ii mono-xsp2 1.1.18-1 simple web server to run ASP.NET applications ii mono-xsp2-base 1.1.18-1 base libraries for XSP 2.0 installed. I think, you would be better off doing: eve:[~]% xsp --version xsp.exe 1.1.18.0 (c) (c) 2002-2006 Novell, Inc. Minimalistic web server for testing System.Web and grabbing the version from there. Finally, why are you even checking the OS type? If mono exists on the platform (for example, Mac OS X, Solaris, Windows), why _wouldn't_ you want to use the in-built webserver? Anand _______________________________________________ ifolder-dev mailing list [email protected] http://forge.novell.com/mailman/listinfo/ifolder-dev
