[vlc-devel] commit: Fail loudly if --enable-java-bindings is used ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed May 21 19:38:23 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Wed May 21 20:39:41 2008 +0300| [c5e0f9db280c579c65845614fda229f5363d94d1]

Fail loudly if --enable-java-bindings is used

as it does not work anymore

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

 NEWS         |    4 ++++
 configure.ac |   18 +++++-------------
 2 files changed, 9 insertions(+), 13 deletions(-)

diff --git a/NEWS b/NEWS
index ce16f17..fd72058 100644
--- a/NEWS
+++ b/NEWS
@@ -201,6 +201,10 @@ New Localizations:
  * Persian
  * Polish
 
+Developpers:
+  * LibVLC now supports externally built plugins properly.
+    A "vlc-plugin" pkg-config package is provided.
+  * Java bindings are now built from a separate source.
 
 Changes between 0.8.6e and 0.8.6f:
 ----------------------------------
diff --git a/configure.ac b/configure.ac
index 5d1ffdd..a0c5236 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6167,19 +6167,11 @@ dnl
 dnl  Java bindings
 dnl
 AC_ARG_ENABLE(java-bindings,
-  [  --enable-java-bindings  Enable Java bindings (default disabled)])
-if test "${enable_java_bindings}" = "yes"
-then
-        echo ""
-        echo "****** WARNING **** WARNING ***** WARNING *************"
-        echo "*** To compile the java bindings go to the "
-        echo "*** bindings/java folder and run mvn install. "
-	echo "*** You need maven2 installed. "
-	echo "*** This configuration will continue, so you will be "
-	echo "*** able to compile VideoLAN as usual. "
-        echo "*******************************************************"
-        echo ""
-fi
+  [  --enable-java-bindings  Always fail for historical reasons],,
+  [enable_java_bindings="no"])
+AS_IF([test "${enable_java_bindings}" != "no"], [
+  AC_MSG_ERROR([Java bindings are now built from a separate source package])
+])
 
 dnl
 dnl  test plugins




More information about the vlc-devel mailing list