summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"