mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-05-16 16:18:11 +02:00
Merge branch 'orzen/support-modversion' into 'master'
pkg.m4.in: PKG_CHECK_MODULES provides modversion See merge request pkg-config/pkg-config!14
This commit is contained in:
commit
77b26ff151
1 changed files with 2 additions and 0 deletions
|
|
@ -146,6 +146,7 @@ AC_MSG_CHECKING([for $2])
|
|||
|
||||
_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
|
||||
_PKG_CONFIG([$1][_LIBS], [libs], [$2])
|
||||
_PKG_CONFIG([$1][_VERSION], [modversion], [$2])
|
||||
|
||||
m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
|
||||
and $1[]_LIBS to avoid the need to call pkg-config.
|
||||
|
|
@ -186,6 +187,7 @@ To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
|
|||
else
|
||||
$1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
|
||||
$1[]_LIBS=$pkg_cv_[]$1[]_LIBS
|
||||
$1[]_VERSION=$pkg_cv_[]$1[]_VERSION
|
||||
AC_MSG_RESULT([yes])
|
||||
$3
|
||||
fi[]dnl
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue