rmagick 1.14.1 → 1.15.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.
- data/ChangeLog +22 -0
- data/README.html +11 -63
- data/README.txt +8 -56
- data/configure +214 -787
- data/configure.ac +22 -24
- data/doc/comtasks.html +2 -2
- data/doc/constants.html +5 -6
- data/doc/draw.html +33 -14
- data/doc/ex/clip_path.rb +3 -0
- data/doc/ex/path.rb +1 -1
- data/doc/ex/polaroid.rb +23 -0
- data/doc/ex/tspan01.rb +2 -2
- data/doc/ex/tspan02.rb +2 -2
- data/doc/ex/tspan03.rb +3 -3
- data/doc/ex/wet_floor.rb +54 -0
- data/doc/ilist.html +83 -4
- data/doc/image1.html +4 -5
- data/doc/image2.html +395 -266
- data/doc/image3.html +104 -8
- data/doc/imageattrs.html +2 -2
- data/doc/imusage.html +2 -2
- data/doc/index.html +22 -18
- data/doc/info.html +28 -6
- data/doc/magick.html +125 -4
- data/doc/optequiv.html +196 -21
- data/doc/rvg.html +2 -2
- data/doc/rvgclip.html +2 -2
- data/doc/rvggroup.html +2 -2
- data/doc/rvgimage.html +2 -2
- data/doc/rvgpattern.html +2 -2
- data/doc/rvgshape.html +2 -2
- data/doc/rvgstyle.html +2 -2
- data/doc/rvgtext.html +2 -2
- data/doc/rvgtspan.html +2 -2
- data/doc/rvgtut.html +3 -3
- data/doc/rvguse.html +2 -2
- data/doc/rvgxform.html +2 -2
- data/doc/struct.html +2 -2
- data/doc/usage.html +26 -5
- data/ext/RMagick/MANIFEST +3 -1
- data/ext/RMagick/rmagick.h +46 -12
- data/ext/RMagick/rmagick_config.h.in +12 -2
- data/ext/RMagick/rmdraw.c +202 -62
- data/ext/RMagick/rmfill.c +36 -36
- data/ext/RMagick/rmilist.c +75 -31
- data/ext/RMagick/rmimage.c +640 -323
- data/ext/RMagick/rminfo.c +76 -15
- data/ext/RMagick/rmmain.c +107 -30
- data/ext/RMagick/rmutil.c +97 -68
- data/lib/RMagick.rb +11 -11
- data/lib/rvg/clippath.rb +38 -36
- data/lib/rvg/container.rb +120 -118
- data/lib/rvg/deep_equal.rb +44 -42
- data/lib/rvg/describable.rb +49 -47
- data/lib/rvg/embellishable.rb +399 -397
- data/lib/rvg/misc.rb +613 -603
- data/lib/rvg/paint.rb +38 -36
- data/lib/rvg/pathdata.rb +124 -122
- data/lib/rvg/rvg.rb +202 -198
- data/lib/rvg/stretchable.rb +132 -130
- data/lib/rvg/stylable.rb +101 -99
- data/lib/rvg/text.rb +173 -171
- data/lib/rvg/transformable.rb +120 -118
- data/lib/rvg/units.rb +60 -58
- data/rmagick.gemspec +1 -1
- metadata +5 -3
data/ChangeLog
CHANGED
@@ -1,3 +1,25 @@
|
|
1
|
+
RMagick 1.15.0
|
2
|
+
o Added fx method to ImageList class
|
3
|
+
o Added wet_floor method to the Image class
|
4
|
+
o Added linear_stretch method to the Image class (available with
|
5
|
+
ImageMagick 6.3.1-1)
|
6
|
+
o Added recolor method to the Image class (available with ImageMagick 6.3.1-3)
|
7
|
+
o Added polaroid method to the Image class (available with ImageMagick 6.3.1-6)
|
8
|
+
o Added origin attribute to the Image::Info class (supported by
|
9
|
+
ImageMagick 6.3.1-4 and later)
|
10
|
+
o Added PaletteBilevelMatteType to the ImageType enum (available with
|
11
|
+
ImageMagick 6.2.9)
|
12
|
+
o Fix bug #6260, some RVG examples produce all-black GIF images
|
13
|
+
o Fix bug #7034, fix the matte method in the Draw class
|
14
|
+
o Fix bug #7373, default channels should be RGB instead of RGBA
|
15
|
+
o Fix bug #7716, Pixel#intensity wrong for gray images (bug report from
|
16
|
+
Morio Miki)
|
17
|
+
o Fix bug #7949, Magick::Draw.new abends when an exception occurs before
|
18
|
+
the draw object is fully initialized (bug report from Andrew Kaspick)
|
19
|
+
o Fix bug #8015, Magick::Draw.new doesn't call the optional arguments block
|
20
|
+
in the right scope (bug report from Andrew Kaspick)
|
21
|
+
o Tested with ImageMagick 6.3.2-0
|
22
|
+
|
1
23
|
RMagick 1.14.1
|
2
24
|
o Handle change to the type of the ColorInfo.color field introduced by
|
3
25
|
ImageMagick 6.3.0
|
data/README.html
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
2
2
|
<html>
|
3
3
|
<head>
|
4
|
-
<title>RMagick 1.
|
4
|
+
<title>RMagick 1.15.0 README</title>
|
5
5
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
6
6
|
<meta name="GENERATOR" content="BlueCloth">
|
7
7
|
</head>
|
8
8
|
<body>
|
9
|
-
<h1>RMagick 1.
|
9
|
+
<h1>RMagick 1.15.0 README</h1>
|
10
10
|
|
11
|
-
<h2>
|
11
|
+
<h2>01/20/07</h2>
|
12
12
|
|
13
13
|
<h2>Table Of Contents</h2>
|
14
14
|
|
@@ -26,7 +26,6 @@
|
|
26
26
|
<li><a href="#upgrade">Upgrading</a></li>
|
27
27
|
<li><a href="#uninstall">Uninstalling</a></li>
|
28
28
|
<li><a href="#samples">More samples</a></li>
|
29
|
-
<li><a href="#undoc">Undocumented features</a></li>
|
30
29
|
<li><a href="#issues">Known issues</a></li>
|
31
30
|
<li><a href="#bugs">Reporting bugs</a></li>
|
32
31
|
<li><a href="#credits">Credits</a></li>
|
@@ -42,7 +41,7 @@ ImageMagick and GraphicsMagick image processing libraries.</p>
|
|
42
41
|
|
43
42
|
<p><strong>Author:</strong> Tim Hunter</p>
|
44
43
|
|
45
|
-
<p><strong>Email:</strong> <a href="m&#
|
44
|
+
<p><strong>Email:</strong> <a href="mailto:rmagick@rubyforge.org">rmagick@rubyforge.org</a></p>
|
46
45
|
|
47
46
|
<p><strong>RubyForge:</strong> <a href="http://rubyforge.org/projects/rmagick/">http://rubyforge.org/projects/rmagick/</a></p>
|
48
47
|
|
@@ -50,7 +49,8 @@ ImageMagick and GraphicsMagick image processing libraries.</p>
|
|
50
49
|
|
51
50
|
<p><strong>O/S:</strong> Linux, Sun Solaris, Cygwin, FreeBSD, OS X.</p>
|
52
51
|
|
53
|
-
<p><strong>Ruby</strong> 1.6.7 or later. You can get Ruby from <a href="http://www.ruby-lang.org">http://www.ruby-lang.org</a
|
52
|
+
<p><strong>Ruby</strong> 1.6.7 or later. You can get Ruby from <a href="http://www.ruby-lang.org">http://www.ruby-lang.org</a>.
|
53
|
+
RVG requires Ruby 1.8.</p>
|
54
54
|
|
55
55
|
<p>Either <strong>ImageMagick</strong> 6.0.0 or later, or any release of
|
56
56
|
<strong>GraphicsMagick</strong>. GraphicsMagick is a friendly fork of ImageMagick
|
@@ -228,7 +228,7 @@ addition to the regular options, there are a few RMagick-specific options:</p>
|
|
228
228
|
|
229
229
|
<h4 id="scripts">Running the <code>configure</code> and <code>make</code> scripts</h4>
|
230
230
|
|
231
|
-
<p>De-compress the RMagick-1.
|
231
|
+
<p>De-compress the RMagick-1.15.0.tar.gz archive and enter the top
|
232
232
|
directory. Then type:</p>
|
233
233
|
|
234
234
|
<pre><code>$ ./configure <configuration options>
|
@@ -249,9 +249,9 @@ $ make clean
|
|
249
249
|
|
250
250
|
<p>When make is running the examples, if you get a message like this:</p>
|
251
251
|
|
252
|
-
<pre><code>/home/you/RMagick-1.
|
252
|
+
<pre><code>/home/you/RMagick-1.15.0/lib/RMagick.rb:11:in `require': libMagick.so.0:
|
253
253
|
cannot open shared object file: No such file or directory -
|
254
|
-
/home/you/RMagick-1.
|
254
|
+
/home/you/RMagick-1.15.0/ext/RMagick/RMagick.so (LoadError)
|
255
255
|
</code></pre>
|
256
256
|
|
257
257
|
<p>you probably do not have the directory in which the ImageMagick or GraphicsMagick
|
@@ -271,7 +271,7 @@ systems, see the documentation for the dynamic loading facility.</p>
|
|
271
271
|
|
272
272
|
<p>When make is running the examples, if you get a message like this:</p>
|
273
273
|
|
274
|
-
<pre><code>hook /home/me/src/RMagick-1.
|
274
|
+
<pre><code>hook /home/me/src/RMagick-1.15.0/./post-setup.rb failed:
|
275
275
|
No such file or directory - "/tmp/rmagick6872.6"
|
276
276
|
</code></pre>
|
277
277
|
|
@@ -300,58 +300,6 @@ install a newer release of RMagick over an earlier release.</p>
|
|
300
300
|
<p>You can find more sample RMagick programs in the /example directory.
|
301
301
|
These programs are not installed in the RMagick documentation tree.</p>
|
302
302
|
|
303
|
-
<h2 id="undoc">Undocumented features</h2>
|
304
|
-
|
305
|
-
<p>This release includes an extra feature that isn't in the documentation.
|
306
|
-
The Magick module defines two methods that control ImageMagick's logging
|
307
|
-
function. This function is not officially documented by ImageMagick, so I
|
308
|
-
have decided not to add them to RMagick's documentation. However, you may
|
309
|
-
find them helpful for debugging your application. (Caveat: these two
|
310
|
-
methods may change behavior or be removed without advance notice! You are
|
311
|
-
on your own!)</p>
|
312
|
-
|
313
|
-
<h5>Magick::set_log_event_mask(event [,...])</h5>
|
314
|
-
|
315
|
-
<p>The arguments are one or more "event domains". The set<em>log</em>event_mask
|
316
|
-
method recognizes these event domains: "all", "annotate", "blob", "cache",
|
317
|
-
"coder", "configure", "deprecate", "draw", "locale", "none", "resource",
|
318
|
-
"transform", "user", and "x11". ImageMagick events that match the mask
|
319
|
-
are logged. The default domain is "none". For example,</p>
|
320
|
-
|
321
|
-
<pre><code> Magick::set_log_event_mask("render")
|
322
|
-
</code></pre>
|
323
|
-
|
324
|
-
<p>Logging is controlled by the log.mgk file, which may be found in the same
|
325
|
-
directory as the delegates.mgk files. (See ImageMagick's README.txt
|
326
|
-
file.) The purpose of the entries in this file is undocumented, so your
|
327
|
-
guess is as good as mine. Also, the meaning of the event domains and
|
328
|
-
exactly what events are logged are undocumented.</p>
|
329
|
-
|
330
|
-
<h5>Magick::set_log_format(format)</h5>
|
331
|
-
|
332
|
-
<p>The default log format is described in the log.mgk file. This method
|
333
|
-
allows you to redefine the format at run-time. The format argument is a
|
334
|
-
string similar to an fprintf format string. Each line in the log has the
|
335
|
-
format described by the format string. Characters that are not control
|
336
|
-
characters are printed as-is. The control characters are:</p>
|
337
|
-
|
338
|
-
<pre><code> %t - the current time
|
339
|
-
%r - the elapsed time
|
340
|
-
%u - the user time
|
341
|
-
%p - the pid (process id)
|
342
|
-
%m - the name of the ImageMagick source file that contains the
|
343
|
-
function that generated the event
|
344
|
-
%f - the name of the ImageMagick function that generated the event
|
345
|
-
%l - the line number in the source file
|
346
|
-
%d - the event domain (one of the event mask strings listed above)
|
347
|
-
%e - the event name
|
348
|
-
</code></pre>
|
349
|
-
|
350
|
-
<p>For example, the default log format is:</p>
|
351
|
-
|
352
|
-
<pre><code> Magick::set_log_format("%t %r %u %p %m/%f/%l/%d:\n %e")
|
353
|
-
</code></pre>
|
354
|
-
|
355
303
|
<h2 id="bugs">Reporting bugs</h2>
|
356
304
|
|
357
305
|
<p>Please report bugs in RMagick, its documentation, or its installation
|
@@ -374,7 +322,7 @@ to their respective authors or distributors.</p>
|
|
374
322
|
<h2 id="license">License</h2>
|
375
323
|
|
376
324
|
<blockquote>
|
377
|
-
<p>Copyright �
|
325
|
+
<p>Copyright � 2002-2007 by Timothy P. Hunter</p>
|
378
326
|
|
379
327
|
<p>Permission is hereby granted, free of charge, to any person obtaining a
|
380
328
|
copy of this software and associated documentation files (the "Software"),
|
data/README.txt
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
RMagick 1.
|
1
|
+
RMagick 1.15.0 README
|
2
2
|
================================
|
3
|
-
|
3
|
+
01/20/07
|
4
4
|
--------
|
5
5
|
|
6
6
|
Table Of Contents
|
@@ -17,7 +17,6 @@ Table Of Contents
|
|
17
17
|
* [Upgrading] [upgrade]
|
18
18
|
* [Uninstalling] [uninstall]
|
19
19
|
* [More samples] [samples]
|
20
|
-
* [Undocumented features] [undoc]
|
21
20
|
* [Known issues] [issues]
|
22
21
|
* [Reporting bugs] [bugs]
|
23
22
|
* [Credits] [credits]
|
@@ -41,6 +40,7 @@ __RubyForge:__ <http://rubyforge.org/projects/rmagick/>
|
|
41
40
|
__O/S:__ Linux, Sun Solaris, Cygwin, FreeBSD, OS X.
|
42
41
|
|
43
42
|
__Ruby__ 1.6.7 or later. You can get Ruby from <http://www.ruby-lang.org>.
|
43
|
+
RVG requires Ruby 1.8.
|
44
44
|
|
45
45
|
Either __ImageMagick__ 6.0.0 or later, or any release of
|
46
46
|
__GraphicsMagick__. GraphicsMagick is a friendly fork of ImageMagick
|
@@ -196,7 +196,7 @@ addition to the regular options, there are a few RMagick-specific options:
|
|
196
196
|
|
197
197
|
<h4 id="scripts">Running the <code>configure</code> and <code>make</code> scripts</h4>
|
198
198
|
|
199
|
-
De-compress the RMagick-1.
|
199
|
+
De-compress the RMagick-1.15.0.tar.gz archive and enter the top
|
200
200
|
directory. Then type:
|
201
201
|
|
202
202
|
$ ./configure <configuration options>
|
@@ -214,9 +214,9 @@ The message can also refer to "libGraphicsMagick". Typically this message means
|
|
214
214
|
#### Cannot open shared object file
|
215
215
|
When make is running the examples, if you get a message like this:
|
216
216
|
|
217
|
-
/home/you/RMagick-1.
|
217
|
+
/home/you/RMagick-1.15.0/lib/RMagick.rb:11:in `require': libMagick.so.0:
|
218
218
|
cannot open shared object file: No such file or directory -
|
219
|
-
/home/you/RMagick-1.
|
219
|
+
/home/you/RMagick-1.15.0/ext/RMagick/RMagick.so (LoadError)
|
220
220
|
|
221
221
|
you probably do not have the directory in which the ImageMagick or GraphicsMagick
|
222
222
|
library is installed in your load path. An easy way to fix this is to define the
|
@@ -233,7 +233,7 @@ systems, see the documentation for the dynamic loading facility.
|
|
233
233
|
#### No such file or directory - "/tmp/rmagick6872.6"
|
234
234
|
When make is running the examples, if you get a message like this:
|
235
235
|
|
236
|
-
hook /home/me/src/RMagick-1.
|
236
|
+
hook /home/me/src/RMagick-1.15.0/./post-setup.rb failed:
|
237
237
|
No such file or directory - "/tmp/rmagick6872.6"
|
238
238
|
|
239
239
|
you probably do not have a temporary directory environment variable set. Set
|
@@ -259,54 +259,6 @@ The `uninstall` target will uninstall RMagick completely:
|
|
259
259
|
You can find more sample RMagick programs in the /example directory.
|
260
260
|
These programs are not installed in the RMagick documentation tree.
|
261
261
|
|
262
|
-
<h2 id="undoc">Undocumented features</h2>
|
263
|
-
This release includes an extra feature that isn't in the documentation.
|
264
|
-
The Magick module defines two methods that control ImageMagick's logging
|
265
|
-
function. This function is not officially documented by ImageMagick, so I
|
266
|
-
have decided not to add them to RMagick's documentation. However, you may
|
267
|
-
find them helpful for debugging your application. (Caveat: these two
|
268
|
-
methods may change behavior or be removed without advance notice! You are
|
269
|
-
on your own!)
|
270
|
-
|
271
|
-
##### Magick::set\_log\_event_mask(event [,...])
|
272
|
-
|
273
|
-
The arguments are one or more "event domains". The set_log_event_mask
|
274
|
-
method recognizes these event domains: "all", "annotate", "blob", "cache",
|
275
|
-
"coder", "configure", "deprecate", "draw", "locale", "none", "resource",
|
276
|
-
"transform", "user", and "x11". ImageMagick events that match the mask
|
277
|
-
are logged. The default domain is "none". For example,
|
278
|
-
|
279
|
-
Magick::set\_log\_event_mask("render")
|
280
|
-
|
281
|
-
Logging is controlled by the log.mgk file, which may be found in the same
|
282
|
-
directory as the delegates.mgk files. (See ImageMagick's README.txt
|
283
|
-
file.) The purpose of the entries in this file is undocumented, so your
|
284
|
-
guess is as good as mine. Also, the meaning of the event domains and
|
285
|
-
exactly what events are logged are undocumented.
|
286
|
-
|
287
|
-
##### Magick::set\_log\_format(format)
|
288
|
-
|
289
|
-
The default log format is described in the log.mgk file. This method
|
290
|
-
allows you to redefine the format at run-time. The format argument is a
|
291
|
-
string similar to an fprintf format string. Each line in the log has the
|
292
|
-
format described by the format string. Characters that are not control
|
293
|
-
characters are printed as-is. The control characters are:
|
294
|
-
|
295
|
-
%t - the current time
|
296
|
-
%r - the elapsed time
|
297
|
-
%u - the user time
|
298
|
-
%p - the pid (process id)
|
299
|
-
%m - the name of the ImageMagick source file that contains the
|
300
|
-
function that generated the event
|
301
|
-
%f - the name of the ImageMagick function that generated the event
|
302
|
-
%l - the line number in the source file
|
303
|
-
%d - the event domain (one of the event mask strings listed above)
|
304
|
-
%e - the event name
|
305
|
-
|
306
|
-
For example, the default log format is:
|
307
|
-
|
308
|
-
Magick::set_log_format("%t %r %u %p %m/%f/%l/%d:\n %e")
|
309
|
-
|
310
262
|
<h2 id="bugs">Reporting bugs</h2>
|
311
263
|
|
312
264
|
Please report bugs in RMagick, its documentation, or its installation
|
@@ -326,7 +278,7 @@ Thanks to
|
|
326
278
|
|
327
279
|
<h2 id="license">License</h2>
|
328
280
|
|
329
|
-
> Copyright �
|
281
|
+
> Copyright � 2002-2007 by Timothy P. Hunter
|
330
282
|
>
|
331
283
|
> Permission is hereby granted, free of charge, to any person obtaining a
|
332
284
|
> copy of this software and associated documentation files (the "Software"),
|
data/configure
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#! /bin/sh
|
2
2
|
# Guess values for system-dependent variables and create Makefiles.
|
3
|
-
# Generated by GNU Autoconf 2.59 for RMagick 1.
|
3
|
+
# Generated by GNU Autoconf 2.59 for RMagick 1.15.0.
|
4
4
|
#
|
5
5
|
# Report bugs to <rmagick@rubyforge.org>.
|
6
6
|
#
|
@@ -268,49 +268,12 @@ SHELL=${CONFIG_SHELL-/bin/sh}
|
|
268
268
|
|
269
269
|
# Identity of this package.
|
270
270
|
PACKAGE_NAME='RMagick'
|
271
|
-
PACKAGE_TARNAME='RMagick-1.
|
272
|
-
PACKAGE_VERSION='1.
|
273
|
-
PACKAGE_STRING='RMagick 1.
|
271
|
+
PACKAGE_TARNAME='RMagick-1.15.0.tar.gz'
|
272
|
+
PACKAGE_VERSION='1.15.0'
|
273
|
+
PACKAGE_STRING='RMagick 1.15.0'
|
274
274
|
PACKAGE_BUGREPORT='rmagick@rubyforge.org'
|
275
275
|
|
276
|
-
|
277
|
-
ac_includes_default="\
|
278
|
-
#include <stdio.h>
|
279
|
-
#if HAVE_SYS_TYPES_H
|
280
|
-
# include <sys/types.h>
|
281
|
-
#endif
|
282
|
-
#if HAVE_SYS_STAT_H
|
283
|
-
# include <sys/stat.h>
|
284
|
-
#endif
|
285
|
-
#if STDC_HEADERS
|
286
|
-
# include <stdlib.h>
|
287
|
-
# include <stddef.h>
|
288
|
-
#else
|
289
|
-
# if HAVE_STDLIB_H
|
290
|
-
# include <stdlib.h>
|
291
|
-
# endif
|
292
|
-
#endif
|
293
|
-
#if HAVE_STRING_H
|
294
|
-
# if !STDC_HEADERS && HAVE_MEMORY_H
|
295
|
-
# include <memory.h>
|
296
|
-
# endif
|
297
|
-
# include <string.h>
|
298
|
-
#endif
|
299
|
-
#if HAVE_STRINGS_H
|
300
|
-
# include <strings.h>
|
301
|
-
#endif
|
302
|
-
#if HAVE_INTTYPES_H
|
303
|
-
# include <inttypes.h>
|
304
|
-
#else
|
305
|
-
# if HAVE_STDINT_H
|
306
|
-
# include <stdint.h>
|
307
|
-
# endif
|
308
|
-
#endif
|
309
|
-
#if HAVE_UNISTD_H
|
310
|
-
# include <unistd.h>
|
311
|
-
#endif"
|
312
|
-
|
313
|
-
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT RUBY MAGICKCONFIG LOCAL_LIBS MAGICKLIB MAGICKNAME CPP EGREP RUBY_CONFIG_OPTS LIBOBJS LTLIBOBJS'
|
276
|
+
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT RUBY MAGICKCONFIG LOCAL_LIBS MAGICKLIB MAGICKNAME RUBY_CONFIG_OPTS LIBOBJS LTLIBOBJS'
|
314
277
|
ac_subst_files=''
|
315
278
|
|
316
279
|
# Initialize some variables set by options.
|
@@ -767,10 +730,6 @@ ac_env_CPPFLAGS_set=${CPPFLAGS+set}
|
|
767
730
|
ac_env_CPPFLAGS_value=$CPPFLAGS
|
768
731
|
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
|
769
732
|
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
|
770
|
-
ac_env_CPP_set=${CPP+set}
|
771
|
-
ac_env_CPP_value=$CPP
|
772
|
-
ac_cv_env_CPP_set=${CPP+set}
|
773
|
-
ac_cv_env_CPP_value=$CPP
|
774
733
|
|
775
734
|
#
|
776
735
|
# Report the --help message.
|
@@ -779,7 +738,7 @@ if test "$ac_init_help" = "long"; then
|
|
779
738
|
# Omit some internal or obsolete options to make the list less imposing.
|
780
739
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
781
740
|
cat <<_ACEOF
|
782
|
-
\`configure' configures RMagick 1.
|
741
|
+
\`configure' configures RMagick 1.15.0 to adapt to many kinds of systems.
|
783
742
|
|
784
743
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
785
744
|
|
@@ -836,7 +795,7 @@ fi
|
|
836
795
|
|
837
796
|
if test -n "$ac_init_help"; then
|
838
797
|
case $ac_init_help in
|
839
|
-
short | recursive ) echo "Configuration of RMagick 1.
|
798
|
+
short | recursive ) echo "Configuration of RMagick 1.15.0:";;
|
840
799
|
esac
|
841
800
|
cat <<\_ACEOF
|
842
801
|
|
@@ -882,7 +841,6 @@ Some influential environment variables:
|
|
882
841
|
nonstandard directory <lib dir>
|
883
842
|
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
|
884
843
|
headers in a nonstandard directory <include dir>
|
885
|
-
CPP C preprocessor
|
886
844
|
|
887
845
|
Use these variables to override the choices made by `configure' or to help
|
888
846
|
it to find libraries and programs with nonstandard names/locations.
|
@@ -983,7 +941,7 @@ fi
|
|
983
941
|
test -n "$ac_init_help" && exit 0
|
984
942
|
if $ac_init_version; then
|
985
943
|
cat <<\_ACEOF
|
986
|
-
RMagick configure 1.
|
944
|
+
RMagick configure 1.15.0
|
987
945
|
generated by GNU Autoconf 2.59
|
988
946
|
|
989
947
|
Copyright (C) 2003 Free Software Foundation, Inc.
|
@@ -997,7 +955,7 @@ cat >&5 <<_ACEOF
|
|
997
955
|
This file contains any messages produced by compilers while
|
998
956
|
running configure, to aid debugging if configure makes a mistake.
|
999
957
|
|
1000
|
-
It was created by RMagick $as_me 1.
|
958
|
+
It was created by RMagick $as_me 1.15.0, which was
|
1001
959
|
generated by GNU Autoconf 2.59. Invocation command line was
|
1002
960
|
|
1003
961
|
$ $0 $@
|
@@ -2516,682 +2474,47 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
2516
2474
|
{ ac_try='test -s conftest$ac_exeext'
|
2517
2475
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2518
2476
|
(eval $ac_try) 2>&5
|
2519
|
-
ac_status=$?
|
2520
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2521
|
-
(exit $ac_status); }; }; then
|
2522
|
-
eval "$as_ac_Lib=yes"
|
2523
|
-
else
|
2524
|
-
echo "$as_me: failed program was:" >&5
|
2525
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
2526
|
-
|
2527
|
-
eval "$as_ac_Lib=no"
|
2528
|
-
fi
|
2529
|
-
rm -f conftest.err conftest.$ac_objext \
|
2530
|
-
conftest$ac_exeext conftest.$ac_ext
|
2531
|
-
LIBS=$ac_check_lib_save_LIBS
|
2532
|
-
fi
|
2533
|
-
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
|
2534
|
-
echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
|
2535
|
-
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
|
2536
|
-
cat >>confdefs.h <<_ACEOF
|
2537
|
-
#define `echo "HAVE_LIB$MAGICKLIB" | $as_tr_cpp` 1
|
2538
|
-
_ACEOF
|
2539
|
-
|
2540
|
-
LIBS="-l$MAGICKLIB $LIBS"
|
2541
|
-
|
2542
|
-
else
|
2543
|
-
{ { echo "$as_me:$LINENO: error: Can't install RMagick. Can't find lib${MAGICKLIB} or one of the dependent libraries.
|
2544
|
-
Check the config.log file for more detailed information." >&5
|
2545
|
-
echo "$as_me: error: Can't install RMagick. Can't find lib${MAGICKLIB} or one of the dependent libraries.
|
2546
|
-
Check the config.log file for more detailed information." >&2;}
|
2547
|
-
{ (exit 1); exit 1; }; }
|
2548
|
-
fi
|
2549
|
-
|
2550
|
-
|
2551
|
-
|
2552
|
-
|
2553
|
-
|
2554
|
-
|
2555
|
-
cat >>confdefs.h <<_ACEOF
|
2556
|
-
#define MAGICKNAME $MAGICKNAME
|
2557
|
-
_ACEOF
|
2558
|
-
|
2559
|
-
|
2560
|
-
ac_ext=c
|
2561
|
-
ac_cpp='$CPP $CPPFLAGS'
|
2562
|
-
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
2563
|
-
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
2564
|
-
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2565
|
-
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
|
2566
|
-
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
|
2567
|
-
# On Suns, sometimes $CPP names a directory.
|
2568
|
-
if test -n "$CPP" && test -d "$CPP"; then
|
2569
|
-
CPP=
|
2570
|
-
fi
|
2571
|
-
if test -z "$CPP"; then
|
2572
|
-
if test "${ac_cv_prog_CPP+set}" = set; then
|
2573
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2574
|
-
else
|
2575
|
-
# Double quotes because CPP needs to be expanded
|
2576
|
-
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
2577
|
-
do
|
2578
|
-
ac_preproc_ok=false
|
2579
|
-
for ac_c_preproc_warn_flag in '' yes
|
2580
|
-
do
|
2581
|
-
# Use a header file that comes with gcc, so configuring glibc
|
2582
|
-
# with a fresh cross-compiler works.
|
2583
|
-
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
2584
|
-
# <limits.h> exists even on freestanding compilers.
|
2585
|
-
# On the NeXT, cc -E runs the code through the compiler's parser,
|
2586
|
-
# not just through cpp. "Syntax error" is here to catch this case.
|
2587
|
-
cat >conftest.$ac_ext <<_ACEOF
|
2588
|
-
/* confdefs.h. */
|
2589
|
-
_ACEOF
|
2590
|
-
cat confdefs.h >>conftest.$ac_ext
|
2591
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
2592
|
-
/* end confdefs.h. */
|
2593
|
-
#ifdef __STDC__
|
2594
|
-
# include <limits.h>
|
2595
|
-
#else
|
2596
|
-
# include <assert.h>
|
2597
|
-
#endif
|
2598
|
-
Syntax error
|
2599
|
-
_ACEOF
|
2600
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
2601
|
-
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
2602
|
-
ac_status=$?
|
2603
|
-
grep -v '^ *+' conftest.er1 >conftest.err
|
2604
|
-
rm -f conftest.er1
|
2605
|
-
cat conftest.err >&5
|
2606
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2607
|
-
(exit $ac_status); } >/dev/null; then
|
2608
|
-
if test -s conftest.err; then
|
2609
|
-
ac_cpp_err=$ac_c_preproc_warn_flag
|
2610
|
-
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
2611
|
-
else
|
2612
|
-
ac_cpp_err=
|
2613
|
-
fi
|
2614
|
-
else
|
2615
|
-
ac_cpp_err=yes
|
2616
|
-
fi
|
2617
|
-
if test -z "$ac_cpp_err"; then
|
2618
|
-
:
|
2619
|
-
else
|
2620
|
-
echo "$as_me: failed program was:" >&5
|
2621
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
2622
|
-
|
2623
|
-
# Broken: fails on valid input.
|
2624
|
-
continue
|
2625
|
-
fi
|
2626
|
-
rm -f conftest.err conftest.$ac_ext
|
2627
|
-
|
2628
|
-
# OK, works on sane cases. Now check whether non-existent headers
|
2629
|
-
# can be detected and how.
|
2630
|
-
cat >conftest.$ac_ext <<_ACEOF
|
2631
|
-
/* confdefs.h. */
|
2632
|
-
_ACEOF
|
2633
|
-
cat confdefs.h >>conftest.$ac_ext
|
2634
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
2635
|
-
/* end confdefs.h. */
|
2636
|
-
#include <ac_nonexistent.h>
|
2637
|
-
_ACEOF
|
2638
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
2639
|
-
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
2640
|
-
ac_status=$?
|
2641
|
-
grep -v '^ *+' conftest.er1 >conftest.err
|
2642
|
-
rm -f conftest.er1
|
2643
|
-
cat conftest.err >&5
|
2644
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2645
|
-
(exit $ac_status); } >/dev/null; then
|
2646
|
-
if test -s conftest.err; then
|
2647
|
-
ac_cpp_err=$ac_c_preproc_warn_flag
|
2648
|
-
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
2649
|
-
else
|
2650
|
-
ac_cpp_err=
|
2651
|
-
fi
|
2652
|
-
else
|
2653
|
-
ac_cpp_err=yes
|
2654
|
-
fi
|
2655
|
-
if test -z "$ac_cpp_err"; then
|
2656
|
-
# Broken: success on invalid input.
|
2657
|
-
continue
|
2658
|
-
else
|
2659
|
-
echo "$as_me: failed program was:" >&5
|
2660
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
2661
|
-
|
2662
|
-
# Passes both tests.
|
2663
|
-
ac_preproc_ok=:
|
2664
|
-
break
|
2665
|
-
fi
|
2666
|
-
rm -f conftest.err conftest.$ac_ext
|
2667
|
-
|
2668
|
-
done
|
2669
|
-
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
2670
|
-
rm -f conftest.err conftest.$ac_ext
|
2671
|
-
if $ac_preproc_ok; then
|
2672
|
-
break
|
2673
|
-
fi
|
2674
|
-
|
2675
|
-
done
|
2676
|
-
ac_cv_prog_CPP=$CPP
|
2677
|
-
|
2678
|
-
fi
|
2679
|
-
CPP=$ac_cv_prog_CPP
|
2680
|
-
else
|
2681
|
-
ac_cv_prog_CPP=$CPP
|
2682
|
-
fi
|
2683
|
-
echo "$as_me:$LINENO: result: $CPP" >&5
|
2684
|
-
echo "${ECHO_T}$CPP" >&6
|
2685
|
-
ac_preproc_ok=false
|
2686
|
-
for ac_c_preproc_warn_flag in '' yes
|
2687
|
-
do
|
2688
|
-
# Use a header file that comes with gcc, so configuring glibc
|
2689
|
-
# with a fresh cross-compiler works.
|
2690
|
-
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
2691
|
-
# <limits.h> exists even on freestanding compilers.
|
2692
|
-
# On the NeXT, cc -E runs the code through the compiler's parser,
|
2693
|
-
# not just through cpp. "Syntax error" is here to catch this case.
|
2694
|
-
cat >conftest.$ac_ext <<_ACEOF
|
2695
|
-
/* confdefs.h. */
|
2696
|
-
_ACEOF
|
2697
|
-
cat confdefs.h >>conftest.$ac_ext
|
2698
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
2699
|
-
/* end confdefs.h. */
|
2700
|
-
#ifdef __STDC__
|
2701
|
-
# include <limits.h>
|
2702
|
-
#else
|
2703
|
-
# include <assert.h>
|
2704
|
-
#endif
|
2705
|
-
Syntax error
|
2706
|
-
_ACEOF
|
2707
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
2708
|
-
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
2709
|
-
ac_status=$?
|
2710
|
-
grep -v '^ *+' conftest.er1 >conftest.err
|
2711
|
-
rm -f conftest.er1
|
2712
|
-
cat conftest.err >&5
|
2713
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2714
|
-
(exit $ac_status); } >/dev/null; then
|
2715
|
-
if test -s conftest.err; then
|
2716
|
-
ac_cpp_err=$ac_c_preproc_warn_flag
|
2717
|
-
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
2718
|
-
else
|
2719
|
-
ac_cpp_err=
|
2720
|
-
fi
|
2721
|
-
else
|
2722
|
-
ac_cpp_err=yes
|
2723
|
-
fi
|
2724
|
-
if test -z "$ac_cpp_err"; then
|
2725
|
-
:
|
2726
|
-
else
|
2727
|
-
echo "$as_me: failed program was:" >&5
|
2728
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
2729
|
-
|
2730
|
-
# Broken: fails on valid input.
|
2731
|
-
continue
|
2732
|
-
fi
|
2733
|
-
rm -f conftest.err conftest.$ac_ext
|
2734
|
-
|
2735
|
-
# OK, works on sane cases. Now check whether non-existent headers
|
2736
|
-
# can be detected and how.
|
2737
|
-
cat >conftest.$ac_ext <<_ACEOF
|
2738
|
-
/* confdefs.h. */
|
2739
|
-
_ACEOF
|
2740
|
-
cat confdefs.h >>conftest.$ac_ext
|
2741
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
2742
|
-
/* end confdefs.h. */
|
2743
|
-
#include <ac_nonexistent.h>
|
2744
|
-
_ACEOF
|
2745
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
2746
|
-
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
2747
|
-
ac_status=$?
|
2748
|
-
grep -v '^ *+' conftest.er1 >conftest.err
|
2749
|
-
rm -f conftest.er1
|
2750
|
-
cat conftest.err >&5
|
2751
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2752
|
-
(exit $ac_status); } >/dev/null; then
|
2753
|
-
if test -s conftest.err; then
|
2754
|
-
ac_cpp_err=$ac_c_preproc_warn_flag
|
2755
|
-
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
2756
|
-
else
|
2757
|
-
ac_cpp_err=
|
2758
|
-
fi
|
2759
|
-
else
|
2760
|
-
ac_cpp_err=yes
|
2761
|
-
fi
|
2762
|
-
if test -z "$ac_cpp_err"; then
|
2763
|
-
# Broken: success on invalid input.
|
2764
|
-
continue
|
2765
|
-
else
|
2766
|
-
echo "$as_me: failed program was:" >&5
|
2767
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
2768
|
-
|
2769
|
-
# Passes both tests.
|
2770
|
-
ac_preproc_ok=:
|
2771
|
-
break
|
2772
|
-
fi
|
2773
|
-
rm -f conftest.err conftest.$ac_ext
|
2774
|
-
|
2775
|
-
done
|
2776
|
-
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
2777
|
-
rm -f conftest.err conftest.$ac_ext
|
2778
|
-
if $ac_preproc_ok; then
|
2779
|
-
:
|
2780
|
-
else
|
2781
|
-
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
|
2782
|
-
See \`config.log' for more details." >&5
|
2783
|
-
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
|
2784
|
-
See \`config.log' for more details." >&2;}
|
2785
|
-
{ (exit 1); exit 1; }; }
|
2786
|
-
fi
|
2787
|
-
|
2788
|
-
ac_ext=c
|
2789
|
-
ac_cpp='$CPP $CPPFLAGS'
|
2790
|
-
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
2791
|
-
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
2792
|
-
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2793
|
-
|
2794
|
-
|
2795
|
-
echo "$as_me:$LINENO: checking for egrep" >&5
|
2796
|
-
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
|
2797
|
-
if test "${ac_cv_prog_egrep+set}" = set; then
|
2798
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2799
|
-
else
|
2800
|
-
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
|
2801
|
-
then ac_cv_prog_egrep='grep -E'
|
2802
|
-
else ac_cv_prog_egrep='egrep'
|
2803
|
-
fi
|
2804
|
-
fi
|
2805
|
-
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
|
2806
|
-
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
|
2807
|
-
EGREP=$ac_cv_prog_egrep
|
2808
|
-
|
2809
|
-
|
2810
|
-
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
2811
|
-
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
|
2812
|
-
if test "${ac_cv_header_stdc+set}" = set; then
|
2813
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2814
|
-
else
|
2815
|
-
cat >conftest.$ac_ext <<_ACEOF
|
2816
|
-
/* confdefs.h. */
|
2817
|
-
_ACEOF
|
2818
|
-
cat confdefs.h >>conftest.$ac_ext
|
2819
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
2820
|
-
/* end confdefs.h. */
|
2821
|
-
#include <stdlib.h>
|
2822
|
-
#include <stdarg.h>
|
2823
|
-
#include <string.h>
|
2824
|
-
#include <float.h>
|
2825
|
-
|
2826
|
-
int
|
2827
|
-
main ()
|
2828
|
-
{
|
2829
|
-
|
2830
|
-
;
|
2831
|
-
return 0;
|
2832
|
-
}
|
2833
|
-
_ACEOF
|
2834
|
-
rm -f conftest.$ac_objext
|
2835
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2836
|
-
(eval $ac_compile) 2>conftest.er1
|
2837
|
-
ac_status=$?
|
2838
|
-
grep -v '^ *+' conftest.er1 >conftest.err
|
2839
|
-
rm -f conftest.er1
|
2840
|
-
cat conftest.err >&5
|
2841
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2842
|
-
(exit $ac_status); } &&
|
2843
|
-
{ ac_try='test -z "$ac_c_werror_flag"
|
2844
|
-
|| test ! -s conftest.err'
|
2845
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2846
|
-
(eval $ac_try) 2>&5
|
2847
|
-
ac_status=$?
|
2848
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2849
|
-
(exit $ac_status); }; } &&
|
2850
|
-
{ ac_try='test -s conftest.$ac_objext'
|
2851
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2852
|
-
(eval $ac_try) 2>&5
|
2853
|
-
ac_status=$?
|
2854
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2855
|
-
(exit $ac_status); }; }; then
|
2856
|
-
ac_cv_header_stdc=yes
|
2857
|
-
else
|
2858
|
-
echo "$as_me: failed program was:" >&5
|
2859
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
2860
|
-
|
2861
|
-
ac_cv_header_stdc=no
|
2862
|
-
fi
|
2863
|
-
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
2864
|
-
|
2865
|
-
if test $ac_cv_header_stdc = yes; then
|
2866
|
-
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
2867
|
-
cat >conftest.$ac_ext <<_ACEOF
|
2868
|
-
/* confdefs.h. */
|
2869
|
-
_ACEOF
|
2870
|
-
cat confdefs.h >>conftest.$ac_ext
|
2871
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
2872
|
-
/* end confdefs.h. */
|
2873
|
-
#include <string.h>
|
2874
|
-
|
2875
|
-
_ACEOF
|
2876
|
-
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
2877
|
-
$EGREP "memchr" >/dev/null 2>&1; then
|
2878
|
-
:
|
2879
|
-
else
|
2880
|
-
ac_cv_header_stdc=no
|
2881
|
-
fi
|
2882
|
-
rm -f conftest*
|
2883
|
-
|
2884
|
-
fi
|
2885
|
-
|
2886
|
-
if test $ac_cv_header_stdc = yes; then
|
2887
|
-
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
2888
|
-
cat >conftest.$ac_ext <<_ACEOF
|
2889
|
-
/* confdefs.h. */
|
2890
|
-
_ACEOF
|
2891
|
-
cat confdefs.h >>conftest.$ac_ext
|
2892
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
2893
|
-
/* end confdefs.h. */
|
2894
|
-
#include <stdlib.h>
|
2895
|
-
|
2896
|
-
_ACEOF
|
2897
|
-
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
2898
|
-
$EGREP "free" >/dev/null 2>&1; then
|
2899
|
-
:
|
2900
|
-
else
|
2901
|
-
ac_cv_header_stdc=no
|
2902
|
-
fi
|
2903
|
-
rm -f conftest*
|
2904
|
-
|
2905
|
-
fi
|
2906
|
-
|
2907
|
-
if test $ac_cv_header_stdc = yes; then
|
2908
|
-
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
2909
|
-
if test "$cross_compiling" = yes; then
|
2910
|
-
:
|
2911
|
-
else
|
2912
|
-
cat >conftest.$ac_ext <<_ACEOF
|
2913
|
-
/* confdefs.h. */
|
2914
|
-
_ACEOF
|
2915
|
-
cat confdefs.h >>conftest.$ac_ext
|
2916
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
2917
|
-
/* end confdefs.h. */
|
2918
|
-
#include <ctype.h>
|
2919
|
-
#if ((' ' & 0x0FF) == 0x020)
|
2920
|
-
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
2921
|
-
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
2922
|
-
#else
|
2923
|
-
# define ISLOWER(c) \
|
2924
|
-
(('a' <= (c) && (c) <= 'i') \
|
2925
|
-
|| ('j' <= (c) && (c) <= 'r') \
|
2926
|
-
|| ('s' <= (c) && (c) <= 'z'))
|
2927
|
-
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
2928
|
-
#endif
|
2929
|
-
|
2930
|
-
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
2931
|
-
int
|
2932
|
-
main ()
|
2933
|
-
{
|
2934
|
-
int i;
|
2935
|
-
for (i = 0; i < 256; i++)
|
2936
|
-
if (XOR (islower (i), ISLOWER (i))
|
2937
|
-
|| toupper (i) != TOUPPER (i))
|
2938
|
-
exit(2);
|
2939
|
-
exit (0);
|
2940
|
-
}
|
2941
|
-
_ACEOF
|
2942
|
-
rm -f conftest$ac_exeext
|
2943
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
2944
|
-
(eval $ac_link) 2>&5
|
2945
|
-
ac_status=$?
|
2946
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2947
|
-
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
2948
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2949
|
-
(eval $ac_try) 2>&5
|
2950
|
-
ac_status=$?
|
2951
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2952
|
-
(exit $ac_status); }; }; then
|
2953
|
-
:
|
2954
|
-
else
|
2955
|
-
echo "$as_me: program exited with status $ac_status" >&5
|
2956
|
-
echo "$as_me: failed program was:" >&5
|
2957
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
2958
|
-
|
2959
|
-
( exit $ac_status )
|
2960
|
-
ac_cv_header_stdc=no
|
2961
|
-
fi
|
2962
|
-
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
2963
|
-
fi
|
2964
|
-
fi
|
2965
|
-
fi
|
2966
|
-
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
2967
|
-
echo "${ECHO_T}$ac_cv_header_stdc" >&6
|
2968
|
-
if test $ac_cv_header_stdc = yes; then
|
2969
|
-
|
2970
|
-
cat >>confdefs.h <<\_ACEOF
|
2971
|
-
#define STDC_HEADERS 1
|
2972
|
-
_ACEOF
|
2973
|
-
|
2974
|
-
fi
|
2975
|
-
|
2976
|
-
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
2977
|
-
|
2978
|
-
|
2979
|
-
|
2980
|
-
|
2981
|
-
|
2982
|
-
|
2983
|
-
|
2984
|
-
|
2985
|
-
|
2986
|
-
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
2987
|
-
inttypes.h stdint.h unistd.h
|
2988
|
-
do
|
2989
|
-
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
2990
|
-
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
2991
|
-
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
2992
|
-
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
2993
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2994
|
-
else
|
2995
|
-
cat >conftest.$ac_ext <<_ACEOF
|
2996
|
-
/* confdefs.h. */
|
2997
|
-
_ACEOF
|
2998
|
-
cat confdefs.h >>conftest.$ac_ext
|
2999
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
3000
|
-
/* end confdefs.h. */
|
3001
|
-
$ac_includes_default
|
3002
|
-
|
3003
|
-
#include <$ac_header>
|
3004
|
-
_ACEOF
|
3005
|
-
rm -f conftest.$ac_objext
|
3006
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
3007
|
-
(eval $ac_compile) 2>conftest.er1
|
3008
|
-
ac_status=$?
|
3009
|
-
grep -v '^ *+' conftest.er1 >conftest.err
|
3010
|
-
rm -f conftest.er1
|
3011
|
-
cat conftest.err >&5
|
3012
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3013
|
-
(exit $ac_status); } &&
|
3014
|
-
{ ac_try='test -z "$ac_c_werror_flag"
|
3015
|
-
|| test ! -s conftest.err'
|
3016
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3017
|
-
(eval $ac_try) 2>&5
|
3018
|
-
ac_status=$?
|
3019
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3020
|
-
(exit $ac_status); }; } &&
|
3021
|
-
{ ac_try='test -s conftest.$ac_objext'
|
3022
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3023
|
-
(eval $ac_try) 2>&5
|
3024
|
-
ac_status=$?
|
3025
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3026
|
-
(exit $ac_status); }; }; then
|
3027
|
-
eval "$as_ac_Header=yes"
|
3028
|
-
else
|
3029
|
-
echo "$as_me: failed program was:" >&5
|
3030
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
3031
|
-
|
3032
|
-
eval "$as_ac_Header=no"
|
3033
|
-
fi
|
3034
|
-
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
3035
|
-
fi
|
3036
|
-
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
3037
|
-
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
3038
|
-
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
3039
|
-
cat >>confdefs.h <<_ACEOF
|
3040
|
-
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
3041
|
-
_ACEOF
|
3042
|
-
|
3043
|
-
fi
|
3044
|
-
|
3045
|
-
done
|
3046
|
-
|
3047
|
-
|
3048
|
-
if test "${ac_cv_header_magick_api_h+set}" = set; then
|
3049
|
-
echo "$as_me:$LINENO: checking for magick/api.h" >&5
|
3050
|
-
echo $ECHO_N "checking for magick/api.h... $ECHO_C" >&6
|
3051
|
-
if test "${ac_cv_header_magick_api_h+set}" = set; then
|
3052
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3053
|
-
fi
|
3054
|
-
echo "$as_me:$LINENO: result: $ac_cv_header_magick_api_h" >&5
|
3055
|
-
echo "${ECHO_T}$ac_cv_header_magick_api_h" >&6
|
3056
|
-
else
|
3057
|
-
# Is the header compilable?
|
3058
|
-
echo "$as_me:$LINENO: checking magick/api.h usability" >&5
|
3059
|
-
echo $ECHO_N "checking magick/api.h usability... $ECHO_C" >&6
|
3060
|
-
cat >conftest.$ac_ext <<_ACEOF
|
3061
|
-
/* confdefs.h. */
|
3062
|
-
_ACEOF
|
3063
|
-
cat confdefs.h >>conftest.$ac_ext
|
3064
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
3065
|
-
/* end confdefs.h. */
|
3066
|
-
$ac_includes_default
|
3067
|
-
#include <magick/api.h>
|
3068
|
-
_ACEOF
|
3069
|
-
rm -f conftest.$ac_objext
|
3070
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
3071
|
-
(eval $ac_compile) 2>conftest.er1
|
3072
|
-
ac_status=$?
|
3073
|
-
grep -v '^ *+' conftest.er1 >conftest.err
|
3074
|
-
rm -f conftest.er1
|
3075
|
-
cat conftest.err >&5
|
3076
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3077
|
-
(exit $ac_status); } &&
|
3078
|
-
{ ac_try='test -z "$ac_c_werror_flag"
|
3079
|
-
|| test ! -s conftest.err'
|
3080
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3081
|
-
(eval $ac_try) 2>&5
|
3082
|
-
ac_status=$?
|
3083
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3084
|
-
(exit $ac_status); }; } &&
|
3085
|
-
{ ac_try='test -s conftest.$ac_objext'
|
3086
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3087
|
-
(eval $ac_try) 2>&5
|
3088
|
-
ac_status=$?
|
3089
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3090
|
-
(exit $ac_status); }; }; then
|
3091
|
-
ac_header_compiler=yes
|
3092
|
-
else
|
3093
|
-
echo "$as_me: failed program was:" >&5
|
3094
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
3095
|
-
|
3096
|
-
ac_header_compiler=no
|
3097
|
-
fi
|
3098
|
-
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
3099
|
-
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
3100
|
-
echo "${ECHO_T}$ac_header_compiler" >&6
|
3101
|
-
|
3102
|
-
# Is the header present?
|
3103
|
-
echo "$as_me:$LINENO: checking magick/api.h presence" >&5
|
3104
|
-
echo $ECHO_N "checking magick/api.h presence... $ECHO_C" >&6
|
3105
|
-
cat >conftest.$ac_ext <<_ACEOF
|
3106
|
-
/* confdefs.h. */
|
3107
|
-
_ACEOF
|
3108
|
-
cat confdefs.h >>conftest.$ac_ext
|
3109
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
3110
|
-
/* end confdefs.h. */
|
3111
|
-
#include <magick/api.h>
|
3112
|
-
_ACEOF
|
3113
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
3114
|
-
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
3115
|
-
ac_status=$?
|
3116
|
-
grep -v '^ *+' conftest.er1 >conftest.err
|
3117
|
-
rm -f conftest.er1
|
3118
|
-
cat conftest.err >&5
|
2477
|
+
ac_status=$?
|
3119
2478
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3120
|
-
(exit $ac_status); }
|
3121
|
-
|
3122
|
-
ac_cpp_err=$ac_c_preproc_warn_flag
|
3123
|
-
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
3124
|
-
else
|
3125
|
-
ac_cpp_err=
|
3126
|
-
fi
|
3127
|
-
else
|
3128
|
-
ac_cpp_err=yes
|
3129
|
-
fi
|
3130
|
-
if test -z "$ac_cpp_err"; then
|
3131
|
-
ac_header_preproc=yes
|
2479
|
+
(exit $ac_status); }; }; then
|
2480
|
+
eval "$as_ac_Lib=yes"
|
3132
2481
|
else
|
3133
2482
|
echo "$as_me: failed program was:" >&5
|
3134
2483
|
sed 's/^/| /' conftest.$ac_ext >&5
|
3135
2484
|
|
3136
|
-
|
2485
|
+
eval "$as_ac_Lib=no"
|
3137
2486
|
fi
|
3138
|
-
rm -f conftest.err conftest.$
|
3139
|
-
|
3140
|
-
|
3141
|
-
|
3142
|
-
# So? What about this header?
|
3143
|
-
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
3144
|
-
yes:no: )
|
3145
|
-
{ echo "$as_me:$LINENO: WARNING: magick/api.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
3146
|
-
echo "$as_me: WARNING: magick/api.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
3147
|
-
{ echo "$as_me:$LINENO: WARNING: magick/api.h: proceeding with the compiler's result" >&5
|
3148
|
-
echo "$as_me: WARNING: magick/api.h: proceeding with the compiler's result" >&2;}
|
3149
|
-
ac_header_preproc=yes
|
3150
|
-
;;
|
3151
|
-
no:yes:* )
|
3152
|
-
{ echo "$as_me:$LINENO: WARNING: magick/api.h: present but cannot be compiled" >&5
|
3153
|
-
echo "$as_me: WARNING: magick/api.h: present but cannot be compiled" >&2;}
|
3154
|
-
{ echo "$as_me:$LINENO: WARNING: magick/api.h: check for missing prerequisite headers?" >&5
|
3155
|
-
echo "$as_me: WARNING: magick/api.h: check for missing prerequisite headers?" >&2;}
|
3156
|
-
{ echo "$as_me:$LINENO: WARNING: magick/api.h: see the Autoconf documentation" >&5
|
3157
|
-
echo "$as_me: WARNING: magick/api.h: see the Autoconf documentation" >&2;}
|
3158
|
-
{ echo "$as_me:$LINENO: WARNING: magick/api.h: section \"Present But Cannot Be Compiled\"" >&5
|
3159
|
-
echo "$as_me: WARNING: magick/api.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
3160
|
-
{ echo "$as_me:$LINENO: WARNING: magick/api.h: proceeding with the preprocessor's result" >&5
|
3161
|
-
echo "$as_me: WARNING: magick/api.h: proceeding with the preprocessor's result" >&2;}
|
3162
|
-
{ echo "$as_me:$LINENO: WARNING: magick/api.h: in the future, the compiler will take precedence" >&5
|
3163
|
-
echo "$as_me: WARNING: magick/api.h: in the future, the compiler will take precedence" >&2;}
|
3164
|
-
(
|
3165
|
-
cat <<\_ASBOX
|
3166
|
-
## ------------------------------------ ##
|
3167
|
-
## Report this to rmagick@rubyforge.org ##
|
3168
|
-
## ------------------------------------ ##
|
3169
|
-
_ASBOX
|
3170
|
-
) |
|
3171
|
-
sed "s/^/$as_me: WARNING: /" >&2
|
3172
|
-
;;
|
3173
|
-
esac
|
3174
|
-
echo "$as_me:$LINENO: checking for magick/api.h" >&5
|
3175
|
-
echo $ECHO_N "checking for magick/api.h... $ECHO_C" >&6
|
3176
|
-
if test "${ac_cv_header_magick_api_h+set}" = set; then
|
3177
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3178
|
-
else
|
3179
|
-
ac_cv_header_magick_api_h=$ac_header_preproc
|
2487
|
+
rm -f conftest.err conftest.$ac_objext \
|
2488
|
+
conftest$ac_exeext conftest.$ac_ext
|
2489
|
+
LIBS=$ac_check_lib_save_LIBS
|
3180
2490
|
fi
|
3181
|
-
echo "$as_me:$LINENO: result: $
|
3182
|
-
echo "${ECHO_T}$
|
2491
|
+
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
|
2492
|
+
echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
|
2493
|
+
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
|
2494
|
+
cat >>confdefs.h <<_ACEOF
|
2495
|
+
#define `echo "HAVE_LIB$MAGICKLIB" | $as_tr_cpp` 1
|
2496
|
+
_ACEOF
|
2497
|
+
|
2498
|
+
LIBS="-l$MAGICKLIB $LIBS"
|
3183
2499
|
|
3184
|
-
fi
|
3185
|
-
if test $ac_cv_header_magick_api_h = yes; then
|
3186
|
-
:
|
3187
2500
|
else
|
3188
|
-
{ { echo "$as_me:$LINENO: error: Can't find
|
3189
|
-
|
2501
|
+
{ { echo "$as_me:$LINENO: error: Can't install RMagick. Can't find lib${MAGICKLIB} or one of the dependent libraries.
|
2502
|
+
Check the config.log file for more detailed information." >&5
|
2503
|
+
echo "$as_me: error: Can't install RMagick. Can't find lib${MAGICKLIB} or one of the dependent libraries.
|
2504
|
+
Check the config.log file for more detailed information." >&2;}
|
3190
2505
|
{ (exit 1); exit 1; }; }
|
3191
2506
|
fi
|
3192
2507
|
|
3193
2508
|
|
3194
2509
|
|
2510
|
+
|
2511
|
+
|
2512
|
+
|
2513
|
+
cat >>confdefs.h <<_ACEOF
|
2514
|
+
#define MAGICKNAME $MAGICKNAME
|
2515
|
+
_ACEOF
|
2516
|
+
|
2517
|
+
|
3195
2518
|
# What standard functions?
|
3196
2519
|
|
3197
2520
|
for ac_func in snprintf
|
@@ -4134,7 +3457,7 @@ done
|
|
4134
3457
|
|
4135
3458
|
|
4136
3459
|
|
4137
|
-
for ac_func in FuzzyColorCompare GammaImageChannel
|
3460
|
+
for ac_func in FuzzyColorCompare FxImageChannel GammaImageChannel
|
4138
3461
|
do
|
4139
3462
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
4140
3463
|
echo "$as_me:$LINENO: checking for $ac_func" >&5
|
@@ -4237,7 +3560,8 @@ done
|
|
4237
3560
|
|
4238
3561
|
|
4239
3562
|
|
4240
|
-
|
3563
|
+
|
3564
|
+
for ac_func in GaussianBlurImageChannel GetColorHistogram GetColorInfoArray
|
4241
3565
|
do
|
4242
3566
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
4243
3567
|
echo "$as_me:$LINENO: checking for $ac_func" >&5
|
@@ -5590,7 +4914,111 @@ done
|
|
5590
4914
|
|
5591
4915
|
|
5592
4916
|
|
5593
|
-
|
4917
|
+
|
4918
|
+
for ac_func in IsImageSimilar LinearStretchImage NegateImageChannel
|
4919
|
+
do
|
4920
|
+
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
4921
|
+
echo "$as_me:$LINENO: checking for $ac_func" >&5
|
4922
|
+
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
|
4923
|
+
if eval "test \"\${$as_ac_var+set}\" = set"; then
|
4924
|
+
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4925
|
+
else
|
4926
|
+
cat >conftest.$ac_ext <<_ACEOF
|
4927
|
+
/* confdefs.h. */
|
4928
|
+
_ACEOF
|
4929
|
+
cat confdefs.h >>conftest.$ac_ext
|
4930
|
+
cat >>conftest.$ac_ext <<_ACEOF
|
4931
|
+
/* end confdefs.h. */
|
4932
|
+
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
4933
|
+
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
4934
|
+
#define $ac_func innocuous_$ac_func
|
4935
|
+
|
4936
|
+
/* System header to define __stub macros and hopefully few prototypes,
|
4937
|
+
which can conflict with char $ac_func (); below.
|
4938
|
+
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
4939
|
+
<limits.h> exists even on freestanding compilers. */
|
4940
|
+
|
4941
|
+
#ifdef __STDC__
|
4942
|
+
# include <limits.h>
|
4943
|
+
#else
|
4944
|
+
# include <assert.h>
|
4945
|
+
#endif
|
4946
|
+
|
4947
|
+
#undef $ac_func
|
4948
|
+
|
4949
|
+
/* Override any gcc2 internal prototype to avoid an error. */
|
4950
|
+
#ifdef __cplusplus
|
4951
|
+
extern "C"
|
4952
|
+
{
|
4953
|
+
#endif
|
4954
|
+
/* We use char because int might match the return type of a gcc2
|
4955
|
+
builtin and then its argument prototype would still apply. */
|
4956
|
+
char $ac_func ();
|
4957
|
+
/* The GNU C library defines this for functions which it implements
|
4958
|
+
to always fail with ENOSYS. Some functions are actually named
|
4959
|
+
something starting with __ and the normal name is an alias. */
|
4960
|
+
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
4961
|
+
choke me
|
4962
|
+
#else
|
4963
|
+
char (*f) () = $ac_func;
|
4964
|
+
#endif
|
4965
|
+
#ifdef __cplusplus
|
4966
|
+
}
|
4967
|
+
#endif
|
4968
|
+
|
4969
|
+
int
|
4970
|
+
main ()
|
4971
|
+
{
|
4972
|
+
return f != $ac_func;
|
4973
|
+
;
|
4974
|
+
return 0;
|
4975
|
+
}
|
4976
|
+
_ACEOF
|
4977
|
+
rm -f conftest.$ac_objext conftest$ac_exeext
|
4978
|
+
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
4979
|
+
(eval $ac_link) 2>conftest.er1
|
4980
|
+
ac_status=$?
|
4981
|
+
grep -v '^ *+' conftest.er1 >conftest.err
|
4982
|
+
rm -f conftest.er1
|
4983
|
+
cat conftest.err >&5
|
4984
|
+
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4985
|
+
(exit $ac_status); } &&
|
4986
|
+
{ ac_try='test -z "$ac_c_werror_flag"
|
4987
|
+
|| test ! -s conftest.err'
|
4988
|
+
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4989
|
+
(eval $ac_try) 2>&5
|
4990
|
+
ac_status=$?
|
4991
|
+
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4992
|
+
(exit $ac_status); }; } &&
|
4993
|
+
{ ac_try='test -s conftest$ac_exeext'
|
4994
|
+
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4995
|
+
(eval $ac_try) 2>&5
|
4996
|
+
ac_status=$?
|
4997
|
+
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4998
|
+
(exit $ac_status); }; }; then
|
4999
|
+
eval "$as_ac_var=yes"
|
5000
|
+
else
|
5001
|
+
echo "$as_me: failed program was:" >&5
|
5002
|
+
sed 's/^/| /' conftest.$ac_ext >&5
|
5003
|
+
|
5004
|
+
eval "$as_ac_var=no"
|
5005
|
+
fi
|
5006
|
+
rm -f conftest.err conftest.$ac_objext \
|
5007
|
+
conftest$ac_exeext conftest.$ac_ext
|
5008
|
+
fi
|
5009
|
+
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
|
5010
|
+
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
|
5011
|
+
if test `eval echo '${'$as_ac_var'}'` = yes; then
|
5012
|
+
cat >>confdefs.h <<_ACEOF
|
5013
|
+
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
5014
|
+
_ACEOF
|
5015
|
+
|
5016
|
+
fi
|
5017
|
+
done
|
5018
|
+
|
5019
|
+
|
5020
|
+
|
5021
|
+
for ac_func in NormalizeImageChannel OrderedPosterizeImageChannel
|
5594
5022
|
do
|
5595
5023
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
5596
5024
|
echo "$as_me:$LINENO: checking for $ac_func" >&5
|
@@ -5695,7 +5123,7 @@ done
|
|
5695
5123
|
|
5696
5124
|
|
5697
5125
|
|
5698
|
-
for ac_func in
|
5126
|
+
for ac_func in ParseSizeGeometry PolaroidImage PosterizeImage PreviewImage
|
5699
5127
|
do
|
5700
5128
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
5701
5129
|
echo "$as_me:$LINENO: checking for $ac_func" >&5
|
@@ -6005,7 +5433,8 @@ done
|
|
6005
5433
|
|
6006
5434
|
|
6007
5435
|
|
6008
|
-
|
5436
|
+
|
5437
|
+
for ac_func in RecolorImage SeparateImageChannel SepiaToneImage
|
6009
5438
|
do
|
6010
5439
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
6011
5440
|
echo "$as_me:$LINENO: checking for $ac_func" >&5
|
@@ -8844,71 +8273,6 @@ _ACEOF
|
|
8844
8273
|
|
8845
8274
|
fi
|
8846
8275
|
|
8847
|
-
echo "$as_me:$LINENO: checking for CopyCyanCompositeOp enum value" >&5
|
8848
|
-
echo $ECHO_N "checking for CopyCyanCompositeOp enum value... $ECHO_C" >&6
|
8849
|
-
if test "${rm_cv_enum_copycyancompositeop+set}" = set; then
|
8850
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
8851
|
-
else
|
8852
|
-
cat >conftest.$ac_ext <<_ACEOF
|
8853
|
-
/* confdefs.h. */
|
8854
|
-
_ACEOF
|
8855
|
-
cat confdefs.h >>conftest.$ac_ext
|
8856
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
8857
|
-
/* end confdefs.h. */
|
8858
|
-
#include <stdio.h>
|
8859
|
-
#if HAVE_SYS_TYPES_H
|
8860
|
-
#include <sys/types.h>
|
8861
|
-
#endif
|
8862
|
-
#include "magick/api.h"
|
8863
|
-
int
|
8864
|
-
main ()
|
8865
|
-
{
|
8866
|
-
CompositeOperator x; x = CopyCyanCompositeOp
|
8867
|
-
;
|
8868
|
-
return 0;
|
8869
|
-
}
|
8870
|
-
_ACEOF
|
8871
|
-
rm -f conftest.$ac_objext
|
8872
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
8873
|
-
(eval $ac_compile) 2>conftest.er1
|
8874
|
-
ac_status=$?
|
8875
|
-
grep -v '^ *+' conftest.er1 >conftest.err
|
8876
|
-
rm -f conftest.er1
|
8877
|
-
cat conftest.err >&5
|
8878
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
8879
|
-
(exit $ac_status); } &&
|
8880
|
-
{ ac_try='test -z "$ac_c_werror_flag"
|
8881
|
-
|| test ! -s conftest.err'
|
8882
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
8883
|
-
(eval $ac_try) 2>&5
|
8884
|
-
ac_status=$?
|
8885
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
8886
|
-
(exit $ac_status); }; } &&
|
8887
|
-
{ ac_try='test -s conftest.$ac_objext'
|
8888
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
8889
|
-
(eval $ac_try) 2>&5
|
8890
|
-
ac_status=$?
|
8891
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
8892
|
-
(exit $ac_status); }; }; then
|
8893
|
-
rm_cv_enum_copycyancompositeop='yes'
|
8894
|
-
else
|
8895
|
-
echo "$as_me: failed program was:" >&5
|
8896
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
8897
|
-
|
8898
|
-
rm_cv_enum_copycyancompositeop='no'
|
8899
|
-
fi
|
8900
|
-
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
8901
|
-
fi
|
8902
|
-
echo "$as_me:$LINENO: result: $rm_cv_enum_copycyancompositeop" >&5
|
8903
|
-
echo "${ECHO_T}$rm_cv_enum_copycyancompositeop" >&6
|
8904
|
-
|
8905
|
-
if test "$rm_cv_enum_copycyancompositeop" = yes; then
|
8906
|
-
cat >>confdefs.h <<\_ACEOF
|
8907
|
-
#define HAVE_COPYCYANCOMPOSITEOP 1
|
8908
|
-
_ACEOF
|
8909
|
-
|
8910
|
-
fi
|
8911
|
-
|
8912
8276
|
echo "$as_me:$LINENO: checking for ReplaceCompositeOp enum value" >&5
|
8913
8277
|
echo $ECHO_N "checking for ReplaceCompositeOp enum value... $ECHO_C" >&6
|
8914
8278
|
if test "${rm_cv_enum_replacecompositeop+set}" = set; then
|
@@ -9688,6 +9052,71 @@ _ACEOF
|
|
9688
9052
|
|
9689
9053
|
fi
|
9690
9054
|
|
9055
|
+
echo "$as_me:$LINENO: checking for PaletteBilevelMatteType enum value" >&5
|
9056
|
+
echo $ECHO_N "checking for PaletteBilevelMatteType enum value... $ECHO_C" >&6
|
9057
|
+
if test "${rm_cv_enum_palettebilevelmattetype+set}" = set; then
|
9058
|
+
echo $ECHO_N "(cached) $ECHO_C" >&6
|
9059
|
+
else
|
9060
|
+
cat >conftest.$ac_ext <<_ACEOF
|
9061
|
+
/* confdefs.h. */
|
9062
|
+
_ACEOF
|
9063
|
+
cat confdefs.h >>conftest.$ac_ext
|
9064
|
+
cat >>conftest.$ac_ext <<_ACEOF
|
9065
|
+
/* end confdefs.h. */
|
9066
|
+
#include <stdio.h>
|
9067
|
+
#if HAVE_SYS_TYPES_H
|
9068
|
+
#include <sys/types.h>
|
9069
|
+
#endif
|
9070
|
+
#include "magick/api.h"
|
9071
|
+
int
|
9072
|
+
main ()
|
9073
|
+
{
|
9074
|
+
ImageType x; x = PaletteBilevelMatteType
|
9075
|
+
;
|
9076
|
+
return 0;
|
9077
|
+
}
|
9078
|
+
_ACEOF
|
9079
|
+
rm -f conftest.$ac_objext
|
9080
|
+
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
9081
|
+
(eval $ac_compile) 2>conftest.er1
|
9082
|
+
ac_status=$?
|
9083
|
+
grep -v '^ *+' conftest.er1 >conftest.err
|
9084
|
+
rm -f conftest.er1
|
9085
|
+
cat conftest.err >&5
|
9086
|
+
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
9087
|
+
(exit $ac_status); } &&
|
9088
|
+
{ ac_try='test -z "$ac_c_werror_flag"
|
9089
|
+
|| test ! -s conftest.err'
|
9090
|
+
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
9091
|
+
(eval $ac_try) 2>&5
|
9092
|
+
ac_status=$?
|
9093
|
+
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
9094
|
+
(exit $ac_status); }; } &&
|
9095
|
+
{ ac_try='test -s conftest.$ac_objext'
|
9096
|
+
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
9097
|
+
(eval $ac_try) 2>&5
|
9098
|
+
ac_status=$?
|
9099
|
+
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
9100
|
+
(exit $ac_status); }; }; then
|
9101
|
+
rm_cv_enum_palettebilevelmattetype='yes'
|
9102
|
+
else
|
9103
|
+
echo "$as_me: failed program was:" >&5
|
9104
|
+
sed 's/^/| /' conftest.$ac_ext >&5
|
9105
|
+
|
9106
|
+
rm_cv_enum_palettebilevelmattetype='no'
|
9107
|
+
fi
|
9108
|
+
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
9109
|
+
fi
|
9110
|
+
echo "$as_me:$LINENO: result: $rm_cv_enum_palettebilevelmattetype" >&5
|
9111
|
+
echo "${ECHO_T}$rm_cv_enum_palettebilevelmattetype" >&6
|
9112
|
+
|
9113
|
+
if test "$rm_cv_enum_palettebilevelmattetype" = yes; then
|
9114
|
+
cat >>confdefs.h <<\_ACEOF
|
9115
|
+
#define HAVE_PALETTEBILEVELMATTETYPE 1
|
9116
|
+
_ACEOF
|
9117
|
+
|
9118
|
+
fi
|
9119
|
+
|
9691
9120
|
if test "$rm_have_getimagequantumdepth" = yes; then
|
9692
9121
|
# IM 6.0.5 changed the number of arguments to GetImageQuantumDepth.
|
9693
9122
|
echo "$as_me:$LINENO: checking if GetImageQuantumDepth has only 1 argument" >&5
|
@@ -10587,7 +10016,7 @@ _ASBOX
|
|
10587
10016
|
} >&5
|
10588
10017
|
cat >&5 <<_CSEOF
|
10589
10018
|
|
10590
|
-
This file was extended by RMagick $as_me 1.
|
10019
|
+
This file was extended by RMagick $as_me 1.15.0, which was
|
10591
10020
|
generated by GNU Autoconf 2.59. Invocation command line was
|
10592
10021
|
|
10593
10022
|
CONFIG_FILES = $CONFIG_FILES
|
@@ -10647,7 +10076,7 @@ _ACEOF
|
|
10647
10076
|
|
10648
10077
|
cat >>$CONFIG_STATUS <<_ACEOF
|
10649
10078
|
ac_cs_version="\\
|
10650
|
-
RMagick config.status 1.
|
10079
|
+
RMagick config.status 1.15.0
|
10651
10080
|
configured by $0, generated by GNU Autoconf 2.59,
|
10652
10081
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
10653
10082
|
|
@@ -10849,8 +10278,6 @@ s,@MAGICKCONFIG@,$MAGICKCONFIG,;t t
|
|
10849
10278
|
s,@LOCAL_LIBS@,$LOCAL_LIBS,;t t
|
10850
10279
|
s,@MAGICKLIB@,$MAGICKLIB,;t t
|
10851
10280
|
s,@MAGICKNAME@,$MAGICKNAME,;t t
|
10852
|
-
s,@CPP@,$CPP,;t t
|
10853
|
-
s,@EGREP@,$EGREP,;t t
|
10854
10281
|
s,@RUBY_CONFIG_OPTS@,$RUBY_CONFIG_OPTS,;t t
|
10855
10282
|
s,@LIBOBJS@,$LIBOBJS,;t t
|
10856
10283
|
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
|