[MPlayer-cvslog] r31856 - trunk/configure
reimar
subversion at mplayerhq.hu
Thu Jul 29 11:12:33 CEST 2010
Author: reimar
Date: Thu Jul 29 11:12:33 2010
New Revision: 31856
Log:
Add a special header_check_broken to be used for broken
system headers taht do not include all dependencies
and use it for the Solaris uscsi header.
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Thu Jul 29 10:44:44 2010 (r31855)
+++ trunk/configure Thu Jul 29 11:12:33 2010 (r31856)
@@ -106,6 +106,20 @@ EOF
compile_check $TMPC $@
}
+# this is a special check only to be
+# used for broken headers that do not
+# include all dependencies
+header_check_broken() {
+ cat > $TMPC << EOF
+#include <$1>
+#include <$2>
+int main(void) { return 0; }
+EOF
+ shift
+ shift
+ compile_check $TMPC $@
+}
+
yasm_check() {
echo >> "$TMPLOG"
cat "$TMPS" >> "$TMPLOG"
@@ -3831,7 +3845,8 @@ fi #if hpux
if sunos; then
echocheck "userspace SCSI headers (Solaris)"
_sol_scsi_h=no
-header_check sys/scsi/scsi_types.h && header_check sys/scsi/impl/uscsi.h &&
+header_check sys/scsi/scsi_types.h &&
+ header_check_broken sys/types.h sys/scsi/impl/uscsi.h &&
_sol_scsi_h=yes
if test "$_sol_scsi_h" = yes ; then
def_sol_scsi_h='#define SOLARIS_USCSI 1'
More information about the MPlayer-cvslog
mailing list