diff --git a/package/uacme/uacme.mk b/package/uacme/uacme.mk index d3d692b1f8..6dfd11895d 100644 --- a/package/uacme/uacme.mk +++ b/package/uacme/uacme.mk @@ -15,18 +15,12 @@ UACME_DEPENDENCIES = libcurl UACME_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' -ifeq ($(BR2_PACKAGE_MBEDTLS),y) -UACME_CONF_OPTS += --with-mbedtls -UACME_DEPENDENCIES += mbedtls -else -UACME_CONF_OPTS += --without-mbedtls -endif - ifeq ($(BR2_PACKAGE_GNUTLS),y) UACME_CONF_OPTS += --with-gnutls UACME_DEPENDENCIES += gnutls -else -UACME_CONF_OPTS += --without-gnutls +else ifeq ($(BR2_PACKAGE_MBEDTLS),y) +UACME_CONF_OPTS += --with-mbedtls +UACME_DEPENDENCIES += mbedtls endif $(eval $(autotools-package))