blob: 97f6bbf83593899f7e20ab51d12a998dc21f3e81 (
plain) (
blame)
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
|
--- extconf.rb.orig Wed Aug 18 08:38:36 1999
+++ extconf.rb Wed Aug 9 20:24:40 2000
@@ -4,19 +4,19 @@
## Encoding maps may be stored in $perl_archlib/XML/Parser/Encodins/
#perl_archlib = '/usr/lib/perl5/site_perl/5.005/i586-linux'
-perl_archlib = '/usr/local/lib'
+perl_archlib = '%%PERL_ARCHLIB%%'
xml_enc_path = perl_archlib + "/XML/Parser/Encodings"
##$CFLAGS="-I#{cwd}/expat/xmlparse -I#{cwd}/expat/xmltok" +
## ' -DXML_ENC_PATH=getenv\(\"XML_ENC_PATH\"\)' +
## " -DNEW_EXPAT"
-$CFLAGS="-I#{cwd}/expat/xmlparse -I#{cwd}/expat/xmltok" +
+$CFLAGS="-I#{CONFIG['prefix']}/include/xml" +
" -DXML_ENC_PATH=\\\"#{xml_enc_path}\\\""
-$LDFLAGS="-L#{cwd}/expat"
+$LDFLAGS="-L#{CONFIG['prefix']}/lib"
if have_header("xmlparse.h")
- if have_library("xmltok", "XML_ParserCreate")
-# if have_library("expat", "XML_ParserCreate")
+# if have_library("xmltok", "XML_ParserCreate")
+ if have_library("expat", "XML_ParserCreate")
if have_func("XML_SetNotStandaloneHandler")
$CFLAGS += " -DNEW_EXPAT"
end
|