Skip to content

Commit

Permalink
fixup! configure.ac: support --with-system-secp256k1
Browse files Browse the repository at this point in the history
  • Loading branch information
whitslack committed Sep 4, 2023
1 parent 0df2d50 commit 25e1658
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,9 @@ AM_CONDITIONAL([LINK_SYSTEM_SECP256K1], [test "x$with_system_secp256k1" != xno])
AM_COND_IF([LINK_SYSTEM_SECP256K1], [
dnl Use the secp installed system-wide (after checking it for suitability)
saved_LIBS=$LIBS
PKG_CHECK_MODULES([libsecp256k1], [$with_system_secp256k1])
m4_ifdef([PKG_CHECK_MODULES],
[PKG_CHECK_MODULES([libsecp256k1], [$with_system_secp256k1])],
[AC_MSG_ERROR([You need to install pkg-config to use --with-system-secp256k1.])])
LIBS="$libsecp256k1_LIBS $LIBS"
missing_modules=
AC_DEFUN([CHECK_MODULE], [
Expand Down

0 comments on commit 25e1658

Please sign in to comment.