[MPlayer-cvslog] r32367 - trunk/configure
diego
subversion at mplayerhq.hu
Sun Sep 26 21:33:48 CEST 2010
Author: diego
Date: Sun Sep 26 21:33:48 2010
New Revision: 32367
Log:
Update documentation on how to add checks; mention helper functions.
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Sun Sep 26 21:01:37 2010 (r32366)
+++ trunk/configure Sun Sep 26 21:33:48 2010 (r32367)
@@ -19,23 +19,8 @@
# - config.h contains #defines that are used in the C code.
# - config.mak is included from the Makefiles.
#
-# If you want to add a new check for $feature, here is a simple skeleton:
-#
-# echocheck "$feature"
-# if test "$_feature" = auto; then
-# cat > $TMPC << EOF
-# #include <feature.h>
-# int main(void) { return 0; }
-# EOF
-# _feature=no
-# cc_check && _feature=yes
-# fi
-# if test "$_feature" = yes ; then
-# def_feature='#define CONFIG_FEATURE 1'
-# else
-# def_feature='#undef CONFIG_FEATURE'
-# fi
-# echores "$_feature"
+# If you want to add a new check for $feature, look at the existing checks
+# and try to use helper functions where you can.
#
# Furthermore you need to add the variable _feature to the list of default
# settings and set it to one of yes/no/auto. Also add appropriate
More information about the MPlayer-cvslog
mailing list