summaryrefslogtreecommitdiff
path: root/m4/pkg.m4
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-04-27 23:29:48 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2021-04-28 10:25:39 +0200
commit1b87a306f0ec3da8bdb1907e2b4efb9e1b3cb9bd (patch)
treeb2c2e39f0815220bc8f23af2c97dbe4d4612ad0e /m4/pkg.m4
parent5e347ac9df8b49503a1fdfa38707a99a6b2b3b0c (diff)
- fix misc typos
Diffstat (limited to 'm4/pkg.m4')
-rw-r--r--m4/pkg.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/pkg.m4 b/m4/pkg.m4
index 4688002e4..bba798444 100644
--- a/m4/pkg.m4
+++ b/m4/pkg.m4
@@ -86,7 +86,7 @@ dnl Check to see whether a particular set of modules exists. Similar to
dnl PKG_CHECK_MODULES(), but does not set variables or print errors.
dnl
dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
-dnl only at the first occurence in configure.ac, so if the first place
+dnl only at the first occurrence in configure.ac, so if the first place
dnl it's called might be skipped (such as if it is within an "if", you
dnl have to call PKG_CHECK_EXISTS manually
AC_DEFUN([PKG_CHECK_EXISTS],
@@ -156,7 +156,7 @@ if test $pkg_failed = yes; then
_PKG_SHORT_ERRORS_SUPPORTED
if test $_pkg_short_errors_supported = yes; then
$1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
- else
+ else
$1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
fi
# Put the nasty error message in config.log where it belongs