1LINUX=1
2
3ifndef CC
4CC=gcc
5endif
6
7ifndef CC
8CC=cc
9endif
10
11ifndef CPP
12CPP=g++
13endif
14
15ifndef CPP
16CPP=gpp
17endif
18
19ifndef includedir
20includedir=/usr/local/include
21endif
22
23ifndef includedir
24includedir=/usr/include
25endif
26
27ifndef libdir
28libdir=/usr/local/lib
29endif
30
31ifndef libdir
32libdir=/usr/lib
33endif
34
35ifndef DESTDIR
36DESTDIR=
37endif
38
39ifndef BINDIR
40BINDIR=/usr/local/bin
41endif
42
43ifndef BINDIR
44BINDIR=/usr/bin
45endif
46
47ifndef INSTALL
48INSTALL=/usr/bin/install -D
49INSTALL_PROGRAM=${INSTALL}
50INSTALL_DATA=${INSTALL} -m 644
51endif
52ifndef INSTALL
53INSTALL=install -D
54INSTALL_PROGRAM=${INSTALL}
55INSTALL_DATA=${INSTALL} -m 644
56endif
57
58USE_BASE64=1
59USE_TCP=1
60
61ifndef USE_NXML
62USE_XML2=1
63CFLAGS+=`xml2-config --cflags`
64LDFLAGS+=`xml2-config --libs`
65endif
66
67USE_CURL=1
68CFLAGS+=`curl-config --cflags`
69LDFLAGS+=`curl-config --libs`
70
71# enable this if you want to use hacks
72#USE_HACKS=1
73#CFLAGS+=-DUSE_HACKS
74
75# enable this if you want experimental features that didn't make it into the 1.0.0 release
76#USE_POST1_0=1
77#CFLAGS+=-DUSE_POST1_0
78
79