Index: configure.ac =================================================================== RCS file: /home/wine/wine/configure.ac,v retrieving revision 1.37 diff -u -r1.37 configure.ac --- configure.ac 12 May 2002 03:16:39 -0000 1.37 +++ configure.ac 12 May 2002 19:31:31 -0000 @@ -1079,6 +1079,24 @@ fi fi +dnl **** cdrom IOCTL checks **** +AC_CACHE_CHECK( [whether cdrom_generic_command in linux/cdrom.h defines timeout], + wine_cdrom_linux_cdrom_has_timeout, + AC_TRY_COMPILE([ + #include + ],[ + struct cdrom_generic_command gen_command; + + gen_command.timeout = 0; + ],wine_cdrom_linux_cdrom_has_timeout=yes,wine_cdrom_linux_cdrom_has_timeout=no + ) +) +if test "$wine_cdrom_linux_cdrom_has_timeout" = "yes" +then + AC_DEFINE(HAVE_CDROM_TIMEOUT, 1, + [Define if the cdrom_generic_command struct defined by has the member timeout]) +fi + dnl **** statfs checks **** if test "$ac_cv_header_sys_vfs_h" = "yes"