[vlc-devel] [PATCH] Some better warnings for missing libraries

Austin English austinenglish at gmail.com
Mon Apr 6 00:21:18 CEST 2009


Noticed these when compiling on Ubuntu Intrepid.

-- 
-Austin
-------------- next part --------------
diff --git a/configure.ac b/configure.ac
index a4a7d50..1b43dcb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3100,7 +3100,7 @@ then
       VLC_ADD_CFLAGS([swscale],[$SWSCALE_CFLAGS])
       VLC_RESTORE_FLAGS
     ],[
-      AC_MSG_WARN([Could not find libswscale. Trying to enable imgresample.])
+      AC_MSG_WARN([Could not find libswscale. Trying to enable imgresample.  Use --disable-swscale to ignore this error.])
       enable_imgresample=yes
   ])
 fi
@@ -3165,7 +3165,7 @@ then
       VLC_ADD_CFLAGS([postproc],[$POSTPROC_CFLAGS])
       VLC_RESTORE_FLAGS
     ],[
-      AC_MSG_ERROR([Could not find libpostproc.])
+      AC_MSG_ERROR([Could not find libpostproc. Use --disable-postproc to ignore this error.])
   ])
 fi
 


More information about the vlc-devel mailing list