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
Kevin Bowling
868f88874f
Use a Configuration Header Template for evconfig-private.h
2011-01-02 07:51:23 -07:00
Kevin Bowling
edf62dddbc
Revert "evconfig-private.h with recusive configure subdirs"
...
This reverts commit ed53d5ef8053af08186ef80dfc1647cff769fac8.
2011-01-02 07:29:45 -07:00
Kevin Bowling
ed53d5ef80
evconfig-private.h with recusive configure subdirs
2011-01-02 06:35:05 -07:00
Kevin Bowling
ea8fa4cb23
Add AC_GNU_SOURCE to the fallback case.
2011-01-02 05:14:41 -07:00
Kevin Bowling
1fa7dbe1e8
Add AC_USE_SYSTEM_EXTENSIONS to configure.in.
...
Requires follow on patches for correctness and robustness.
2010-12-22 22:11:26 -07:00
Nick Mathewson
2570ae50d3
Bump version in master to 2.1.0-alpha-dev
2010-12-16 12:59:22 -05:00
Nick Mathewson
05f0195dd9
Bump version to 2.0.10-stable-dev
2010-12-16 12:57:23 -05:00
Nick Mathewson
bffc411ed6
Set the version to 2.0.10-stable
2010-12-15 14:29:50 -05:00
Nick Mathewson
2b0b06d7a3
Increment version to 2.0.9-rc-dev
2010-11-30 02:19:25 -05:00
Nick Mathewson
9ce4cc4ed9
Increment version to 2.0.9-rc
2010-11-30 01:20:04 -05:00
Kevin Bowling
2e2a3d7bb6
Reworked AIX __ss_family workaround to use AC_STRUCT_MEMBER.
2010-11-23 22:23:19 -05:00
Kevin Bowling
a3a9f6b2d9
select comes from <sys/select.h> according to POSIX.1-2001, or from a
...
variety of other standard headers on older systems, but not <select.h>.
AIX build fix.
2010-11-23 22:20:22 -05:00
Nick Mathewson
fbaf0770a7
Fix bugs in posix thread-id calculation when sizeof(pthread_t) != sizeof(long)
...
When pthread_t was smaller, our calculated thread IDs would include
uninitialized RAM, and so our unit tests would fail because thread_ids
would never match one another.
When pthread_t was larger and alignment was big-endian, our calculated
thread IDs would only have the most significant bytes of the
pthread_t, when in practice all the entropy is in the low-order bytes.
Found with help from Dagobert Michelsen.
2010-10-26 12:09:20 -04:00
Nick Mathewson
9dc5f44a19
Increment version in git to 2.0.8-rc-dev
2010-10-14 22:12:32 -04:00
Nick Mathewson
ef18c994c3
Increment the version to 2.0.8-rc
...
NOTE: This is not the official release until I tag it. If you see
this commit, and you decide that Libevent 2.0.8-rc is now
finalized, you might get something besides 2.0.8-rc.
2010-10-14 18:36:07 -04:00
Nick Mathewson
d3b096c011
Make the --enable-gcc-warnings option include signed comparison warnings
2010-10-14 13:54:15 -04:00