]> git.decadent.org.uk Git - ion3.git/blob - libtu/README
[svn-inject] Installing original source of ion3
[ion3.git] / libtu / README
1
2 libtu
3
4 Copyright (c) Tuomo Valkonen 1999-2004.
5 <tuomov at iki.fi>
6
7
8 Libtu is a small utility library for programs written in C. 
9
10 Most of this library may be distributed and modified under either under
11 the Clarified Artistic License or the GNU LGPL, version 2.1 or later, 
12 both reproduced in the file LICENSE. The red-black tree code is under
13 the GNU LGPL; see README.rb for details.
14
15 To build the library, first edit system.mk to customize it for your
16 system if necessary. Then 'make depend && make'.
17 To install it run 'make install' (perhaps as root depending on
18 where you are installing it).
19
20 If you want to use it in your programs, you may try to figure out how
21 by reading the header files (include/*.h) and test programs (tester*.c).
22 Or you could try urging me to write some sort of a manual.
23
24 ---
25
26 Libtu needs the functions asprintf and vasprintf. These do not
27 exist on most platforms. One implementation by Mark Martinec
28 is included in snprintf_2.2/ and is used by default. To use the
29 system's versions of these functions, if available, modify
30 system.mk.
31