configure.in


Log

Author Commit Date CI Message
Nick Mathewson 8589f6c4 2011-10-12T01:00:23 Bump version to 2.0.15-stable-dev
Nick Mathewson 4d9529fc 2011-10-12T00:22:17 Increment version to 2.0.15-stable
Nick Mathewson 8a231040 2011-09-12T14:53:39 Build with large-file support on platforms where it matters Some hosts require you to define certain options to get a large off_t instead of a small one, to get useful ftell and fseek calls instead of ones that can only support 2GB files, and so on. This patch makes Libevent support those platforms by: * Defining the right options when we build, and * Changing our API so that it does not depend on the platform's definition of off_t. Based on discusion with Michael Herf
Nick Mathewson caf133f9 2011-09-12T10:09:28 Merge branch 'new_configure_options'
Sebastian Hahn 75502677 2011-04-10T18:25:05 Implement --enable-gcc-hardening configure option Using --enable-gcc-hardening enables some additional safety features that gcc makes available such as stack smashing protection using canaries and ASLR. This commit is based on a patch for Tor: (git commit 04fa935e02270bc90aca0f1c652d31c7a872175b by Jacob Appelbaum) Copyright (c) 2007-2011, The Tor Project, Inc.
Sebastian Hahn d46517ee 2011-03-20T04:24:33 Make gcc warnings on by default, and --enable-gcc-warnings only add -Werror This commit is based on a patch for Tor (git commit ca60a6ce3f4786626ac455ec1b798b2e8304635c by Peter Palfrader), Copyright (c) 2007-2011, The Tor Project, Inc. (Originally, it added --enable-gcc-warnings-advisory as in Tor; Nick changed that.)
Nick Mathewson 10c3450f 2011-08-31T11:58:40 Make --enable-verbose-debug option match its help text
Nick Mathewson a718b6c3 2011-08-31T11:25:11 Increment version to 2.0.14-stable-dev
Nick Mathewson 85976ddf 2011-08-30T22:28:02 Bump version to 2.0.14-stable
Harlan Stenn 1c638607 2011-08-28T14:30:52 Use pkg-config (if available) to handle OpenSSL.
Nick Mathewson d87a3f71 2011-08-11T13:59:02 Merge remote-tracking branch 'ellzey/event_debug_flag'
Nick Mathewson d4f56353 2011-08-10T13:18:30 Merge remote-tracking branch 'origin/patches-2.0'
Sebastian Hahn 5d1b255b 2011-08-10T19:11:55 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.
Mark Ellzey a9c2c9ab 2011-08-06T01:32:40 changed to --enable-verbose-debug
Mark Ellzey bc7b4e40 2011-08-02T17:23:52 Added --enable-event-debugging in configure
Nick Mathewson a2fdf9b0 2011-07-18T23:37:59 Bump version to 2.0.13-stable-dev
Nick Mathewson 80414e22 2011-07-18T18:19:25 Bump version to 2.0.13-dev
Nick Mathewson 60c1426f 2011-06-04T21:36:34 Bump version to 2.0.12-stable-dev
Nick Mathewson 7283facd 2011-06-03T17:08:14 Bump version to 2.0.12-stable. Not release just yet
Nick Mathewson 36f745df 2011-06-01T13:52:27 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson d54d3fc4 2011-06-01T13:48:02 cygwin: make it possible to build DLLs Patch from Brian Koehmstedt
Peter Rosin 85078b1f 2011-05-25T19:54:33 In configure, test for _WIN32 not WIN32.
Nick Mathewson 0e95950e 2011-05-25T19:46:14 Merge remote-tracking branch 'origin/patches-2.0'
Peter Rosin f3c7a4c1 2011-05-25T10:56:32 Bring in the compile script from automake, if needed.
Peter Rosin 07c41bea 2011-05-25T10:55:41 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.
Nick Mathewson 6b23518d 2011-05-06T11:06:11 Merge remote-tracking branch 'origin/patches-2.0'
Sebastian Hahn 66193853 2011-05-05T16:27:55 Correctly detect openssl on windows
Sebastian Hahn ceb03b90 2011-05-05T15:51:11 Move the win32 detection in configure.in
Sebastian Hahn 292092eb 2011-05-05T15:49:38 Use OPENSSL_LIBS in Makefile.am
Nick Mathewson e7529fa4 2011-04-27T21:28:11 Bump version to 2.0.11-stable-dev
Nick Mathewson d4d55196 2011-04-27T20:25:57 Increment version number to 2.0.11-stable
Nick Mathewson cea45590 2011-04-24T22:56:16 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson ea0d019b 2011-04-23T02:35:17 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.
Nick Mathewson 18f24ef4 2011-04-23T02:31:59 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson 53d1e450 2011-04-23T01:48:11 Try to fix up CHECK_REGRESS hack to not break on win32
Nick Mathewson 614a1712 2011-04-22T23:46:25 Merge remote-tracking branch 'origin/patches-2.0' Conflicts: evthread.c
Sebastian Hahn ad9ff583 2011-04-10T17:23:11 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.
Nick Mathewson 7a91f732 2011-03-23T16:34:58 Merge remote branch 'origin/patches-2.0'
Nick Mathewson c6213591 2011-03-23T16:32:42 Add comment to configure.in to explain gc-sections test logic (Basically, we need access to conftest.err for the test to work properly.)
Dave Hart 6bb23e4b 2011-03-23T16:22:57 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.
Nick Mathewson a11c30b5 2011-02-22T17:41:27 Merge remote branch 'origin/patches-2.0' This branch is the big one that merges all the ntp folks' changes Conflicts: configure.in
Nick Mathewson 2fba21d8 2011-02-22T16:20:42 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.
Nick Mathewson 7d913f4c 2011-02-22T16:14:16 Remove nonfunctional enable_libevent_(install|regress)_def variables
Dave Hart 49e9bb7f 2011-02-13T02:05:04 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.
Harlan Stenn 0b334799 2011-02-13T02:00:10 Add -D_OSF_SOURCE to fix hpux builds
Dave Hart 0965c563 2011-02-13T01:50:40 Use the gcc -ffunction-segments feature to allow gc when linking with static libevent
Harlan Stenn af08a940 2011-02-13T01:42:58 Check for getservbyname even if not on win32.
Harlan Stenn 833e5e9f 2011-02-13T01:39:10 Fix autoconf bracket issues; make check for getaddrinfo include netdb.h
Harlan Stenn a317c068 2011-02-13T01:34:40 Skip check for zlib if we have no zlib.h
Nick Mathewson 4cb3f53a 2011-02-03T14:04:25 Merge remote branch 'origin/patches-2.0'
Sebastian Hahn f663112f 2010-10-14T20:15:04 Fix warnings about AC_LANG_PROGRAM usage Autoconf 2.68 introduced some new warnings that were triggered during autogen.sh. Fix those.
Nick Mathewson 86f02d75 2011-02-01T02:12:46 Merge remote branch 'origin/patches-2.0'
Nick Mathewson c1260b0e 2011-01-31T17:36:49 Do not check for gethostbyname_r versions if we have getaddrinfo
Nick Mathewson 22845886 2011-01-31T16:45:23 Merge remote branch 'origin/patches-2.0'
Nick Mathewson 9184563e 2011-01-24T18:29:20 Build correctly on platforms without sockaddr_storage
Nick Mathewson da13d644 2011-01-24T18:02:11 Merge remote branch 'origin/patches-2.0'
Nick Mathewson 32677036 2011-01-24T17:42:23 Make --enable-gcc-warnings a no-op if not using gcc
Dave Hart f1f85147 2011-01-24T15:50:25 Allow use of --enable-silent-rules for quieter compilation with automake 1.11
Kevin Bowling ad03952e 2011-01-03T15:09:21 Backport libevent to vanilla Autoconf 2.59 (as used in RHEL5)
Kevin Bowling 868f8887 2011-01-02T07:51:23 Use a Configuration Header Template for evconfig-private.h
Kevin Bowling edf62ddd 2011-01-02T07:29:45 Revert "evconfig-private.h with recusive configure subdirs" This reverts commit ed53d5ef8053af08186ef80dfc1647cff769fac8.
Kevin Bowling ed53d5ef 2011-01-02T06:35:05 evconfig-private.h with recusive configure subdirs
Kevin Bowling ea8fa4cb 2011-01-02T05:14:41 Add AC_GNU_SOURCE to the fallback case.
Kevin Bowling 1fa7dbe1 2010-12-22T22:11:26 Add AC_USE_SYSTEM_EXTENSIONS to configure.in. Requires follow on patches for correctness and robustness.
Nick Mathewson 2570ae50 2010-12-16T12:59:22 Bump version in master to 2.1.0-alpha-dev
Nick Mathewson 05f0195d 2010-12-16T12:57:23 Bump version to 2.0.10-stable-dev
Nick Mathewson bffc411e 2010-12-15T14:29:50 Set the version to 2.0.10-stable
Nick Mathewson 2b0b06d7 2010-11-30T02:19:25 Increment version to 2.0.9-rc-dev
Nick Mathewson 9ce4cc4e 2010-11-23T11:17:24 Increment version to 2.0.9-rc
Kevin Bowling 2e2a3d7b 2010-11-23T19:09:08 Reworked AIX __ss_family workaround to use AC_STRUCT_MEMBER.
Kevin Bowling a3a9f6b2 2010-11-22T20:44:10 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.
Nick Mathewson fbaf0770 2010-10-26T12:09:20 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.
Nick Mathewson 9dc5f44a 2010-10-14T22:12:32 Increment version in git to 2.0.8-rc-dev
Nick Mathewson ef18c994 2010-10-14T18:36:07 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.
Nick Mathewson d3b096c0 2010-10-14T13:54:15 Make the --enable-gcc-warnings option include signed comparison warnings
Nick Mathewson 5811d74c 2010-09-09T15:59:18 Bump version to 2.0.7-rc-dev
Nick Mathewson fe008ed6 2010-09-09T14:59:27 Make all versioning changes for 2.0.7-rc, and add ChangeLog
Nick Mathewson 6123d129 2010-08-19T09:38:44 Fix kquue correctness test on x84_64 Apparently, in our configure.in check for a working kqueue, we were leaving some fields unset that seemed to irritate 64-bit kqueue a lot. Found by Christopher Layne
Nick Mathewson 9b5c19ac 2010-08-10T11:46:00 Merge branch 'more_pkgconfig'
Nick Mathewson ebcb1f03 2010-08-10T11:11:25 Add pkgconfig files for libevent_{openssl,pthreads}
Nick Mathewson ff481a8e 2010-08-06T23:22:01 Increment vesion to 2.0.6-rc-dev
Nick Mathewson 556d0f40 2010-08-06T21:19:44 Increment versions to 2.0.6-rc
Nick Mathewson ec347b92 2010-07-07T16:45:03 Move event-config.h to include/event2 This change means that all required include files are in event2, and all files not in event2/* are optional.
Nick Mathewson d14bb926 2010-05-18T14:05:01 Use -Wlogical-op on gcc 4.5 or higher It exposed one bug for us (see 8c3452bcb294e07888), and might prevent more.
Nick Mathewson 75701e89 2010-05-14T14:30:09 Add some missing includes to fix Linux build again
Nick Mathewson 9cb5bc86 2010-05-10T14:51:32 Bump version to 2.0.5-beta-dev
Nick Mathewson ad9b7f15 2010-05-09T00:22:08 Increment version numbers for 2.0.5-beta
Nick Mathewson 7c519dfd 2010-05-08T23:29:29 Fix some autoconf issues on OpenBSD Issue 1: autoconf gets accept when a header works properly with cpp but not with cc. This was true of the sys/sysctl.h header on openbsd. The fix: include sys/param.h (if present) when testing for sys/sysctl.h Issue 2: Somehow, autoconf's macro generation code is messed up on some versions of openbsd (including mine, and other people's too) so that instead of SIZEOF_VOID_P, it makes SIZEOF_VOID__. evutil/util.h now works around that.
Nick Mathewson c1cd32a1 2010-05-08T22:21:52 Define _REENTRANT as needed on Solaris, elsewhere It turns out that _REENTRANT isn't only needed to make certain functions visible; we also need it to make pthreads work properly some places (like Solaris, where forgetting _REENTRANT basically means that all threads are sharing the same errno). Fortunately, our ACX_PTHREAD() configure macro already gives us a PTHREAD_CFLAG variable, so all we have to do is use it.
Nick Mathewson c44de06c 2010-05-08T18:09:27 Numerous opensolaris compilation fixes For future note, opensolaris doesn't have sys/sysctl.h, doesn't like comparing iov_buf to a chain_space_ptr without a cast, and is (predictably) unforgiving of dumb syntax errors. Also, we had accidentally broken the devpoll backend test in configure.in
Nick Mathewson 40c301b7 2010-04-28T14:56:51 Fix compilation when openssl support is disabled Previously, we'd fail if OpenSSL was present but openssl support was disabled. Now we don't.
Nick Mathewson a47a4b7e 2010-04-23T16:08:09 Fix a couple of bugs in the BSD sysctl arc4seed logic Of course, FreeBSD has its own arc4random() implementation, so this should never actually be needed. Still, it's good to paint the underside of the wagon.
Nick Mathewson 71fc3eb0 2010-03-04T01:13:51 Seed the RNG using sysctl() as well as /dev/urandom William Ahern points out that if the user has chrooted, they might not have a working /dev/urandom. Linux and many of the BSDs, however, define a sysctl interface to their kernel random number generators. This patch takes a belt-and-suspenders approach and tries to do use the sysctl _and_ the /dev/urandom approach if both are present. When using the sysctl approach, it tries to bulletproof itself by checking to make sure that the buffers are actually set by the sysctl calls.
Trond Norbye 3eb044d0 2010-03-23T13:27:10 Never test for select() on windows On 64-bit windows, configure actually _finds_ select when it tests for it, and due to the ordering of the io implementations in event.c it is chosen over the win32select implementation. This modification skips the test for select on win32 (we don't want that anyway, because Windows has its own), causing my windows box to get the win32select implementation. (edited by Nick)
Nick Mathewson 2e898f54 2010-03-12T14:16:30 Switch to using AM conditionals in place of AC_LIBOBJ AC_LIBOBJ is really only meant for defining missing library functions, not conditional code compilation. Sticking our conditionally compiled modules in SYS_SRC should make stuff easier to maintain.
Nick Mathewson 2cffd6c9 2010-02-28T16:53:42 Bump version to 2.0.4-alpha-dev
Nick Mathewson 9669ade5 2010-02-28T12:55:29 Bump the version to 2.0.4-alpha
Nick Mathewson ca46d25b 2010-02-17T23:02:28 Merge branch 'arc4random'
Nick Mathewson 63e868e6 2010-02-15T16:45:19 Increment the submicro version number. We've changed a couple of APIs introduced in 2.0.1-alpha, so it behooves us to give high-needs apps (like Tor) a way to tell we've done this. Sensible apps will just say "is it 2.0.3-alpha or 2.0.4-alpha" and ignore the existence of 2.0.3-alpha-dev, which is just as it should be.
Nick Mathewson 4ec8fea6 2010-02-13T00:11:44 Make RNG work when we have arc4random() but not arc4random_buf()