configure: Remove a check that will always fail

And update the changes file to be more specific.

Part of 32191.
This commit is contained in:
teor 2019-11-05 15:48:01 +10:00
parent 2a349006b9
commit 804d7c9bfc
No known key found for this signature in database
GPG Key ID: 10FEAA0E7075672A
2 changed files with 2 additions and 7 deletions

View File

@ -1,3 +1,3 @@
o Minor features (build system): o Minor features (build system):
- force pkg-config to only use --prefix when cross-compiling. - Make pkg-config use --prefix when cross-compiling, if PKG_CONFIG_PATH
Closes ticket 32191. is not set. Closes ticket 32191.

View File

@ -40,11 +40,6 @@ fi
if test "x$PKG_CONFIG_PATH" = "x" && test "x$prefix" != "xNONE" && test "$host" != "$build"; then if test "x$PKG_CONFIG_PATH" = "x" && test "x$prefix" != "xNONE" && test "$host" != "$build"; then
export PKG_CONFIG_PATH=$prefix/lib/pkgconfig export PKG_CONFIG_PATH=$prefix/lib/pkgconfig
AC_MSG_NOTICE([set PKG_CONFIG_PATH=$PKG_CONFIG_PATH to support cross-compiling]) 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 fi
AC_ARG_ENABLE(openbsd-malloc, AC_ARG_ENABLE(openbsd-malloc,