summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-06-19 13:54:48 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-06-19 13:54:48 +0000
commit38a9c8ff7aca55e42c9fd664bfd40e961636086f (patch)
tree26085fc741b34b7645c91bd2721f097bdec816ff /configure
parentba99ef4655a64dfacea2933c62c80b17bef994e4 (diff)
downloadmpv-38a9c8ff7aca55e42c9fd664bfd40e961636086f.tar.bz2
mpv-38a9c8ff7aca55e42c9fd664bfd40e961636086f.tar.xz
Add an optional third parameter to ff_config_enable in preparation
of next patches (allows to define e.g. ARCH_ instead of CONFIG_). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23584 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index 110e74a2cf..2fa8b517ea 100755
--- a/configure
+++ b/configure
@@ -7704,9 +7704,11 @@ EOF
#############################################################################
ff_config_enable () {
+_nprefix=$3;
+test -z "$_nprefix" && _nprefix='CONFIG'
for part in $1; do
if ` echo $2 | grep $part > /dev/null `; then
- echo "#define CONFIG_$part 1"
+ echo "#define ${_nprefix}_$part 1"
echo "#define ENABLE_$part 1"
else
echo "#define ENABLE_$part 0"