configure.in


Log

Author Commit Date CI Message
Nick Mathewson 7092f3b6 2012-08-28T15:58:18 Switch to non-recursive makefiles This approach should let Make work better, let libevent build faster (especially when using a parallelized build), and basically make the Makefiles easier to maintain. See http://miller.emu.id.au/pmiller/books/rmch/ for more info on why you'd want to do this. This is due to an idea from Zack Weinberg; the patch is my own.
Nick Mathewson 7b18e5c6 2012-08-28T15:10:55 Enable silent build rules by default. Override with V=1
Nick Mathewson 7d60ba84 2012-08-28T15:09:49 Use newer syntax for autoconf/automake init
Nick Mathewson 484e93c1 2012-08-24T11:40:46 Increment version to 2.0.20-stable-dev
Nick Mathewson 46604b34 2012-08-23T14:38:54 Increment version to 2.0.20-stable
Nick Mathewson a64c5647 2012-08-02T12:09:08 Merge remote-tracking branch 'origin/patches-2.0' Conflicts: evutil_rand.c
Nick Mathewson ca80ea61 2012-08-02T11:56:17 Add explicit AC_PROG_SED to configure.in so all autoconfs will expose $(SED)
Nick Mathewson 7ef04e4b 2012-07-26T10:09:13 Merge remote-tracking branch 'origin/patches-2.0' Conflicts: configure.in test/regress_buffer.c test/regress_dns.c
Nick Mathewson f1ce15d9 2012-07-25T16:18:33 Set umask before calling mkstemp in unit tests. Found by coverity
Nick Mathewson 76b994ac 2012-05-21T10:59:20 Merge pull request #54 from rosslagerwall/configure-dup Remove unnecessary code in configure.in.
Ross Lagerwall e65914fd 2012-05-12T08:38:19 Remove unnecessary code in configure.in.
Nick Mathewson faa92253 2012-05-03T16:34:29 Bump version to 2.0.19-stable-dev
Nick Mathewson 8a9b0cdf 2012-05-03T12:33:36 Increment version to 2.0.19-stable
Nick Mathewson 26c75828 2012-04-26T16:22:03 When PRECISE_TIMERS is set with epoll, use timerfd for microsecond precision The epoll interface ordinarily gives us one-millisecond precision, so on Linux it makes perfect sense to use the CLOCK_MONOTONIC_COARSE timer. But when the user has set the new PRECISE_TIMER flag for an event_base (either by the EVENT_BASE_FLAG_PRECISE_TIMER flag, or by the EVENT_PRECISE_TIMER environment variable), they presumably want finer granularity. On not-too-old Linuxes, we can achieve this using the Timerfd mechanism, which accepts nanosecond granularity and understands posix clocks. It's a little more expensive than just calling epoll_wait(), so we won't do it by default.
Nick Mathewson b8fd6f91 2012-04-09T13:39:11 Use mach_absolute_time() for monotonic clock support on OSX.
Nick Mathewson d9a55153 2012-04-03T20:30:54 Increment the version to 2.1.1-alpha-dev
Nick Mathewson 3faaad49 2012-04-03T17:26:12 Bump the version to Libevent 2.1.1-alpha
Nick Mathewson 93defa2f 2012-04-03T09:52:40 Merge remote-tracking branch 'origin/patches-2.0'
Sebastian Hahn 4a6fd433 2012-04-03T05:31:20 Configure with gcc older than 2.95 I don't know why people use such ancient gcc versions, but the fix seems straightforward enough to maybe just do it.
Nick Mathewson f0fb2c27 2012-03-22T14:34:01 Bump version to 2.0.18-stable-dev
Nick Mathewson 75401035 2012-03-22T14:00:54 Bump version to 2.0.18-stable
Nick Mathewson 45d6213e 2012-03-13T15:56:35 Merge remote-tracking branch 'origin/patches-2.0' Conflicts: configure.in
Sebastian Hahn 083296bc 2012-03-13T06:40:56 Don't do clang version detection when disabling some flags When clang 2.9 was around we hoped they'd introduce support for the normalized=id and override-init warnings by 3.0, but they haven't. We should only add the version detection back in when clang actually supports those warnings.
Ross Lagerwall 1c4288f4 2012-02-25T07:36:49 Allow compilation on machines that do not have setrlimit.
Mark Ellzey 5880e4a1 2012-02-14T18:04:52 Support TCP_DEFER_ACCEPT sockopts for listeners A listening socket can be enabled with the sockopt TCP_DEFER_ACCEPT. This informs the kernel to not call the user-land accept() until real data has been written to the socket. A new flag LEV_OPT_DEFERRED_ACCEPT has been introduced to automatically set this option. Optionally evutil_make_tcp_listen_socket_deferred() can be called manually. (Tweaked slightly by nickm.)
Nick Mathewson a220a081 2012-02-15T21:07:44 Merge remote-tracking branch 'github/21_fast_syscalls'
Nick Mathewson a37cbfda 2012-02-14T15:44:03 Merge remote-tracking branch 'origin/patches-2.0' Conflicts: configure.in
Mark Ellzey 2d67b638 2012-02-14T15:37:58 Changed OPENSSL_LDFLAGS to OPENSSL_LIBADD
Mark Ellzey 92781968 2012-02-14T15:01:02 Added OPENSSL_LDFLAGS env variable which is appended to SSL checks. If openssl is not installed system-wide or not compiled as a shared library, some systems require various link flags (e.g., -ld).
Nick Mathewson 2d7bf0f7 2012-02-10T22:16:14 Bump version to 2.0.17-stable-dev
Nick Mathewson 539466e5 2012-02-10T17:33:50 Merge remote-tracking branch 'origin/patches-2.0' Conflicts: Makefile.am WIN32-Code/event2/event-config.h configure.in
Nick Mathewson e49e2891 2012-02-10T17:29:53 Update copyright notices to 2012
Nick Mathewson 8152b4c2 2012-02-10T16:49:05 Bump version to 2.0.17-stable
Nick Mathewson bac906c7 2012-02-10T16:39:46 Prefer epoll_create1 on Linuxen that have it
Nick Mathewson a1c042bf 2012-02-10T15:55:15 Infrastructure for using faster/fewer syscalls when creating sockets Linux provides some features that allow avoiding extra calls to fcntl when creating new nonblocking/close-on-exec sockets, so we can add wrapper functions to emulate those when they are not available. Additionally, even when we are emulating those functions, we can take a fast path that cuts our fcntl calls in half: we don't need to look up the previous value of a file's flags when we have just created it.
Nick Mathewson f25d9d32 2012-01-24T11:42:26 Add an (internal) usleep function for use by unit tests
Nick Mathewson d4306028 2011-12-08T11:43:04 Merge remote-tracking branch 'origin/patches-2.0' Conflicts: configure.in
Mike Frysinger 358c745e 2011-12-08T11:39:48 check for sysctl before we use it Not all C libraries under Linux support the sysctl() func.
Nick Mathewson 88a30ad8 2011-12-07T18:29:06 Split up extra-long AC_CHECK_FUNCS/HEADERS lines in configure.in
Nick Mathewson 7085a456 2011-12-07T18:16:32 Use getifaddrs to detect our interfaces if possible The old scheme involved connected UDP sockets and getsockname(), and is generally best avoied.
Nick Mathewson ba4d6696 2011-11-18T15:34:37 Increment version to 2.0.16-stable-dev
Nick Mathewson 5de3fa32 2011-11-18T15:27:06 Increment version to 2.0.16-stable
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