diff --git a/configure.ac b/configure.ac index 04aad792e..7b8c036d0 100644 --- a/configure.ac +++ b/configure.ac @@ -229,13 +229,14 @@ fi AM_CONDITIONAL(ENABLE_UPNP, test "$enable_upnp" = "yes") AC_ARG_ENABLE(arm-acc, - AS_HELP_STRING(--disable-arm-acc,disable arm hardware acceleration), - ,[enable_arm_acc=yes]) + AS_HELP_STRING([--enable-arm-acc], [enable arm hardware acceleration @<:@default=yes@:>@]]), + [enable_arm_acc="$enableval"], + [enable_arm_acc="yes"]) -AM_CONDITIONAL(ENABLE_ARM_ACC,test "$enable_arm_acc" = "yes") if test "$enable_arm_acc" = "yes"; then - AC_DEFINE(ENABLE_ARM_ACC,1,[enable arm hardware acceleration]) + AC_DEFINE(ENABLE_ARM_ACC, 1, [enable arm hardware acceleration]) fi +AM_CONDITIONAL(ENABLE_ARM_ACC, test "$enable_arm_acc" = "yes") AC_ARG_ENABLE(extupdate, AS_HELP_STRING([--enable-extupdate], [enable extended update routine @<:@default=no@:>@]),