Author: toshok
Date: 2007-12-10 15:57:58 -0500 (Mon, 10 Dec 2007)
New Revision: 91063

Modified:
   trunk/moon/ChangeLog
   trunk/moon/configure.ac
Log:
2007-12-10  Chris Toshok  <[EMAIL PROTECTED]>

        * configure.ac: use AC_MSG_ERROR for all these error messages
        instead of echo + "exit 1". Also, make several more of the error
        conditions (like missing silver.pc/silverdesktop.pc) fatal instead
        of just echo's.



Modified: trunk/moon/ChangeLog
===================================================================
--- trunk/moon/ChangeLog        2007-12-10 20:45:25 UTC (rev 91062)
+++ trunk/moon/ChangeLog        2007-12-10 20:57:58 UTC (rev 91063)
@@ -1,3 +1,10 @@
+2007-12-10  Chris Toshok  <[EMAIL PROTECTED]>
+
+       * configure.ac: use AC_MSG_ERROR for all these error messages
+       instead of echo + "exit 1". Also, make several more of the error
+       conditions (like missing silver.pc/silverdesktop.pc) fatal instead
+       of just echo's.
+
 2007-12-04  Jeffrey Stedfast  <[EMAIL PROTECTED]>
 
        * configure.ac: Added largefile checks

Modified: trunk/moon/configure.ac
===================================================================
--- trunk/moon/configure.ac     2007-12-10 20:45:25 UTC (rev 91062)
+++ trunk/moon/configure.ac     2007-12-10 20:57:58 UTC (rev 91063)
@@ -92,8 +92,7 @@
 if pkg-config gtk+-2.0; then
    AC_MSG_RESULT(found)
 else
-   echo Gtk+ 2.0 development kit is missing
-   exit 1
+   AC_MSG_ERROR([Gtk+ 2.0 development kit is missing])
 fi
 
 AC_MSG_CHECKING(XRANDR extension)
@@ -113,9 +112,7 @@
 if pkg-config libavcodec libavformat libswscale ; then
    AC_MSG_RESULT(found)
 else
-   echo ffmpeg and its associated libraries are not installed
-   echo You need libavcodec, libavformat and libswscale development kits
-   exit 1
+   AC_MSG_ERROR([ffmpeg and its associated libraries are not installed. You 
need libavcodec, libavformat and libswscale development kits])
 fi
 
 if test $user_plugin = yes; then
@@ -142,8 +139,7 @@
 if pkg-config alsa ; then
    AC_MSG_RESULT(found)
 else
-   echo alsa development kit is missing
-   exit 1
+   AC_MSG_ERROR([alsa development kit is missing])
 fi
 
 #
@@ -153,16 +149,14 @@
 if pkg-config freetype2; then
    AC_MSG_RESULT(found)
 else
-   echo freetype2 development kit is missing
-   exit 1
+   AC_MSG_ERROR([freetype2 development kit is missing])
 fi
 
 AC_MSG_CHECKING(fontconfig)
 if pkg-config fontconfig; then
    AC_MSG_RESULT(found)
 else
-   echo fontconfig development kit is missing
-   exit 1
+   AC_MSG_ERROR([fontconfig development kit is missing.])
 fi
 
 
@@ -181,32 +175,28 @@
 if pkg-config mono; then
    AC_MSG_RESULT(found)
 else
-   echo You are missing Mono
-   echo I was looking for mono.pc file
+   AC_MSG_ERROR([You are missing Mono.  I was looking for the mono.pc file])
 fi
 
 AC_MSG_CHECKING(Olive's Silverlight)
-if pkg-config silver; then
+if pkg-config silver silverdesktop; then
    AC_MSG_RESULT(found)
 else
-   echo You are missing Mono project Olive module with Silverlight support
-   echo I was looking for silver.pc file
+   AC_MSG_ERROR([You are missing Mono project Olive module with Silverlight 
support. I was looking for the silver.pc and silverdesktop.pc files])
 fi
 
 AC_MSG_CHECKING(gtk-sharp-2.0)
 if pkg-config gtk-sharp-2.0; then
    AC_MSG_RESULT(found)
 else
-   echo gtk-sharp bindings is missing
-   exit 1
+   AC_MSG_ERROR([gtk-sharp bindings is missing])
 fi
 
 AC_MSG_CHECKING(rsvg-sharp-2.0)
 if pkg-config rsvg-sharp-2.0; then
    AC_MSG_RESULT(found)
 else
-   echo rsvg-sharp bindings is missing
-   exit 1
+   AC_MSG_ERROR([rsvg-sharp bindings is missing])
 fi
 
 
@@ -225,8 +215,7 @@
 done
 
 if test -z $mozilla_nspr; then
-   echo You need to install the Mozilla NSPR development package.
-   exit 1
+   AC_MSG_ERROR([You need to install the Mozilla NSPR development package.])
 fi
 
 AC_MSG_CHECKING(Mozilla NSS pkg-config module name)
@@ -240,8 +229,7 @@
 done
 
 if test -z $mozilla_nss; then
-   echo You need to install the Mozilla NSS development package.
-   exit 1
+   AC_MSG_ERROR([You need to install the Mozilla NSS development package.])
 fi
 
 AC_MSG_CHECKING(Mozilla XPCOM pkg-config module name)
@@ -255,8 +243,7 @@
 done
 
 if test -z $mozilla_xpcom; then
-   echo You need to install the Mozilla XPCOM development package.
-   exit 1
+   AC_MSG_ERROR([You need to install the Mozilla XPCOM development package.])
 fi
 
 AC_MSG_CHECKING(Mozilla PLUGIN pkg-config module name)
@@ -270,8 +257,7 @@
 done
 
 if test -z $mozilla_plugin; then
-   echo You need to install the Mozilla PLUGIN development package.
-   exit 1
+   AC_MSG_ERROR([You need to install the Mozilla PLUGIN development package.])
 fi
 
 XPIDL=`pkg-config --variable=libdir $mozilla_xpcom`/xpidl

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to