mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-17 08:17:42 -04:00
Improve the README with more information and links.
(Also, try to test out the new commit script.)
This commit is contained in:
parent
ba3407142b
commit
0b4272681f
56
README
56
README
@ -1,8 +1,17 @@
|
|||||||
|
0. BUILDING AND INSTALLATION (Briefly)
|
||||||
|
|
||||||
|
$ ./configure
|
||||||
|
$ make
|
||||||
|
$ make verify # (optional)
|
||||||
|
$ sudo make install
|
||||||
|
|
||||||
|
1. BUILDING AND INSTALLATION (In Depth)
|
||||||
|
|
||||||
To build libevent, type
|
To build libevent, type
|
||||||
|
|
||||||
$ ./configure && make
|
$ ./configure && make
|
||||||
|
|
||||||
(If you got libevent from the subversion repository, you will
|
(If you got libevent from the git repository, you will
|
||||||
first need to run the included "autogen.sh" script in order to
|
first need to run the included "autogen.sh" script in order to
|
||||||
generate the configure script.)
|
generate the configure script.)
|
||||||
|
|
||||||
@ -10,7 +19,7 @@ Install as root via
|
|||||||
|
|
||||||
# make install
|
# make install
|
||||||
|
|
||||||
You can run the regression tests by
|
You can run the regression tests by running
|
||||||
|
|
||||||
$ make verify
|
$ make verify
|
||||||
|
|
||||||
@ -18,10 +27,46 @@ Before, reporting any problems, please run the regression tests.
|
|||||||
|
|
||||||
To enable the low-level tracing build the library as:
|
To enable the low-level tracing build the library as:
|
||||||
|
|
||||||
CFLAGS=-DUSE_DEBUG ./configure [...]
|
CFLAGS=-DUSE_DEBUG ./configure [...]
|
||||||
|
|
||||||
Acknowledgements:
|
Standard configure flags should work. In particular, see:
|
||||||
-----------------
|
|
||||||
|
--disable-shared Only build static libraries
|
||||||
|
--prefix Install all files relative to this directory.
|
||||||
|
|
||||||
|
|
||||||
|
The configure script also supports the following flags:
|
||||||
|
|
||||||
|
--enable-gcc-warnings Enable extra compiler checking with GCC.
|
||||||
|
--disable-malloc-replacement
|
||||||
|
Don't let applications replace our memory
|
||||||
|
management functions
|
||||||
|
--disable-openssl Disable support for OpenSSL encryption.
|
||||||
|
--disable-thread-support Don't support multithreaded environments.
|
||||||
|
|
||||||
|
2. USEFUL LINKS:
|
||||||
|
|
||||||
|
For the latest released version of Libevent, see the official website at
|
||||||
|
http://monkey.org/~provos/libevent/ .
|
||||||
|
|
||||||
|
There's a pretty good work-in-progress manual up at
|
||||||
|
http://www.wangafu.net/~nickm/libevent-book/ .
|
||||||
|
|
||||||
|
For the latest development versions of Libevent, access our Git repository
|
||||||
|
via
|
||||||
|
"git clone git://levent.git.sourceforge.net/gitroot/levent/libevent"
|
||||||
|
|
||||||
|
You can browse the git repository online at
|
||||||
|
http://levent.git.sourceforge.net/git/gitweb-index.cgi .
|
||||||
|
|
||||||
|
To report bugs, request features, or submit patches to Libevent,
|
||||||
|
use the Sourceforge trackers at
|
||||||
|
https://sourceforge.net/tracker/?group_id=50884 .
|
||||||
|
|
||||||
|
There's also a libevent-users mailing list for talking about Libevent
|
||||||
|
use and development: http://archives.seul.org/libevent/users/
|
||||||
|
|
||||||
|
3. ACKNOWLEDGMENTS
|
||||||
|
|
||||||
The following people have helped with suggestions, ideas, code or
|
The following people have helped with suggestions, ideas, code or
|
||||||
fixing bugs:
|
fixing bugs:
|
||||||
@ -31,6 +76,7 @@ fixing bugs:
|
|||||||
William Ahern
|
William Ahern
|
||||||
Stas Bekman
|
Stas Bekman
|
||||||
Andrew Danforth
|
Andrew Danforth
|
||||||
|
Christopher Davis
|
||||||
Mike Davis
|
Mike Davis
|
||||||
Shie Erlich
|
Shie Erlich
|
||||||
Alexander von Gernler
|
Alexander von Gernler
|
||||||
|
Loading…
x
Reference in New Issue
Block a user