[vlc-commits] commit: Print a warning about static plugins and VLC only if VLC is built. (=?UTF-8?Q?R=C3=A9mi=20Duraffort=20?=)

git at videolan.org git at videolan.org
Tue Nov 23 16:53:14 CET 2010


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Tue Nov 23 16:45:45 2010 +0100| [35a39bb433a8396588a8af148515bcdf9d0d99ce] | committer: Rémi Duraffort 

Print a warning about static plugins and VLC only if VLC is built.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=35a39bb433a8396588a8af148515bcdf9d0d99ce
---

 configure.ac |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index c8db554..ad99024 100644
--- a/configure.ac
+++ b/configure.ac
@@ -105,7 +105,8 @@ AS_IF([test "${enable_static_modules}" = yes], [
    enable_shared="no"
    enable_static="yes"
    VLC_DEFAULT_PLUGIN_TYPE="builtin"
-   echo "*** WARNING: Building modules as static. VLC will not work."
+   AS_IF([test "${enable_vlc}" != "no"],
+     [AC_MSG_WARN([Building modules as static. VLC will not work.])])
 ], [
    VLC_DEFAULT_PLUGIN_TYPE="plugin"
 ])



More information about the vlc-commits mailing list