[MPlayer-cvslog] r32375 - trunk/configure
diego
subversion at mplayerhq.hu
Sun Sep 26 23:48:28 CEST 2010
Author: diego
Date: Sun Sep 26 23:48:28 2010
New Revision: 32375
Log:
Simplify jpeglib check with header_check_broken().
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Sun Sep 26 23:32:54 2010 (r32374)
+++ trunk/configure Sun Sep 26 23:48:28 2010 (r32375)
@@ -4935,15 +4935,7 @@ fi
echocheck "JPEG support"
if test "$_jpeg" = auto ; then
_jpeg=no
-cat > $TMPC << EOF
-#include <stdio.h>
-#include <stdlib.h>
-#include <setjmp.h>
-#include <string.h>
-#include <jpeglib.h>
-int main(void) { return 0; }
-EOF
- cc_check -ljpeg $_ld_lm && _jpeg=yes
+ header_check_broken stdio.h jpeglib.h -ljpeg $_ld_lm && _jpeg=yes
fi
echores "$_jpeg"
More information about the MPlayer-cvslog
mailing list