File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -423,13 +423,15 @@ dnl 3 -> result assignment string
423
423
dnl 4 -> action if found
424
424
dnl 5 -> action if not found
425
425
AC_DEFUN ( [ _OAC_CHECK_PACKAGE_PKGCONFIG_RUN] , [
426
+ check_package_pkgconfig_run_happy=no
426
427
AS_IF ( [ test -n "${PKG_CONFIG}"] ,
427
428
[ OAC_LOG_COMMAND([ check_package_pkgconfig_run_results=`${PKG_CONFIG} $2 $1 2>&1`] ,
428
429
[ AS_VAR_COPY ( [ $3 ] , [ check_package_pkgconfig_run_results] )
429
- $4 ] ,
430
- [ $5 ] )
430
+ check_package_pkgconfig_run_happy=yes] )
431
431
OAC_LOG_MSG([ pkg-config output: ${check_package_pkgconfig_run_results}] , [ 1] )] )
432
+ AS_IF ( [ test "${check_package_pkgconfig_run_happy}" = "yes"] , [ $4 ] , [ $5 ] )
432
433
AS_UNSET ( [ check_package_pkgconfig_run_results] )
434
+ AS_UNSET ( [ check_package_pkgconfig_run_happy] )
433
435
] )
434
436
435
437
You can’t perform that action at this time.
0 commit comments