Mercurial > mplayer.hg
changeset 7391:24c517eeac25
hpux scsi dvd support by Martin Gansser <mgansser@ngi.de>
author | alex |
---|---|
date | Fri, 13 Sep 2002 22:04:11 +0000 |
parents | 2357ee501582 |
children | e21841225e2a |
files | configure libmpdvdkit2/config.h |
diffstat | 2 files changed, 19 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Fri Sep 13 21:55:55 2002 +0000 +++ b/configure Fri Sep 13 22:04:11 2002 +0000 @@ -1902,6 +1902,21 @@ echores "$_bsdi_dvd" +echocheck "HPUX SCSI header" +cat > $TMPC << EOF +#include <sys/scsi.h> +int main(void) { return 0; } +EOF +_hpux_scsi_h=no +cc_check && _hpux_scsi_h=yes +if test "$_hpux_scsi_h" = yes ; then + _def_hpux_scsi_h='#define HPUX_SCTL 1' +else + _def_hpux_scsi_h='#undef HPUX_SCTL' +fi +echores "$_hpux_scsi_h" + + echocheck "userspace SCSI headers (Solaris)" cat > $TMPC << EOF # include <unistd.h> @@ -4459,6 +4474,7 @@ $_def_dvd_linux $_dev_dvd_openbsd $_def_sol_scsi_h +$_def_hpux_scsi_h $_def_stddef /* Common data directory (for fonts, etc) */
--- a/libmpdvdkit2/config.h Fri Sep 13 21:55:55 2002 +0000 +++ b/libmpdvdkit2/config.h Fri Sep 13 22:04:11 2002 +0000 @@ -31,6 +31,9 @@ /* Define if <extras/BSDI_dvdioctl/dvd.h> defines DVD_STRUCT. */ #undef DVD_STRUCT_IN_BSDI_DVDIOCTL_DVD_H +/* HPUX SCSI headers. */ +#undef HPUX_SCTL + /* Have userspace SCSI headers. */ #undef SOLARIS_USCSI