GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

configure: Fix the --enable-static-tor switch

The "-static" compile flag was set globally which means that all autoconf test
were attempting to be built statically and lead to failures of detecting
OpenSSL libraries and others.

This commit adds this flag only to the "tor" binary build.

There is also a fix on where to find libevent.a since it is using libtool, it
is in .libs/.

At this commit, there are still warnings being emitted that informs the user
that the built binary must still be linked dynamically with glibc.

Fixes #40111

Signed-off-by: David Goulet <dgoulet@torproject.org>
9 jobs for ticket40111_045_01 in 67 minutes and 21 seconds (queued for 33 seconds)
latest
Status Job ID Name Coverage
  Test
passed #5921
debian-disable-dirauth

00:07:34

passed #5922
debian-disable-relay

00:09:34

passed #5917
debian-distcheck

00:11:34

passed #5918
debian-docs

00:03:53

passed #5916
debian-hardened

00:12:32

passed #5919
debian-integration

00:13:30

passed #5915
debian-minimal

00:10:11

passed #5923
debian-nss

00:10:08

passed #5920
debian-tracing

00:07:08