aboutsummaryrefslogtreecommitdiff
path: root/acinclude.m4
Commit message (Collapse)AuthorAge
* oops: AC_RUN_IFELSE gets offended if I don't give it a AC_LANG_PROGRAMNick Mathewson2012-06-18
|
* More sophisticated attempt at detecting working linker optionsNick Mathewson2012-06-18
| | | | | | | | | 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.
* Merge remote-tracking branch 'public/bug5210'Nick Mathewson2012-06-13
|\
| * Make our compiler-hardening checks robust against MinGWNick Mathewson2012-06-11
| | | | | | | | | | | | | | | | | | | | 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.
| * Make the option-checker code work with osx clangNick Mathewson2012-05-11
| | | | | | | | | | | | | | | | | | 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?
| * Try to manually test for whether the compiler hardening flags workNick Mathewson2012-05-11
| | | | | | | | | | Also, make the check for whether they're on by default work; there's no need to mess around with this "$enableval" silliness.
* | Update copyright dates to 2012; add a few missing copyright statementsNick Mathewson2012-06-04
|/
* Fix warnings with new versions of autoconfSebastian Hahn2010-10-11
| | | | | | 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).
* Merge commit 'origin/maint-0.2.1'Nick Mathewson2010-01-24
|\ | | | | | | | | | | | | Resolved conflicts in: configure.in src/or/Makefile.am src/tools/Makefile.am
| * Add --enable-static-(openssl|libevent) optionsNick Mathewson2010-01-24
| | | | | | | | | | These options only work when using --with-(openssl|libevent)-dir to explicitly pick a libevent or openssl location.
* | Remove all svn metadata minus what I missed.Sebastian Hahn2009-05-05
|/ | | | | Tor doesn't use SVN anymore, making $Revision$, $Id$ and $Date$ meaningless. Remove them without replacement.
* r17853@tombo: nickm | 2008-08-22 12:55:00 -0400Nick Mathewson2008-08-22
| | | | | | | 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
* r17852@tombo: nickm | 2008-08-22 12:31:03 -0400Nick Mathewson2008-08-22
| | | | | | | Fix typo in acinclude.m4 svn:r16624
* Update some copyright notices: it is now 2008.Nick Mathewson2008-02-07
| | | | svn:r13412
* r17957@catbus: nickm | 2008-02-06 20:08:29 -0500Nick Mathewson2008-02-07
| | | | | | | Oops; left a dquote out of acinclude.m4 svn:r13410
* r13971@tombo: nickm | 2008-01-30 14:25:25 -0500Nick Mathewson2008-01-30
| | | | | | | 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
* r15646@tombo: nickm | 2007-12-23 13:17:33 -0500Nick Mathewson2007-12-23
| | | | | | | 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
* r17090@catbus: nickm | 2007-12-11 18:05:24 -0500Nick Mathewson2007-12-11
| | | | | | | Fix some autoconf bugs, and prevent more from occurring. Partial backport candidate. svn:r12767
* r13131@catbus: nickm | 2007-06-01 06:20:29 -0400Nick Mathewson2007-06-01
| | | | | | | Test for ~/.svk/local, not ~/.svk. Eschew use of test -a and test -o. Bulletproof more against odd shells. svn:r10439
* r12994@catbus: nickm | 2007-05-27 11:33:34 -0400Nick Mathewson2007-05-27
| | | | | | | 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
* r12992@catbus: nickm | 2007-05-25 20:39:07 -0400Nick Mathewson2007-05-26
| | | | | | | Oops. we actually _do_ need the extended path; we just do not want to persist it. svn:r10349
* r12990@catbus: nickm | 2007-05-25 20:35:27 -0400Nick Mathewson2007-05-26
| | | | | | | Ah, maybe _this_ is the patch that will make IRIX builds happy again. svn:r10348
* r12984@catbus: nickm | 2007-05-25 19:59:41 -0400Nick Mathewson2007-05-25
| | | | | | | 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
* r12603@catbus: nickm | 2007-04-30 21:08:10 -0400Nick Mathewson2007-05-01
| | | | | | | Fix bug in 10072 that prevented correct detection of include and lib subdirectories svn:r10078
* r12591@catbus: nickm | 2007-04-30 16:50:03 -0400Nick Mathewson2007-04-30
| | | | | | | 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
* r12351@catbus: nickm | 2007-04-11 12:09:46 -0400Nick Mathewson2007-04-11
| | | | | | | 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
* r12542@Kushana: nickm | 2007-03-15 10:17:50 -0400Nick Mathewson2007-03-15
| | | | | | | 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
* r12519@Kushana: nickm | 2007-03-10 00:57:01 -0500Nick Mathewson2007-03-10
| | | | | | | Remove a redundant check for event.h; add some comments, and reformat. svn:r9790
* r12461@Kushana: nickm | 2007-03-06 13:26:17 -0500Nick Mathewson2007-03-06
| | | | | | | More autoconf fixes and updates. Maybe the bsd buildbots will be happy again. svn:r9747
* r11612@catbus: nickm | 2007-01-30 18:14:07 -0500Nick Mathewson2007-03-04
| | | | | | | make TOR_SEARCH_LIBRARY work with openssl svn:r9727
* r11596@catbus: nickm | 2007-01-30 01:43:40 -0500Nick Mathewson2007-03-04
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