[vlc-commits] configure.ac: don't fail in x26410b if library not found by default

Ilkka Ollakka git at videolan.org
Sat Mar 10 12:06:34 CET 2012


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Sat Mar 10 13:03:43 2012 +0200| [d8f49b7514cad7964a857f32f16b17e52f44e444] | committer: Ilkka Ollakka

configure.ac: don't fail in x26410b if library not found by default

Only fail if user explicitly enabled x26410b option and suitable libraries
are not found.

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

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

diff --git a/configure.ac b/configure.ac
index a630b5b..a65af5c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2813,7 +2813,9 @@ AC_ARG_WITH(x26410b-tree,
           VLC_ADD_CFLAGS([x26410b], [-DPTW32_STATIC_LIB])
         fi
     ], [
+       if test "${enable_x26410b}" == "yes"; then
         AC_MSG_ERROR([x26410b module doesn't work without staticly compiled libx264.a])
+       fi
     ])
   fi
 fi



More information about the vlc-commits mailing list