[MPlayer-cvslog] r32269 - trunk/configure

diego subversion at mplayerhq.hu
Thu Sep 16 16:40:44 CEST 2010


Author: diego
Date: Thu Sep 16 16:40:44 2010
New Revision: 32269

Log:
Simplify glob() check.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Thu Sep 16 16:39:40 2010	(r32268)
+++ trunk/configure	Thu Sep 16 16:40:44 2010	(r32269)
@@ -3916,13 +3916,8 @@ echores "$_gettimeofday"
 
 
 echocheck "glob()"
-cat > $TMPC << EOF
-#include <stdio.h>
-#include <glob.h>
-int main(void) { glob_t gg; glob("filename",0,NULL,&gg); return 0; }
-EOF
 _glob=no
-cc_check && _glob=yes
+function_check glob.h 'glob("filename", 0, 0, 0)' && _glob=yes
 if test "$_glob" = yes ; then
   def_glob='#define HAVE_GLOB 1'
   _need_glob=no


More information about the MPlayer-cvslog mailing list