[vlc-commits] commit: configure.ac: do not warn against shared if you aren' t building VLC (Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Thu Dec 30 21:22:30 CET 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Nov 23 17:56:02 2010 +0100| [84e68e25cc2e10bd146e6c450ba5ba88ca1dacf9] | committer: Jean-Baptiste Kempf 

configure.ac: do not warn against shared if you aren't building VLC

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

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

diff --git a/configure.ac b/configure.ac
index eb5e29b..ad551a7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -95,7 +95,7 @@ AS_IF([test -n "${with_binary_version}"],[
 ])
 
 dnl Check how we are asked to build
-AS_IF([test "${enable_shared}" = "no"], [
+AS_IF([test "${enable_shared}" = "no" -a "${enable_vlc}" != "no"], [
   AC_MSG_ERROR([VLC is based on plugins. Shared libraries cannot be disabled.])
 ])
 



More information about the vlc-commits mailing list