From dbcd6314a0ce4f871eec1dedb055c9244b1214d2 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Fri, 29 May 2020 00:44:16 +0200 Subject: [PATCH] configure: align code format of --enable/disable-arm-acc switch Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/1b4f96ffeab1e4dcdc2091818741565196be9074 Author: vanhofen Date: 2020-05-29 (Fri, 29 May 2020) Origin message was: ------------------ - configure: align code format of --enable/disable-arm-acc switch ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- configure.ac | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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@:>@]),