[MPlayer-cvslog] r32249 - trunk/configure

diego subversion at mplayerhq.hu
Tue Sep 14 19:20:49 CEST 2010


Author: diego
Date: Tue Sep 14 19:20:49 2010
New Revision: 32249

Log:
Simplify libggiwmh check.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Tue Sep 14 19:14:34 2010	(r32248)
+++ trunk/configure	Tue Sep 14 19:20:49 2010	(r32249)
@@ -4730,11 +4730,10 @@ echocheck "GGI extension: libggiwmh"
 if test "$_ggiwmh" = auto ; then
   _ggiwmh=no
   cat > $TMPC << EOF
-#include <ggi/ggi.h>
 #include <ggi/wmh.h>
-int main(void) { ggiInit(); ggiWmhInit(); return 0; }
+int main(void) { ggiWmhInit(); return 0; }
 EOF
-  cc_check -lggi -lggiwmh && _ggiwmh=yes
+  function_check ggi/wmh.h 'ggiWmhInit()' -lggi -lggiwmh && _ggiwmh=yes
 fi
 # needed to get right output on obscure combination
 # like --disable-ggi --enable-ggiwmh


More information about the MPlayer-cvslog mailing list