[MPlayer-cvslog] r23584 - trunk/configure
reimar
subversion at mplayerhq.hu
Tue Jun 19 15:54:49 CEST 2007
Author: reimar
Date: Tue Jun 19 15:54:48 2007
New Revision: 23584
Log:
Add an optional third parameter to ff_config_enable in preparation
of next patches (allows to define e.g. ARCH_ instead of CONFIG_).
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Tue Jun 19 15:54:48 2007
@@ -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"
More information about the MPlayer-cvslog
mailing list