mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-09-07 22:21:32 +00:00
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 <patrick.mccarty@intel.com>
This commit is contained in:
+6
-6
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user