Skip to content

Commit d8078d3

Browse files
committed
PKG_CONFIG must be empty if not found
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.
1 parent bf16199 commit d8078d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ dnl Exit autoconf with exit code 16 in this case. This will be
222222
dnl caught by the bootstrap script.
223223
m4_exit(16)])
224224

225-
PKG_PROG_PKG_CONFIG([0.29], [PKG_CONFIG=false])
225+
PKG_PROG_PKG_CONFIG([0.29], [PKG_CONFIG=])
226226

227227
AC_CHECK_PROG(found_ranlib, ranlib, yes, no)
228228
if test x$found_ranlib != xyes

0 commit comments

Comments
 (0)