Skip to content

Commit

Permalink
configure: fixed AC_REQUIRE() usage outside the scope of AC_DEFUN()
Browse files Browse the repository at this point in the history
  • Loading branch information
jgeboski committed Jul 7, 2015
1 parent 75b3f5b commit f55536c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ m4_ifdef([AC_PROG_CC_C99], [AC_PROG_CC_C99])
# Define PKG_CHECK_VAR() for pkg-config < 0.28
m4_define_default(
[PKG_CHECK_VAR],
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])
[AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])
AS_IF([test -z "$$1"], [$1=`$PKG_CONFIG --variable="$3" "$2"`])
AS_IF([test -n "$$1"], [$4], [$5])]
)
Expand Down

0 comments on commit f55536c

Please sign in to comment.