parlay

yet another gentoo overlay
git clone https://git.parazyd.org/parlay
Log | Files | Refs | README

libsecp256k1-relax.patch (1345B)


      1 diff --git a/configure.ac b/configure.ac
      2 index fc6bb1e6..58895317 100644
      3 --- a/configure.ac
      4 +++ b/configure.ac
      5 @@ -292,11 +292,11 @@ AC_MSG_NOTICE([dl_LIBS : ${dl_LIBS}])
      6  
      7  # Require secp256k1 of at least version 0.1.0.19 and output ${secp256k1_CPPFLAGS/LIBS/PKG}.
      8  #------------------------------------------------------------------------------
      9 -PKG_CHECK_MODULES([secp256k1], [libsecp256k1 >= 0.1.0.19],
     10 -    [secp256k1_INCLUDEDIR="`$PKG_CONFIG --variable=includedir "libsecp256k1 >= 0.1.0.19" 2>/dev/null`"
     11 -     secp256k1_OTHER_CFLAGS="`$PKG_CONFIG --cflags-only-other "libsecp256k1 >= 0.1.0.19" 2>/dev/null`"],
     12 -    [AC_MSG_ERROR([libsecp256k1 >= 0.1.0.19 is required but was not found.])])
     13 -AC_SUBST([secp256k1_PKG], ['libsecp256k1 >= 0.1.0.19'])
     14 +PKG_CHECK_MODULES([secp256k1], [libsecp256k1 >= 0.1],
     15 +    [secp256k1_INCLUDEDIR="`$PKG_CONFIG --variable=includedir "libsecp256k1 >= 0.1" 2>/dev/null`"
     16 +     secp256k1_OTHER_CFLAGS="`$PKG_CONFIG --cflags-only-other "libsecp256k1 >= 0.1" 2>/dev/null`"],
     17 +    [AC_MSG_ERROR([libsecp256k1 >= 0.1 is required but was not found.])])
     18 +AC_SUBST([secp256k1_PKG], ['libsecp256k1 >= 0.1'])
     19  AC_SUBST([secp256k1_CPPFLAGS], [${secp256k1_CFLAGS}])
     20  AS_IF([test x${secp256k1_INCLUDEDIR} != "x"],
     21      [AC_SUBST([secp256k1_ISYS_CPPFLAGS], ["-isystem${secp256k1_INCLUDEDIR} ${secp256k1_OTHER_CFLAGS}"])],