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

This commit is contained in:
Thomas Schmitt 2012-10-02 13:47:05 +00:00
parent 002dfc88e4
commit 548128f7d2
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 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 with libburn but also with libburn apps like xorriso.
dnl On SuSE 10.2 this is not needed. libburn finds libcdio on its own. 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, AC_ARG_ENABLE(libcdio,
[ --enable-libcdio Enable EXPERIMENTAL use of libcdio as system adapter, default=no], [ --enable-libcdio Enable use of libcdio as system adapter, default=no (except on MSWindows)],
, enable_libcdio=no) , enable_libcdio=$default_libcdio)
if test x$enable_libcdio = xyes; then if test x$enable_libcdio = xyes; then
dnl Check whether there is libcdio-devel and libcdio-runtime. dnl Check whether there is libcdio-devel and libcdio-runtime.
dnl If not, erase this macro dnl If not, erase this macro
@ -231,7 +239,7 @@ then
echo "WARNING: could not enable use of libcdio as system adapter" echo "WARNING: could not enable use of libcdio as system adapter"
fi fi
else else
echo "enabled EXPERIMENTAL use of libcdio as system adapter" echo "enabled use of libcdio as system adapter"
fi fi
AC_SUBST(LIBCDIO_DEF) AC_SUBST(LIBCDIO_DEF)

View File

@ -307,10 +307,18 @@ then
fi fi
case $host_os in
cygwin*|mingw*)
default_libcdio=yes
;;
*)
default_libcdio=no
;;
esac
AH_TEMPLATE([Libburn_use_libcdiO], [Define to use libcdio as system adapter]) AH_TEMPLATE([Libburn_use_libcdiO], [Define to use libcdio as system adapter])
AC_ARG_ENABLE(libcdio, AC_ARG_ENABLE(libcdio,
[ --enable-libcdio Enable EXPERIMENTAL use of libcdio as system adapter, default=no], [ --enable-libcdio Enable use of libcdio as system adapter, default=no (except on MSWindows)],
, enable_libcdio=no) , enable_libcdio=$default_libcdio)
if test x$enable_libcdio = xyes; then if test x$enable_libcdio = xyes; then
dnl Check whether there is libcdio-devel and libcdio-runtime. dnl Check whether there is libcdio-devel and libcdio-runtime.
dnl If not, erase this macro dnl If not, erase this macro
@ -327,7 +335,7 @@ then
echo "WARNING: could not enable use of libcdio as system adapter" echo "WARNING: could not enable use of libcdio as system adapter"
fi fi
else else
echo "enabled EXPERIMENTAL use of libcdio as system adapter" echo "enabled use of libcdio as system adapter"
fi fi
if test x$LIBCDIO_DEF = x-DLibburn_use_libcdiO if test x$LIBCDIO_DEF = x-DLibburn_use_libcdiO
then then

View File

@ -1 +1 @@
#define Xorriso_timestamP "2012.09.29.173546" #define Xorriso_timestamP "2012.10.02.134601"