]> git.sesse.net Git - vlc/blobdiff - configure.ac
Fix return value
[vlc] / configure.ac
index e5133b24a6ce0907a8499c70e1b396421cbc0fc1..4e3239ad8a6ec78f0d2bc7a3bd55dd17135f5bed 100644 (file)
@@ -5390,11 +5390,13 @@ AC_ARG_ENABLE(ncurses,
         VLC_ADD_LIBS([ncurses],[-lncursesw])
         ALIASES="${ALIASES} nvlc"
         AC_DEFINE([HAVE_NCURSESW], 1, [Define to 1 if you have libncursesw.])
+        AC_CHECK_LIB(tinfo, tgetent, VLC_ADD_LIBS([ncurses],[-ltinfo]))
         ],
         [AC_CHECK_LIB( ncurses, mvprintw,
           [VLC_ADD_PLUGINS([ncurses])
           ALIASES="${ALIASES} nvlc"
-          VLC_ADD_LIBS([ncurses],[-lncurses])],
+          VLC_ADD_LIBS([ncurses],[-lncurses])
+          AC_CHECK_LIB(tinfo, tgetent, VLC_ADD_LIBS([ncurses],[-ltinfo]))],
           [AS_IF([test "x${enable_ncurses}" != "x"], [
             AC_MSG_ERROR([libncurses not found])])]
         )]
@@ -5987,10 +5989,11 @@ 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 ant.
-       echo "*** This configuration will continue, so you will be
-       echo "*** able to compile VideoLAN as usual.
+        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