summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 4 insertions, 3 deletions
diff --git a/configure b/configure
index 3cfbe09e4b..020fb4ab95 100755
--- a/configure
+++ b/configure
@@ -22,13 +22,14 @@
# If you want to add a new check for $feature, here is a simple skeleton:
#
# echocheck "$feature"
-# if "$_feature" = auto; then
+# 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
@@ -2813,9 +2814,9 @@ echores "$_sighandler"
echocheck "runtime cpudetection"
if test "$_runtime_cpudetection" = yes ; then
_optimizing="Runtime CPU-Detection enabled"
- def_runtime_cpudetection='#define RUNTIME_CPUDETECT 1'
+ def_runtime_cpudetection='#define CONFIG_RUNTIME_CPUDETECT 1'
else
- def_runtime_cpudetection='#undef RUNTIME_CPUDETECT'
+ def_runtime_cpudetection='#define CONFIG_RUNTIME_CPUDETECT 0'
fi
echores "$_runtime_cpudetection"