summaryrefslogtreecommitdiff
path: root/textproc/ruby-sablot/files/patch-extconf.rb
blob: e2abb2870f94af9cb3990c02426f00dc84ba0749 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- extconf.rb.orig	Mon Mar 12 02:09:20 2001
+++ extconf.rb	Mon Mar 12 22:00:21 2001
@@ -8,8 +8,10 @@
 end
 
 if have_header("sablot.h") and
-    have_library("xmltok", "XmlParseXmlDecl") and
-    have_library("xmlparse", "XML_ParserCreate") and
+    (have_library("expat", "XML_ParserCreate") or
+     (have_library("xmltok", "XmlParseXmlDecl") and
+      have_library("xmlparse", "XML_ParserCreate"))) and
+    have_library("iconv") and
     have_library("sablot", "SablotProcessStrings")
   create_makefile("sablot")
   STDERR.print <<EOB