[MPlayer-cvslog] r32248 - trunk/configure
diego
subversion at mplayerhq.hu
Tue Sep 14 19:14:34 CEST 2010
Author: diego
Date: Tue Sep 14 19:14:34 2010
New Revision: 32248
Log:
Simplify kstat check.
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Tue Sep 14 19:08:54 2010 (r32247)
+++ trunk/configure Tue Sep 14 19:14:34 2010 (r32248)
@@ -3036,12 +3036,8 @@ echores "$_builtin_expect"
echocheck "kstat"
-cat > $TMPC << EOF
-#include <kstat.h>
-int main(void) { kstat_open(); kstat_close(0); return 0; }
-EOF
_kstat=no
-cc_check -lkstat && _kstat=yes
+function_check kstat.h 'kstat_open()' -lkstat && _kstat=yes
if test "$_kstat" = yes ; then
def_kstat="#define HAVE_LIBKSTAT 1"
extra_ldflags="$extra_ldflags -lkstat"
More information about the MPlayer-cvslog
mailing list