swfmill 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.swfmill +0 -134
- data/README.rdoc +28 -8
- data/Rakefile +6 -5
- data/VERSION +1 -1
- data/ext/.gitignore +1 -0
- data/ext/buffer.h +95 -0
- data/ext/deflate.h +125 -0
- data/ext/extconf.rb +77 -43
- data/ext/inflate.h +82 -0
- data/ext/swfmill/.gitignore +3 -16
- data/ext/swfmill/AUTHORS +2 -1
- data/ext/swfmill/Makefile.in +2 -1
- data/ext/swfmill/NEWS +5 -0
- data/ext/swfmill/autogen.sh +7 -1
- data/ext/swfmill/configure +361 -275
- data/ext/swfmill/configure.ac +28 -20
- data/ext/swfmill/src/Makefile.am +93 -20
- data/ext/swfmill/src/Makefile.in +454 -170
- data/ext/swfmill/src/SWF.h +3 -0
- data/ext/swfmill/src/SWFFile.cpp +1 -1
- data/ext/swfmill/src/SWFShapeMaker.cpp +4 -3
- data/ext/swfmill/src/codegen/basics.xsl +2 -1
- data/ext/swfmill/src/codegen/header.xsl +3 -0
- data/ext/swfmill/src/codegen/parsexml.xsl +53 -2
- data/ext/swfmill/src/codegen/writexml.xsl +54 -1
- data/ext/swfmill/src/swfmill.cpp +52 -35
- data/ext/swfmill/src/swft/swft_import_jpeg.cpp +62 -16
- data/ext/swfmill/src/xslt/simple-elements.xslt +1 -0
- data/ext/swfmill/test/Makefile.in +2 -1
- data/ext/swfmill/test/xml/Makefile.in +2 -1
- data/ext/swfmill_ext.cc +12 -366
- data/ext/swfmill_ext_to_swf.cc +260 -0
- data/ext/swfmill_ext_to_swf.h +6 -0
- data/ext/swfmill_ext_to_xml.cc +262 -0
- data/ext/swfmill_ext_to_xml.h +6 -0
- data/ext/test/Makefile +16 -0
- data/ext/test/buffer_test.cc +84 -0
- data/ext/test/deflate_test.cc +61 -0
- data/ext/test/inflate_test.cc +84 -0
- data/ext/test/test.dat +0 -0
- data/lib/swfmill.rb +14 -23
- data/spec/swfmill_spec.rb +0 -123
- metadata +28 -17
- data/ext/swfmill/src/codegen/Makefile.am +0 -15
- data/ext/swfmill/src/codegen/Makefile.in +0 -346
- data/ext/swfmill/src/swft/Makefile.am +0 -55
- data/ext/swfmill/src/swft/Makefile.in +0 -717
- data/ext/swfmill/src/xslt/Makefile.am +0 -51
- data/ext/swfmill/src/xslt/Makefile.in +0 -536
- data/ext/swfmill/src/xslt/README +0 -19
- data/ext/swfmill/src/xslt/simple.cpp +0 -1686
data/ext/extconf.rb
CHANGED
@@ -1,25 +1,71 @@
|
|
1
1
|
require "mkmf"
|
2
2
|
|
3
|
+
def arg_include_exist?(target)
|
4
|
+
!!(arg_config("--with-#{target}-include") || arg_config("--with-#{target}-dir"))
|
5
|
+
end
|
6
|
+
|
7
|
+
def arg_include(target)
|
8
|
+
arg_config("--with-#{target}-include", arg_config("--with-#{target}-dir", "/usr") + "/include")
|
9
|
+
end
|
10
|
+
|
11
|
+
def arg_lib_exist?(target)
|
12
|
+
!!(arg_config("--with-#{target}-lib") || arg_config("--with-#{target}-dir"))
|
13
|
+
end
|
14
|
+
|
15
|
+
def arg_lib(target)
|
16
|
+
arg_config("--with-#{target}-lib", arg_config("--with-#{target}-dir", "/usr") + "/lib")
|
17
|
+
end
|
18
|
+
|
3
19
|
dir_config("freetype")
|
4
|
-
|
5
|
-
$
|
6
|
-
$CFLAGS
|
20
|
+
if arg_include_exist?("freetype")
|
21
|
+
$FREETYPE_CFLAGS = "-I#{arg_include("freetype") + "/freetype2"}"
|
22
|
+
$CFLAGS += " #{$FREETYPE_CFLAGS}"
|
23
|
+
end
|
24
|
+
if arg_lib_exist?("freetype")
|
25
|
+
$FREETYPE_LIBS = "-L#{arg_lib("freetype")} -lfreetype"
|
26
|
+
$LDFLAGS += " -L#{arg_lib("freetype")}"
|
27
|
+
$libs += " -lfreetype"
|
28
|
+
end
|
29
|
+
unless $FREETYPE_CFLAGS and $FREETYPE_LIBS
|
30
|
+
$FREETYPE_CFLAGS, ldflags, libs = pkg_config("freetype2")
|
31
|
+
$FREETYPE_LIBS = "#{ldflags} #{libs}"
|
32
|
+
end
|
7
33
|
have_library("freetype")
|
8
34
|
have_header("ft2build.h")
|
9
35
|
|
10
36
|
dir_config("libxml2")
|
11
|
-
|
12
|
-
$
|
13
|
-
$CFLAGS
|
37
|
+
if arg_include_exist?("libxml2")
|
38
|
+
$XML_CFLAGS = "-I#{arg_include("libxml2") + "/libxml2"}"
|
39
|
+
$CFLAGS += " #{$XML_CFLAGS}"
|
40
|
+
end
|
41
|
+
if arg_lib_exist?("libxml2")
|
42
|
+
$XML_LIBS = "-L#{arg_lib("libxml2")} -lxml2"
|
43
|
+
$LDFLAGS += " -L#{arg_lib("libxml2")}"
|
44
|
+
$libs += " -lxml2"
|
45
|
+
end
|
46
|
+
unless $XML_CFLAGS and $XML_LIBS
|
47
|
+
$XML_CFLAGS, ldflags, libs = pkg_config("libxml-2.0")
|
48
|
+
$XML_LIBS = "#{ldflags} #{libs}"
|
49
|
+
end
|
14
50
|
have_library("xml2")
|
15
51
|
have_header("libxml/tree.h")
|
16
52
|
have_header("libxml/uri.h")
|
17
53
|
have_header("libxml/xpathInternals.h")
|
18
54
|
|
19
|
-
dir_config("
|
20
|
-
|
21
|
-
$
|
22
|
-
$CFLAGS
|
55
|
+
dir_config("libexslt")
|
56
|
+
if arg_include_exist?("libexslt")
|
57
|
+
$XSLT_CFLAGS = "-I#{arg_include("libexslt") + "/libxml2"}"
|
58
|
+
$CFLAGS += " #{XSLT_CFLAGS}"
|
59
|
+
end
|
60
|
+
if arg_lib_exist?("libexslt")
|
61
|
+
$XSLT_LIBS = "-L#{arg_lib("libexslt")} -lexslt -lxslt -lxml2"
|
62
|
+
$LDFLAGS += " -L#{arg_lib("libexslt")}"
|
63
|
+
$libs += " -lexslt -lxslt -lxml2"
|
64
|
+
end
|
65
|
+
unless $XSLT_CFLAGS and $XSLT_LIBS
|
66
|
+
$XSLT_CFLAGS, ldflags, libs = pkg_config("libexslt")
|
67
|
+
$XSLT_LIBS = "#{ldflags} #{libs}"
|
68
|
+
end
|
23
69
|
have_library("exslt")
|
24
70
|
have_library("xslt")
|
25
71
|
have_header("libexslt/exslt.h")
|
@@ -29,58 +75,46 @@ have_header("libxslt/variables.h")
|
|
29
75
|
have_header("libxslt/xsltutils.h")
|
30
76
|
|
31
77
|
dir_config("libpng")
|
32
|
-
|
33
|
-
$
|
34
|
-
$CFLAGS
|
78
|
+
if arg_include_exist?("libpng")
|
79
|
+
$PNG_CFLAGS = "-I#{arg_include("libpng")}"
|
80
|
+
$CFLAGS += " #{$PNG_CFLAGS}"
|
81
|
+
end
|
82
|
+
if arg_lib_exist?("libpng")
|
83
|
+
$PNG_LIBS = "-L#{arg_lib("libpng")} -lpng"
|
84
|
+
$LDFLAGS += " -L#{arg_lib("libpng")}"
|
85
|
+
$libs += " -lpng"
|
86
|
+
end
|
87
|
+
unless $PNG_CFLAGS and $PNG_LIBS
|
88
|
+
$PNG_CFLAGS, ldflags, libs = pkg_config("libpng")
|
89
|
+
$PNG_LIBS = "#{ldflags} #{libs}"
|
90
|
+
end
|
35
91
|
have_library("png")
|
36
92
|
have_header("png.h")
|
37
93
|
|
38
94
|
dir_config("zlib")
|
39
95
|
have_header("zlib.h")
|
40
96
|
|
97
|
+
have_func("iconv", "iconv.h") or have_library("iconv", "iconv", "iconv.h")
|
98
|
+
|
41
99
|
have_library("stdc++")
|
42
100
|
|
43
101
|
$CFLAGS += " -I./swfmill/src -I./swfmill/src/swft -I./swfmill/src/xslt"
|
44
|
-
$LDFLAGS += " -L./swfmill/src/swft/.libs -lswft -L./swfmill/src/xslt/.libs -lswfmillxslt"
|
45
|
-
|
46
|
-
create_makefile("swfmill_ext")
|
47
102
|
|
48
103
|
Dir.chdir("swfmill") do
|
49
|
-
cmd = "sh autogen.sh"
|
50
|
-
raise "error: #{cmd}" unless system(cmd)
|
51
104
|
cmd = <<CMD
|
52
|
-
sh configure --disable-dependency-tracking \
|
105
|
+
sh configure --config-cache --disable-dependency-tracking \
|
53
106
|
FREETYPE_CFLAGS="#{$FREETYPE_CFLAGS}" FREETYPE_LIBS="#{$FREETYPE_LIBS}" \
|
54
107
|
XML_CFLAGS="#{$XML_CFLAGS}" XML_LIBS="#{$XML_LIBS}" \
|
55
108
|
XSLT_CFLAGS="#{$XSLT_CFLAGS}" XSLT_LIBS="#{$XSLT_LIBS}" \
|
56
|
-
PNG_CFLAGS="#{$PNG_CFLAGS}" PNG_LIBS="#{$PNG_LIBS}"
|
109
|
+
PNG_CFLAGS="#{$PNG_CFLAGS}" PNG_LIBS="#{$PNG_LIBS}" \
|
110
|
+
CXXFLAGS="-O3"
|
57
111
|
CMD
|
58
112
|
raise "error: #{cmd}" unless system(cmd)
|
59
113
|
cmd = "make"
|
60
114
|
raise "error: #{cmd}" unless system(cmd)
|
61
115
|
end
|
62
116
|
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
"swfmill-SWFFile.o",
|
67
|
-
"swfmill-SWFFilter.o",
|
68
|
-
"swfmill-SWFGlyphList.o",
|
69
|
-
"swfmill-SWFItem.o",
|
70
|
-
"swfmill-SWFReader.o",
|
71
|
-
"swfmill-SWFShapeItem.o",
|
72
|
-
"swfmill-SWFShapeMaker.o",
|
73
|
-
"swfmill-SWFTag.o",
|
74
|
-
"swfmill-SWFTrait.o",
|
75
|
-
"swfmill-SWFWriter.o",
|
76
|
-
"swfmill-base64.o",
|
77
|
-
"swfmill-gSWFBasics.o",
|
78
|
-
"swfmill-gSWFDumper.o",
|
79
|
-
"swfmill-gSWFParseXML.o",
|
80
|
-
"swfmill-gSWFParser.o",
|
81
|
-
"swfmill-gSWFSize.o",
|
82
|
-
"swfmill-gSWFWriteXML.o",
|
83
|
-
"swfmill-gSWFWriter.o",]
|
84
|
-
File.open(File.dirname(__FILE__) + "/Makefile", "ab") do |f|
|
85
|
-
f.puts "OBJS += " + append_objs.map{ |e| objs_prefix + e }.join(" ")
|
117
|
+
create_makefile("swfmill_ext")
|
118
|
+
File.open(File.dirname("__FILE__") + "/Makefile", "ab") do |f|
|
119
|
+
f.puts "OBJS += #{Dir["swfmill/src/**/*.o"].join(" ")}"
|
86
120
|
end
|
data/ext/inflate.h
ADDED
@@ -0,0 +1,82 @@
|
|
1
|
+
#ifndef _INFLATE_H_
|
2
|
+
#define _INFLATE_H_
|
3
|
+
#include <zlib.h>
|
4
|
+
|
5
|
+
class Inflate
|
6
|
+
{
|
7
|
+
public:
|
8
|
+
|
9
|
+
Inflate(const unsigned char* data, const size_t size, const size_t length)
|
10
|
+
: _initialized(false)
|
11
|
+
{
|
12
|
+
_data = const_cast<unsigned char*>(data);
|
13
|
+
_data_size = size;
|
14
|
+
_buff = new Bytef[length];
|
15
|
+
_buff_size = length;
|
16
|
+
}
|
17
|
+
|
18
|
+
~Inflate()
|
19
|
+
{
|
20
|
+
finish();
|
21
|
+
delete[] _buff;
|
22
|
+
}
|
23
|
+
|
24
|
+
bool decompress()
|
25
|
+
{
|
26
|
+
if(!init())
|
27
|
+
{
|
28
|
+
return false;
|
29
|
+
}
|
30
|
+
|
31
|
+
int status;
|
32
|
+
status = inflate(&stream, Z_FINISH);
|
33
|
+
return status == Z_STREAM_END;
|
34
|
+
}
|
35
|
+
|
36
|
+
const char* error() const
|
37
|
+
{
|
38
|
+
return stream.msg;
|
39
|
+
}
|
40
|
+
|
41
|
+
const Bytef* data() const
|
42
|
+
{
|
43
|
+
return _buff;
|
44
|
+
}
|
45
|
+
|
46
|
+
private:
|
47
|
+
|
48
|
+
bool init()
|
49
|
+
{
|
50
|
+
if(_initialized)
|
51
|
+
{
|
52
|
+
return true;
|
53
|
+
}
|
54
|
+
stream.zalloc = Z_NULL;
|
55
|
+
stream.zfree = Z_NULL;
|
56
|
+
stream.opaque = Z_NULL;
|
57
|
+
stream.next_in = _data;
|
58
|
+
stream.avail_in = _data_size;
|
59
|
+
stream.next_out = _buff;
|
60
|
+
stream.avail_out = _buff_size;
|
61
|
+
return _initialized = inflateInit(&stream) == Z_OK;
|
62
|
+
}
|
63
|
+
|
64
|
+
bool finish()
|
65
|
+
{
|
66
|
+
if(_initialized)
|
67
|
+
{
|
68
|
+
return inflateEnd(&stream) == Z_OK;
|
69
|
+
}
|
70
|
+
return false;
|
71
|
+
}
|
72
|
+
|
73
|
+
z_stream stream;
|
74
|
+
unsigned char* _data;
|
75
|
+
Bytef* _buff;
|
76
|
+
size_t _data_size;
|
77
|
+
size_t _buff_size;
|
78
|
+
bool _initialized;
|
79
|
+
|
80
|
+
};
|
81
|
+
|
82
|
+
#endif /* _INFLATE_H_ */
|
data/ext/swfmill/.gitignore
CHANGED
@@ -1,16 +1,7 @@
|
|
1
|
-
Makefile
|
2
|
-
|
3
|
-
*.la
|
4
|
-
*.lo
|
5
|
-
*.o
|
6
|
-
|
7
|
-
libtool
|
8
1
|
config.cache
|
9
2
|
config.log
|
10
3
|
config.status
|
11
|
-
|
12
|
-
src/.deps
|
13
|
-
src/.libs
|
4
|
+
libtool
|
14
5
|
src/gSWFBasics.cpp
|
15
6
|
src/gSWFDumper.cpp
|
16
7
|
src/gSWFParseXML.cpp
|
@@ -19,9 +10,5 @@ src/gSWFSize.cpp
|
|
19
10
|
src/gSWFWriteXML.cpp
|
20
11
|
src/gSWFWriter.cpp
|
21
12
|
src/swfmill
|
22
|
-
|
23
|
-
src/
|
24
|
-
src/swft/.libs
|
25
|
-
|
26
|
-
src/xslt/.deps
|
27
|
-
src/xslt/.libs
|
13
|
+
src/xslt/simple.cpp
|
14
|
+
src/xslt/simple.xsl
|
data/ext/swfmill/AUTHORS
CHANGED
@@ -6,4 +6,5 @@ It is maintained by Daniel Cassidy <mail@danielcassidy.me.uk>.
|
|
6
6
|
Contributors (in chronological order):
|
7
7
|
Herman Narkaytis, Steve Webster, Juan José Silveira, Gerrit Karius,
|
8
8
|
Kazuaki MATSUHASHI, Lars Bonde, Alex Midgley, Jey, Ralf Fuest, INADA Naoki,
|
9
|
-
Arthur Chan, Paul Colomiets, Robin Palotai, Benjamin Wolsey, MURAOKA Daisuke
|
9
|
+
Arthur Chan, Paul Colomiets, Robin Palotai, Benjamin Wolsey, MURAOKA Daisuke,
|
10
|
+
Piers Haken.
|
data/ext/swfmill/Makefile.in
CHANGED
@@ -95,12 +95,13 @@ ECHO_N = @ECHO_N@
|
|
95
95
|
ECHO_T = @ECHO_T@
|
96
96
|
EGREP = @EGREP@
|
97
97
|
EXEEXT = @EXEEXT@
|
98
|
+
EXSLT_CFLAGS = @EXSLT_CFLAGS@
|
99
|
+
EXSLT_LIBS = @EXSLT_LIBS@
|
98
100
|
F77 = @F77@
|
99
101
|
FFLAGS = @FFLAGS@
|
100
102
|
FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
|
101
103
|
FREETYPE_LIBS = @FREETYPE_LIBS@
|
102
104
|
GREP = @GREP@
|
103
|
-
HAVE_PKGCONFIG = @HAVE_PKGCONFIG@
|
104
105
|
INSTALL = @INSTALL@
|
105
106
|
INSTALL_DATA = @INSTALL_DATA@
|
106
107
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
data/ext/swfmill/NEWS
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
Simple dialect: Automatically detect the number of frames (previously
|
2
|
+
it was necessary to specify the number of frames in the <movie> tag).
|
3
|
+
Fix occasional incorrect JPEG dimensions (thanks to Piers Haken).
|
4
|
+
Support alternate text encodings in SWF 5 and earlier.
|
5
|
+
|
1
6
|
2009-11-29 release 0.3.0
|
2
7
|
Fix compile error with GCC 4.4 due to inconsistent constancy
|
3
8
|
Support for colormap in DefineBitsLossless (thanks to MURAOKA Daisuke)
|
data/ext/swfmill/autogen.sh
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
#!/bin/sh
|
2
2
|
|
3
|
+
if which glibtoolize; then
|
4
|
+
LIBTOOLIZE=glibtoolize
|
5
|
+
else
|
6
|
+
LIBTOOLIZE=libtoolize
|
7
|
+
fi
|
8
|
+
|
3
9
|
set -x
|
4
10
|
aclocal -I autoconfig/m4
|
5
|
-
|
11
|
+
$LIBTOOLIZE --force --copy
|
6
12
|
automake --foreign --add-missing --copy
|
7
13
|
autoconf
|
data/ext/swfmill/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.61 for swfmill 0.3.
|
3
|
+
# Generated by GNU Autoconf 2.61 for swfmill 0.3.1 .
|
4
4
|
#
|
5
5
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
6
6
|
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
@@ -726,8 +726,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
|
|
726
726
|
# Identity of this package.
|
727
727
|
PACKAGE_NAME='swfmill'
|
728
728
|
PACKAGE_TARNAME='swfmill'
|
729
|
-
PACKAGE_VERSION='0.3.
|
730
|
-
PACKAGE_STRING='swfmill 0.3.
|
729
|
+
PACKAGE_VERSION='0.3.1 '
|
730
|
+
PACKAGE_STRING='swfmill 0.3.1 '
|
731
731
|
PACKAGE_BUGREPORT=''
|
732
732
|
|
733
733
|
# Factoring default headers for most tests.
|
@@ -825,6 +825,7 @@ am__leading_dot
|
|
825
825
|
AMTAR
|
826
826
|
am__tar
|
827
827
|
am__untar
|
828
|
+
GREP
|
828
829
|
CXX
|
829
830
|
CXXFLAGS
|
830
831
|
LDFLAGS
|
@@ -856,7 +857,6 @@ host_cpu
|
|
856
857
|
host_vendor
|
857
858
|
host_os
|
858
859
|
SED
|
859
|
-
GREP
|
860
860
|
EGREP
|
861
861
|
LN_S
|
862
862
|
ECHO
|
@@ -870,16 +870,17 @@ F77
|
|
870
870
|
FFLAGS
|
871
871
|
ac_ct_F77
|
872
872
|
LIBTOOL
|
873
|
-
|
873
|
+
PKG_CONFIG
|
874
874
|
IS_WINDOWS_TRUE
|
875
875
|
IS_WINDOWS_FALSE
|
876
876
|
IS_OSX_TRUE
|
877
877
|
IS_OSX_FALSE
|
878
|
-
PKG_CONFIG
|
879
878
|
XML_CFLAGS
|
880
879
|
XML_LIBS
|
881
880
|
XSLT_CFLAGS
|
882
881
|
XSLT_LIBS
|
882
|
+
EXSLT_CFLAGS
|
883
|
+
EXSLT_LIBS
|
883
884
|
FREETYPE_CFLAGS
|
884
885
|
FREETYPE_LIBS
|
885
886
|
PNG_CFLAGS
|
@@ -907,6 +908,8 @@ XML_CFLAGS
|
|
907
908
|
XML_LIBS
|
908
909
|
XSLT_CFLAGS
|
909
910
|
XSLT_LIBS
|
911
|
+
EXSLT_CFLAGS
|
912
|
+
EXSLT_LIBS
|
910
913
|
FREETYPE_CFLAGS
|
911
914
|
FREETYPE_LIBS
|
912
915
|
PNG_CFLAGS
|
@@ -1413,7 +1416,7 @@ if test "$ac_init_help" = "long"; then
|
|
1413
1416
|
# Omit some internal or obsolete options to make the list less imposing.
|
1414
1417
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
1415
1418
|
cat <<_ACEOF
|
1416
|
-
\`configure' configures swfmill 0.3.
|
1419
|
+
\`configure' configures swfmill 0.3.1 to adapt to many kinds of systems.
|
1417
1420
|
|
1418
1421
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
1419
1422
|
|
@@ -1483,7 +1486,7 @@ fi
|
|
1483
1486
|
|
1484
1487
|
if test -n "$ac_init_help"; then
|
1485
1488
|
case $ac_init_help in
|
1486
|
-
short | recursive ) echo "Configuration of swfmill 0.3.
|
1489
|
+
short | recursive ) echo "Configuration of swfmill 0.3.1 :";;
|
1487
1490
|
esac
|
1488
1491
|
cat <<\_ACEOF
|
1489
1492
|
|
@@ -1525,6 +1528,9 @@ Some influential environment variables:
|
|
1525
1528
|
XML_LIBS linker flags for XML, overriding pkg-config
|
1526
1529
|
XSLT_CFLAGS C compiler flags for XSLT, overriding pkg-config
|
1527
1530
|
XSLT_LIBS linker flags for XSLT, overriding pkg-config
|
1531
|
+
EXSLT_CFLAGS
|
1532
|
+
C compiler flags for EXSLT, overriding pkg-config
|
1533
|
+
EXSLT_LIBS linker flags for EXSLT, overriding pkg-config
|
1528
1534
|
FREETYPE_CFLAGS
|
1529
1535
|
C compiler flags for FREETYPE, overriding pkg-config
|
1530
1536
|
FREETYPE_LIBS
|
@@ -1595,7 +1601,7 @@ fi
|
|
1595
1601
|
test -n "$ac_init_help" && exit $ac_status
|
1596
1602
|
if $ac_init_version; then
|
1597
1603
|
cat <<\_ACEOF
|
1598
|
-
swfmill configure 0.3.
|
1604
|
+
swfmill configure 0.3.1
|
1599
1605
|
generated by GNU Autoconf 2.61
|
1600
1606
|
|
1601
1607
|
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
@@ -1609,7 +1615,7 @@ cat >config.log <<_ACEOF
|
|
1609
1615
|
This file contains any messages produced by compilers while
|
1610
1616
|
running configure, to aid debugging if configure makes a mistake.
|
1611
1617
|
|
1612
|
-
It was created by swfmill $as_me 0.3.
|
1618
|
+
It was created by swfmill $as_me 0.3.1 , which was
|
1613
1619
|
generated by GNU Autoconf 2.61. Invocation command line was
|
1614
1620
|
|
1615
1621
|
$ $0 $@
|
@@ -2299,7 +2305,7 @@ fi
|
|
2299
2305
|
|
2300
2306
|
# Define the identity of the package.
|
2301
2307
|
PACKAGE=swfmill
|
2302
|
-
VERSION=0.3.
|
2308
|
+
VERSION=0.3.1
|
2303
2309
|
|
2304
2310
|
|
2305
2311
|
cat >>confdefs.h <<_ACEOF
|
@@ -2448,6 +2454,85 @@ am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
|
|
2448
2454
|
|
2449
2455
|
|
2450
2456
|
# Checks for programs.
|
2457
|
+
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
|
2458
|
+
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
|
2459
|
+
if test "${ac_cv_path_GREP+set}" = set; then
|
2460
|
+
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2461
|
+
else
|
2462
|
+
# Extract the first word of "grep ggrep" to use in msg output
|
2463
|
+
if test -z "$GREP"; then
|
2464
|
+
set dummy grep ggrep; ac_prog_name=$2
|
2465
|
+
if test "${ac_cv_path_GREP+set}" = set; then
|
2466
|
+
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2467
|
+
else
|
2468
|
+
ac_path_GREP_found=false
|
2469
|
+
# Loop through the user's path and test for each of PROGNAME-LIST
|
2470
|
+
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2471
|
+
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
2472
|
+
do
|
2473
|
+
IFS=$as_save_IFS
|
2474
|
+
test -z "$as_dir" && as_dir=.
|
2475
|
+
for ac_prog in grep ggrep; do
|
2476
|
+
for ac_exec_ext in '' $ac_executable_extensions; do
|
2477
|
+
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
2478
|
+
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
2479
|
+
# Check for GNU ac_path_GREP and select it if it is found.
|
2480
|
+
# Check for GNU $ac_path_GREP
|
2481
|
+
case `"$ac_path_GREP" --version 2>&1` in
|
2482
|
+
*GNU*)
|
2483
|
+
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
2484
|
+
*)
|
2485
|
+
ac_count=0
|
2486
|
+
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
|
2487
|
+
while :
|
2488
|
+
do
|
2489
|
+
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
2490
|
+
mv "conftest.tmp" "conftest.in"
|
2491
|
+
cp "conftest.in" "conftest.nl"
|
2492
|
+
echo 'GREP' >> "conftest.nl"
|
2493
|
+
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
2494
|
+
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
2495
|
+
ac_count=`expr $ac_count + 1`
|
2496
|
+
if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
2497
|
+
# Best one so far, save it but keep looking for a better one
|
2498
|
+
ac_cv_path_GREP="$ac_path_GREP"
|
2499
|
+
ac_path_GREP_max=$ac_count
|
2500
|
+
fi
|
2501
|
+
# 10*(2^10) chars as input seems more than enough
|
2502
|
+
test $ac_count -gt 10 && break
|
2503
|
+
done
|
2504
|
+
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
2505
|
+
esac
|
2506
|
+
|
2507
|
+
|
2508
|
+
$ac_path_GREP_found && break 3
|
2509
|
+
done
|
2510
|
+
done
|
2511
|
+
|
2512
|
+
done
|
2513
|
+
IFS=$as_save_IFS
|
2514
|
+
|
2515
|
+
|
2516
|
+
fi
|
2517
|
+
|
2518
|
+
GREP="$ac_cv_path_GREP"
|
2519
|
+
if test -z "$GREP"; then
|
2520
|
+
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
2521
|
+
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
2522
|
+
{ (exit 1); exit 1; }; }
|
2523
|
+
fi
|
2524
|
+
|
2525
|
+
else
|
2526
|
+
ac_cv_path_GREP=$GREP
|
2527
|
+
fi
|
2528
|
+
|
2529
|
+
|
2530
|
+
fi
|
2531
|
+
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
|
2532
|
+
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
|
2533
|
+
GREP="$ac_cv_path_GREP"
|
2534
|
+
|
2535
|
+
|
2451
2536
|
ac_ext=cpp
|
2452
2537
|
ac_cpp='$CXXCPP $CPPFLAGS'
|
2453
2538
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
@@ -4223,85 +4308,6 @@ SED=$lt_cv_path_SED
|
|
4223
4308
|
{ echo "$as_me:$LINENO: result: $SED" >&5
|
4224
4309
|
echo "${ECHO_T}$SED" >&6; }
|
4225
4310
|
|
4226
|
-
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
|
4227
|
-
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
|
4228
|
-
if test "${ac_cv_path_GREP+set}" = set; then
|
4229
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4230
|
-
else
|
4231
|
-
# Extract the first word of "grep ggrep" to use in msg output
|
4232
|
-
if test -z "$GREP"; then
|
4233
|
-
set dummy grep ggrep; ac_prog_name=$2
|
4234
|
-
if test "${ac_cv_path_GREP+set}" = set; then
|
4235
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4236
|
-
else
|
4237
|
-
ac_path_GREP_found=false
|
4238
|
-
# Loop through the user's path and test for each of PROGNAME-LIST
|
4239
|
-
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
4240
|
-
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
4241
|
-
do
|
4242
|
-
IFS=$as_save_IFS
|
4243
|
-
test -z "$as_dir" && as_dir=.
|
4244
|
-
for ac_prog in grep ggrep; do
|
4245
|
-
for ac_exec_ext in '' $ac_executable_extensions; do
|
4246
|
-
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
4247
|
-
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
4248
|
-
# Check for GNU ac_path_GREP and select it if it is found.
|
4249
|
-
# Check for GNU $ac_path_GREP
|
4250
|
-
case `"$ac_path_GREP" --version 2>&1` in
|
4251
|
-
*GNU*)
|
4252
|
-
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
4253
|
-
*)
|
4254
|
-
ac_count=0
|
4255
|
-
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
|
4256
|
-
while :
|
4257
|
-
do
|
4258
|
-
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
4259
|
-
mv "conftest.tmp" "conftest.in"
|
4260
|
-
cp "conftest.in" "conftest.nl"
|
4261
|
-
echo 'GREP' >> "conftest.nl"
|
4262
|
-
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
4263
|
-
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
4264
|
-
ac_count=`expr $ac_count + 1`
|
4265
|
-
if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
4266
|
-
# Best one so far, save it but keep looking for a better one
|
4267
|
-
ac_cv_path_GREP="$ac_path_GREP"
|
4268
|
-
ac_path_GREP_max=$ac_count
|
4269
|
-
fi
|
4270
|
-
# 10*(2^10) chars as input seems more than enough
|
4271
|
-
test $ac_count -gt 10 && break
|
4272
|
-
done
|
4273
|
-
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
4274
|
-
esac
|
4275
|
-
|
4276
|
-
|
4277
|
-
$ac_path_GREP_found && break 3
|
4278
|
-
done
|
4279
|
-
done
|
4280
|
-
|
4281
|
-
done
|
4282
|
-
IFS=$as_save_IFS
|
4283
|
-
|
4284
|
-
|
4285
|
-
fi
|
4286
|
-
|
4287
|
-
GREP="$ac_cv_path_GREP"
|
4288
|
-
if test -z "$GREP"; then
|
4289
|
-
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
4290
|
-
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
4291
|
-
{ (exit 1); exit 1; }; }
|
4292
|
-
fi
|
4293
|
-
|
4294
|
-
else
|
4295
|
-
ac_cv_path_GREP=$GREP
|
4296
|
-
fi
|
4297
|
-
|
4298
|
-
|
4299
|
-
fi
|
4300
|
-
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
|
4301
|
-
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
|
4302
|
-
GREP="$ac_cv_path_GREP"
|
4303
|
-
|
4304
|
-
|
4305
4311
|
{ echo "$as_me:$LINENO: checking for egrep" >&5
|
4306
4312
|
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
|
4307
4313
|
if test "${ac_cv_path_EGREP+set}" = set; then
|
@@ -4817,7 +4823,7 @@ ia64-*-hpux*)
|
|
4817
4823
|
;;
|
4818
4824
|
*-*-irix6*)
|
4819
4825
|
# Find out which ABI we are using.
|
4820
|
-
echo '#line
|
4826
|
+
echo '#line 4826 "configure"' > conftest.$ac_ext
|
4821
4827
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
4822
4828
|
(eval $ac_compile) 2>&5
|
4823
4829
|
ac_status=$?
|
@@ -7397,11 +7403,11 @@ else
|
|
7397
7403
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
7398
7404
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
7399
7405
|
-e 's:$: $lt_compiler_flag:'`
|
7400
|
-
(eval echo "\"\$as_me:
|
7406
|
+
(eval echo "\"\$as_me:7406: $lt_compile\"" >&5)
|
7401
7407
|
(eval "$lt_compile" 2>conftest.err)
|
7402
7408
|
ac_status=$?
|
7403
7409
|
cat conftest.err >&5
|
7404
|
-
echo "$as_me:
|
7410
|
+
echo "$as_me:7410: \$? = $ac_status" >&5
|
7405
7411
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
7406
7412
|
# The compiler can only warn and ignore the option if not recognized
|
7407
7413
|
# So say no if there are warnings other than the usual output.
|
@@ -7687,11 +7693,11 @@ else
|
|
7687
7693
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
7688
7694
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
7689
7695
|
-e 's:$: $lt_compiler_flag:'`
|
7690
|
-
(eval echo "\"\$as_me:
|
7696
|
+
(eval echo "\"\$as_me:7696: $lt_compile\"" >&5)
|
7691
7697
|
(eval "$lt_compile" 2>conftest.err)
|
7692
7698
|
ac_status=$?
|
7693
7699
|
cat conftest.err >&5
|
7694
|
-
echo "$as_me:
|
7700
|
+
echo "$as_me:7700: \$? = $ac_status" >&5
|
7695
7701
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
7696
7702
|
# The compiler can only warn and ignore the option if not recognized
|
7697
7703
|
# So say no if there are warnings other than the usual output.
|
@@ -7791,11 +7797,11 @@ else
|
|
7791
7797
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
7792
7798
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
7793
7799
|
-e 's:$: $lt_compiler_flag:'`
|
7794
|
-
(eval echo "\"\$as_me:
|
7800
|
+
(eval echo "\"\$as_me:7800: $lt_compile\"" >&5)
|
7795
7801
|
(eval "$lt_compile" 2>out/conftest.err)
|
7796
7802
|
ac_status=$?
|
7797
7803
|
cat out/conftest.err >&5
|
7798
|
-
echo "$as_me:
|
7804
|
+
echo "$as_me:7804: \$? = $ac_status" >&5
|
7799
7805
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
7800
7806
|
then
|
7801
7807
|
# The compiler can only warn and ignore the option if not recognized
|
@@ -10168,7 +10174,7 @@ else
|
|
10168
10174
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
10169
10175
|
lt_status=$lt_dlunknown
|
10170
10176
|
cat > conftest.$ac_ext <<EOF
|
10171
|
-
#line
|
10177
|
+
#line 10177 "configure"
|
10172
10178
|
#include "confdefs.h"
|
10173
10179
|
|
10174
10180
|
#if HAVE_DLFCN_H
|
@@ -10268,7 +10274,7 @@ else
|
|
10268
10274
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
10269
10275
|
lt_status=$lt_dlunknown
|
10270
10276
|
cat > conftest.$ac_ext <<EOF
|
10271
|
-
#line
|
10277
|
+
#line 10277 "configure"
|
10272
10278
|
#include "confdefs.h"
|
10273
10279
|
|
10274
10280
|
#if HAVE_DLFCN_H
|
@@ -12669,11 +12675,11 @@ else
|
|
12669
12675
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
12670
12676
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
12671
12677
|
-e 's:$: $lt_compiler_flag:'`
|
12672
|
-
(eval echo "\"\$as_me:
|
12678
|
+
(eval echo "\"\$as_me:12678: $lt_compile\"" >&5)
|
12673
12679
|
(eval "$lt_compile" 2>conftest.err)
|
12674
12680
|
ac_status=$?
|
12675
12681
|
cat conftest.err >&5
|
12676
|
-
echo "$as_me:
|
12682
|
+
echo "$as_me:12682: \$? = $ac_status" >&5
|
12677
12683
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
12678
12684
|
# The compiler can only warn and ignore the option if not recognized
|
12679
12685
|
# So say no if there are warnings other than the usual output.
|
@@ -12773,11 +12779,11 @@ else
|
|
12773
12779
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
12774
12780
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
12775
12781
|
-e 's:$: $lt_compiler_flag:'`
|
12776
|
-
(eval echo "\"\$as_me:
|
12782
|
+
(eval echo "\"\$as_me:12782: $lt_compile\"" >&5)
|
12777
12783
|
(eval "$lt_compile" 2>out/conftest.err)
|
12778
12784
|
ac_status=$?
|
12779
12785
|
cat out/conftest.err >&5
|
12780
|
-
echo "$as_me:
|
12786
|
+
echo "$as_me:12786: \$? = $ac_status" >&5
|
12781
12787
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
12782
12788
|
then
|
12783
12789
|
# The compiler can only warn and ignore the option if not recognized
|
@@ -14371,11 +14377,11 @@ else
|
|
14371
14377
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
14372
14378
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
14373
14379
|
-e 's:$: $lt_compiler_flag:'`
|
14374
|
-
(eval echo "\"\$as_me:
|
14380
|
+
(eval echo "\"\$as_me:14380: $lt_compile\"" >&5)
|
14375
14381
|
(eval "$lt_compile" 2>conftest.err)
|
14376
14382
|
ac_status=$?
|
14377
14383
|
cat conftest.err >&5
|
14378
|
-
echo "$as_me:
|
14384
|
+
echo "$as_me:14384: \$? = $ac_status" >&5
|
14379
14385
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
14380
14386
|
# The compiler can only warn and ignore the option if not recognized
|
14381
14387
|
# So say no if there are warnings other than the usual output.
|
@@ -14475,11 +14481,11 @@ else
|
|
14475
14481
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
14476
14482
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
14477
14483
|
-e 's:$: $lt_compiler_flag:'`
|
14478
|
-
(eval echo "\"\$as_me:
|
14484
|
+
(eval echo "\"\$as_me:14484: $lt_compile\"" >&5)
|
14479
14485
|
(eval "$lt_compile" 2>out/conftest.err)
|
14480
14486
|
ac_status=$?
|
14481
14487
|
cat out/conftest.err >&5
|
14482
|
-
echo "$as_me:
|
14488
|
+
echo "$as_me:14488: \$? = $ac_status" >&5
|
14483
14489
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
14484
14490
|
then
|
14485
14491
|
# The compiler can only warn and ignore the option if not recognized
|
@@ -16695,11 +16701,11 @@ else
|
|
16695
16701
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
16696
16702
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
16697
16703
|
-e 's:$: $lt_compiler_flag:'`
|
16698
|
-
(eval echo "\"\$as_me:
|
16704
|
+
(eval echo "\"\$as_me:16704: $lt_compile\"" >&5)
|
16699
16705
|
(eval "$lt_compile" 2>conftest.err)
|
16700
16706
|
ac_status=$?
|
16701
16707
|
cat conftest.err >&5
|
16702
|
-
echo "$as_me:
|
16708
|
+
echo "$as_me:16708: \$? = $ac_status" >&5
|
16703
16709
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
16704
16710
|
# The compiler can only warn and ignore the option if not recognized
|
16705
16711
|
# So say no if there are warnings other than the usual output.
|
@@ -16985,11 +16991,11 @@ else
|
|
16985
16991
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
16986
16992
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
16987
16993
|
-e 's:$: $lt_compiler_flag:'`
|
16988
|
-
(eval echo "\"\$as_me:
|
16994
|
+
(eval echo "\"\$as_me:16994: $lt_compile\"" >&5)
|
16989
16995
|
(eval "$lt_compile" 2>conftest.err)
|
16990
16996
|
ac_status=$?
|
16991
16997
|
cat conftest.err >&5
|
16992
|
-
echo "$as_me:
|
16998
|
+
echo "$as_me:16998: \$? = $ac_status" >&5
|
16993
16999
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
16994
17000
|
# The compiler can only warn and ignore the option if not recognized
|
16995
17001
|
# So say no if there are warnings other than the usual output.
|
@@ -17089,11 +17095,11 @@ else
|
|
17089
17095
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
17090
17096
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
17091
17097
|
-e 's:$: $lt_compiler_flag:'`
|
17092
|
-
(eval echo "\"\$as_me:
|
17098
|
+
(eval echo "\"\$as_me:17098: $lt_compile\"" >&5)
|
17093
17099
|
(eval "$lt_compile" 2>out/conftest.err)
|
17094
17100
|
ac_status=$?
|
17095
17101
|
cat out/conftest.err >&5
|
17096
|
-
echo "$as_me:
|
17102
|
+
echo "$as_me:17102: \$? = $ac_status" >&5
|
17097
17103
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
17098
17104
|
then
|
17099
17105
|
# The compiler can only warn and ignore the option if not recognized
|
@@ -19780,24 +19786,29 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
|
19780
19786
|
|
19781
19787
|
|
19782
19788
|
|
19783
|
-
|
19784
|
-
|
19789
|
+
|
19790
|
+
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
|
19791
|
+
if test -n "$ac_tool_prefix"; then
|
19792
|
+
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
|
19793
|
+
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
|
19785
19794
|
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
19786
19795
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
19787
|
-
if test "${
|
19796
|
+
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
|
19788
19797
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
19789
19798
|
else
|
19790
|
-
|
19791
|
-
|
19792
|
-
|
19793
|
-
|
19799
|
+
case $PKG_CONFIG in
|
19800
|
+
[\\/]* | ?:[\\/]*)
|
19801
|
+
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
|
19802
|
+
;;
|
19803
|
+
*)
|
19804
|
+
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
19794
19805
|
for as_dir in $PATH
|
19795
19806
|
do
|
19796
19807
|
IFS=$as_save_IFS
|
19797
19808
|
test -z "$as_dir" && as_dir=.
|
19798
19809
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
19799
19810
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
19800
|
-
|
19811
|
+
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
|
19801
19812
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
19802
19813
|
break 2
|
19803
19814
|
fi
|
@@ -19805,28 +19816,100 @@ done
|
|
19805
19816
|
done
|
19806
19817
|
IFS=$as_save_IFS
|
19807
19818
|
|
19808
|
-
|
19819
|
+
;;
|
19820
|
+
esac
|
19809
19821
|
fi
|
19822
|
+
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
|
19823
|
+
if test -n "$PKG_CONFIG"; then
|
19824
|
+
{ echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
|
19825
|
+
echo "${ECHO_T}$PKG_CONFIG" >&6; }
|
19826
|
+
else
|
19827
|
+
{ echo "$as_me:$LINENO: result: no" >&5
|
19828
|
+
echo "${ECHO_T}no" >&6; }
|
19829
|
+
fi
|
19830
|
+
|
19831
|
+
|
19832
|
+
fi
|
19833
|
+
if test -z "$ac_cv_path_PKG_CONFIG"; then
|
19834
|
+
ac_pt_PKG_CONFIG=$PKG_CONFIG
|
19835
|
+
# Extract the first word of "pkg-config", so it can be a program name with args.
|
19836
|
+
set dummy pkg-config; ac_word=$2
|
19837
|
+
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
19838
|
+
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
19839
|
+
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
|
19840
|
+
echo $ECHO_N "(cached) $ECHO_C" >&6
|
19841
|
+
else
|
19842
|
+
case $ac_pt_PKG_CONFIG in
|
19843
|
+
[\\/]* | ?:[\\/]*)
|
19844
|
+
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
|
19845
|
+
;;
|
19846
|
+
*)
|
19847
|
+
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
19848
|
+
for as_dir in $PATH
|
19849
|
+
do
|
19850
|
+
IFS=$as_save_IFS
|
19851
|
+
test -z "$as_dir" && as_dir=.
|
19852
|
+
for ac_exec_ext in '' $ac_executable_extensions; do
|
19853
|
+
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
19854
|
+
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
|
19855
|
+
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
19856
|
+
break 2
|
19857
|
+
fi
|
19858
|
+
done
|
19859
|
+
done
|
19860
|
+
IFS=$as_save_IFS
|
19861
|
+
|
19862
|
+
;;
|
19863
|
+
esac
|
19810
19864
|
fi
|
19811
|
-
|
19812
|
-
if test -n "$
|
19813
|
-
{ echo "$as_me:$LINENO: result: $
|
19814
|
-
echo "${ECHO_T}$
|
19865
|
+
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
|
19866
|
+
if test -n "$ac_pt_PKG_CONFIG"; then
|
19867
|
+
{ echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
|
19868
|
+
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
|
19815
19869
|
else
|
19816
19870
|
{ echo "$as_me:$LINENO: result: no" >&5
|
19817
19871
|
echo "${ECHO_T}no" >&6; }
|
19818
19872
|
fi
|
19819
19873
|
|
19874
|
+
if test "x$ac_pt_PKG_CONFIG" = x; then
|
19875
|
+
PKG_CONFIG=""
|
19876
|
+
else
|
19877
|
+
case $cross_compiling:$ac_tool_warned in
|
19878
|
+
yes:)
|
19879
|
+
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
19880
|
+
whose name does not start with the host triplet. If you think this
|
19881
|
+
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
19882
|
+
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
19883
|
+
whose name does not start with the host triplet. If you think this
|
19884
|
+
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
19885
|
+
ac_tool_warned=yes ;;
|
19886
|
+
esac
|
19887
|
+
PKG_CONFIG=$ac_pt_PKG_CONFIG
|
19888
|
+
fi
|
19889
|
+
else
|
19890
|
+
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
|
19891
|
+
fi
|
19820
19892
|
|
19893
|
+
fi
|
19894
|
+
if test -n "$PKG_CONFIG"; then
|
19895
|
+
_pkg_min_version=0.9.0
|
19896
|
+
{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
|
19897
|
+
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
|
19898
|
+
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
|
19899
|
+
{ echo "$as_me:$LINENO: result: yes" >&5
|
19900
|
+
echo "${ECHO_T}yes" >&6; }
|
19901
|
+
else
|
19902
|
+
{ echo "$as_me:$LINENO: result: no" >&5
|
19903
|
+
echo "${ECHO_T}no" >&6; }
|
19904
|
+
PKG_CONFIG=""
|
19905
|
+
fi
|
19821
19906
|
|
19822
|
-
if test "x$HAVE_PKGCONFIG" = "xno"; then
|
19823
|
-
{ { echo "$as_me:$LINENO: error: you need to have pkgconfig installed !" >&5
|
19824
|
-
echo "$as_me: error: you need to have pkgconfig installed !" >&2;}
|
19825
|
-
{ (exit 1); exit 1; }; }
|
19826
19907
|
fi
|
19827
19908
|
|
19828
19909
|
# cross-compile specifics
|
19829
|
-
|
19910
|
+
echo $host_os | $GREP mingw > /dev/null && IS_WINDOWS=yes
|
19911
|
+
echo $host_os | $GREP darwin > /dev/null && IS_OSX=yes
|
19912
|
+
if test $IS_WINDOWS ; then
|
19830
19913
|
IS_WINDOWS_TRUE=
|
19831
19914
|
IS_WINDOWS_FALSE='#'
|
19832
19915
|
else
|
@@ -19834,7 +19917,7 @@ else
|
|
19834
19917
|
IS_WINDOWS_FALSE=
|
19835
19918
|
fi
|
19836
19919
|
|
19837
|
-
if
|
19920
|
+
if test $IS_OSX ; then
|
19838
19921
|
IS_OSX_TRUE=
|
19839
19922
|
IS_OSX_FALSE='#'
|
19840
19923
|
else
|
@@ -19971,126 +20054,10 @@ fi
|
|
19971
20054
|
|
19972
20055
|
|
19973
20056
|
# Checks for libraries.
|
19974
|
-
|
19975
|
-
|
19976
|
-
|
19977
|
-
if test -n "$ac_tool_prefix"; then
|
19978
|
-
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
|
19979
|
-
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
|
19980
|
-
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
19981
|
-
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
19982
|
-
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
|
19983
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
20057
|
+
if test $IS_OSX; then
|
20058
|
+
test $XML_CFLAGS || XML_CFLAGS=-I/usr/include/libxml2
|
20059
|
+
test $XML_LIBS || XML_LIBS=-lxml2
|
19984
20060
|
else
|
19985
|
-
case $PKG_CONFIG in
|
19986
|
-
[\\/]* | ?:[\\/]*)
|
19987
|
-
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
|
19988
|
-
;;
|
19989
|
-
*)
|
19990
|
-
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
19991
|
-
for as_dir in $PATH
|
19992
|
-
do
|
19993
|
-
IFS=$as_save_IFS
|
19994
|
-
test -z "$as_dir" && as_dir=.
|
19995
|
-
for ac_exec_ext in '' $ac_executable_extensions; do
|
19996
|
-
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
19997
|
-
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
|
19998
|
-
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
19999
|
-
break 2
|
20000
|
-
fi
|
20001
|
-
done
|
20002
|
-
done
|
20003
|
-
IFS=$as_save_IFS
|
20004
|
-
|
20005
|
-
;;
|
20006
|
-
esac
|
20007
|
-
fi
|
20008
|
-
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
|
20009
|
-
if test -n "$PKG_CONFIG"; then
|
20010
|
-
{ echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
|
20011
|
-
echo "${ECHO_T}$PKG_CONFIG" >&6; }
|
20012
|
-
else
|
20013
|
-
{ echo "$as_me:$LINENO: result: no" >&5
|
20014
|
-
echo "${ECHO_T}no" >&6; }
|
20015
|
-
fi
|
20016
|
-
|
20017
|
-
|
20018
|
-
fi
|
20019
|
-
if test -z "$ac_cv_path_PKG_CONFIG"; then
|
20020
|
-
ac_pt_PKG_CONFIG=$PKG_CONFIG
|
20021
|
-
# Extract the first word of "pkg-config", so it can be a program name with args.
|
20022
|
-
set dummy pkg-config; ac_word=$2
|
20023
|
-
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
20024
|
-
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
20025
|
-
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
|
20026
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
20027
|
-
else
|
20028
|
-
case $ac_pt_PKG_CONFIG in
|
20029
|
-
[\\/]* | ?:[\\/]*)
|
20030
|
-
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
|
20031
|
-
;;
|
20032
|
-
*)
|
20033
|
-
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
20034
|
-
for as_dir in $PATH
|
20035
|
-
do
|
20036
|
-
IFS=$as_save_IFS
|
20037
|
-
test -z "$as_dir" && as_dir=.
|
20038
|
-
for ac_exec_ext in '' $ac_executable_extensions; do
|
20039
|
-
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
20040
|
-
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
|
20041
|
-
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
20042
|
-
break 2
|
20043
|
-
fi
|
20044
|
-
done
|
20045
|
-
done
|
20046
|
-
IFS=$as_save_IFS
|
20047
|
-
|
20048
|
-
;;
|
20049
|
-
esac
|
20050
|
-
fi
|
20051
|
-
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
|
20052
|
-
if test -n "$ac_pt_PKG_CONFIG"; then
|
20053
|
-
{ echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
|
20054
|
-
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
|
20055
|
-
else
|
20056
|
-
{ echo "$as_me:$LINENO: result: no" >&5
|
20057
|
-
echo "${ECHO_T}no" >&6; }
|
20058
|
-
fi
|
20059
|
-
|
20060
|
-
if test "x$ac_pt_PKG_CONFIG" = x; then
|
20061
|
-
PKG_CONFIG=""
|
20062
|
-
else
|
20063
|
-
case $cross_compiling:$ac_tool_warned in
|
20064
|
-
yes:)
|
20065
|
-
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
20066
|
-
whose name does not start with the host triplet. If you think this
|
20067
|
-
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
20068
|
-
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
20069
|
-
whose name does not start with the host triplet. If you think this
|
20070
|
-
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
20071
|
-
ac_tool_warned=yes ;;
|
20072
|
-
esac
|
20073
|
-
PKG_CONFIG=$ac_pt_PKG_CONFIG
|
20074
|
-
fi
|
20075
|
-
else
|
20076
|
-
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
|
20077
|
-
fi
|
20078
|
-
|
20079
|
-
fi
|
20080
|
-
if test -n "$PKG_CONFIG"; then
|
20081
|
-
_pkg_min_version=0.9.0
|
20082
|
-
{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
|
20083
|
-
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
|
20084
|
-
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
|
20085
|
-
{ echo "$as_me:$LINENO: result: yes" >&5
|
20086
|
-
echo "${ECHO_T}yes" >&6; }
|
20087
|
-
else
|
20088
|
-
{ echo "$as_me:$LINENO: result: no" >&5
|
20089
|
-
echo "${ECHO_T}no" >&6; }
|
20090
|
-
PKG_CONFIG=""
|
20091
|
-
fi
|
20092
|
-
|
20093
|
-
fi
|
20094
20061
|
|
20095
20062
|
pkg_failed=no
|
20096
20063
|
{ echo "$as_me:$LINENO: checking for XML" >&5
|
@@ -20202,9 +20169,14 @@ else
|
|
20202
20169
|
echo "${ECHO_T}yes" >&6; }
|
20203
20170
|
:
|
20204
20171
|
fi
|
20172
|
+
fi
|
20205
20173
|
|
20206
20174
|
|
20207
20175
|
|
20176
|
+
if test $IS_OSX; then
|
20177
|
+
test $XSLT_CFLAGS || XSLT_CFLAGS=-I/usr/include/libxml2
|
20178
|
+
test $XSLT_LIBS || XSLT_LIBS="-lxslt -lxml2"
|
20179
|
+
else
|
20208
20180
|
|
20209
20181
|
pkg_failed=no
|
20210
20182
|
{ echo "$as_me:$LINENO: checking for XSLT" >&5
|
@@ -20215,12 +20187,12 @@ if test -n "$PKG_CONFIG"; then
|
|
20215
20187
|
pkg_cv_XSLT_CFLAGS="$XSLT_CFLAGS"
|
20216
20188
|
else
|
20217
20189
|
if test -n "$PKG_CONFIG" && \
|
20218
|
-
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"
|
20219
|
-
($PKG_CONFIG --exists --print-errors "
|
20190
|
+
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxslt\"") >&5
|
20191
|
+
($PKG_CONFIG --exists --print-errors "libxslt") 2>&5
|
20220
20192
|
ac_status=$?
|
20221
20193
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
20222
20194
|
(exit $ac_status); }; then
|
20223
|
-
pkg_cv_XSLT_CFLAGS=`$PKG_CONFIG --cflags "
|
20195
|
+
pkg_cv_XSLT_CFLAGS=`$PKG_CONFIG --cflags "libxslt" 2>/dev/null`
|
20224
20196
|
else
|
20225
20197
|
pkg_failed=yes
|
20226
20198
|
fi
|
@@ -20233,12 +20205,12 @@ if test -n "$PKG_CONFIG"; then
|
|
20233
20205
|
pkg_cv_XSLT_LIBS="$XSLT_LIBS"
|
20234
20206
|
else
|
20235
20207
|
if test -n "$PKG_CONFIG" && \
|
20236
|
-
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"
|
20237
|
-
($PKG_CONFIG --exists --print-errors "
|
20208
|
+
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxslt\"") >&5
|
20209
|
+
($PKG_CONFIG --exists --print-errors "libxslt") 2>&5
|
20238
20210
|
ac_status=$?
|
20239
20211
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
20240
20212
|
(exit $ac_status); }; then
|
20241
|
-
pkg_cv_XSLT_LIBS=`$PKG_CONFIG --libs "
|
20213
|
+
pkg_cv_XSLT_LIBS=`$PKG_CONFIG --libs "libxslt" 2>/dev/null`
|
20242
20214
|
else
|
20243
20215
|
pkg_failed=yes
|
20244
20216
|
fi
|
@@ -20257,14 +20229,14 @@ else
|
|
20257
20229
|
_pkg_short_errors_supported=no
|
20258
20230
|
fi
|
20259
20231
|
if test $_pkg_short_errors_supported = yes; then
|
20260
|
-
XSLT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "
|
20232
|
+
XSLT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libxslt"`
|
20261
20233
|
else
|
20262
|
-
XSLT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "
|
20234
|
+
XSLT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt"`
|
20263
20235
|
fi
|
20264
20236
|
# Put the nasty error message in config.log where it belongs
|
20265
20237
|
echo "$XSLT_PKG_ERRORS" >&5
|
20266
20238
|
|
20267
|
-
{ { echo "$as_me:$LINENO: error: Package requirements (
|
20239
|
+
{ { echo "$as_me:$LINENO: error: Package requirements (libxslt) were not met:
|
20268
20240
|
|
20269
20241
|
$XSLT_PKG_ERRORS
|
20270
20242
|
|
@@ -20275,7 +20247,7 @@ Alternatively, you may set the environment variables XSLT_CFLAGS
|
|
20275
20247
|
and XSLT_LIBS to avoid the need to call pkg-config.
|
20276
20248
|
See the pkg-config man page for more details.
|
20277
20249
|
" >&5
|
20278
|
-
echo "$as_me: error: Package requirements (
|
20250
|
+
echo "$as_me: error: Package requirements (libxslt) were not met:
|
20279
20251
|
|
20280
20252
|
$XSLT_PKG_ERRORS
|
20281
20253
|
|
@@ -20316,6 +20288,126 @@ else
|
|
20316
20288
|
echo "${ECHO_T}yes" >&6; }
|
20317
20289
|
:
|
20318
20290
|
fi
|
20291
|
+
fi
|
20292
|
+
|
20293
|
+
|
20294
|
+
|
20295
|
+
if test $IS_OSX; then
|
20296
|
+
test $EXSLT_CFLAGS || EXSLT_CFLAGS=-I/usr/include/libxml2
|
20297
|
+
test $EXSLT_LIBS || EXSLT_LIBS="-lexslt -lxslt -lxml2"
|
20298
|
+
else
|
20299
|
+
|
20300
|
+
pkg_failed=no
|
20301
|
+
{ echo "$as_me:$LINENO: checking for EXSLT" >&5
|
20302
|
+
echo $ECHO_N "checking for EXSLT... $ECHO_C" >&6; }
|
20303
|
+
|
20304
|
+
if test -n "$PKG_CONFIG"; then
|
20305
|
+
if test -n "$EXSLT_CFLAGS"; then
|
20306
|
+
pkg_cv_EXSLT_CFLAGS="$EXSLT_CFLAGS"
|
20307
|
+
else
|
20308
|
+
if test -n "$PKG_CONFIG" && \
|
20309
|
+
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libexslt\"") >&5
|
20310
|
+
($PKG_CONFIG --exists --print-errors "libexslt") 2>&5
|
20311
|
+
ac_status=$?
|
20312
|
+
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
20313
|
+
(exit $ac_status); }; then
|
20314
|
+
pkg_cv_EXSLT_CFLAGS=`$PKG_CONFIG --cflags "libexslt" 2>/dev/null`
|
20315
|
+
else
|
20316
|
+
pkg_failed=yes
|
20317
|
+
fi
|
20318
|
+
fi
|
20319
|
+
else
|
20320
|
+
pkg_failed=untried
|
20321
|
+
fi
|
20322
|
+
if test -n "$PKG_CONFIG"; then
|
20323
|
+
if test -n "$EXSLT_LIBS"; then
|
20324
|
+
pkg_cv_EXSLT_LIBS="$EXSLT_LIBS"
|
20325
|
+
else
|
20326
|
+
if test -n "$PKG_CONFIG" && \
|
20327
|
+
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libexslt\"") >&5
|
20328
|
+
($PKG_CONFIG --exists --print-errors "libexslt") 2>&5
|
20329
|
+
ac_status=$?
|
20330
|
+
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
20331
|
+
(exit $ac_status); }; then
|
20332
|
+
pkg_cv_EXSLT_LIBS=`$PKG_CONFIG --libs "libexslt" 2>/dev/null`
|
20333
|
+
else
|
20334
|
+
pkg_failed=yes
|
20335
|
+
fi
|
20336
|
+
fi
|
20337
|
+
else
|
20338
|
+
pkg_failed=untried
|
20339
|
+
fi
|
20340
|
+
|
20341
|
+
|
20342
|
+
|
20343
|
+
if test $pkg_failed = yes; then
|
20344
|
+
|
20345
|
+
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
20346
|
+
_pkg_short_errors_supported=yes
|
20347
|
+
else
|
20348
|
+
_pkg_short_errors_supported=no
|
20349
|
+
fi
|
20350
|
+
if test $_pkg_short_errors_supported = yes; then
|
20351
|
+
EXSLT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libexslt"`
|
20352
|
+
else
|
20353
|
+
EXSLT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libexslt"`
|
20354
|
+
fi
|
20355
|
+
# Put the nasty error message in config.log where it belongs
|
20356
|
+
echo "$EXSLT_PKG_ERRORS" >&5
|
20357
|
+
|
20358
|
+
{ { echo "$as_me:$LINENO: error: Package requirements (libexslt) were not met:
|
20359
|
+
|
20360
|
+
$EXSLT_PKG_ERRORS
|
20361
|
+
|
20362
|
+
Consider adjusting the PKG_CONFIG_PATH environment variable if you
|
20363
|
+
installed software in a non-standard prefix.
|
20364
|
+
|
20365
|
+
Alternatively, you may set the environment variables EXSLT_CFLAGS
|
20366
|
+
and EXSLT_LIBS to avoid the need to call pkg-config.
|
20367
|
+
See the pkg-config man page for more details.
|
20368
|
+
" >&5
|
20369
|
+
echo "$as_me: error: Package requirements (libexslt) were not met:
|
20370
|
+
|
20371
|
+
$EXSLT_PKG_ERRORS
|
20372
|
+
|
20373
|
+
Consider adjusting the PKG_CONFIG_PATH environment variable if you
|
20374
|
+
installed software in a non-standard prefix.
|
20375
|
+
|
20376
|
+
Alternatively, you may set the environment variables EXSLT_CFLAGS
|
20377
|
+
and EXSLT_LIBS to avoid the need to call pkg-config.
|
20378
|
+
See the pkg-config man page for more details.
|
20379
|
+
" >&2;}
|
20380
|
+
{ (exit 1); exit 1; }; }
|
20381
|
+
elif test $pkg_failed = untried; then
|
20382
|
+
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
|
20383
|
+
is in your PATH or set the PKG_CONFIG environment variable to the full
|
20384
|
+
path to pkg-config.
|
20385
|
+
|
20386
|
+
Alternatively, you may set the environment variables EXSLT_CFLAGS
|
20387
|
+
and EXSLT_LIBS to avoid the need to call pkg-config.
|
20388
|
+
See the pkg-config man page for more details.
|
20389
|
+
|
20390
|
+
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
|
20391
|
+
See \`config.log' for more details." >&5
|
20392
|
+
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
|
20393
|
+
is in your PATH or set the PKG_CONFIG environment variable to the full
|
20394
|
+
path to pkg-config.
|
20395
|
+
|
20396
|
+
Alternatively, you may set the environment variables EXSLT_CFLAGS
|
20397
|
+
and EXSLT_LIBS to avoid the need to call pkg-config.
|
20398
|
+
See the pkg-config man page for more details.
|
20399
|
+
|
20400
|
+
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
|
20401
|
+
See \`config.log' for more details." >&2;}
|
20402
|
+
{ (exit 1); exit 1; }; }
|
20403
|
+
else
|
20404
|
+
EXSLT_CFLAGS=$pkg_cv_EXSLT_CFLAGS
|
20405
|
+
EXSLT_LIBS=$pkg_cv_EXSLT_LIBS
|
20406
|
+
{ echo "$as_me:$LINENO: result: yes" >&5
|
20407
|
+
echo "${ECHO_T}yes" >&6; }
|
20408
|
+
:
|
20409
|
+
fi
|
20410
|
+
fi
|
20319
20411
|
|
20320
20412
|
|
20321
20413
|
|
@@ -20547,11 +20639,7 @@ fi
|
|
20547
20639
|
|
20548
20640
|
|
20549
20641
|
|
20550
|
-
|
20551
|
-
#AC_SUBST(CROCO_CFLAGS)
|
20552
|
-
#AC_SUBST(CROCO_LIBS)
|
20553
|
-
|
20554
|
-
ac_config_files="$ac_config_files Makefile src/Makefile src/swft/Makefile src/xslt/Makefile src/codegen/Makefile test/Makefile test/xml/Makefile"
|
20642
|
+
ac_config_files="$ac_config_files Makefile src/Makefile test/Makefile test/xml/Makefile"
|
20555
20643
|
|
20556
20644
|
cat >confcache <<\_ACEOF
|
20557
20645
|
# This file is a shell script that caches the results of configure
|
@@ -21014,7 +21102,7 @@ exec 6>&1
|
|
21014
21102
|
# report actual input values of CONFIG_FILES etc. instead of their
|
21015
21103
|
# values after options handling.
|
21016
21104
|
ac_log="
|
21017
|
-
This file was extended by swfmill $as_me 0.3.
|
21105
|
+
This file was extended by swfmill $as_me 0.3.1 , which was
|
21018
21106
|
generated by GNU Autoconf 2.61. Invocation command line was
|
21019
21107
|
|
21020
21108
|
CONFIG_FILES = $CONFIG_FILES
|
@@ -21061,7 +21149,7 @@ Report bugs to <bug-autoconf@gnu.org>."
|
|
21061
21149
|
_ACEOF
|
21062
21150
|
cat >>$CONFIG_STATUS <<_ACEOF
|
21063
21151
|
ac_cs_version="\\
|
21064
|
-
swfmill config.status 0.3.
|
21152
|
+
swfmill config.status 0.3.1
|
21065
21153
|
configured by $0, generated by GNU Autoconf 2.61,
|
21066
21154
|
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
21067
21155
|
|
@@ -21169,9 +21257,6 @@ do
|
|
21169
21257
|
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
21170
21258
|
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
21171
21259
|
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
|
21172
|
-
"src/swft/Makefile") CONFIG_FILES="$CONFIG_FILES src/swft/Makefile" ;;
|
21173
|
-
"src/xslt/Makefile") CONFIG_FILES="$CONFIG_FILES src/xslt/Makefile" ;;
|
21174
|
-
"src/codegen/Makefile") CONFIG_FILES="$CONFIG_FILES src/codegen/Makefile" ;;
|
21175
21260
|
"test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
|
21176
21261
|
"test/xml/Makefile") CONFIG_FILES="$CONFIG_FILES test/xml/Makefile" ;;
|
21177
21262
|
|
@@ -21294,6 +21379,7 @@ am__leading_dot!$am__leading_dot$ac_delim
|
|
21294
21379
|
AMTAR!$AMTAR$ac_delim
|
21295
21380
|
am__tar!$am__tar$ac_delim
|
21296
21381
|
am__untar!$am__untar$ac_delim
|
21382
|
+
GREP!$GREP$ac_delim
|
21297
21383
|
CXX!$CXX$ac_delim
|
21298
21384
|
CXXFLAGS!$CXXFLAGS$ac_delim
|
21299
21385
|
LDFLAGS!$LDFLAGS$ac_delim
|
@@ -21325,7 +21411,6 @@ host_cpu!$host_cpu$ac_delim
|
|
21325
21411
|
host_vendor!$host_vendor$ac_delim
|
21326
21412
|
host_os!$host_os$ac_delim
|
21327
21413
|
SED!$SED$ac_delim
|
21328
|
-
GREP!$GREP$ac_delim
|
21329
21414
|
EGREP!$EGREP$ac_delim
|
21330
21415
|
LN_S!$LN_S$ac_delim
|
21331
21416
|
ECHO!$ECHO$ac_delim
|
@@ -21380,16 +21465,17 @@ F77!$F77$ac_delim
|
|
21380
21465
|
FFLAGS!$FFLAGS$ac_delim
|
21381
21466
|
ac_ct_F77!$ac_ct_F77$ac_delim
|
21382
21467
|
LIBTOOL!$LIBTOOL$ac_delim
|
21383
|
-
|
21468
|
+
PKG_CONFIG!$PKG_CONFIG$ac_delim
|
21384
21469
|
IS_WINDOWS_TRUE!$IS_WINDOWS_TRUE$ac_delim
|
21385
21470
|
IS_WINDOWS_FALSE!$IS_WINDOWS_FALSE$ac_delim
|
21386
21471
|
IS_OSX_TRUE!$IS_OSX_TRUE$ac_delim
|
21387
21472
|
IS_OSX_FALSE!$IS_OSX_FALSE$ac_delim
|
21388
|
-
PKG_CONFIG!$PKG_CONFIG$ac_delim
|
21389
21473
|
XML_CFLAGS!$XML_CFLAGS$ac_delim
|
21390
21474
|
XML_LIBS!$XML_LIBS$ac_delim
|
21391
21475
|
XSLT_CFLAGS!$XSLT_CFLAGS$ac_delim
|
21392
21476
|
XSLT_LIBS!$XSLT_LIBS$ac_delim
|
21477
|
+
EXSLT_CFLAGS!$EXSLT_CFLAGS$ac_delim
|
21478
|
+
EXSLT_LIBS!$EXSLT_LIBS$ac_delim
|
21393
21479
|
FREETYPE_CFLAGS!$FREETYPE_CFLAGS$ac_delim
|
21394
21480
|
FREETYPE_LIBS!$FREETYPE_LIBS$ac_delim
|
21395
21481
|
PNG_CFLAGS!$PNG_CFLAGS$ac_delim
|
@@ -21398,7 +21484,7 @@ LIBOBJS!$LIBOBJS$ac_delim
|
|
21398
21484
|
LTLIBOBJS!$LTLIBOBJS$ac_delim
|
21399
21485
|
_ACEOF
|
21400
21486
|
|
21401
|
-
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` =
|
21487
|
+
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 24; then
|
21402
21488
|
break
|
21403
21489
|
elif $ac_last_try; then
|
21404
21490
|
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|