recipetool: extend curl detection when creating recipes

If a configure.ac uses LIBCURL_CHECK_CONFIG it wants curl.

(From OE-Core rev: 16e830ca1352cee61e4ae4b98b1203f849bf71f3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton 2021-12-01 15:42:32 +00:00 committed by Richard Purdie
parent ad10932343
commit 3cf97f84c6

View File

@ -545,7 +545,7 @@ class AutotoolsRecipeHandler(RecipeHandler):
deps.append('zlib') deps.append('zlib')
elif keyword in ('AX_CHECK_OPENSSL', 'AX_LIB_CRYPTO'): elif keyword in ('AX_CHECK_OPENSSL', 'AX_LIB_CRYPTO'):
deps.append('openssl') deps.append('openssl')
elif keyword == 'AX_LIB_CURL': elif keyword in ('AX_LIB_CURL', 'LIBCURL_CHECK_CONFIG'):
deps.append('curl') deps.append('curl')
elif keyword == 'AX_LIB_BEECRYPT': elif keyword == 'AX_LIB_BEECRYPT':
deps.append('beecrypt') deps.append('beecrypt')
@ -624,6 +624,7 @@ class AutotoolsRecipeHandler(RecipeHandler):
'AX_CHECK_OPENSSL', 'AX_CHECK_OPENSSL',
'AX_LIB_CRYPTO', 'AX_LIB_CRYPTO',
'AX_LIB_CURL', 'AX_LIB_CURL',
'LIBCURL_CHECK_CONFIG',
'AX_LIB_BEECRYPT', 'AX_LIB_BEECRYPT',
'AX_LIB_EXPAT', 'AX_LIB_EXPAT',
'AX_LIB_GCRYPT', 'AX_LIB_GCRYPT',