From 76762393fdb8ca8df29ee921ae2c28ec218090db Mon Sep 17 00:00:00 2001 From: Patrick McCarty Date: Wed, 30 Nov 2016 23:39:26 -0800 Subject: [PATCH] configure: remove unused conditional statement An AC_ARG_WITH macro is always expanded, so the surrounding 'if' conditional is unused. Signed-off-by: Patrick McCarty --- configure.ac | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index d6d75e3f..04519c50 100644 --- a/configure.ac +++ b/configure.ac @@ -140,12 +140,12 @@ AS_IF([test "x$enable_stateless" = "xno"], # With/without options -if test "$enable_signature_verification" = "yes" ; then - AC_ARG_WITH([swupdcert], - [AS_HELP_STRING([--with-swupdcert=FILE], [swupd verification cert])], - [AC_DEFINE_UNQUOTED([SWUPDCERT], ["$withval"], [swupd verification cert])], - [AC_DEFINE([SWUPDCERT], ["ClearLinuxRoot.pem"], [swupd verification cert])]) -fi +AC_ARG_WITH( + [swupdcert], + [AS_HELP_STRING([--with-swupdcert=FILE], [swupd verification cert])], + [AC_DEFINE_UNQUOTED([SWUPDCERT], ["$withval"], [swupd verification cert])], + [AC_DEFINE([SWUPDCERT], ["ClearLinuxRoot.pem"], [swupd verification cert])] +) AS_IF([test -n "$with_swupdcert" -a "$with_swupdcert" != "no" -a "$with_swupdcert" != "yes"], [SWUPDCERT="$with_swupdcert"], [SWUPDCERT="ClearLinuxRoot.pem"]