X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/73d617c9c7c51bfcf167bbafbd7c3b64f68bb1ff..18dbdd3c2785b504c02ebf3739503a0183cae39b:/configure.in diff --git a/configure.in b/configure.in index 8d80d2d685..07da7033ad 100644 --- a/configure.in +++ b/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 + #else + /* For Solaris */ + #include + #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!