libbluray | branch: master | hpi1 <[email protected]> | Sun Feb 15 12:35:09 2015 +0200| [2d2d09f4fae5c10744398094ff57137d8c52110d] | committer: hpi1
Fix configure with --enable-udf when cross compiling > http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=2d2d09f4fae5c10744398094ff57137d8c52110d --- configure.ac | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 3609d88..94166d2 100644 --- a/configure.ac +++ b/configure.ac @@ -241,9 +241,10 @@ dnl bootclasspath AC_SUBST(BDJ_BOOTCLASSPATH) dnl udf support (using git submodule) -AS_IF([test "x$enable_udf" = "xyes"], - [ AC_CHECK_FILE([${srcdir}/contrib/libudfread/src/udfread.h],, [AC_MSG_ERROR("libudfread source tree not found")]) - +AS_IF([test "x$enable_udf" = "xyes"], [ + if test ! -f "${srcdir}/contrib/libudfread/src/udfread.h"; then + AC_MSG_ERROR("libudfread source tree not found") + fi AC_CHECK_HEADERS([unistd.h fcntl.h]) AS_IF([test "${SYS}" != "mingw32"], [ AC_CHECK_FUNC([pread],, [AC_MSG_ERROR("Function pread not found. Try with --disable-udf.")]) _______________________________________________ libbluray-devel mailing list [email protected] https://mailman.videolan.org/listinfo/libbluray-devel
