196 Commits

Author SHA1 Message Date
Harlan Stenn
1c63860758 Use pkg-config (if available) to handle OpenSSL. 2011-08-28 14:31:28 -04:00
Nick Mathewson
d87a3f71c6 Merge remote-tracking branch 'ellzey/event_debug_flag' 2011-08-11 13:59:02 -04:00
Nick Mathewson
d4f56353f7 Merge remote-tracking branch 'origin/patches-2.0' 2011-08-10 13:18:30 -04:00
Sebastian Hahn
5d1b255b14 Ignore deprecation warnings on OS X
Starting with Lion, Apple decided to deprecate the system openssl. We
can start requiring users to install their own openssl once OS X doesn't
ship with it anymore.
2011-08-10 19:13:39 +02:00
Mark Ellzey
a9c2c9ab62 changed to --enable-verbose-debug 2011-08-06 01:32:40 -04:00
Mark Ellzey
bc7b4e4051 Added --enable-event-debugging in configure 2011-08-02 17:23:52 -04:00
Nick Mathewson
a2fdf9b04f Bump version to 2.0.13-stable-dev 2011-07-18 23:37:59 -04:00
Nick Mathewson
80414e22a7 Bump version to 2.0.13-dev 2011-07-18 18:19:25 -04:00
Nick Mathewson
60c1426f2c Bump version to 2.0.12-stable-dev 2011-06-04 21:36:34 -04:00
Nick Mathewson
7283facdb9 Bump version to 2.0.12-stable. Not release just yet 2011-06-03 17:08:14 -04:00
Nick Mathewson
36f745df22 Merge remote-tracking branch 'origin/patches-2.0' 2011-06-01 13:52:27 -04:00
Nick Mathewson
d54d3fc40d cygwin: make it possible to build DLLs
Patch from Brian Koehmstedt
2011-06-01 13:48:02 -04:00
Peter Rosin
85078b1faf In configure, test for _WIN32 not WIN32. 2011-05-25 20:04:45 -04:00
Nick Mathewson
0e95950e60 Merge remote-tracking branch 'origin/patches-2.0' 2011-05-25 19:46:14 -04:00
Peter Rosin
f3c7a4c165 Bring in the compile script from automake, if needed. 2011-05-25 19:44:06 -04:00
Peter Rosin
07c41bead2 Make the tests build when OpenSSL is not available.
Don't #define HAVE_OPENSSL (to zero) when OpenSSL is not available.
Code written as #ifdef HAVE_OPENSSL do not expect that.
2011-05-25 19:44:06 -04:00
Nick Mathewson
6b23518d85 Merge remote-tracking branch 'origin/patches-2.0' 2011-05-06 11:06:11 -04:00
Sebastian Hahn
66193853fd Correctly detect openssl on windows 2011-05-06 10:58:06 -04:00
Sebastian Hahn
ceb03b90c4 Move the win32 detection in configure.in 2011-05-06 02:06:36 +02:00
Sebastian Hahn
292092eb29 Use OPENSSL_LIBS in Makefile.am 2011-05-06 02:06:32 +02:00
Nick Mathewson
e7529fa45b Bump version to 2.0.11-stable-dev 2011-04-27 21:28:11 -04:00
Nick Mathewson
d4d55196bd Increment version number to 2.0.11-stable 2011-04-27 20:25:57 -04:00
Nick Mathewson
cea45590e2 Merge remote-tracking branch 'origin/patches-2.0' 2011-04-24 22:56:16 -04:00
Nick Mathewson
ea0d019b71 Use AM_CONDITIONAL, not AC_SUBST, to tell automake to build regress
For some reason, this makes mingw much happier about building
regress.exe by default.  No, I'm afraid I don't know why.
2011-04-23 02:35:17 -04:00
Nick Mathewson
18f24ef4d5 Merge remote-tracking branch 'origin/patches-2.0' 2011-04-23 02:31:59 -04:00
Nick Mathewson
53d1e450f4 Try to fix up CHECK_REGRESS hack to not break on win32 2011-04-23 01:48:11 -04:00
Nick Mathewson
614a1712b7 Merge remote-tracking branch 'origin/patches-2.0'
Conflicts:
	evthread.c
2011-04-22 23:46:25 -04:00
Sebastian Hahn
ad9ff5834a Fix compilation under LLVM/clang with --enable-gcc-warnings
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.

This commit is based on a patch for Tor
(git commit 56bdc844ba68ac0911efc7ad3398f1eafeaaac76 by Steven
Murdoch), Copyright (c) 2007-2011, The Tor Project, Inc.
2011-04-23 02:03:48 +02:00
Nick Mathewson
7a91f732be Merge remote branch 'origin/patches-2.0' 2011-03-23 16:34:58 -04:00
Nick Mathewson
c621359122 Add comment to configure.in to explain gc-sections test logic
(Basically, we need access to conftest.err for the test to work properly.)
2011-03-23 16:32:42 -04:00
Dave Hart
6bb23e4bb1 Fix for --gc-sections on NetBSD
This patch fixes http://bugs.ntp.org/1844, works around
http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=40401, by
improving the test for support of --gc-sections to run a program which
reads a file using stdio built with --gc-sections, instead of simply
link the binary.  This catches the buggy linker as the garbage
collection removes a tag NetBSD uses to distinguish its own elf
binaries from Linux ones, causing it to treat conftest as a Linux
binary and run it with the wrong syscall table.
2011-03-23 16:23:59 -04:00
Nick Mathewson
a11c30b5fe Merge remote branch 'origin/patches-2.0'
This branch is the big one that merges all the ntp folks' changes

Conflicts:
	configure.in
2011-02-22 17:41:27 -05:00
Nick Mathewson
2fba21d867 Make -ffunction-sections off-by-default in 2.0.x
I don't see how this can burn anybody, but I don't want to take
chances: new build options are something that should be done in an
alpha.  To turn -ffunction-sections on, pass
--enable-function-sections to configure.
2011-02-22 16:20:42 -05:00
Nick Mathewson
7d913f4c8e Remove nonfunctional enable_libevent_(install|regress)_def variables 2011-02-22 16:14:16 -05:00
Dave Hart
49e9bb7fb0 Add configure options to disable installation, regression tests
The main reason for disabling installation is if you're building
libevent as a subpackage for embedding: you want to have your main
package's "make all" build libevent, but you don't want your main
package's "make install" to install libevent.
2011-02-22 00:28:37 -05:00
Harlan Stenn
0b334799d6 Add -D_OSF_SOURCE to fix hpux builds 2011-02-22 00:26:19 -05:00
Dave Hart
0965c56356 Use the gcc -ffunction-segments feature to allow gc when linking with static libevent 2011-02-22 00:25:58 -05:00
Harlan Stenn
af08a94085 Check for getservbyname even if not on win32. 2011-02-22 00:25:30 -05:00
Harlan Stenn
833e5e9fcd Fix autoconf bracket issues; make check for getaddrinfo include netdb.h 2011-02-22 00:25:23 -05:00
Harlan Stenn
a317c068fe Skip check for zlib if we have no zlib.h 2011-02-22 00:25:18 -05:00
Nick Mathewson
4cb3f53a6b Merge remote branch 'origin/patches-2.0' 2011-02-03 14:04:25 -05:00
Sebastian Hahn
f663112fa2 Fix warnings about AC_LANG_PROGRAM usage
Autoconf 2.68 introduced some new warnings that were triggered during
autogen.sh. Fix those.
2011-02-03 13:59:18 -05:00
Nick Mathewson
86f02d7533 Merge remote branch 'origin/patches-2.0' 2011-02-01 02:12:46 -05:00
Nick Mathewson
c1260b0e7c Do not check for gethostbyname_r versions if we have getaddrinfo 2011-01-31 17:36:49 -05:00
Nick Mathewson
22845886c6 Merge remote branch 'origin/patches-2.0' 2011-01-31 16:45:23 -05:00
Nick Mathewson
9184563e49 Build correctly on platforms without sockaddr_storage 2011-01-24 18:29:44 -05:00
Nick Mathewson
da13d64486 Merge remote branch 'origin/patches-2.0' 2011-01-24 18:02:11 -05:00
Nick Mathewson
3267703658 Make --enable-gcc-warnings a no-op if not using gcc 2011-01-24 17:42:23 -05:00
Dave Hart
f1f85147f3 Allow use of --enable-silent-rules for quieter compilation with automake 1.11 2011-01-24 15:50:25 -05:00
Kevin Bowling
ad03952edf Backport libevent to vanilla Autoconf 2.59 (as used in RHEL5) 2011-01-03 15:09:21 -07:00