1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
--- configure.ac
+++ configure.ac
@@ -30,6 +30,7 @@
# Checks for libraries.
AC_CHECK_LIB([z], [adler32], [], [AC_MSG_ERROR([the libz library is missing])])
+AC_CHECK_LIB([expat], [XML_Parse], [], [AC_MSG_ERROR([the expat library is missing])])
# Checks for header files.
AC_HEADER_STDC
--- gamexml.cc
+++ gamexml.cc
@@ -22,7 +22,7 @@
#include "game.h"
#include "strcov.h"
-#include "expat/expat.h"
+#include <expat.h>
#include <string>
#include <iostream>
--- Makefile.am
+++ Makefile.am
@@ -18,10 +18,7 @@
siglock.cc \
getopt.c \
snprintf.c \
- lib/readinfo.c \
- expat/xmlrole.c \
- expat/xmlparse.c \
- expat/xmltok.c
+ lib/readinfo.c
advscan_SOURCES = \
scan.cc \
@@ -43,10 +40,7 @@
siglock.cc \
getopt.c \
snprintf.c \
- lib/readinfo.c \
- expat/xmlrole.c \
- expat/xmlparse.c \
- expat/xmltok.c
+ lib/readinfo.c
EXTRA_DIST = advscan.rc.linux advscan.rc.dos \
README AUTHORS HISTORY INSTALL COPYING \
@@ -82,28 +76,7 @@
portable.h \
lib/readinfo.h \
lib/endianrw.h \
- lib/extra.h \
- expat/COPYING \
- expat/README \
- expat/ascii.h \
- expat/asciitab.h \
- expat/expat-1.95.8.diff \
- expat/expat.h \
- expat/iasciitab.h \
- expat/expatcfg.h \
- expat/expat_external.h \
- expat/internal.h \
- expat/latin1tab.h \
- expat/nametab.h \
- expat/utf8tab.h \
- expat/xmlparse.c \
- expat/xmlrole.c \
- expat/xmlrole.h \
- expat/xmltok.c \
- expat/xmltok.h \
- expat/xmltok_impl.c \
- expat/xmltok_impl.h \
- expat/xmltok_ns.c
+ lib/extra.h
man_MANS = doc/advscan.1 doc/advdiff.1
|