Configuration for use of libcdio on cygwin. Thanks Rocky Bernstein.

This commit is contained in:
2012-10-02 13:47:05 +00:00
parent 9367e43923
commit 58f80dad5f
3 changed files with 23 additions and 7 deletions

View File

@ -212,9 +212,17 @@ dnl ts B00107
dnl Just for the case that it is necessary to give link option -lcdio not only
dnl with libburn but also with libburn apps like xorriso.
dnl On SuSE 10.2 this is not needed. libburn finds libcdio on its own.
case $host_os in
cygwin*|mingw*)
default_libcdio=yes
;;
*)
default_libcdio=no
;;
esac
AC_ARG_ENABLE(libcdio,
[ --enable-libcdio Enable EXPERIMENTAL use of libcdio as system adapter, default=no],
, enable_libcdio=no)
[ --enable-libcdio Enable use of libcdio as system adapter, default=no (except on MSWindows)],
, enable_libcdio=$default_libcdio)
if test x$enable_libcdio = xyes; then
dnl Check whether there is libcdio-devel and libcdio-runtime.
dnl If not, erase this macro
@ -231,7 +239,7 @@ then
echo "WARNING: could not enable use of libcdio as system adapter"
fi
else
echo "enabled EXPERIMENTAL use of libcdio as system adapter"
echo "enabled use of libcdio as system adapter"
fi
AC_SUBST(LIBCDIO_DEF)