mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-05 13:40:49 +02:00
Close PKG_CHECK_MODULES with a no-op failure action and use a separate AS_IF to conditionally run the manual search fallback
This commit is contained in:
committed by
Daniele Lacamera
parent
7efe61fbd0
commit
8f9ecd1afb
+4
-2
@@ -3031,8 +3031,10 @@ AS_IF([test "x$with_cryptoauthlib" != "xno"], [
|
||||
LDFLAGS="$CRYPTOAUTHLIB_LIBS $LDFLAGS"
|
||||
LIBS="$CRYPTOAUTHLIB_LIBS $LIBS"
|
||||
cryptoauthlib_found="pkg-config"
|
||||
], [
|
||||
# Method 2: Manual search
|
||||
], [:])
|
||||
|
||||
# Method 2: Manual search if pkg-config failed
|
||||
AS_IF([test "x$cryptoauthlib_found" = "xno"], [
|
||||
AS_IF([test "x$with_cryptoauthlib" = "xyes"], [
|
||||
search_dirs="/usr /usr/local"
|
||||
], [
|
||||
|
||||
Reference in New Issue
Block a user