Skip to content

Commit

Permalink
PKG_CONFIG must be empty if not found
Browse files Browse the repository at this point in the history
Followup to #38954, where I
followed the pkgconf documentation to set PKG_CONFIG=false if it is
not found. But Sage uses "test -z $PKG_CONFIG", so it must instead be
set to empty.

This causes pkgconf not to be built if pkgconf/pkg-config is not
found. Which is basically only macOS.
  • Loading branch information
vbraun committed Nov 30, 2024
1 parent bf16199 commit d8078d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ dnl Exit autoconf with exit code 16 in this case. This will be
dnl caught by the bootstrap script.
m4_exit(16)])

PKG_PROG_PKG_CONFIG([0.29], [PKG_CONFIG=false])
PKG_PROG_PKG_CONFIG([0.29], [PKG_CONFIG=])

AC_CHECK_PROG(found_ranlib, ranlib, yes, no)
if test x$found_ranlib != xyes
Expand Down

0 comments on commit d8078d3

Please sign in to comment.