Author: reimar Date: Thu Jul 29 11:15:32 2010 New Revision: 31857 Log: Use header_check_broken to simplify cdio.h check. Modified: trunk/configure Modified: trunk/configure ============================================================================== --- trunk/configure Thu Jul 29 11:12:33 2010 (r31856) +++ trunk/configure Thu Jul 29 11:15:32 2010 (r31857) @@ -3777,14 +3777,8 @@ echores "$_dvdio" echocheck "sys/cdio.h" _cdio=no -cat > $TMPC << EOF -// types.h needed to workaround broken headers -// on e.g. OpenSolaris -#include <sys/types.h> -#include <sys/cdio.h> -int main(void) { return 0; } -EOF -compile_check $TMPC && _cdio=yes +# at least OpenSolaris has a broken cdio.h +header_check_broken sys/types.h sys/cdio.h && _cdio=yes if test "$_cdio" = yes ; then def_cdio='#define DVD_STRUCT_IN_SYS_CDIO_H 1' else
participants (1)
-
reimar