1 | --- extconf.rb.orig 2008-06-11 13:25:38.000000000 -0400 |
---|
2 | +++ extconf.rb 2008-06-10 19:18:56.000000000 -0400 |
---|
3 | @@ -31,20 +31,20 @@ |
---|
4 | EOL |
---|
5 | end |
---|
6 | |
---|
7 | -unless have_library('iconv','iconv_open') or |
---|
8 | - have_library('c','iconv_open') or |
---|
9 | - have_library('recode','iconv_open') |
---|
10 | - crash(<<EOL) |
---|
11 | -need libiconv. |
---|
12 | - |
---|
13 | - Install libiconv or try passing some of the following options |
---|
14 | - to extconf.rb: |
---|
15 | - |
---|
16 | - --with-iconv-dir=/path/to/iconv |
---|
17 | - --with-iconv-lib=/path/to/iconv/lib |
---|
18 | - --with-iconv-include=/path/to/iconv/include |
---|
19 | -EOL |
---|
20 | -end |
---|
21 | +# unless have_library('iconv','iconv_open') or |
---|
22 | +# have_library('c','iconv_open') or |
---|
23 | +# have_library('recode','iconv_open') |
---|
24 | +# crash(<<EOL) |
---|
25 | +# need libiconv. |
---|
26 | +# |
---|
27 | +# Install libiconv or try passing some of the following options |
---|
28 | +# to extconf.rb: |
---|
29 | +# |
---|
30 | +# --with-iconv-dir=/path/to/iconv |
---|
31 | +# --with-iconv-lib=/path/to/iconv/lib |
---|
32 | +# --with-iconv-include=/path/to/iconv/include |
---|
33 | +# EOL |
---|
34 | +# end |
---|
35 | |
---|
36 | unless have_header('GeoIP.h') and |
---|
37 | have_header('GeoIPUpdate.h') and |
---|
38 | @@ -66,7 +66,7 @@ |
---|
39 | EOL |
---|
40 | end |
---|
41 | |
---|
42 | -$CFLAGS = '-g -Wall' + $CFLAGS |
---|
43 | +$CFLAGS = '-g -Wall ' + $CFLAGS |
---|
44 | |
---|
45 | create_header() |
---|
46 | create_makefile('net/geoip') |
---|
47 | -need libiconv. |
---|
48 | - |
---|
49 | - Install libiconv or try passing some of the following options |
---|
50 | - to extconf.rb: |
---|
51 | - |
---|
52 | - --with-iconv-dir=/path/to/iconv |
---|
53 | - --with-iconv-lib=/path/to/iconv/lib |
---|
54 | - --with-iconv-include=/path/to/iconv/include |
---|
55 | -EOL |
---|
56 | -end |
---|
57 | +# unless have_library('iconv','iconv_open') or |
---|
58 | +# have_library('c','iconv_open') or |
---|
59 | +# have_library('recode','iconv_open') |
---|
60 | +# crash(<<EOL) |
---|
61 | +# need libiconv. |
---|
62 | +# |
---|
63 | +# Install libiconv or try passing some of the following options |
---|
64 | +# to extconf.rb: |
---|
65 | +# |
---|
66 | +# --with-iconv-dir=/path/to/iconv |
---|
67 | +# --with-iconv-lib=/path/to/iconv/lib |
---|
68 | +# --with-iconv-include=/path/to/iconv/include |
---|
69 | +# EOL |
---|
70 | +# end |
---|
71 | |
---|
72 | unless have_header('GeoIP.h') and |
---|
73 | have_header('GeoIPUpdate.h') and |
---|
74 | @@ -66,7 +66,7 @@ |
---|
75 | EOL |
---|
76 | end |
---|
77 | |
---|
78 | -$CFLAGS = '-g -Wall' + $CFLAGS |
---|
79 | +$CFLAGS = '-g -Wall ' + $CFLAGS |
---|
80 | |
---|
81 | create_header() |
---|
82 | create_makefile('net/geoip') |
---|