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
423423dnl 4 -> action if found
424424dnl 5 -> action if not found
425425AC_DEFUN ( [ _OAC_CHECK_PACKAGE_PKGCONFIG_RUN] , [
426+ check_package_pkgconfig_run_happy=no
426427 AS_IF ( [ test -n "${PKG_CONFIG}"] ,
427428 [ OAC_LOG_COMMAND([ check_package_pkgconfig_run_results=`${PKG_CONFIG} $2 $1 2>&1`] ,
428429 [ AS_VAR_COPY ( [ $3 ] , [ check_package_pkgconfig_run_results] )
429- $4 ] ,
430- [ $5 ] )
430+ check_package_pkgconfig_run_happy=yes] )
431431 OAC_LOG_MSG([ pkg-config output: ${check_package_pkgconfig_run_results}] , [ 1] )] )
432+ AS_IF ( [ test "${check_package_pkgconfig_run_happy}" = "yes"] , [ $4 ] , [ $5 ] )
432433 AS_UNSET ( [ check_package_pkgconfig_run_results] )
434+ AS_UNSET ( [ check_package_pkgconfig_run_happy] )
433435] )
434436
435437
You can’t perform that action at this time.
0 commit comments