PKG_CHECK_MODULES: Properly check if $pkg_cv_[]$1[]_LIBS works
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 28 Jul 2020 13:59:20 +0000 (06:59 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 28 Jul 2020 13:59:30 +0000 (06:59 -0700)
commit377170fa319d39d5442b674fc978adc8f24db5e9
treee89927bdb3250038a3eb7abce9d586e57acfba92
parent866b34a12df543caae10dd5a8de988e40ee012cd
PKG_CHECK_MODULES: Properly check if $pkg_cv_[]$1[]_LIBS works

There is no need to check $pkg_cv_[]$1[]_LIBS works if package check
failed.

config/

PR binutils/26301
* pkg.m4 (PKG_CHECK_MODULES): Use AC_TRY_LINK only if
$pkg_failed = no.

binutils/

PR binutils/26301
* configure: Regenerated.

gdb/

PR binutils/26301
* configure: Regenerated.
binutils/ChangeLog
binutils/configure
config/ChangeLog
config/pkg.m4
gdb/ChangeLog
gdb/configure