Skip to content

Commit

Permalink
Allow overriding pkg-config
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrojnar committed Feb 24, 2025
1 parent b5c3bd9 commit 49b9b5d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,16 @@ ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])

AC_CANONICAL_HOST
AC_PROG_CC
PKG_PROG_PKG_CONFIG
AC_C_BIGENDIAN

AC_ARG_WITH([pkg-config],
AS_HELP_STRING([--with-pkg-config=PATH],
[Specify the pkg-config program to use (default: pkg-config)]),
[PKG_CONFIG="$withval"],
[PKG_CONFIG="pkg-config"])
AC_SUBST([PKG_CONFIG])
PKG_PROG_PKG_CONFIG

# we need to set our soversion based on openssl's soversion to avoid
# issues with applications linking to new openssl, old libp11, and vice versa
opensslversion="$( \
Expand Down

0 comments on commit 49b9b5d

Please sign in to comment.