aboutsummaryrefslogtreecommitdiff
path: root/acinclude.m4
AgeCommit message (Collapse)Author
2021-01-13m4: Change LIBS order of TOR_SEARCH_LIBRARY()David Goulet
Some gcc versions do explode if the order of the linker flags are not correct. One issue was statically building OpenSSL which would require that "-lssl -lcrypto" be put _before_ the "-lpthread -ldl" flags. I have not such problem with GCC 10 but does with GCC 9. Closes #33624 Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-01-16Bump copyright date to 2019Nick Mathewson
2018-06-20Update copyrights to 2018.Nick Mathewson
2017-03-15Run the copyright update script.Nick Mathewson
2016-12-23Add a cross-compile action to AC_RUN_IFELSEcypherpunks
2016-12-23Replace obsolete macros with modern equivalentscypherpunks
2016-06-11Resolve some warnings from OSX clang.Nick Mathewson
2016-05-12Add -ftrapv to gcc-hardening ... mostly!Nick Mathewson
We know there are overflows in curve25519-donna-c32, so we'll have to have that one be fwrapv. Only apply the asan, ubsan, and trapv options to the code that does not need to run in constant time. Those options introduce branches to the code they instrument. (These introduced branches should never actually be taken, so it might _still_ be constant time after all, but branch predictors are complicated enough that I'm not really confident here. Let's aim for safety.) Closes 17983.
2016-03-11Fedora Core->Fedora; yum->dnf.Nick Mathewson
Closes 18426 and 18459.
2015-03-15Be consistent with capitalization, quoting, and spacing of help strings.cypherpunks
2015-01-02Bump copyright dates to 2015, in case someday this matters.Nick Mathewson
2014-10-28Add another year to our copyright dates.Nick Mathewson
Because in 95 years, we or our successors will surely care about enforcing the BSD license terms on this code. Right?
2014-06-02remove a stray " while warning about missing packages on redhatRoger Dingledine
2013-10-21Give a better warning when stack protection breaks linking.Nick Mathewson
Fix for 9948; patch from Benedikt Gollatz.
2013-01-16Update the copyright date to 201.Nick Mathewson
2012-09-04Rename configure.in to configure.acNick Mathewson
This is the preferred filename to use with Autoconf 2.50 and later.
2012-06-18oops: AC_RUN_IFELSE gets offended if I don't give it a AC_LANG_PROGRAMNick Mathewson
2012-06-18More sophisticated attempt at detecting working linker optionsNick Mathewson
On some platforms, the linker is perfectly happy to produce binaries that won't run if you give it the wrong set of flags. So when not cross-compiling, try to link-and-run a little test program, rather than just linking it. Possible fix for 6173.
2012-06-13Merge remote-tracking branch 'public/bug5210'Nick Mathewson
2012-06-11Make our compiler-hardening checks robust against MinGWNick Mathewson
First, specify -Werror when we are testing each option; if it causes a warning to appear, we shouldn't be adding it. Second, do not attempt to add these options until after we have found the libraries we want. Previously, I would hit a bug where the linker hardening options worked fine when we weren't linking anything, but failed completely once we added openssl or libevent.
2012-06-04Update copyright dates to 2012; add a few missing copyright statementsNick Mathewson
2012-05-11Make the option-checker code work with osx clangNick Mathewson
This is a matter of making gcc and friends squirm more loudly when they get an option they don't like (-pedantic) and making clang shut up with it gets an option it tolerates but doesnt know (-Qunknown-argument). Is there no better way?
2012-05-11Try to manually test for whether the compiler hardening flags workNick Mathewson
Also, make the check for whether they're on by default work; there's no need to mess around with this "$enableval" silliness.
2010-10-11Fix warnings with new versions of autoconfSebastian Hahn
It looks like autoconf 2.68 introduced a bunch of new warnings when it didn't like the syntax you used or forgot to use AC_LANG_(SOURCE|PROGRAM).
2010-01-24Merge commit 'origin/maint-0.2.1'Nick Mathewson
Resolved conflicts in: configure.in src/or/Makefile.am src/tools/Makefile.am
2010-01-24Add --enable-static-(openssl|libevent) optionsNick Mathewson
These options only work when using --with-(openssl|libevent)-dir to explicitly pick a libevent or openssl location.
2009-05-05Remove all svn metadata minus what I missed.Sebastian Hahn
Tor doesn't use SVN anymore, making $Revision$, $Id$ and $Date$ meaningless. Remove them without replacement.
2008-08-22 r17853@tombo: nickm | 2008-08-22 12:55:00 -0400Nick Mathewson
Oops. We had been telling people to use --with-ssl-dir, which had not worked since 0.2.0.1-alpha: --with-openssl-dir was the one that worked. Make them both work, document --with-openssl-dir, and mark --with-ssl-dir as obsolete. Found by "Dave". svn:r16625
2008-08-22 r17852@tombo: nickm | 2008-08-22 12:31:03 -0400Nick Mathewson
Fix typo in acinclude.m4 svn:r16624
2008-02-07Update some copyright notices: it is now 2008.Nick Mathewson
svn:r13412
2008-02-07 r17957@catbus: nickm | 2008-02-06 20:08:29 -0500Nick Mathewson
Oops; left a dquote out of acinclude.m4 svn:r13410
2008-01-30 r13971@tombo: nickm | 2008-01-30 14:25:25 -0500Nick Mathewson
Write a new autoconf macro to test whether a function is declared. It is suboptimal and possibly buggy in some way, but it seems to work for me. use it to test for a declaration of malloc_good_size, so we can workaround operating systems (like older OSX) that have the function in their libc but do not deign to declare it in their headers. Should resolve bug 587. svn:r13339
2007-12-23 r15646@tombo: nickm | 2007-12-23 13:17:33 -0500Nick Mathewson
Handle cross-compilation more sanely: avoid most uses of the (never-defined!) CROSS_COMPILE variable; in the one place where we cannot help it, use the correct cross_compiling. svn:r12945
2007-12-11 r17090@catbus: nickm | 2007-12-11 18:05:24 -0500Nick Mathewson
Fix some autoconf bugs, and prevent more from occurring. Partial backport candidate. svn:r12767
2007-06-01 r13131@catbus: nickm | 2007-06-01 06:20:29 -0400Nick Mathewson
Test for ~/.svk/local, not ~/.svk. Eschew use of test -a and test -o. Bulletproof more against odd shells. svn:r10439
2007-05-27 r12994@catbus: nickm | 2007-05-27 11:33:34 -0400Nick Mathewson
When telling the admin that they will need to install a main package, tell them that they will probably need the dev package too. svn:r10366
2007-05-26 r12992@catbus: nickm | 2007-05-25 20:39:07 -0400Nick Mathewson
Oops. we actually _do_ need the extended path; we just do not want to persist it. svn:r10349
2007-05-26 r12990@catbus: nickm | 2007-05-25 20:35:27 -0400Nick Mathewson
Ah, maybe _this_ is the patch that will make IRIX builds happy again. svn:r10348
2007-05-25 r12984@catbus: nickm | 2007-05-25 19:59:41 -0400Nick Mathewson
Do not alter CPPFLAGS until we are actually done with the rest of configure.in: this way, we notice if there are library paths that we are missing. svn:r10345
2007-05-01 r12603@catbus: nickm | 2007-04-30 21:08:10 -0400Nick Mathewson
Fix bug in 10072 that prevented correct detection of include and lib subdirectories svn:r10078
2007-04-30 r12591@catbus: nickm | 2007-04-30 16:50:03 -0400Nick Mathewson
Minimize the libraries that we link things against: there is no reason to link tor-resolve against zlib, openssl, or libevent, for example. svn:r10072
2007-04-11 r12351@catbus: nickm | 2007-04-11 12:09:46 -0400Nick Mathewson
More autoconf hacking: use same machinery to find zlib as for openssl and libevent. Have unified library finder include setup for --with variable. Start trying to suggest to the user what packages they should install if finding the library fails. svn:r9945
2007-03-15 r12542@Kushana: nickm | 2007-03-15 10:17:50 -0400Nick Mathewson
When checking whether we need extra options to link at runtime against a library, be sure to actually look in the lib directory. svn:r9827
2007-03-10 r12519@Kushana: nickm | 2007-03-10 00:57:01 -0500Nick Mathewson
Remove a redundant check for event.h; add some comments, and reformat. svn:r9790
2007-03-06 r12461@Kushana: nickm | 2007-03-06 13:26:17 -0500Nick Mathewson
More autoconf fixes and updates. Maybe the bsd buildbots will be happy again. svn:r9747
2007-03-04 r11612@catbus: nickm | 2007-01-30 18:14:07 -0500Nick Mathewson
make TOR_SEARCH_LIBRARY work with openssl svn:r9727
2007-03-04 r11596@catbus: nickm | 2007-01-30 01:43:40 -0500Nick Mathewson
Macro-ize our "search for a library and find out how to link against it" code. This will help make our handling of libevent and openssl more similar, and with any luck better. Not pushing to main branch until after 0.1.2. svn:r9726