summaryrefslogtreecommitdiff
path: root/configure.in
AgeCommit message (Collapse)Author
2011-06-20Fix tor-fw-helper-natpmp.c API usageJacob Appelbaum
libnatpmp-20110618 changed the API that tor-fw-helper used and for a time tor-fw-helper could not build against the newest libnatpmp. This patch brings support for libnatpmp to tor-fw-helper.
2011-05-11Merge remote-tracking branch 'public/bug3122_memcmp_022' into bug3122_memcmp_023Nick Mathewson
Conflicts in various places, mainly node-related. Resolved them in favor of HEAD, with copying of tor_mem* operations from bug3122_memcmp_022. src/common/Makefile.am src/or/circuitlist.c src/or/connection_edge.c src/or/directory.c src/or/microdesc.c src/or/networkstatus.c src/or/router.c src/or/routerlist.c src/test/test_util.c
2011-05-11Merge remote-tracking branch 'public/3122_memcmp_squashed' into ↵Nick Mathewson
bug3122_memcmp_022 Conflicts throughout. All resolved in favor of taking HEAD and adding tor_mem* or fast_mem* ops as appropriate. src/common/Makefile.am src/or/circuitbuild.c src/or/directory.c src/or/dirserv.c src/or/dirvote.c src/or/networkstatus.c src/or/rendclient.c src/or/rendservice.c src/or/router.c src/or/routerlist.c src/or/routerparse.c src/or/test.c
2011-05-11Add a data-independent variant of memcmp and a d-i memeq function.Nick Mathewson
The tor_memcmp code is by Robert Ransom, and the tor_memeq code is by me. Both incorporate some ideas from DJB's stuff.
2011-05-06Link to libevent_openssl statically when requestedSebastian Hahn
When configure tor with --enable-bufferevents and --enable-static-libevent, libevent_openssl would still be linked dynamically. Fix this and refactor src/or/Makefile.am along the way.
2011-05-05Increment version to 0.2.3.1-alpha-devNick Mathewson
2011-05-05Increment version to 0.2.3.1-alphaNick Mathewson
2011-04-02Small fixes for the 2702 implementationSebastian Hahn
Improve the INSTALL documentation for static builds, remove a few unnecessary lines from configure.in and tweak the changelog message slightly.
2011-04-02add --enable-static-tor to our configure scriptJacob Appelbaum
This implements the feature request in bug #2702
2011-03-30Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
Conflicts: src/common/compat.h src/or/circuitlist.c src/or/circuituse.c src/or/or.h src/or/rephist.c
2011-03-28Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson
2011-03-28Fix configure.in zlib package names.Erinn Clark
2011-03-28Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2011-03-27Small tweaks for bug2698 bugfixSebastian Hahn
2011-03-27Fix libevent autoconf bug #2698Jacob Appelbaum
2011-03-18Merge remote branch 'origin/maint-0.2.2'Nick Mathewson
Trivial Conflicts: configure.in
2011-03-18Remove superfluous -g -O2 compiler argumentSebastian Hahn
Autoconf adds -g -O2 by default, so adding it ourselves is not required. It also caused a warning with clang for every source file, so remove it here. Fixes last issue of ticket 2696.
2011-03-10Fix compilation under LLVM/clang with --enable-gcc-warningsSteven Murdoch
- When compiling using clang (2.9 or lower) do not enable -Wnormalized=id or -Woverride-init when --enable-gcc-warnings or --enable-gcc-warnings-advisory is set as these options are unsupported.
2011-02-22Merge remote branch 'origin/maint-0.2.2'Nick Mathewson
Conflicts: configure.in
2011-02-22Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson
Conflicts: configure.in
2011-02-22Remove doc/spec/Makefile.in from list of generated filesNick Mathewson
2011-02-03Merge remote branch 'origin/maint-0.2.2'Nick Mathewson
2011-02-03Enable ASLR and permanent DEP for Windows executablesJohn Brooks
Fix for #2358
2011-01-12Merge remote branch 'origin/maint-0.2.2'Nick Mathewson
2011-01-12Merge remote branch 'sebastian/bug2337' into maint-0.2.2Nick Mathewson
2011-01-12Fix a autoconf warningSebastian Hahn
2011-01-06Use autoconf's FLEXIBLE_ARRAY_MEMBER for unspecified-length arraysNick Mathewson
C99 allows a syntax for structures whose last element is of unspecified length: struct s { int elt1; ... char last_element[]; }; Recent (last-5-years) autoconf versions provide an AC_C_FLEXIBLE_ARRAY_MEMBER test that defines FLEXIBLE_ARRAY_MEMBER to either no tokens (if you have c99 flexible array support) or to 1 (if you don't). At that point you just use offsetof [STRUCT_OFFSET() for us] to see where last_element begins, and allocate your structures like: struct s { int elt1; ... char last_element[FLEXIBLE_ARRAY_MEMBER]; }; tor_malloc(STRUCT_OFFSET(struct s, last_element) + n_elements*sizeof(char)); The advantages are: 1) It's easier to see which structures and elements are of unspecified length. 2) The compiler and related checking tools can also see which structures and elements are of unspecified length, in case they wants to try weird bounds-checking tricks or something. 3) The compiler can warn us if we do something dumb, like try to stack-allocate a flexible-length structure.
2011-01-03Detect signed size_t and report an error at configure time.Nick Mathewson
2010-11-21bump to 0.2.2.19-alphaRoger Dingledine
2010-11-20Initial work to set CLOEXEC on all possible fdsNick Mathewson
Still to go: some pipes, all stdio files.
2010-11-16new development versionRoger Dingledine
2010-11-16bump to 0.2.2.18-alphaRoger Dingledine
2010-11-11Split long lines in configure.in and Makefile.am filesNick Mathewson
Having very long single lines with lots and lots of things in them tends to make files hard to diff and hard to merge. Since our tools are one-line-at-a-time, we should try to construct lists that way too, within reason. This incidentally turned up a few headers in configure.in that we were for some reason searching for twice.
2010-11-11Merge remote branch 'origin/maint-0.2.2'Nick Mathewson
Conflicts: configure.in
2010-11-10Remove everything related to os x expert packageSebastian Hahn
We decided to no longer ship expert packages for OS X because they're a lot of trouble to keep maintained and confuse users. For those who want a tor on OS X without Vidalia, macports is a fine option. Alternatively, building from source is easy, too. The polipo stuff that is still required for the Vidalia bundle build can now be found in the torbrowser repository, git://git.torproject.org/torbrowser.git.
2010-10-20Merge remote branch 'origin/maint-0.2.2'Nick Mathewson
2010-10-20Remove redundant -Wpointer-sign CFLAGSebastian Hahn
-Wpointer-sign is implied with -Wall, which we use when building with --enable-gcc-warnings.
2010-10-20Remove redundant -Wformat -Wformat-security CFLAGSSebastian Hahn
When configuring with --enable-gcc-warnings, we use -Wformat=2 which automatically enables the available -Wformat switches, so adding them again in the --enable-gcc-hardening case doesn't make sense..
2010-10-20Use ssp-buffer-size param when hardeningSebastian Hahn
We used to enable ssp-buffer-size=1 only when building with --enable-gcc-warnings. That would result in warnings (and no protection for small arrays) when building with --enable-gcc-hardening without enabling warnings, too. Fixes bug 2031. Also remove an XXX: We now allow to build with -fstack-protector by using --enable-gcc-hardening.
2010-10-15Raise libevent version needed for buffereventsSebastian Hahn
2010-10-12Merge remote branch 'origin/maint-0.2.2'Nick Mathewson
2010-10-11Fix running unit tests from outside of the build directory (fixes bug #2051)Steven Murdoch
Currently the unit tests test_util_spawn_background_* assume that they are run from the Tor build directory. This is not the case when running make distcheck, so the test will fail. This problem is fixed by autoconf setting BUILDDIR to be the root of the Tor build directory, and this preprocessor variable being used to specify the absolute path to test-child. Also, in test-child, do not print out argv[0] because this will no longer be predictable. Found by Sebastian Hahn.
2010-10-11Fix MIPSpro and time_t signedness detectionSebastian Hahn
3d6e2830876 silenced the autogen.sh warnings as it was supposed to, but introduced two bugs. Fix them.
2010-10-11Fix the new warnings during autogen.shSebastian Hahn
Follow-up fix to 3d6e2830876c for configure.in additions in master that weren't in maint-0.2.2
2010-10-11Merge remote branch 'origin/maint-0.2.2'Nick Mathewson
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-10-01bump to 0.2.2.17-alpha-devRoger Dingledine
2010-09-30bump to 0.2.2.17-alphaRoger Dingledine
2010-09-30Changes to tor-fw-helper, some based on Nick's reviewJacob Appelbaum
* MINIUPNPC rather than the generic UPNP * Nick suggested a better abstraction model for tor-fw-helper * Fix autoconf to build with either natpmp or miniupnpc * Add AM_PROG_CC_C_O to fix automake complaint * update spec to address nickm's concern * refactor nat-pmp to match upnp state * we prefer tor_snprintf to snprintf * link properlty for tor_snprintf * rename test_commandline_options to log_commandline_options * cast this uint as an int * detect possible FD_SETSIZE errors * make note about future enhancements for natpmp * add upnp enhancement note * ChangeLog entry * doxygen and check-spaces cleanup * create tor-fw-helper.1.txt
2010-09-30First implementation of tor-fw-helper.Jacob Appelbaum
tor-fw-helper is a command-line tool to wrap and abstract various firewall port-forwarding tools. This commit matches the state of Jacob's tor-fw-helper branch as of 23 September 2010. (commit msg by Nick)