summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2021-05-07Bump to 0.4.5.8.Nick Mathewson
2021-04-19Merge remote-tracking branch 'tor-gitlab/mr/355' into maint-0.4.5George Kadianakis
2021-04-07Try making our configure.ac script build with AC 2.70.Nick Mathewson
In versions <=2.69, according to the autoconf docs, AC_PROG_CC_C99 is needed with some compilers, if they require extra arguments to build C99 programs. In versions >=2.70, AC_PROG_CC checks for these compilers automatically, and so the AC_PROG_CC_C99 macro is obsolete. So, what can you do if you want your script to work right with both autoconf versions? IIUC, neither including AC_PROG_CC_C99 macro nor leaving it out will give you the right behavior with both versions. It looks like you need to look at the autoconf version explicitly. (Now, the autoconf manual implies that it's "against autoconf philosophy" to look at the autoconf version rather than trying the behavior to see if it works, but they don't actually tell you how to detect recoverably at autoconf-time whether a macro is obsolete or not, and I can't find a way to do that.) So, is it safe to use m4_version_prereq, like I do here? It isn't listed in the autoconf 2.63 manual (which is the oldest version we support). But a mailing list message [1] (which added the documentation back in 2008) implies that m4_version_prereq has been there since "at least back to autoconf 2.59". https://lists.gnu.org/archive/html/autoconf-patches/2008-12/msg00025.html So I think this will work. I am basing this patch against Tor 0.3.5 since, if autoconf 2.70 becomes widespread before 0.3.5 is unsupported, we might need this patch to continue 0.3.5 development. But I don't think we should backport farther than 0.4.5 until/unless that actually happens. This is part of a fix for #40355.
2021-03-16Bump version to 0.4.5.7-devNick Mathewson
2021-03-16Bump to 0.3.5.14-devNick Mathewson
2021-03-15Bump to 0.4.5.7Nick Mathewson
2021-03-15Bump to 0.3.5.14Nick Mathewson
2021-02-23Merge branch 'tor-gitlab/mr/326' into maint-0.4.5David Goulet
2021-02-23Remove mallinfo() from codebaseDavid Goulet
Now deprecated in libc >= 2.33 Closes #40309 Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-02-23Remove mallinfo() from codebaseDavid Goulet
Now deprecated in libc >= 2.33 Closes #40309 Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-02-17Make our configure.ac script use the portable `=` comparisonNick Mathewson
Back in 0.4.5.1-alpha we added an `==` comparison, which isn't portable. Fixes bug #40298; bugfix on 0.4.5.1-alpha.
2021-02-15Bump to 0.4.5.6-devNick Mathewson
2021-02-15Bump to 0.4.5.6.Nick Mathewson
2021-02-03bump to 0.4.4.7-devNick Mathewson
2021-02-03Bump to 0.3.5.13-dev.Nick Mathewson
2021-02-01bump to 0.4.5.5-rc-devNick Mathewson
2021-01-28Merge branch 'maint-0.4.3' into maint-0.4.4David Goulet
2021-01-28Merge branch 'maint-0.3.5' into maint-0.4.3David Goulet
2021-01-28Merge remote-tracking branch 'tor-gitlab/mr/186' into maint-0.3.5David Goulet
2021-01-28Bump to 0.4.5.5-rcNick Mathewson
2021-01-28Bump to 0.4.4.7Nick Mathewson
2021-01-28Bump to 0.4.3.8.Nick Mathewson
2021-01-28Bump to 0.3.5.13.Nick Mathewson
2021-01-22bump to 0.4.5.4-rc-devNick Mathewson
2021-01-22Bump to 0.4.5.4-rcNick Mathewson
2021-01-14configure: Don't print disable option for module that can't be disabledDavid Goulet
This is currently for the dircache module that can not be disabled by itself, it is only disabled from the relay module. Thus, we should not print in the configure summary the disable option. Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-01-12Bump to 0.4.5.3-rc-devNick Mathewson
2021-01-11Increment version to 0.4.5.3-rcNick Mathewson
2020-12-11configure: Revert back the static libevent pathDavid Goulet
From c618c4f27986825df2026fb22b8ee222edd1afa1, we changed the static libevent.a path to be able to use the git repository or tarball directly but that broke the "make install" setup that Tor Browser is using with Android. In other words, the git repository and tarball put the "libevent.a" in ".libs/" where "make install" puts it in "lib/". Using the --with-libevent-dir=..., which is mandatory for static libevent, autoconf will take the path and use it for the includes (-I) and library (-L) for which if it finds a "include/" and a "lib/" in the root, it will use those. However, with the git repo or tarball, the "lib/" doesn't exists thus autoconf sets the library search path to be at the root and thus fails to find the libevent.a in ".libs/". This is a whole lot more work to make both cases work in our configure.ac thus I'm reverting the change here to the Tor Browser case works again and the work around for others is to either symlink the libevent.a at the root or use a temporary make install directory. One long term fix here would likely be to ask libevent to symblink the .a into the root along the .la files and likely do the same for .so. Or, use the "lib/" structure to contain the .a + .so files. Would be better than doing ninji-tsu in our configure.ac Fixes #40225 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-12-08configure: Fix the --enable-static-tor switchDavid Goulet
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>
2020-11-23bump to 0.4.5.2-alpha-devNick Mathewson
2020-11-21Bump to 0.4.5.2-alpha.Nick Mathewson
2020-11-18Merge branch 'tor-gitlab/mr/144' into maint-0.4.5David Goulet
2020-11-12Fix typos.Samanta Navarro
Typos found with codespell. Please keep in mind that this should have impact on actual code and must be carefully evaluated: src/core/or/lttng_circuit.inc - ctf_enum_value("CONTROLER", CIRCUIT_PURPOSE_CONTROLLER) + ctf_enum_value("CONTROLLER", CIRCUIT_PURPOSE_CONTROLLER)
2020-11-12Bump to 0.4.4.6-devNick Mathewson
2020-11-12Bump to 0.4.3.7-devNick Mathewson
2020-11-12Bump to 0.3.5.12-devNick Mathewson
2020-11-09Bump to 0.4.4.6Nick Mathewson
2020-11-09Bump to 0.4.3.7Nick Mathewson
2020-11-09Bump to 0.3.5.12Nick Mathewson
2020-11-09Merge remote-tracking branch 'tor-gitlab/mr/193'Alexander Færøy
2020-11-09Merge remote-tracking branch 'tor-gitlab/mr/190'Alexander Færøy
2020-11-03configure: Check STAP_PROBEV macro when building with USDT tracingDavid Goulet
It turns out that STAP_PROBEV() is not available on FreeBSD thus having sdt/sdt.h is not enough. Look for it now at configure time. Closes #40174 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-11-02Merge branch 'tor-gitlab/mr/186'David Goulet
2020-11-01Update to 0.4.5.1-alpha-devNick Mathewson
2020-11-01Implement WIN32 tor_cond_wait using condition variables #30187Daniel Pinto
Fix bug where running a relay on Windows would use 100% CPU after some time. Makes Windows >= Vista the required Windows version to build and run tor.
2020-10-30Bump version to 0.4.5.1-alphaNick Mathewson
2020-10-28configure: disable OpenSSL deprecation warnings with OpenSSL >= 3Nick Mathewson
We can't do this in the C headers, since by the time we include `opensslv.h` in order to check the openssl version number, we will have included `openssl/macros.h`, which is the thing that checks whether we disabled deprecation warnings.
2020-10-13Merge remote-tracking branch 'tor-gitlab/mr/161'Alexander Færøy
2020-10-07Use AC_LANG_SOURCENick Mathewson