diff options
Diffstat (limited to 'm4/pkg.m4')
-rw-r--r-- | m4/pkg.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -86,7 +86,7 @@ dnl Check to see whether a particular set of modules exists. Similar to | |||
86 | dnl PKG_CHECK_MODULES(), but does not set variables or print errors. | 86 | dnl PKG_CHECK_MODULES(), but does not set variables or print errors. |
87 | dnl | 87 | dnl |
88 | dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) | 88 | dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) |
89 | dnl only at the first occurence in configure.ac, so if the first place | 89 | dnl only at the first occurrence in configure.ac, so if the first place |
90 | dnl it's called might be skipped (such as if it is within an "if", you | 90 | dnl it's called might be skipped (such as if it is within an "if", you |
91 | dnl have to call PKG_CHECK_EXISTS manually | 91 | dnl have to call PKG_CHECK_EXISTS manually |
92 | AC_DEFUN([PKG_CHECK_EXISTS], | 92 | AC_DEFUN([PKG_CHECK_EXISTS], |
@@ -156,7 +156,7 @@ if test $pkg_failed = yes; then | |||
156 | _PKG_SHORT_ERRORS_SUPPORTED | 156 | _PKG_SHORT_ERRORS_SUPPORTED |
157 | if test $_pkg_short_errors_supported = yes; then | 157 | if test $_pkg_short_errors_supported = yes; then |
158 | $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` | 158 | $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` |
159 | else | 159 | else |
160 | $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` | 160 | $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` |
161 | fi | 161 | fi |
162 | # Put the nasty error message in config.log where it belongs | 162 | # Put the nasty error message in config.log where it belongs |