]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
configure: Remove a check that will always fail
authorteor <teor@torproject.org>
Tue, 5 Nov 2019 05:48:01 +0000 (15:48 +1000)
committerteor <teor@torproject.org>
Tue, 5 Nov 2019 05:48:01 +0000 (15:48 +1000)
And update the changes file to be more specific.

Part of 32191.

changes/ticket32191
configure.ac

index 65e919fe0363b90a98cfd92427a9648772937511..698832811500bf3ed0c28da1565319d298e3c8c8 100644 (file)
@@ -1,3 +1,3 @@
   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.
index ece831d5bda6948b1e28cf8cb43ed7e6e656ed2c..caa2d2f7c4c11c9f74f7a5698d9d666f3dbe37ef 100644 (file)
@@ -40,11 +40,6 @@ fi
 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,