summaryrefslogtreecommitdiffstats
path: root/src/util/k5ev/README
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2012-07-08 18:04:56 -0400
committerGreg Hudson <ghudson@mit.edu>2012-09-04 01:31:46 -0400
commitc91cda209a1e2467bbb5fbb5a3116757d38ef374 (patch)
tree96f17a8541bc5e637f4fc0cb90d354bcf2fb3fda /src/util/k5ev/README
parent6b60871d961eff2fa4c476867ae9d8cbcffb8953 (diff)
Avoid libdl dependencies in bundled libverto
The upstream libverto depends on dynamic loading and in particular on dladdr(), which is not universal. To avoid this dependency, stub out support for module loading (by replacing module.c) and instead integrate the k5ev module directly into the bundled verto library. This change removes the need to link, include, and invoke libverto differently depending on whether we're using the bundled library; we can always just link with -lverto and call verto_default(). bigredbutton: whitespace ticket: 7351 (new)
Diffstat (limited to 'src/util/k5ev/README')
-rw-r--r--src/util/k5ev/README31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/util/k5ev/README b/src/util/k5ev/README
deleted file mode 100644
index 7a14f1327..000000000
--- a/src/util/k5ev/README
+++ /dev/null
@@ -1,31 +0,0 @@
-This directory builds a private libverto module using an embedded
-libev with renamed symbols (so we don't leak libev symbols into the
-namespace on platforms where we can't control the export list).
-
-libev has built-in support for this kind of embedding, so we don't
-have to modify the libev sources. Following libev's documentation,
-the following files have been copied from the ev sources:
-
- ev.h
- ev_vars.h
- ev_wrap.h
- ev.c
- ev_select.c
- ev_poll.c
- ev_win32.c
- Symbols.ev
-
-(Symbols.ev wasn't included in the 4.04 tar file due to an oversight,
-so it is taken from the appropriate tag in libev's source repository.)
-
-To rename the exported symbols, we create rename.h from Symbols.ev.
-We also use Symbols.ev to construct the library export list.
-(Renaming libev's symbols would be unnecessary if libev's embedding
-had support for making its API symbols static, but it currently does
-not.) The source file verto-k5ev.c wraps ev.c with appropriate
-embedding defines, and then defines the libverto module functions
-using the slightly modified contents of libverto's verto-ev.c.
-
-The libev upstream project page is at:
-
- http://software.schmorp.de/pkg/libev.html