Skip to content

Commit

Permalink
check for pkg-config/pkg.m4 availability
Browse files Browse the repository at this point in the history
Closes: #392
  • Loading branch information
N-R-K committed Dec 30, 2024
1 parent 1f69bb2 commit 3f07e18
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ AS_IF([test "x$orig_CFLAGS" = "x"], [
])

# Checks for libraries.
m4_ifndef([PKG_PREREQ],
[m4_fatal([either pkg-config or pkg.m4 is not installed])])
PKG_CHECK_MODULES([SCROT_DEPS], ["$srcdir/deps.pc"])

# TODO: When -Wpedantic and -Werror are both set:
Expand Down

0 comments on commit 3f07e18

Please sign in to comment.