configure.ac: don't fail in x26410b if library not found by default
authorIlkka Ollakka <ileoo@videolan.org>
Sat, 10 Mar 2012 11:03:43 +0000 (13:03 +0200)
committerIlkka Ollakka <ileoo@videolan.org>
Sat, 10 Mar 2012 11:05:19 +0000 (13:05 +0200)
Only fail if user explicitly enabled x26410b option and suitable libraries
are not found.

configure.ac

index a630b5b..a65af5c 100644 (file)
@@ -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