Try detecting if the CD-ROM I/O implementation in mmedia
has some possibility of working in the host OS.. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
13
configure.in
13
configure.in
@@ -3757,6 +3757,19 @@ AC_CHECK_LIB(esd, esd_close, [
|
||||
])
|
||||
AC_SUBST(EXTRALIBS_ESD)
|
||||
|
||||
dnl check for known CD-ROM interface
|
||||
AC_MSG_CHECKING([for known CD-ROM interface])
|
||||
AC_TRY_COMPILE([#ifdef __linux__
|
||||
#include <linux/cdrom.h>
|
||||
#else
|
||||
/* For Solaris */
|
||||
#include <sys/cdio.h>
|
||||
#endif
|
||||
],
|
||||
[struct cdrom_tocentry entry, old_entry;],
|
||||
[AC_MSG_RESULT([yes])
|
||||
AC_DEFINE(HAVE_KNOWN_CDROM_INTERFACE)],
|
||||
[AC_MSG_RESULT([no])])
|
||||
|
||||
dnl ===========================================================================
|
||||
dnl Now we have all the info we need - use it!
|
||||
|
Reference in New Issue
Block a user