And update the changes file to be more specific.
Part of 32191.
o Minor features (build system):
- - force pkg-config to only use --prefix when cross-compiling.
- Closes ticket 32191.
+ - Make pkg-config use --prefix when cross-compiling, if PKG_CONFIG_PATH
+ is not set. Closes ticket 32191.
if test "x$PKG_CONFIG_PATH" = "x" && test "x$prefix" != "xNONE" && test "$host" != "$build"; then
export PKG_CONFIG_PATH=$prefix/lib/pkgconfig
AC_MSG_NOTICE([set PKG_CONFIG_PATH=$PKG_CONFIG_PATH to support cross-compiling])
- if test -f "$PKG_CONFIG_PATH/libevent.pc"; then
- echo "checking for $PKG_CONFIG_PATH/libevent.pc... yes"
- else
- AC_MSG_ERROR([$PKG_CONFIG_PATH/libevent.pc not found!])
- fi
fi
AC_ARG_ENABLE(openbsd-malloc,