rmagick 1.15.17 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rmagick might be problematic. Click here for more details.

Files changed (108) hide show
  1. data/ChangeLog +78 -25
  2. data/README.html +117 -188
  3. data/README.txt +116 -181
  4. data/build_tarball.rake +205 -0
  5. data/doc/comtasks.html +2 -2
  6. data/doc/constants.html +118 -44
  7. data/doc/draw.html +57 -99
  8. data/doc/ex/adaptive_threshold.rb +1 -10
  9. data/doc/ex/add_noise.rb +4 -5
  10. data/doc/ex/axes.rb +1 -1
  11. data/doc/ex/bilevel_channel.rb +2 -13
  12. data/doc/ex/bounding_box.rb +3 -4
  13. data/doc/ex/channel.rb +6 -7
  14. data/doc/ex/clip_path.rb +11 -5
  15. data/doc/ex/color_histogram.rb +8 -20
  16. data/doc/ex/composite_layers.rb +53 -0
  17. data/doc/ex/fill_pattern.rb +26 -0
  18. data/doc/ex/get_multiline_type_metrics.rb +26 -37
  19. data/doc/ex/get_type_metrics.rb +25 -25
  20. data/doc/ex/images/notimplemented.gif +0 -0
  21. data/doc/ex/level.rb +1 -1
  22. data/doc/ex/matte_floodfill.rb +5 -6
  23. data/doc/ex/matte_replace.rb +5 -6
  24. data/doc/ex/negate_channel.rb +0 -10
  25. data/doc/ex/opacity.rb +3 -5
  26. data/doc/ex/polaroid.rb +4 -1
  27. data/doc/ex/posterize.rb +1 -12
  28. data/doc/ex/preview.rb +1 -8
  29. data/doc/ex/radial_blur.rb +1 -11
  30. data/doc/ex/raise.rb +1 -4
  31. data/doc/ex/random_threshold_channel.rb +4 -9
  32. data/doc/ex/sepiatone.rb +2 -9
  33. data/doc/ex/shadow.rb +12 -18
  34. data/doc/ex/sketch.rb +2 -9
  35. data/doc/ex/smile.rb +7 -7
  36. data/doc/ex/splice.rb +3 -10
  37. data/doc/ex/stegano.rb +5 -0
  38. data/doc/ex/threshold.rb +2 -2
  39. data/doc/ex/transpose.rb +1 -8
  40. data/doc/ex/transverse.rb +1 -8
  41. data/doc/ex/trim.rb +1 -2
  42. data/doc/ex/viewex.rb +4 -5
  43. data/doc/ex/vignette.rb +1 -8
  44. data/doc/ex/watermark.rb +1 -0
  45. data/doc/ex/wet_floor.rb +8 -14
  46. data/doc/ilist.html +301 -110
  47. data/doc/image1.html +362 -258
  48. data/doc/image2.html +429 -286
  49. data/doc/image3.html +418 -192
  50. data/doc/imageattrs.html +100 -39
  51. data/doc/imusage.html +26 -21
  52. data/doc/index.html +52 -93
  53. data/doc/info.html +160 -64
  54. data/doc/magick.html +37 -71
  55. data/doc/optequiv.html +155 -61
  56. data/doc/rvg.html +3 -3
  57. data/doc/rvgclip.html +2 -2
  58. data/doc/rvggroup.html +2 -2
  59. data/doc/rvgimage.html +3 -3
  60. data/doc/rvgpattern.html +3 -3
  61. data/doc/rvgshape.html +2 -2
  62. data/doc/rvgstyle.html +2 -2
  63. data/doc/rvgtext.html +2 -2
  64. data/doc/rvgtspan.html +4 -4
  65. data/doc/rvgtut.html +4 -4
  66. data/doc/rvguse.html +3 -3
  67. data/doc/rvgxform.html +2 -2
  68. data/doc/struct.html +26 -29
  69. data/doc/usage.html +99 -48
  70. data/examples/crop_with_gravity.rb +46 -0
  71. data/examples/demo.rb +2 -2
  72. data/examples/histogram.rb +11 -11
  73. data/examples/identify.rb +45 -45
  74. data/examples/spinner.rb +3 -2
  75. data/ext/RMagick/MANIFEST +7 -8
  76. data/ext/RMagick/extconf.rb +242 -0
  77. data/ext/RMagick/rmagick.h +136 -222
  78. data/ext/RMagick/rmdraw.c +226 -229
  79. data/ext/RMagick/rmfill.c +69 -118
  80. data/ext/RMagick/rmilist.c +234 -94
  81. data/ext/RMagick/rmimage.c +1719 -2564
  82. data/ext/RMagick/rminfo.c +433 -619
  83. data/ext/RMagick/rmmain.c +249 -487
  84. data/ext/RMagick/rmutil.c +344 -563
  85. data/lib/RMagick.rb +414 -358
  86. data/lib/rvg/clippath.rb +2 -2
  87. data/lib/rvg/container.rb +2 -2
  88. data/lib/rvg/describable.rb +2 -2
  89. data/lib/rvg/embellishable.rb +2 -2
  90. data/lib/rvg/misc.rb +3 -3
  91. data/lib/rvg/paint.rb +2 -7
  92. data/lib/rvg/pathdata.rb +2 -2
  93. data/lib/rvg/rvg.rb +2 -2
  94. data/lib/rvg/stretchable.rb +2 -14
  95. data/lib/rvg/stylable.rb +2 -2
  96. data/lib/rvg/text.rb +2 -2
  97. data/lib/rvg/transformable.rb +2 -2
  98. data/lib/rvg/units.rb +2 -2
  99. data/{metaconfig.in → metaconfig} +0 -1
  100. data/post-setup.rb +1 -1
  101. data/rmagick.gemspec +6 -9
  102. metadata +41 -49
  103. data/Makefile.in +0 -42
  104. data/configure +0 -12358
  105. data/configure.ac +0 -791
  106. data/ext/RMagick/extconf.rb.in +0 -25
  107. data/ext/RMagick/rmagick_config.h.in +0 -285
  108. data/gem_extconf.rb +0 -42
@@ -1,25 +0,0 @@
1
- # extconf.rb.in -> extconf.rb
2
- # creates a Makefile to make RMagick.so
3
-
4
- require 'mkmf'
5
-
6
- # Pass along Ruby's version number
7
- VERSION_NUMBER = '0x'+RUBY_VERSION.tr('.','')
8
-
9
- $CFLAGS = "@CFLAGS@"
10
- $CPPFLAGS = "-DRUBY_VERSION=#{VERSION_NUMBER} @CPPFLAGS@"
11
-
12
- if RUBY_VERSION >= '1.8.0'
13
- $DLDFLAGS = "@LDFLAGS@"
14
- else
15
- $LDFLAGS = "@LDFLAGS@"
16
- end
17
-
18
- $LOCAL_LIBS = "@LOCAL_LIBS@"
19
-
20
- # Force re-compilation if the generated Makefile or
21
- # rmagick_config.h changed.
22
- $config_h = 'Makefile rmagick_config.h'
23
-
24
- create_makefile("RMagick")
25
-
@@ -1,285 +0,0 @@
1
- #undef GRAPHICSMAGICK
2
- /* Introduced in IM 6.0.0, GM 1.1 */
3
- #undef HAVE_ACQUIREMAGICKMEMORY
4
- /* Introduced in IM 6.2.8-5 */
5
- #undef HAVE_ADAPTIVEBLURIMAGECHANNEL
6
- /* Introduced in IM 6.2.9 */
7
- #undef HAVE_ADAPTIVERESIZEIMAGE
8
- /* Introduced in IM 6.2.7 */
9
- #undef HAVE_ADAPTIVESHARPENIMAGE
10
- /* Introduced in IM 6.0.0 */
11
- #undef HAVE_ACQUIRESTRINGINFO
12
- /* GraphicsMagick only */
13
- #undef HAVE_ADDDEFINITIONS
14
- /* Introduced in IM 6.2.5 */
15
- #undef HAVE_ADDNOISEIMAGECHANNEL
16
- /* Introduced in IM 6.0.0, GM 1.1 */
17
- #undef HAVE_ALLCHANNELS
18
- /* Introduced in GM 1.2 */
19
- #undef HAVE_ALLOCATEIMAGEPROFILEITERATOR
20
- /* Introduced in IM 6.0.0 */
21
- #undef HAVE_BILEVELIMAGECHANNEL
22
- /* Introduced in IM 5.5.7, GM 1.1 */
23
- #undef HAVE_BLACKTHRESHOLDIMAGE
24
- /* Introduced in IM 6.0.1 */
25
- #undef HAVE_BLURIMAGECHANNEL
26
- /* Introduced in IM 6.2.7 */
27
- #undef HAVE_COALESCELAYER
28
- /* Introduced in GM 1.2 */
29
- #undef HAVE_CINEONLOGRGBCOLORSPACE
30
- /* Introduced in IM 6.2.6 - Not available in GM */
31
- #undef HAVE_CLEARMAGICKEXCEPTION
32
- /* Introduced in IM 6.0.0 */
33
- #undef HAVE_COLORDODGECOMPOSITEOP
34
- /* Introduced in IM 6.0.0, GM 1.1 */
35
- #undef HAVE_COMPAREIMAGECHANNELS
36
- /* Introduced in IM 6.2.6 */
37
- #undef HAVE_COMPAREIMAGELAYERS
38
- /* Introduced in IM 6.2.6 */
39
- #undef HAVE_COMPOSITEIMAGECHANNEL
40
- /* Introduced in IM 6.2.6 */
41
- #undef HAVE_CONTRASTSTRETCHIMAGECHANNEL
42
- /* Introduced in IM 6.3.5-9 */
43
- #undef HAVE_CONVERTHSLTORGB
44
- /* Introduced in IM 6.3.5-9 */
45
- #undef HAVE_CONVERTRGBTOHSL
46
- /* Introduced in IM 6.0.1 */
47
- #undef HAVE_CONVOLVEIMAGECHANNEL
48
- /* Introduced in IM 6.0.0 */
49
- #undef HAVE_DSTCOMPOSITEOP
50
- /* Introduced in IM 6.0.1 */
51
- #undef HAVE_EVALUATEIMAGECHANNEL
52
- /* Introduced in GM 1.1 */
53
- #undef HAVE_EXCEPTIONINFO_MODULE
54
- /* Introduced in IM 5.5.7, GM 1.1 */
55
- #undef HAVE_EXPORTIMAGEPIXELS
56
- /* Introduced in GM 1.0, deprecated in GM 1.1.3 */
57
- /* Introduced in IM 5.5.2, deprecated in IM 6.0.0 */
58
- #undef HAVE_EXTENDEDSIGNEDINTEGRALTYPE
59
- #undef HAVE_EXTENDEDUNSIGNEDINTEGRALTYPE
60
- /* Introduced in IM 5.5.5 - Not defined in GraphicsMagick */
61
- #undef HAVE_FUZZYCOLORCOMPARE
62
- /* Introduced in IM 6.2.0 */
63
- #undef HAVE_FXIMAGECHANNEL
64
- /* Introduced in IM 6.0.0, GM 1.1 */
65
- #undef HAVE_GAMMAIMAGECHANNEL
66
- /* Introduced in IM 6.0.1 */
67
- #undef HAVE_GAUSSIANBLURIMAGECHANNEL
68
- /* Introduced in GM 1.1.4, IM 6.0.0 */
69
- #undef HAVE_GETBLOBSIZE
70
- /* Introduced in GM 1.1 */
71
- #undef HAVE_GETCOLORHISTOGRAM
72
- /* Introduced in IM 6.0.1 */
73
- #undef HAVE_GETCOLORINFOLIST
74
- /* API changed in IM 6.1.3 */
75
- #undef HAVE_OLD_GETCOLORINFOLIST
76
- /* Introduced in GM 1.1 */
77
- #undef HAVE_GETCOLORINFOARRAY
78
- /* Introduced in IM 6.0.0, GM 1.1 */
79
- #undef HAVE_GETIMAGECHANNELDEPTH
80
- /* Introduced in IM 6.0.0, GM 1.1 */
81
- #undef HAVE_GETIMAGECHANNELEXTREMA
82
- /* Introduced in IM 6.0.0, GM 1.1 */
83
- #undef HAVE_GETIMAGECHANNELMEAN
84
- /* Introduced in IM 6.2.0 */
85
- #undef HAVE_GETIMAGECHANNELDISTORTION
86
- /* Not available in GM */
87
- #undef HAVE_GETIMAGECLIPMASK
88
- /* Introduced in IM 6.0.0, GM 1.1 */
89
- #undef HAVE_GETIMAGEHISTOGRAM
90
- /* Introduced in IM 6.1.5 */
91
- #undef HAVE_IMAGESTOBLOB
92
- /* Introduced in IM 6.0.0, GM 1.1 */
93
- #undef HAVE_GETIMAGEPROFILE
94
- /* Introduced in IM 6.0.0 */
95
- #undef HAVE_GETIMAGEQUANTUMDEPTH
96
- /* Introduced in IM 6.0.0, signature changed in 6.0.5 */
97
- #undef HAVE_OLD_GETIMAGEQUANTUMDEPTH
98
- /* Introduced in GM 1.1 */
99
- #undef HAVE_GETIMAGESTATISTICS
100
- /* Introduced in GM 1.1 */
101
- #undef HAVE_GETMAGICKINFOARRAY
102
- /* Introduced in IM 6.0.1 */
103
- #undef HAVE_GETMAGICKINFOLIST
104
- /* API changed in IM 6.1.3 */
105
- #undef HAVE_OLD_GETMAGICKINFOLIST
106
- /* Introduced in IM 6.3.0 */
107
- #undef HAVE_GETMAGICKPIXELPACKET
108
- /* Introduced in IM 6.2.5 */
109
- #undef HAVE_GETMAGICKRESOURCELIMIT
110
- /* Introduced in IM 6.1.5 */
111
- #undef HAVE_GETMULTILINETYPEMETRICS
112
- /* Introduced in IM 6.2.1 */
113
- #undef HAVE_GETNEXTIMAGEATTRIBUTE
114
- /* Introduced in IM 6.0.0 */
115
- #undef HAVE_GETNEXTIMAGEPROFILE
116
- /* Introduced in IM 6.3.2 */
117
- #undef HAVE_GETIMAGEPROPERTY
118
- /* Introduced in IM 6.0.1 */
119
- #undef HAVE_GETTYPEINFOLIST
120
- /* API changed in IM 6.1.3 */
121
- #undef HAVE_OLD_GETTYPEINFOLIST
122
- #undef HAVE_GRAYCHANNEL
123
- /* Introduced in GM 1.0 */
124
- #undef HAVE_GRAYSCALEPSEUDOCLASSIMAGE
125
- /* Introduced in IM 6.0.0 - Not available in GM */
126
- #undef HAVE_HSBCOLORSPACE
127
- /* Introduced in IM 6.0.0 - Not available in GM */
128
- #undef HAVE_INHERITEXCEPTION
129
- #undef HAVE_INDEXCHANNEL
130
- /* Introduced in IM 6.2.0 */
131
- #undef HAVE_IMAGE_BIAS
132
- /* Introduced in IM 5.5.6 - Not available in GM */
133
- #undef HAVE_IMAGE_EXTRACT_INFO
134
- /* Removed in GM 1.2 */
135
- #undef HAVE_IMAGE_IPTC_PROFILE
136
- /* Introduced in IM 6.0.0 */
137
- #undef HAVE_IMAGE_QUALITY
138
- /* Introduced in IM 6.0.0 */
139
- #undef HAVE_IMAGE_ORIENTATION
140
- #undef HAVE_IMAGEINFO_ORIENTATION
141
- /* Introduced in IM 6.2.4 */
142
- #undef HAVE_IMAGE_TICKS_PER_SECOND
143
- /* Introduced in IM 6.2.9 */
144
- #undef HAVE_IMAGE_TRANSPARENT_COLOR
145
- /* Introduced in IM 6.2.0? */
146
- #undef HAVE_IMAGEINFO_CHANNEL
147
- /* Introduced in IM 5.5.7, GM 1.1 */
148
- #undef HAVE_IMPORTIMAGEPIXELS
149
- /* Introduced in IM 6.2.9 */
150
- #undef HAVE_INTERPOLATEPIXELCOLOR
151
- /* Introduced in IM 6.2.6-1 */
152
- #undef HAVE_INTERPRETIMAGEATTRIBUTES
153
- #undef HAVE_INTTYPES_H
154
- /* Introduced in IM 6.2.5 */
155
- #undef HAVE_ISCOLORSIMILAR
156
- /* Introduced in IM 6.2.8 */
157
- #undef HAVE_ISIMAGESIMILAR
158
- /* Introduced in IM 6.2.2 */
159
- #undef HAVE_JPEG2000COMPRESSION
160
- /* Introduced in GM 1.2 */
161
- #undef HAVE_LABCOLORSPACE
162
- /* Introduced in IM 6.3.1 */
163
- #undef HAVE_LINEARSTRETCHIMAGE
164
- /* Introduced in IM 6.2.3 */
165
- #undef HAVE_LOGCOLORSPACE
166
- /* Introduced in IM 6.0.2 */
167
- #undef HAVE_MAGICKBOOLEANTYPE
168
- /* Introduced in IM 5.5.3, GM 1.0 */
169
- #undef HAVE_MAGICK_INT64_T
170
- #undef HAVE_MAGICK_UINT64_T
171
- /* Introduced in IM 6.0.0 */
172
- #undef HAVE_MAGICKOFFSETTYPE
173
- /* Only in ImageMagick */
174
- #undef HAVE_MAGICKPIXELPACKET
175
- /* Introduced in IM 6.0.0, GM 1.1 */
176
- #undef HAVE_MAGICKSIZETYPE
177
- /* Introduced in IM 6.2.0 */
178
- #undef HAVE_MAXEVALUATEOPERATOR
179
- #undef HAVE_MEMORY_H
180
- /* Introduced in IM 6.0.0, GM 1.1 */
181
- #undef HAVE_NEGATEIMAGECHANNEL
182
- /* ColorInfo changed in 6.3.0 */
183
- #undef HAVE_NEW_COLORINFO
184
- /* Introduced in IM 6.1.0 */
185
- #undef HAVE_NORMALIZEIMAGECHANNEL
186
- /* Introduced in IM 6.3.0 */
187
- #undef HAVE_ORDEREDPOSTERIZEIMAGECHANNEL
188
- /* Introduced in IM 6.2.9 */
189
- #undef HAVE_PALETTEBILEVELMATTETYPE
190
- /* Introduced in IM 5.5.4 - Not available in GM */
191
- #undef HAVE_PARSESIZEGEOMETRY
192
- /* New signature in IM 6.4.6-9 */
193
- #undef HAVE_NEW_PARSESIZEGEOMETRY
194
- /* Introduced in IM 6.3.1-6 */
195
- #undef HAVE_POLAROIDIMAGE
196
- /* Introduced in IM 6.0.0 */
197
- #undef HAVE_POSTERIZEIMAGE
198
- /* Introduced in IM 5.5.1? Not available in GM */
199
- #undef HAVE_PREVIEWIMAGE
200
- #undef HAVE_QUANTUMOPERATORREGIONIMAGE
201
- /* Introduced in IM 6.2.0 */
202
- #undef HAVE_QUANTUMPIXEL
203
- /* Not available in GM */
204
- #undef HAVE_RADIALBLURIMAGE
205
- /* Introduced in IM 6.2.4 */
206
- #undef HAVE_RADIALBLURIMAGECHANNEL
207
- #undef HAVE_RANDOMCHANNELTHRESHOLDIMAGE
208
- #undef HAVE_RANDOMTHRESHOLDIMAGECHANNEL
209
- /* Introduced in GM 1.2 & IM 6.2.2 */
210
- #undef HAVE_REC601LUMACOLORSPACE
211
- #undef HAVE_REC601YCBCRCOLORSPACE
212
- #undef HAVE_REC709LUMACOLORSPACE
213
- #undef HAVE_REC709YCBCRCOLORSPACE
214
- /* Introduced in IM 6.3.1-3 */
215
- #undef HAVE_RECOLORIMAGE
216
- /* Introduced in GM 1.1.4, IM 6.0.0 */
217
- #undef HAVE_REMOVEFIRSTIMAGEFROMLIST
218
- /* Introduced in IM 6.2.1 */
219
- #undef HAVE_NEW_REMOVEIMAGEPROFILE
220
- #undef HAVE_REPLACECOMPOSITEOP
221
- #undef HAVE_SEPARATEIMAGECHANNEL
222
- /* Introduced in IM 6.2.1 */
223
- #undef HAVE_SEPIATONEIMAGE
224
- /* Introduced in IM 6.2.1 */
225
- #undef HAVE_SETIMAGEBACKGROUNDCOLOR
226
- #undef HAVE_SETIMAGECOLORSPACE
227
- /* Introduced in IM 6.0.0, GM 1.1 */
228
- #undef HAVE_SETIMAGECHANNELDEPTH
229
- /* Introduced in IM 6.2.4 */
230
- #undef HAVE_SETIMAGEEXTENT
231
- /* Introduced in IM 6.2.1 */
232
- #undef HAVE_SETIMAGEINFOFILE
233
- #undef HAVE_SETIMAGEOPTION
234
- /* Introduced in IM 6.3.4 */
235
- #undef HAVE_SETIMAGEREGISTRY
236
- /* Introduced in IM 6.1.0 */
237
- #undef HAVE_SETIMAGEPROGRESSMONITOR
238
- /* Introduced in IM 6.3.2 */
239
- #undef HAVE_SETIMAGEPROPERTY
240
- /* Introduced in IM 6.2.6 */
241
- #undef HAVE_SETIMAGESTORAGECLASS
242
- /* Introduced in IM 6.1.7 */
243
- #undef HAVE_SHADOWIMAGE
244
- /* Introduced in IM 6.0.1 */
245
- #undef HAVE_SHARPENIMAGECHANNEL
246
- /* Introduced in IM 6.2.1 */
247
- #undef HAVE_SIGMOIDALCONTRASTIMAGECHANNEL
248
- /* Introduced in IM 6.2.8 */
249
- #undef HAVE_SKETCHIMAGE
250
- #undef HAVE_SNPRINTF
251
- #undef HAVE_SPLICEIMAGE
252
- #undef HAVE_STDINT_H
253
- #undef HAVE_STDLIB_H
254
- #undef HAVE_STRING_H
255
- #undef HAVE_STRINGS_H
256
- #undef HAVE_STRIPIMAGE
257
- #undef HAVE_SYS_STAT_H
258
- #undef HAVE_SYS_TYPES_H
259
- #undef HAVE_THRESHOLDIMAGECHANNEL
260
- #undef HAVE_TINTIMAGE
261
- /* Introduced in IM 6.2.4 */
262
- #undef HAVE_TRANSPARENTVIRTUALPIXELMETHOD
263
- /* Introduced in IM 6.2.8 */
264
- #undef HAVE_TRANSPOSEIMAGE
265
- /* Introduced in IM 6.2.8 */
266
- #undef HAVE_TRANSVERSEIMAGE
267
- /* Introduced in IM 6.0.0 */
268
- #undef HAVE_UNDEFINEDGRAVITY
269
- /* Introduced in IM 6.2.9 */
270
- #undef HAVE_UNIQUEIMAGECOLORS
271
- #undef HAVE_UNISTD_H
272
- /* Introduced in IM 6.1.0 */
273
- #undef HAVE_UNSHARPMASKIMAGECHANNEL
274
- #undef HAVE_WHITETHRESHOLDIMAGE
275
- /* Introduced in IM 6.2.6 */
276
- #undef HAVE_VIGNETTEIMAGE
277
- #undef HAVE_XIMPORTIMAGE
278
- #undef MAGICKNAME
279
- #undef PACKAGE_BUGREPORT
280
- #undef PACKAGE_NAME
281
- #undef PACKAGE_STRING
282
- #undef PACKAGE_TARNAME
283
- #undef PACKAGE_VERSION
284
- #undef RUBY_VERSION_STRING
285
-
@@ -1,42 +0,0 @@
1
- # gem_config.rb - This script is executed by the gem command
2
- # to generate the top-level RMagick Makefile. Ref: rmagick.gemspec
3
-
4
- # The gem command calls us with some extra arguments we don't use.
5
- # Filter out anything that isn't a configure option.
6
- OPTIONS = %w{ --bindir= --sbindir=
7
- --libexecdir= --datadir=
8
- --sysconfdir= --sharedstatedir=
9
- --localstatedir= --libdir=
10
- --includedir= --oldincludedir=
11
- --infodir= --mandir=
12
- --disable- --enable-
13
- --with- --without-
14
- --help --version
15
- --quiet --silent
16
- --cache-file= --config-cache
17
- --no-create --srcdir=
18
- --prefix= --exec-prefix=
19
- -h -V -q -C -n }.join('|')
20
-
21
- # Accept gem's --no-rdoc option as if --disable-htmldoc had been specified.
22
- args = []
23
- ARGV.each do |arg|
24
- if arg =~ /\A--no-rdoc\z/i
25
- args << '--disable-htmldoc'
26
- elsif arg =~ /\A(#{OPTIONS})/
27
- args << arg
28
- end
29
- end
30
-
31
- cmd = "sh configure #{args.join(' ')}"
32
- puts "\n#{cmd}\n\n"
33
-
34
- rc = system(cmd)
35
- if rc
36
- puts "RMagick configuration completed successfully."
37
- else
38
- puts "RMagick configuration failed with status #{$?.exitstatus}."
39
- end
40
-
41
- exit $?.exitstatus
42
-