summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-09-26 19:33:48 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:18:08 +0200
commit2ff81f766cb0b3186add5fa442d031f424768a4b (patch)
tree2e802a7566f7de73c55780d7c2357fe17c9f4203 /configure
parent993f99fc2e044b34af0d6c8ac4470f245c76b0b0 (diff)
downloadmpv-2ff81f766cb0b3186add5fa442d031f424768a4b.tar.bz2
mpv-2ff81f766cb0b3186add5fa442d031f424768a4b.tar.xz
configure: update documentation comments about adding checks
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32367 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure19
1 files changed, 2 insertions, 17 deletions
diff --git a/configure b/configure
index 5faab19244..8916cedc6f 100755
--- a/configure
+++ b/configure
@@ -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