Codebase list dvisvgm / 7fe3754
New upstream version 2.11 Hilmar Preusse 3 years ago
108 changed file(s) with 9891 addition(s) and 74769 deletion(s). Raw diff Collapse all Expand all
0 version: 2.11-{build}
1 configuration: Release
2
3 image: Visual Studio 2019 Preview
4
5 platform:
6 - x64
7 - Win32
8
9 branches:
10 except:
11 - tmp
12
13 install:
14 - set FREETYPE_VER=2.10.4
15 - set ZLIB_VER=1.2.11
16 - set TTFA_VER=1.8.2
17 - set TTFA_REV=3
18 - cd vc
19 - cd freetype
20 - appveyor DownloadFile http://download.savannah.gnu.org/releases/freetype/freetype-%FREETYPE_VER%.tar.gz
21 - tar xzf freetype-%FREETYPE_VER%.tar.gz --strip-components=1
22 - del freetype-%FREETYPE_VER%.tar.gz
23 - cd ..\zlib
24 - appveyor DownloadFile http://zlib.net/zlib-%ZLIB_VER%.tar.gz
25 - tar xzf zlib-%ZLIB_VER%.tar.gz --strip-components=1
26 - del zlib-%ZLIB_VER%.tar.gz
27 - cd ..
28 - appveyor DownloadFile https://github.com/mgieseki/ttfautohint-dll/releases/download/r%TTFA_VER%-%TTFA_REV%/ttfautohint-%TTFA_VER%-dll64.zip
29 - unzip -o -d ttfautohint ttfautohint-%TTFA_VER%-dll64.zip
30 - del ttfautohint-%TTFA_VER%-dll64.zip
31
32 build:
33 project: vc\dvisvgm.sln
34 verbosity: minimal
0 doc/dvisvgm.* linguist-documentation
1 libs/* linguist-vendored
0 # These are supported funding model platforms
1
2 github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
3 patreon: # Replace with a single Patreon username
4 open_collective: # Replace with a single Open Collective username
5 ko_fi: # Replace with a single Ko-fi username
6 tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
7 community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
8 liberapay: mgieseking
9 issuehunt: mgieseki
10 otechie: # Replace with a single Otechie username
11 custom: https://www.paypal.me/mgieseking
0 .*
1 *.a
2 *.la
3 *.o
4 *.lo
5 *.Po
6 *.obj
7 *.dvi
8 *.gch
9 *.gcda
10 *.gcno
11 *.lib
12 *.log
13 *.lpro
14 *.ncb
15 *.tex
16 *.svg
17 *.svgz
18 *.aux
19 *.orig
20 *.toc
21 *.tar.*
22 *.tgz
23 *.trs
24 *.zip
25 *.swp
26 *.exe
27 *.tlog
28 *.pdb
29 *.png
30 *.pdf
31 *.tmp
32 *.lastbuildstate
33 *.opensdf
34 *.vcxproj.user
35 callgrind.*
36 cmdline.*
37 Makefile
38 Makefile.in
39 autom4te.*
40 dvisvgm
41 aclocal.*
42 ar-lib
43 compile
44 libtool
45 ltmain.sh
46 missing
47 cov-int
48 lcov
49 /config.*
50 doc/buildman
51 doc/dvisvgm.txt
52 doc/dvisvgm*.xml
53 doc/dvisvgm.html
54 doc/dvisvgm.1
55 m4/libtool.m4
56 m4/lt*.m4
57 doxy
58 backup/*
59 Win32
60 x64
61 Debug
62 Release
63 vc/freetype
64 vc/miktex-com/dlldata.c
65 vc/zlib*
66 vc/*.s*
67 vc/_*
68 vc/Upgrade*
69 configure
70 depcomp
71 install-sh
72 src/samples
73 src/psdefs.psc
74 src/CommandLine.*
75 test-driver
76 tests/hashcheck*
77 tests/*Test
78 svg2vml
79 nbproject
80 stamp-h1
81 a.out
82 test*.*
0 syntax: glob
1 *.a
2 *.la
3 *.o
4 *.lo
5 *.Po
6 *.obj
7 *.dvi
8 *.gch
9 *.gcda
10 *.gcno
11 *.lib
12 *.log
13 *.lpro
14 *.ncb
15 *.tex
16 *.svg
17 *.svgz
18 *.aux
19 *.orig
20 *.toc
21 *.tar.*
22 *.zip
23 *.swp
24 *.exe
25 *.vcxproj.user
26 .deps
27 .dirstamp
28 callgrind.*
29 cmdline.*
30 Makefile
31 Makefile.in
32 autom4te.*
33 dvisvgm
34 aclocal.*
35 missing
36 ./config.*
37 doc/buildman
38 doc/dvisvgm.txt
39 doc/dvisvgm*.xml
40 doc/dvisvgm.html
41 doc/dvisvgm.1
42 doc/*.pdf
43 m4/libtool.m4
44 m4/lt*.m4
45 doxy
46 Debug
47 Release
48 Win32
49 x64
50 vc/freetype
51 vc/miktex-2.9.4106-sdk
52 vc/zlib*
53 vc/*.s*
54 vc/_*
55 vc/Upgrade*
56 ar-lib
57 compile
58 configure
59 depcomp
60 install-sh
61 libtool
62 ltmain.sh
63 src/CommandLine.*
64 test-driver
65 tests/hashcheck*
66 tests/*Test
67 nbproject
68 stamp-h1
69 a.out
70 test*.*
71 lcov
0 007272ee0386359b9c998547ebacc381376291c2 0.8.5
1 079655f37ce7da3f6ca0433cf078ca45ec8880f7 0.8.2
2 1547e7cc2e9a6851c5617a482bf9b26c3408a133 0.8.1
3 26aa98dd52d09084de1b4203951b974f304081d0 tag/0.5
4 2d72bfbc31c12712790da77e0e323452154b30ba 0.7.1
5 368840ae8d987127915ece21f1df4b4d023645ab tag/0.6.1
6 68b8445b92425fade666ed1b0d6f7bd95c7c3021 0.8.3
7 8f02c8b9ad443c15475966f4ba418eb663de179d 0.7.3
8 af5eafa9fa5598e72148dfb1dc3bf263aa8ad1d9 tag/0.4.3
9 b6c9ed22d8b6db2ea44a61a475500dca0f4bd642 0.7
10 bc5d6cc99190fc9f1114c2be5efced4a72a7d3b0 tag/0.6
11 beb39e4ced401d9639504fb2d4c856f35d27e866 0.7.2
12 d5e6d02b885711e4c031e3cf97e9a1a1f008b45b 0.8.4
13 deee1d1e70596a8dfaeca86af62f7aac5e6d0214 0.8
14 fba0d098cc2c883ef5b994ca709e3fbb342478a1 0.8.6
15 3cd4ce811a3e3b9f9575a53074e747c61a9bf032 0.8.7
16 2788648c3666fd71d932b18904c3431f7ca9af0c 0.8.8
17 d5d11a1bb09b466d2d21884b0702bd80f94a8799 0.9
18 b5d55065c3680768d46ba9184da2ac413d5020d9 0.9.1
19 63d124d4078c82792e098a57f95d582ac66bd352 1.0
20 59a269642b92b8bcee2b17a90fa2fe9c062242f5 1.0.1
21 ba93593ce4f10b62918494b41cf38e4b74c4dc27 1.0.2
22 26eee1e226b053f61e120afd6876d9b5c5116688 1.0.3
23 e36afc713701e7ffe0c5972f582f417203183909 1.0.4
24 1b95a05a87cc2b874b12b3efa314ce58272034f9 1.0.5
25 87bf127529fd4cc234770c15c56605b7312b683c 1.0.6
26 f602f9eefdf4d8208e31bfa84baad6f1ec71ad39 1.0.7
27 eb1de1a9428689185c07b60a0741aec5785126b2 1.0.8
28 748a4f97334ecda880dd147ef09aaf56b252118f 1.0.9
29 e4c2ef5f3da9188c07531a27694e43b8c8df7e1f 1.0.10
30 d76eda7ac1097c2cdbcf5716db8d0e16635a9b2c 1.0.11
31 f556f8f879ce4999bf1c504525b2650cf1d67254 1.0.12
32 f541b32413acf23e4a40fcd91f79e3e5bad22982 1.1
33 68af772f11f285d17ecab6c154c5422fc9d2ac25 1.2
34 99d1378bf460b7a712f832c2caaa7fc9be930a5d 1.2.1
35 4d3d07090101ff31f8e92f7fd3c408ecb7c664c3 1.2.2
36 f6e77b31f30017696f752d66d375e2950689997a 1.3
37 56fa47468373b5b13c6888121d025e3e2feacfc4 1.4
38 c7ff1c440c0071a08f2ed381c3a2a39c14609950 1.5
39 56b5e13eff7271468681775d40647ad3f31e6952 1.5.1
40 2226c4552e35e07dde5beb633ba1ddfb6c76c49c 1.5.2
41 90f671880e1f4350c263fb8ceced7e18738737c6 1.5.3
42 4b9ef65836dff66a205715ac2eba6b678be9a898 1.6
43 9788762a6d48f50bd43bd817b1061c088fe5d909 1.7
44 0f6847618ddf50c1691420d41ec8cad0ad9d0bfa 1.8
45 245acbe637955d3db2d7f87576786f73f1bb5fbf 1.8.1
46 c60faecaa0342c190b8625630db834c093ec8b86 1.9
47 bb2e162874e396bfaecfd7e3aaa00c5290433bd6 1.9.1
48 ba18e67cd90ec91ac8265beceb48a25458dea9dc 1.9.2
49 2b35d8d8bbf6c0cc993bcf5b141c3c8abdd071fa 1.10
50 ead09fc11b624fe780b3d0348c3198d29d813e7b 1.11
51 888bf5fc9883c8d5d39c84949d89d6ec50c47b1e 1.12
52 d6b13792a3c7fa952e36f68a22ea493685f9c857 1.13
53 2abcbfa661de604cfa5afcc6459999fed8023391 1.14
54 1c6aa4251d0431fa7101a79fd6c003d53c98976d 1.14.1
55 53055b88986475119bda1873f6e31dccd4b0a160 1.14.2
56 0c259d1a07784d35ad6279612a9bbf067d72bd22 1.15
57 73df4b875c845fa8e02d77b9320eb3f8fe41a190 1.15.1
58 6834fb8216fc6e74e32534abcef3bfbd3edf636e 1.16
59 5fffe81bc6e8bc4eb35d3cc10cd41849ce2b7d9c 2.0
60 20114bbb8bba37e7cd5130ffe2f51a743fda01a8 2.0.1
61 eae219c563812b52eecf9a57980bc02c6330e989 2.0.2
62 54288566617dfc1f90aadba5e14378a982cb8271 2.0.3
63 1c7ed2d32f46c085f8e0468b52cab41bb50c8e08 2.0.4
64 1da4fd0617689cc7ed19c40cf4237abab058f8d9 2.1
65 d978a34405b46feb40092df85587447201794fa8 2.1.1
66 e5a718c0aa1f7b05fb41efe760bf5d3fa803ebba 2.1.2
67 c8040a3f043721b391832657f80ff6f24bf0f3b0 2.1.3
68 f1c4868724df5bc149141bc4d29693c615832cbe 2.2
69 efc93eb6f273d2319abe43d2697b728c74f08fb8 2.2.1
70 6809cbe8660297da790e8eb8e75a03395a652cc1 2.2.2
71 c28420bda49cdfb6e82baba0b8f0d3a7182c2951 2.2.3
72 37e0f00330bc2bee4d34d4fdca15c95b60351370 2.3
73 1d2712fac13449af395485f29195f4c32e8fab1f 2.3.1
74 3c0d4340b274049ef07cff2ee485b546b00770f5 2.3.2
75 ea6d93f24e7daadd66aa0640925fda66168eed57 2.3.3
76 9f2eae987cfadc0ab171ba64ef8c2112288dff1e 2.3.4
77 3375c3d61e04b87ef15023cb960d03f4fc77f159 2.3.5
78 9eb5e915f9de2d21617be870b6998d65b171c5c5 2.4
79 9e2c0373bf8fcea0e2e5a69b2a12089b155b2b3d 2.4.1
80 1703e2e1dfac70803a4c0a998bb33984cc8bd744 2.4.2
81 256c3ccc90a98fdeba16511ddf4265cd9c04f846 2.5
82 d5c82632b1344df8bc62aed87a200c343ac8e963 2.6
83 842536fac2a1367083292e795ce40eee4b352de2 2.6.1
84 65101435cce8f64cff5ba8d46b5665fa222572ec 2.6.2
85 46035783cc8b06adae6d1572ab6f94af0ae33ed9 2.6.3
86 d72572c4aee96d78b36758acd94989e982a1e4f9 2.7
87 5bd80f3e3e8606a2b3323b2eb51e1ccf60cf71ce 2.7.1
88 3a5cd42abe5446b973f484e88e611f6817ef22bf 2.7.2
89 e0cbaa3a4167c49ab77c0e60d43442eab52bab33 2.7.3
90 62a92294cd7bdf4f47da45a1eecb1a3046ef848a 2.7.4
91 d625be6fb616009175620c9a2611e556337dcaf5 2.8
92 29a29be78f08e79fdcc19ffbaa63e2f0e7b96ae0 2.8.1
93 3f83d14d4cf92e397d3c8f03f89f974552bd68bf 2.8.2
94 5384d32c28b6de1bd2b5dd4be1c85f4c98e5dfc5 2.9
95 b467e3de2ae2ee5a083f44cc1b016ce22e52e336 2.9.1
96 eeaf1a69d766b12cc417acc7b8a723311417e362 2.10
97 585e39596d7473b92af9814128cdc2dd0a7615f3 2.10.1
0 sudo: required
1 dist: xenial
2 group: legacy
3
4 language: cpp
5
6 compiler:
7 - gcc
8 # - clang
9
10 branches:
11 except:
12 - tmp
13
14 before_install:
15 - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
16 - sudo apt-get update -qq
17 - sudo apt-get install -qq autotools-dev libkpathsea-dev libfreetype6-dev libgs-dev libz-dev texlive-base python-lxml asciidoc xmlto xsltproc
18
19 env:
20 global:
21 - GTEST_COLOR=1
22 # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
23 # via the "travis encrypt" command using the project repo's public key
24 - secure: "MlOXG2PegI8ck67gSCoY0w4hncbaJ0UG+5VUOmzZ4blJDrA2BLOnQg8n/D65ic1pzmrooUuZJJMmgWI+6F+pyZyXTOpDP50cX4i8WpcuHY/phYp9w2jdN61YgqoUIgWgxsAxBUV2Lf1ULZbWYwUoI9fLkTE6owFXZPFT5ZQnwWA="
25
26 addons:
27 coverity_scan:
28 project:
29 name: mgieseki/dvisvgm
30 description: "dvisvgm -- A fast DVI to SVG converter"
31 version: 2.11
32 notification_email: martin.gieseking@uos.de
33 build_command_prepend: "./configure --enable-bundled-libs; make clean"
34 build_command: "make -j"
35 branch_pattern: coverity_scan
36
37 script:
38 - uname -a
39 - ./autogen.sh
40 - ./configure --enable-bundled-libs
41 - make
42 - make -C src -t
43 - make check
+0
-10143
ChangeLog less more
0 2020-09-22 Martin Gieseking <martin.gieseking@uos.de>
1
2 * .appveyor.yml, .travis.yml, configure.ac, doc/dvisvgm.1, src/Doxyfile,
3 src/version.hpp:
4 set version to 2.10.1
5
6 * NEWS:
7 updated NEWS
8
9 2020-09-11 Martin Gieseking <martin.gieseking@uos.de>
10
11 * src/PSInterpreter.cpp, src/PSInterpreter.hpp, src/PsSpecialHandler.cpp,
12 src/PsSpecialHandler.hpp, src/psdefs.cpp, tests/PSInterpreterTest.cpp:
13 added support for new GS transparency operators
14 .setfillconstantalpha
15 and .setstrokeconstantalpha
16
17 2020-09-04 Martin Gieseking <martin.gieseking@uos.de>
18
19 * src/XMLNode.cpp:
20 renamed local variable
21
22 2020-08-27 Martin Gieseking <martin.gieseking@uos.de>
23
24 * libs/brotli/common/version.h:
25 updated brotli to version 1.0.9
26 the encoder is not affected by this
27 update so the bundled subset
28 only bumps the version number.
29
30 2020-08-26 Martin Gieseking <martin.gieseking@uos.de>
31
32 * libs/brotli/Makefile.am, libs/brotli/common/constants.c,
33 libs/brotli/common/constants.h, libs/brotli/common/context.c,
34 libs/brotli/common/context.h, libs/brotli/common/dictionary.c,
35 libs/brotli/common/platform.c, libs/brotli/common/platform.h,
36 libs/brotli/common/transform.c, libs/brotli/common/transform.h,
37 libs/brotli/common/version.h, libs/brotli/enc/backward_references.c,
38 libs/brotli/enc/backward_references.h,
39 libs/brotli/enc/backward_references_hq.c,
40 libs/brotli/enc/backward_references_hq.h,
41 libs/brotli/enc/backward_references_inc.h,
42 libs/brotli/enc/block_splitter.c, libs/brotli/enc/block_splitter_inc.h,
43 libs/brotli/enc/brotli_bit_stream.c, libs/brotli/enc/cluster_inc.h,
44 libs/brotli/enc/command.c, libs/brotli/enc/command.h,
45 libs/brotli/enc/compress_fragment_two_pass.c,
46 libs/brotli/enc/dictionary_hash.c, libs/brotli/enc/dictionary_hash.h,
47 libs/brotli/enc/encode.c, libs/brotli/enc/encoder_dict.c,
48 libs/brotli/enc/encoder_dict.h, libs/brotli/enc/entropy_encode.c,
49 libs/brotli/enc/entropy_encode.h, libs/brotli/enc/fast_log.c,
50 libs/brotli/enc/fast_log.h, libs/brotli/enc/find_match_length.h,
51 libs/brotli/enc/hash.h, libs/brotli/enc/hash_composite_inc.h,
52 libs/brotli/enc/hash_forgetful_chain_inc.h,
53 libs/brotli/enc/hash_longest_match64_inc.h,
54 libs/brotli/enc/hash_longest_match_inc.h,
55 libs/brotli/enc/hash_longest_match_quickly_inc.h,
56 libs/brotli/enc/hash_rolling_inc.h,
57 libs/brotli/enc/hash_to_binary_tree_inc.h, libs/brotli/enc/memory.h,
58 libs/brotli/enc/metablock.c, libs/brotli/enc/metablock_inc.h,
59 libs/brotli/enc/params.h, libs/brotli/enc/ringbuffer.h,
60 libs/brotli/enc/utf8_util.c, libs/brotli/enc/write_bits.h,
61 libs/brotli/include/brotli/encode.h, libs/brotli/include/brotli/port.h:
62 updated brotli to version 1.0.8
63
64 2020-08-23 Martin Gieseking <martin.gieseking@uos.de>
65
66 * doc/dvisvgm.1, doc/dvisvgm.txt.in:
67 manpage: few additions to --bbox and --font-format
68
69 2020-08-22 Martin Gieseking <martin.gieseking@uos.de>
70
71 * .mailmap:
72 removed redundant file
73
74 2020-08-21 Martin Gieseking <martin.gieseking@uos.de>
75
76 * src/Ghostscript.cpp:
77 updated GS versioning scheme introduced with GS
78 9.53.0
79 http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=0e98e2a27ed19fcc138215afe17ab1a173aeed7b
80
81 2020-08-12 Martin Gieseking <martin.gieseking@uos.de>
82
83 * .appveyor.yml, .travis.yml, configure.ac, doc/dvisvgm.1, src/Doxyfile,
84 src/version.hpp:
85 set version to 2.10
86
87 * NEWS:
88 updated NEWS
89
90 2020-07-27 Martin Gieseking <martin.gieseking@uos.de>
91
92 * doc/dvisvgm.1, doc/dvisvgm.txt.in, libs/xxHash/xxh3.h,
93 libs/xxHash/xxhash.h:
94 updated xxHash to version 0.8
95
96 2020-07-24 Martin Gieseking <martin.gieseking@uos.de>
97
98 * src/psdefs.cpp:
99 redefine internal GS operators .fillstroke and .eofillstroke
100 They are
101 used to implement PDF operators B and B*.
102 (closes #139)
103
104 2020-07-16 Martin Gieseking <martin.gieseking@uos.de>
105
106 * src/optimizer/TransformSimplifier.cpp:
107 don't unwind transform attributes of image elements
108
109 * src/optimizer/GroupCollapser.cpp:
110 collapse groups w/o attributes first
111 in order to recurse into their
112 descendants.
113
114 * src/optimizer/TransformSimplifier.cpp:
115 optimizer: unwind transform attributes of image elements
116 if it consists
117 only of scaling and translations. Merge the scaled translation
118 into x and
119 y, and simplify the remaining matrix(...) expression to scale(...)
120
121 2020-07-15 Martin Gieseking <martin.gieseking@uos.de>
122
123 * src/XMLNode.cpp, src/XMLNode.hpp, src/optimizer/GroupCollapser.cpp,
124 src/optimizer/RedundantElementRemover.cpp,
125 src/optimizer/WSNodeRemover.cpp:
126 renamed XMLNode::remove to XMLNode::detach
127
128 2020-07-14 Martin Gieseking <martin.gieseking@uos.de>
129
130 * src/optimizer/GroupCollapser.cpp:
131 don't move inner transforms to outer clipping paths
132
133 * src/XMLNode.cpp:
134 fixed XMLElement::unwrap
135
136 * src/optimizer/GroupCollapser.cpp:
137 improved optimizer module GroupCollapser
138
139 2020-07-13 Martin Gieseking <martin.gieseking@uos.de>
140
141 * src/optimizer/SVGOptimizer.cpp:
142 simplify transforms before optimizing groups
143
144 * src/DvisvgmSpecialHandler.cpp:
145 fixed error message about invalid closing tags
146
147 * src/DVIToSVGActions.cpp:
148 handle XML parser errors thrown in EOP
149
150 * src/DvisvgmSpecialHandler.cpp, src/DvisvgmSpecialHandler.hpp:
151 reduced number of successive XML error messages
152
153 * src/DvisvgmSpecialHandler.cpp, src/DvisvgmSpecialHandler.hpp:
154 renamed XMLParser::flush to XMLParser::finish
155
156 2020-07-07 Martin Gieseking <martin.gieseking@uos.de>
157
158 * src/FontCache.cpp, src/HashFunction.cpp, src/HashFunction.hpp,
159 src/MD5HashFunction.hpp, src/XXHashFunction.hpp,
160 tests/HashFunctionTest.cpp:
161 renamed HashFunction::digestValue() to HashFunction::digestBytes()
162
163 * src/XXHashFunction.hpp:
164 added XXHashFunction::digestValue() to get the value as encoded by
165 xxhash
166
167 * src/FileSystem.cpp, src/FileSystem.hpp:
168 create dedicated temp folders with each call of dvisvgm
169
170 2020-06-25 Martin Gieseking <martin.gieseking@uos.de>
171
172 * libs/xxHash/xxh3.h, libs/xxHash/xxhash.c, libs/xxHash/xxhash.h:
173 updated xxHash to version 0.7.4
174
175 2020-06-23 Martin Gieseking <martin.gieseking@uos.de>
176
177 * src/DvisvgmSpecialHandler.cpp, tests/DvisvgmSpecialTest.cpp:
178 fixed computation of string boundaries after expanding {?(...)}
179 (closes
180 #136)
181
182 2020-05-09 Martin Gieseking <martin.gieseking@uos.de>
183
184 * .appveyor.yml:
185 updated FreeType to version 2.10.2
186
187 2020-05-03 Martin Gieseking <martin.gieseking@uos.de>
188
189 * src/dvisvgm.cpp:
190 fixed indentation
191
192 2020-04-24 John Bowman <bowman@ualberta.ca>
193
194 * src/dvisvgm.cpp:
195 Fix indentation.
196
197 2020-04-23 John Bowman <bowman@ualberta.ca>
198
199 * src/dvisvgm.cpp:
200 Return error codes to shell.
201
202 2020-04-13 Martin Gieseking <martin.gieseking@uos.de>
203
204 * src/PathClipper.cpp, src/PathClipper.hpp, src/PsSpecialHandler.cpp:
205 changed signature of PathClipper::intersect()
206
207 * src/PathClipper.cpp, src/PathClipper.hpp:
208 added unite operation to PathClipper
209
210 * src/GraphicsPath.hpp, src/PsSpecialHandler.cpp:
211 fixed handling of clippath/eoclip combinations
212
213 2020-04-11 Martin Gieseking <martin.gieseking@uos.de>
214
215 * src/DVIToSVGActions.cpp:
216 fixed bbox debug rectangles
217
218 * src/Font.cpp, src/Font.hpp:
219 added italic correction for fake slant
220
221 * src/DVIReader.cpp, src/DVIReader.hpp, src/FontManager.cpp:
222 added evaluation of LuaTeX native font definitions
223
224 * src/DVIReader.cpp:
225 minor code improvements
226
227 2020-04-10 Martin Gieseking <martin.gieseking@uos.de>
228
229 * src/psdefs.cpp:
230 fixed PS operator 'eoclip'
231
232 2020-03-30 Martin Gieseking <martin.gieseking@uos.de>
233
234 * src/optimizer/TransformSimplifier.cpp:
235 optimizer: fixed omission of second scale() parameter
236
237 2020-03-21 Martin Gieseking <martin.gieseking@uos.de>
238
239 * src/Matrix.cpp:
240 fixed parsing of "scale(s)"
241 fixes #131
242
243 * .appveyor.yml, .travis.yml, configure.ac, doc/dvisvgm.1, src/Doxyfile,
244 src/version.hpp:
245 set version to 2.9.1
246
247 * NEWS:
248 updated NEWS
249
250 2020-03-20 Martin Gieseking <martin.gieseking@uos.de>
251
252 * src/Calculator.cpp, tests/CalculatorTest.cpp:
253 calculator: allow to omit '*' before '('
254
255 2020-03-19 Martin Gieseking <martin.gieseking@uos.de>
256
257 * doc/dvisvgm.1, doc/dvisvgm.txt.in, src/DvisvgmSpecialHandler.cpp,
258 tests/DvisvgmSpecialTest.cpp:
259 added macro {?(expr)} to enable math expressions in raw specials
260 closes
261 #130
262
263 2020-03-17 Martin Gieseking <martin.gieseking@uos.de>
264
265 * doc/Makefile.am, doc/conf-dblatex-pdf.xsl, doc/dvisvgm.txt.in,
266 doc/generate-dvisvgm-sty.xsl, doc/tweak-dblatex-tex.py:
267 optimize line breaks and code blocks in pdf manpage
268
269 2020-03-16 Martin Gieseking <martin.gieseking@uos.de>
270
271 * doc/conf-dblatex-pdf.xsl:
272 small font changes in pdf version of manual page
273 - changed body font to
274 Source Serif Pro
275 - scaled monospace font by 0.9
276
277 * src/PageRanges.cpp, src/PageRanges.hpp:
278 removed redundant #includes
279
280 * src/NumericRanges.hpp:
281 replaced explicit iterator type with auto
282
283 2020-03-13 Martin Gieseking <martin.gieseking@uos.de>
284
285 * NEWS:
286 updated NEWS and vc/README
287
288 2020-03-12 Martin Gieseking <martin.gieseking@uos.de>
289
290 * doc/dvisvgm.1:
291 added generated man page to repo
292
293 2020-03-11 Martin Gieseking <martin.gieseking@uos.de>
294
295 * src/psdefs.cpp:
296 fixed xshow, yshow, and xyshow for multi-byte characters
297
298 2020-03-10 Martin Gieseking <martin.gieseking@uos.de>
299
300 * src/Matrix.cpp:
301 replaced istream::ignore() with istream::get()
302 to make gcc on NetBSD
303 happy
304
305 * .travis.yml:
306 travis: added packages required to build man page
307
308 * .appveyor.yml, .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
309 set version to 2.9
310
311 2020-03-09 Martin Gieseking <martin.gieseking@uos.de>
312
313 * src/PsSpecialHandler.cpp:
314 create image files in tmpdir instead of cwd
315
316 * src/PsSpecialHandler.cpp:
317 fixed mime type of JPEG images
318
319 * src/utility.hpp:
320 base64_copy: added parameter to set line length
321
322 * src/XMLNode.cpp:
323 wrap lines with base64 image data (200 chars/line)
324
325 * doc/Makefile.am:
326 make install: use existing dvisvgm.1 if it can't be rebuilt
327 However,
328 "make dist" and "make distcheck" should still fail if the man page
329 can't
330 be built in order to ensure the tarball always contains a recent version.
331
332 * src/PsSpecialHandler.cpp, src/PsSpecialHandler.hpp:
333 some code cleanup
334
335 2020-03-08 Martin Gieseking <martin.gieseking@uos.de>
336
337 * doc/dvisvgm.txt.in, src/PSInterpreter.cpp:
338 added bitmap format 'none' to disable image processing
339
340 2020-03-07 Martin Gieseking <martin.gieseking@uos.de>
341
342 * src/PSInterpreter.cpp, src/PSInterpreter.hpp, src/PsSpecialHandler.cpp,
343 src/PsSpecialHandler.hpp, src/psdefs.cpp:
344 added image support for various JPEG and PNG variants
345
346 * doc/dvisvgm.txt.in, src/CommandLine.hpp, src/dvisvgm.cpp,
347 src/options.xml:
348 added command-line option --bitmap-format
349
350 * doc/generate-dvisvgm-sty.xsl:
351 manual page: reduce distance of table rows
352
353 2020-03-05 Martin Gieseking <martin.gieseking@uos.de>
354
355 * libs/xxHash/xxh3.h, libs/xxHash/xxhash.c, libs/xxHash/xxhash.h,
356 tests/HashFunctionTest.cpp:
357 updated xxhash to version 0.7.3
358
359 2020-03-02 Martin Gieseking <martin.gieseking@uos.de>
360
361 * src/GlyphTracerMessages.hpp:
362 suppress tracer messages if no font info available
363
364 * src/MetafontWrapper.cpp, src/MetafontWrapper.hpp:
365 added fallback method to get GF resolution applied by Metafont
366
367 2020-02-29 Martin Gieseking <martin.gieseking@uos.de>
368
369 * src/PsSpecialHandler.cpp:
370 fixed potential segfault
371
372 * src/Bezier.cpp, src/BoundingBox.cpp, src/Font.cpp, src/FontWriter.cpp,
373 src/Matrix.cpp, src/TensorProductPatch.cpp, src/TriangularPatch.cpp:
374 replaced fabs() with std::abs()
375
376 2020-02-26 Martin Gieseking <martin.gieseking@uos.de>
377
378 * src/XMLNode.cpp:
379 fixed copy constructor of XMLElement
380
381 * src/PSInterpreter.cpp, src/PSInterpreter.hpp, src/PsSpecialHandler.cpp,
382 src/PsSpecialHandler.hpp, src/psdefs.cpp, tests/PSInterpreterTest.cpp:
383 fixed broken handling of PS tiling patterns
384
385 * src/PSPattern.cpp:
386 simplified loop expression
387
388 * src/XMLNode.cpp, src/optimizer/RedundantElementRemover.cpp:
389 don't remove clipPath elements if referenced in patterns
390
391 * src/PsSpecialHandler.cpp:
392 don't add clip path to path elements in pattern definitions
393
394 2020-02-25 Martin Gieseking <martin.gieseking@uos.de>
395
396 * src/psdefs.cpp:
397 store image counter in globaldict
398
399 * src/PsSpecialHandler.cpp, src/PsSpecialHandler.hpp, src/XMLNode.cpp,
400 src/XMLNode.hpp, src/dvisvgm.cpp:
401 don't keep encoded image data in memory
402 To prevent memory issues, add
403 the base64-encoded image data when serializing
404 the XML tree.
405
406 * src/PsSpecialHandler.cpp:
407 prevent access to invalid vector component
408
409 * src/XMLNode.cpp, src/XMLNode.hpp:
410 prevent deep destructor recursion of XML nodes
411
412 * src/psdefs.cpp:
413 PS handler: prevent write access to protected pattern dictionary
414
415 2020-02-21 Martin Gieseking <martin.gieseking@uos.de>
416
417 * src/psdefs.cpp:
418 don't access DataSource for shading types < 4
419
420 2020-02-20 Martin Gieseking <martin.gieseking@uos.de>
421
422 * src/PsSpecialHandler.cpp:
423 apply clip path to image if present
424
425 * src/optimizer/TransformSimplifier.cpp:
426 TransformSimplifier: prevent width/height from getting negative
427
428 * src/Font.cpp, src/GraphicsPath.hpp, src/PsSpecialHandler.cpp,
429 tests/GraphicsPathTest.cpp:
430 changed signature of GraphicsPath::computeBBox()
431
432 2020-02-18 Martin Gieseking <martin.gieseking@uos.de>
433
434 * src/psdefs.cpp:
435 image operator: reset output device correctly
436
437 2020-02-17 Martin Gieseking <martin.gieseking@uos.de>
438
439 * src/PsSpecialHandler.cpp, src/psdefs.cpp:
440 stop image processing if PNG devices are unavailable
441 Handling of PS
442 operator 'image' relies on the GS output devices 'png16m' and
443 'pnggray'
444 (depending on the current color space). If they are unavailable,
445 the
446 image processing is stopped now instead of leaving GS with an
447 internal error.
448
449 * src/PsSpecialHandler.cpp:
450 adapt bounding box to enclose embedded bitmaps
451
452 2020-02-16 Martin Gieseking <martin.gieseking@uos.de>
453
454 * src/EPSToSVG.hpp, src/ImageToSVG.cpp, src/ImageToSVG.hpp,
455 src/PDFToSVG.hpp:
456 fixed getCurrentPageNumber() for EPS and PDF files
457
458 * src/FilePath.cpp, src/FilePath.hpp, tests/FilePathTest.cpp:
459 FilePath::suffix("") now removes the suffix if present
460
461 * src/PsSpecialHandler.cpp, src/PsSpecialHandler.hpp, src/psdefs.cpp:
462 sync location and base name of temporary PNG files with SVG file
463
464 * src/PsSpecialHandler.cpp, src/PsSpecialHandler.hpp, src/dvisvgm.cpp,
465 src/psdefs.cpp:
466 remove temporary PNG files if --keep is not given
467
468 2020-02-15 Martin Gieseking <martin.gieseking@uos.de>
469
470 * src/psdefs.cpp:
471 added evaluation of PS Level 1 image operators
472
473 2020-02-14 Martin Gieseking <martin.gieseking@uos.de>
474
475 * src/Matrix.cpp, tests/MatrixTest.cpp:
476 fixed row/column issue in Matrix::invert()
477
478 * src/FontWriter.cpp, src/utility.hpp:
479 added wrapper function for util::base64_copy()
480
481 * src/PSInterpreter.cpp, src/PSInterpreter.hpp, src/PsSpecialHandler.cpp,
482 src/PsSpecialHandler.hpp, src/psdefs.cpp, tests/PSInterpreterTest.cpp:
483 added processing of PS image operator
484
485 2020-02-12 Martin Gieseking <martin.gieseking@uos.de>
486
487 * doc/dvisvgm.txt.in:
488 manpage: added info on default values listed by --help
489
490 2020-01-17 Martin Gieseking <martin.gieseking@uos.de>
491
492 * src/GraphicsPath.hpp:
493 arcto: use template type for rx and ry instead of double
494
495 2020-01-14 Martin Gieseking <martin.gieseking@uos.de>
496
497 * src/PageSize.cpp:
498 replaced floor(x+0.5) with round(x)
499
500 2020-01-06 Martin Gieseking <martin.gieseking@uos.de>
501
502 * src/Ghostscript.cpp:
503 added check for libgs.dylib.N (Mac only)
504
505 2020-01-02 Martin Gieseking <martin.gieseking@uos.de>
506
507 * Makefile.am, README, README.md, configure.ac, doc/Makefile.am,
508 doc/conf-dblatex-man.xsl, doc/conf-dblatex-pdf.xsl, doc/db2html.xsl,
509 doc/dvisvgm.txt.in, doc/tweak-db-article.xsl, doc/tweak-db-refentry.xsl,
510 doc/tweak-dblatex-pdf.xsl, libs/Makefile.am,
511 libs/ff-woff/fontforge/tmpfile2.cpp, src/AGLTable.hpp,
512 src/BasicDVIReader.cpp, src/BasicDVIReader.hpp, src/Bezier.cpp,
513 src/Bezier.hpp, src/BgColorSpecialHandler.cpp,
514 src/BgColorSpecialHandler.hpp, src/Bitmap.cpp, src/Bitmap.hpp,
515 src/BoundingBox.cpp, src/BoundingBox.hpp, src/CLCommandLine.cpp,
516 src/CLCommandLine.hpp, src/CLOption.hpp, src/CMap.cpp, src/CMap.hpp,
517 src/CMapManager.cpp, src/CMapManager.hpp, src/CMapReader.cpp,
518 src/CMapReader.hpp, src/Calculator.cpp, src/Calculator.hpp,
519 src/CharMapID.cpp, src/CharMapID.hpp, src/Character.hpp, src/Color.cpp,
520 src/Color.hpp, src/ColorSpecialHandler.cpp, src/ColorSpecialHandler.hpp,
521 src/CommandLine.hpp, src/DLLoader.cpp, src/DLLoader.hpp,
522 src/DVIActions.hpp, src/DVIReader.cpp, src/DVIReader.hpp,
523 src/DVIToSVG.cpp, src/DVIToSVG.hpp, src/DVIToSVGActions.cpp,
524 src/DVIToSVGActions.hpp, src/Directory.cpp, src/Directory.hpp,
525 src/DvisvgmSpecialHandler.cpp, src/DvisvgmSpecialHandler.hpp,
526 src/EPSFile.cpp, src/EPSFile.hpp, src/EPSToSVG.hpp,
527 src/EllipticalArc.cpp, src/EllipticalArc.hpp, src/EmSpecialHandler.cpp,
528 src/EmSpecialHandler.hpp, src/EncFile.cpp, src/EncFile.hpp,
529 src/FileFinder.cpp, src/FileFinder.hpp, src/FilePath.cpp,
530 src/FilePath.hpp, src/FileSystem.cpp, src/FileSystem.hpp,
531 src/FixWord.hpp, src/Font.cpp, src/Font.hpp, src/FontCache.cpp,
532 src/FontCache.hpp, src/FontEncoding.cpp, src/FontEncoding.hpp,
533 src/FontEngine.cpp, src/FontEngine.hpp, src/FontManager.cpp,
534 src/FontManager.hpp, src/FontMap.cpp, src/FontMap.hpp,
535 src/FontMetrics.cpp, src/FontMetrics.hpp, src/FontStyle.hpp,
536 src/FontWriter.cpp, src/FontWriter.hpp, src/GFGlyphTracer.cpp,
537 src/GFGlyphTracer.hpp, src/GFReader.cpp, src/GFReader.hpp,
538 src/GFTracer.cpp, src/GFTracer.hpp, src/Ghostscript.cpp,
539 src/Ghostscript.hpp, src/Glyph.hpp, src/GlyphTracerMessages.hpp,
540 src/GraphicsPath.hpp, src/HashFunction.cpp, src/HashFunction.hpp,
541 src/HtmlSpecialHandler.cpp, src/HtmlSpecialHandler.hpp,
542 src/HyperlinkManager.cpp, src/HyperlinkManager.hpp, src/ImageToSVG.cpp,
543 src/ImageToSVG.hpp, src/InputBuffer.cpp, src/InputBuffer.hpp,
544 src/InputReader.cpp, src/InputReader.hpp, src/JFM.cpp, src/JFM.hpp,
545 src/Length.cpp, src/Length.hpp, src/MD5HashFunction.hpp, src/Makefile.am,
546 src/MapLine.cpp, src/MapLine.hpp, src/Matrix.cpp, src/Matrix.hpp,
547 src/Message.cpp, src/Message.hpp, src/MessageException.hpp,
548 src/MetafontWrapper.cpp, src/MetafontWrapper.hpp, src/MiKTeXCom.cpp,
549 src/MiKTeXCom.hpp, src/NoPsSpecialHandler.cpp,
550 src/NoPsSpecialHandler.hpp, src/NumericRanges.hpp, src/PDFParser.cpp,
551 src/PDFParser.hpp, src/PDFToSVG.hpp, src/PSFilter.hpp,
552 src/PSInterpreter.cpp, src/PSInterpreter.hpp, src/PSPattern.cpp,
553 src/PSPattern.hpp, src/PSPreviewFilter.cpp, src/PSPreviewFilter.hpp,
554 src/PageRanges.cpp, src/PageRanges.hpp, src/PageSize.cpp,
555 src/PageSize.hpp, src/Pair.hpp, src/PapersizeSpecialHandler.cpp,
556 src/PapersizeSpecialHandler.hpp, src/PathClipper.cpp,
557 src/PathClipper.hpp, src/PdfSpecialHandler.cpp,
558 src/PdfSpecialHandler.hpp, src/PreScanDVIReader.cpp,
559 src/PreScanDVIReader.hpp, src/Process.cpp, src/Process.hpp,
560 src/PsSpecialHandler.cpp, src/PsSpecialHandler.hpp, src/RangeMap.cpp,
561 src/RangeMap.hpp, src/SVGCharHandler.cpp, src/SVGCharHandler.hpp,
562 src/SVGCharHandlerFactory.cpp, src/SVGCharHandlerFactory.hpp,
563 src/SVGCharPathHandler.cpp, src/SVGCharPathHandler.hpp,
564 src/SVGCharTspanTextHandler.cpp, src/SVGCharTspanTextHandler.hpp,
565 src/SVGOutput.cpp, src/SVGOutput.hpp, src/SVGSingleCharTextHandler.cpp,
566 src/SVGSingleCharTextHandler.hpp, src/SVGTree.cpp, src/SVGTree.hpp,
567 src/ShadingPatch.cpp, src/ShadingPatch.hpp, src/SignalHandler.cpp,
568 src/SignalHandler.hpp, src/SourceInput.cpp, src/SourceInput.hpp,
569 src/SpecialActions.hpp, src/SpecialHandler.hpp, src/SpecialManager.cpp,
570 src/SpecialManager.hpp, src/StreamReader.cpp, src/StreamReader.hpp,
571 src/StreamWriter.cpp, src/StreamWriter.hpp, src/Subfont.cpp,
572 src/Subfont.hpp, src/System.cpp, src/System.hpp, src/TFM.cpp,
573 src/TFM.hpp, src/TTFAutohint.cpp, src/TTFAutohint.hpp,
574 src/TensorProductPatch.cpp, src/TensorProductPatch.hpp, src/Terminal.cpp,
575 src/Terminal.hpp, src/ToUnicodeMap.cpp, src/ToUnicodeMap.hpp,
576 src/TpicSpecialHandler.cpp, src/TpicSpecialHandler.hpp,
577 src/TriangularPatch.cpp, src/TriangularPatch.hpp, src/TrueTypeFont.cpp,
578 src/TrueTypeFont.hpp, src/Unicode.cpp, src/Unicode.hpp,
579 src/VFActions.hpp, src/VFReader.cpp, src/VFReader.hpp,
580 src/VectorIterator.hpp, src/VectorStream.hpp, src/XMLDocument.cpp,
581 src/XMLDocument.hpp, src/XMLNode.cpp, src/XMLNode.hpp, src/XMLString.cpp,
582 src/XMLString.hpp, src/XXHashFunction.hpp, src/ZLibOutputStream.hpp,
583 src/dvisvgm.cpp, src/ffwrapper.c, src/ffwrapper.h, src/macros.hpp,
584 src/optimizer/AttributeExtractor.cpp,
585 src/optimizer/AttributeExtractor.hpp, src/optimizer/DependencyGraph.hpp,
586 src/optimizer/GroupCollapser.cpp, src/optimizer/GroupCollapser.hpp,
587 src/optimizer/OptimizerModule.hpp,
588 src/optimizer/RedundantElementRemover.cpp,
589 src/optimizer/RedundantElementRemover.hpp,
590 src/optimizer/SVGOptimizer.cpp, src/optimizer/SVGOptimizer.hpp,
591 src/optimizer/TextSimplifier.cpp, src/optimizer/TextSimplifier.hpp,
592 src/optimizer/TransformSimplifier.cpp,
593 src/optimizer/TransformSimplifier.hpp, src/optimizer/WSNodeRemover.cpp,
594 src/optimizer/WSNodeRemover.hpp, src/options.dtd, src/options.xml,
595 src/psdefs.cpp, src/utility.cpp, src/utility.hpp, src/version.hpp,
596 src/version.hpp.in, src/windows.hpp, tests/BezierTest.cpp,
597 tests/BitmapTest.cpp, tests/BoundingBoxTest.cpp,
598 tests/CMapManagerTest.cpp, tests/CMapReaderTest.cpp, tests/CMapTest.cpp,
599 tests/CalculatorTest.cpp, tests/ColorSpecialTest.cpp,
600 tests/ColorTest.cpp, tests/CommandLineTest.cpp, tests/DVIReaderTest.cpp,
601 tests/DependencyGraphTest.cpp, tests/DirectoryTest.cpp,
602 tests/DvisvgmSpecialTest.cpp, tests/EllipticalArcTest.cpp,
603 tests/EmSpecialTest.cpp, tests/FileFinderTest.cpp,
604 tests/FilePathTest.cpp, tests/FileSystemTest.cpp,
605 tests/FontCacheTest.cpp, tests/FontManagerTest.cpp,
606 tests/FontMapTest.cpp, tests/GFGlyphTracerTest.cpp,
607 tests/GFReaderTest.cpp, tests/GhostscriptTest.cpp,
608 tests/GraphicsPathTest.cpp, tests/HashFunctionTest.cpp,
609 tests/JFMReaderTest.cpp, tests/LengthTest.cpp, tests/Makefile.am,
610 tests/MapLineTest.cpp, tests/MatrixTest.cpp,
611 tests/MessageExceptionTest.cpp, tests/PDFParserTest.cpp,
612 tests/PSInterpreterTest.cpp, tests/PageRagesTest.cpp,
613 tests/PageSizeTest.cpp, tests/PairTest.cpp,
614 tests/PapersizeSpecialTest.cpp, tests/RangeMapTest.cpp,
615 tests/SVGOutputTest.cpp, tests/ShadingPatchTest.cpp,
616 tests/SpecialManagerTest.cpp, tests/SplittedCharInputBufferTest.cpp,
617 tests/StreamInputBufferTest.cpp, tests/StreamReaderTest.cpp,
618 tests/StreamWriterTest.cpp, tests/StringMatcherTest.cpp,
619 tests/SubfontTest.cpp, tests/TFMReaderTest.cpp,
620 tests/TensorProductPatchTest.cpp, tests/ToUnicodeMapTest.cpp,
621 tests/TpicSpecialTest.cpp, tests/TriangularPatchTest.cpp,
622 tests/UnicodeTest.cpp, tests/UtilityTest.cpp,
623 tests/VectorIteratorTest.cpp, tests/VectorStreamTest.cpp,
624 tests/XMLNodeTest.cpp, tests/XMLStringTest.cpp, tests/check-conv,
625 tests/create-makefile, tests/data/Makefile.am, tests/genhashcheck.py,
626 tests/normalize.xsl, tests/testmain.cpp:
627 updated year in copyright statements to 2020
628
629 2019-12-23 Martin Gieseking <martin.gieseking@uos.de>
630
631 * doc/dvisvgm.txt.in:
632 few additions to the manual page
633
634 2019-12-07 Martin Gieseking <martin.gieseking@uos.de>
635
636 * NEWS:
637 updated NEWS
638
639 2019-12-06 Martin Gieseking <martin.gieseking@uos.de>
640
641 * .appveyor.yml, .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
642 set version to 2.8.2
643
644 2019-12-05 Martin Gieseking <martin.gieseking@uos.de>
645
646 * src/FileSystem.cpp:
647 convert path separators only in Windows binaries
648
649 * src/Process.cpp:
650 Subprocess: handle absolute path to executable correctly
651
652 * src/FileFinder.cpp, src/FileFinder.hpp:
653 added FileFinder::lookupExecutable()
654
655 * src/MetafontWrapper.cpp:
656 call 'mf-nowin' instead of 'mf' if available (closes #121)
657
658 2019-12-04 Martin Gieseking <martin.gieseking@uos.de>
659
660 * src/PSInterpreter.cpp:
661 adapt path separators before passing them to Ghostscript
662 closes #123
663
664 * src/FilePath.cpp, src/FileSystem.cpp, src/FileSystem.hpp,
665 src/PSInterpreter.cpp, src/PsSpecialHandler.cpp, src/dvisvgm.cpp:
666 renamed adaptPathSeperators() to ensureForwardSlashes()
667
668 * src/Calculator.hpp, src/CharMapID.hpp, src/Color.hpp, src/Directory.cpp,
669 src/Directory.hpp, src/FixWord.hpp, src/FontStyle.hpp,
670 src/GFGlyphTracer.cpp, src/GFGlyphTracer.hpp, src/GFReader.cpp,
671 src/GFReader.hpp, src/GFTracer.cpp, src/GFTracer.hpp,
672 src/GlyphTracerMessages.hpp, src/HtmlSpecialHandler.hpp,
673 src/HyperlinkManager.hpp, src/Length.hpp, src/NoPsSpecialHandler.hpp,
674 src/PSPreviewFilter.cpp, src/PSPreviewFilter.hpp, src/PathClipper.hpp,
675 src/PreScanDVIReader.cpp, src/PreScanDVIReader.hpp, src/Process.cpp,
676 src/PsSpecialHandler.hpp, src/RangeMap.hpp, src/SVGOutput.cpp,
677 src/SVGOutput.hpp, src/SignalHandler.cpp, src/SignalHandler.hpp,
678 src/TFM.hpp, src/VFReader.cpp, src/VFReader.hpp, src/VectorStream.hpp:
679 simplified constructors, avoid constant initializers
680
681 * src/FileSystem.cpp, src/FileSystem.hpp:
682 removed redundant class variable
683
684 * src/MiKTeXCom.cpp:
685 fixed type mismatch of FindFile expression
686
687 2019-12-03 Martin Gieseking <martin.gieseking@uos.de>
688
689 * src/psdefs.cpp:
690 fixed handling of 'nulldevice' in PS operator 'restore'
691 closes #122
692
693 2019-11-23 Martin Gieseking <martin.gieseking@uos.de>
694
695 * src/GraphicsPath.hpp:
696 added missing namespace prefix to pow()
697
698 2019-11-14 Martin Gieseking <martin.gieseking@uos.de>
699
700 * NEWS, README.md:
701 updated NEWS and README
702
703 2019-11-12 Martin Gieseking <martin.gieseking@uos.de>
704
705 * .appveyor.yml, .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
706 set version to 2.8.1
707
708 * doc/dvisvgm.txt.in:
709 some minor changes of the manual page
710
711 2019-11-11 Martin Gieseking <martin.gieseking@uos.de>
712
713 * src/psdefs.cpp:
714 added newline at end of file
715
716 2019-11-08 Martin Gieseking <martin.gieseking@uos.de>
717
718 * src/optimizer/GroupCollapser.hpp:
719 made GroupCollapser::moveAttributes() static
720
721 * doc/dvisvgm.txt.in, src/optimizer/Makefile.am,
722 src/optimizer/SVGOptimizer.cpp, src/optimizer/TextSimplifier.cpp,
723 src/optimizer/TextSimplifier.hpp:
724 added optimizer module TextSimplifier
725
726 * doc/dvisvgm.txt.in, src/XMLNode.hpp,
727 src/optimizer/AttributeExtractor.hpp, src/optimizer/TextSimplifier.cpp:
728 extended functionality of optimizer module 'simplify-text'
729 - common
730 attributes of tspans are moved to the enclosing text element
731 - tspans
732 without attributes are unwrapped
733
734 2019-11-05 Martin Gieseking <martin.gieseking@uos.de>
735
736 * src/DVIToSVGActions.cpp, src/DVIToSVGActions.hpp,
737 src/EmSpecialHandler.cpp, src/EmSpecialHandler.hpp:
738 removed some constant initializers from constructors
739
740 * src/DVIToSVGActions.cpp, src/DVIToSVGActions.hpp,
741 src/EmSpecialHandler.cpp, src/PSInterpreter.cpp, src/PSInterpreter.hpp,
742 src/PsSpecialHandler.cpp, src/PsSpecialHandler.hpp,
743 src/SpecialActions.hpp, src/TpicSpecialHandler.cpp, src/psdefs.cpp,
744 tests/PSInterpreterTest.cpp:
745 added support for PS operator 'nulldevice'
746
747 2019-10-30 Martin Gieseking <martin.gieseking@uos.de>
748
749 * src/FileFinder.cpp:
750 added PNG, JPEG, and SVG to supported formats of FileFinder
751
752 * src/PsSpecialHandler.cpp, src/PsSpecialHandler.hpp:
753 psfile: create absolute or relative paths to reference images
754 depending
755 on the file location and the file path given by the user
756
757 2019-10-29 Martin Gieseking <martin.gieseking@uos.de>
758
759 * src/FilePath.cpp, src/FilePath.hpp:
760 added method to check if a path is absolute or relative
761
762 2019-10-27 Martin Gieseking <martin.gieseking@uos.de>
763
764 * src/CMapReader.cpp, src/CMapReader.hpp, tests/CMapReaderTest.cpp:
765 CMapReader: extracted common code; added test for 'begincidchar'
766
767 2019-10-25 Martin Gieseking <martin.gieseking@uos.de>
768
769 * tests/Makefile.am, tests/create-makefile:
770 added missing gtest file to distribution
771
772 * tests/FontCacheTest.cpp:
773 remove temporary files created by FontCacheTest
774
775 * .appveyor.yml, .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
776 set version to 2.8
777
778 * NEWS:
779 updated NEWS
780
781 2019-10-23 Martin Gieseking <martin.gieseking@uos.de>
782
783 * src/CMapReader.cpp, src/CMapReader.hpp:
784 CMapReader: added support for operator 'begincidchar' (patch by Akira
785 Kakuto)
786
787 2019-10-20 Martin Gieseking <martin.gieseking@uos.de>
788
789 * src/DVIToSVG.cpp, src/DVIToSVG.hpp, src/DVIToSVGActions.cpp,
790 src/DVIToSVGActions.hpp, src/FilePath.cpp, src/FilePath.hpp,
791 src/HyperlinkManager.cpp, src/ImageToSVG.cpp, src/ImageToSVG.hpp,
792 src/PDFToSVG.hpp, src/SVGOutput.cpp, src/SVGOutput.hpp,
793 src/SpecialActions.hpp, tests/FilePathTest.cpp, tests/SVGOutputTest.cpp:
794 SVGOutput: renamed 'filename' to 'filepath'; changed return type to
795 FilePath
796
797 2019-10-18 Martin Gieseking <martin.gieseking@uos.de>
798
799 * tests/gtest/include/gtest/gtest-death-test.h,
800 tests/gtest/include/gtest/gtest-matchers.h,
801 tests/gtest/include/gtest/gtest-message.h,
802 tests/gtest/include/gtest/gtest-param-test.h,
803 tests/gtest/include/gtest/gtest-printers.h,
804 tests/gtest/include/gtest/gtest-spi.h,
805 tests/gtest/include/gtest/gtest-test-part.h,
806 tests/gtest/include/gtest/gtest-typed-test.h,
807 tests/gtest/include/gtest/gtest.h,
808 tests/gtest/include/gtest/gtest_pred_impl.h,
809 tests/gtest/include/gtest/internal/gtest-death-test-internal.h,
810 tests/gtest/include/gtest/internal/gtest-filepath.h,
811 tests/gtest/include/gtest/internal/gtest-internal.h,
812 tests/gtest/include/gtest/internal/gtest-param-util.h,
813 tests/gtest/include/gtest/internal/gtest-port-arch.h,
814 tests/gtest/include/gtest/internal/gtest-port.h,
815 tests/gtest/include/gtest/internal/gtest-string.h,
816 tests/gtest/include/gtest/internal/gtest-type-util.h,
817 tests/gtest/src/gtest-all.cc, tests/gtest/src/gtest-death-test.cc,
818 tests/gtest/src/gtest-filepath.cc, tests/gtest/src/gtest-internal-inl.h,
819 tests/gtest/src/gtest-matchers.cc, tests/gtest/src/gtest-port.cc,
820 tests/gtest/src/gtest-printers.cc, tests/gtest/src/gtest-test-part.cc,
821 tests/gtest/src/gtest-typed-test.cc, tests/gtest/src/gtest.cc,
822 tests/gtest/src/gtest_main.cc, tests/testutil.hpp:
823 updated gtest to version 1.10
824
825 * src/PsSpecialHandler.cpp, src/PsSpecialHandler.hpp:
826 psfile: added support for PDF, JPG, PNG, and SVG files
827
828 * src/optimizer/TransformSimplifier.cpp,
829 src/optimizer/TransformSimplifier.hpp:
830 try to incorporate transformations into positional and size attributes
831
832 * src/PsSpecialHandler.cpp:
833 PS handler: minor code enhancements
834
835 2019-10-17 Martin Gieseking <martin.gieseking@uos.de>
836
837 * src/PSInterpreter.cpp:
838 call GS with -dDELAYSAFER if GS version >= 9.50
839 Ghostscript 9.50
840 introduced incompatible changes regarding SAFER which is now
841 active by
842 default. This conflicts with DELAYBIND and WRITESYSTEMDICT, which
843 are
844 necessary for dvisvgm to work
845 correctly.
846 https://www.ghostscript.com/doc/9.50/Use.htm#Safer
847
848 * tests/HashFunctionTest.cpp:
849 adapted XXH128 tests to changes in xxhash 0.7.2
850
851 2019-10-08 Martin Gieseking <martin.gieseking@uos.de>
852
853 * libs/xxHash/xxh3.h, libs/xxHash/xxhash.c, libs/xxHash/xxhash.h:
854 updated xxhash to version 0.7.2
855
856 2019-10-06 Martin Gieseking <martin.gieseking@uos.de>
857
858 * src/EllipticalArc.cpp:
859 minor changes in EllipticalArc.cpp
860
861 2019-09-19 Martin Gieseking <martin.gieseking@uos.de>
862
863 * src/PathClipper.cpp:
864 prevent warnings about uninitialized variables
865
866 2019-09-17 Martin Gieseking <martin.gieseking@uos.de>
867
868 * libs/potrace/auxiliary.h, libs/potrace/bitmap.h, libs/potrace/config.h,
869 libs/potrace/curve.c, libs/potrace/curve.h, libs/potrace/decompose.c,
870 libs/potrace/decompose.h, libs/potrace/lists.h,
871 libs/potrace/potracelib.c, libs/potrace/potracelib.h,
872 libs/potrace/progress.h, libs/potrace/trace.c, libs/potrace/trace.h:
873 updated potrace to version 1.16
874
875 * src/Bitmap.cpp, src/Bitmap.hpp:
876 minor code cleanup of Bitmap class
877
878 2019-09-12 Martin Gieseking <martin.gieseking@uos.de>
879
880 * src/GraphicsPath.hpp:
881 renamed misspelled variables 'largeArgFlag' to 'largeArcFlag'
882
883 * src/EllipticalArc.cpp:
884 removed #include "debug.h"
885
886 2019-09-03 Martin Gieseking <martin.gieseking@uos.de>
887
888 * libs/woff2/src/glyph.cc, libs/woff2/src/normalize.cc:
889 fixed two compiler warnings in libwoff2
890 regarding signed/unsigned
891 comparison
892
893 2019-08-27 Martin Gieseking <martin.gieseking@uos.de>
894
895 * src/XXHashFunction.hpp, tests/HashFunctionTest.cpp:
896 simplified implementation of XXHashFunction::digestValue() and tests
897
898 2019-08-26 Martin Gieseking <martin.gieseking@uos.de>
899
900 * src/StreamReader.cpp, src/StreamReader.hpp, src/VFReader.cpp,
901 tests/StreamReaderTest.cpp:
902 removed vector reference from StreamReader::readBytes()
903
904 * src/CRC32.cpp, src/CRC32.hpp, src/FontCache.cpp, src/FontCache.hpp,
905 src/HashFunction.cpp, src/HashFunction.hpp, src/Makefile.am,
906 src/StreamReader.cpp, src/StreamReader.hpp, src/StreamWriter.cpp,
907 src/StreamWriter.hpp, src/XXHashFunction.hpp, src/utility.hpp,
908 tests/CRC32Test.cpp, tests/FontCacheTest.cpp, tests/Makefile.am,
909 tests/StreamReaderTest.cpp, tests/StreamWriterTest.cpp:
910 replaced CRC32 cache checksums with XXH32 hashes
911
912 2019-08-25 Martin Gieseking <martin.gieseking@uos.de>
913
914 * doc/dvisvgm.txt.in, libs/xxHash/xxhash.h, src/HashFunction.cpp,
915 src/XXHashFunction.hpp, tests/HashFunctionTest.cpp:
916 added support for the experimental 128-bit XXH3 algorithm
917
918 2019-08-24 Martin Gieseking <martin.gieseking@uos.de>
919
920 * src/GraphicsPath.hpp:
921 avoid redundant sequences of closepath (z/Z) commands
922
923 2019-08-19 Martin Gieseking <martin.gieseking@uos.de>
924
925 * src/GraphicsPath.hpp, tests/GraphicsPathTest.cpp:
926 added short versions of 'quadto' and 'cubicto' to GraphicsPath
927
928 2019-08-18 Martin Gieseking <martin.gieseking@uos.de>
929
930 * src/TpicSpecialHandler.cpp, tests/TpicSpecialTest.cpp:
931 use class EllipticalArc to process arcs in tpic handler
932
933 2019-08-15 Martin Gieseking <martin.gieseking@uos.de>
934
935 * libs/xxHash/Makefile.am, libs/xxHash/xxh3.h, libs/xxHash/xxhash.c,
936 libs/xxHash/xxhash.h:
937 updated xxhash to version 0.7.1
938
939 * src/DVIToSVG.cpp:
940 print error message on wrong page hash arguments
941
942 2019-08-14 Martin Gieseking <martin.gieseking@uos.de>
943
944 * src/EllipticalArc.cpp, src/EllipticalArc.hpp, src/GraphicsPath.hpp,
945 tests/EllipticalArcTest.cpp, tests/GraphicsPathTest.cpp:
946 added GraphicsPath::approximateArcs()
947
948 2019-08-13 Martin Gieseking <martin.gieseking@uos.de>
949
950 * src/Bezier.cpp, src/Bezier.hpp, src/EllipticalArc.cpp,
951 src/EllipticalArc.hpp, src/GraphicsPath.hpp, src/Makefile.am,
952 src/Pair.hpp, src/utility.cpp, src/utility.hpp,
953 tests/EllipticalArcTest.cpp, tests/Makefile.am:
954 added support of 'arcto' command to class GraphicsPath
955
956 2019-08-08 Martin Gieseking <martin.gieseking@uos.de>
957
958 * src/Bezier.cpp, src/Bezier.hpp, src/PsSpecialHandler.cpp,
959 src/ShadingPatch.hpp, src/TensorProductPatch.cpp,
960 src/TensorProductPatch.hpp, src/TriangularPatch.cpp,
961 src/TriangularPatch.hpp, tests/BezierTest.cpp,
962 tests/TensorProductPatchTest.cpp, tests/TriangularPatchTest.cpp:
963 getBBox(): replaced reference parameter with return value
964
965 * src/PsSpecialHandler.cpp, src/ShadingPatch.hpp,
966 src/TensorProductPatch.cpp, src/TensorProductPatch.hpp,
967 src/TriangularPatch.cpp, src/TriangularPatch.hpp,
968 tests/TensorProductPatchTest.cpp, tests/TriangularPatchTest.cpp:
969 getBoundaryPath(): replaced reference parameter with return value
970
971 2019-08-04 Martin Gieseking <martin.gieseking@uos.de>
972
973 * src/Color.cpp, src/Pair.hpp:
974 use std::hypot() to compute length of vector
975
976 2019-08-01 Martin Gieseking <martin.gieseking@uos.de>
977
978 * src/MD5HashFunction.hpp:
979 removed 'explicit' from default constructor
980 Work around for C++11 bug in
981 GCC 4.8:
982 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58255
983
984 * src/FontCache.cpp, src/FontEngine.cpp, src/FontWriter.cpp,
985 src/GraphicsPath.hpp, src/Pair.hpp, src/PathClipper.cpp,
986 src/TpicSpecialHandler.cpp, src/optimizer/CMakeLists.txt,
987 src/optimizer/Makefile.am, tests/FontCacheTest.cpp,
988 tests/GraphicsPathTest.cpp:
989 redesigned implementation of class GraphicsPath
990 - use variant instances
991 to store path commands instead of plain structs
992 - process commands in
993 visitor objects
994 - removed GraphicsPath::Actions::draw() that exposed
995 implemenation details
996 - simplify iterate() method
997
998 2019-07-29 Martin Gieseking <martin.gieseking@uos.de>
999
1000 * src/FontCache.cpp:
1001 use direct string concatenation instead of temporary string stream
1002
1003 2019-07-28 Martin Gieseking <martin.gieseking@uos.de>
1004
1005 * doc/Makefile.am:
1006 added missing dependency to Makefile rule
1007
1008 * .appveyor.yml, .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
1009 set version to 2.7.4
1010
1011 * NEWS:
1012 updated NEWS
1013
1014 2019-07-27 Martin Gieseking <martin.gieseking@uos.de>
1015
1016 * doc/Makefile.am:
1017 moved generation of dvisvgm.sty to separate rule
1018
1019 2019-07-26 Martin Gieseking <martin.gieseking@uos.de>
1020
1021 * src/Color.cpp:
1022 use std::round to round color value (fixes #116)
1023
1024 * doc/Makefile.am, doc/dvisvgm.sty, doc/dvisvgm.txt.in,
1025 doc/generate-dvisvgm-sty.xsl, doc/tweak-db-article.xsl,
1026 doc/tweak-db-refentry.xsl:
1027 show revision date given in doc/dvisvgm.txt on manual page
1028 rather than
1029 the build date
1030
1031 2019-07-25 Martin Gieseking <martin.gieseking@uos.de>
1032
1033 * src/TrueTypeFont.cpp:
1034 call ofstream constructor with std::string instead of C string
1035
1036 2019-07-23 Martin Gieseking <martin.gieseking@uos.de>
1037
1038 * src/MetafontWrapper.cpp:
1039 replaced atoi() with stoi()
1040
1041 2019-07-16 Martin Gieseking <martin.gieseking@uos.de>
1042
1043 * src/MetafontWrapper.cpp:
1044 don't access moved string
1045
1046 * doc/dvisvgm.txt.in, src/dvisvgm.cpp:
1047 changed cache location to $XDG_CACHE_HOME/dvisvgm
1048 or ~/.cache/dvisvgm if
1049 $XDG_CACHE_HOME is not set (closes #112)
1050
1051 2019-07-12 Martin Gieseking <martin.gieseking@uos.de>
1052
1053 * .appveyor.yml, .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
1054 set version to 2.7.3
1055
1056 * NEWS:
1057 updated NEWS
1058
1059 2019-07-09 Martin Gieseking <martin.gieseking@uos.de>
1060
1061 * src/XMLString.cpp, src/utility.cpp, src/utility.hpp,
1062 tests/UtilityTest.cpp:
1063 added util::to_string(double) that strips trailing zeros
1064 (in contrast to
1065 std::to_string)
1066
1067 * src/CMapManager.cpp, src/CMapReader.cpp, src/DVIReader.cpp,
1068 src/GFReader.cpp, src/JFM.cpp, src/Length.cpp, src/MapLine.cpp,
1069 src/Matrix.cpp, src/PDFParser.cpp, src/SVGOutput.cpp, src/VFReader.cpp:
1070 replaced some string streams with plain strings
1071
1072 2019-07-08 Martin Gieseking <martin.gieseking@uos.de>
1073
1074 * README.md:
1075 updated badges in README
1076
1077 * src/Font.cpp, src/Font.hpp, src/dvisvgm.cpp:
1078 changed type of CACHE_PATH to std::string
1079
1080 2019-07-07 Martin Gieseking <martin.gieseking@uos.de>
1081
1082 * .github/FUNDING.yml:
1083 added funding.yml
1084
1085 2019-07-06 Martin Gieseking <martin.gieseking@uos.de>
1086
1087 * src/DVIToSVG.cpp:
1088 properly assign collected chars to unique fonts (fixes #110)
1089
1090 2019-06-18 Martin Gieseking <martin.gieseking@uos.de>
1091
1092 * doc/dvisvgm.txt.in:
1093 manpage: updated \special example
1094
1095 2019-06-17 Martin Gieseking <martin.gieseking@uos.de>
1096
1097 * src/BasicDVIReader.cpp:
1098 replaced string streams with plain strings
1099
1100 2019-06-11 Martin Gieseking <martin.gieseking@uos.de>
1101
1102 * tests/genhashcheck.py:
1103 use range-based loop to iterate over C array
1104
1105 2019-06-07 Martin Gieseking <martin.gieseking@uos.de>
1106
1107 * .appveyor.yml, .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
1108 set version to 2.7.2
1109
1110 * NEWS:
1111 updated NEWS
1112
1113 2019-05-29 Martin Gieseking <martin.gieseking@uos.de>
1114
1115 * src/psdefs.cpp:
1116 'GS_PDF_ProcSet' and 'pdfdict' are private as of GS 9.27
1117 As a workaround
1118 'runpdfbegin' and 'runpdfend' can be used to enter/leave the
1119 dictionaries.
1120
1121 2019-05-20 Martin Gieseking <martin.gieseking@uos.de>
1122
1123 * .appveyor.yml, .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
1124 set version to 2.7.1
1125
1126 * NEWS:
1127 updated NEWS
1128
1129 2019-05-10 Martin Gieseking <martin.gieseking@uos.de>
1130
1131 * .appveyor.yml, .gitignore, src/MiKTeXCom.hpp:
1132 added files required to access the MiKTeX session object
1133
1134 2019-05-06 Martin Gieseking <martin.gieseking@uos.de>
1135
1136 * src/psdefs.cpp:
1137 pop unused operand in PS operator 'setmatrix' (closes #106)
1138
1139 2019-04-18 Martin Gieseking <martin.gieseking@uos.de>
1140
1141 * src/optimizer/AttributeExtractor.cpp, src/optimizer/GroupCollapser.cpp,
1142 src/utility.hpp:
1143 removed util::make_array() due to compatibility
1144 issues
1145 https://trac.macports.org/ticket/58347
1146
1147 2019-04-17 Martin Gieseking <martin.gieseking@uos.de>
1148
1149 * README, README.md:
1150 updated URL of FontForge website
1151
1152 2019-04-15 Martin Gieseking <martin.gieseking@uos.de>
1153
1154 * README.md:
1155 removed Coverity badge as the service seems to be dead
1156
1157 2019-04-14 Martin Gieseking <martin.gieseking@uos.de>
1158
1159 * src/Makefile.am:
1160 add file windows.hpp to source tarball
1161
1162 2019-04-13 Martin Gieseking <martin.gieseking@uos.de>
1163
1164 * .appveyor.yml, .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
1165 set version to 2.7
1166
1167 * NEWS:
1168 updated NEWS
1169
1170 2019-04-12 Martin Gieseking <martin.gieseking@uos.de>
1171
1172 * doc/dvisvgm.txt.in, src/DvisvgmSpecialHandler.cpp:
1173 added specials "bbox lock" and "bbox unlock" to lock/unlock the page
1174 bbox
1175 (closes #105)
1176
1177 * doc/dvisvgm.txt.in, src/DvisvgmSpecialHandler.cpp:
1178 added optional modifier 'transform' to the dvisvgm:bbox specials
1179
1180 * doc/dvisvgm.txt.in, src/DvisvgmSpecialHandler.cpp:
1181 added macro {?matrix} to raw specials
1182
1183 2019-04-11 Martin Gieseking <martin.gieseking@uos.de>
1184
1185 * src/Bezier.cpp, src/BoundingBox.hpp, src/CMap.hpp, src/CMapReader.hpp,
1186 src/Character.hpp, src/Color.hpp, src/DLLoader.hpp, src/Directory.cpp,
1187 src/Directory.hpp, src/DvisvgmSpecialHandler.cpp, src/EPSFile.hpp,
1188 src/EncFile.hpp, src/FilePath.hpp, src/Font.hpp, src/FontEncoding.hpp,
1189 src/FontMap.hpp, src/FontWriter.cpp, src/FontWriter.hpp,
1190 src/GFTracer.hpp, src/GlyphTracerMessages.hpp, src/GraphicsPath.hpp,
1191 src/InputBuffer.hpp, src/InputReader.hpp, src/JFM.hpp, src/Length.hpp,
1192 src/MD5HashFunction.hpp, src/MapLine.hpp, src/Matrix.cpp, src/Matrix.hpp,
1193 src/Message.hpp, src/PDFParser.cpp, src/PDFParser.hpp, src/PSPattern.hpp,
1194 src/PSPreviewFilter.hpp, src/PageSize.hpp, src/Pair.hpp,
1195 src/PsSpecialHandler.cpp, src/PsSpecialHandler.hpp,
1196 src/SVGCharHandler.hpp, src/SVGCharTspanTextHandler.hpp,
1197 src/SVGOutput.hpp, src/SVGSingleCharTextHandler.hpp,
1198 src/ShadingPatch.hpp, src/SourceInput.hpp, src/StreamReader.hpp,
1199 src/StreamWriter.hpp, src/TFM.hpp, src/TensorProductPatch.hpp,
1200 src/TriangularPatch.hpp, src/TrueTypeFont.hpp, src/VFReader.cpp,
1201 src/VFReader.hpp, src/VectorIterator.hpp, src/VectorStream.hpp,
1202 src/XMLDocument.hpp, src/XMLString.hpp, src/XXHashFunction.hpp,
1203 src/optimizer/DependencyGraph.hpp:
1204 marked most constructors 'explicit' if they may be called with a single
1205 parameter
1206
1207 * src/DVIReader.cpp, src/DVIToSVG.cpp, src/DVIToSVGActions.cpp,
1208 src/Font.cpp, src/FontEngine.cpp, src/FontManager.cpp,
1209 src/HyperlinkManager.cpp, src/ImageToSVG.cpp, src/PDFParser.hpp,
1210 src/PSInterpreter.cpp, src/PdfSpecialHandler.cpp,
1211 src/PsSpecialHandler.cpp, src/SVGCharHandler.cpp,
1212 src/SVGCharPathHandler.cpp, src/SVGCharTspanTextHandler.cpp,
1213 src/SVGTree.cpp, src/TensorProductPatch.cpp, src/TriangularPatch.cpp,
1214 src/TrueTypeFont.cpp:
1215 use automatic type deduction in conjunction with casts
1216
1217 * src/EPSFile.cpp, src/EmSpecialHandler.cpp, src/EncFile.cpp,
1218 src/InputReader.cpp, src/PSInterpreter.cpp, src/PsSpecialHandler.cpp,
1219 src/SpecialManager.cpp, src/StreamReader.cpp, src/Subfont.cpp,
1220 src/Unicode.cpp, src/dvisvgm.cpp:
1221 explicitly cast integers representing characeters to char
1222
1223 * src/CLCommandLine.hpp, src/DvisvgmSpecialHandler.cpp,
1224 src/DvisvgmSpecialHandler.hpp, src/EncFile.cpp, src/Font.cpp,
1225 src/Font.hpp, src/MetafontWrapper.cpp, src/MetafontWrapper.hpp,
1226 src/Process.cpp, src/Process.hpp, src/SVGOutput.cpp, src/SVGOutput.hpp,
1227 src/Subfont.cpp, src/Subfont.hpp:
1228 if possible, move string parameters instead of copying them
1229
1230 * src/Color.cpp, src/FontEngine.cpp, src/PathClipper.cpp:
1231 use std::lround() rather than truncation
1232
1233 * src/DVIActions.hpp, src/DVIToSVGActions.hpp, src/Font.hpp,
1234 src/PSInterpreter.cpp, src/SignalHandler.cpp, src/System.cpp:
1235 replaced 0 and NULL with nullptr
1236
1237 * src/Message.cpp, src/Message.hpp:
1238 drop 'const' from char parameter
1239
1240 * src/EPSFile.cpp:
1241 replaced C array with std::array
1242
1243 * src/SpecialManager.hpp, src/ZLibOutputStream.hpp:
1244 made deleted constructor public; use 'default' with default constructor
1245
1246 * src/PageSize.cpp:
1247 removed redundant semicolons
1248
1249 2019-04-10 Martin Gieseking <martin.gieseking@uos.de>
1250
1251 * src/RangeMap.cpp, tests/RangeMapTest.cpp:
1252 use std::accumulate() to compute the number of values mapped by a
1253 RangeMap
1254
1255 2019-04-09 Martin Gieseking <martin.gieseking@uos.de>
1256
1257 * doc/dvisvgm.txt.in:
1258 reworded some paragraphs on the manpage
1259
1260 2019-04-05 Martin Gieseking <martin.gieseking@uos.de>
1261
1262 * src/DvisvgmSpecialHandler.cpp, src/HtmlSpecialHandler.cpp,
1263 src/InputReader.cpp, src/InputReader.hpp, src/PsSpecialHandler.cpp,
1264 tests/StreamInputBufferTest.cpp:
1265 optionally allow 'flags' (attributes w/o values) in attribute lists
1266
1267 * src/PsSpecialHandler.cpp:
1268 psfile/pdffile: evaluate boolean attribute 'clip'
1269 If given, the drawing
1270 region is clipped to the bounding box of the
1271 EPS/PDF page being
1272 processed.
1273 (closes #104)
1274
1275 * .appveyor.yml:
1276 AppVeyor: switched build image to VS 2019 Preview
1277
1278 2019-04-04 Martin Gieseking <martin.gieseking@uos.de>
1279
1280 * .appveyor.yml:
1281 AppVeyor: updated release number of ttfautohint-dll
1282
1283 * m4/ax_cxx_compile_stdcxx.m4:
1284 updated ax_cxx_compile_stdcxx.m4 to version 11
1285
1286 2019-04-03 Martin Gieseking <martin.gieseking@uos.de>
1287
1288 * .appveyor.yml:
1289 AppVeyor: set freetype version to 2.10.0; use current image of VS 2017
1290 again
1291
1292 * src/SVGTree.cpp:
1293 fixed gcc 5 failure regarding initializer lists
1294
1295 * src/FileFinder.cpp:
1296 pdffile special: look for pdf files in texmf tree too (closes #103)
1297
1298 2019-04-01 Martin Gieseking <martin.gieseking@uos.de>
1299
1300 * src/optimizer/GroupCollapser.cpp:
1301 group collapser: unwrap groups without attributes
1302
1303 * src/DVIToSVGActions.hpp, src/DvisvgmSpecialHandler.cpp,
1304 src/DvisvgmSpecialHandler.hpp, src/EmSpecialHandler.cpp,
1305 src/HyperlinkManager.cpp, src/ImageToSVG.hpp, src/PSPattern.cpp,
1306 src/PsSpecialHandler.cpp, src/SpecialActions.hpp,
1307 src/TpicSpecialHandler.cpp, tests/DvisvgmSpecialTest.cpp,
1308 tests/EmSpecialTest.cpp, tests/TpicSpecialTest.cpp:
1309 reduced interface of SpecialActions
1310 - removed append/prepend and context
1311 functions
1312 - added direct access to the SVGTree object
1313
1314 2019-03-31 Martin Gieseking <martin.gieseking@uos.de>
1315
1316 * src/XMLNode.cpp, src/XMLNode.hpp, src/optimizer/AttributeExtractor.cpp,
1317 src/optimizer/AttributeExtractor.hpp, src/optimizer/GroupCollapser.cpp,
1318 src/optimizer/RedundantElementRemover.cpp,
1319 src/optimizer/TransformSimplifier.cpp, src/optimizer/WSNodeRemover.cpp,
1320 tests/BoundingBoxTest.cpp, tests/TpicSpecialTest.cpp,
1321 tests/XMLNodeTest.cpp:
1322 refactored the implementation of the XML node classes
1323 for easier
1324 modifications of the XML tree
1325
1326 2019-03-30 Martin Gieseking <martin.gieseking@uos.de>
1327
1328 * libs/ff-woff/Makefile.am:
1329 added missing zlib include path to ff-woff
1330
1331 * src/CMapReader.cpp:
1332 properly release memory if CMap throws an exception
1333
1334 2019-03-28 Martin Gieseking <martin.gieseking@uos.de>
1335
1336 * src/GraphicsPath.hpp:
1337 skip redundant line drawing commands in path elements
1338
1339 2019-03-27 Martin Gieseking <martin.gieseking@uos.de>
1340
1341 * src/XMLString.cpp, tests/DVIReaderTest.cpp, tests/GFGlyphTracerTest.cpp,
1342 tests/MatrixTest.cpp:
1343 replace "0." by "." in floating point numbers |x| < 1
1344
1345 * src/GraphicsPath.hpp, tests/GFGlyphTracerTest.cpp:
1346 avoid redundant space characters in SVG paths
1347
1348 * src/GraphicsPath.hpp, tests/TpicSpecialTest.cpp:
1349 take precision into account when checking for reflection points
1350
1351 2019-03-25 Martin Gieseking <martin.gieseking@uos.de>
1352
1353 * src/Matrix.cpp, src/Matrix.hpp, tests/MatrixTest.cpp:
1354 made Matrix::parse() a static member
1355
1356 * configure.ac, doc/dvisvgm.txt.in, src/CommandLine.hpp, src/DVIToSVG.cpp,
1357 src/DependencyGraph.hpp, src/ImageToSVG.cpp, src/Makefile.am,
1358 src/SVGOptimizer.cpp, src/SVGOptimizer.hpp, src/SVGTree.cpp,
1359 src/XMLNode.cpp, src/dvisvgm.cpp, src/optimizer/AttributeExtractor.cpp,
1360 src/optimizer/AttributeExtractor.hpp, src/optimizer/CMakeLists.txt,
1361 src/optimizer/DependencyGraph.hpp, src/optimizer/GroupCollapser.cpp,
1362 src/optimizer/GroupCollapser.hpp, src/optimizer/Makefile.am,
1363 src/optimizer/OptimizerModule.hpp,
1364 src/optimizer/RedundantElementRemover.cpp,
1365 src/optimizer/RedundantElementRemover.hpp,
1366 src/optimizer/SVGOptimizer.cpp, src/optimizer/SVGOptimizer.hpp,
1367 src/optimizer/TransformSimplifier.cpp,
1368 src/optimizer/TransformSimplifier.hpp, src/optimizer/WSNodeRemover.cpp,
1369 src/optimizer/WSNodeRemover.hpp, src/options.xml,
1370 tests/DependencyGraphTest.cpp, tests/Makefile.am, tests/create-makefile:
1371 moved optimizer classes to subdirectory
1372
1373 2019-03-24 Martin Gieseking <martin.gieseking@uos.de>
1374
1375 * src/Matrix.cpp, src/Matrix.hpp, src/PsSpecialHandler.cpp,
1376 tests/MatrixTest.cpp:
1377 swapped Matrix::lmultiply and Matrix::rmultiply
1378
1379 * src/Matrix.cpp, src/Matrix.hpp, src/SVGOptimizer.cpp,
1380 src/SVGOptimizer.hpp, src/utility.hpp, tests/MatrixTest.cpp:
1381 added optimizer to simplify 'transform' attributes
1382
1383 2019-03-23 Martin Gieseking <martin.gieseking@uos.de>
1384
1385 * src/SVGOptimizer.cpp, src/SVGOptimizer.hpp, src/XMLNode.cpp,
1386 src/XMLNode.hpp:
1387 remove whitespace nodes before collapsing group elements
1388
1389 2019-03-22 Martin Gieseking <martin.gieseking@uos.de>
1390
1391 * src/InputBuffer.hpp:
1392 added StringInputBuffer::assign() to assign a different string
1393
1394 * src/InputReader.cpp, tests/StreamInputBufferTest.cpp:
1395 replaced constraints for attribute names
1396 - must start with a letter
1397 -
1398 may contain selected non-alphanumeric characters, like '-', '_', and '.'
1399
1400 * doc/dvisvgm.txt.in, src/DvisvgmSpecialHandler.cpp,
1401 src/DvisvgmSpecialHandler.hpp, src/SVGTree.cpp, src/XMLNode.cpp,
1402 tests/DvisvgmSpecialTest.cpp:
1403 allow split tags distributed over several dvisvgm:raw specials
1404
1405 2019-03-21 Martin Gieseking <martin.gieseking@uos.de>
1406
1407 * src/BgColorSpecialHandler.cpp, src/PSPattern.cpp, src/PageRanges.cpp,
1408 src/PathClipper.cpp, src/RangeMap.cpp:
1409 use type 'auto' for local iterator variables
1410
1411 * src/FilePath.hpp, src/Font.hpp, src/ImageToSVG.hpp, src/PDFParser.hpp,
1412 src/SVGOutput.hpp, src/Subfont.hpp, src/XMLNode.cpp, src/XMLNode.hpp:
1413 use move semantics to initialize string members
1414
1415 2019-03-20 Martin Gieseking <martin.gieseking@uos.de>
1416
1417 * src/BasicDVIReader.hpp, src/DVIToSVG.hpp, src/Subfont.hpp:
1418 deleted constructors should be public
1419
1420 * src/Bezier.cpp, src/Bezier.hpp, src/CMap.hpp, src/CMapReader.cpp,
1421 src/Color.cpp, src/DVIToSVG.hpp, src/DVIToSVGActions.cpp,
1422 src/EmSpecialHandler.cpp, src/EncFile.cpp, src/FileFinder.cpp,
1423 src/FileFinder.hpp, src/FileSystem.cpp, src/Font.cpp, src/FontCache.cpp,
1424 src/FontEncoding.cpp, src/FontEncoding.hpp, src/FontEngine.cpp,
1425 src/FontEngine.hpp, src/FontManager.cpp, src/FontManager.hpp,
1426 src/FontWriter.hpp, src/GFGlyphTracer.cpp, src/GFGlyphTracer.hpp,
1427 src/Ghostscript.cpp, src/Ghostscript.hpp, src/ImageToSVG.cpp,
1428 src/MapLine.cpp, src/MapLine.hpp, src/Message.cpp, src/Message.hpp,
1429 src/NoPsSpecialHandler.hpp, src/PDFParser.cpp, src/PSInterpreter.cpp,
1430 src/PSInterpreter.hpp, src/PathClipper.cpp, src/Process.hpp,
1431 src/SVGCharHandler.hpp, src/SVGCharPathHandler.cpp,
1432 src/SVGCharPathHandler.hpp, src/SVGCharTspanTextHandler.cpp,
1433 src/SVGTree.hpp, src/VFReader.cpp, src/VFReader.hpp, src/XMLNode.cpp,
1434 src/dvisvgm.cpp:
1435 use nullptr instead of 0
1436
1437 * src/BoundingBox.hpp, src/CLCommandLine.hpp, src/CMapReader.hpp,
1438 src/Calculator.hpp, src/Font.hpp, src/FontMetrics.hpp,
1439 src/FontWriter.hpp, src/GFReader.hpp, src/Length.hpp, src/MapLine.hpp,
1440 src/Matrix.hpp, src/MessageException.hpp, src/PDFParser.hpp,
1441 src/PSInterpreter.hpp, src/PageSize.hpp, src/ShadingPatch.hpp,
1442 src/SpecialHandler.hpp, src/StreamReader.hpp, src/TrueTypeFont.hpp,
1443 src/VFReader.hpp, src/VectorIterator.hpp, src/ZLibOutputStream.hpp:
1444 made constructors of exception classes explicit
1445
1446 * src/ZLibOutputStream.hpp:
1447 few modifications of class ZLibOutputStream
1448
1449 * src/CharMapID.hpp, src/Color.hpp, src/FontCache.hpp, src/Message.cpp,
1450 src/Message.hpp:
1451 ensure initializations of static members don't throw exceptions
1452
1453 * src/BoundingBox.cpp, src/CMapManager.cpp, src/ColorSpecialHandler.cpp,
1454 src/DvisvgmSpecialHandler.cpp, src/PathClipper.cpp, src/RangeMap.cpp:
1455 replaced some index-based loops with range-based ones
1456
1457 * src/FilePath.cpp, src/FilePath.hpp:
1458 fixed type used to store directories in class FilePath
1459
1460 * src/CLCommandLine.cpp:
1461 use emplace_back() instead of push_back()
1462
1463 * src/FileFinder.cpp, src/Font.hpp, src/TensorProductPatch.hpp,
1464 src/dvisvgm.cpp:
1465 removed redundant 'virtual' modifiers and calls of c_str()
1466
1467 * src/FontManager.cpp, src/HyperlinkManager.cpp, src/PageSize.cpp:
1468 use spezialized string::find() to look for single characters
1469
1470 * doc/dvisvgm.txt.in, src/CommandLine.hpp, src/dvisvgm.cpp,
1471 src/options.xml, tests/CommandLineTest.cpp:
1472 renamed option --exact to --exact-bbox
1473 This change is downward
1474 compatible due to partial matching of long options.
1475
1476 * src/DVIToSVGActions.cpp, src/DvisvgmSpecialHandler.cpp, src/Matrix.cpp,
1477 src/Matrix.hpp, src/PSPattern.cpp, src/PsSpecialHandler.cpp,
1478 src/SVGCharHandler.cpp, src/SVGCharPathHandler.cpp, src/SVGTree.cpp,
1479 tests/MatrixTest.cpp:
1480 renamed and slightly refactored Matrix::getSVG()
1481
1482 2019-03-19 Martin Gieseking <martin.gieseking@uos.de>
1483
1484 * doc/dvisvgm.txt.in, src/DVIToSVGActions.hpp,
1485 src/DvisvgmSpecialHandler.cpp, src/DvisvgmSpecialHandler.hpp,
1486 src/HyperlinkManager.cpp, src/ImageToSVG.hpp, src/SVGTree.cpp,
1487 src/SVGTree.hpp, src/SpecialActions.hpp, tests/DvisvgmSpecialTest.cpp:
1488 added context stack for SVG defs section
1489
1490 * src/DVIToSVG.cpp, src/ImageToSVG.cpp, src/SVGOptimizer.cpp,
1491 src/SVGOptimizer.hpp, src/SVGTree.cpp, src/SVGTree.hpp:
1492 moved removal of redundant clipPath elements to SVGOptimizer
1493
1494 * doc/dvisvgm.txt.in, src/CommandLine.hpp, src/SVGOptimizer.cpp,
1495 src/SVGOptimizer.hpp, src/dvisvgm.cpp, src/options.xml:
1496 added command-line option --group-attributes
1497
1498 2019-03-18 Martin Gieseking <martin.gieseking@uos.de>
1499
1500 * src/Makefile.am:
1501 reformatted file list in Makefile
1502
1503 2019-03-16 Martin Gieseking <martin.gieseking@uos.de>
1504
1505 * src/psdefs.cpp:
1506 added processing of PS operators xshow, yshow, and xyshow
1507
1508 2019-03-15 Martin Gieseking <martin.gieseking@uos.de>
1509
1510 * libs/xxHash/xxhash.c, libs/xxHash/xxhash.h:
1511 updated xxhash to version 0.7.0
1512
1513 2019-03-14 Martin Gieseking <martin.gieseking@uos.de>
1514
1515 * src/Makefile.am, src/SVGOptimizer.cpp, src/SVGOptimizer.hpp,
1516 src/SVGTree.cpp, src/XMLNode.cpp, src/XMLNode.hpp, src/utility.hpp:
1517 added algorithms to move common attributes to group elements
1518
1519 2019-03-13 Martin Gieseking <martin.gieseking@uos.de>
1520
1521 * src/DVIToSVGActions.hpp, src/ImageToSVG.hpp, src/PSPattern.cpp,
1522 src/PSPattern.hpp, src/SVGCharHandler.cpp, src/SVGCharHandler.hpp,
1523 src/SVGTree.cpp, src/SVGTree.hpp, src/SpecialActions.hpp,
1524 src/SpecialManager.cpp, src/SpecialManager.hpp, src/XMLDocument.cpp,
1525 src/XMLDocument.hpp, src/XMLNode.cpp, src/XMLNode.hpp,
1526 tests/DvisvgmSpecialTest.cpp, tests/EmSpecialTest.cpp,
1527 tests/TpicSpecialTest.cpp:
1528 take unique_ptrs by value instead of rvalue reference
1529
1530 2019-03-12 Martin Gieseking <martin.gieseking@uos.de>
1531
1532 * src/BoundingBox.cpp, src/BoundingBox.hpp, src/DVIToSVG.cpp,
1533 src/DVIToSVG.hpp, src/DVIToSVGActions.cpp, src/DVIToSVGActions.hpp,
1534 src/DvisvgmSpecialHandler.cpp, src/EmSpecialHandler.cpp,
1535 src/HyperlinkManager.cpp, src/ImageToSVG.cpp, src/ImageToSVG.hpp,
1536 src/PSPattern.cpp, src/PSPattern.hpp, src/PsSpecialHandler.cpp,
1537 src/PsSpecialHandler.hpp, src/SVGCharHandler.cpp, src/SVGCharHandler.hpp,
1538 src/SVGCharPathHandler.cpp, src/SVGCharPathHandler.hpp,
1539 src/SVGCharTspanTextHandler.cpp, src/SVGCharTspanTextHandler.hpp,
1540 src/SVGTree.cpp, src/SVGTree.hpp, src/SpecialActions.hpp,
1541 src/TpicSpecialHandler.cpp, src/XMLDocument.cpp, src/XMLDocument.hpp,
1542 src/XMLNode.cpp, src/XMLNode.hpp, tests/DvisvgmSpecialTest.cpp,
1543 tests/EmSpecialTest.cpp, tests/TpicSpecialTest.cpp,
1544 tests/XMLNodeTest.cpp:
1545 renamed XML node classes
1546
1547 * src/XMLDocument.cpp, src/XMLNode.cpp, src/XMLNode.hpp,
1548 tests/XMLNodeTest.cpp:
1549 replaced dynamic casts of XML nodes with dedicated cast methods
1550
1551 2019-03-11 Martin Gieseking <martin.gieseking@uos.de>
1552
1553 * doc/Makefile.am:
1554 rebuild manpage if configure.ac was updated
1555 A potential change of the
1556 version number should be propagated to the manpage.
1557
1558 * doc/dvisvgm.txt.in:
1559 manpage: added link to SVG color names
1560
1561 2019-03-09 Martin Gieseking <martin.gieseking@uos.de>
1562
1563 * src/PsSpecialHandler.cpp:
1564 imgfile: improved and simplifed code
1565 - compute transformation matrix
1566 only once (for image and bbox)
1567 - compute and update bbox only if
1568 necessary
1569
1570 * .appveyor.yml, .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
1571 set version to 2.6.3
1572
1573 * NEWS:
1574 updated NEWS
1575
1576 2019-03-07 Martin Gieseking <martin.gieseking@uos.de>
1577
1578 * src/dvisvgm.cpp:
1579 option --bbox: check validity of paper format arguments corretcly
1580
1581 * src/PsSpecialHandler.cpp:
1582 ensure forward slashes in file paths passed to PS oparator 'run'
1583
1584 * src/PsSpecialHandler.cpp, src/psdefs.cpp:
1585 psfile/pdffile: adapt opposite orientation of y-coordinates properly
1586
1587 2019-02-28 Martin Gieseking <martin.gieseking@uos.de>
1588
1589 * src/InputReader.cpp, src/InputReader.hpp,
1590 tests/StreamInputBufferTest.cpp, tests/StringMatcherTest.cpp:
1591 added StringMatcher::read()
1592
1593 * src/DvisvgmSpecialHandler.cpp, src/DvisvgmSpecialHandler.hpp,
1594 src/InputReader.cpp, tests/DvisvgmSpecialTest.cpp:
1595 parse raw specials and create proper XML nodes
1596
1597 2019-02-26 Martin Gieseking <martin.gieseking@uos.de>
1598
1599 * src/DvisvgmSpecialHandler.cpp, src/FontWriter.cpp:
1600 replaced lookup loops with std::find_if
1601
1602 2019-02-25 Martin Gieseking <martin.gieseking@uos.de>
1603
1604 * m4/Makefile.am:
1605 add ax_check_compile_flag.m4 to distributed source archives
1606
1607 2019-02-24 Martin Gieseking <martin.gieseking@uos.de>
1608
1609 * configure.ac, m4/ax_check_compile_flag.m4, src/Makefile.am:
1610 add -Wno-mismatched-tags only if compiler supports
1611 -Wmismatched-tags
1612 (closes #101)
1613
1614 2019-02-17 Martin Gieseking <martin.gieseking@uos.de>
1615
1616 * src/Calculator.hpp, src/HtmlSpecialHandler.cpp,
1617 src/HtmlSpecialHandler.hpp, src/InputReader.cpp, src/InputReader.hpp,
1618 src/PsSpecialHandler.cpp, src/PsSpecialHandler.hpp,
1619 tests/StreamInputBufferTest.cpp:
1620 replaced some unordered maps with ordered ones
1621
1622 * src/HtmlSpecialHandler.cpp, src/InputReader.cpp, src/InputReader.hpp,
1623 src/MapLine.cpp, src/PsSpecialHandler.cpp,
1624 tests/StreamInputBufferTest.cpp:
1625 accept alternative bounding chars in getQuotedString()
1626
1627 2019-02-16 Martin Gieseking <martin.gieseking@uos.de>
1628
1629 * src/XMLNode.cpp, src/XMLNode.hpp, tests/DvisvgmSpecialTest.cpp,
1630 tests/EmSpecialTest.cpp, tests/TpicSpecialTest.cpp:
1631 store attributes in vectors instead of maps
1632
1633 2019-02-15 Martin Gieseking <martin.gieseking@uos.de>
1634
1635 * doc/dvisvgm.txt.in, src/Color.cpp, tests/ColorSpecialTest.cpp,
1636 tests/ColorTest.cpp, tests/EmSpecialTest.cpp, tests/ShadingPatchTest.cpp,
1637 tests/TensorProductPatchTest.cpp, tests/TpicSpecialTest.cpp,
1638 tests/TriangularPatchTest.cpp:
1639 use short RGB hex values if possible
1640
1641 2019-02-12 Martin Gieseking <martin.gieseking@uos.de>
1642
1643 * src/FontEngine.cpp, src/Ghostscript.cpp:
1644 replaced C casts with const_cast
1645
1646 2019-02-07 Martin Gieseking <martin.gieseking@uos.de>
1647
1648 * README.md:
1649 added some links to README
1650
1651 2019-01-31 Martin Gieseking <martin.gieseking@uos.de>
1652
1653 * tests/gtest/include/gtest/gtest-death-test.h,
1654 tests/gtest/include/gtest/gtest-message.h,
1655 tests/gtest/include/gtest/gtest-param-test.h,
1656 tests/gtest/include/gtest/gtest-printers.h,
1657 tests/gtest/include/gtest/gtest-spi.h,
1658 tests/gtest/include/gtest/gtest-test-part.h,
1659 tests/gtest/include/gtest/gtest-typed-test.h,
1660 tests/gtest/include/gtest/gtest.h,
1661 tests/gtest/include/gtest/gtest_pred_impl.h,
1662 tests/gtest/include/gtest/gtest_prod.h,
1663 tests/gtest/include/gtest/internal/custom/gtest-port.h,
1664 tests/gtest/include/gtest/internal/custom/gtest-printers.h,
1665 tests/gtest/include/gtest/internal/custom/gtest.h,
1666 tests/gtest/include/gtest/internal/gtest-death-test-internal.h,
1667 tests/gtest/include/gtest/internal/gtest-filepath.h,
1668 tests/gtest/include/gtest/internal/gtest-internal.h,
1669 tests/gtest/include/gtest/internal/gtest-linked_ptr.h,
1670 tests/gtest/include/gtest/internal/gtest-param-util-generated.h,
1671 tests/gtest/include/gtest/internal/gtest-param-util.h,
1672 tests/gtest/include/gtest/internal/gtest-port-arch.h,
1673 tests/gtest/include/gtest/internal/gtest-port.h,
1674 tests/gtest/include/gtest/internal/gtest-string.h,
1675 tests/gtest/include/gtest/internal/gtest-tuple.h,
1676 tests/gtest/include/gtest/internal/gtest-type-util.h,
1677 tests/gtest/src/gtest-all.cc, tests/gtest/src/gtest-death-test.cc,
1678 tests/gtest/src/gtest-filepath.cc, tests/gtest/src/gtest-internal-inl.h,
1679 tests/gtest/src/gtest-port.cc, tests/gtest/src/gtest-printers.cc,
1680 tests/gtest/src/gtest-test-part.cc, tests/gtest/src/gtest-typed-test.cc,
1681 tests/gtest/src/gtest.cc, tests/gtest/src/gtest_main.cc:
1682 updated gtest to version 1.8.1
1683
1684 2019-01-28 Martin Gieseking <martin.gieseking@uos.de>
1685
1686 * src/PsSpecialHandler.cpp:
1687 put struct PatchVertex in corresponding method
1688
1689 2019-01-24 Martin Gieseking <martin.gieseking@uos.de>
1690
1691 * Makefile.am, configure.ac, m4/Makefile.am:
1692 add m4 files to source tarball
1693
1694 2019-01-22 Martin Gieseking <martin.gieseking@uos.de>
1695
1696 * NEWS, README, README.md:
1697 updated NEWS and README
1698
1699 * .travis.yml:
1700 Travis: switched to xenial environment
1701
1702 2019-01-19 Martin Gieseking <martin.gieseking@uos.de>
1703
1704 * src/PsSpecialHandler.cpp, src/PsSpecialHandler.hpp, src/psdefs.cpp:
1705 ensure a path loaded by 'clippath' is considered by clip/eoclip
1706
1707 * src/PsSpecialHandler.cpp, src/psdefs.cpp, tests/PSInterpreterTest.cpp:
1708 changed semantics of operand of 'newpath'
1709 It now denotes whether method
1710 'newpath' was triggered by PS operator 'newpath'
1711 or one of the
1712 drawing/clipping operators.
1713
1714 * src/GraphicsPath.hpp, src/PsSpecialHandler.cpp,
1715 src/PsSpecialHandler.hpp, tests/FontCacheTest.cpp,
1716 tests/GraphicsPathTest.cpp:
1717 only create new clipPath element if the new clip path differs
1718
1719 2019-01-18 Martin Gieseking <martin.gieseking@uos.de>
1720
1721 * src/Ghostscript.cpp:
1722 fixed formatting of GS version number
1723
1724 * src/PsSpecialHandler.cpp:
1725 use nullptr instead of 0
1726
1727 2019-01-15 Martin Gieseking <martin.gieseking@uos.de>
1728
1729 * src/psdefs.cpp:
1730 execute 'show' if called internally by another PS operator (e.g.
1731 charpath)
1732
1733 * src/psdefs.cpp:
1734 don't propagate local transformations to the PS handler
1735 PS operators
1736 like 'charpath' may perform local transformations, e.g. by
1737 calling
1738 'scale'. These must not be forwarded to the PS handler.
1739
1740 * libs/variant/Makefile.am, libs/variant/include/mpark/config.hpp,
1741 libs/variant/include/mpark/in_place.hpp,
1742 libs/variant/include/mpark/lib.hpp,
1743 libs/variant/include/mpark/variant.hpp:
1744 updated mpark::variant to version 1.4.0
1745
1746 * src/psdefs.cpp:
1747 PS handler: draw glyph paths with 'fill' rather than 'eofill'
1748
1749 * .appveyor.yml:
1750 AppVeyor: updated ttfautohint revision to 1.8.2-2
1751
1752 2019-01-14 Martin Gieseking <martin.gieseking@uos.de>
1753
1754 * .appveyor.yml, .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
1755 set version to 2.6.2
1756
1757 2019-01-11 Martin Gieseking <martin.gieseking@uos.de>
1758
1759 * src/psdefs.cpp, tests/PSInterpreterTest.cpp:
1760 properly apply current scale values to line properties
1761
1762 * src/psdefs.cpp:
1763 prevent visible side-effects of PS operator 'stringwidth'
1764 According to
1765 the PS manual, p. 699, stringwidth may execute the path operators
1766 of the
1767 glyph descriptions. This led to visible fragments in the SVG graphics.
1768
1769 2019-01-08 Martin Gieseking <martin.gieseking@uos.de>
1770
1771 * doc/db2html.xsl:
1772 manpage: fixed wrongly nested list elements
1773
1774 * Makefile.am, README, README.md, configure.ac, doc/Makefile.am,
1775 doc/conf-dblatex-man.xsl, doc/conf-dblatex-pdf.xsl, doc/db2html.xsl,
1776 doc/dvisvgm.txt.in, doc/tweak-db-article.xsl, doc/tweak-db-refentry.xsl,
1777 doc/tweak-dblatex-pdf.xsl, libs/Makefile.am,
1778 libs/ff-woff/fontforge/tmpfile2.cpp, src/AGLTable.hpp,
1779 src/BasicDVIReader.cpp, src/BasicDVIReader.hpp, src/Bezier.cpp,
1780 src/Bezier.hpp, src/BgColorSpecialHandler.cpp,
1781 src/BgColorSpecialHandler.hpp, src/Bitmap.cpp, src/Bitmap.hpp,
1782 src/BoundingBox.cpp, src/BoundingBox.hpp, src/CLCommandLine.cpp,
1783 src/CLCommandLine.hpp, src/CLOption.hpp, src/CMap.cpp, src/CMap.hpp,
1784 src/CMapManager.cpp, src/CMapManager.hpp, src/CMapReader.cpp,
1785 src/CMapReader.hpp, src/CRC32.cpp, src/CRC32.hpp, src/Calculator.cpp,
1786 src/Calculator.hpp, src/CharMapID.cpp, src/CharMapID.hpp,
1787 src/Character.hpp, src/Color.cpp, src/Color.hpp,
1788 src/ColorSpecialHandler.cpp, src/ColorSpecialHandler.hpp,
1789 src/CommandLine.hpp, src/DLLoader.cpp, src/DLLoader.hpp,
1790 src/DVIActions.hpp, src/DVIReader.cpp, src/DVIReader.hpp,
1791 src/DVIToSVG.cpp, src/DVIToSVG.hpp, src/DVIToSVGActions.cpp,
1792 src/DVIToSVGActions.hpp, src/DependencyGraph.hpp, src/Directory.cpp,
1793 src/Directory.hpp, src/DvisvgmSpecialHandler.cpp,
1794 src/DvisvgmSpecialHandler.hpp, src/EPSFile.cpp, src/EPSFile.hpp,
1795 src/EPSToSVG.hpp, src/EmSpecialHandler.cpp, src/EmSpecialHandler.hpp,
1796 src/EncFile.cpp, src/EncFile.hpp, src/FileFinder.cpp, src/FileFinder.hpp,
1797 src/FilePath.cpp, src/FilePath.hpp, src/FileSystem.cpp,
1798 src/FileSystem.hpp, src/FixWord.hpp, src/Font.cpp, src/Font.hpp,
1799 src/FontCache.cpp, src/FontCache.hpp, src/FontEncoding.cpp,
1800 src/FontEncoding.hpp, src/FontEngine.cpp, src/FontEngine.hpp,
1801 src/FontManager.cpp, src/FontManager.hpp, src/FontMap.cpp,
1802 src/FontMap.hpp, src/FontMetrics.cpp, src/FontMetrics.hpp,
1803 src/FontStyle.hpp, src/FontWriter.cpp, src/FontWriter.hpp,
1804 src/GFGlyphTracer.cpp, src/GFGlyphTracer.hpp, src/GFReader.cpp,
1805 src/GFReader.hpp, src/GFTracer.cpp, src/GFTracer.hpp,
1806 src/Ghostscript.cpp, src/Ghostscript.hpp, src/Glyph.hpp,
1807 src/GlyphTracerMessages.hpp, src/GraphicsPath.hpp, src/HashFunction.cpp,
1808 src/HashFunction.hpp, src/HtmlSpecialHandler.cpp,
1809 src/HtmlSpecialHandler.hpp, src/HyperlinkManager.cpp,
1810 src/HyperlinkManager.hpp, src/ImageToSVG.cpp, src/ImageToSVG.hpp,
1811 src/InputBuffer.cpp, src/InputBuffer.hpp, src/InputReader.cpp,
1812 src/InputReader.hpp, src/JFM.cpp, src/JFM.hpp, src/Length.cpp,
1813 src/Length.hpp, src/MD5HashFunction.hpp, src/Makefile.am,
1814 src/MapLine.cpp, src/MapLine.hpp, src/Matrix.cpp, src/Matrix.hpp,
1815 src/Message.cpp, src/Message.hpp, src/MessageException.hpp,
1816 src/MetafontWrapper.cpp, src/MetafontWrapper.hpp, src/MiKTeXCom.cpp,
1817 src/MiKTeXCom.hpp, src/NoPsSpecialHandler.cpp,
1818 src/NoPsSpecialHandler.hpp, src/NumericRanges.hpp, src/PDFParser.cpp,
1819 src/PDFParser.hpp, src/PDFToSVG.hpp, src/PSFilter.hpp,
1820 src/PSInterpreter.cpp, src/PSInterpreter.hpp, src/PSPattern.cpp,
1821 src/PSPattern.hpp, src/PSPreviewFilter.cpp, src/PSPreviewFilter.hpp,
1822 src/PageRanges.cpp, src/PageRanges.hpp, src/PageSize.cpp,
1823 src/PageSize.hpp, src/Pair.hpp, src/PapersizeSpecialHandler.cpp,
1824 src/PapersizeSpecialHandler.hpp, src/PathClipper.cpp,
1825 src/PathClipper.hpp, src/PdfSpecialHandler.cpp,
1826 src/PdfSpecialHandler.hpp, src/PreScanDVIReader.cpp,
1827 src/PreScanDVIReader.hpp, src/Process.cpp, src/Process.hpp,
1828 src/PsSpecialHandler.cpp, src/PsSpecialHandler.hpp, src/RangeMap.cpp,
1829 src/RangeMap.hpp, src/SVGCharHandler.cpp, src/SVGCharHandler.hpp,
1830 src/SVGCharHandlerFactory.cpp, src/SVGCharHandlerFactory.hpp,
1831 src/SVGCharPathHandler.cpp, src/SVGCharPathHandler.hpp,
1832 src/SVGCharTspanTextHandler.cpp, src/SVGCharTspanTextHandler.hpp,
1833 src/SVGOutput.cpp, src/SVGOutput.hpp, src/SVGSingleCharTextHandler.cpp,
1834 src/SVGSingleCharTextHandler.hpp, src/SVGTree.cpp, src/SVGTree.hpp,
1835 src/ShadingPatch.cpp, src/ShadingPatch.hpp, src/SignalHandler.cpp,
1836 src/SignalHandler.hpp, src/SourceInput.cpp, src/SourceInput.hpp,
1837 src/SpecialActions.hpp, src/SpecialHandler.hpp, src/SpecialManager.cpp,
1838 src/SpecialManager.hpp, src/StreamReader.cpp, src/StreamReader.hpp,
1839 src/StreamWriter.cpp, src/StreamWriter.hpp, src/Subfont.cpp,
1840 src/Subfont.hpp, src/System.cpp, src/System.hpp, src/TFM.cpp,
1841 src/TFM.hpp, src/TTFAutohint.cpp, src/TTFAutohint.hpp,
1842 src/TensorProductPatch.cpp, src/TensorProductPatch.hpp, src/Terminal.cpp,
1843 src/Terminal.hpp, src/ToUnicodeMap.cpp, src/ToUnicodeMap.hpp,
1844 src/TpicSpecialHandler.cpp, src/TpicSpecialHandler.hpp,
1845 src/TriangularPatch.cpp, src/TriangularPatch.hpp, src/TrueTypeFont.cpp,
1846 src/TrueTypeFont.hpp, src/Unicode.cpp, src/Unicode.hpp,
1847 src/VFActions.hpp, src/VFReader.cpp, src/VFReader.hpp,
1848 src/VectorIterator.hpp, src/VectorStream.hpp, src/XMLDocument.cpp,
1849 src/XMLDocument.hpp, src/XMLNode.cpp, src/XMLNode.hpp, src/XMLString.cpp,
1850 src/XMLString.hpp, src/XXHashFunction.hpp, src/ZLibOutputStream.hpp,
1851 src/dvisvgm.cpp, src/ffwrapper.c, src/ffwrapper.h, src/macros.hpp,
1852 src/options.dtd, src/options.xml, src/psdefs.cpp, src/utility.cpp,
1853 src/utility.hpp, src/version.hpp, src/version.hpp.in, src/windows.hpp,
1854 tests/BezierTest.cpp, tests/BitmapTest.cpp, tests/BoundingBoxTest.cpp,
1855 tests/CMapManagerTest.cpp, tests/CMapReaderTest.cpp, tests/CMapTest.cpp,
1856 tests/CRC32Test.cpp, tests/CalculatorTest.cpp,
1857 tests/ColorSpecialTest.cpp, tests/ColorTest.cpp,
1858 tests/CommandLineTest.cpp, tests/DVIReaderTest.cpp,
1859 tests/DependencyGraphTest.cpp, tests/DirectoryTest.cpp,
1860 tests/DvisvgmSpecialTest.cpp, tests/EmSpecialTest.cpp,
1861 tests/FileFinderTest.cpp, tests/FilePathTest.cpp,
1862 tests/FileSystemTest.cpp, tests/FontCacheTest.cpp,
1863 tests/FontManagerTest.cpp, tests/FontMapTest.cpp,
1864 tests/GFGlyphTracerTest.cpp, tests/GFReaderTest.cpp,
1865 tests/GhostscriptTest.cpp, tests/GraphicsPathTest.cpp,
1866 tests/HashFunctionTest.cpp, tests/JFMReaderTest.cpp,
1867 tests/LengthTest.cpp, tests/Makefile.am, tests/MapLineTest.cpp,
1868 tests/MatrixTest.cpp, tests/MessageExceptionTest.cpp,
1869 tests/PDFParserTest.cpp, tests/PSInterpreterTest.cpp,
1870 tests/PageRagesTest.cpp, tests/PageSizeTest.cpp, tests/PairTest.cpp,
1871 tests/PapersizeSpecialTest.cpp, tests/RangeMapTest.cpp,
1872 tests/SVGOutputTest.cpp, tests/ShadingPatchTest.cpp,
1873 tests/SpecialManagerTest.cpp, tests/SplittedCharInputBufferTest.cpp,
1874 tests/StreamInputBufferTest.cpp, tests/StreamReaderTest.cpp,
1875 tests/StreamWriterTest.cpp, tests/StringMatcherTest.cpp,
1876 tests/SubfontTest.cpp, tests/TFMReaderTest.cpp,
1877 tests/TensorProductPatchTest.cpp, tests/ToUnicodeMapTest.cpp,
1878 tests/TpicSpecialTest.cpp, tests/TriangularPatchTest.cpp,
1879 tests/UnicodeTest.cpp, tests/UtilityTest.cpp,
1880 tests/VectorIteratorTest.cpp, tests/VectorStreamTest.cpp,
1881 tests/XMLNodeTest.cpp, tests/XMLStringTest.cpp, tests/check-conv,
1882 tests/create-makefile, tests/data/Makefile.am, tests/genhashcheck.py,
1883 tests/normalize.xsl, tests/testmain.cpp:
1884 updated year in copyright statements to 2019
1885
1886 2018-12-13 Martin Gieseking <martin.gieseking@uos.de>
1887
1888 * libs/potrace/CMakeLists.txt, libs/variant/CMakeLists.txt:
1889 removed redundant files
1890
1891 2018-11-27 Martin Gieseking <martin.gieseking@uos.de>
1892
1893 * src/CommandLine.hpp, src/options.xml:
1894 updated description in --help output
1895
1896 2018-11-06 Martin Gieseking <martin.gieseking@uos.de>
1897
1898 * configure.ac, doc/Makefile.am, libs/defs.am, src/Makefile.am,
1899 tests/Makefile.am, tests/create-makefile:
1900 Makefiles: replaced $(top_srcdir) with $(dvisvgm_srcdir)
1901 to simplify
1902 maintenance of dvisvgm in TeX Live
1903
1904 2018-11-03 Martin Gieseking <martin.gieseking@uos.de>
1905
1906 * m4/ax_cxx_compile_stdcxx.m4:
1907 updated ax_cxx_compile_stdcxx.m4 to version 10
1908
1909 2018-10-30 Martin Gieseking <martin.gieseking@uos.de>
1910
1911 * libs/brotli/Makefile.am, libs/defs.am, libs/potrace/Makefile.am,
1912 libs/woff2/Makefile.am, libs/xxHash/Makefile.am:
1913 use negation in Makefile conditionals
1914
1915 2018-10-23 Martin Gieseking <martin.gieseking@uos.de>
1916
1917 * libs/brotli/common/platform.h, libs/brotli/common/transform.c,
1918 libs/brotli/common/version.h, libs/brotli/enc/backward_references_hq.c,
1919 libs/brotli/enc/backward_references_hq.h,
1920 libs/brotli/enc/backward_references_inc.h, libs/brotli/enc/encode.c,
1921 libs/brotli/enc/hash.h, libs/brotli/enc/hash_composite_inc.h,
1922 libs/brotli/enc/hash_longest_match64_inc.h,
1923 libs/brotli/enc/hash_longest_match_inc.h,
1924 libs/brotli/enc/hash_rolling_inc.h,
1925 libs/brotli/enc/hash_to_binary_tree_inc.h:
1926 updated brotli to version 1.0.7
1927
1928 2018-10-11 Martin Gieseking <martin.gieseking@uos.de>
1929
1930 * NEWS:
1931 updated NEWS
1932
1933 2018-10-10 Martin Gieseking <martin.gieseking@uos.de>
1934
1935 * doc/Makefile.am:
1936 only create intermediate XML files if dvisvgm.txt.1 has changed
1937
1938 * .appveyor.yml, .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
1939 set version to 2.6.1
1940
1941 2018-10-09 Martin Gieseking <martin.gieseking@uos.de>
1942
1943 * doc/Makefile.am:
1944 ensure dvisvgm.txt.in is distributed with the tarball
1945
1946 * configure.ac, libs/brotli/Makefile.am, libs/defs.am,
1947 libs/potrace/Makefile.am, libs/woff2/Makefile.am,
1948 libs/xxHash/Makefile.am, src/Makefile.am, tests/Makefile.am,
1949 tests/create-makefile:
1950 relaxed semantics of config option --disable-bundled-libs
1951 If some of the
1952 system libraries brotli, potrace, woff2, and xxhash can't be
1953 found, the
1954 bundled libraries are used as a fallback, even if
1955 option
1956 --disable-bundled-libs is given. (closes #94)
1957
1958 2018-10-04 Martin Gieseking <martin.gieseking@uos.de>
1959
1960 * configure.ac:
1961 added configuration option --disable-manpage (closes #93)
1962
1963 2018-10-02 Martin Gieseking <martin.gieseking@uos.de>
1964
1965 * configure.ac, doc/Makefile.am:
1966 don't update man page if asciidoc file hasn't changed
1967
1968 2018-09-20 Martin Gieseking <martin.gieseking@uos.de>
1969
1970 * libs/brotli/common/platform.h, libs/brotli/common/version.h,
1971 libs/brotli/enc/metablock.c:
1972 updated brotli to version 1.0.6
1973
1974 2018-09-13 Martin Gieseking <martin.gieseking@uos.de>
1975
1976 * src/XXHashFunction.hpp:
1977 fixed constexpr issue occured with gcc 4.8
1978
1979 2018-09-09 Martin Gieseking <martin.gieseking@uos.de>
1980
1981 * doc/Makefile.am:
1982 add dvisvgm.sty to distributed files
1983
1984 2018-09-07 Martin Gieseking <martin.gieseking@uos.de>
1985
1986 * src/Ghostscript.cpp:
1987 call RegGetValueA() with correct buffer size
1988
1989 * .appveyor.yml, .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
1990 set version to 2.6
1991
1992 * NEWS:
1993 updated NEWS
1994
1995 2018-09-05 Martin Gieseking <martin.gieseking@uos.de>
1996
1997 * src/DVIToSVG.cpp, src/DVIToSVG.hpp, src/dvisvgm.cpp:
1998 use enums for hash parameters rather than strings
1999
2000 * doc/dvisvgm.txt.in, src/DVIToSVG.cpp, src/DVIToSVG.hpp:
2001 added optional parameter 'replace' to --page-hashes
2002
2003 2018-09-04 Martin Gieseking <martin.gieseking@uos.de>
2004
2005 * src/DVIReader.cpp, src/DVIToSVG.cpp:
2006 reset hash function before computing a page hash
2007
2008 2018-09-03 Martin Gieseking <martin.gieseking@uos.de>
2009
2010 * libs/clipper/clipper.cpp:
2011 clipper: initialize TEdge by constructor instead of memset()
2012
2013 2018-09-01 Martin Gieseking <martin.gieseking@uos.de>
2014
2015 * configure.ac:
2016 removed redundant check for potrace from configure
2017
2018 2018-08-31 Martin Gieseking <martin.gieseking@uos.de>
2019
2020 * libs/variant/include/mpark/config.hpp:
2021 VC: fixed failing compilation of
2022 mpark::variant
2023 https://github.com/mpark/variant/commit/4e3e7f88f03f513622daa973
2024
2025 2018-08-30 Martin Gieseking <martin.gieseking@uos.de>
2026
2027 * .appveyor.yml:
2028 AppVeyor: use VS 2017 version 15.7 instead of 15.8
2029 Version 15.8 of
2030 Visual Studio 2017 introduced a compiler bug that prevents
2031 compiling
2032 mpark::variant (https://github.com/mpark/variant/issues/48).
2033
2034 2018-08-28 Martin Gieseking <martin.gieseking@uos.de>
2035
2036 * src/XXHashFunction.hpp, src/dvisvgm.cpp:
2037 use wrapper class to get the xxhash version number
2038
2039 * src/HashFunction.cpp, src/HashFunction.hpp, src/MD5HashFunction.hpp,
2040 src/XXHashFunction.hpp, tests/HashFunctionTest.cpp:
2041 added extended create functions to hash classes
2042
2043 * doc/dvisvgm.txt.in, src/CommandLine.hpp, src/DVIToSVG.cpp,
2044 src/DVIToSVG.hpp, src/SVGOutput.cpp, src/SVGOutput.hpp, src/dvisvgm.cpp,
2045 src/options.xml, tests/SVGOutputTest.cpp:
2046 replaced pattern variable %h with %hd; added %ho and %hc
2047 In order to
2048 recognize changes in the command-line options that may affect the
2049 SVG
2050 output, %ho and %hc have been introduced. The former expands to a
2051 32-bit
2052 hash reflecting the command-line options, the latter combines this
2053 information
2054 with the hash computed from the DVI page data.
2055
2056 2018-08-27 Martin Gieseking <martin.gieseking@uos.de>
2057
2058 * src/DVIToSVG.cpp, src/DVIToSVG.hpp, src/dvisvgm.cpp:
2059 option --page-hashes accepts multiple modifiers now
2060
2061 2018-08-24 Martin Gieseking <martin.gieseking@uos.de>
2062
2063 * doc/dvisvgm.txt.in, src/DVIToSVG.cpp, src/DVIToSVG.hpp,
2064 src/HashFunction.cpp, src/HashFunction.hpp, src/SVGOutput.hpp,
2065 src/dvisvgm.cpp, tests/CommandLineTest.cpp:
2066 added optional parameter 'list' to option --page-hashes
2067
2068 * src/dvisvgm.cpp:
2069 fixed wrong directory separators shown in output of --cache
2070
2071 2018-08-22 Martin Gieseking <martin.gieseking@uos.de>
2072
2073 * doc/dvisvgm.txt.in, src/CommandLine.hpp, src/DVIToSVG.hpp,
2074 src/dvisvgm.cpp, src/options.xml:
2075 added command-line option --page-hashes to enable hashing functionality
2076
2077 2018-08-21 Martin Gieseking <martin.gieseking@uos.de>
2078
2079 * AUTHORS, README, README.md, configure.ac, libs/Makefile.am,
2080 libs/md5/Makefile.am, libs/md5/md5.c, libs/md5/md5.h,
2081 src/HashFunction.cpp, src/HashFunction.hpp, src/MD5HashFunction.hpp,
2082 src/Makefile.am, src/XXHashFunction.hpp, tests/HashFunctionTest.cpp,
2083 tests/Makefile.am, tests/create-makefile:
2084 added classes to compute MD5, XXH32, and XXH64 hash values
2085
2086 * src/BasicDVIReader.hpp, src/DVIReader.cpp:
2087 added validity checks for bop offsets
2088
2089 * src/DVIReader.cpp, src/DVIReader.hpp, src/DVIToSVG.cpp,
2090 src/DVIToSVG.hpp, src/HashFunction.cpp, src/HashFunction.hpp,
2091 src/SVGOutput.cpp, src/SVGOutput.hpp:
2092 added optional computation and evaluation of page hashes
2093 If this
2094 functionality is enabled, a hash value based on the contents of
2095 the
2096 corresponding DVI page is added to the SVG file names. Furthermore,
2097 dvisvgm
2098 skips the conversion of these pages in subsequent calls if the
2099 resulting SVG
2100 files already exist.
2101
2102 2018-08-18 Martin Gieseking <martin.gieseking@uos.de>
2103
2104 * src/DVIReader.cpp:
2105 DVI postamble: relaxed plausibility check of the total page count
2106
2107 2018-08-08 Martin Gieseking <martin.gieseking@uos.de>
2108
2109 * configure.ac:
2110 correctly evaluate config option --disable-bundled-libs (closes #91)
2111
2112 2018-08-07 Martin Gieseking <martin.gieseking@uos.de>
2113
2114 * src/BasicDVIReader.hpp, src/DVIToSVG.cpp, src/DVIToSVG.hpp,
2115 src/DVIToSVGActions.cpp, src/DVIToSVGActions.hpp,
2116 src/PsSpecialHandler.cpp:
2117 getPageTransformation: replaced reference parameter with return value
2118
2119 * src/DVIToSVGActions.hpp, src/ImageToSVG.hpp, src/PsSpecialHandler.cpp,
2120 src/SpecialActions.hpp:
2121 renamed getPageTransform; return unity matrix by default
2122
2123 * .appveyor.yml, .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
2124 set version to 2.5
2125
2126 * NEWS:
2127 updated NEWS
2128
2129 2018-08-02 Martin Gieseking <martin.gieseking@uos.de>
2130
2131 * src/FileFinder.cpp, src/FilePath.cpp, src/FilePath.hpp,
2132 src/Ghostscript.cpp:
2133 TL32: also look for gsdll32.dll in the corresponding TL bin folder
2134 The
2135 changes are based on a patch sent by Akira Kakuto.
2136
2137 2018-08-01 Martin Gieseking <martin.gieseking@uos.de>
2138
2139 * README:
2140 updated README
2141
2142 * .appveyor.yml, .travis.yml:
2143 updated CI configurations; dropped potrace as an external dependency
2144
2145 * configure.ac, src/SourceInput.cpp:
2146 set umask before calling mkstemp()
2147 Coverity complains about calling
2148 mkstemp() without securely setting umask first.
2149 If umask() is available,
2150 it's now called so that the permissions of temporary
2151 files result to
2152 0600.
2153
2154 * src/BoundingBox.cpp:
2155 show lock state when printing a bounding box object
2156
2157 * src/DVIToSVG.cpp:
2158 apply user transformations even if the bounding box is locked
2159
2160 2018-07-30 Martin Gieseking <martin.gieseking@uos.de>
2161
2162 * src/ImageToSVG.cpp, src/ImageToSVG.hpp, src/dvisvgm.cpp:
2163 apply --transform commands in --eps and --pdf mode too
2164
2165 * src/DVIToSVG.cpp, src/Length.cpp, src/Length.hpp, tests/LengthTest.cpp:
2166 added function to retrieve all units supported by the Length class
2167
2168 * doc/dvisvgm.txt.in, src/DVIToSVG.cpp, src/ImageToSVG.cpp,
2169 tests/CalculatorTest.cpp:
2170 allow to use all supported units in --transform commands
2171
2172 * Makefile.am:
2173 propagate --enable-bundled-libs to "distcheck"
2174
2175 * AUTHORS, README.md, configure.ac, libs/Makefile.am,
2176 libs/potrace/CMakeLists.txt, libs/potrace/Makefile.am,
2177 libs/potrace/auxiliary.h, libs/potrace/bitmap.h, libs/potrace/config.h,
2178 libs/potrace/curve.c, libs/potrace/curve.h, libs/potrace/decompose.c,
2179 libs/potrace/decompose.h, libs/potrace/lists.h,
2180 libs/potrace/potracelib.c, libs/potrace/potracelib.h,
2181 libs/potrace/progress.h, libs/potrace/trace.c, libs/potrace/trace.h,
2182 src/Makefile.am:
2183 added potrace to the bundled libraries again
2184
2185 * tests/Makefile.am, tests/create-makefile:
2186 link tests only against bundled libs if configured with
2187 --enable-bundled-libs
2188
2189 * src/ImageToSVG.cpp:
2190 changed type of exception thrown in case of invalid EPS/PDF files
2191
2192 2018-07-29 Martin Gieseking <martin.gieseking@uos.de>
2193
2194 * src/PSInterpreter.cpp, src/PSInterpreter.hpp, src/PsSpecialHandler.cpp,
2195 src/PsSpecialHandler.hpp, src/psdefs.cpp, tests/PSInterpreterTest.cpp:
2196 replaced internal PS operator @getpdfpagebox with PSInterpreter method
2197
2198 2018-07-28 Martin Gieseking <martin.gieseking@uos.de>
2199
2200 * src/dvisvgm.cpp:
2201 removed redundant code from main()
2202
2203 * README.md, doc/dvisvgm.txt.in, src/EPSToSVG.hpp, src/ImageToSVG.cpp,
2204 src/ImageToSVG.hpp, src/PDFToSVG.hpp, src/PSInterpreter.cpp,
2205 src/PSInterpreter.hpp, src/PsSpecialHandler.cpp,
2206 src/PsSpecialHandler.hpp, src/dvisvgm.cpp, src/psdefs.cpp:
2207 PDF conversion: allow to specify the pages to process
2208
2209 2018-07-25 Martin Gieseking <martin.gieseking@uos.de>
2210
2211 * .travis.yml, README.md, configure.ac, libs/brotli/Makefile.am,
2212 libs/woff2/Makefile.am, libs/xxHash/Makefile.am, src/Makefile.am,
2213 src/dvisvgm.cpp:
2214 added config option --enable-bundled-libs
2215 If this option is given, the
2216 bundled libraries brotli, woff2, and xxhash are
2217 built and statically
2218 linked. Otherwise, the configure script looks for the
2219 corresponing system
2220 libraries and links dvisvgm against those. (closes #90)
2221
2222 2018-07-19 Martin Gieseking <martin.gieseking@uos.de>
2223
2224 * NEWS:
2225 fixed date in NEWS
2226
2227 2018-07-18 Martin Gieseking <martin.gieseking@uos.de>
2228
2229 * configure.ac, doc/Makefile.am:
2230 don't try to build manpage if required tools are missing
2231
2232 * .appveyor.yml, .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
2233 set version to 2.4.2
2234
2235 * NEWS:
2236 updated NEWS
2237
2238 2018-07-17 Martin Gieseking <martin.gieseking@uos.de>
2239
2240 * src/HyperlinkManager.cpp:
2241 reduced extent of hyperlinked areas to get a tight bbox
2242
2243 2018-07-15 Martin Gieseking <martin.gieseking@uos.de>
2244
2245 * src/PsSpecialHandler.cpp:
2246 use unique_ptr in bbox debug code
2247
2248 * src/PSPreviewFilter.cpp, src/PSPreviewFilter.hpp:
2249 removed redundant method PSPreviewFilter::getBorders()
2250
2251 * src/PSPreviewFilter.cpp, src/PsSpecialHandler.cpp:
2252 fixed computation of preview extents (closes #89)
2253
2254 * src/PsSpecialHandler.cpp:
2255 prevent warning about missing psfile "/dev/null"
2256
2257 2018-07-07 Martin Gieseking <martin.gieseking@uos.de>
2258
2259 * NEWS:
2260 updated NEWS
2261
2262 * .gitattributes:
2263 added linguist settings to
2264 .gitattributes
2265
2266 https://github.com/github/linguist
2267
2268 2018-07-06 Martin Gieseking <martin.gieseking@uos.de>
2269
2270 * libs/brotli/Makefile.am, libs/brotli/common/dictionary.c,
2271 libs/brotli/common/platform.h, libs/brotli/common/transform.c,
2272 libs/brotli/common/version.h, libs/brotli/enc/backward_references.c,
2273 libs/brotli/enc/brotli_bit_stream.h, libs/brotli/enc/command.h,
2274 libs/brotli/enc/compress_fragment.c,
2275 libs/brotli/enc/compress_fragment_two_pass.c, libs/brotli/enc/encode.c,
2276 libs/brotli/enc/encoder_dict.h, libs/brotli/enc/fast_log.h,
2277 libs/brotli/enc/hash.h, libs/brotli/enc/hash_composite_inc.h,
2278 libs/brotli/enc/hash_rolling_inc.h, libs/brotli/enc/quality.h,
2279 libs/brotli/enc/static_dict.c, libs/brotli/enc/write_bits.h,
2280 libs/brotli/include/brotli/port.h, libs/brotli/include/brotli/types.h:
2281 updated brotli to version 1.0.5
2282
2283 * README, README.md, doc/dvisvgm.txt.in, libs/ff-woff/README.md:
2284 updated links to new project website dvisvgm.de
2285
2286 * .appveyor.yml, .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
2287 set version to 2.4.1
2288
2289 2018-07-04 Martin Gieseking <martin.gieseking@uos.de>
2290
2291 * doc/dvisvgm.txt.in:
2292 manpage: updated external links
2293
2294 2018-06-23 Martin Gieseking <martin.gieseking@uos.de>
2295
2296 * libs/woff2/include/woff2/version.h, libs/woff2/src/font.cc,
2297 libs/woff2/src/normalize.cc, libs/woff2/src/woff2_enc.cc:
2298 updated woff2 to 1.0.2
2299
2300 2018-06-08 Martin Gieseking <martin.gieseking@uos.de>
2301
2302 * src/SourceInput.cpp, src/SourceInput.hpp:
2303 moved handling of temporary files to separate class
2304
2305 2018-05-30 Martin Gieseking <martin.gieseking@uos.de>
2306
2307 * src/DVIToSVGActions.cpp, src/ImageToSVG.cpp:
2308 fixed evaluation of progress delay
2309
2310 2018-05-09 Martin Gieseking <martin.gieseking@uos.de>
2311
2312 * doc/dvisvgm.txt.in:
2313 minor fixes in manpage
2314
2315 2018-05-04 Martin Gieseking <martin.gieseking@uos.de>
2316
2317 * doc/conf-dblatex-pdf.xsl:
2318 list options and specials in PDF bookmarks of manpage
2319
2320 * doc/dvisvgm.txt.in:
2321 manpage: ordered options alphabetically according to long name
2322
2323 2018-05-03 Martin Gieseking <martin.gieseking@uos.de>
2324
2325 * NEWS, README, README.md:
2326 updated NEWS and README
2327
2328 2018-05-02 Martin Gieseking <martin.gieseking@uos.de>
2329
2330 * src/Calculator.cpp:
2331 catch exception by reference rather than by value
2332
2333 2018-04-30 Martin Gieseking <martin.gieseking@uos.de>
2334
2335 * src/EPSFile.cpp, src/EPSFile.hpp, src/EPSToSVG.cpp:
2336 changed signature of EPSFile::bbox()
2337
2338 * src/CLCommandLine.cpp:
2339 cmdline: fixed handling of 'usage' section
2340
2341 * src/EPSToSVG.cpp, src/EPSToSVG.hpp, src/ImageToSVG.cpp,
2342 src/ImageToSVG.hpp, src/Makefile.am:
2343 derive EPSToSVG from abstract class ImageToSVG
2344
2345 * doc/dvisvgm.txt.in, src/CommandLine.hpp, src/Makefile.am,
2346 src/PDFToSVG.hpp, src/PSInterpreter.cpp, src/PSInterpreter.hpp,
2347 src/PsSpecialHandler.cpp, src/PsSpecialHandler.hpp, src/dvisvgm.cpp,
2348 src/options.xml, src/psdefs.cpp, tests/CommandLineTest.cpp,
2349 tests/PSInterpreterTest.cpp:
2350 added option --pdf to convert PDF files to SVG
2351
2352 * .appveyor.yml, .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
2353 set version to 2.4
2354
2355 2018-04-28 Martin Gieseking <martin.gieseking@uos.de>
2356
2357 * src/BoundingBox.cpp:
2358 swap wrongly assigned variables (doesn't affect behavior)
2359
2360 2018-04-26 Martin Gieseking <martin.gieseking@uos.de>
2361
2362 * src/PsSpecialHandler.cpp:
2363 psfile: use operator 'run' to simplify execution of (E)PS files
2364
2365 * src/PSInterpreter.cpp, src/PsSpecialHandler.cpp,
2366 src/PsSpecialHandler.hpp, src/psdefs.cpp, tests/PSInterpreterTest.cpp:
2367 added special pdffile to embed PDF graphics
2368
2369 * src/PsSpecialHandler.cpp:
2370 apply outer transformations to psfile/pdffile graphics
2371
2372 2018-04-20 Martin Gieseking <martin.gieseking@uos.de>
2373
2374 * src/Ghostscript.cpp, src/Ghostscript.hpp, src/dvisvgm.cpp,
2375 tests/GhostscriptTest.cpp:
2376 added function to get numeric GS revision
2377
2378 * src/PSInterpreter.cpp, src/PSInterpreter.hpp:
2379 moved GS init options to init method
2380
2381 * src/PsSpecialHandler.cpp:
2382 replaced str2double() with stod(); added check for zero bbox
2383
2384 * src/BgColorSpecialHandler.cpp, src/BgColorSpecialHandler.hpp,
2385 src/ColorSpecialHandler.cpp, src/ColorSpecialHandler.hpp,
2386 src/DvisvgmSpecialHandler.cpp, src/DvisvgmSpecialHandler.hpp,
2387 src/EmSpecialHandler.cpp, src/EmSpecialHandler.hpp,
2388 src/HtmlSpecialHandler.cpp, src/HtmlSpecialHandler.hpp,
2389 src/NoPsSpecialHandler.cpp, src/NoPsSpecialHandler.hpp,
2390 src/PapersizeSpecialHandler.cpp, src/PapersizeSpecialHandler.hpp,
2391 src/PdfSpecialHandler.cpp, src/PdfSpecialHandler.hpp,
2392 src/PsSpecialHandler.cpp, src/PsSpecialHandler.hpp,
2393 src/SpecialHandler.hpp, src/SpecialManager.cpp,
2394 src/TpicSpecialHandler.cpp, src/TpicSpecialHandler.hpp,
2395 tests/ColorSpecialTest.cpp, tests/DvisvgmSpecialTest.cpp,
2396 tests/PapersizeSpecialTest.cpp, tests/TpicSpecialTest.cpp:
2397 changed type of \special prefix from const char* to string
2398
2399 * src/BgColorSpecialHandler.cpp, src/BgColorSpecialHandler.hpp,
2400 src/ColorSpecialHandler.cpp, src/ColorSpecialHandler.hpp,
2401 src/DvisvgmSpecialHandler.cpp, src/DvisvgmSpecialHandler.hpp,
2402 src/EmSpecialHandler.cpp, src/EmSpecialHandler.hpp,
2403 src/HtmlSpecialHandler.cpp, src/HtmlSpecialHandler.hpp,
2404 src/NoPsSpecialHandler.cpp, src/NoPsSpecialHandler.hpp,
2405 src/PapersizeSpecialHandler.cpp, src/PapersizeSpecialHandler.hpp,
2406 src/PdfSpecialHandler.cpp, src/PdfSpecialHandler.hpp,
2407 src/PsSpecialHandler.cpp, src/PsSpecialHandler.hpp,
2408 src/SpecialHandler.hpp, src/TpicSpecialHandler.cpp,
2409 src/TpicSpecialHandler.hpp:
2410 removed const from result vector of SpecialHandler::prefixes()
2411
2412 2018-04-19 Martin Gieseking <martin.gieseking@uos.de>
2413
2414 * libs/xxHash/xxhash.c, libs/xxHash/xxhash.h:
2415 updated xxHash to version 0.6.5
2416
2417 * src/psdefs.cpp:
2418 fixed handling of PS operator 'setgstate'
2419
2420 2018-04-16 Martin Gieseking <martin.gieseking@uos.de>
2421
2422 * m4/ax_cxx_compile_stdcxx.m4:
2423 updated ax_cxx_compile_stdcxx.m4 to version 8
2424
2425 2018-04-13 Martin Gieseking <martin.gieseking@uos.de>
2426
2427 * src/BgColorSpecialHandler.hpp, src/DvisvgmSpecialHandler.hpp,
2428 src/EmSpecialHandler.hpp, src/HtmlSpecialHandler.hpp,
2429 src/NoPsSpecialHandler.hpp, src/PapersizeSpecialHandler.hpp,
2430 src/PdfSpecialHandler.hpp, src/PsSpecialHandler.hpp,
2431 src/SpecialHandler.hpp, src/SpecialManager.cpp, src/SpecialManager.hpp,
2432 src/TpicSpecialHandler.hpp:
2433 merged listener methods into SpecialHandler class
2434
2435 * src/CommandLine.hpp:
2436 made opt2cpp compatible with Python 3
2437
2438 2018-04-11 Martin Gieseking <martin.gieseking@uos.de>
2439
2440 * libs/brotli/Makefile.am, libs/brotli/common/constants.h,
2441 libs/brotli/common/platform.h, libs/brotli/common/version.h,
2442 libs/brotli/enc/backward_references.c,
2443 libs/brotli/enc/backward_references_hq.c, libs/brotli/enc/command.h,
2444 libs/brotli/enc/context.h, libs/brotli/enc/encode.c,
2445 libs/brotli/enc/memory.h, libs/brotli/enc/metablock.c,
2446 libs/brotli/enc/metablock.h, libs/brotli/enc/params.h,
2447 libs/brotli/enc/port.h, libs/brotli/enc/quality.h,
2448 libs/brotli/enc/write_bits.h, libs/brotli/include/brotli/decode.h,
2449 libs/brotli/include/brotli/encode.h:
2450 updated brotli to version 1.0.4
2451
2452 2018-03-29 Martin Gieseking <martin.gieseking@uos.de>
2453
2454 * doc/dvisvgm.txt.in, src/SVGOutput.cpp, src/ZLibOutputStream.hpp,
2455 src/dvisvgm.cpp:
2456 enabled to output compressed SVG data to stdout
2457
2458 * src/dvisvgm.cpp:
2459 renamed SourceInput variable
2460
2461 2018-03-28 Martin Gieseking <martin.gieseking@uos.de>
2462
2463 * src/dvisvgm.cpp:
2464 simplified main() function
2465
2466 2018-03-27 Martin Gieseking <martin.gieseking@uos.de>
2467
2468 * doc/dvisvgm.txt.in, src/CLCommandLine.cpp, src/CLCommandLine.hpp,
2469 src/CommandLine.hpp, src/EPSFile.cpp, src/EPSFile.hpp, src/EPSToSVG.cpp,
2470 src/EPSToSVG.hpp, src/FileSystem.cpp, src/Makefile.am,
2471 src/PsSpecialHandler.cpp, src/SVGOutput.cpp, src/SVGOutput.hpp,
2472 src/SourceInput.cpp, src/SourceInput.hpp, src/dvisvgm.cpp,
2473 src/options.xml, tests/CommandLineTest.cpp, tests/SVGOutputTest.cpp:
2474 added option to read DVI/EPS input from stdin (closes #86)
2475
2476 2018-03-26 Martin Gieseking <martin.gieseking@uos.de>
2477
2478 * src/PSInterpreter.cpp, src/PSInterpreter.hpp, src/PsSpecialHandler.cpp,
2479 src/PsSpecialHandler.hpp, src/psdefs.cpp, tests/PSInterpreterTest.cpp:
2480 PS handler: added processing of .setshapealpha and .setblendmode
2481
2482 2018-03-23 Martin Gieseking <martin.gieseking@uos.de>
2483
2484 * src/Matrix.cpp, src/Matrix.hpp, tests/MatrixTest.cpp:
2485 added initlist constructor to class Matrix
2486
2487 * src/PSInterpreter.cpp, src/PSInterpreter.hpp, src/PsSpecialHandler.cpp,
2488 src/PsSpecialHandler.hpp, src/psdefs.cpp, tests/PSInterpreterTest.cpp:
2489 psfile special: added evaluation of operator 'setpagedevice'
2490
2491 * .appveyor.yml, .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
2492 set version to 2.3.5
2493
2494 * NEWS:
2495 updated NEWS
2496
2497 2018-03-21 Martin Gieseking <martin.gieseking@uos.de>
2498
2499 * src/PsSpecialHandler.cpp:
2500 added missing PS header required to evaluate color names
2501
2502 * src/PSInterpreter.cpp, src/psdefs.cpp:
2503 drop GS option -dSAFER to stay compatible with GS 9.23
2504
2505 2018-03-13 Martin Gieseking <martin.gieseking@uos.de>
2506
2507 * .appveyor.yml, .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
2508 set version to 2.3.4
2509
2510 * NEWS:
2511 updated NEWS
2512
2513 2018-03-12 Martin Gieseking <martin.gieseking@uos.de>
2514
2515 * tests/data/Makefile.am:
2516 add required test file cmr10.pfb to source tarballs (closes #87)
2517
2518 2018-03-07 Martin Gieseking <martin.gieseking@uos.de>
2519
2520 * src/EmSpecialHandler.hpp, src/XMLDocument.hpp, src/dvisvgm.cpp:
2521 replaced memory-inefficient lists with vectors
2522
2523 * src/XMLNode.cpp, src/XMLNode.hpp:
2524 replaced lists of XML element pointers with deques
2525
2526 * src/CLCommandLine.cpp:
2527 fixed message printed if command-line contains an isolated '-'
2528
2529 2018-03-03 Martin Gieseking <martin.gieseking@uos.de>
2530
2531 * libs/brotli/Makefile.am, libs/brotli/common/constants.h,
2532 libs/brotli/common/context.h, libs/brotli/common/dictionary.h,
2533 libs/brotli/common/platform.h, libs/brotli/common/transform.h,
2534 libs/brotli/common/version.h, libs/brotli/enc/backward_references.c,
2535 libs/brotli/enc/backward_references.h,
2536 libs/brotli/enc/backward_references_hq.c,
2537 libs/brotli/enc/backward_references_hq.h,
2538 libs/brotli/enc/backward_references_inc.h, libs/brotli/enc/bit_cost.c,
2539 libs/brotli/enc/bit_cost.h, libs/brotli/enc/block_encoder_inc.h,
2540 libs/brotli/enc/block_splitter.c, libs/brotli/enc/block_splitter.h,
2541 libs/brotli/enc/block_splitter_inc.h,
2542 libs/brotli/enc/brotli_bit_stream.c, libs/brotli/enc/brotli_bit_stream.h,
2543 libs/brotli/enc/cluster.c, libs/brotli/enc/cluster.h,
2544 libs/brotli/enc/command.h, libs/brotli/enc/compress_fragment.c,
2545 libs/brotli/enc/compress_fragment.h,
2546 libs/brotli/enc/compress_fragment_two_pass.c,
2547 libs/brotli/enc/compress_fragment_two_pass.h,
2548 libs/brotli/enc/dictionary_hash.c, libs/brotli/enc/encode.c,
2549 libs/brotli/enc/encoder_dict.c, libs/brotli/enc/encoder_dict.h,
2550 libs/brotli/enc/entropy_encode.c, libs/brotli/enc/entropy_encode.h,
2551 libs/brotli/enc/entropy_encode_static.h, libs/brotli/enc/fast_log.h,
2552 libs/brotli/enc/find_match_length.h, libs/brotli/enc/hash.h,
2553 libs/brotli/enc/hash_forgetful_chain_inc.h,
2554 libs/brotli/enc/hash_longest_match64_inc.h,
2555 libs/brotli/enc/hash_longest_match_inc.h,
2556 libs/brotli/enc/hash_longest_match_quickly_inc.h,
2557 libs/brotli/enc/hash_to_binary_tree_inc.h, libs/brotli/enc/histogram.c,
2558 libs/brotli/enc/histogram.h, libs/brotli/enc/histogram_inc.h,
2559 libs/brotli/enc/literal_cost.c, libs/brotli/enc/literal_cost.h,
2560 libs/brotli/enc/memory.c, libs/brotli/enc/memory.h,
2561 libs/brotli/enc/metablock.c, libs/brotli/enc/metablock.h,
2562 libs/brotli/enc/metablock_inc.h, libs/brotli/enc/params.h,
2563 libs/brotli/enc/prefix.h, libs/brotli/enc/quality.h,
2564 libs/brotli/enc/ringbuffer.h, libs/brotli/enc/static_dict.c,
2565 libs/brotli/enc/static_dict.h, libs/brotli/enc/static_dict_lut.h,
2566 libs/brotli/enc/utf8_util.c, libs/brotli/enc/utf8_util.h,
2567 libs/brotli/enc/write_bits.h, libs/brotli/include/brotli/decode.h,
2568 libs/brotli/include/brotli/encode.h, libs/brotli/include/brotli/port.h:
2569 updated brotli to version 1.0.3
2570
2571 2018-02-20 Martin Gieseking <martin.gieseking@uos.de>
2572
2573 * doc/dvisvgm.txt.in:
2574 minor changes of the manpage
2575
2576 * .appveyor.yml, .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
2577 set version to 2.3.3
2578
2579 * NEWS:
2580 updated NEWS
2581
2582 2018-02-19 Martin Gieseking <martin.gieseking@uos.de>
2583
2584 * src/PdfSpecialHandler.cpp, src/PdfSpecialHandler.hpp:
2585 don't remove fontmap definitions before processing pdf:mapXXX specials
2586
2587 * src/FontEngine.cpp:
2588 prevent creating string from nullptr
2589
2590 2018-02-09 Martin Gieseking <martin.gieseking@uos.de>
2591
2592 * src/FileSystem.cpp, src/FontCache.cpp, src/FontMap.cpp,
2593 src/GFGlyphTracer.cpp, src/MetafontWrapper.cpp, src/PsSpecialHandler.cpp,
2594 src/utility.cpp, tests/DVIReaderTest.cpp, tests/GFReaderTest.cpp,
2595 tests/JFMReaderTest.cpp, tests/TFMReaderTest.cpp:
2596 removed calls of c_str() redundant since C++11
2597
2598 * src/StreamReader.cpp:
2599 replaced c_str() with data() in StreamReader
2600
2601 2018-02-08 Martin Gieseking <martin.gieseking@uos.de>
2602
2603 * .appveyor.yml, .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
2604 set version to 2.3.2
2605
2606 * src/TpicSpecialHandler.cpp:
2607 prevent potential division by 0
2608
2609 * src/dvisvgm.cpp:
2610 prevent dereferencing nullptr (CACHE_PATH)
2611
2612 * NEWS:
2613 updated NEWS
2614
2615 2018-02-05 Martin Gieseking <martin.gieseking@uos.de>
2616
2617 * src/DVIActions.hpp, src/DVIReader.cpp, src/DVIReader.hpp,
2618 src/DVIToSVG.cpp, src/DVIToSVG.hpp, src/DVIToSVGActions.cpp,
2619 src/DVIToSVGActions.hpp:
2620 don't update the SVG position after DVIActions::setChar()
2621 Otherwise, all
2622 characters get an explicit x position assigned even if it's
2623 already
2624 reached by applying the character's advance width.
2625
2626 2018-01-27 Hironobu Yamashita <h.y.acetaminophen@gmail.com>
2627
2628 * src/JFM.cpp:
2629 JFM.cpp: support new JFM spec introduced in TeX Live r46452
2630
2631 * src/JFM.cpp, src/JFM.hpp, tests/JFMReaderTest.cpp:
2632 adapted types to conform new JFM format
2633
2634 * src/options.xml:
2635 updated year in options.xml
2636
2637 * src/FileFinder.cpp, src/Process.cpp:
2638 relaxed reading from process pipe; fixed getting output of kpsewhich
2639 (Win only)
2640
2641 2018-01-16 Martin Gieseking <martin.gieseking@uos.de>
2642
2643 * src/CMap.hpp, src/RangeMap.hpp, src/ToUnicodeMap.cpp,
2644 tests/RangeMapTest.cpp, tests/ToUnicodeMapTest.cpp:
2645 renamed RangeMap::size() to RangeMap::numRanges()
2646
2647 2018-01-14 Martin Gieseking <martin.gieseking@uos.de>
2648
2649 * src/RangeMap.cpp, src/RangeMap.hpp:
2650 added iterator and some getters to RangeMap
2651
2652 2018-01-12 Martin Gieseking <martin.gieseking@uos.de>
2653
2654 * .appveyor.yml:
2655 AppVeyor: updated to FreeType 2.9 and ttfautohint 1.8.1
2656
2657 * .appveyor.yml:
2658 AppVeyor: fixed download link of ttfautohint-dll
2659
2660 * NEWS:
2661 updated NEWS
2662
2663 2018-01-11 Martin Gieseking <martin.gieseking@uos.de>
2664
2665 * doc/dvisvgm.txt.in:
2666 manpage: reworded info about option --bbox=preview (closes #83)
2667
2668 2018-01-09 Martin Gieseking <martin.gieseking@uos.de>
2669
2670 * .appveyor.yml, .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
2671 set version to 2.3.1
2672
2673 2018-01-03 Martin Gieseking <martin.gieseking@uos.de>
2674
2675 * src/CMapReader.cpp, src/Directory.cpp, src/Directory.hpp,
2676 src/DvisvgmSpecialHandler.cpp, src/FileFinder.cpp, src/FileFinder.hpp,
2677 src/FilePath.cpp, src/FilePath.hpp, src/FileSystem.cpp,
2678 src/FileSystem.hpp, src/Font.cpp, src/FontCache.cpp, src/FontCache.hpp,
2679 src/FontMap.cpp, src/FontMetrics.cpp, src/FontMetrics.hpp,
2680 src/MetafontWrapper.cpp:
2681 replaced some C string parameters with C++ strings
2682
2683 2018-01-02 Martin Gieseking <martin.gieseking@uos.de>
2684
2685 * Makefile.am, README, README.md, configure.ac, doc/Makefile.am,
2686 doc/conf-dblatex-man.xsl, doc/conf-dblatex-pdf.xsl, doc/db2html.xsl,
2687 doc/dvisvgm.txt.in, doc/tweak-db-article.xsl, doc/tweak-db-refentry.xsl,
2688 doc/tweak-dblatex-pdf.xsl, libs/Makefile.am,
2689 libs/ff-woff/fontforge/tmpfile2.cpp, src/AGLTable.hpp,
2690 src/BasicDVIReader.cpp, src/BasicDVIReader.hpp, src/Bezier.cpp,
2691 src/Bezier.hpp, src/BgColorSpecialHandler.cpp,
2692 src/BgColorSpecialHandler.hpp, src/Bitmap.cpp, src/Bitmap.hpp,
2693 src/BoundingBox.cpp, src/BoundingBox.hpp, src/CLCommandLine.cpp,
2694 src/CLCommandLine.hpp, src/CLOption.hpp, src/CMap.cpp, src/CMap.hpp,
2695 src/CMapManager.cpp, src/CMapManager.hpp, src/CMapReader.cpp,
2696 src/CMapReader.hpp, src/CRC32.cpp, src/CRC32.hpp, src/Calculator.cpp,
2697 src/Calculator.hpp, src/CharMapID.cpp, src/CharMapID.hpp,
2698 src/Character.hpp, src/Color.cpp, src/Color.hpp,
2699 src/ColorSpecialHandler.cpp, src/ColorSpecialHandler.hpp,
2700 src/CommandLine.hpp, src/DLLoader.cpp, src/DLLoader.hpp,
2701 src/DVIActions.hpp, src/DVIReader.cpp, src/DVIReader.hpp,
2702 src/DVIToSVG.cpp, src/DVIToSVG.hpp, src/DVIToSVGActions.cpp,
2703 src/DVIToSVGActions.hpp, src/DependencyGraph.hpp, src/Directory.cpp,
2704 src/Directory.hpp, src/DvisvgmSpecialHandler.cpp,
2705 src/DvisvgmSpecialHandler.hpp, src/EPSFile.cpp, src/EPSFile.hpp,
2706 src/EPSToSVG.cpp, src/EPSToSVG.hpp, src/EmSpecialHandler.cpp,
2707 src/EmSpecialHandler.hpp, src/EncFile.cpp, src/EncFile.hpp,
2708 src/FileFinder.cpp, src/FileFinder.hpp, src/FilePath.cpp,
2709 src/FilePath.hpp, src/FileSystem.cpp, src/FileSystem.hpp,
2710 src/FixWord.hpp, src/Font.cpp, src/Font.hpp, src/FontCache.cpp,
2711 src/FontCache.hpp, src/FontEncoding.cpp, src/FontEncoding.hpp,
2712 src/FontEngine.cpp, src/FontEngine.hpp, src/FontManager.cpp,
2713 src/FontManager.hpp, src/FontMap.cpp, src/FontMap.hpp,
2714 src/FontMetrics.cpp, src/FontMetrics.hpp, src/FontStyle.hpp,
2715 src/FontWriter.cpp, src/FontWriter.hpp, src/GFGlyphTracer.cpp,
2716 src/GFGlyphTracer.hpp, src/GFReader.cpp, src/GFReader.hpp,
2717 src/GFTracer.cpp, src/GFTracer.hpp, src/Ghostscript.cpp,
2718 src/Ghostscript.hpp, src/Glyph.hpp, src/GlyphTracerMessages.hpp,
2719 src/GraphicsPath.hpp, src/HtmlSpecialHandler.cpp,
2720 src/HtmlSpecialHandler.hpp, src/HyperlinkManager.cpp,
2721 src/HyperlinkManager.hpp, src/InputBuffer.cpp, src/InputBuffer.hpp,
2722 src/InputReader.cpp, src/InputReader.hpp, src/JFM.cpp, src/JFM.hpp,
2723 src/Length.cpp, src/Length.hpp, src/Makefile.am, src/MapLine.cpp,
2724 src/MapLine.hpp, src/Matrix.cpp, src/Matrix.hpp, src/Message.cpp,
2725 src/Message.hpp, src/MessageException.hpp, src/MetafontWrapper.cpp,
2726 src/MetafontWrapper.hpp, src/MiKTeXCom.cpp, src/MiKTeXCom.hpp,
2727 src/NoPsSpecialHandler.cpp, src/NoPsSpecialHandler.hpp,
2728 src/NumericRanges.hpp, src/PDFParser.cpp, src/PDFParser.hpp,
2729 src/PSFilter.hpp, src/PSInterpreter.cpp, src/PSInterpreter.hpp,
2730 src/PSPattern.cpp, src/PSPattern.hpp, src/PSPreviewFilter.cpp,
2731 src/PSPreviewFilter.hpp, src/PageRanges.cpp, src/PageRanges.hpp,
2732 src/PageSize.cpp, src/PageSize.hpp, src/Pair.hpp,
2733 src/PapersizeSpecialHandler.cpp, src/PapersizeSpecialHandler.hpp,
2734 src/PathClipper.cpp, src/PathClipper.hpp, src/PdfSpecialHandler.cpp,
2735 src/PdfSpecialHandler.hpp, src/PreScanDVIReader.cpp,
2736 src/PreScanDVIReader.hpp, src/Process.cpp, src/Process.hpp,
2737 src/PsSpecialHandler.cpp, src/PsSpecialHandler.hpp, src/RangeMap.cpp,
2738 src/RangeMap.hpp, src/SVGCharHandler.cpp, src/SVGCharHandler.hpp,
2739 src/SVGCharHandlerFactory.cpp, src/SVGCharHandlerFactory.hpp,
2740 src/SVGCharPathHandler.cpp, src/SVGCharPathHandler.hpp,
2741 src/SVGCharTspanTextHandler.cpp, src/SVGCharTspanTextHandler.hpp,
2742 src/SVGOutput.cpp, src/SVGOutput.hpp, src/SVGSingleCharTextHandler.cpp,
2743 src/SVGSingleCharTextHandler.hpp, src/SVGTree.cpp, src/SVGTree.hpp,
2744 src/ShadingPatch.cpp, src/ShadingPatch.hpp, src/SignalHandler.cpp,
2745 src/SignalHandler.hpp, src/SpecialActions.hpp, src/SpecialHandler.hpp,
2746 src/SpecialManager.cpp, src/SpecialManager.hpp, src/StreamReader.cpp,
2747 src/StreamReader.hpp, src/StreamWriter.cpp, src/StreamWriter.hpp,
2748 src/Subfont.cpp, src/Subfont.hpp, src/System.cpp, src/System.hpp,
2749 src/TFM.cpp, src/TFM.hpp, src/TTFAutohint.cpp, src/TTFAutohint.hpp,
2750 src/TensorProductPatch.cpp, src/TensorProductPatch.hpp, src/Terminal.cpp,
2751 src/Terminal.hpp, src/ToUnicodeMap.cpp, src/ToUnicodeMap.hpp,
2752 src/TpicSpecialHandler.cpp, src/TpicSpecialHandler.hpp,
2753 src/TriangularPatch.cpp, src/TriangularPatch.hpp, src/TrueTypeFont.cpp,
2754 src/TrueTypeFont.hpp, src/Unicode.cpp, src/Unicode.hpp,
2755 src/VFActions.hpp, src/VFReader.cpp, src/VFReader.hpp,
2756 src/VectorIterator.hpp, src/VectorStream.hpp, src/XMLDocument.cpp,
2757 src/XMLDocument.hpp, src/XMLNode.cpp, src/XMLNode.hpp, src/XMLString.cpp,
2758 src/XMLString.hpp, src/ZLibOutputStream.hpp, src/dvisvgm.cpp,
2759 src/ffwrapper.c, src/ffwrapper.h, src/macros.hpp, src/options.dtd,
2760 src/options.xml, src/psdefs.cpp, src/utility.cpp, src/utility.hpp,
2761 src/version.hpp, src/version.hpp.in, src/windows.hpp,
2762 tests/BezierTest.cpp, tests/BitmapTest.cpp, tests/BoundingBoxTest.cpp,
2763 tests/CMapManagerTest.cpp, tests/CMapReaderTest.cpp, tests/CMapTest.cpp,
2764 tests/CRC32Test.cpp, tests/CalculatorTest.cpp,
2765 tests/ColorSpecialTest.cpp, tests/ColorTest.cpp,
2766 tests/CommandLineTest.cpp, tests/DVIReaderTest.cpp,
2767 tests/DependencyGraphTest.cpp, tests/DirectoryTest.cpp,
2768 tests/DvisvgmSpecialTest.cpp, tests/EmSpecialTest.cpp,
2769 tests/FileFinderTest.cpp, tests/FilePathTest.cpp,
2770 tests/FileSystemTest.cpp, tests/FontCacheTest.cpp,
2771 tests/FontManagerTest.cpp, tests/FontMapTest.cpp,
2772 tests/GFGlyphTracerTest.cpp, tests/GFReaderTest.cpp,
2773 tests/GhostscriptTest.cpp, tests/GraphicsPathTest.cpp,
2774 tests/JFMReaderTest.cpp, tests/LengthTest.cpp, tests/Makefile.am,
2775 tests/MapLineTest.cpp, tests/MatrixTest.cpp,
2776 tests/MessageExceptionTest.cpp, tests/PDFParserTest.cpp,
2777 tests/PSInterpreterTest.cpp, tests/PageRagesTest.cpp,
2778 tests/PageSizeTest.cpp, tests/PairTest.cpp,
2779 tests/PapersizeSpecialTest.cpp, tests/RangeMapTest.cpp,
2780 tests/SVGOutputTest.cpp, tests/ShadingPatchTest.cpp,
2781 tests/SpecialManagerTest.cpp, tests/SplittedCharInputBufferTest.cpp,
2782 tests/StreamInputBufferTest.cpp, tests/StreamReaderTest.cpp,
2783 tests/StreamWriterTest.cpp, tests/StringMatcherTest.cpp,
2784 tests/SubfontTest.cpp, tests/TFMReaderTest.cpp,
2785 tests/TensorProductPatchTest.cpp, tests/ToUnicodeMapTest.cpp,
2786 tests/TpicSpecialTest.cpp, tests/TriangularPatchTest.cpp,
2787 tests/UnicodeTest.cpp, tests/UtilityTest.cpp,
2788 tests/VectorIteratorTest.cpp, tests/VectorStreamTest.cpp,
2789 tests/XMLNodeTest.cpp, tests/XMLStringTest.cpp, tests/check-conv,
2790 tests/create-makefile, tests/data/Makefile.am, tests/genhashcheck.py,
2791 tests/normalize.xsl, tests/testmain.cpp:
2792 updated year in copyright statements to 2018
2793
2794 * src/dvisvgm.cpp:
2795 avoid potential dangling string pointer to --fontmap argument
2796
2797 * src/Font.cpp:
2798 fixed char width of fonts slanted by style option (closes #82)
2799
2800 2017-12-31 Martin Gieseking <martin.gieseking@uos.de>
2801
2802 * src/TTFAutohint.hpp:
2803 don't declare member variables of TTFAutohint if ttfautohint is not
2804 available
2805
2806 * src/FontWriter.cpp:
2807 keep unhinted TTF if autohinting failed
2808
2809 2017-12-28 Martin Gieseking <martin.gieseking@uos.de>
2810
2811 * .appveyor.yml:
2812 AppVeyor: download and install ttfautohint headers
2813
2814 * .appveyor.yml, .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
2815 set version to 2.3
2816
2817 * NEWS, README, README.md:
2818 updated README and NEWS
2819
2820 2017-12-27 Martin Gieseking <martin.gieseking@uos.de>
2821
2822 * src/DLLoader.cpp, src/DLLoader.hpp, src/Ghostscript.cpp,
2823 src/TTFAutohint.cpp:
2824 simplify function to load a symbol from a dynamic library
2825
2826 2017-12-23 Martin Gieseking <martin.gieseking@uos.de>
2827
2828 * configure.ac, src/DLLoader.cpp, src/DLLoader.hpp, src/FontWriter.cpp,
2829 src/Makefile.am, src/TTFAutohint.cpp, src/TTFAutohint.hpp,
2830 src/dvisvgm.cpp:
2831 added code to load libttfautohint dynamically at runtime
2832
2833 2017-12-22 Martin Gieseking <martin.gieseking@uos.de>
2834
2835 * libs/xxHash/xxhash.c, libs/xxHash/xxhash.h:
2836 updated xxHash to version 0.6.4
2837
2838 2017-12-21 Martin Gieseking <martin.gieseking@uos.de>
2839
2840 * tests/gtest/include/gtest/gtest-param-test.h,
2841 tests/gtest/include/gtest/gtest-printers.h,
2842 tests/gtest/include/gtest/gtest-spi.h,
2843 tests/gtest/include/gtest/gtest-typed-test.h,
2844 tests/gtest/include/gtest/gtest.h,
2845 tests/gtest/include/gtest/internal/custom/gtest-port.h,
2846 tests/gtest/include/gtest/internal/custom/gtest.h,
2847 tests/gtest/include/gtest/internal/gtest-internal.h,
2848 tests/gtest/include/gtest/internal/gtest-param-util-generated.h,
2849 tests/gtest/include/gtest/internal/gtest-param-util.h,
2850 tests/gtest/include/gtest/internal/gtest-port-arch.h,
2851 tests/gtest/include/gtest/internal/gtest-port.h,
2852 tests/gtest/src/gtest-death-test.cc,
2853 tests/gtest/src/gtest-internal-inl.h, tests/gtest/src/gtest-port.cc,
2854 tests/gtest/src/gtest-printers.cc, tests/gtest/src/gtest.cc:
2855 updated gtest
2856
2857 2017-12-19 Martin Gieseking <martin.gieseking@uos.de>
2858
2859 * configure.ac:
2860 configure: dropped check of outdated Ghostscript version
2861
2862 * configure.ac, src/Makefile.am:
2863 configure: added --with-kpathsea to set the path of the kpathsea devel
2864 files
2865 closes #71
2866
2867 2017-12-18 Martin Gieseking <martin.gieseking@uos.de>
2868
2869 * src/psdefs.cpp:
2870 psdefs: replaced '6 array' with 'matrix'
2871
2872 2017-12-17 Martin Gieseking <martin.gieseking@uos.de>
2873
2874 * libs/woff2/Makefile.am, libs/woff2/include/woff2/file.h,
2875 src/FontWriter.cpp, src/FontWriter.hpp, src/Makefile.am,
2876 src/StreamReader.hpp, src/StreamWriter.cpp, src/StreamWriter.hpp,
2877 src/TrueTypeFont.cpp, src/TrueTypeFont.hpp, src/ffwrapper.c,
2878 src/ffwrapper.h, src/utility.cpp, src/utility.hpp:
2879 replaced ff_sfd_to_woff() with TrueTypeFont::writeWOFF()
2880
2881 * configure.ac, src/FontWriter.cpp, src/Makefile.am, src/dvisvgm.cpp:
2882 added optional support for ttfautohint
2883
2884 2017-12-14 Martin Gieseking <martin.gieseking@uos.de>
2885
2886 * configure.ac, libs/Makefile.am, libs/brotli/LICENSE,
2887 libs/brotli/Makefile.am, libs/brotli/common/constants.h,
2888 libs/brotli/common/dictionary.c, libs/brotli/common/dictionary.h,
2889 libs/brotli/common/version.h, libs/brotli/enc/backward_references.c,
2890 libs/brotli/enc/backward_references.h,
2891 libs/brotli/enc/backward_references_hq.c,
2892 libs/brotli/enc/backward_references_hq.h,
2893 libs/brotli/enc/backward_references_inc.h, libs/brotli/enc/bit_cost.c,
2894 libs/brotli/enc/bit_cost.h, libs/brotli/enc/bit_cost_inc.h,
2895 libs/brotli/enc/block_encoder_inc.h, libs/brotli/enc/block_splitter.c,
2896 libs/brotli/enc/block_splitter.h, libs/brotli/enc/block_splitter_inc.h,
2897 libs/brotli/enc/brotli_bit_stream.c, libs/brotli/enc/brotli_bit_stream.h,
2898 libs/brotli/enc/cluster.c, libs/brotli/enc/cluster.h,
2899 libs/brotli/enc/cluster_inc.h, libs/brotli/enc/command.h,
2900 libs/brotli/enc/compress_fragment.c, libs/brotli/enc/compress_fragment.h,
2901 libs/brotli/enc/compress_fragment_two_pass.c,
2902 libs/brotli/enc/compress_fragment_two_pass.h, libs/brotli/enc/context.h,
2903 libs/brotli/enc/dictionary_hash.c, libs/brotli/enc/dictionary_hash.h,
2904 libs/brotli/enc/encode.c, libs/brotli/enc/entropy_encode.c,
2905 libs/brotli/enc/entropy_encode.h,
2906 libs/brotli/enc/entropy_encode_static.h, libs/brotli/enc/fast_log.h,
2907 libs/brotli/enc/find_match_length.h, libs/brotli/enc/hash.h,
2908 libs/brotli/enc/hash_forgetful_chain_inc.h,
2909 libs/brotli/enc/hash_longest_match64_inc.h,
2910 libs/brotli/enc/hash_longest_match_inc.h,
2911 libs/brotli/enc/hash_longest_match_quickly_inc.h,
2912 libs/brotli/enc/hash_to_binary_tree_inc.h, libs/brotli/enc/histogram.c,
2913 libs/brotli/enc/histogram.h, libs/brotli/enc/histogram_inc.h,
2914 libs/brotli/enc/literal_cost.c, libs/brotli/enc/literal_cost.h,
2915 libs/brotli/enc/memory.c, libs/brotli/enc/memory.h,
2916 libs/brotli/enc/metablock.c, libs/brotli/enc/metablock.h,
2917 libs/brotli/enc/metablock_inc.h, libs/brotli/enc/port.h,
2918 libs/brotli/enc/prefix.h, libs/brotli/enc/quality.h,
2919 libs/brotli/enc/ringbuffer.h, libs/brotli/enc/static_dict.c,
2920 libs/brotli/enc/static_dict.h, libs/brotli/enc/static_dict_lut.h,
2921 libs/brotli/enc/utf8_util.c, libs/brotli/enc/utf8_util.h,
2922 libs/brotli/enc/write_bits.h, libs/brotli/include/brotli/decode.h,
2923 libs/brotli/include/brotli/encode.h, libs/brotli/include/brotli/port.h,
2924 libs/brotli/include/brotli/types.h, libs/woff2/Makefile.am,
2925 libs/woff2/brotli/LICENSE, libs/woff2/brotli/Makefile.am,
2926 libs/woff2/brotli/common/constants.h,
2927 libs/woff2/brotli/common/dictionary.c,
2928 libs/woff2/brotli/common/dictionary.h,
2929 libs/woff2/brotli/common/version.h,
2930 libs/woff2/brotli/enc/backward_references.c,
2931 libs/woff2/brotli/enc/backward_references.h,
2932 libs/woff2/brotli/enc/backward_references_hq.c,
2933 libs/woff2/brotli/enc/backward_references_hq.h,
2934 libs/woff2/brotli/enc/backward_references_inc.h,
2935 libs/woff2/brotli/enc/bit_cost.c, libs/woff2/brotli/enc/bit_cost.h,
2936 libs/woff2/brotli/enc/bit_cost_inc.h,
2937 libs/woff2/brotli/enc/block_encoder_inc.h,
2938 libs/woff2/brotli/enc/block_splitter.c,
2939 libs/woff2/brotli/enc/block_splitter.h,
2940 libs/woff2/brotli/enc/block_splitter_inc.h,
2941 libs/woff2/brotli/enc/brotli_bit_stream.c,
2942 libs/woff2/brotli/enc/brotli_bit_stream.h,
2943 libs/woff2/brotli/enc/cluster.c, libs/woff2/brotli/enc/cluster.h,
2944 libs/woff2/brotli/enc/cluster_inc.h, libs/woff2/brotli/enc/command.h,
2945 libs/woff2/brotli/enc/compress_fragment.c,
2946 libs/woff2/brotli/enc/compress_fragment.h,
2947 libs/woff2/brotli/enc/compress_fragment_two_pass.c,
2948 libs/woff2/brotli/enc/compress_fragment_two_pass.h,
2949 libs/woff2/brotli/enc/context.h, libs/woff2/brotli/enc/dictionary_hash.c,
2950 libs/woff2/brotli/enc/dictionary_hash.h, libs/woff2/brotli/enc/encode.c,
2951 libs/woff2/brotli/enc/entropy_encode.c,
2952 libs/woff2/brotli/enc/entropy_encode.h,
2953 libs/woff2/brotli/enc/entropy_encode_static.h,
2954 libs/woff2/brotli/enc/fast_log.h,
2955 libs/woff2/brotli/enc/find_match_length.h, libs/woff2/brotli/enc/hash.h,
2956 libs/woff2/brotli/enc/hash_forgetful_chain_inc.h,
2957 libs/woff2/brotli/enc/hash_longest_match64_inc.h,
2958 libs/woff2/brotli/enc/hash_longest_match_inc.h,
2959 libs/woff2/brotli/enc/hash_longest_match_quickly_inc.h,
2960 libs/woff2/brotli/enc/hash_to_binary_tree_inc.h,
2961 libs/woff2/brotli/enc/histogram.c, libs/woff2/brotli/enc/histogram.h,
2962 libs/woff2/brotli/enc/histogram_inc.h,
2963 libs/woff2/brotli/enc/literal_cost.c,
2964 libs/woff2/brotli/enc/literal_cost.h, libs/woff2/brotli/enc/memory.c,
2965 libs/woff2/brotli/enc/memory.h, libs/woff2/brotli/enc/metablock.c,
2966 libs/woff2/brotli/enc/metablock.h, libs/woff2/brotli/enc/metablock_inc.h,
2967 libs/woff2/brotli/enc/port.h, libs/woff2/brotli/enc/prefix.h,
2968 libs/woff2/brotli/enc/quality.h, libs/woff2/brotli/enc/ringbuffer.h,
2969 libs/woff2/brotli/enc/static_dict.c, libs/woff2/brotli/enc/static_dict.h,
2970 libs/woff2/brotli/enc/static_dict_lut.h,
2971 libs/woff2/brotli/enc/utf8_util.c, libs/woff2/brotli/enc/utf8_util.h,
2972 libs/woff2/brotli/enc/write_bits.h,
2973 libs/woff2/brotli/include/brotli/decode.h,
2974 libs/woff2/brotli/include/brotli/encode.h,
2975 libs/woff2/brotli/include/brotli/port.h,
2976 libs/woff2/brotli/include/brotli/types.h, src/Makefile.am,
2977 tests/Makefile.am, tests/create-makefile:
2978 moved brotli from woff2 to libs folder
2979
2980 2017-12-12 Martin Gieseking <martin.gieseking@uos.de>
2981
2982 * libs/variant/include/mpark/config.hpp,
2983 libs/variant/include/mpark/lib.hpp,
2984 libs/variant/include/mpark/variant.hpp:
2985 updated mpark::variant to
2986 https://github.com/mpark/variant/commit/382014b
2987 fixes a build error
2988 introduced with MSVC 19.12
2989
2990 2017-12-11 Martin Gieseking <martin.gieseking@uos.de>
2991
2992 * .appveyor.yml, .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
2993 set version to 2.2.3
2994
2995 * NEWS:
2996 updated NEWS
2997
2998 2017-11-29 Martin Gieseking <martin.gieseking@uos.de>
2999
3000 * libs/woff2/brotli/common/dictionary.h,
3001 libs/woff2/brotli/common/version.h,
3002 libs/woff2/brotli/enc/backward_references_hq.c,
3003 libs/woff2/brotli/enc/backward_references_hq.h,
3004 libs/woff2/brotli/enc/port.h, libs/woff2/brotli/enc/quality.h,
3005 libs/woff2/brotli/include/brotli/decode.h,
3006 libs/woff2/brotli/include/brotli/encode.h:
3007 updated brotli to version 1.0.2
3008
3009 2017-11-24 Martin Gieseking <martin.gieseking@uos.de>
3010
3011 * src/BgColorSpecialHandler.cpp, src/BoundingBox.cpp, src/BoundingBox.hpp,
3012 src/Color.cpp, src/PathClipper.cpp, src/SVGTree.cpp,
3013 tests/BoundingBoxTest.cpp:
3014 minor code cleanup and improvements
3015
3016 * src/DependencyGraph.hpp:
3017 simplified DependencyGraph::GraphNode
3018
3019 2017-11-23 Martin Gieseking <martin.gieseking@uos.de>
3020
3021 * tests/TpicSpecialTest.cpp:
3022 added missing initializers in TpicSpecialTest
3023
3024 * tests/EmSpecialTest.cpp:
3025 added missing initializers in EmSpecialTest
3026
3027 * src/DependencyGraph.hpp:
3028 fixed dangling pointer issue in DependencyGraph
3029
3030 * src/Makefile.am, tests/Makefile.am, tests/create-makefile:
3031 suppress warnings regarding 'mismatched tags'
3032 (class/struct)
3033 https://gcc.gnu.org/wiki/FAQ#Why_GCC_does_not_warn_for_mismatch_between_struct_and_class_.28-Wmismatched-tags.29_.3F
3034
3035 2017-11-22 Martin Gieseking <martin.gieseking@uos.de>
3036
3037 * src/PSPattern.cpp, src/SVGCharHandler.cpp, src/SVGTree.cpp,
3038 src/TpicSpecialHandler.cpp:
3039 removed redundant calls of std::move()
3040
3041 * src/Subfont.cpp, src/Subfont.hpp, tests/CMapManagerTest.cpp,
3042 tests/FileFinderTest.cpp, tests/FontManagerTest.cpp, tests/Makefile.am,
3043 tests/MapLineTest.cpp, tests/SubfontTest.cpp, tests/create-makefile,
3044 tests/testmain.cpp, tests/testutil.hpp:
3045 tests: moved common initializations to testmain.cpp
3046
3047 * src/DVIReader.hpp, tests/DVIReaderTest.cpp, tests/Makefile.am,
3048 tests/data/Makefile.am, tests/data/cmr10.pfb, tests/data/sample_v2.dvi,
3049 tests/data/sample_v3.dvi:
3050 added test for DVIReader
3051
3052 2017-11-21 Martin Gieseking <martin.gieseking@uos.de>
3053
3054 * Makefile.am:
3055 removed redundant lcov statement from Makefile
3056
3057 2017-11-20 Martin Gieseking <martin.gieseking@uos.de>
3058
3059 * tests/CMapTest.cpp, tests/GFReaderTest.cpp, tests/JFMReaderTest.cpp,
3060 tests/RangeMapTest.cpp, tests/TFMReaderTest.cpp,
3061 tests/TensorProductPatchTest.cpp, tests/ToUnicodeMapTest.cpp,
3062 tests/VectorStreamTest.cpp:
3063 tests: few code improvements
3064
3065 * README.md:
3066 added donation badge to readme
3067
3068 2017-11-17 Martin Gieseking <martin.gieseking@uos.de>
3069
3070 * src/Font.cpp, src/Font.hpp:
3071 prevent dangling pointers to font map entries (closes #79)
3072
3073 * src/CMapManager.cpp, src/FileFinder.cpp, src/Font.cpp, src/Font.hpp,
3074 src/FontEngine.cpp, src/FontManager.cpp, src/FontMap.cpp,
3075 src/FontMap.hpp, src/Ghostscript.cpp, src/MiKTeXCom.cpp, src/XMLNode.cpp:
3076 replaced null pointer constants with 'nullptr'
3077
3078 * src/XMLString.cpp, tests/TensorProductPatchTest.cpp,
3079 tests/XMLStringTest.cpp:
3080 avoid scientific notation when printing floats/doubles
3081
3082 * .appveyor.yml, .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
3083 set version to 2.2.2
3084
3085 * NEWS:
3086 updated NEWS
3087
3088 2017-11-13 Martin Gieseking <martin.gieseking@uos.de>
3089
3090 * doc/Makefile.am:
3091 ensure tweak-db-refentry.xsl is put into the tarball
3092
3093 * .appveyor.yml, .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
3094 set version to 2.2.1
3095
3096 * NEWS, README.md:
3097 updated NEWS and README
3098
3099 * libs/variant/include/mpark/lib.hpp,
3100 libs/variant/include/mpark/variant.hpp:
3101 updated mpark::variant to commit
3102 ea542a0
3103 https://github.com/mpark/variant/commit/ea542a0fef86fb8c1696238b95bdaddb8ff2337c
3104
3105 2017-11-10 Martin Gieseking <martin.gieseking@uos.de>
3106
3107 * README, README.md, doc/dvisvgm.txt.in:
3108 minor additions/fixes of manpage and README
3109
3110 2017-11-02 Martin Gieseking <martin.gieseking@uos.de>
3111
3112 * doc/Makefile.am, doc/db2html.xsl, doc/tweak-db-refentry.xsl:
3113 manpage: avoid using 'stats' to improve portability (closes #72)
3114
3115 2017-10-31 Martin Gieseking <martin.gieseking@uos.de>
3116
3117 * src/InputReader.cpp, src/InputReader.hpp, src/PSInterpreter.cpp:
3118 simplified code to lookup PS operators
3119
3120 2017-10-30 Martin Gieseking <martin.gieseking@uos.de>
3121
3122 * src/PsSpecialHandler.hpp, src/psdefs.cpp, tests/PSInterpreterTest.cpp:
3123 properly apply CTM to linewidth (closes #77)
3124
3125 * src/PsSpecialHandler.hpp, src/psdefs.cpp, tests/PSInterpreterTest.cpp:
3126 call applyscalevals on every change of the CTM
3127
3128 2017-10-27 Martin Gieseking <martin.gieseking@uos.de>
3129
3130 * src/DVIToSVG.cpp, src/DVIToSVGActions.cpp, src/DVIToSVGActions.hpp,
3131 src/DvisvgmSpecialHandler.cpp, src/EPSToSVG.cpp, src/EPSToSVG.hpp,
3132 src/EmSpecialHandler.cpp, src/HyperlinkManager.cpp, src/PSPattern.cpp,
3133 src/PSPattern.hpp, src/PsSpecialHandler.cpp, src/SVGCharHandler.cpp,
3134 src/SVGCharHandler.hpp, src/SVGCharPathHandler.cpp,
3135 src/SVGCharTspanTextHandler.cpp, src/SVGSingleCharTextHandler.cpp,
3136 src/SVGTree.cpp, src/SVGTree.hpp, src/ShadingPatch.hpp,
3137 src/SpecialActions.hpp, src/TpicSpecialHandler.cpp, src/XMLDocument.cpp,
3138 src/XMLDocument.hpp, src/XMLNode.cpp, src/XMLNode.hpp, src/utility.hpp,
3139 tests/DvisvgmSpecialTest.cpp, tests/EmSpecialTest.cpp,
3140 tests/TpicSpecialTest.cpp, tests/XMLNodeTest.cpp:
3141 replaced raw XMLNode pointers with unique_ptrs
3142 which helps to ensure
3143 proper ownership and simplifies deleting the corresponding objects
3144
3145 * src/DependencyGraph.hpp, src/SVGTree.cpp, tests/DependencyGraphTest.cpp:
3146 manage heap memory in DependencyGraph with unique_ptrs
3147
3148 2017-10-21 Martin Gieseking <martin.gieseking@uos.de>
3149
3150 * libs/ff-woff/fontforge/macbinary.c:
3151 updated link to CTAN:/tools/macutils/crc
3152
3153 2017-10-20 Martin Gieseking <martin.gieseking@uos.de>
3154
3155 * libs/woff2/include/woff2/version.h:
3156 replaced CRLF line endings
3157
3158 2017-10-17 Martin Gieseking <martin.gieseking@uos.de>
3159
3160 * src/CMapManager.cpp, src/CMapReader.cpp, src/CMapReader.hpp,
3161 src/DVIActions.hpp, src/DVIToSVG.cpp, src/DVIToSVG.hpp,
3162 src/DVIToSVGActions.hpp, src/FileFinder.cpp, src/Font.cpp, src/Font.hpp,
3163 src/FontEncoding.cpp, src/FontEncoding.hpp, src/FontEngine.cpp,
3164 src/FontEngine.hpp, src/FontManager.cpp, src/FontMetrics.cpp,
3165 src/FontMetrics.hpp, src/PSPattern.hpp, src/PsSpecialHandler.cpp,
3166 src/PsSpecialHandler.hpp, src/SVGCharHandlerFactory.cpp,
3167 src/SVGCharHandlerFactory.hpp, src/SVGOutput.cpp,
3168 src/SVGSingleCharTextHandler.hpp, src/SVGTree.cpp, src/ShadingPatch.cpp,
3169 src/ShadingPatch.hpp, src/SignalHandler.cpp, src/Subfont.cpp,
3170 src/Subfont.hpp, src/XMLNode.cpp, tests/CMapReaderTest.cpp,
3171 tests/ShadingPatchTest.cpp:
3172 replaced several bare new/delete statements with unique pointers
3173
3174 * src/dvisvgm.cpp:
3175 fixed output of option --version
3176
3177 * src/Length.hpp, src/PageSize.cpp:
3178 added user-defined literals for some length units
3179
3180 * .appveyor.yml, .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
3181 set version to 2.2
3182
3183 * NEWS, README, README.md:
3184 updated NEWS and README
3185
3186 2017-10-16 Martin Gieseking <martin.gieseking@uos.de>
3187
3188 * src/FontWriter.cpp:
3189 added missing #include of config.h
3190
3191 * src/Message.cpp:
3192 check for '\0' at end of DVISVGM_COLORS
3193
3194 * src/Subfont.cpp:
3195 don't access unique_ptr after it has been moved
3196
3197 2017-10-15 Martin Gieseking <martin.gieseking@uos.de>
3198
3199 * src/PDFParser.cpp, src/PDFParser.hpp:
3200 replaced shared_ptr with unique_ptr in PDFParser
3201
3202 2017-10-13 Martin Gieseking <martin.gieseking@uos.de>
3203
3204 * AUTHORS, configure.ac, doc/dvisvgm.txt.in, libs/Makefile.am,
3205 libs/variant/CMakeLists.txt, libs/variant/LICENSE.md,
3206 libs/variant/Makefile.am, libs/variant/include/mpark/in_place.hpp,
3207 libs/variant/include/mpark/lib.hpp,
3208 libs/variant/include/mpark/variant.hpp, src/HyperlinkManager.cpp,
3209 src/HyperlinkManager.hpp, src/InputReader.hpp, src/Makefile.am,
3210 src/PDFParser.cpp, src/PDFParser.hpp, src/PdfSpecialHandler.cpp,
3211 src/PdfSpecialHandler.hpp, tests/Makefile.am, tests/PDFParserTest.cpp,
3212 tests/SpecialManagerTest.cpp, tests/create-makefile:
3213 added evaluation of PDF hyperlink specials (closes #74)
3214
3215 * libs/variant/include/mpark/config.hpp:
3216 added missing config file
3217
3218 * .travis.yml:
3219 Travis: use gcc 4.9 rather than 4.8 to compile mpark::variant correctly
3220
3221 * tests/Makefile.am, tests/create-makefile, tests/testmain.cpp:
3222 add custom testmain to gtest.a
3223
3224 2017-10-11 Martin Gieseking <martin.gieseking@uos.de>
3225
3226 * src/HtmlSpecialHandler.cpp, src/HtmlSpecialHandler.hpp,
3227 src/HyperlinkManager.cpp, src/HyperlinkManager.hpp, src/Makefile.am,
3228 src/dvisvgm.cpp:
3229 separated hyperlink functionality from HtmlSpecialHandler to
3230 HyperlinkManager
3231
3232 2017-10-09 Martin Gieseking <martin.gieseking@uos.de>
3233
3234 * libs/woff2/src/font.cc, libs/woff2/src/normalize.cc,
3235 libs/woff2/src/woff2_enc.cc:
3236 woff2: removed unused variables to prevent compiler warnings
3237
3238 * libs/woff2/src/font.cc, libs/woff2/src/normalize.cc,
3239 libs/woff2/src/woff2_enc.cc:
3240 woff2: removed unused variables to prevent compiler warnings
3241
3242 2017-10-08 Martin Gieseking <martin.gieseking@uos.de>
3243
3244 * libs/woff2/Makefile.am, libs/woff2/include/woff2/decode.h,
3245 libs/woff2/include/woff2/encode.h, libs/woff2/include/woff2/file.h,
3246 libs/woff2/include/woff2/output.h, libs/woff2/include/woff2/version.h,
3247 libs/woff2/src/buffer.h, libs/woff2/src/file.h, libs/woff2/src/font.cc,
3248 libs/woff2/src/font.h, libs/woff2/src/glyph.cc, libs/woff2/src/glyph.h,
3249 libs/woff2/src/normalize.cc, libs/woff2/src/normalize.h,
3250 libs/woff2/src/port.h, libs/woff2/src/round.h,
3251 libs/woff2/src/store_bytes.h, libs/woff2/src/table_tags.cc,
3252 libs/woff2/src/table_tags.h, libs/woff2/src/transform.cc,
3253 libs/woff2/src/transform.h, libs/woff2/src/variable_length.cc,
3254 libs/woff2/src/variable_length.h, libs/woff2/src/woff2_common.cc,
3255 libs/woff2/src/woff2_common.h, libs/woff2/src/woff2_dec.h,
3256 libs/woff2/src/woff2_enc.cc, libs/woff2/src/woff2_enc.h,
3257 libs/woff2/src/woff2_out.cc, libs/woff2/src/woff2_out.h,
3258 src/FontWriter.cpp, src/Makefile.am, src/dvisvgm.cpp:
3259 updated woff2 to version 1.0.1
3260
3261 2017-10-06 Martin Gieseking <martin.gieseking@uos.de>
3262
3263 * src/CRC32.hpp, src/SpecialManager.hpp, src/Subfont.hpp, src/XMLNode.hpp:
3264 use delete/default to remove/implement constructors
3265
3266 * src/XMLNode.cpp, src/XMLNode.hpp:
3267 added move constructor to XMLElementNode
3268
3269 * src/Subfont.cpp, src/Subfont.hpp, src/utility.hpp:
3270 removed stream-based constructor of SubfontException
3271
3272 2017-09-29 Martin Gieseking <martin.gieseking@uos.de>
3273
3274 * doc/dvisvgm.txt.in, src/PapersizeSpecialHandler.cpp,
3275 src/PapersizeSpecialHandler.hpp, src/PdfSpecialHandler.cpp,
3276 src/PdfSpecialHandler.hpp, src/SpecialManager.cpp,
3277 src/SpecialManager.hpp, tests/PapersizeSpecialTest.cpp:
3278 added evaluation of pdf:pagesize specials
3279
3280 2017-09-28 Martin Gieseking <martin.gieseking@uos.de>
3281
3282 * src/DVIToSVG.cpp, src/Length.hpp, src/PageSize.cpp, src/PageSize.hpp,
3283 src/utility.hpp, tests/PageSizeTest.cpp:
3284 use class Length in PageSize rather than plain numbers
3285
3286 * src/BoundingBox.cpp, src/BoundingBox.hpp, src/DVIToSVG.cpp,
3287 src/utility.cpp, src/utility.hpp, tests/BoundingBoxTest.cpp,
3288 tests/UtilityTest.cpp:
3289 rewrite of BoundingBox::extractLengths()
3290
3291 2017-09-21 Martin Gieseking <martin.gieseking@uos.de>
3292
3293 * src/TpicSpecialHandler.cpp:
3294 use isxdigit() to check hex digits
3295
3296 * src/InputReader.cpp, src/InputReader.hpp, tests/Makefile.am,
3297 tests/SplittedCharInputBufferTest.cpp, tests/StreamInputBufferTest.cpp,
3298 tests/StringMatcherTest.cpp:
3299 use Knuth-Morris-Pratt algorithm to find a string in a stream
3300
3301 * libs/woff2/brotli/common/constants.h,
3302 libs/woff2/brotli/common/dictionary.c,
3303 libs/woff2/brotli/common/dictionary.h,
3304 libs/woff2/brotli/common/version.h,
3305 libs/woff2/brotli/enc/backward_references.c,
3306 libs/woff2/brotli/enc/backward_references_hq.c,
3307 libs/woff2/brotli/enc/backward_references_hq.h,
3308 libs/woff2/brotli/enc/backward_references_inc.h,
3309 libs/woff2/brotli/enc/block_splitter.c,
3310 libs/woff2/brotli/enc/block_splitter_inc.h,
3311 libs/woff2/brotli/enc/brotli_bit_stream.c,
3312 libs/woff2/brotli/enc/brotli_bit_stream.h,
3313 libs/woff2/brotli/enc/cluster_inc.h, libs/woff2/brotli/enc/command.h,
3314 libs/woff2/brotli/enc/compress_fragment.c,
3315 libs/woff2/brotli/enc/compress_fragment_two_pass.c,
3316 libs/woff2/brotli/enc/encode.c,
3317 libs/woff2/brotli/enc/find_match_length.h, libs/woff2/brotli/enc/hash.h,
3318 libs/woff2/brotli/enc/hash_forgetful_chain_inc.h,
3319 libs/woff2/brotli/enc/hash_longest_match64_inc.h,
3320 libs/woff2/brotli/enc/hash_longest_match_inc.h,
3321 libs/woff2/brotli/enc/hash_longest_match_quickly_inc.h,
3322 libs/woff2/brotli/enc/hash_to_binary_tree_inc.h,
3323 libs/woff2/brotli/enc/memory.h, libs/woff2/brotli/enc/port.h,
3324 libs/woff2/brotli/enc/write_bits.h,
3325 libs/woff2/brotli/include/brotli/decode.h,
3326 libs/woff2/brotli/include/brotli/encode.h:
3327 updated Brotli to version 1.0.1
3328
3329 2017-09-15 Martin Gieseking <martin.gieseking@uos.de>
3330
3331 * src/DVIToSVG.cpp, src/SpecialManager.cpp, src/SpecialManager.hpp,
3332 src/utility.hpp, tests/Makefile.am, tests/SpecialManagerTest.cpp:
3333 use smart pointers to allocate/deallocate SpecialHandlers
3334
3335 * src/BgColorSpecialHandler.cpp, src/BgColorSpecialHandler.hpp,
3336 src/ColorSpecialHandler.cpp, src/ColorSpecialHandler.hpp,
3337 src/DvisvgmSpecialHandler.cpp, src/DvisvgmSpecialHandler.hpp,
3338 src/EmSpecialHandler.cpp, src/EmSpecialHandler.hpp,
3339 src/HtmlSpecialHandler.cpp, src/HtmlSpecialHandler.hpp,
3340 src/NoPsSpecialHandler.cpp, src/NoPsSpecialHandler.hpp,
3341 src/PapersizeSpecialHandler.cpp, src/PapersizeSpecialHandler.hpp,
3342 src/PdfSpecialHandler.cpp, src/PdfSpecialHandler.hpp,
3343 src/PsSpecialHandler.cpp, src/PsSpecialHandler.hpp,
3344 src/SpecialHandler.hpp, src/SpecialManager.cpp,
3345 src/TpicSpecialHandler.cpp, src/TpicSpecialHandler.hpp,
3346 tests/ColorSpecialTest.cpp, tests/PapersizeSpecialTest.cpp:
3347 changed return value of SpecialHandler::prefixes() to std::vector
3348
3349 * .appveyor.yml:
3350 AppVeyor: updated FreeType to version 2.8.1
3351
3352 2017-09-13 Martin Gieseking <martin.gieseking@uos.de>
3353
3354 * tests/FileSystemTest.cpp:
3355 close streams before removing corresponding files
3356
3357 2017-09-09 Martin Gieseking <martin.gieseking@uos.de>
3358
3359 * src/dvisvgm.cpp:
3360 fixed number of dashes printed by option -V1
3361
3362 2017-09-08 Martin Gieseking <martin.gieseking@uos.de>
3363
3364 * src/DependencyGraph.hpp, src/SVGTree.cpp, tests/DependencyGraphTest.cpp:
3365 DependencyGraph::getKeys(): return result, don't use reference parameter
3366
3367 * src/FileFinder.cpp, src/Makefile.am:
3368 added missing #include; added windows.hpp to Makefile.am
3369
3370 * tests/Makefile.am, tests/create-makefile, tests/testmain.cpp:
3371 define variable TEST_ARGV0 to make argv[0] of main() available in
3372 tests
3373 this is required to initialize kpathsea properly, for example
3374
3375 * src/FileFinder.cpp, src/FileFinder.hpp, tests/CMapManagerTest.cpp,
3376 tests/FileFinderTest.cpp, tests/FontManagerTest.cpp,
3377 tests/MapLineTest.cpp, tests/SubfontTest.cpp:
3378 init libkpathsea correctly in tests to prevent assertion failures
3379
3380 * libs/xxHash/xxhash.c, libs/xxHash/xxhash.h:
3381 updated xxHash to version 0.6.3
3382
3383 2017-09-07 Martin Gieseking <martin.gieseking@uos.de>
3384
3385 * tests/FontCacheTest.cpp, tests/Makefile.am, tests/create-makefile:
3386 fixed path issue in FontCacheTest
3387
3388 * src/GFReader.cpp:
3389 fixed incorrect integer type in GFReader; insert CharInfos with emplace
3390
3391 * src/MapLine.cpp, tests/MapLineTest.cpp:
3392 treat prefix "<<" in a mapline as "<[" (skip second char)
3393
3394 * doc/dvisvgm.txt.in, src/dvisvgm.cpp:
3395 added pdftex.map to default mapfiles
3396
3397 2017-09-06 Martin Gieseking <martin.gieseking@uos.de>
3398
3399 * src/BasicDVIReader.cpp, src/BgColorSpecialHandler.cpp, src/Bitmap.cpp,
3400 src/BoundingBox.cpp, src/CMap.cpp, src/CMapReader.cpp, src/CRC32.cpp,
3401 src/Calculator.cpp, src/ColorSpecialHandler.cpp, src/DLLoader.cpp,
3402 src/DVIReader.cpp, src/Directory.cpp, src/EPSFile.cpp, src/EPSToSVG.cpp,
3403 src/EmSpecialHandler.cpp, src/EncFile.cpp, src/FileFinder.cpp,
3404 src/FilePath.cpp, src/Font.cpp, src/FontCache.cpp, src/FontEncoding.cpp,
3405 src/FontEngine.cpp, src/FontManager.cpp, src/FontMap.cpp,
3406 src/FontMap.hpp, src/FontMetrics.cpp, src/FontWriter.cpp,
3407 src/GFGlyphTracer.cpp, src/GFTracer.cpp, src/HtmlSpecialHandler.cpp,
3408 src/InputBuffer.cpp, src/InputReader.cpp, src/JFM.cpp, src/MapLine.cpp,
3409 src/Message.cpp, src/MetafontWrapper.cpp, src/MiKTeXCom.cpp,
3410 src/NoPsSpecialHandler.cpp, src/PSInterpreter.cpp, src/PSPattern.cpp,
3411 src/PSPreviewFilter.cpp, src/PageRanges.cpp, src/PageSize.cpp,
3412 src/PathClipper.cpp, src/PdfSpecialHandler.cpp, src/SVGTree.cpp,
3413 src/SpecialManager.cpp, src/StreamWriter.cpp, src/TFM.cpp,
3414 src/VFReader.cpp, src/XMLDocument.cpp, src/XMLNode.cpp,
3415 src/XMLString.cpp, src/dvisvgm.cpp:
3416 removed redundant #includes of config.h
3417
3418 * src/DLLoader.hpp, src/Directory.cpp, src/Directory.hpp,
3419 src/FileSystem.cpp, src/MiKTeXCom.hpp, src/Process.cpp, src/Terminal.cpp,
3420 src/windows.hpp:
3421 disable macros min/max defined in windows.h
3422
3423 * src/CLCommandLine.cpp, src/CMapManager.cpp, src/CMapManager.hpp,
3424 src/Calculator.cpp, src/Calculator.hpp, src/DVIToSVG.cpp,
3425 src/DVIToSVGActions.hpp, src/DependencyGraph.hpp,
3426 src/DvisvgmSpecialHandler.cpp, src/DvisvgmSpecialHandler.hpp,
3427 src/EmSpecialHandler.cpp, src/EmSpecialHandler.hpp, src/FileFinder.cpp,
3428 src/Font.cpp, src/Font.hpp, src/FontCache.hpp, src/FontEncoding.cpp,
3429 src/FontManager.cpp, src/FontManager.hpp, src/FontMap.hpp,
3430 src/GFReader.hpp, src/HtmlSpecialHandler.cpp, src/HtmlSpecialHandler.hpp,
3431 src/InputReader.cpp, src/InputReader.hpp, src/Message.cpp,
3432 src/PsSpecialHandler.cpp, src/PsSpecialHandler.hpp, src/SVGTree.cpp,
3433 src/SVGTree.hpp, src/SpecialManager.hpp, src/Subfont.cpp,
3434 src/Subfont.hpp, tests/StreamInputBufferTest.cpp:
3435 replaced std::map with std::unordered_map where possible to increase
3436 performance
3437
3438 2017-09-05 Martin Gieseking <martin.gieseking@uos.de>
3439
3440 * tests/DvisvgmSpecialTest.cpp:
3441 replaced constexpr with const to make clang happy
3442
3443 * doc/dvisvgm.txt.in, src/DvisvgmSpecialHandler.cpp,
3444 tests/DvisvgmSpecialTest.cpp:
3445 allow all common length units in dvisvgm specials
3446
3447 2017-08-27 Martin Gieseking <martin.gieseking@uos.de>
3448
3449 * src/AGLTable.hpp, src/CMapReader.cpp, src/Color.cpp,
3450 src/CommandLine.hpp, src/FontWriter.cpp, tests/genhashcheck.py:
3451 use list initialization on constant std::arrays
3452
3453 * tests/MapLineTest.cpp:
3454 added braces to prevent compiler warnings
3455
3456 2017-08-25 Martin Gieseking <martin.gieseking@uos.de>
3457
3458 * src/CMapManager.cpp, src/DvisvgmSpecialHandler.cpp, src/Font.cpp,
3459 src/Ghostscript.cpp, src/PsSpecialHandler.cpp, src/dvisvgm.cpp,
3460 tests/DvisvgmSpecialTest.cpp:
3461 use range-based for to iterate over a fixed sequence of items
3462
3463 2017-08-17 Martin Gieseking <martin.gieseking@uos.de>
3464
3465 * m4/ax_code_coverage.m4:
3466 updated ax_code_coverage.m4 to version 25
3467
3468 2017-08-06 Martin Gieseking <martin.gieseking@uos.de>
3469
3470 * .appveyor.yml:
3471 AppVeyor: updated potrace to version 1.15
3472
3473 2017-08-01 Martin Gieseking <martin.gieseking@uos.de>
3474
3475 * libs/woff2/src/font.cc, libs/woff2/src/normalize.cc,
3476 libs/woff2/src/port.h, libs/woff2/src/store_bytes.h,
3477 libs/woff2/src/woff2_common.cc, libs/woff2/src/woff2_enc.cc:
3478 updated woff2 to https://github.com/google/woff2/commits/2e09253
3479
3480 2017-06-26 Martin Gieseking <martin.gieseking@uos.de>
3481
3482 * .appveyor.yml:
3483 AppVeyor: changed build image to VS 2017; updated FreeType to 2.8
3484
3485 2017-06-20 Martin Gieseking <martin.gieseking@uos.de>
3486
3487 * src/PsSpecialHandler.cpp:
3488 psfile: fixed sign of y coordinates
3489
3490 2017-06-12 Martin Gieseking <martin.gieseking@uos.de>
3491
3492 * src/PsSpecialHandler.hpp:
3493 use bp units for line width and miter limit
3494
3495 2017-06-09 Martin Gieseking <martin.gieseking@uos.de>
3496
3497 * src/EPSToSVG.cpp:
3498 remove redundant clipPath elements also when converting EPS files
3499
3500 2017-05-30 Martin Gieseking <martin.gieseking@uos.de>
3501
3502 * src/GraphicsPath.hpp:
3503 replaced vector with deque in class GraphicsPath
3504 due to cheaper front
3505 insertions/deletions
3506
3507 * src/PsSpecialHandler.cpp, src/PsSpecialHandler.hpp:
3508 manage memory of ClippingStack with shared pointers
3509 - automatically
3510 deletes unreferenced path objects
3511 - avoids keeping popped (and no longer
3512 required) paths in the pool vector
3513
3514 2017-05-26 Martin Gieseking <martin.gieseking@uos.de>
3515
3516 * src/Pair.hpp, tests/PairTest.cpp:
3517 added abs() and negation operator to class Pair
3518
3519 * src/Matrix.hpp, src/PsSpecialHandler.cpp:
3520 respect transformation of PS state in computation of psfile position
3521 (fixes #70)
3522
3523 * src/FileFinder.cpp, src/PsSpecialHandler.cpp:
3524 lookup psfile in texmf tree if it's not present in cwd (fixes #69)
3525
3526 2017-05-16 Martin Gieseking <martin.gieseking@uos.de>
3527
3528 * tests/FontCacheTest.cpp, tests/Makefile.am, tests/create-makefile:
3529 FontCacheTest: write test output to $builddir/data
3530 $srcdir/data may be
3531 read-only so that the tests fail unintentionally
3532
3533 2017-05-15 Martin Gieseking <martin.gieseking@uos.de>
3534
3535 * libs/woff2/brotli/LICENSE, libs/woff2/brotli/Makefile.am,
3536 libs/woff2/brotli/common/constants.h,
3537 libs/woff2/brotli/common/dictionary.c,
3538 libs/woff2/brotli/common/dictionary.h,
3539 libs/woff2/brotli/common/version.h,
3540 libs/woff2/brotli/enc/backward_references.c,
3541 libs/woff2/brotli/enc/backward_references.h,
3542 libs/woff2/brotli/enc/backward_references_hq.c,
3543 libs/woff2/brotli/enc/backward_references_hq.h,
3544 libs/woff2/brotli/enc/backward_references_inc.h,
3545 libs/woff2/brotli/enc/block_splitter_inc.h,
3546 libs/woff2/brotli/enc/command.h,
3547 libs/woff2/brotli/enc/compress_fragment.c,
3548 libs/woff2/brotli/enc/compress_fragment.h,
3549 libs/woff2/brotli/enc/compress_fragment_two_pass.c,
3550 libs/woff2/brotli/enc/compress_fragment_two_pass.h,
3551 libs/woff2/brotli/enc/context.h, libs/woff2/brotli/enc/dictionary_hash.c,
3552 libs/woff2/brotli/enc/dictionary_hash.h, libs/woff2/brotli/enc/encode.c,
3553 libs/woff2/brotli/enc/fast_log.h, libs/woff2/brotli/enc/hash.h,
3554 libs/woff2/brotli/enc/hash_forgetful_chain_inc.h,
3555 libs/woff2/brotli/enc/hash_longest_match64_inc.h,
3556 libs/woff2/brotli/enc/hash_longest_match_inc.h,
3557 libs/woff2/brotli/enc/hash_longest_match_quickly_inc.h,
3558 libs/woff2/brotli/enc/hash_to_binary_tree_inc.h,
3559 libs/woff2/brotli/enc/histogram.c, libs/woff2/brotli/enc/literal_cost.c,
3560 libs/woff2/brotli/enc/memory.h, libs/woff2/brotli/enc/metablock.c,
3561 libs/woff2/brotli/enc/metablock.h, libs/woff2/brotli/enc/quality.h,
3562 libs/woff2/brotli/enc/static_dict.c, libs/woff2/brotli/enc/static_dict.h,
3563 libs/woff2/brotli/include/brotli/decode.h,
3564 libs/woff2/brotli/include/brotli/encode.h,
3565 libs/woff2/brotli/include/brotli/port.h,
3566 libs/woff2/brotli/include/brotli/types.h:
3567 updated brotli to version 0.6.0
3568
3569 2017-05-11 Martin Gieseking <martin.gieseking@uos.de>
3570
3571 * src/Process.cpp:
3572 close pipe if fork() fails
3573
3574 2017-05-08 Martin Gieseking <martin.gieseking@uos.de>
3575
3576 * configure.ac, src/SignalHandler.cpp, src/SignalHandler.hpp:
3577 use sigaction() rather than signal() if possible
3578
3579 * src/Process.cpp, src/Process.hpp:
3580 refactored Process class
3581 - use separate class to encapsulate
3582 system-dependent stuff and to ensure
3583 proper termination in case of
3584 signals or errors
3585 - prevent blocking if subprocess doesn't write anything
3586 to stdout/stderr
3587
3588 2017-04-28 Martin Gieseking <martin.gieseking@uos.de>
3589
3590 * src/Process.cpp:
3591 quit Process::run() if child process terminated unexpectedly (fixes #68)
3592
3593 2017-04-27 Martin Gieseking <martin.gieseking@uos.de>
3594
3595 * tests/Makefile.am, tests/create-makefile:
3596 added the FontWriter dependencies to the tests
3597
3598 2017-04-24 Martin Gieseking <martin.gieseking@uos.de>
3599
3600 * src/Color.cpp, src/Color.hpp, src/PSPattern.cpp,
3601 tests/ColorSpecialTest.cpp:
3602 avoid implicit conversion of Color object to RGB integer
3603
3604 * src/TpicSpecialHandler.cpp, src/TpicSpecialHandler.hpp,
3605 tests/Makefile.am, tests/TpicSpecialTest.cpp:
3606 improved the TPIC special handler and added tests for it
3607
3608 * src/TpicSpecialHandler.cpp, tests/TpicSpecialTest.cpp:
3609 added evaluation of TPIC's 'tx' special command
3610
3611 2017-04-23 Martin Gieseking <martin.gieseking@uos.de>
3612
3613 * src/BasicDVIReader.hpp, src/BgColorSpecialHandler.hpp,
3614 src/CLCommandLine.hpp, src/CMapManager.hpp, src/DVIToSVGActions.hpp,
3615 src/DependencyGraph.hpp, src/DvisvgmSpecialHandler.hpp, src/FilePath.hpp,
3616 src/Font.hpp, src/FontCache.cpp, src/FontCache.hpp, src/FontEngine.cpp,
3617 src/FontManager.hpp, src/Ghostscript.hpp, src/Glyph.hpp,
3618 src/GraphicsPath.hpp, src/HtmlSpecialHandler.hpp, src/NumericRanges.hpp,
3619 src/PapersizeSpecialHandler.cpp, src/PapersizeSpecialHandler.hpp,
3620 src/PathClipper.cpp, src/PathClipper.hpp, src/PsSpecialHandler.hpp,
3621 src/RangeMap.hpp, src/SVGCharPathHandler.hpp, src/ShadingPatch.hpp,
3622 src/SpecialManager.hpp, src/Subfont.hpp, src/VFReader.hpp,
3623 src/XMLNode.cpp, src/XMLNode.hpp, src/dvisvgm.cpp:
3624 replaced typedefs with 'using' statements
3625
3626 2017-04-20 Martin Gieseking <martin.gieseking@uos.de>
3627
3628 * src/Ghostscript.cpp:
3629 simplify code for looking up libgs (closes #66)
3630
3631 2017-04-14 Martin Gieseking <martin.gieseking@uos.de>
3632
3633 * src/DLLoader.cpp, src/DLLoader.hpp:
3634 added DLLoader::loadLibrary() to assign a different library
3635
3636 * src/DLLoader.cpp, src/DLLoader.hpp, src/Ghostscript.cpp:
3637 replaced c-string parameters of DLLoader() and loadLibrary() with
3638 std::string
3639
3640 2017-04-13 Toby Fleming <tobywf@users.noreply.github.com>
3641
3642 * src/Ghostscript.cpp:
3643 Auto-detect ghostscript dynamic library on macOS
3644
3645 2017-03-22 Martin Gieseking <martin.gieseking@uos.de>
3646
3647 * m4/ax_code_coverage.m4, m4/ax_cxx_compile_stdcxx.m4:
3648 updated m4 scripts
3649
3650 2017-03-03 Martin Gieseking <martin.gieseking@uos.de>
3651
3652 * src/FileFinder.cpp, tests/FileFinderTest.cpp:
3653 fixed handling of absolute additional directories in FileFinder
3654
3655 * tests/FilePathTest.cpp, tests/FontCacheTest.cpp,
3656 tests/SVGOutputTest.cpp:
3657 tests: minor path improvements
3658
3659 2017-03-02 Martin Gieseking <martin.gieseking@uos.de>
3660
3661 * libs/woff2/src/normalize.cc, libs/woff2/src/woff2_enc.cc:
3662 woff2: removed unused variables
3663
3664 * src/Makefile.am, src/dvisvgm.cpp:
3665 improved generation of list showing the library versions
3666
3667 * src/Color.cpp, src/FilePath.cpp, src/FontWriter.cpp, src/PageSize.cpp,
3668 src/dvisvgm.cpp, src/utility.cpp, src/utility.hpp, tests/UtilityTest.cpp:
3669 removed side-effect from util::to_lower(); returns new modified string
3670 instead
3671
3672 2017-03-01 Martin Gieseking <martin.gieseking@uos.de>
3673
3674 * libs/ff-woff/fontforge/nowakowskittfinstr.c:
3675 ff-woff: removed redundant variables
3676
3677 * libs/woff2/Makefile.am, libs/woff2/brotli/Makefile.am,
3678 libs/woff2/brotli/common/constants.h,
3679 libs/woff2/brotli/common/dictionary.c,
3680 libs/woff2/brotli/common/dictionary.h,
3681 libs/woff2/brotli/common/version.h,
3682 libs/woff2/brotli/enc/backward_references.c,
3683 libs/woff2/brotli/enc/backward_references.cc,
3684 libs/woff2/brotli/enc/backward_references.h,
3685 libs/woff2/brotli/enc/backward_references_inc.h,
3686 libs/woff2/brotli/enc/bit_cost.c, libs/woff2/brotli/enc/bit_cost.h,
3687 libs/woff2/brotli/enc/bit_cost_inc.h,
3688 libs/woff2/brotli/enc/block_encoder_inc.h,
3689 libs/woff2/brotli/enc/block_splitter.c,
3690 libs/woff2/brotli/enc/block_splitter.cc,
3691 libs/woff2/brotli/enc/block_splitter.h,
3692 libs/woff2/brotli/enc/block_splitter_inc.h,
3693 libs/woff2/brotli/enc/brotli_bit_stream.c,
3694 libs/woff2/brotli/enc/brotli_bit_stream.cc,
3695 libs/woff2/brotli/enc/brotli_bit_stream.h,
3696 libs/woff2/brotli/enc/cluster.c, libs/woff2/brotli/enc/cluster.h,
3697 libs/woff2/brotli/enc/cluster_inc.h, libs/woff2/brotli/enc/command.h,
3698 libs/woff2/brotli/enc/compress_fragment.c,
3699 libs/woff2/brotli/enc/compress_fragment.cc,
3700 libs/woff2/brotli/enc/compress_fragment.h,
3701 libs/woff2/brotli/enc/compress_fragment_two_pass.c,
3702 libs/woff2/brotli/enc/compress_fragment_two_pass.cc,
3703 libs/woff2/brotli/enc/compress_fragment_two_pass.h,
3704 libs/woff2/brotli/enc/compressor.h, libs/woff2/brotli/enc/context.h,
3705 libs/woff2/brotli/enc/dictionary.cc, libs/woff2/brotli/enc/dictionary.h,
3706 libs/woff2/brotli/enc/dictionary_hash.h, libs/woff2/brotli/enc/encode.c,
3707 libs/woff2/brotli/enc/encode.cc, libs/woff2/brotli/enc/encode.h,
3708 libs/woff2/brotli/enc/encode_parallel.cc,
3709 libs/woff2/brotli/enc/encode_parallel.h,
3710 libs/woff2/brotli/enc/entropy_encode.c,
3711 libs/woff2/brotli/enc/entropy_encode.cc,
3712 libs/woff2/brotli/enc/entropy_encode.h,
3713 libs/woff2/brotli/enc/entropy_encode_static.h,
3714 libs/woff2/brotli/enc/fast_log.h,
3715 libs/woff2/brotli/enc/find_match_length.h, libs/woff2/brotli/enc/hash.h,
3716 libs/woff2/brotli/enc/hash_forgetful_chain_inc.h,
3717 libs/woff2/brotli/enc/hash_longest_match_inc.h,
3718 libs/woff2/brotli/enc/hash_longest_match_quickly_inc.h,
3719 libs/woff2/brotli/enc/histogram.c, libs/woff2/brotli/enc/histogram.cc,
3720 libs/woff2/brotli/enc/histogram.h, libs/woff2/brotli/enc/histogram_inc.h,
3721 libs/woff2/brotli/enc/literal_cost.c,
3722 libs/woff2/brotli/enc/literal_cost.cc,
3723 libs/woff2/brotli/enc/literal_cost.h, libs/woff2/brotli/enc/memory.c,
3724 libs/woff2/brotli/enc/memory.h, libs/woff2/brotli/enc/metablock.c,
3725 libs/woff2/brotli/enc/metablock.cc, libs/woff2/brotli/enc/metablock.h,
3726 libs/woff2/brotli/enc/metablock_inc.h, libs/woff2/brotli/enc/port.h,
3727 libs/woff2/brotli/enc/prefix.h, libs/woff2/brotli/enc/quality.h,
3728 libs/woff2/brotli/enc/ringbuffer.h, libs/woff2/brotli/enc/static_dict.c,
3729 libs/woff2/brotli/enc/static_dict.cc,
3730 libs/woff2/brotli/enc/static_dict.h,
3731 libs/woff2/brotli/enc/static_dict_lut.h,
3732 libs/woff2/brotli/enc/streams.cc, libs/woff2/brotli/enc/streams.h,
3733 libs/woff2/brotli/enc/transform.h, libs/woff2/brotli/enc/types.h,
3734 libs/woff2/brotli/enc/utf8_util.c, libs/woff2/brotli/enc/utf8_util.cc,
3735 libs/woff2/brotli/enc/utf8_util.h, libs/woff2/brotli/enc/write_bits.h,
3736 libs/woff2/brotli/include/brotli/decode.h,
3737 libs/woff2/brotli/include/brotli/encode.h,
3738 libs/woff2/brotli/include/brotli/port.h,
3739 libs/woff2/brotli/include/brotli/types.h, libs/woff2/src/buffer.h,
3740 libs/woff2/src/font.cc, libs/woff2/src/glyph.cc,
3741 libs/woff2/src/variable_length.cc, libs/woff2/src/woff2_dec.h,
3742 libs/woff2/src/woff2_enc.cc, src/Makefile.am:
3743 updated woff2 to https://github.com/google/woff2/commit/68e9ab5
3744
3745 2017-02-23 Martin Gieseking <martin.gieseking@uos.de>
3746
3747 * tests/BezierTest.cpp, tests/BitmapTest.cpp, tests/BoundingBoxTest.cpp,
3748 tests/CMapManagerTest.cpp, tests/CMapReaderTest.cpp, tests/CMapTest.cpp,
3749 tests/CRC32Test.cpp, tests/ColorTest.cpp, tests/CommandLineTest.cpp,
3750 tests/DirectoryTest.cpp, tests/FileSystemTest.cpp,
3751 tests/GraphicsPathTest.cpp, tests/JFMReaderTest.cpp,
3752 tests/MatrixTest.cpp, tests/PageRagesTest.cpp, tests/RangeMapTest.cpp,
3753 tests/SVGOutputTest.cpp, tests/SplittedCharInputBufferTest.cpp,
3754 tests/StreamInputBufferTest.cpp, tests/StreamReaderTest.cpp,
3755 tests/StreamWriterTest.cpp, tests/SubfontTest.cpp,
3756 tests/TFMReaderTest.cpp, tests/ToUnicodeMapTest.cpp,
3757 tests/UnicodeTest.cpp, tests/VectorIteratorTest.cpp,
3758 tests/XMLNodeTest.cpp:
3759 fixed signed/unsigned warnings in tests
3760
3761 2017-02-22 Martin Gieseking <martin.gieseking@uos.de>
3762
3763 * libs/woff2/brotli/tools/bro.cc, libs/woff2/brotli/tools/rfc-format.py,
3764 libs/woff2/brotli/tools/version.h:
3765 removed redundant files
3766
3767 2017-02-20 Martin Gieseking <martin.gieseking@uos.de>
3768
3769 * .appveyor.yml, .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
3770 set version to 2.1.3
3771
3772 * NEWS:
3773 updated NEWS
3774
3775 2017-02-18 Martin Gieseking <martin.gieseking@uos.de>
3776
3777 * libs/ff-woff/inc/ffintl.h:
3778 ff-woff: removed redundant defines and prototypes to fix build failure
3779 on Solaris
3780
3781 * tests/genhashcheck.py:
3782 reformatted genhashcheck
3783
3784 * tests/BezierTest.cpp, tests/CRC32Test.cpp, tests/ToUnicodeMapTest.cpp,
3785 tests/UnicodeTest.cpp, tests/VectorIteratorTest.cpp,
3786 tests/XMLNodeTest.cpp:
3787 minor additions to some tests
3788
3789 2017-02-15 Martin Gieseking <martin.gieseking@uos.de>
3790
3791 * configure.ac, libs/ff-woff/Makefile.am,
3792 libs/ff-woff/fontforge/fflocale.c, libs/ff-woff/fontforge/fflocale.h,
3793 libs/ff-woff/fontforge/sfd.c, libs/ff-woff/fontforge/splinefont.h,
3794 libs/ff-woff/fontforge/tottf.c:
3795 ff-woff: only call uselocale() if present, use setlocale() otherwise
3796
3797 2017-02-14 Martin Gieseking <martin.gieseking@uos.de>
3798
3799 * README, README.md:
3800 added information on required C++11 compiler to README
3801
3802 * tests/genhashcheck.py:
3803 made genhashcheck.py compatible with Python 3 (plus few minor changes)
3804
3805 2017-02-13 Martin Gieseking <martin.gieseking@uos.de>
3806
3807 * src/MapLine.cpp, src/MapLine.hpp, tests/ColorSpecialTest.cpp,
3808 tests/FontMapTest.cpp, tests/LengthTest.cpp, tests/MapLineTest.cpp:
3809 improved a couple of test cases
3810
3811 * src/Color.cpp, src/Matrix.cpp, src/TpicSpecialHandler.cpp,
3812 src/utility.hpp:
3813 replaced non-standard constant M_PI with own definition
3814
3815 * src/Color.cpp, src/Matrix.cpp, src/utility.hpp:
3816 replaced local copies of deg2rad with global function
3817
3818 2017-02-12 Martin Gieseking <martin.gieseking@uos.de>
3819
3820 * .appveyor.yml, .travis.yml, appveyor.yml:
3821 exclude branch 'tmp' from CI builds
3822
3823 2017-02-11 Martin Gieseking <martin.gieseking@uos.de>
3824
3825 * libs/ff-woff/Makefile.am, libs/ff-woff/fontforge/fontforge.h,
3826 libs/ff-woff/inc/ffintl.h, libs/ff-woff/inc/intl.h:
3827 don't try to #include libintl.h
3828
3829 * .travis.yml:
3830 Travis: enable clang builds again
3831
3832 * NEWS:
3833 updated NEWS
3834
3835 2017-02-10 Martin Gieseking <martin.gieseking@uos.de>
3836
3837 * src/Calculator.cpp:
3838 fixed number parsing in Calculator class (failed on Mac)
3839
3840 * tests/StreamReaderTest.cpp:
3841 clear istream flags to prevent failure of StreamReaderTest
3842
3843 * libs/xxHash/xxhash.c, libs/xxHash/xxhash.h:
3844 removed 'restrict' keyword from xxHash
3845
3846 * .travis.yml, appveyor.yml, configure.ac, src/Doxyfile, src/version.hpp:
3847 set version to 2.1.2
3848
3849 2017-02-09 Martin Gieseking <martin.gieseking@uos.de>
3850
3851 * .gitignore, .travis.yml, Makefile.am, configure.ac, tests/Makefile.am,
3852 tests/create-makefile, tests/gtest/LICENSE,
3853 tests/gtest/include/gtest/gtest-death-test.h,
3854 tests/gtest/include/gtest/gtest-message.h,
3855 tests/gtest/include/gtest/gtest-param-test.h,
3856 tests/gtest/include/gtest/gtest-printers.h,
3857 tests/gtest/include/gtest/gtest-spi.h,
3858 tests/gtest/include/gtest/gtest-test-part.h,
3859 tests/gtest/include/gtest/gtest-typed-test.h,
3860 tests/gtest/include/gtest/gtest.h,
3861 tests/gtest/include/gtest/gtest_pred_impl.h,
3862 tests/gtest/include/gtest/gtest_prod.h,
3863 tests/gtest/include/gtest/internal/custom/gtest-port.h,
3864 tests/gtest/include/gtest/internal/custom/gtest-printers.h,
3865 tests/gtest/include/gtest/internal/custom/gtest.h,
3866 tests/gtest/include/gtest/internal/gtest-death-test-internal.h,
3867 tests/gtest/include/gtest/internal/gtest-filepath.h,
3868 tests/gtest/include/gtest/internal/gtest-internal.h,
3869 tests/gtest/include/gtest/internal/gtest-linked_ptr.h,
3870 tests/gtest/include/gtest/internal/gtest-param-util-generated.h,
3871 tests/gtest/include/gtest/internal/gtest-param-util.h,
3872 tests/gtest/include/gtest/internal/gtest-port-arch.h,
3873 tests/gtest/include/gtest/internal/gtest-port.h,
3874 tests/gtest/include/gtest/internal/gtest-string.h,
3875 tests/gtest/include/gtest/internal/gtest-tuple.h,
3876 tests/gtest/include/gtest/internal/gtest-type-util.h,
3877 tests/gtest/src/gtest-all.cc, tests/gtest/src/gtest-death-test.cc,
3878 tests/gtest/src/gtest-filepath.cc, tests/gtest/src/gtest-internal-inl.h,
3879 tests/gtest/src/gtest-port.cc, tests/gtest/src/gtest-printers.cc,
3880 tests/gtest/src/gtest-test-part.cc, tests/gtest/src/gtest-typed-test.cc,
3881 tests/gtest/src/gtest.cc, tests/gtest/src/gtest_main.cc:
3882 bundle gtest with the sources to simplify building and running the tests
3883
3884 * src/Directory.cpp, tests/DirectoryTest.cpp:
3885 prevent calling closedir() with null pointer argument
3886
3887 * src/VectorStream.hpp:
3888 don't access first vector component if the vector is empty
3889
3890 * src/GFReader.cpp, src/StreamReader.cpp, tests/GFReaderTest.cpp,
3891 tests/StreamReaderTest.cpp:
3892 improved implementation of getString()
3893
3894 * src/CLCommandLine.cpp:
3895 reset status flags before changing the sstream source
3896
3897 2017-02-08 Martin Gieseking <martin.gieseking@uos.de>
3898
3899 * tests/CommandLineTest.cpp:
3900 removed redundant function
3901
3902 * src/XMLString.cpp, tests/EmSpecialTest.cpp, tests/GFGlyphTracerTest.cpp:
3903 avoid negative zeros (-0) in SVG output
3904
3905 * src/BoundingBox.cpp:
3906 fixed memory issue in BoundingBox class
3907
3908 * src/CMapReader.cpp, src/InputReader.cpp, src/InputReader.hpp,
3909 tests/SplittedCharInputBufferTest.cpp, tests/StreamInputBufferTest.cpp:
3910 fixed potential number overflow issue
3911
3912 * tests/CMapReaderTest.cpp:
3913 fixed memory leak in CMapReaderTest
3914
3915 * src/Subfont.cpp:
3916 fixed memory leak in Subfont class
3917
3918 * src/XMLNode.cpp:
3919 fixed memory leak in class XMLElementNode
3920
3921 2017-02-07 Martin Gieseking <martin.gieseking@uos.de>
3922
3923 * configure.ac:
3924 replaced deprecated AC_CONFIG_HEADER
3925
3926 * NEWS:
3927 updated NEWS
3928
3929 * libs/clipper/License.txt:
3930 fixed line endings of clipper/License.txt
3931
3932 2017-02-06 Martin Gieseking <martin.gieseking@uos.de>
3933
3934 * .travis.yml, appveyor.yml, configure.ac, src/Doxyfile, src/version.hpp:
3935 set version to 2.1.1
3936
3937 2017-02-04 Martin Gieseking <martin.gieseking@uos.de>
3938
3939 * tests/FontCacheTest.cpp:
3940 fixed FontCacheTest ('make distcheck' failed)
3941
3942 2017-02-03 Martin Gieseking <martin.gieseking@uos.de>
3943
3944 * src/Color.cpp, src/Color.hpp, src/VectorIterator.hpp,
3945 tests/ColorTest.cpp, tests/VectorIteratorTest.cpp:
3946 increased coverage of ColorTest
3947
3948 * configure.ac, libs/ff-woff/fontforge/splinefont.h:
3949 include xlocale.h in ff-woff if available (fixes #65)
3950
3951 2017-02-02 Martin Gieseking <martin.gieseking@uos.de>
3952
3953 * src/Makefile.am:
3954 removed spurious colon from src/Makefile.am
3955
3956 * configure.ac:
3957 allow C++11 language extensions if necessary
3958
3959 * src/Font.cpp, src/Font.hpp:
3960 report Metafont failures only once for each font
3961
3962 2017-01-31 Martin Gieseking <martin.gieseking@uos.de>
3963
3964 * README, README.md:
3965 README: updated links, added release badge
3966
3967 2017-01-30 Martin Gieseking <martin.gieseking@uos.de>
3968
3969 * tests/FontManagerTest.cpp, tests/data/cmr10.pfb:
3970 prevent FontManagerTest to fail due to missing font files
3971
3972 2017-01-26 Martin Gieseking <martin.gieseking@uos.de>
3973
3974 * src/Matrix.cpp, tests/MatrixTest.cpp:
3975 minor changes of matrix class; improved MatrixTest
3976
3977 2017-01-25 Martin Gieseking <martin.gieseking@uos.de>
3978
3979 * src/PapersizeSpecialHandler.cpp, src/PapersizeSpecialHandler.hpp,
3980 tests/Makefile.am, tests/PapersizeSpecialTest.cpp, tests/create-makefile:
3981 added PapersizeSpecialTest
3982
3983 * tests/CMapManagerTest.cpp, tests/CMapReaderTest.cpp,
3984 tests/DvisvgmSpecialTest.cpp, tests/EmSpecialTest.cpp,
3985 tests/FileFinderTest.cpp, tests/FontManagerTest.cpp,
3986 tests/JFMReaderTest.cpp, tests/MapLineTest.cpp, tests/SubfontTest.cpp,
3987 tests/TFMReaderTest.cpp, tests/TensorProductPatchTest.cpp:
3988 added 'override' specifier to gtest methods
3989
3990 * src/FontCache.cpp, src/FontCache.hpp, tests/FontCacheTest.cpp,
3991 tests/Makefile.am:
3992 added FontCacheTest
3993
3994 * tests/Makefile.am, tests/create-makefile:
3995 removed redundant linker flag from tests
3996
3997 * m4/ax_code_coverage.m4, m4/ax_cxx_compile_stdcxx.m4:
3998 updated m4 scripts to latest versions
3999
4000 2017-01-23 Martin Gieseking <martin.gieseking@uos.de>
4001
4002 * README.md, appveyor.yml:
4003 added basic appveyor.yml
4004
4005 2017-01-20 Martin Gieseking <martin.gieseking@uos.de>
4006
4007 * libs/ff-woff/Makefile.am, libs/ff-woff/fontforge/fontforge.h,
4008 libs/ff-woff/fontforge/tmpfile2.cpp, libs/ff-woff/fontforge/utils.c,
4009 src/dvisvgm.cpp:
4010 improved error handling of tmpfile2() in ff-woff
4011 The FontForge library
4012 doesn't check the return value of tmpfile() which may lead
4013 to segfaults.
4014 The replacement function tmpfile2() throws an exception or calls
4015 exit()
4016 so that dvisvgm can terminate more cleanly.
4017
4018 2017-01-18 Martin Gieseking <martin.gieseking@uos.de>
4019
4020 * src/BoundingBox.cpp, src/Color.cpp, src/DVIToSVGActions.cpp,
4021 src/FilePath.cpp, src/FileSystem.cpp, src/FontWriter.cpp,
4022 src/Makefile.am, src/PageSize.cpp, src/SVGOutput.cpp, src/utility.cpp,
4023 src/utility.hpp, tests/Makefile.am, tests/UtilityTest.cpp:
4024 moved common utility functions to separate compilation unit and
4025 namespace
4026
4027 * src/DVIToSVG.cpp, src/DVIToSVGActions.cpp, src/EPSToSVG.cpp:
4028 get program name and version from version.hpp, avoid using macros from
4029 config.h
4030
4031 * .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
4032 set version to 2.1
4033
4034 * NEWS:
4035 updated NEWS
4036
4037 2017-01-17 Martin Gieseking <martin.gieseking@uos.de>
4038
4039 * libs/ff-woff/fontforge/utils.c, src/FileSystem.cpp, src/FileSystem.hpp,
4040 src/Font.cpp, src/FontWriter.cpp, src/GlyphTracerMessages.hpp,
4041 src/MetafontWrapper.cpp, src/MetafontWrapper.hpp, src/Process.cpp,
4042 src/Process.hpp, src/SVGOutput.cpp, src/SVGOutput.hpp:
4043 create temp files in the system's temp folder rather than in cwd (closes
4044 #63)
4045
4046 * doc/dvisvgm.txt.in, src/CommandLine.hpp, src/dvisvgm.cpp,
4047 src/options.xml:
4048 added option --tmpdir to select a different temp folder
4049
4050 * src/FontWriter.cpp, src/FontWriter.hpp:
4051 print error message if FontWriter can't write temporary files
4052
4053 2017-01-12 Martin Gieseking <martin.gieseking@uos.de>
4054
4055 * src/FilePath.cpp, src/FilePath.hpp, tests/FilePathTest.cpp,
4056 tests/SVGOutputTest.cpp:
4057 retain letter case of filenames (Windows)
4058
4059 * src/DVIToSVG.cpp, src/EPSToSVG.cpp, src/SVGTree.hpp:
4060 print warning message if output file could not be written
4061
4062 * tests/GhostscriptTest.cpp:
4063 disable GS banner in GhostscriptTest
4064
4065 2017-01-10 Martin Gieseking <martin.gieseking@uos.de>
4066
4067 * src/PsSpecialHandler.cpp, src/dvisvgm.cpp:
4068 added missing newlines in messages; fixed typo
4069
4070 2017-01-05 Martin Gieseking <martin.gieseking@uos.de>
4071
4072 * src/AGLTable.hpp:
4073 updated AGL table and removed colliding codepoints (closes #64)
4074
4075 2017-01-03 Martin Gieseking <martin.gieseking@uos.de>
4076
4077 * Makefile.am, README, README.md, configure.ac, doc/Makefile.am,
4078 doc/conf-dblatex-man.xsl, doc/conf-dblatex-pdf.xsl, doc/db2html.xsl,
4079 doc/dvisvgm.txt.in, doc/tweak-db-article.xsl, doc/tweak-dblatex-pdf.xsl,
4080 libs/Makefile.am, src/AGLTable.hpp, src/BasicDVIReader.cpp,
4081 src/BasicDVIReader.hpp, src/Bezier.cpp, src/Bezier.hpp,
4082 src/BgColorSpecialHandler.cpp, src/BgColorSpecialHandler.hpp,
4083 src/Bitmap.cpp, src/Bitmap.hpp, src/BoundingBox.cpp, src/BoundingBox.hpp,
4084 src/CLCommandLine.cpp, src/CLCommandLine.hpp, src/CLOption.hpp,
4085 src/CMap.cpp, src/CMap.hpp, src/CMapManager.cpp, src/CMapManager.hpp,
4086 src/CMapReader.cpp, src/CMapReader.hpp, src/CRC32.cpp, src/CRC32.hpp,
4087 src/Calculator.cpp, src/Calculator.hpp, src/CharMapID.cpp,
4088 src/CharMapID.hpp, src/Character.hpp, src/Color.cpp, src/Color.hpp,
4089 src/ColorSpecialHandler.cpp, src/ColorSpecialHandler.hpp,
4090 src/CommandLine.hpp, src/DLLoader.cpp, src/DLLoader.hpp,
4091 src/DVIActions.hpp, src/DVIReader.cpp, src/DVIReader.hpp,
4092 src/DVIToSVG.cpp, src/DVIToSVG.hpp, src/DVIToSVGActions.cpp,
4093 src/DVIToSVGActions.hpp, src/DependencyGraph.hpp, src/Directory.cpp,
4094 src/Directory.hpp, src/DvisvgmSpecialHandler.cpp,
4095 src/DvisvgmSpecialHandler.hpp, src/EPSFile.cpp, src/EPSFile.hpp,
4096 src/EPSToSVG.cpp, src/EPSToSVG.hpp, src/EmSpecialHandler.cpp,
4097 src/EmSpecialHandler.hpp, src/EncFile.cpp, src/EncFile.hpp,
4098 src/FileFinder.cpp, src/FileFinder.hpp, src/FilePath.cpp,
4099 src/FilePath.hpp, src/FileSystem.cpp, src/FileSystem.hpp,
4100 src/FixWord.hpp, src/Font.cpp, src/Font.hpp, src/FontCache.cpp,
4101 src/FontCache.hpp, src/FontEncoding.cpp, src/FontEncoding.hpp,
4102 src/FontEngine.cpp, src/FontEngine.hpp, src/FontManager.cpp,
4103 src/FontManager.hpp, src/FontMap.cpp, src/FontMap.hpp,
4104 src/FontMetrics.cpp, src/FontMetrics.hpp, src/FontStyle.hpp,
4105 src/FontWriter.cpp, src/FontWriter.hpp, src/GFGlyphTracer.cpp,
4106 src/GFGlyphTracer.hpp, src/GFReader.cpp, src/GFReader.hpp,
4107 src/GFTracer.cpp, src/GFTracer.hpp, src/Ghostscript.cpp,
4108 src/Ghostscript.hpp, src/Glyph.hpp, src/GlyphTracerMessages.hpp,
4109 src/GraphicsPath.hpp, src/HtmlSpecialHandler.cpp,
4110 src/HtmlSpecialHandler.hpp, src/InputBuffer.cpp, src/InputBuffer.hpp,
4111 src/InputReader.cpp, src/InputReader.hpp, src/JFM.cpp, src/JFM.hpp,
4112 src/Length.cpp, src/Length.hpp, src/Makefile.am, src/MapLine.cpp,
4113 src/MapLine.hpp, src/Matrix.cpp, src/Matrix.hpp, src/Message.cpp,
4114 src/Message.hpp, src/MessageException.hpp, src/MetafontWrapper.cpp,
4115 src/MetafontWrapper.hpp, src/MiKTeXCom.cpp, src/MiKTeXCom.hpp,
4116 src/NoPsSpecialHandler.cpp, src/NoPsSpecialHandler.hpp,
4117 src/NumericRanges.hpp, src/PSFilter.hpp, src/PSInterpreter.cpp,
4118 src/PSInterpreter.hpp, src/PSPattern.cpp, src/PSPattern.hpp,
4119 src/PSPreviewFilter.cpp, src/PSPreviewFilter.hpp, src/PageRanges.cpp,
4120 src/PageRanges.hpp, src/PageSize.cpp, src/PageSize.hpp, src/Pair.hpp,
4121 src/PapersizeSpecialHandler.cpp, src/PapersizeSpecialHandler.hpp,
4122 src/PathClipper.cpp, src/PathClipper.hpp, src/PdfSpecialHandler.cpp,
4123 src/PdfSpecialHandler.hpp, src/PreScanDVIReader.cpp,
4124 src/PreScanDVIReader.hpp, src/Process.cpp, src/Process.hpp,
4125 src/PsSpecialHandler.cpp, src/PsSpecialHandler.hpp, src/RangeMap.cpp,
4126 src/RangeMap.hpp, src/SVGCharHandler.cpp, src/SVGCharHandler.hpp,
4127 src/SVGCharHandlerFactory.cpp, src/SVGCharHandlerFactory.hpp,
4128 src/SVGCharPathHandler.cpp, src/SVGCharPathHandler.hpp,
4129 src/SVGCharTspanTextHandler.cpp, src/SVGCharTspanTextHandler.hpp,
4130 src/SVGOutput.cpp, src/SVGOutput.hpp, src/SVGSingleCharTextHandler.cpp,
4131 src/SVGSingleCharTextHandler.hpp, src/SVGTree.cpp, src/SVGTree.hpp,
4132 src/ShadingPatch.cpp, src/ShadingPatch.hpp, src/SignalHandler.cpp,
4133 src/SignalHandler.hpp, src/SpecialActions.hpp, src/SpecialHandler.hpp,
4134 src/SpecialManager.cpp, src/SpecialManager.hpp, src/StreamReader.cpp,
4135 src/StreamReader.hpp, src/StreamWriter.cpp, src/StreamWriter.hpp,
4136 src/Subfont.cpp, src/Subfont.hpp, src/System.cpp, src/System.hpp,
4137 src/TFM.cpp, src/TFM.hpp, src/TensorProductPatch.cpp,
4138 src/TensorProductPatch.hpp, src/Terminal.cpp, src/Terminal.hpp,
4139 src/ToUnicodeMap.cpp, src/ToUnicodeMap.hpp, src/TpicSpecialHandler.cpp,
4140 src/TpicSpecialHandler.hpp, src/TriangularPatch.cpp,
4141 src/TriangularPatch.hpp, src/Unicode.cpp, src/Unicode.hpp,
4142 src/VFActions.hpp, src/VFReader.cpp, src/VFReader.hpp,
4143 src/VectorIterator.hpp, src/VectorStream.hpp, src/XMLDocument.cpp,
4144 src/XMLDocument.hpp, src/XMLNode.cpp, src/XMLNode.hpp, src/XMLString.cpp,
4145 src/XMLString.hpp, src/ZLibOutputStream.hpp, src/dvisvgm.cpp,
4146 src/ffwrapper.c, src/ffwrapper.h, src/macros.hpp, src/options.dtd,
4147 src/options.xml, src/psdefs.cpp, src/version.hpp, src/version.hpp.in,
4148 tests/BezierTest.cpp, tests/BitmapTest.cpp, tests/BoundingBoxTest.cpp,
4149 tests/CMapManagerTest.cpp, tests/CMapReaderTest.cpp, tests/CMapTest.cpp,
4150 tests/CRC32Test.cpp, tests/CalculatorTest.cpp,
4151 tests/ColorSpecialTest.cpp, tests/ColorTest.cpp,
4152 tests/CommandLineTest.cpp, tests/DependencyGraphTest.cpp,
4153 tests/DirectoryTest.cpp, tests/DvisvgmSpecialTest.cpp,
4154 tests/EmSpecialTest.cpp, tests/FileFinderTest.cpp,
4155 tests/FilePathTest.cpp, tests/FileSystemTest.cpp,
4156 tests/FontManagerTest.cpp, tests/FontMapTest.cpp,
4157 tests/GFGlyphTracerTest.cpp, tests/GFReaderTest.cpp,
4158 tests/GraphicsPathTest.cpp, tests/JFMReaderTest.cpp,
4159 tests/LengthTest.cpp, tests/Makefile.am, tests/MapLineTest.cpp,
4160 tests/MatrixTest.cpp, tests/MessageExceptionTest.cpp,
4161 tests/PSInterpreterTest.cpp, tests/PageRagesTest.cpp,
4162 tests/PageSizeTest.cpp, tests/PairTest.cpp, tests/RangeMapTest.cpp,
4163 tests/SVGOutputTest.cpp, tests/ShadingPatchTest.cpp,
4164 tests/SplittedCharInputBufferTest.cpp, tests/StreamInputBufferTest.cpp,
4165 tests/StreamReaderTest.cpp, tests/StreamWriterTest.cpp,
4166 tests/SubfontTest.cpp, tests/TFMReaderTest.cpp,
4167 tests/TensorProductPatchTest.cpp, tests/ToUnicodeMapTest.cpp,
4168 tests/TriangularPatchTest.cpp, tests/UnicodeTest.cpp,
4169 tests/VectorIteratorTest.cpp, tests/VectorStreamTest.cpp,
4170 tests/XMLNodeTest.cpp, tests/XMLStringTest.cpp, tests/check-conv,
4171 tests/create-makefile, tests/data/Makefile.am, tests/genhashcheck.py,
4172 tests/normalize.xsl:
4173 updated year in copyright statements to 2017
4174
4175 2016-12-20 Martin Gieseking <martin.gieseking@uos.de>
4176
4177 * doc/Makefile.am, doc/conf-dblatex-pdf.xsl, doc/db2html.xsl,
4178 doc/dvisvgm.txt.in, doc/dvisvgm.xpr, doc/tweak-db-article.xsl:
4179 manpage: minor refactorings of the XSLT scripts; added generation of
4180 epub
4181
4182 2016-12-16 Martin Gieseking <martin.gieseking@uos.de>
4183
4184 * doc/conf-dblatex-man.xsl, doc/conf-dblatex-pdf.xsl, doc/db2html.xsl,
4185 doc/tweak-dblatex-pdf.xsl:
4186 added missing email address to copyright headers
4187
4188 * doc/conf-dblatex-man.xsl, doc/conf-dblatex-pdf.xsl,
4189 doc/tweak-dblatex-pdf.xsl:
4190 indent with tabs rather than spaces
4191
4192 * doc/db2html.xsl:
4193 manpage: replace icon of Author section
4194
4195 * doc/conf-dblatex-pdf.xsl, doc/tweak-dblatex-pdf.xsl:
4196 manpage: use mixed case titles in pdf output
4197
4198 2016-12-15 Martin Gieseking <martin.gieseking@uos.de>
4199
4200 * doc/db2html.xsl, doc/dvisvgm.xpr:
4201 manpage: preserve whitespace in list of supported specials
4202
4203 2016-11-16 Martin Gieseking <martin.gieseking@uos.de>
4204
4205 * configure.ac:
4206 ensure compiling C files with --std=c99
4207
4208 2016-11-14 Martin Gieseking <martin.gieseking@uos.de>
4209
4210 * NEWS:
4211 updated NEWS
4212
4213 2016-11-12 Martin Gieseking <martin.gieseking@uos.de>
4214
4215 * doc/dvisvgm.txt.in:
4216 minor changes in manpage
4217
4218 * README, README.md, configure.ac, libs/Makefile.am, libs/ff-woff/LICENSE,
4219 libs/ff-woff/Makefile.am, libs/ff-woff/README.md,
4220 libs/ff-woff/fontforge/PfEd.h, libs/ff-woff/fontforge/alphabet.c,
4221 libs/ff-woff/fontforge/asmfpst.c, libs/ff-woff/fontforge/autohint.c,
4222 libs/ff-woff/fontforge/char.c, libs/ff-woff/fontforge/cjk.c,
4223 libs/ff-woff/fontforge/configure-fontforge.h,
4224 libs/ff-woff/fontforge/cvundoes.c, libs/ff-woff/fontforge/dumppfa.c,
4225 libs/ff-woff/fontforge/edgelist.h, libs/ff-woff/fontforge/edgelist2.h,
4226 libs/ff-woff/fontforge/encoding.c, libs/ff-woff/fontforge/encoding.h,
4227 libs/ff-woff/fontforge/fontforge-config.h,
4228 libs/ff-woff/fontforge/fontforge.h, libs/ff-woff/fontforge/fontforgevw.h,
4229 libs/ff-woff/fontforge/fvfonts.c, libs/ff-woff/fontforge/gwwiconv.c,
4230 libs/ff-woff/fontforge/libffstamp.h, libs/ff-woff/fontforge/lookups.c,
4231 libs/ff-woff/fontforge/macbinary.c, libs/ff-woff/fontforge/macenc.c,
4232 libs/ff-woff/fontforge/mathconstants.c, libs/ff-woff/fontforge/memory.c,
4233 libs/ff-woff/fontforge/mm.c, libs/ff-woff/fontforge/namehash.h,
4234 libs/ff-woff/fontforge/namelist.c, libs/ff-woff/fontforge/nouiutil.c,
4235 libs/ff-woff/fontforge/nowakowskittfinstr.c,
4236 libs/ff-woff/fontforge/parsepfa.c, libs/ff-woff/fontforge/parsettf.c,
4237 libs/ff-woff/fontforge/parsettfatt.c, libs/ff-woff/fontforge/psfont.h,
4238 libs/ff-woff/fontforge/psread.c, libs/ff-woff/fontforge/pua.c,
4239 libs/ff-woff/fontforge/sd.h, libs/ff-woff/fontforge/sfd.c,
4240 libs/ff-woff/fontforge/sfd1.c, libs/ff-woff/fontforge/sfd1.h,
4241 libs/ff-woff/fontforge/splinechar.c, libs/ff-woff/fontforge/splinefont.c,
4242 libs/ff-woff/fontforge/splinefont.h,
4243 libs/ff-woff/fontforge/splineorder2.c,
4244 libs/ff-woff/fontforge/splineoverlap.c,
4245 libs/ff-woff/fontforge/splinerefigure.c,
4246 libs/ff-woff/fontforge/splinesave.c,
4247 libs/ff-woff/fontforge/splinesaveafm.c,
4248 libs/ff-woff/fontforge/splineutil.c,
4249 libs/ff-woff/fontforge/splineutil2.c, libs/ff-woff/fontforge/start.c,
4250 libs/ff-woff/fontforge/stemdb.c, libs/ff-woff/fontforge/stemdb.h,
4251 libs/ff-woff/fontforge/tables.h, libs/ff-woff/fontforge/tottf.c,
4252 libs/ff-woff/fontforge/tottfaat.c, libs/ff-woff/fontforge/tottfgpos.c,
4253 libs/ff-woff/fontforge/tottfvar.c, libs/ff-woff/fontforge/ttf.h,
4254 libs/ff-woff/fontforge/ttfinstrs.c, libs/ff-woff/fontforge/ttfinstrs.h,
4255 libs/ff-woff/fontforge/ttfspecial.c,
4256 libs/ff-woff/fontforge/uiinterface.h, libs/ff-woff/fontforge/unialt.c,
4257 libs/ff-woff/fontforge/ustring.c, libs/ff-woff/fontforge/utils.c,
4258 libs/ff-woff/fontforge/utype.c, libs/ff-woff/fontforge/woff.c,
4259 libs/ff-woff/inc/basics.h, libs/ff-woff/inc/chardata.h,
4260 libs/ff-woff/inc/charset.h, libs/ff-woff/inc/dlist.h,
4261 libs/ff-woff/inc/gimage.h, libs/ff-woff/inc/gnetwork.h,
4262 libs/ff-woff/inc/gwwiconv.h, libs/ff-woff/inc/intl.h,
4263 libs/ff-woff/inc/ustring.h, libs/ff-woff/inc/utype.h, src/Makefile.am:
4264 bundle reduced fontforge library (ff-woff)
4265
4266 * configure.ac, libs/Makefile.am, libs/clipper/Makefile.am,
4267 libs/ff-woff/Makefile.am, libs/woff2/Makefile.am,
4268 libs/woff2/brotli/Makefile.am, libs/woff2/brotli/enc/Makefile.am,
4269 libs/woff2/src/Makefile.am, src/Makefile.am:
4270 added license files of bundled libraries; relocated Makefiles
4271
4272 * .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
4273 set version to 2.0.4
4274
4275 2016-11-07 Martin Gieseking <martin.gieseking@uos.de>
4276
4277 * src/CommandLine.hpp, src/options.xml:
4278 fixed a typo in the --help output
4279
4280 * src/BasicDVIReader.cpp, src/BasicDVIReader.hpp, src/DVIReader.cpp,
4281 src/DVIReader.hpp:
4282 use const variables for DVI opcodes rather than the values directly
4283
4284 2016-11-01 Martin Gieseking <martin.gieseking@uos.de>
4285
4286 * src/FontWriter.cpp:
4287 few cosmetic changes; added comments
4288
4289 2016-09-27 Martin Gieseking <martin.gieseking@uos.de>
4290
4291 * .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
4292 set version to 2.0.3
4293
4294 * NEWS, README, README.md:
4295 updated NEWS and README
4296
4297 2016-09-23 Martin Gieseking <martin.gieseking@uos.de>
4298
4299 * src/DVIReader.cpp, src/DVIReader.hpp, src/DVIToSVG.cpp,
4300 src/DVIToSVG.hpp:
4301 dropped tracking of previous DVI state from DVIReader
4302
4303 * src/DVIReader.cpp:
4304 fixed positioning of rules
4305
4306 2016-09-22 Martin Gieseking <martin.gieseking@uos.de>
4307
4308 * src/DVIReader.cpp, src/DVIReader.hpp, src/DVIToSVG.cpp:
4309 fixed regression in character positioning of of virtual fonts
4310
4311 2016-09-18 Martin Gieseking <martin.gieseking@uos.de>
4312
4313 * src/DVIReader.cpp:
4314 fixed type regression in computation of DVI positions (closes #61)
4315
4316 * .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
4317 set version to 2.0.2
4318
4319 * NEWS, README.md:
4320 updated NEWS and README
4321
4322 2016-09-16 Martin Gieseking <martin.gieseking@uos.de>
4323
4324 * src/Font.cpp:
4325 fixed sign of character depth computed for native fonts
4326
4327 2016-09-03 Martin Gieseking <martin.gieseking@uos.de>
4328
4329 * .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
4330 set version to 2.0.1
4331
4332 * NEWS, README, README.md:
4333 updated NEWS and README
4334
4335 2016-08-31 Martin Gieseking <martin.gieseking@uos.de>
4336
4337 * README, README.md:
4338 added link to reduced FF library to README
4339
4340 * doc/dvisvgm.txt.in, src/FontWriter.cpp, src/FontWriter.hpp,
4341 src/SVGTree.cpp, src/SVGTree.hpp, src/ffwrapper.c:
4342 added option to autohint fonts created by the FontForge library
4343
4344 2016-08-30 Martin Gieseking <martin.gieseking@uos.de>
4345
4346 * src/DVIToSVGActions.hpp, src/FontManager.hpp, src/MetafontWrapper.hpp:
4347 adapted struct/class forward declarations
4348
4349 2016-08-28 Martin Gieseking <martin.gieseking@uos.de>
4350
4351 * src/FileFinder.cpp, src/FileFinder.hpp:
4352 removed unused variable
4353
4354 * src/CLCommandLine.cpp:
4355 added missing cast to avoid compiler warning
4356
4357 * .travis.yml, configure.ac, src/Doxyfile, src/version.hpp:
4358 set version to 2.0
4359
4360 * README, README.md:
4361 updated README files
4362
4363 * NEWS:
4364 updated NEWS
4365
4366 2016-08-27 Martin Gieseking <martin.gieseking@uos.de>
4367
4368 * .travis.yml:
4369 use Ubuntu Trusty for Travis builds
4370
4371 * .travis.yml:
4372 Travis: prevent rebuilding files in folder 'src' when calling 'make
4373 check'
4374
4375 * src/FontWriter.cpp, src/FontWriter.hpp, src/ffwrapper.c,
4376 src/ffwrapper.h:
4377 added missing copyright headers
4378
4379 2016-08-25 Martin Gieseking <martin.gieseking@uos.de>
4380
4381 * Makefile.am, clipper/License.txt, clipper/Makefile.am,
4382 clipper/clipper.cpp, clipper/clipper.hpp, configure.ac, libs/Makefile.am,
4383 libs/clipper/License.txt, libs/clipper/Makefile.am,
4384 libs/clipper/clipper.cpp, libs/clipper/clipper.hpp, libs/xxHash/LICENSE,
4385 libs/xxHash/Makefile.am, libs/xxHash/xxhash.c, libs/xxHash/xxhash.h,
4386 src/Makefile.am, tests/Makefile.am, tests/create-makefile,
4387 xxHash/LICENSE, xxHash/Makefile.am, xxHash/xxhash.c, xxHash/xxhash.h:
4388 moved bundled libraries (clipper, xxHash) to subfolder 'libs'
4389
4390 * configure.ac, doc/dvisvgm.txt.in, libs/Makefile.am, libs/woff2/LICENSE,
4391 libs/woff2/brotli/LICENSE, libs/woff2/brotli/enc/Makefile.am,
4392 libs/woff2/brotli/enc/backward_references.cc,
4393 libs/woff2/brotli/enc/backward_references.h,
4394 libs/woff2/brotli/enc/bit_cost.h,
4395 libs/woff2/brotli/enc/block_splitter.cc,
4396 libs/woff2/brotli/enc/block_splitter.h,
4397 libs/woff2/brotli/enc/brotli_bit_stream.cc,
4398 libs/woff2/brotli/enc/brotli_bit_stream.h,
4399 libs/woff2/brotli/enc/cluster.h, libs/woff2/brotli/enc/command.h,
4400 libs/woff2/brotli/enc/compress_fragment.cc,
4401 libs/woff2/brotli/enc/compress_fragment.h,
4402 libs/woff2/brotli/enc/compress_fragment_two_pass.cc,
4403 libs/woff2/brotli/enc/compress_fragment_two_pass.h,
4404 libs/woff2/brotli/enc/compressor.h, libs/woff2/brotli/enc/context.h,
4405 libs/woff2/brotli/enc/dictionary.cc, libs/woff2/brotli/enc/dictionary.h,
4406 libs/woff2/brotli/enc/dictionary_hash.h, libs/woff2/brotli/enc/encode.cc,
4407 libs/woff2/brotli/enc/encode.h, libs/woff2/brotli/enc/encode_parallel.cc,
4408 libs/woff2/brotli/enc/encode_parallel.h,
4409 libs/woff2/brotli/enc/entropy_encode.cc,
4410 libs/woff2/brotli/enc/entropy_encode.h,
4411 libs/woff2/brotli/enc/entropy_encode_static.h,
4412 libs/woff2/brotli/enc/fast_log.h,
4413 libs/woff2/brotli/enc/find_match_length.h, libs/woff2/brotli/enc/hash.h,
4414 libs/woff2/brotli/enc/histogram.cc, libs/woff2/brotli/enc/histogram.h,
4415 libs/woff2/brotli/enc/literal_cost.cc,
4416 libs/woff2/brotli/enc/literal_cost.h, libs/woff2/brotli/enc/metablock.cc,
4417 libs/woff2/brotli/enc/metablock.h, libs/woff2/brotli/enc/port.h,
4418 libs/woff2/brotli/enc/prefix.h, libs/woff2/brotli/enc/ringbuffer.h,
4419 libs/woff2/brotli/enc/static_dict.cc,
4420 libs/woff2/brotli/enc/static_dict.h,
4421 libs/woff2/brotli/enc/static_dict_lut.h,
4422 libs/woff2/brotli/enc/streams.cc, libs/woff2/brotli/enc/streams.h,
4423 libs/woff2/brotli/enc/transform.h, libs/woff2/brotli/enc/types.h,
4424 libs/woff2/brotli/enc/utf8_util.cc, libs/woff2/brotli/enc/utf8_util.h,
4425 libs/woff2/brotli/enc/write_bits.h, libs/woff2/brotli/tools/bro.cc,
4426 libs/woff2/brotli/tools/rfc-format.py, libs/woff2/brotli/tools/version.h,
4427 libs/woff2/src/Makefile.am, libs/woff2/src/buffer.h,
4428 libs/woff2/src/file.h, libs/woff2/src/font.cc, libs/woff2/src/font.h,
4429 libs/woff2/src/glyph.cc, libs/woff2/src/glyph.h,
4430 libs/woff2/src/normalize.cc, libs/woff2/src/normalize.h,
4431 libs/woff2/src/port.h, libs/woff2/src/round.h,
4432 libs/woff2/src/store_bytes.h, libs/woff2/src/table_tags.cc,
4433 libs/woff2/src/table_tags.h, libs/woff2/src/transform.cc,
4434 libs/woff2/src/transform.h, libs/woff2/src/variable_length.cc,
4435 libs/woff2/src/variable_length.h, libs/woff2/src/woff2_common.cc,
4436 libs/woff2/src/woff2_common.h, libs/woff2/src/woff2_dec.h,
4437 libs/woff2/src/woff2_enc.cc, libs/woff2/src/woff2_enc.h,
4438 libs/woff2/src/woff2_out.cc, libs/woff2/src/woff2_out.h,
4439 src/FontWriter.cpp, src/FontWriter.hpp, src/Makefile.am:
4440 added support for embedding WOFF2 fonts
4441
4442 2016-08-24 Martin Gieseking <martin.gieseking@uos.de>
4443
4444 * src/XMLNode.hpp:
4445 added move constructors to XMLNode classes
4446
4447 2016-08-23 Martin Gieseking <martin.gieseking@uos.de>
4448
4449 * src/FontEngine.cpp:
4450 fixed sign of the font descender
4451
4452 * configure.ac, doc/dvisvgm.txt.in, src/CommandLine.hpp,
4453 src/FontWriter.cpp, src/FontWriter.hpp, src/GraphicsPath.hpp,
4454 src/Makefile.am, src/SVGTree.cpp, src/SVGTree.hpp, src/XMLNode.cpp,
4455 src/XMLNode.hpp, src/dvisvgm.cpp, src/ffwrapper.c, src/ffwrapper.h,
4456 src/options.xml:
4457 added option --font-format to select the file format used to embed fonts
4458
4459 2016-08-22 Martin Gieseking <martin.gieseking@uos.de>
4460
4461 * xxHash/xxhash.c, xxHash/xxhash.h:
4462 updated xxHash to version 0.6.2
4463
4464 2016-08-17 Martin Gieseking <martin.gieseking@uos.de>
4465
4466 * src/FixWord.hpp, src/Font.cpp, src/FontMetrics.hpp, src/SVGTree.cpp,
4467 src/TFM.cpp, src/TFM.hpp:
4468 added getters for ascent and descent to TFM-based fonts
4469
4470 2016-08-14 Martin Gieseking <martin.gieseking@uos.de>
4471
4472 * src/Ghostscript.hpp:
4473 removed copy constructor of class Ghostscript
4474
4475 * src/PathClipper.cpp:
4476 added missing initializers
4477
4478 2016-08-13 Martin Gieseking <martin.gieseking@uos.de>
4479
4480 * configure.ac, src/CLCommandLine.cpp, src/CLCommandLine.hpp,
4481 src/CommandLine.hpp, src/Makefile.am, src/dvisvgm.cpp, src/options.dtd,
4482 src/options.xml, src/version.hpp, src/version.hpp.in:
4483 added version.hpp to provide the current version number
4484
4485 2016-08-08 Martin Gieseking <martin.gieseking@uos.de>
4486
4487 * src/DVIReader.cpp, src/DVIReader.hpp, src/Directory.cpp,
4488 src/Directory.hpp, src/FilePath.cpp, src/FilePath.hpp, src/Font.cpp,
4489 src/Font.hpp, src/FontManager.cpp, src/FontManager.hpp, src/GFReader.hpp,
4490 src/PageRanges.cpp, src/PageRanges.hpp, src/PageSize.cpp,
4491 src/PageSize.hpp, src/SVGOutput.cpp, src/SVGOutput.hpp,
4492 src/VFActions.hpp, src/VFReader.cpp:
4493 pass string parameters by reference if possible
4494
4495 * src/System.cpp, src/dvisvgm.cpp:
4496 minor refactorings of dvisvgm.cpp
4497
4498 * src/Ghostscript.cpp, src/MiKTeXCom.cpp:
4499 replaced __WIN64__ with pre-defined _WIN64
4500
4501 2016-08-02 Martin Gieseking <martin.gieseking@uos.de>
4502
4503 * src/CLCommandLine.cpp, src/CLCommandLine.hpp, src/CLOption.hpp,
4504 src/CmdLineParserBase.cpp, src/CmdLineParserBase.hpp,
4505 src/CommandLine.cpp, src/CommandLine.hpp, src/Makefile.am,
4506 src/dvisvgm.cpp, src/options.dtd, src/options.xml,
4507 tests/CommandLineTest.cpp:
4508 reimplemented the CommandLine parser class
4509
4510 * src/CMap.cpp, src/CMapManager.cpp, src/CMapReader.cpp, src/EncFile.cpp,
4511 src/FileFinder.cpp, src/FileFinder.hpp, src/Font.cpp,
4512 src/FontEncoding.cpp, src/FontManager.cpp, src/FontMap.cpp,
4513 src/FontMetrics.cpp, src/Ghostscript.cpp, src/MetafontWrapper.cpp,
4514 src/PsSpecialHandler.cpp, src/Subfont.cpp, src/dvisvgm.cpp,
4515 tests/CMapManagerTest.cpp, tests/FileFinderTest.cpp,
4516 tests/MapLineTest.cpp, tests/SubfontTest.cpp:
4517 made FileFinder a singleton again
4518
4519 2016-07-27 Martin Gieseking <martin.gieseking@uos.de>
4520
4521 * src/BgColorSpecialHandler.cpp, src/BoundingBox.cpp,
4522 src/DvisvgmSpecialHandler.cpp, src/EmSpecialHandler.cpp,
4523 src/FileSystem.cpp, src/FontCache.cpp, src/FontEngine.cpp,
4524 src/FontManager.cpp, src/GraphicsPath.hpp, src/PSInterpreter.cpp,
4525 src/PapersizeSpecialHandler.cpp, src/PathClipper.cpp, src/RangeMap.cpp,
4526 src/Subfont.cpp, src/TpicSpecialHandler.cpp, src/XMLDocument.cpp,
4527 src/XMLNode.cpp:
4528 replaced insert/push_back with emplace/emplace_back where useful
4529
4530 2016-07-23 Martin Gieseking <martin.gieseking@uos.de>
4531
4532 * src/PathClipper.cpp:
4533 some minor refactorings of class PathClipper
4534
4535 * src/CMapReader.cpp:
4536 minor refactoring of class CMapReader
4537
4538 2016-07-22 Martin Gieseking <martin.gieseking@uos.de>
4539
4540 * src/FontMap.cpp, src/FontMap.hpp:
4541 some syntactic refactorings of class FontMap
4542
4543 * src/FontManager.cpp, src/FontManager.hpp:
4544 use unique_ptr to automatically release Font objects in class
4545 FontManager
4546
4547 2016-07-21 Martin Gieseking <martin.gieseking@uos.de>
4548
4549 * src/AGLTable.h, src/AGLTable.hpp, src/BasicDVIReader.cpp,
4550 src/BasicDVIReader.h, src/BasicDVIReader.hpp, src/Bezier.cpp,
4551 src/Bezier.h, src/Bezier.hpp, src/BgColorSpecialHandler.cpp,
4552 src/BgColorSpecialHandler.h, src/BgColorSpecialHandler.hpp,
4553 src/Bitmap.cpp, src/Bitmap.h, src/Bitmap.hpp, src/BoundingBox.cpp,
4554 src/BoundingBox.h, src/BoundingBox.hpp, src/CMap.cpp, src/CMap.h,
4555 src/CMap.hpp, src/CMapManager.cpp, src/CMapManager.h,
4556 src/CMapManager.hpp, src/CMapReader.cpp, src/CMapReader.h,
4557 src/CMapReader.hpp, src/CRC32.cpp, src/CRC32.h, src/CRC32.hpp,
4558 src/Calculator.cpp, src/Calculator.h, src/Calculator.hpp,
4559 src/CharMapID.cpp, src/CharMapID.h, src/CharMapID.hpp, src/Character.h,
4560 src/Character.hpp, src/CmdLineParserBase.cpp, src/CmdLineParserBase.h,
4561 src/CmdLineParserBase.hpp, src/Color.cpp, src/Color.h, src/Color.hpp,
4562 src/ColorSpecialHandler.cpp, src/ColorSpecialHandler.h,
4563 src/ColorSpecialHandler.hpp, src/CommandLine.cpp, src/CommandLine.h,
4564 src/CommandLine.hpp, src/DLLoader.cpp, src/DLLoader.h, src/DLLoader.hpp,
4565 src/DVIActions.h, src/DVIActions.hpp, src/DVIReader.cpp, src/DVIReader.h,
4566 src/DVIReader.hpp, src/DVIToSVG.cpp, src/DVIToSVG.h, src/DVIToSVG.hpp,
4567 src/DVIToSVGActions.cpp, src/DVIToSVGActions.h, src/DVIToSVGActions.hpp,
4568 src/DependencyGraph.h, src/DependencyGraph.hpp, src/Directory.cpp,
4569 src/Directory.h, src/Directory.hpp, src/DvisvgmSpecialHandler.cpp,
4570 src/DvisvgmSpecialHandler.h, src/DvisvgmSpecialHandler.hpp,
4571 src/EPSFile.cpp, src/EPSFile.h, src/EPSFile.hpp, src/EPSToSVG.cpp,
4572 src/EPSToSVG.h, src/EPSToSVG.hpp, src/EmSpecialHandler.cpp,
4573 src/EmSpecialHandler.h, src/EmSpecialHandler.hpp, src/EncFile.cpp,
4574 src/EncFile.h, src/EncFile.hpp, src/FileFinder.cpp, src/FileFinder.h,
4575 src/FileFinder.hpp, src/FilePath.cpp, src/FilePath.h, src/FilePath.hpp,
4576 src/FileSystem.cpp, src/FileSystem.h, src/FileSystem.hpp, src/FixWord.h,
4577 src/FixWord.hpp, src/Font.cpp, src/Font.h, src/Font.hpp,
4578 src/FontCache.cpp, src/FontCache.h, src/FontCache.hpp,
4579 src/FontEncoding.cpp, src/FontEncoding.h, src/FontEncoding.hpp,
4580 src/FontEngine.cpp, src/FontEngine.h, src/FontEngine.hpp,
4581 src/FontManager.cpp, src/FontManager.h, src/FontManager.hpp,
4582 src/FontMap.cpp, src/FontMap.h, src/FontMap.hpp, src/FontMetrics.cpp,
4583 src/FontMetrics.h, src/FontMetrics.hpp, src/FontStyle.h,
4584 src/FontStyle.hpp, src/GFGlyphTracer.cpp, src/GFGlyphTracer.h,
4585 src/GFGlyphTracer.hpp, src/GFReader.cpp, src/GFReader.h,
4586 src/GFReader.hpp, src/GFTracer.cpp, src/GFTracer.h, src/GFTracer.hpp,
4587 src/Ghostscript.cpp, src/Ghostscript.h, src/Ghostscript.hpp, src/Glyph.h,
4588 src/Glyph.hpp, src/GlyphTracerMessages.h, src/GlyphTracerMessages.hpp,
4589 src/GraphicsPath.h, src/GraphicsPath.hpp, src/HtmlSpecialHandler.cpp,
4590 src/HtmlSpecialHandler.h, src/HtmlSpecialHandler.hpp,
4591 src/InputBuffer.cpp, src/InputBuffer.h, src/InputBuffer.hpp,
4592 src/InputReader.cpp, src/InputReader.h, src/InputReader.hpp, src/JFM.cpp,
4593 src/JFM.h, src/JFM.hpp, src/Length.cpp, src/Length.h, src/Length.hpp,
4594 src/Makefile.am, src/MapLine.cpp, src/MapLine.h, src/MapLine.hpp,
4595 src/Matrix.cpp, src/Matrix.h, src/Matrix.hpp, src/Message.cpp,
4596 src/Message.h, src/Message.hpp, src/MessageException.h,
4597 src/MessageException.hpp, src/MetafontWrapper.cpp, src/MetafontWrapper.h,
4598 src/MetafontWrapper.hpp, src/MiKTeXCom.cpp, src/MiKTeXCom.h,
4599 src/MiKTeXCom.hpp, src/NoPsSpecialHandler.cpp, src/NoPsSpecialHandler.h,
4600 src/NoPsSpecialHandler.hpp, src/NumericRanges.h, src/NumericRanges.hpp,
4601 src/PSFilter.h, src/PSFilter.hpp, src/PSInterpreter.cpp,
4602 src/PSInterpreter.h, src/PSInterpreter.hpp, src/PSPattern.cpp,
4603 src/PSPattern.h, src/PSPattern.hpp, src/PSPreviewFilter.cpp,
4604 src/PSPreviewFilter.h, src/PSPreviewFilter.hpp, src/PageRanges.cpp,
4605 src/PageRanges.h, src/PageRanges.hpp, src/PageSize.cpp, src/PageSize.h,
4606 src/PageSize.hpp, src/Pair.h, src/Pair.hpp,
4607 src/PapersizeSpecialHandler.cpp, src/PapersizeSpecialHandler.h,
4608 src/PapersizeSpecialHandler.hpp, src/PathClipper.cpp, src/PathClipper.h,
4609 src/PathClipper.hpp, src/PdfSpecialHandler.cpp, src/PdfSpecialHandler.h,
4610 src/PdfSpecialHandler.hpp, src/PreScanDVIReader.cpp,
4611 src/PreScanDVIReader.h, src/PreScanDVIReader.hpp, src/Process.cpp,
4612 src/Process.h, src/Process.hpp, src/PsSpecialHandler.cpp,
4613 src/PsSpecialHandler.h, src/PsSpecialHandler.hpp, src/RangeMap.cpp,
4614 src/RangeMap.h, src/RangeMap.hpp, src/SVGCharHandler.cpp,
4615 src/SVGCharHandler.h, src/SVGCharHandler.hpp,
4616 src/SVGCharHandlerFactory.cpp, src/SVGCharHandlerFactory.h,
4617 src/SVGCharHandlerFactory.hpp, src/SVGCharPathHandler.cpp,
4618 src/SVGCharPathHandler.h, src/SVGCharPathHandler.hpp,
4619 src/SVGCharTspanTextHandler.cpp, src/SVGCharTspanTextHandler.h,
4620 src/SVGCharTspanTextHandler.hpp, src/SVGOutput.cpp, src/SVGOutput.h,
4621 src/SVGOutput.hpp, src/SVGSingleCharTextHandler.cpp,
4622 src/SVGSingleCharTextHandler.h, src/SVGSingleCharTextHandler.hpp,
4623 src/SVGTree.cpp, src/SVGTree.h, src/SVGTree.hpp, src/ShadingPatch.cpp,
4624 src/ShadingPatch.h, src/ShadingPatch.hpp, src/SignalHandler.cpp,
4625 src/SignalHandler.h, src/SignalHandler.hpp, src/SpecialActions.h,
4626 src/SpecialActions.hpp, src/SpecialHandler.h, src/SpecialHandler.hpp,
4627 src/SpecialManager.cpp, src/SpecialManager.h, src/SpecialManager.hpp,
4628 src/StreamReader.cpp, src/StreamReader.h, src/StreamReader.hpp,
4629 src/StreamWriter.cpp, src/StreamWriter.h, src/StreamWriter.hpp,
4630 src/Subfont.cpp, src/Subfont.h, src/Subfont.hpp, src/System.cpp,
4631 src/System.h, src/System.hpp, src/TFM.cpp, src/TFM.h, src/TFM.hpp,
4632 src/TensorProductPatch.cpp, src/TensorProductPatch.h,
4633 src/TensorProductPatch.hpp, src/Terminal.cpp, src/Terminal.h,
4634 src/Terminal.hpp, src/ToUnicodeMap.cpp, src/ToUnicodeMap.h,
4635 src/ToUnicodeMap.hpp, src/TpicSpecialHandler.cpp,
4636 src/TpicSpecialHandler.h, src/TpicSpecialHandler.hpp,
4637 src/TriangularPatch.cpp, src/TriangularPatch.h, src/TriangularPatch.hpp,
4638 src/Unicode.cpp, src/Unicode.h, src/Unicode.hpp, src/VFActions.h,
4639 src/VFActions.hpp, src/VFReader.cpp, src/VFReader.h, src/VFReader.hpp,
4640 src/VectorIterator.h, src/VectorIterator.hpp, src/VectorStream.h,
4641 src/VectorStream.hpp, src/XMLDocument.cpp, src/XMLDocument.h,
4642 src/XMLDocument.hpp, src/XMLNode.cpp, src/XMLNode.h, src/XMLNode.hpp,
4643 src/XMLString.cpp, src/XMLString.h, src/XMLString.hpp,
4644 src/ZLibOutputStream.h, src/ZLibOutputStream.hpp, src/dvisvgm.cpp,
4645 src/macros.h, src/macros.hpp, src/psdefs.cpp, tests/BezierTest.cpp,
4646 tests/BitmapTest.cpp, tests/BoundingBoxTest.cpp,
4647 tests/CMapManagerTest.cpp, tests/CMapReaderTest.cpp, tests/CMapTest.cpp,
4648 tests/CRC32Test.cpp, tests/CalculatorTest.cpp,
4649 tests/ColorSpecialTest.cpp, tests/ColorTest.cpp,
4650 tests/CommandLineTest.cpp, tests/DependencyGraphTest.cpp,
4651 tests/DirectoryTest.cpp, tests/DvisvgmSpecialTest.cpp,
4652 tests/EmSpecialTest.cpp, tests/FileFinderTest.cpp,
4653 tests/FilePathTest.cpp, tests/FileSystemTest.cpp,
4654 tests/FontManagerTest.cpp, tests/FontMapTest.cpp,
4655 tests/GFGlyphTracerTest.cpp, tests/GFReaderTest.cpp,
4656 tests/GhostscriptTest.cpp, tests/GraphicsPathTest.cpp,
4657 tests/JFMReaderTest.cpp, tests/LengthTest.cpp, tests/Makefile.am,
4658 tests/MapLineTest.cpp, tests/MatrixTest.cpp,
4659 tests/MessageExceptionTest.cpp, tests/PSInterpreterTest.cpp,
4660 tests/PageRagesTest.cpp, tests/PageSizeTest.cpp, tests/PairTest.cpp,
4661 tests/RangeMapTest.cpp, tests/SVGOutputTest.cpp,
4662 tests/ShadingPatchTest.cpp, tests/SplittedCharInputBufferTest.cpp,
4663 tests/StreamInputBufferTest.cpp, tests/StreamReaderTest.cpp,
4664 tests/StreamWriterTest.cpp, tests/SubfontTest.cpp,
4665 tests/TFMReaderTest.cpp, tests/TensorProductPatchTest.cpp,
4666 tests/ToUnicodeMapTest.cpp, tests/TriangularPatchTest.cpp,
4667 tests/UnicodeTest.cpp, tests/VectorIteratorTest.cpp,
4668 tests/VectorStreamTest.cpp, tests/XMLNodeTest.cpp,
4669 tests/XMLStringTest.cpp, tests/create-makefile:
4670 renamed filename extension of C++ headers to .hpp
4671
4672 2016-07-20 Martin Gieseking <martin.gieseking@uos.de>
4673
4674 * src/CMapManager.cpp, src/CMapManager.h, src/FileFinder.cpp,
4675 src/Font.cpp, src/Font.h, src/XMLDocument.cpp, src/XMLDocument.h,
4676 src/XMLNode.cpp, src/XMLNode.h, tests/XMLNodeTest.cpp:
4677 use smart pointers to release heap memory
4678
4679 * src/DVIToSVGActions.cpp, src/DVIToSVGActions.h:
4680 create BoxMap object directly, avoid new/delete
4681
4682 2016-07-19 Martin Gieseking <martin.gieseking@uos.de>
4683
4684 * src/AGLTable.h, src/Color.cpp, src/Unicode.cpp, tests/genhashcheck.py:
4685 replaced repeated binary search implementations with calls of
4686 lower_bound()
4687
4688 2016-07-13 Martin Gieseking <martin.gieseking@uos.de>
4689
4690 * src/FileFinder.cpp, src/Message.cpp:
4691 initialize maps with initializer-lists
4692
4693 2016-07-05 Martin Gieseking <martin.gieseking@uos.de>
4694
4695 * src/Length.cpp, src/TpicSpecialHandler.cpp:
4696 replaced 'id macros' with constexpr functions
4697
4698 2016-07-04 Martin Gieseking <martin.gieseking@uos.de>
4699
4700 * src/TFM.cpp:
4701 added missing initializers
4702
4703 * src/dvisvgm.cpp:
4704 catch exception in set_cache_dir()
4705
4706 * .travis.yml, configure.ac, src/Doxyfile:
4707 set version to 1.16
4708
4709 * NEWS, README.md:
4710 updated NEWS and README
4711
4712 2016-07-03 Martin Gieseking <martin.gieseking@uos.de>
4713
4714 * configure.ac, m4/ax_cxx_compile_stdcxx.m4:
4715 switch from C++03 to C++11
4716
4717 * src/NumericRanges.h, src/PapersizeSpecialHandler.cpp, src/Unicode.cpp,
4718 src/VFReader.cpp:
4719 replaced static callback functions with lambdas
4720
4721 * src/CMapReader.cpp, src/CMapReader.h, src/CmdLineParserBase.cpp,
4722 src/CmdLineParserBase.h, src/Color.cpp, src/Color.h, src/CommandLine.cpp,
4723 src/DVIReader.cpp, src/DVIReader.h, src/DVIToSVG.cpp,
4724 src/EmSpecialHandler.cpp, src/Font.cpp, src/Font.h, src/FontManager.cpp,
4725 src/GraphicsPath.h, src/HtmlSpecialHandler.cpp, src/HtmlSpecialHandler.h,
4726 src/Length.cpp, src/Length.h, src/PathClipper.cpp,
4727 src/PsSpecialHandler.cpp, src/SVGTree.cpp, src/ShadingPatch.cpp,
4728 src/TensorProductPatch.h, tests/BoundingBoxTest.cpp,
4729 tests/LengthTest.cpp, tests/ShadingPatchTest.cpp,
4730 tests/TensorProductPatchTest.cpp, tests/TriangularPatchTest.cpp:
4731 replaced some enums with enum classes
4732
4733 * clipper/clipper.hpp, src/AGLTable.h, src/BasicDVIReader.cpp,
4734 src/Bitmap.cpp, src/Bitmap.h, src/BoundingBox.h, src/CMap.cpp,
4735 src/CMap.h, src/CMapReader.cpp, src/CRC32.cpp, src/CRC32.h,
4736 src/CharMapID.h, src/Character.h, src/Color.cpp, src/Color.h,
4737 src/DVIActions.h, src/DVIReader.cpp, src/DVIReader.h, src/DVIToSVG.cpp,
4738 src/DVIToSVG.h, src/DVIToSVGActions.cpp, src/DVIToSVGActions.h,
4739 src/EPSFile.cpp, src/EPSFile.h, src/EncFile.cpp, src/EncFile.h,
4740 src/FileSystem.cpp, src/FileSystem.h, src/FixWord.h, src/Font.cpp,
4741 src/Font.h, src/FontCache.cpp, src/FontCache.h, src/FontEncoding.cpp,
4742 src/FontEncoding.h, src/FontEngine.cpp, src/FontEngine.h,
4743 src/FontManager.cpp, src/FontManager.h, src/FontMetrics.cpp,
4744 src/FontMetrics.h, src/GFGlyphTracer.cpp, src/GFGlyphTracer.h,
4745 src/GFReader.cpp, src/GFReader.h, src/GFTracer.cpp, src/GFTracer.h,
4746 src/Glyph.h, src/GlyphTracerMessages.h, src/InputBuffer.cpp,
4747 src/InputBuffer.h, src/JFM.cpp, src/JFM.h, src/Makefile.am,
4748 src/Message.h, src/Pair.h, src/PathClipper.cpp, src/PreScanDVIReader.cpp,
4749 src/PsSpecialHandler.h, src/RangeMap.cpp, src/RangeMap.h,
4750 src/SVGCharHandler.h, src/SVGCharPathHandler.cpp,
4751 src/SVGCharPathHandler.h, src/SVGCharTspanTextHandler.cpp,
4752 src/SVGCharTspanTextHandler.h, src/SVGSingleCharTextHandler.cpp,
4753 src/SVGSingleCharTextHandler.h, src/StreamReader.cpp, src/StreamReader.h,
4754 src/StreamWriter.cpp, src/StreamWriter.h, src/Subfont.cpp, src/Subfont.h,
4755 src/TFM.cpp, src/TFM.h, src/ToUnicodeMap.cpp, src/ToUnicodeMap.h,
4756 src/Unicode.cpp, src/Unicode.h, src/VFActions.h, src/VFReader.cpp,
4757 src/VFReader.h, src/XMLString.cpp, src/types.h, tests/BitmapTest.cpp,
4758 tests/CRC32Test.cpp, tests/ColorSpecialTest.cpp, tests/ColorTest.cpp,
4759 tests/GFGlyphTracerTest.cpp, tests/GFReaderTest.cpp,
4760 tests/JFMReaderTest.cpp, tests/Makefile.am, tests/StreamReaderTest.cpp,
4761 tests/TriangularPatchTest.cpp, tests/TypesTest.cpp,
4762 tests/UnicodeTest.cpp:
4763 replaced own fixed-sized integer types with types from cstdint
4764
4765 * AUTHORS, LGPL-2.1.txt, Makefile.am, gzstream/COPYING.LIB,
4766 gzstream/Makefile, gzstream/README, gzstream/gzstream.cpp,
4767 gzstream/gzstream.h, gzstream/index.html, gzstream/logo.gif,
4768 gzstream/test_gunzip.C, gzstream/test_gzip.C, gzstream/version,
4769 src/Makefile.am, src/SVGOutput.cpp, src/SVGOutput.h,
4770 src/ZLibOutputStream.h, src/dvisvgm.cpp, src/gzstream.cpp,
4771 src/gzstream.h, tests/Makefile.am, tests/SVGOutputTest.cpp,
4772 tests/create-makefile:
4773 replaced old gzstream classes
4774
4775 * src/DVIReader.cpp, src/DVIReader.h, src/Font.cpp, src/Font.h,
4776 src/FontManager.cpp, src/FontManager.h, src/VFActions.h,
4777 src/VFReader.cpp:
4778 transfer DVI snippet of a VF char by move semantics rather than by heap
4779 pointer
4780
4781 2016-07-02 Martin Gieseking <martin.gieseking@uos.de>
4782
4783 * src/Bitmap.cpp, src/BoundingBox.h, src/CMapManager.cpp,
4784 src/CmdLineParserBase.cpp, src/DVIToSVG.cpp, src/DVIToSVGActions.cpp,
4785 src/DVIToSVGActions.h, src/DependencyGraph.h,
4786 src/DvisvgmSpecialHandler.cpp, src/EmSpecialHandler.cpp,
4787 src/FileFinder.cpp, src/FilePath.cpp, src/FilePath.h, src/Font.cpp,
4788 src/FontCache.cpp, src/FontEncoding.cpp, src/FontManager.cpp,
4789 src/FontMap.cpp, src/FontMap.h, src/GFReader.cpp, src/GFReader.h,
4790 src/GraphicsPath.h, src/HtmlSpecialHandler.cpp, src/NumericRanges.h,
4791 src/PSPattern.cpp, src/PsSpecialHandler.cpp, src/SVGTree.cpp,
4792 src/SVGTree.h, src/SpecialManager.cpp, src/SpecialManager.h,
4793 src/Subfont.cpp, src/Subfont.h, src/TpicSpecialHandler.cpp,
4794 src/XMLDocument.cpp, src/XMLNode.cpp, src/XMLString.cpp, src/macros.h:
4795 use range-based 'for' loop to iterate over containers; drop FORALL macro
4796
4797 * clipper/clipper.hpp, src/BgColorSpecialHandler.h, src/Bitmap.cpp,
4798 src/CMap.h, src/CmdLineParserBase.h, src/ColorSpecialHandler.h,
4799 src/CommandLine.h, src/DVIReader.h, src/DVIToSVG.h,
4800 src/DVIToSVGActions.h, src/DvisvgmSpecialHandler.h, src/EPSToSVG.h,
4801 src/EmSpecialHandler.h, src/EncFile.h, src/Font.h, src/FontCache.cpp,
4802 src/FontEncoding.h, src/FontMetrics.h, src/GFGlyphTracer.h,
4803 src/GFReader.h, src/GFTracer.h, src/GlyphTracerMessages.h,
4804 src/GraphicsPath.h, src/HtmlSpecialHandler.h, src/InputBuffer.h,
4805 src/InputReader.h, src/JFM.h, src/MessageException.h,
4806 src/NoPsSpecialHandler.h, src/PSPattern.h, src/PSPreviewFilter.h,
4807 src/PapersizeSpecialHandler.h, src/PathClipper.cpp,
4808 src/PdfSpecialHandler.h, src/PreScanDVIReader.h,
4809 src/PsSpecialHandler.cpp, src/PsSpecialHandler.h,
4810 src/SVGCharPathHandler.h, src/SVGCharTspanTextHandler.h, src/SVGOutput.h,
4811 src/SVGSingleCharTextHandler.h, src/SpecialActions.h, src/TFM.h,
4812 src/TensorProductPatch.h, src/TpicSpecialHandler.h,
4813 src/TriangularPatch.h, src/VectorStream.h, src/XMLNode.h:
4814 mark overridden methods with 'override' keyword
4815
4816 * src/PsSpecialHandler.cpp:
4817 use unique_ptr rather than deprecated auto_ptr
4818
4819 * src/BasicDVIReader.h, src/Bitmap.h, src/CMap.h, src/CmdLineParserBase.h,
4820 src/DVIActions.h, src/Font.h, src/FontEncoding.h, src/FontMetrics.h,
4821 src/GFGlyphTracer.h, src/GFReader.h, src/GFTracer.h, src/GraphicsPath.h,
4822 src/InputBuffer.h, src/InputReader.h, src/MessageException.h,
4823 src/PSFilter.h, src/PSInterpreter.h, src/PSPattern.h,
4824 src/SVGCharHandler.h, src/SVGOutput.h, src/ShadingPatch.h,
4825 src/SpecialActions.h, src/SpecialHandler.h, src/StreamReader.h,
4826 src/StreamWriter.h, src/Subfont.h, src/VFActions.h, src/XMLNode.h:
4827 replaced empty virtual destructors with default ones
4828
4829 2016-07-01 Martin Gieseking <martin.gieseking@uos.de>
4830
4831 * src/BasicDVIReader.h, src/DVIActions.h, src/DVIReader.cpp,
4832 src/DVIReader.h, src/DVIToSVG.cpp, src/DVIToSVG.h,
4833 src/DVIToSVGActions.cpp, src/DVIToSVGActions.h, src/FontManager.cpp,
4834 src/FontManager.h, src/PreScanDVIReader.h, src/dvisvgm.cpp:
4835 refactored the DVI reader classes
4836 - added higher-level template methods
4837 to process the DVI commands more safely
4838 - moved triggering of DVIActions
4839 from DVIReader to DVIToSVG
4840
4841 2016-06-29 Martin Gieseking <martin.gieseking@uos.de>
4842
4843 * src/BoundingBox.cpp, src/BoundingBox.h, src/DVIToSVG.cpp,
4844 src/dvisvgm.cpp:
4845 fixed computation of bounding boxes modified by relative --bbox argument
4846
4847 * xxHash/xxhash.c, xxHash/xxhash.h:
4848 updated xxHash to version 0.6.1
4849
4850 2016-06-17 Martin Gieseking <martin.gieseking@uos.de>
4851
4852 * src/TFM.cpp, tests/JFMReaderTest.cpp, tests/TFMReaderTest.cpp:
4853 minor improvements to TFM/JFM tests
4854
4855 2016-06-16 Martin Gieseking <martin.gieseking@uos.de>
4856
4857 * src/DVIReader.cpp, src/VectorStream.h, tests/VectorStreamTest.cpp:
4858 refactored VectorStreamBuffer to keep constness of assigned vector
4859
4860 * src/GFReader.cpp:
4861 ensure validity of postpost command in GFReader::executePostamble()
4862
4863 2016-06-14 Martin Gieseking <martin.gieseking@uos.de>
4864
4865 * src/DvisvgmSpecialHandler.cpp, src/TFM.cpp, src/VFReader.cpp:
4866 replaced local definitions of pt2bp with Length::pt2bp
4867
4868 * src/XMLNode.h:
4869 added ouput operators for the XML node objects
4870
4871 * src/EmSpecialHandler.cpp, src/EmSpecialHandler.h,
4872 tests/EmSpecialTest.cpp, tests/Makefile.am:
4873 improved the emTeX special handler; added EmSpecialTest
4874
4875 * src/BoundingBox.cpp, src/BoundingBox.h, tests/BoundingBoxTest.cpp:
4876 fixed unit conversion in BoundingBox class
4877
4878 2016-06-13 Martin Gieseking <martin.gieseking@uos.de>
4879
4880 * doc/dvisvgm.txt.in, src/Length.cpp, src/Length.h, tests/LengthTest.cpp:
4881 added dd, cc, and sp units to class Length; fixed factor pt2pc
4882
4883 2016-06-12 Martin Gieseking <martin.gieseking@uos.de>
4884
4885 * xxHash/xxhash.c, xxHash/xxhash.h:
4886 updated xxHash to version 0.6.0
4887
4888 * src/DLLoader.cpp, src/DLLoader.h, src/Directory.cpp, src/Directory.h,
4889 src/FilePath.cpp, src/FilePath.h, src/FileSystem.cpp, src/GFTracer.cpp,
4890 src/Ghostscript.cpp, src/Ghostscript.h, src/Message.cpp,
4891 src/MetafontWrapper.cpp, src/Process.cpp, src/Terminal.cpp,
4892 src/Terminal.h, src/dvisvgm.cpp:
4893 cleaned up Windows-related #defines
4894
4895 2016-06-10 Martin Gieseking <martin.gieseking@uos.de>
4896
4897 * src/CommandLine.cpp:
4898 removed redundant #includes
4899
4900 * src/Length.cpp, src/Length.h, tests/LengthTest.cpp:
4901 added functions to convert between Length::Unit and std::string
4902
4903 2016-06-07 Martin Gieseking <martin.gieseking@uos.de>
4904
4905 * src/CMapManager.cpp, src/CMapManager.h, src/DVIActions.h,
4906 src/DVIToSVGActions.h, src/DvisvgmSpecialHandler.h, src/Font.h,
4907 src/FontEngine.h, src/FontManager.h, src/HtmlSpecialHandler.cpp,
4908 src/HtmlSpecialHandler.h, src/PSPattern.h, src/PSPreviewFilter.h,
4909 src/SVGCharHandler.cpp, src/SVGCharHandler.h, src/SVGCharPathHandler.cpp,
4910 src/SVGCharTspanTextHandler.cpp, src/SVGSingleCharTextHandler.cpp,
4911 src/SVGTree.h, src/SpecialActions.h, src/SpecialHandler.h,
4912 src/SpecialManager.h, src/XMLDocument.cpp, src/XMLNode.h,
4913 tests/XMLNodeTest.cpp:
4914 changed some structs to classes and replaced #includes with forward
4915 declarations
4916
4917 * src/SVGCharHandler.h:
4918 added missing initializer to class SVGCharHandler
4919
4920 2016-06-03 Martin Gieseking <martin.gieseking@uos.de>
4921
4922 * src/BgColorSpecialHandler.cpp, src/BgColorSpecialHandler.h,
4923 src/ColorSpecialHandler.cpp, src/ColorSpecialHandler.h, src/DVIToSVG.cpp,
4924 src/DVIToSVGActions.cpp, src/DvisvgmSpecialHandler.cpp,
4925 src/DvisvgmSpecialHandler.h, src/EPSToSVG.cpp, src/EmSpecialHandler.cpp,
4926 src/EmSpecialHandler.h, src/HtmlSpecialHandler.cpp,
4927 src/HtmlSpecialHandler.h, src/NoPsSpecialHandler.cpp,
4928 src/NoPsSpecialHandler.h, src/PSPattern.cpp, src/PSPattern.h,
4929 src/PdfSpecialHandler.cpp, src/PdfSpecialHandler.h,
4930 src/PsSpecialHandler.cpp, src/PsSpecialHandler.h, src/SpecialHandler.h,
4931 src/SpecialManager.cpp, src/SpecialManager.h, src/TpicSpecialHandler.cpp,
4932 src/TpicSpecialHandler.h, tests/ColorSpecialTest.cpp,
4933 tests/DvisvgmSpecialTest.cpp:
4934 refactored handling of SpecialAction objects
4935
4936 * src/DVIReader.cpp, src/DVIReader.h, src/DVIToSVG.cpp, src/DVIToSVG.h,
4937 src/DVIToSVGActions.cpp, src/DVIToSVGActions.h, src/SVGTree.cpp,
4938 src/SVGTree.h:
4939 refactored processing of end-of-page (eop) commands
4940
4941 * doc/dvisvgm.txt.in, src/DVIToSVG.cpp, src/Makefile.am,
4942 src/PapersizeSpecialHandler.cpp, src/PapersizeSpecialHandler.h,
4943 src/PsSpecialHandler.cpp, src/dvisvgm.cpp:
4944 added evaluation of PS special 'papersize='
4945
4946 2016-06-02 Martin Gieseking <martin.gieseking@uos.de>
4947
4948 * src/DVIToSVG.cpp:
4949 fixed transformation of background color rectange
4950
4951 2016-05-31 Martin Gieseking <martin.gieseking@uos.de>
4952
4953 * src/DVIToSVG.cpp, src/EPSToSVG.cpp:
4954 reworded messages printed after finishing a conversion
4955
4956 2016-05-30 Martin Gieseking <martin.gieseking@uos.de>
4957
4958 * src/DVIToSVGActions.cpp, src/Font.cpp, src/Makefile.am,
4959 src/SVGCharHandler.cpp, src/SVGCharHandler.h,
4960 src/SVGCharHandlerFactory.cpp, src/SVGCharHandlerFactory.h,
4961 src/SVGCharPathHandler.cpp, src/SVGCharPathHandler.h,
4962 src/SVGCharTspanTextHandler.cpp, src/SVGCharTspanTextHandler.h,
4963 src/SVGSingleCharTextHandler.cpp, src/SVGSingleCharTextHandler.h,
4964 src/SVGTree.cpp, src/SVGTree.h, src/dvisvgm.cpp:
4965 replaced static SVG text backend by specialized handler classes
4966
4967 * src/BasicDVIReader.cpp, src/BasicDVIReader.h, src/Bezier.h,
4968 src/TensorProductPatch.h, src/TriangularPatch.h:
4969 replaced leading spaces with tabs
4970
4971 2016-05-29 Martin Gieseking <martin.gieseking@uos.de>
4972
4973 * src/BasicDVIReader.cpp, src/DVIReader.cpp:
4974 fixed handling of subfont index in native font definition of XDV 7
4975
4976 2016-05-27 Martin Gieseking <martin.gieseking@uos.de>
4977
4978 * src/XMLDocument.cpp, src/XMLNode.cpp, src/XMLNode.h,
4979 tests/DvisvgmSpecialTest.cpp:
4980 prevent line wrapping inside text nodes
4981
4982 2016-05-26 Martin Gieseking <martin.gieseking@uos.de>
4983
4984 * README.md, doc/dvisvgm.txt.in, src/BasicDVIReader.cpp,
4985 src/BasicDVIReader.h, src/DVIReader.cpp, src/DVIToSVG.cpp:
4986 reworded 'DVI format' to 'DVI (format) version'
4987
4988 * README.md, doc/dvisvgm.txt.in, src/BasicDVIReader.cpp,
4989 src/BasicDVIReader.h, src/DVIReader.cpp:
4990 added support for XDV version 7 introduced by XeTeX 0.99995
4991
4992 2016-05-25 Martin Gieseking <martin.gieseking@uos.de>
4993
4994 * src/TFM.cpp:
4995 prevent reading more than 7 TFM param values (fixes #58)
4996
4997 * .travis.yml:
4998 temporarily drop clang from Travis builds
4999
5000 2016-05-24 Martin Gieseking <martin.gieseking@uos.de>
5001
5002 * src/JFM.cpp, src/JFM.h, src/TFM.cpp, src/TFM.h:
5003 TFM: store design size in bp units rather than as fixword
5004
5005 * src/FontMetrics.h, src/JFM.cpp, src/TFM.cpp, src/TFM.h:
5006 added methods to query space-related parameters from TFM/JFM files
5007
5008 * src/TFM.cpp, tests/JFMReaderTest.cpp, tests/TFMReaderTest.cpp:
5009 fixed calculation of character dimensions in TFM class
5010
5011 2016-04-22 Martin Gieseking <martin.gieseking@uos.de>
5012
5013 * src/Process.cpp:
5014 fixed collecting stdout/stderr output when executing a process
5015
5016 2016-04-20 Martin Gieseking <martin.gieseking@uos.de>
5017
5018 * src/CMap.h, src/CMapReader.cpp, tests/CMapManagerTest.cpp,
5019 tests/Makefile.am, tests/data/Makefile.am, tests/data/ot1.cmap:
5020 added CMapManagerTest
5021
5022 2016-04-19 Martin Gieseking <martin.gieseking@uos.de>
5023
5024 * .travis.yml, configure.ac, src/Doxyfile:
5025 set version to 1.15.1
5026
5027 * NEWS, README, README.md:
5028 updated NEWS and README
5029
5030 2016-04-18 Martin Gieseking <martin.gieseking@uos.de>
5031
5032 * src/Calculator.cpp, src/Matrix.cpp:
5033 use std::ws to skip whitespace in istreams
5034
5035 * src/Matrix.cpp:
5036 avoid adding trailing EOF characters when parsing parameters of
5037 transformation commands
5038
5039 * tests/CMapReaderTest.cpp:
5040 improved CMapReaderTest
5041
5042 2016-04-11 Martin Gieseking <martin.gieseking@uos.de>
5043
5044 * src/AGLTable.h, src/Makefile.am, src/Unicode.cpp, tests/Makefile.am,
5045 tests/create-makefile, tests/genhashcheck.py:
5046 moved AGL hash table from Unicode.cpp to a separate file
5047
5048 2016-04-07 Martin Gieseking <martin.gieseking@uos.de>
5049
5050 * src/XMLDocument.cpp:
5051 explicitly specify UTF-8 encoding in XML declaration (closes #54)
5052
5053 * src/Unicode.cpp, tests/UnicodeTest.cpp:
5054 added support for the AGL character names 'uniFOO' and 'uFOO'
5055
5056 2016-03-17 Martin Gieseking <martin.gieseking@uos.de>
5057
5058 * src/GraphicsPath.h:
5059 renamed GraphicsPath::sconito/scubicto
5060
5061 2016-03-14 Martin Gieseking <martin.gieseking@uos.de>
5062
5063 * doc/db2html.xsl:
5064 adapted db2html to insert anchors for each option entry
5065
5066 * src/DVIActions.h, src/DVIReader.cpp, src/DVIToSVGActions.cpp,
5067 src/DVIToSVGActions.h, src/SVGTree.cpp, src/SVGTree.h:
5068 changed font parameter of setFont() methods from pointer to reference
5069
5070 * src/SVGTree.cpp, src/SVGTree.h:
5071 split text and path section of SVGTree::appendChar() into seperate
5072 methods
5073
5074 2016-02-27 Martin Gieseking <martin.gieseking@uos.de>
5075
5076 * NEWS:
5077 updated NEWS
5078
5079 2016-02-26 Martin Gieseking <martin.gieseking@uos.de>
5080
5081 * doc/dvisvgm.txt.in, src/CommandLine.cpp, src/CommandLine.h,
5082 src/Font.cpp, src/Font.h, src/SVGTree.cpp, src/SVGTree.h,
5083 src/dvisvgm.cpp, src/options.xml:
5084 added option --comments (adds comments with additional information to
5085 the SVG file
5086
5087 * src/Font.cpp, src/Unicode.cpp, src/Unicode.h, tests/UnicodeTest.cpp:
5088 renamed Unicode::psNameToCodepoint() to Unicode::aglNameToCodepoint
5089
5090 * src/FileFinder.cpp, src/FilePath.cpp, src/FileSystem.cpp,
5091 src/FileSystem.h, src/Font.cpp, src/MetafontWrapper.cpp, src/dvisvgm.cpp:
5092 changed string parameters of FileSystem functions to type std::string
5093
5094 * .travis.yml, configure.ac, src/Doxyfile:
5095 set version to 1.15
5096
5097 2016-02-23 Martin Gieseking <martin.gieseking@uos.de>
5098
5099 * src/FontEngine.cpp:
5100 reworded error messages of class FontEngine
5101
5102 * src/MetafontWrapper.cpp, src/Process.cpp:
5103 avoid reading Metafont logfiles to extract the GF filename
5104
5105 * configure.ac, src/FileFinder.cpp, src/FileFinder.h,
5106 tests/FileFinderTest.cpp, tests/GFGlyphTracerTest.cpp,
5107 tests/GFReaderTest.cpp, tests/JFMReaderTest.cpp, tests/Makefile.am,
5108 tests/TFMReaderTest.cpp, tests/cidjmgr0-h.tfm, tests/cmr10.600gf,
5109 tests/cmr10.tfm, tests/create-makefile, tests/data/Makefile.am,
5110 tests/data/cidjmgr0-h.tfm, tests/data/cmr10.600gf, tests/data/cmr10.tfm,
5111 tests/data/dvipdfm_test.map, tests/data/dvips_test.map,
5112 tests/data/frktest-nf-cmp.svg, tests/data/frktest-wf-cmp.svg,
5113 tests/data/frktest.dvi, tests/data/sample-nf-cmp.svg,
5114 tests/data/sample-wf-cmp.svg, tests/data/sample.dvi,
5115 tests/data/sample.sfd, tests/dvipdfm_test.map, tests/dvips_test.map,
5116 tests/frktest-nf-cmp.svg, tests/frktest-wf-cmp.svg, tests/frktest.dvi,
5117 tests/sample-nf-cmp.svg, tests/sample-wf-cmp.svg, tests/sample.dvi,
5118 tests/sample.sfd:
5119 moved test data files to subfolder
5120
5121 2016-02-22 Martin Gieseking <martin.gieseking@uos.de>
5122
5123 * tests/FileFinderTest.cpp, tests/GFReaderTest.cpp,
5124 tests/SVGOutputTest.cpp:
5125 avoid implicit casts of ifstream/ozstream objects in tests
5126
5127 * src/CmdLineParserBase.cpp, src/CmdLineParserBase.h,
5128 tests/CommandLineTest.cpp:
5129 minor improvements of class CommandLineTest
5130
5131 * src/XMLNode.cpp, tests/DvisvgmSpecialTest.cpp:
5132 improved DvisvgmSpecialTest
5133
5134 * src/FontEngine.cpp, src/FontEngine.h:
5135 removed redundant code from class FontEngine
5136
5137 2016-02-05 Martin Gieseking <martin.gieseking@uos.de>
5138
5139 * src/PsSpecialHandler.cpp:
5140 don't remove clipping paths that consist of single moveto commands only
5141
5142 2016-02-01 Martin Gieseking <martin.gieseking@uos.de>
5143
5144 * src/Bitmap.cpp, src/BoundingBox.cpp, src/CMap.cpp, src/CMapManager.cpp,
5145 src/Calculator.cpp, src/CommandLine.cpp, src/DVIReader.cpp,
5146 src/DVIToSVG.cpp, src/DVIToSVG.h, src/DVIToSVGActions.cpp,
5147 src/Directory.cpp, src/Directory.h, src/EPSToSVG.cpp, src/EncFile.cpp,
5148 src/FileFinder.cpp, src/Font.cpp, src/FontCache.h, src/FontEngine.cpp,
5149 src/FontManager.cpp, src/FontMap.cpp, src/FontMetrics.cpp,
5150 src/GFGlyphTracer.cpp, src/GFReader.cpp, src/GFTracer.cpp,
5151 src/HtmlSpecialHandler.cpp, src/InputReader.cpp, src/MapLine.cpp,
5152 src/MetafontWrapper.cpp, src/PSInterpreter.cpp,
5153 src/PdfSpecialHandler.cpp, src/Process.cpp, src/PsSpecialHandler.cpp,
5154 src/SVGTree.cpp, src/SpecialManager.cpp, src/StreamReader.cpp,
5155 src/StreamWriter.cpp, src/Subfont.cpp, src/TFM.cpp,
5156 src/TensorProductPatch.cpp, src/TpicSpecialHandler.cpp, src/VFReader.cpp,
5157 src/XMLDocument.cpp, src/dvisvgm.cpp, tests/XMLStringTest.cpp:
5158 minor code cleanup (removed redundant includes, added casts)
5159
5160 2016-01-21 Martin Gieseking <martin.gieseking@uos.de>
5161
5162 * m4/ax_code_coverage.m4:
5163 updated m4 code coverage script to latest version
5164
5165 * src/JFM.h, tests/JFMReaderTest.cpp, tests/Makefile.am,
5166 tests/TFMReaderTest.cpp, tests/cidjmgr0-h.tfm, tests/cmr10.tfm,
5167 tests/create-makefile:
5168 added tests for the TFM and JFM classes
5169
5170 2016-01-19 Martin Gieseking <martin.gieseking@uos.de>
5171
5172 * src/GraphicsPath.h, tests/GraphicsPathTest.cpp:
5173 fixed access of invalid iterator
5174
5175 * .travis.yml, configure.ac, src/Doxyfile:
5176 set version to 1.14.2
5177
5178 * NEWS, README.md:
5179 updated NEWS
5180
5181 2016-01-18 Martin Gieseking <martin.gieseking@uos.de>
5182
5183 * doc/dvisvgm.txt.in:
5184 added generic info about the command-line interface to the manpage
5185
5186 * doc/db2html.xsl:
5187 updated links to Bootstrap and Font Awesome in stylesheet db2html.xsl
5188
5189 * src/dvisvgm.cpp, xxHash/xxhash.c, xxHash/xxhash.h:
5190 updated xxHash to version 0.5.0
5191
5192 * tests/Makefile.am, tests/create-makefile, tests/genhashcheck.py:
5193 added test to check the validity of the char name hashes used in
5194 Unicode.cpp
5195
5196 2016-01-15 Martin Gieseking <martin.gieseking@uos.de>
5197
5198 * src/BgColorSpecialHandler.cpp, src/ColorSpecialHandler.cpp,
5199 src/ColorSpecialHandler.h, tests/ColorSpecialTest.cpp:
5200 removed check for 'background' special from ColorSpecialHandler
5201
5202 2016-01-13 Martin Gieseking <martin.gieseking@uos.de>
5203
5204 * src/DVIReader.h, src/FontStyle.h, src/SVGTree.cpp,
5205 src/TriangularPatch.cpp:
5206 updated/fixed some comments
5207
5208 * src/BgColorSpecialHandler.cpp, src/BgColorSpecialHandler.h,
5209 src/ColorSpecialHandler.cpp, src/ColorSpecialHandler.h, src/DVIToSVG.cpp,
5210 src/SpecialHandler.h, src/SpecialManager.cpp, src/SpecialManager.h:
5211 corrected handling of background color special across DVI pages
5212
5213 2016-01-05 Martin Gieseking <martin.gieseking@uos.de>
5214
5215 * src/GFReader.cpp, src/GFReader.h:
5216 added checks for misplaced GF commands
5217
5218 * NEWS:
5219 updated NEWS
5220
5221 2016-01-04 Martin Gieseking <martin.gieseking@uos.de>
5222
5223 * .travis.yml:
5224 force Travis to use legacy builds due to an issue with clang and gtest
5225
5226 * Makefile.am, README, README.md, configure.ac, doc/Makefile.am,
5227 doc/conf-dblatex-man.xsl, doc/conf-dblatex-pdf.xsl, doc/db2html.xsl,
5228 doc/dvisvgm.txt.in, src/BasicDVIReader.cpp, src/BasicDVIReader.h,
5229 src/Bezier.cpp, src/Bezier.h, src/BgColorSpecialHandler.cpp,
5230 src/BgColorSpecialHandler.h, src/Bitmap.cpp, src/Bitmap.h,
5231 src/BoundingBox.cpp, src/BoundingBox.h, src/CMap.cpp, src/CMap.h,
5232 src/CMapManager.cpp, src/CMapManager.h, src/CMapReader.cpp,
5233 src/CMapReader.h, src/CRC32.cpp, src/CRC32.h, src/Calculator.cpp,
5234 src/Calculator.h, src/CharMapID.cpp, src/CharMapID.h, src/Character.h,
5235 src/CmdLineParserBase.cpp, src/CmdLineParserBase.h, src/Color.cpp,
5236 src/Color.h, src/ColorSpecialHandler.cpp, src/ColorSpecialHandler.h,
5237 src/CommandLine.cpp, src/CommandLine.h, src/DLLoader.cpp, src/DLLoader.h,
5238 src/DVIActions.h, src/DVIReader.cpp, src/DVIReader.h, src/DVIToSVG.cpp,
5239 src/DVIToSVG.h, src/DVIToSVGActions.cpp, src/DVIToSVGActions.h,
5240 src/DependencyGraph.h, src/Directory.cpp, src/Directory.h,
5241 src/DvisvgmSpecialHandler.cpp, src/DvisvgmSpecialHandler.h,
5242 src/EPSFile.cpp, src/EPSFile.h, src/EPSToSVG.cpp, src/EPSToSVG.h,
5243 src/EmSpecialHandler.cpp, src/EmSpecialHandler.h, src/EncFile.cpp,
5244 src/EncFile.h, src/FileFinder.cpp, src/FileFinder.h, src/FilePath.cpp,
5245 src/FilePath.h, src/FileSystem.cpp, src/FileSystem.h, src/Font.cpp,
5246 src/Font.h, src/FontCache.cpp, src/FontCache.h, src/FontEncoding.cpp,
5247 src/FontEncoding.h, src/FontEngine.cpp, src/FontEngine.h,
5248 src/FontManager.cpp, src/FontManager.h, src/FontMap.cpp, src/FontMap.h,
5249 src/FontMetrics.cpp, src/FontMetrics.h, src/GFGlyphTracer.cpp,
5250 src/GFGlyphTracer.h, src/GFReader.cpp, src/GFReader.h, src/GFTracer.cpp,
5251 src/GFTracer.h, src/Ghostscript.cpp, src/Ghostscript.h, src/Glyph.h,
5252 src/GlyphTracerMessages.h, src/GraphicsPath.h,
5253 src/HtmlSpecialHandler.cpp, src/HtmlSpecialHandler.h,
5254 src/InputBuffer.cpp, src/InputBuffer.h, src/InputReader.cpp,
5255 src/InputReader.h, src/JFM.cpp, src/JFM.h, src/Length.cpp, src/Length.h,
5256 src/Makefile.am, src/MapLine.cpp, src/MapLine.h, src/Matrix.cpp,
5257 src/Matrix.h, src/Message.cpp, src/Message.h, src/MessageException.h,
5258 src/MetafontWrapper.cpp, src/MetafontWrapper.h, src/MiKTeXCom.cpp,
5259 src/MiKTeXCom.h, src/NoPsSpecialHandler.cpp, src/NoPsSpecialHandler.h,
5260 src/NumericRanges.h, src/PSFilter.h, src/PSInterpreter.cpp,
5261 src/PSInterpreter.h, src/PSPattern.cpp, src/PSPattern.h,
5262 src/PSPreviewFilter.cpp, src/PSPreviewFilter.h, src/PageRanges.cpp,
5263 src/PageRanges.h, src/PageSize.cpp, src/PageSize.h, src/Pair.h,
5264 src/PathClipper.cpp, src/PathClipper.h, src/PdfSpecialHandler.cpp,
5265 src/PdfSpecialHandler.h, src/PreScanDVIReader.cpp,
5266 src/PreScanDVIReader.h, src/Process.cpp, src/Process.h,
5267 src/PsSpecialHandler.cpp, src/PsSpecialHandler.h, src/RangeMap.cpp,
5268 src/RangeMap.h, src/SVGOutput.cpp, src/SVGOutput.h, src/SVGTree.cpp,
5269 src/SVGTree.h, src/ShadingPatch.cpp, src/ShadingPatch.h,
5270 src/SignalHandler.cpp, src/SignalHandler.h, src/SpecialActions.h,
5271 src/SpecialHandler.h, src/SpecialManager.cpp, src/SpecialManager.h,
5272 src/StreamReader.cpp, src/StreamReader.h, src/StreamWriter.cpp,
5273 src/StreamWriter.h, src/Subfont.cpp, src/Subfont.h, src/System.cpp,
5274 src/System.h, src/TFM.cpp, src/TFM.h, src/TensorProductPatch.cpp,
5275 src/TensorProductPatch.h, src/Terminal.cpp, src/Terminal.h,
5276 src/ToUnicodeMap.cpp, src/ToUnicodeMap.h, src/TpicSpecialHandler.cpp,
5277 src/TpicSpecialHandler.h, src/TriangularPatch.cpp, src/TriangularPatch.h,
5278 src/Unicode.cpp, src/Unicode.h, src/VFActions.h, src/VFReader.cpp,
5279 src/VFReader.h, src/VectorIterator.h, src/VectorStream.h,
5280 src/XMLDocument.cpp, src/XMLDocument.h, src/XMLNode.cpp, src/XMLNode.h,
5281 src/XMLString.cpp, src/XMLString.h, src/dvisvgm.cpp, src/macros.h,
5282 src/options.dtd, src/options.xml, src/psdefs.cpp, src/types.h,
5283 tests/BezierTest.cpp, tests/BitmapTest.cpp, tests/BoundingBoxTest.cpp,
5284 tests/CMapReaderTest.cpp, tests/CMapTest.cpp, tests/CRC32Test.cpp,
5285 tests/CalculatorTest.cpp, tests/ColorSpecialTest.cpp,
5286 tests/ColorTest.cpp, tests/CommandLineTest.cpp,
5287 tests/DependencyGraphTest.cpp, tests/DirectoryTest.cpp,
5288 tests/DvisvgmSpecialTest.cpp, tests/FileFinderTest.cpp,
5289 tests/FilePathTest.cpp, tests/FileSystemTest.cpp,
5290 tests/FontManagerTest.cpp, tests/FontMapTest.cpp,
5291 tests/GFGlyphTracerTest.cpp, tests/GFReaderTest.cpp,
5292 tests/GraphicsPathTest.cpp, tests/LengthTest.cpp, tests/Makefile.am,
5293 tests/MapLineTest.cpp, tests/MatrixTest.cpp,
5294 tests/MessageExceptionTest.cpp, tests/PSInterpreterTest.cpp,
5295 tests/PageRagesTest.cpp, tests/PageSizeTest.cpp, tests/PairTest.cpp,
5296 tests/RangeMapTest.cpp, tests/SVGOutputTest.cpp,
5297 tests/ShadingPatchTest.cpp, tests/SplittedCharInputBufferTest.cpp,
5298 tests/StreamInputBufferTest.cpp, tests/StreamReaderTest.cpp,
5299 tests/StreamWriterTest.cpp, tests/SubfontTest.cpp,
5300 tests/TensorProductPatchTest.cpp, tests/ToUnicodeMapTest.cpp,
5301 tests/TriangularPatchTest.cpp, tests/TypesTest.cpp,
5302 tests/UnicodeTest.cpp, tests/VectorIteratorTest.cpp,
5303 tests/VectorStreamTest.cpp, tests/XMLNodeTest.cpp,
5304 tests/XMLStringTest.cpp, tests/check-conv, tests/create-makefile,
5305 tests/normalize.xsl:
5306 updated year in copyright statements to 2016
5307
5308 * .travis.yml, configure.ac, src/Doxyfile:
5309 set version to 1.14.1
5310
5311 2015-12-31 Martin Gieseking <martin.gieseking@uos.de>
5312
5313 * src/PsSpecialHandler.cpp, src/PsSpecialHandler.h:
5314 reset PS graphics state at end of every DVI page
5315
5316 2015-12-28 Martin Gieseking <martin.gieseking@uos.de>
5317
5318 * .travis.yml, configure.ac, src/Doxyfile:
5319 set version to 1.14
5320
5321 * NEWS:
5322 updated NEWS
5323
5324 2015-12-27 Martin Gieseking <martin.gieseking@uos.de>
5325
5326 * src/PsSpecialHandler.cpp:
5327 added evaluation of PSTricks specials 'pst:' and 'PST:'
5328
5329 2015-12-26 Martin Gieseking <martin.gieseking@uos.de>
5330
5331 * src/FileFinder.cpp:
5332 lookup files in the current working directory before searching the texmf
5333 tree
5334
5335 * src/GraphicsPath.h, tests/GraphicsPathTest.cpp:
5336 fixed memory issue in class GraphicsPath<T>
5337
5338 2015-12-17 Martin Gieseking <martin.gieseking@uos.de>
5339
5340 * doc/dvisvgm.txt.in, src/DVIToSVG.cpp, src/DVIToSVG.h,
5341 src/DVIToSVGActions.cpp, src/DVIToSVGActions.h, src/EPSToSVG.h,
5342 src/PSPreviewFilter.cpp, src/PSPreviewFilter.h, src/PsSpecialHandler.cpp,
5343 src/SpecialActions.h, src/dvisvgm.cpp:
5344 added option --bbox=preview; adapt preview data if --bbox=min
5345
5346 2015-12-09 Martin Gieseking <martin.gieseking@uos.de>
5347
5348 * src/FileFinder.cpp:
5349 return entire kpathsea version string if it doesn't start with
5350 'kpathsea'
5351
5352 * tests/GhostscriptTest.cpp:
5353 prevent opening a graphics window when running GhostscriptTest
5354
5355 2015-12-08 Martin Gieseking <martin.gieseking@uos.de>
5356
5357 * .travis.yml, configure.ac, src/Doxyfile:
5358 set version to 1.13
5359
5360 * NEWS:
5361 updated NEWS
5362
5363 * clipper/clipper.cpp, clipper/clipper.hpp:
5364 replaced DOS line endings of the Clipper sources to Unix ones
5365
5366 2015-12-02 Martin Gieseking <martin.gieseking@uos.de>
5367
5368 * src/Font.cpp, src/Font.h, src/Glyph.h, src/GraphicPath.h,
5369 src/GraphicsPath.h, src/Makefile.am, src/PathClipper.h,
5370 src/PsSpecialHandler.cpp, src/PsSpecialHandler.h, src/ShadingPatch.h,
5371 src/TensorProductPatch.cpp, src/TensorProductPatch.h,
5372 src/TpicSpecialHandler.cpp, src/TriangularPatch.cpp,
5373 src/TriangularPatch.h, tests/GraphicPathTest.cpp,
5374 tests/GraphicsPathTest.cpp, tests/Makefile.am,
5375 tests/TensorProductPatchTest.cpp, tests/TriangularPatchTest.cpp:
5376 renamed class GraphicPath to GraphicsPath
5377
5378 2015-11-30 Martin Gieseking <martin.gieseking@uos.de>
5379
5380 * doc/dvisvgm.txt.in:
5381 added a couple of links to the manpage
5382
5383 * src/GraphicPath.h, src/PsSpecialHandler.cpp:
5384 remove redundant moveto commands from graphics paths
5385
5386 2015-11-25 Martin Gieseking <martin.gieseking@uos.de>
5387
5388 * src/DVIToSVGActions.cpp, src/EPSToSVG.cpp:
5389 remove progress message before printing a PS error message
5390
5391 * src/DVIToSVGActions.cpp, src/DVIToSVGActions.h:
5392 removed redundant methods
5393
5394 2015-11-24 Martin Gieseking <martin.gieseking@uos.de>
5395
5396 * src/psdefs.cpp:
5397 added evaluation of PS operators ashow, awidthshow, and widthshow (fixes
5398 #49)
5399
5400 * xxHash/xxhash.c:
5401 updated xxHash to version r42
5402
5403 2015-11-23 Martin Gieseking <martin.gieseking@uos.de>
5404
5405 * src/PsSpecialHandler.cpp, src/psdefs.cpp:
5406 minor code cleanup and reordering
5407
5408 * src/psdefs.cpp:
5409 reduce rounding errors produced by PS operator 'charpath'
5410
5411 * src/psdefs.cpp:
5412 propagate call of PS operator 'setcolor' to the PS handler
5413
5414 2015-11-18 Martin Gieseking <martin.gieseking@uos.de>
5415
5416 * .travis.yml, configure.ac, src/Doxyfile:
5417 set version to 1.12
5418
5419 * NEWS:
5420 updated NEWS
5421
5422 2015-11-16 Martin Gieseking <martin.gieseking@uos.de>
5423
5424 * src/FontManager.cpp:
5425 removed redundant #include
5426
5427 * src/FontEngine.cpp:
5428 treat character code as character index if no font mapping is set
5429
5430 2015-11-12 Martin Gieseking <martin.gieseking@uos.de>
5431
5432 * README, README.md:
5433 updated links to Google Test framework
5434
5435 2015-11-09 Martin Gieseking <martin.gieseking@uos.de>
5436
5437 * src/Color.cpp, src/Color.h, src/ColorSpecialHandler.cpp,
5438 src/HtmlSpecialHandler.cpp, tests/ColorTest.cpp:
5439 renamed Color::setName() to Color::setPSName()
5440
5441 * tests/Makefile.am, tests/ShadingPatch.cpp, tests/ShadingPatchTest.cpp:
5442 renamed ShadingPatchTest
5443
5444 * doc/dvisvgm.txt.in, src/Color.cpp, src/Color.h, src/CommandLine.cpp,
5445 src/CommandLine.h, src/DVIToSVGActions.cpp,
5446 src/DvisvgmSpecialHandler.cpp, src/EmSpecialHandler.cpp,
5447 src/HtmlSpecialHandler.cpp, src/PSPattern.cpp, src/PsSpecialHandler.cpp,
5448 src/SVGTree.cpp, src/TpicSpecialHandler.cpp, src/dvisvgm.cpp,
5449 src/options.xml, tests/ColorTest.cpp:
5450 added option --colornames to replace RGB color values with SVG color
5451 names
5452
5453 2015-10-27 Martin Gieseking <martin.gieseking@uos.de>
5454
5455 * src/Process.cpp, src/Process.h:
5456 fixed invalid access to freed string memory
5457
5458 2015-10-06 Martin Gieseking <martin.gieseking@uos.de>
5459
5460 * doc/dvisvgm.txt.in:
5461 minor improvements of the manual page
5462
5463 2015-09-21 Martin Gieseking <martin.gieseking@uos.de>
5464
5465 * NEWS, README, README.md:
5466 updated NEWS and README files
5467
5468 2015-09-18 Martin Gieseking <martin.gieseking@uos.de>
5469
5470 * .travis.yml, configure.ac, src/Doxyfile:
5471 set version to 1.11
5472
5473 2015-09-14 Martin Gieseking <martin.gieseking@uos.de>
5474
5475 * src/Font.cpp, src/ToUnicodeMap.cpp, src/Unicode.cpp, src/Unicode.h,
5476 tests/UnicodeTest.cpp:
5477 improved handling of invalid Unicode points
5478
5479 * src/Font.cpp, src/Unicode.cpp, src/Unicode.h, tests/UnicodeTest.cpp:
5480 renamed Unicode::psName2Codepoint to Unicode::psNameToCodepoint
5481
5482 2015-09-10 Martin Gieseking <martin.gieseking@uos.de>
5483
5484 * src/Font.cpp:
5485 prevent creating 0x00 codepoints if PS character name is unknown
5486
5487 * src/HtmlSpecialHandler.cpp:
5488 quote XML metacharacters in xlink:title attributes
5489
5490 * src/CmdLineParserBase.h, src/InputReader.h:
5491 changed 'struct InputReader' to 'class InputReader'
5492
5493 2015-09-09 Martin Gieseking <martin.gieseking@uos.de>
5494
5495 * src/SVGTree.cpp:
5496 force creating a new text element after appending a different node to
5497 the page
5498
5499 2015-08-13 Martin Gieseking <martin.gieseking@uos.de>
5500
5501 * README, README.md:
5502 minor updates to README and README.md
5503
5504 2015-07-29 Martin Gieseking <martin.gieseking@uos.de>
5505
5506 * tests/GhostscriptTest.cpp, tests/Makefile.am:
5507 added GhostscriptTest
5508
5509 * tests/UnicodeTest.cpp:
5510 improved UnicodeTest
5511
5512 * tests/CommandLineTest.cpp, tests/MessageExceptionTest.cpp:
5513 use ASSERT_STREQ in tests
5514
5515 2015-07-22 Martin Gieseking <martin.gieseking@uos.de>
5516
5517 * README, README.md, doc/dvisvgm.txt.in:
5518 updated links to project website again (relocated to
5519 dvisvgm.bplaced.net)
5520
5521 2015-07-20 Martin Gieseking <martin.gieseking@uos.de>
5522
5523 * README, README.md, doc/dvisvgm.txt.in:
5524 updated info about new project website
5525
5526 2015-07-14 Martin Gieseking <martin.gieseking@uos.de>
5527
5528 * .travis.yml, configure.ac, src/Doxyfile:
5529 set version to 1.10
5530
5531 * NEWS:
5532 updated NEWS
5533
5534 2015-07-12 Martin Gieseking <martin.gieseking@uos.de>
5535
5536 * README.md, doc/dvisvgm.txt.in, src/BasicDVIReader.cpp,
5537 src/BasicDVIReader.h, src/DVIReader.cpp, src/DVIReader.h, src/Font.h,
5538 src/FontManager.cpp, src/FontManager.h:
5539 added support for new XDV format 6
5540
5541 2015-07-11 Martin Gieseking <martin.gieseking@uos.de>
5542
5543 * README, README.md:
5544 updated README
5545
5546 2015-07-03 Martin Gieseking <martin.gieseking@uos.de>
5547
5548 * src/dvisvgm.cpp:
5549 check for option --help before initializing the FileFinder
5550
5551 * src/MiKTeXCom.cpp:
5552 added some comments to MiKTeXCom.cpp
5553
5554 2015-07-02 Martin Gieseking <martin.gieseking@uos.de>
5555
5556 * tests/BezierTest.cpp:
5557 removed #include "debug.h" from test
5558
5559 * Makefile.am, configure.ac, xxHash/LICENSE, xxHash/Makefile.am,
5560 xxHash/xxhash.c, xxHash/xxhash.h:
5561 added xxHash library (https://github.com/Cyan4973/xxHash)
5562
5563 * src/Font.cpp, src/Makefile.am, src/Unicode.cpp, src/Unicode.h,
5564 tests/Makefile.am, tests/create-makefile:
5565 added mapping from character names to unicode for PostScript fonts
5566
5567 2015-04-07 Martin Gieseking <martin.gieseking@uos.de>
5568
5569 * .travis.yml, configure.ac, src/Doxyfile:
5570 set version to 1.9.2
5571
5572 * NEWS, README.md:
5573 updated NEWS and README.md
5574
5575 * src/SVGTree.cpp:
5576 apply --precision settings to font-size attributes too
5577
5578 2015-04-04 Martin Gieseking <martin.gieseking@uos.de>
5579
5580 * tests/SVGOutputTest.cpp:
5581 remove output files created by SVGOutputTest::getPageStream()
5582
5583 2015-04-02 Martin Gieseking <martin.gieseking@uos.de>
5584
5585 * README.md:
5586 minor additions to README.md
5587
5588 2015-03-26 Martin Gieseking <martin.gieseking@uos.de>
5589
5590 * src/GlyphTracerMessages.h:
5591 always skip tracer message if no glyphs have been traced
5592
5593 * src/GFReader.cpp, src/GFReader.h, tests/GFReaderTest.cpp:
5594 improved GFReaderTest
5595
5596 2015-03-25 Martin Gieseking <martin.gieseking@uos.de>
5597
5598 * src/GFGlyphTracer.cpp, src/GFTracer.h, tests/GFGlyphTracerTest.cpp,
5599 tests/Makefile.am:
5600 ensure GFGlyphTracer::executeChar() returns the correct status; added
5601 GFGlyphtracerTest
5602
5603 * src/DVIToSVG.cpp:
5604 avoid retracing of fonts if option --no-fonts is given
5605
5606 2015-03-22 Martin Gieseking <martin.gieseking@uos.de>
5607
5608 * tests/StreamWriterTest.cpp:
5609 fixed StreamWriterTest
5610
5611 * tests/SVGOutputTest.cpp:
5612 improved SVGOutputTest
5613
5614 2015-03-19 Martin Gieseking <martin.gieseking@uos.de>
5615
5616 * tests/Makefile.am, tests/ShadingPatch.cpp:
5617 added ShadingPatchTest
5618
5619 2015-03-18 Martin Gieseking <martin.gieseking@uos.de>
5620
5621 * src/ShadingPatch.h, src/TensorProductPatch.cpp,
5622 src/TensorProductPatch.h, src/TriangularPatch.cpp, src/TriangularPatch.h,
5623 tests/Makefile.am, tests/TriangularPatchTest.cpp:
5624 added test for class TriangularPatch
5625
5626 * src/Bezier.cpp, src/Bezier.h, src/TensorProductPatch.cpp,
5627 src/TriangularPatch.cpp, src/TriangularPatch.h,
5628 tests/TriangularPatchTest.cpp:
5629 renamed method pointAt() of class Bezier and TriangularPatch to
5630 valueAt()
5631
5632 * src/TensorProductPatch.h, tests/TensorProductPatchTest.cpp:
5633 improved TensorProductPatchTest
5634
5635 2015-03-17 Martin Gieseking <martin.gieseking@uos.de>
5636
5637 * m4/ax_code_coverage.m4:
5638 added missing file ax_code_coverage.m4
5639
5640 * autogen.sh:
5641 updated autogen.sh
5642
5643 2015-03-15 Martin Gieseking <martin.gieseking@uos.de>
5644
5645 * src/XMLNode.cpp, src/XMLNode.h, tests/Makefile.am,
5646 tests/XMLNodeTest.cpp:
5647 fixed a few issues in class XMLElementNode; added XMLNodeTest
5648
5649 * .gitignore, Makefile.am, clipper/Makefile.am, configure.ac,
5650 src/Makefile.am, tests/Makefile.am, tests/create-makefile:
5651 extended build system to generate coverage reports
5652
5653 * tests/Makefile.am, tests/VectorIteratorTest.cpp:
5654 added VectorIteratorTest
5655
5656 2015-03-13 Martin Gieseking <martin.gieseking@uos.de>
5657
5658 * tests/XMLStringTest.cpp:
5659 fixed test class name of XMLString
5660
5661 2015-03-09 Martin Gieseking <martin.gieseking@uos.de>
5662
5663 * tests/CRC32Test.cpp:
5664 added test for 'compute' methods of class CRC32
5665
5666 * tests/GraphicPathTest.cpp:
5667 extended tests of class GraphicPath
5668
5669 2015-03-08 Martin Gieseking <martin.gieseking@uos.de>
5670
5671 * src/Unicode.cpp, tests/Makefile.am, tests/UnicodeTest.cpp:
5672 fixed UTF-8 encoding of 0xfffe and 0xffff; added UnicodeTest
5673
5674 * tests/StreamReaderTest.cpp:
5675 exteded StreamReader tests
5676
5677 2015-03-07 Martin Gieseking <martin.gieseking@uos.de>
5678
5679 * src/XMLString.cpp, tests/Makefile.am, tests/XMLStringTest.cpp:
5680 fixed conversion from C and C++ strings to XMLString; added
5681 XMLStringTest
5682
5683 * .gitignore:
5684 added .gitignore
5685
5686 2015-03-06 Martin Gieseking <martin.gieseking@uos.de>
5687
5688 * src/Bitmap.cpp, src/Bitmap.h, tests/BitmapTest.cpp,
5689 tests/GFReaderTest.cpp, tests/Makefile.am:
5690 small refactorings of class Bitmap; added tests for class Bitmap
5691
5692 * src/BoundingBox.cpp, src/BoundingBox.h, tests/BoundingBoxTest.cpp:
5693 improved BoundingBox tests
5694
5695 2015-03-04 Martin Gieseking <martin.gieseking@uos.de>
5696
5697 * src/Bezier.cpp, src/BoundingBox.cpp, src/BoundingBox.h,
5698 tests/BezierTest.cpp, tests/Makefile.am:
5699 fixed Bezier::reduceDegree() for degree 1 and added BezierTest class
5700
5701 2015-03-01 Martin Gieseking <martin.gieseking@uos.de>
5702
5703 * .travis.yml:
5704 Travis conf: added configuration data for Coverity Scan
5705
5706 * README.md:
5707 added license badge to README.md
5708
5709 2015-02-28 Martin Gieseking <martin.gieseking@uos.de>
5710
5711 * NEWS, README.md:
5712 updated NEWS and README.md
5713
5714 2015-02-27 Martin Gieseking <martin.gieseking@uos.de>
5715
5716 * src/Calculator.cpp:
5717 replaced while(1) with for(;;) for consistency
5718
5719 2015-02-26 Martin Gieseking <martin.gieseking@uos.de>
5720
5721 * configure.ac, src/Doxyfile:
5722 set version to 1.9.1
5723
5724 2015-02-25 Martin Gieseking <martin.gieseking@uos.de>
5725
5726 * src/Ghostscript.cpp:
5727 disable lookup of GS library in Windows registry for old gcc versions
5728
5729 2015-02-20 Martin Gieseking <martin.gieseking@uos.de>
5730
5731 * src/DVIToSVG.cpp, src/EPSToSVG.cpp, src/Makefile.am, src/SVGOutput.cpp,
5732 src/SVGOutput.h, src/SVGOutputBase.h, src/dvisvgm.cpp:
5733 moved class SVGOutput to separate compilation unit
5734
5735 * doc/dvisvgm.txt.in, src/SVGOutput.cpp, src/SVGOutput.h,
5736 tests/Makefile.am, tests/SVGOutputTest.cpp, tests/create-makefile:
5737 added width specifiers and exression evaluation to --output patterns
5738
5739 * doc/dvisvgm.txt.in:
5740 minor additions and formatting changes of the manpage
5741
5742 * doc/Makefile.am, doc/conf-dblatex-man.xsl, doc/conf-dblatex-pdf.xsl,
5743 doc/dvisvgm.sty, doc/dvisvgm.xpr, doc/tweak-dblatex-pdf.xsl:
5744 improved the layout of the pdf manpage
5745
5746 * doc/Makefile.am, doc/db2html.xsl, doc/dvisvgm.css:
5747 create html manpage with a separate stylesheet matching the new website
5748 theme
5749
5750 2015-02-19 Martin Gieseking <martin.gieseking@uos.de>
5751
5752 * .travis.yml:
5753 added configuration file for Travis CI
5754
5755 * .travis.yml:
5756 added dependency 'python-lxml' to Travis configuration
5757
5758 * .travis.yml:
5759 added dependency 'libgtest-dev' to Travis configuration; ensure call of
5760 'make check'
5761
5762 * .travis.yml:
5763 Travis conf: added missing call of 'configure'
5764
5765 * .travis.yml:
5766 Travis conf: build gtest libraries since Ubuntu doesn't provide the
5767 binaries
5768
5769 2015-02-18 Martin Gieseking <martin.gieseking@uos.de>
5770
5771 * src/TpicSpecialHandler.cpp:
5772 use constant M_PI rather than computing PI locally
5773
5774 2015-02-17 Martin Gieseking <martin.gieseking@uos.de>
5775
5776 * README, README.md:
5777 updated README and README.md
5778
5779 2015-01-26 Martin Gieseking <martin.gieseking@uos.de>
5780
5781 * src/ShadingPatch.h:
5782 removed redundant methods from class ShadingPatch
5783
5784 2015-01-21 Martin Gieseking <martin.gieseking@uos.de>
5785
5786 * src/TensorProductPatch.cpp, src/TriangularPatch.cpp:
5787 renamed static helper function clip() to snap()
5788
5789 2015-01-15 Martin Gieseking <martin.gieseking@uos.de>
5790
5791 * src/Color.cpp:
5792 resolved ambiguous call of pow (patch by Peter Breitenlohner)
5793
5794 2015-01-12 Martin Gieseking <martin.gieseking@uos.de>
5795
5796 * src/VectorIterator.h:
5797 removed redundant method VectorIterator::distanceToLast()
5798
5799 2014-12-30 Martin Gieseking <martin.gieseking@uos.de>
5800
5801 * Makefile.am, README, README.md, configure.ac, doc/Makefile.am,
5802 doc/dvisvgm.txt.in, src/BasicDVIReader.cpp, src/BasicDVIReader.h,
5803 src/Bezier.cpp, src/Bezier.h, src/BgColorSpecialHandler.cpp,
5804 src/BgColorSpecialHandler.h, src/Bitmap.cpp, src/Bitmap.h,
5805 src/BoundingBox.cpp, src/BoundingBox.h, src/CMap.cpp, src/CMap.h,
5806 src/CMapManager.cpp, src/CMapManager.h, src/CMapReader.cpp,
5807 src/CMapReader.h, src/CRC32.cpp, src/CRC32.h, src/Calculator.cpp,
5808 src/Calculator.h, src/CharMapID.cpp, src/CharMapID.h, src/Character.h,
5809 src/CmdLineParserBase.cpp, src/CmdLineParserBase.h, src/Color.cpp,
5810 src/Color.h, src/ColorSpecialHandler.cpp, src/ColorSpecialHandler.h,
5811 src/CommandLine.cpp, src/CommandLine.h, src/DLLoader.cpp, src/DLLoader.h,
5812 src/DVIActions.h, src/DVIReader.cpp, src/DVIReader.h, src/DVIToSVG.cpp,
5813 src/DVIToSVG.h, src/DVIToSVGActions.cpp, src/DVIToSVGActions.h,
5814 src/DependencyGraph.h, src/Directory.cpp, src/Directory.h,
5815 src/DvisvgmSpecialHandler.cpp, src/DvisvgmSpecialHandler.h,
5816 src/EPSFile.cpp, src/EPSFile.h, src/EPSToSVG.cpp, src/EPSToSVG.h,
5817 src/EmSpecialHandler.cpp, src/EmSpecialHandler.h, src/EncFile.cpp,
5818 src/EncFile.h, src/FileFinder.cpp, src/FileFinder.h, src/FilePath.cpp,
5819 src/FilePath.h, src/FileSystem.cpp, src/FileSystem.h, src/Font.cpp,
5820 src/Font.h, src/FontCache.cpp, src/FontCache.h, src/FontEncoding.cpp,
5821 src/FontEncoding.h, src/FontEngine.cpp, src/FontEngine.h,
5822 src/FontManager.cpp, src/FontManager.h, src/FontMap.cpp, src/FontMap.h,
5823 src/FontMetrics.cpp, src/FontMetrics.h, src/GFGlyphTracer.cpp,
5824 src/GFGlyphTracer.h, src/GFReader.cpp, src/GFReader.h, src/GFTracer.cpp,
5825 src/GFTracer.h, src/Ghostscript.cpp, src/Ghostscript.h, src/Glyph.h,
5826 src/GlyphTracerMessages.h, src/GraphicPath.h, src/HtmlSpecialHandler.cpp,
5827 src/HtmlSpecialHandler.h, src/InputBuffer.cpp, src/InputBuffer.h,
5828 src/InputReader.cpp, src/InputReader.h, src/JFM.cpp, src/JFM.h,
5829 src/Length.cpp, src/Length.h, src/Makefile.am, src/MapLine.cpp,
5830 src/MapLine.h, src/Matrix.cpp, src/Matrix.h, src/Message.cpp,
5831 src/Message.h, src/MessageException.h, src/MetafontWrapper.cpp,
5832 src/MetafontWrapper.h, src/MiKTeXCom.cpp, src/MiKTeXCom.h,
5833 src/NoPsSpecialHandler.cpp, src/NoPsSpecialHandler.h,
5834 src/NumericRanges.h, src/PSFilter.h, src/PSInterpreter.cpp,
5835 src/PSInterpreter.h, src/PSPattern.cpp, src/PSPattern.h,
5836 src/PSPreviewFilter.cpp, src/PSPreviewFilter.h, src/PageRanges.cpp,
5837 src/PageRanges.h, src/PageSize.cpp, src/PageSize.h, src/Pair.h,
5838 src/PathClipper.cpp, src/PathClipper.h, src/PdfSpecialHandler.cpp,
5839 src/PdfSpecialHandler.h, src/PreScanDVIReader.cpp,
5840 src/PreScanDVIReader.h, src/Process.cpp, src/Process.h,
5841 src/PsSpecialHandler.cpp, src/PsSpecialHandler.h, src/RangeMap.cpp,
5842 src/RangeMap.h, src/SVGOutputBase.h, src/SVGTree.cpp, src/SVGTree.h,
5843 src/ShadingPatch.cpp, src/ShadingPatch.h, src/SignalHandler.cpp,
5844 src/SignalHandler.h, src/SpecialActions.h, src/SpecialHandler.h,
5845 src/SpecialManager.cpp, src/SpecialManager.h, src/StreamReader.cpp,
5846 src/StreamReader.h, src/StreamWriter.cpp, src/StreamWriter.h,
5847 src/Subfont.cpp, src/Subfont.h, src/System.cpp, src/System.h,
5848 src/TFM.cpp, src/TFM.h, src/TensorProductPatch.cpp,
5849 src/TensorProductPatch.h, src/Terminal.cpp, src/Terminal.h,
5850 src/ToUnicodeMap.cpp, src/ToUnicodeMap.h, src/TpicSpecialHandler.cpp,
5851 src/TpicSpecialHandler.h, src/TriangularPatch.cpp, src/TriangularPatch.h,
5852 src/Unicode.cpp, src/Unicode.h, src/VFActions.h, src/VFReader.cpp,
5853 src/VFReader.h, src/VectorIterator.h, src/VectorStream.h,
5854 src/XMLDocument.cpp, src/XMLDocument.h, src/XMLNode.cpp, src/XMLNode.h,
5855 src/XMLString.cpp, src/XMLString.h, src/dvisvgm.cpp, src/macros.h,
5856 src/options.dtd, src/options.xml, src/psdefs.cpp, src/types.h,
5857 tests/BoundingBoxTest.cpp, tests/CMapReaderTest.cpp, tests/CMapTest.cpp,
5858 tests/CRC32Test.cpp, tests/CalculatorTest.cpp,
5859 tests/ColorSpecialTest.cpp, tests/ColorTest.cpp,
5860 tests/CommandLineTest.cpp, tests/DependencyGraphTest.cpp,
5861 tests/DirectoryTest.cpp, tests/DvisvgmSpecialTest.cpp,
5862 tests/FileFinderTest.cpp, tests/FilePathTest.cpp,
5863 tests/FileSystemTest.cpp, tests/FontManagerTest.cpp,
5864 tests/FontMapTest.cpp, tests/GFReaderTest.cpp, tests/GraphicPathTest.cpp,
5865 tests/LengthTest.cpp, tests/Makefile.am, tests/MapLineTest.cpp,
5866 tests/MatrixTest.cpp, tests/MessageExceptionTest.cpp,
5867 tests/PSInterpreterTest.cpp, tests/PageRagesTest.cpp,
5868 tests/PageSizeTest.cpp, tests/PairTest.cpp, tests/RangeMapTest.cpp,
5869 tests/SplittedCharInputBufferTest.cpp, tests/StreamInputBufferTest.cpp,
5870 tests/StreamReaderTest.cpp, tests/StreamWriterTest.cpp,
5871 tests/SubfontTest.cpp, tests/TensorProductPatchTest.cpp,
5872 tests/ToUnicodeMapTest.cpp, tests/TypesTest.cpp,
5873 tests/VectorStreamTest.cpp, tests/check-conv, tests/create-makefile,
5874 tests/normalize.xsl:
5875 updated year in copyright statements to 2015
5876
5877 2014-12-28 Martin Gieseking <martin.gieseking@uos.de>
5878
5879 * doc/dvisvgm.txt.in, src/CommandLine.cpp, src/CommandLine.h,
5880 src/PsSpecialHandler.cpp, src/PsSpecialHandler.h, src/ShadingPatch.h,
5881 src/TensorProductPatch.cpp, src/TensorProductPatch.h,
5882 src/TriangularPatch.cpp, src/TriangularPatch.h, src/dvisvgm.cpp,
5883 src/options.xml:
5884 added command-line options --grad-overlap, --grad-segments, and
5885 --grad-simplify
5886
5887 * src/DVIToSVGActions.cpp, src/DVIToSVGActions.h, src/EPSToSVG.cpp,
5888 src/EPSToSVG.h, src/SpecialActions.h, src/SpecialManager.cpp,
5889 src/dvisvgm.cpp:
5890 show PS instruction counter when processing EPS files with option
5891 --progress
5892
5893 * src/dvisvgm.cpp:
5894 clear line before printing the message about user interruption to avoid
5895 trailing text fragments
5896
5897 * configure.ac, src/Doxyfile:
5898 set version to 1.9
5899
5900 * NEWS:
5901 updated NEWS
5902
5903 2014-12-20 Martin Gieseking <martin.gieseking@uos.de>
5904
5905 * src/DVIReader.cpp:
5906 check validity of DVI file before trying to collect the BOPs
5907
5908 2014-12-18 Martin Gieseking <martin.gieseking@uos.de>
5909
5910 * src/Makefile.am, src/TriangularPatch.cpp, src/TriangularPatch.h:
5911 added class to compute triangular shading patches
5912
5913 * src/Makefile.am, src/PsSpecialHandler.cpp, src/ShadingPatch.cpp,
5914 src/ShadingPatch.h, src/TensorProductPatch.cpp, src/TensorProductPatch.h:
5915 extracted common interface class ShadingPatch from TensorProductPatch
5916
5917 * src/Color.cpp, src/Color.h, src/Makefile.am, src/PsSpecialHandler.cpp,
5918 src/PsSpecialHandler.h, src/VectorIterator.h, src/psdefs.cpp:
5919 extended PS operator 'shfill' to support triangular patch meshes
5920
5921 2014-12-16 Martin Gieseking <martin.gieseking@uos.de>
5922
5923 * src/PsSpecialHandler.cpp, src/PsSpecialHandler.h:
5924 added processing of the optional 'BBox' entry in a PS shading dictionary
5925
5926 2014-12-03 Martin Gieseking <martin.gieseking@uos.de>
5927
5928 * src/CommandLine.cpp, src/CommandLine.h, src/dvisvgm.cpp,
5929 src/options.xml:
5930 disable option --clipjoin if PS support is disabled
5931
5932 * src/Color.cpp, tests/ColorSpecialTest.cpp, tests/ColorTest.cpp:
5933 fixed CMYK to RGB approximation
5934
5935 2014-11-27 Martin Gieseking <martin.gieseking@uos.de>
5936
5937 * src/PSInterpreter.cpp, src/PSInterpreter.h, src/PsSpecialHandler.cpp,
5938 src/PsSpecialHandler.h, src/psdefs.cpp, tests/PSInterpreterTest.cpp:
5939 added evaluation of PS operator shfill (Coons and tensor product patches
5940 only)
5941
5942 2014-11-24 Martin Gieseking <martin.gieseking@uos.de>
5943
5944 * README.md:
5945 added list of features and a download button to README.md
5946
5947 2014-11-09 Martin Gieseking <martin.gieseking@uos.de>
5948
5949 * clipper/clipper.cpp, clipper/clipper.hpp:
5950 updated clipper library to version 6.2.1
5951
5952 2014-11-08 Martin Gieseking <martin.gieseking@uos.de>
5953
5954 * src/Bezier.cpp, src/Bezier.h, src/BoundingBox.h, src/GraphicPath.h,
5955 src/Makefile.am, src/TensorProductPatch.cpp, src/TensorProductPatch.h,
5956 tests/Makefile.am, tests/TensorProductPatchTest.cpp:
5957 added code to compute tensor-product patches required for gradient fills
5958
5959 2014-11-06 Martin Gieseking <martin.gieseking@uos.de>
5960
5961 * src/Matrix.cpp:
5962 use constant M_PI rather than defining PI locally
5963
5964 2014-10-23 Martin Gieseking <martin.gieseking@uos.de>
5965
5966 * src/Color.cpp, src/Color.h, src/ColorSpecialHandler.cpp,
5967 src/PsSpecialHandler.cpp, tests/ColorTest.cpp:
5968 replaced float by double in class Color
5969
5970 * src/Color.cpp, src/Color.h, src/ColorSpecialHandler.cpp,
5971 src/DVIReader.cpp, src/HtmlSpecialHandler.cpp, src/PsSpecialHandler.cpp,
5972 tests/ColorTest.cpp:
5973 renamed RGB setters/getters of class Color
5974
5975 * src/Color.cpp, src/Color.h:
5976 replaced vectors with valarrays in class Color
5977
5978 * src/Color.cpp, src/Color.h, tests/ColorTest.cpp:
5979 added deltaE and L*a*b* color space methods to class Color
5980
5981 2014-10-17 Martin Gieseking <martin.gieseking@uos.de>
5982
5983 * clipper/clipper.cpp, clipper/clipper.hpp:
5984 updated clipper library to version 6.2.0
5985
5986 * src/GraphicPath.h, src/PathClipper.cpp, src/PathClipper.h,
5987 src/XMLNode.h:
5988 fixed a couple of doxygen comments; removed redundant
5989 PathClipperException
5990
5991 2014-10-08 Martin Gieseking <martin.gieseking@uos.de>
5992
5993 * src/CommandLine.cpp:
5994 updated CommandLine.cpp with description of option --no-merge
5995
5996 * src/Ghostscript.cpp:
5997 try to lookup the location of the GS DLL in the Windows registry
5998
5999 2014-10-01 Martin Gieseking <martin.gieseking@uos.de>
6000
6001 * doc/dvisvgm.txt.in, src/options.xml:
6002 added info about option --no-merge to the manpage
6003
6004 2014-09-24 Khaled Hosny <khaled.hosny@hindawi.com>
6005
6006 * src/Makefile.am:
6007 Add an opt2cpp Python script
6008
6009 A very ugly script that should work as a
6010 drop in replacement for the
6011 opt2cpp XSLT.
6012
6013 2014-09-15 Martin Gieseking <martin.gieseking@uos.de>
6014
6015 * src/PsSpecialHandler.cpp, src/PsSpecialHandler.h:
6016 ensure that colors set by a color special are always considered by the
6017 PS handler
6018
6019 2014-09-10 Martin Gieseking <martin.gieseking@uos.de>
6020
6021 * src/BasicDVIReader.cpp, src/DVIReader.cpp, src/FontCache.cpp,
6022 src/GFReader.cpp, src/dvisvgm.cpp:
6023 replaced namespace 'ios_base' with 'ios'
6024
6025 2014-08-29 Martin Gieseking <martin.gieseking@uos.de>
6026
6027 * src/PsSpecialHandler.cpp:
6028 added missing whitespace boundaries in PS code
6029
6030 * src/FontEngine.cpp, tests/PageRagesTest.cpp:
6031 removed unused static functions
6032
6033 * configure.ac, src/Doxyfile:
6034 set version to 1.8.1
6035
6036 * NEWS:
6037 updated NEWS
6038
6039 2014-08-18 Martin Gieseking <martin.gieseking@uos.de>
6040
6041 * src/DVIToSVG.cpp, src/DependencyGraph.h, src/Makefile.am,
6042 src/SVGTree.cpp, src/SVGTree.h, src/XMLNode.cpp, src/XMLNode.h,
6043 tests/DependencyGraphTest.cpp, tests/Makefile.am:
6044 remove redundant clipPath elements from generated SVG files
6045
6046 2014-08-16 Martin Gieseking <martin.gieseking@uos.de>
6047
6048 * src/PSPattern.cpp, src/XMLNode.cpp, src/XMLNode.h:
6049 renamed XMLElementNode::findDescendants() and made it constant
6050
6051 2014-08-11 Martin Gieseking <martin.gieseking@uos.de>
6052
6053 * tests/Makefile.am, tests/create-makefile:
6054 link tests against FreeType library
6055
6056 * README.md:
6057 minor fixed to README.md
6058
6059 2014-08-10 Khaled Hosny <khaledhosny@eglug.org>
6060
6061 * configure.ac, src/Makefile.am:
6062 Don't override CXXFLAGS in configure script
6063
6064 Breaks standard things
6065 like:
6066
6067 make CXXFLAGS="-g -O0 -pg"
6068
6069 * configure.ac, src/Makefile.am:
6070 Don't override CPPFLAGS and LDFLAGS in configure
6071
6072 For the same reasons
6073 as the previous commit
6074
6075 2014-08-07 Martin Gieseking <mgieseki@users.sourceforge.net>
6076
6077 * src/dvisvgm.cpp:
6078 removed old code that moved cache files to new location
6079
6080 * src/XMLDocument.cpp, src/XMLDocument.h, src/XMLNode.cpp, src/XMLNode.h:
6081 removed unused emit() methods from XML classes
6082
6083 2014-07-31 Martin Gieseking <mgieseki@users.sourceforge.net>
6084
6085 * src/PsSpecialHandler.cpp, src/psdefs.cpp:
6086 prevent side-effects caused by bop/eop operators present in PS specials
6087
6088 2014-07-29 Martin Gieseking <mgieseki@users.sourceforge.net>
6089
6090 * NEWS:
6091 updated NEWS
6092
6093 2014-07-28 Martin Gieseking <mgieseki@users.sourceforge.net>
6094
6095 * src/GraphicPath.h, src/PSInterpreter.cpp, src/PSInterpreter.h,
6096 src/PsSpecialHandler.cpp, src/PsSpecialHandler.h, src/psdefs.cpp,
6097 tests/PSInterpreterTest.cpp:
6098 added evaluation of PS operator 'clippath' (copies clipping path into
6099 graphics path)
6100
6101 * configure.ac, src/Doxyfile:
6102 set version to 1.8
6103
6104 2014-07-26 Martin Gieseking <mgieseki@users.sourceforge.net>
6105
6106 * src/Font.cpp, src/GFGlyphTracer.cpp, src/GraphicPath.h,
6107 src/PsSpecialHandler.cpp:
6108 renamed GraphicPath::newpath() to GraphicPath::clear()
6109
6110 2014-07-24 Martin Gieseking <mgieseki@users.sourceforge.net>
6111
6112 * src/InputReader.cpp, src/PSInterpreter.cpp:
6113 ensure that InputReader::compare() checks whole and not just partial
6114 words
6115
6116 2014-07-22 Martin Gieseking <mgieseki@users.sourceforge.net>
6117
6118 * src/DVIToSVG.h, src/dvisvgm.cpp:
6119 prevent throwing a DVIException when option -l is present
6120
6121 * Makefile.am, clipper/License.txt, clipper/Makefile.am,
6122 clipper/clipper.cpp, clipper/clipper.hpp, configure.ac, src/Makefile.am:
6123 added slightly modified sources of clipper library (computes boolops on
6124 polygons)
6125
6126 * src/GraphicPath.h:
6127 added field to store the winding rule to class GraphicPath
6128
6129 * README, README.md, src/Bezier.cpp, src/Bezier.h, src/GraphicPath.h,
6130 src/Makefile.am, src/PathClipper.cpp, src/PathClipper.h, src/dvisvgm.cpp:
6131 added class PathClipper to compute intersections of closed curved
6132 graphics paths
6133
6134 * doc/dvisvgm.txt.in, src/CommandLine.cpp, src/CommandLine.h,
6135 src/PsSpecialHandler.cpp, src/PsSpecialHandler.h, src/dvisvgm.cpp,
6136 src/options.xml:
6137 added option --clippath to compute the intersection of clipping paths
6138
6139 2014-07-20 Khaled Hosny <khaledhosny@eglug.org>
6140
6141 * src/FontEngine.cpp:
6142 Free existing FT_Face before creating a new one
6143
6144 FontEngine was never
6145 destroying the FT_Face's it creates, except the
6146 very last one that was
6147 destroyed by the destructor. For some reason,
6148 this was causing
6149 FT_New_Face() to fail on Windows after processing the
6150 first hundred or so
6151 pages of DVI files.
6152
6153 2014-07-18 Martin Gieseking <mgieseki@users.sourceforge.net>
6154
6155 * doc/dvisvgm.txt.in, src/CommandLine.cpp, src/CommandLine.h,
6156 src/GraphicPath.h, src/PsSpecialHandler.cpp, src/SVGTree.cpp,
6157 src/SVGTree.h, src/dvisvgm.cpp, src/options.xml,
6158 tests/GraphicPathTest.cpp:
6159 added option to create relative rather than absolute path commands
6160
6161 * src/TpicSpecialHandler.cpp:
6162 TPIC handler: use class GraphicPath to create SVG path commands
6163
6164 2014-07-07 Martin Gieseking <mgieseki@users.sourceforge.net>
6165
6166 * src/DVIToSVGActions.h, src/Doxyfile, src/HtmlSpecialHandler.h,
6167 src/RangeMap.cpp, src/SpecialManager.cpp, src/ToUnicodeMap.cpp:
6168 fixed a couple of broken doxygen comments
6169
6170 2014-06-25 Martin Gieseking <mgieseki@users.sourceforge.net>
6171
6172 * src/Ghostscript.cpp:
6173 get proper name of Ghostscript library when building for Cygwin
6174
6175 2014-06-23 Martin Gieseking <mgieseki@users.sourceforge.net>
6176
6177 * README.md:
6178 added markdown version of README
6179
6180 2014-06-20 Martin Gieseking <martin.gieseking@uos.de>
6181
6182 * src/psdefs.cpp:
6183 suppress output of PS operator ':show' to prevent the creation of
6184 additional graphic elements
6185
6186 2014-06-17 Martin Gieseking <mgieseki@users.sourceforge.net>
6187
6188 * src/SpecialManager.cpp, src/SpecialManager.h:
6189 removed redundant method SpecialManager::leavePSHeaderSection()
6190
6191 * doc/dvisvgm.txt.in, src/DVIToSVGActions.cpp,
6192 src/DvisvgmSpecialHandler.cpp, src/DvisvgmSpecialHandler.h,
6193 tests/DvisvgmSpecialTest.cpp, tests/Makefile.am:
6194 added/improved dvisvgm::raw* specials
6195
6196 * src/InputReader.cpp:
6197 added missing include
6198
6199 * configure.ac, src/Doxyfile:
6200 set version to 1.7
6201
6202 * NEWS:
6203 updated NEWS
6204
6205 2014-06-12 Martin Gieseking <mgieseki@users.sourceforge.net>
6206
6207 * src/XMLNode.cpp, src/XMLNode.h:
6208 added clear() to XMLNode classes; added XMLTextNode::getText()
6209
6210 2014-06-11 Martin Gieseking <martin.gieseking@uos.de>
6211
6212 * src/InputReader.cpp, src/InputReader.h:
6213 added InputReader::getLine()
6214
6215 * src/DVIToSVG.cpp, src/SpecialHandler.h, src/SpecialManager.cpp,
6216 src/SpecialManager.h:
6217 added listener to allow SpecialHandlers being notified when
6218 pre-processing has finished
6219
6220 2014-06-10 Martin Gieseking <mgieseki@users.sourceforge.net>
6221
6222 * src/SpecialActions.h, tests/ColorSpecialTest.cpp:
6223 renamed class SpecialEmptyActions to EmptySpecialActions
6224
6225 2014-06-09 Martin Gieseking <mgieseki@users.sourceforge.net>
6226
6227 * src/DVIReader.cpp, src/Ghostscript.cpp:
6228 removed unused variable; call Ghostscript::exit() with explicitely given
6229 object
6230
6231 * src/DVIToSVG.h, src/SpecialManager.h:
6232 removed redundant definition of assignment operators
6233
6234 2014-06-05 Martin Gieseking <martin.gieseking@uos.de>
6235
6236 * src/BasicDVIReader.cpp, src/BasicDVIReader.h, src/DVIReader.cpp,
6237 src/DVIReader.h, src/Makefile.am:
6238 moved basic funtionality of DVIReader to base class BasicDVIReader
6239
6240 * src/BasicDVIReader.h, src/DVIReader.cpp, src/DVIToSVG.cpp,
6241 src/DVIToSVG.h, src/dvisvgm.cpp:
6242 moved call of executePreamble() and executePostamble() from DVIToSVG to
6243 DVIReader
6244
6245 * src/DVIActions.h, src/DVIReader.cpp, src/DVIToSVG.cpp, src/DVIToSVG.h,
6246 src/DVIToSVGActions.cpp, src/DVIToSVGActions.h, src/Makefile.am,
6247 src/PreScanDVIReader.cpp, src/PreScanDVIReader.h,
6248 src/PsSpecialHandler.cpp, src/PsSpecialHandler.h, src/SpecialHandler.h,
6249 src/SpecialManager.cpp, src/SpecialManager.h, src/StreamReader.cpp,
6250 src/StreamReader.h:
6251 pre-process DVI file to collect required data not present in the page
6252 ranges to be converted
6253
6254 * src/DVIToSVG.cpp, src/DVIToSVG.h, src/DVIToSVGActions.cpp,
6255 src/SpecialManager.cpp, src/SpecialManager.h, src/dvisvgm.cpp:
6256 made class SpecialManager a singleton
6257
6258 * src/BasicDVIReader.h, src/DVIToSVG.cpp, src/DVIToSVGActions.cpp,
6259 src/DVIToSVGActions.h:
6260 allow to replace the DVI reader assigned to an instance of
6261 DVIToSVGActions
6262
6263 * doc/dvisvgm.txt.in, src/BasicDVIReader.h, src/DVIToSVG.cpp,
6264 src/DVIToSVG.h, src/DVIToSVGActions.cpp, src/DVIToSVGActions.h,
6265 src/EPSToSVG.cpp, src/EPSToSVG.h, src/HtmlSpecialHandler.cpp,
6266 src/HtmlSpecialHandler.h, src/PreScanDVIReader.cpp,
6267 src/PreScanDVIReader.h, src/SpecialActions.h:
6268 process hyperref anchors and links across pages
6269
6270 * src/BasicDVIReader.cpp, src/BasicDVIReader.h, src/Bitmap.h,
6271 src/BoundingBox.h, src/CMap.h, src/CMapManager.cpp, src/CMapManager.h,
6272 src/CMapReader.h, src/CRC32.h, src/Calculator.cpp, src/Calculator.h,
6273 src/CmdLineParserBase.h, src/Color.cpp, src/ColorSpecialHandler.cpp,
6274 src/ColorSpecialHandler.h, src/CommandLine.cpp, src/CommandLine.h,
6275 src/DLLoader.h, src/DVIReader.cpp, src/DVIToSVG.h, src/DVIToSVGActions.h,
6276 src/Directory.h, src/DvisvgmSpecialHandler.h, src/EmSpecialHandler.cpp,
6277 src/EmSpecialHandler.h, src/EncFile.h, src/FileFinder.h,
6278 src/FileSystem.cpp, src/Font.cpp, src/Font.h, src/FontCache.h,
6279 src/FontEncoding.cpp, src/FontEngine.cpp, src/FontEngine.h,
6280 src/FontManager.cpp, src/FontManager.h, src/FontMap.cpp, src/FontMap.h,
6281 src/GFGlyphTracer.cpp, src/GFGlyphTracer.h, src/GFReader.cpp,
6282 src/GFReader.h, src/GFTracer.h, src/Ghostscript.cpp, src/Ghostscript.h,
6283 src/GraphicPath.h, src/HtmlSpecialHandler.h, src/InputBuffer.cpp,
6284 src/InputBuffer.h, src/JFM.h, src/Length.cpp, src/Length.h,
6285 src/MapLine.cpp, src/MapLine.h, src/Matrix.cpp, src/Matrix.h,
6286 src/MessageException.h, src/MetafontWrapper.cpp, src/MetafontWrapper.h,
6287 src/NoPsSpecialHandler.h, src/NumericRanges.h, src/PSInterpreter.h,
6288 src/PSPattern.h, src/PSPreviewFilter.h, src/PageRanges.h, src/PageSize.h,
6289 src/Pair.h, src/PdfSpecialHandler.cpp, src/PdfSpecialHandler.h,
6290 src/Process.h, src/PsSpecialHandler.cpp, src/PsSpecialHandler.h,
6291 src/SVGTree.h, src/SignalHandler.h, src/SpecialActions.h,
6292 src/SpecialManager.h, src/StreamWriter.h, src/Subfont.cpp, src/Subfont.h,
6293 src/TFM.h, src/ToUnicodeMap.h, src/TpicSpecialHandler.cpp,
6294 src/TpicSpecialHandler.h, src/VFReader.cpp, src/VectorStream.h,
6295 src/XMLDocument.h, src/XMLNode.h, src/XMLString.cpp, src/XMLString.h,
6296 src/dvisvgm.cpp, src/types.h:
6297 replaced leading spaces by tabs; removed trailing whitespace
6298
6299 2014-06-03 Martin Gieseking <mgieseki@users.sourceforge.net>
6300
6301 * src/DVIReader.cpp, src/DVIReader.h:
6302 removed redundant variable DVIReader::_prevBop
6303
6304 * src/PsSpecialHandler.cpp:
6305 fixed incorrect extent values shown when applying a preview bbox
6306 (bp->pt)
6307
6308 2014-06-01 Martin Gieseking <mgieseki@users.sourceforge.net>
6309
6310 * src/EPSFile.cpp, src/GFReader.cpp:
6311 replaced relative variant of seekg() by absolute one where possible
6312
6313 * src/DVIReader.cpp, src/DVIReader.h:
6314 removed redundant code from DVIReader::evalCommand()
6315
6316 2014-05-31 Martin Gieseking <mgieseki@users.sourceforge.net>
6317
6318 * src/DVIReader.cpp, src/VFReader.cpp:
6319 few code adjustments
6320
6321 * src/DVIReader.cpp, src/StreamReader.cpp, src/StreamReader.h,
6322 src/VFReader.cpp:
6323 removed StreamReader::in()
6324
6325 * src/DVIReader.cpp, src/StreamReader.h, src/VFReader.cpp:
6326 renamed some methods of class StreamReader
6327
6328 2014-05-29 Martin Gieseking <mgieseki@users.sourceforge.net>
6329
6330 * src/DVIReader.cpp, src/DVIReader.h, src/StreamReader.h:
6331 collect all DVI BOP offsets to reach them quickly
6332
6333 * src/DVIReader.cpp, src/DVIReader.h, src/DVIToSVG.cpp, src/DVIToSVG.h:
6334 removed DVIReader::_totalPages; use number of BOP offsets instead
6335
6336 * src/DVIReader.cpp, src/DVIReader.h, src/dvisvgm.cpp:
6337 simplified computation of progress ratio
6338
6339 * src/DVIReader.cpp, src/DVIReader.h:
6340 simplified DVIReader::executePage; removed DVIReader::executePages
6341
6342 2014-05-22 Martin Gieseking <martin.gieseking@uos.de>
6343
6344 * src/Font.cpp, src/Makefile.am, src/Unicode.cpp, src/Unicode.h,
6345 src/XMLString.cpp:
6346 moved unicode-related funtions to separate class
6347
6348 * src/CharMap.cpp, src/CharMap.h, src/Font.cpp, src/FontEngine.cpp,
6349 src/FontEngine.h:
6350 removed redundant method CharMap::invert()
6351
6352 * src/CMap.cpp, src/CMap.h, src/Makefile.am, src/RangeMap.cpp,
6353 src/RangeMap.h, tests/Makefile.am, tests/RangeMapTest.cpp:
6354 extracted class RangeMap previously implemented as part of SegmentedCMap
6355
6356 * src/RangeMap.cpp:
6357 fixed right joins of touching ranges in a RangeMap
6358
6359 * src/CharMap.cpp, src/CharMap.h, src/Font.cpp, src/Font.h,
6360 src/FontEngine.cpp, src/FontEngine.h, src/Makefile.am:
6361 replaced class CharMap with more generic class RangeMap
6362
6363 * src/DVIToSVG.cpp, src/Makefile.am, src/NumericRanges.h,
6364 src/PageRanges.cpp, src/PageRanges.h, tests/PageRagesTest.cpp:
6365 extracted functionality of class PageRanges to separate class
6366 NumericRanges
6367
6368 * src/Makefile.am, src/RangeMap.h, src/ToUnicodeMap.cpp,
6369 src/ToUnicodeMap.h, tests/Makefile.am, tests/ToUnicodeMapTest.cpp:
6370 added class ToUnicodeMap to handle mappings from character indexes to
6371 unicode points
6372
6373 * src/Makefile.am:
6374 Makefile: put source files on separate lines
6375
6376 2014-04-30 Martin Gieseking <mgieseki@users.sourceforge.net>
6377
6378 * src/CharMapID.cpp, src/CharMapID.h, src/DVIReader.cpp, src/Font.cpp,
6379 src/Font.h, src/FontEngine.cpp, src/FontEngine.h:
6380 try to add unicode mappings missing in a font's cmap table
6381
6382 2014-04-29 Martin Gieseking <mgieseki@users.sourceforge.net>
6383
6384 * src/SVGTree.cpp:
6385 don't add unnecessary element 'missing-glyph' to SVG files
6386
6387 2014-04-24 Martin Gieseking <mgieseki@users.sourceforge.net>
6388
6389 * doc/dvisvgm.txt.in, src/CommandLine.cpp, src/options.xml:
6390 renamed argument of option --linkmark from 'type' to 'style'
6391
6392 2014-04-23 Martin Gieseking <mgieseki@users.sourceforge.net>
6393
6394 * src/System.h:
6395 removed redundant semicolon
6396
6397 2014-04-22 Martin Gieseking <martin.gieseking@uos.de>
6398
6399 * configure.ac, src/Doxyfile:
6400 set version to 1.6
6401
6402 * NEWS:
6403 updated NEWS
6404
6405 2014-04-21 Martin Gieseking <mgieseki@users.sourceforge.net>
6406
6407 * doc/dvisvgm.txt.in, src/DVIToSVG.cpp, src/EPSToSVG.cpp:
6408 removed date and machine triplet from generated SVG files
6409
6410 2014-04-18 Martin Gieseking <mgieseki@users.sourceforge.net>
6411
6412 * doc/dvisvgm.txt.in, src/HtmlSpecialHandler.cpp,
6413 src/HtmlSpecialHandler.h:
6414 added optional selection of line/box colors to option --linkmark
6415
6416 2014-04-17 Martin Gieseking <mgieseki@users.sourceforge.net>
6417
6418 * src/CommandLine.h, src/DVIToSVG.cpp, src/EPSToSVG.cpp:
6419 don't link GS messages unnecessarily if HAVE_LIBGS is defined
6420
6421 * src/DVIReader.h, src/DVIToSVGActions.h, src/HtmlSpecialHandler.cpp,
6422 src/HtmlSpecialHandler.h, src/SpecialActions.h:
6423 only split hyperlink boxes on line breaks
6424
6425 * doc/dvisvgm.txt.in, src/CommandLine.cpp, src/options.xml:
6426 changed default argument of option --linkmark to 'box'
6427
6428 2014-04-16 Martin Gieseking <mgieseki@users.sourceforge.net>
6429
6430 * src/DLLoader.cpp:
6431 prevent calling dlopen() if the length of the string argument is 0
6432
6433 * doc/dvisvgm.txt.in, src/Ghostscript.cpp:
6434 if libgs is loaded during runtime, look for libgs.so.X instead of
6435 libgs.so
6436
6437 * src/Ghostscript.cpp, src/dvisvgm.cpp:
6438 moved lookup of MiKTeX's GS DLL to get_libgs()
6439
6440 * doc/dvisvgm.txt.in, src/CommandLine.cpp, src/CommandLine.h,
6441 src/SVGTree.cpp, src/SVGTree.h, src/dvisvgm.cpp, src/options.xml:
6442 added command-line option --zoom
6443
6444 2014-04-11 Martin Gieseking <mgieseki@users.sourceforge.net>
6445
6446 * src/CMap.cpp, src/CmdLineParserBase.cpp, src/ColorSpecialHandler.cpp,
6447 src/DVIReader.cpp, src/DVIToSVGActions.cpp, src/Doxyfile,
6448 src/DvisvgmSpecialHandler.cpp, src/DvisvgmSpecialHandler.h,
6449 src/EPSFile.cpp, src/EmSpecialHandler.cpp, src/FileFinder.cpp,
6450 src/FileSystem.cpp, src/Font.cpp, src/FontCache.cpp, src/FontEncoding.h,
6451 src/FontEngine.cpp, src/FontMap.cpp, src/GraphicPath.h,
6452 src/PSInterpreter.cpp, src/PageRanges.cpp, src/PsSpecialHandler.cpp,
6453 src/SVGTree.cpp, src/SVGTree.h, src/SpecialManager.cpp, src/Subfont.cpp,
6454 src/TFM.cpp, src/TpicSpecialHandler.cpp, src/XMLDocument.cpp,
6455 src/XMLNode.cpp, src/dvisvgm.cpp:
6456 fixed issues in the doxygen documentation
6457
6458 * configure.ac, src/Doxyfile:
6459 set version to 1.5.3
6460
6461 * NEWS:
6462 updated NEWS
6463
6464 2014-04-09 Martin Gieseking <mgieseki@users.sourceforge.net>
6465
6466 * src/DVIToSVGActions.cpp:
6467 equalize implementations of moveToX and moveToY
6468
6469 * src/BoundingBox.h, src/DVIActions.cpp, src/DVIActions.h,
6470 src/DVIReader.cpp, src/DVIReader.h, src/DVIToSVG.cpp,
6471 src/DVIToSVGActions.cpp, src/DVIToSVGActions.h,
6472 src/DvisvgmSpecialHandler.cpp, src/EPSToSVG.cpp,
6473 src/EmSpecialHandler.cpp, src/Font.h, src/FontManager.cpp,
6474 src/GFGlyphTracer.cpp, src/GFReader.cpp, src/GFTracer.cpp,
6475 src/GFTracer.h, src/GraphicPath.h, src/HtmlSpecialHandler.h,
6476 src/Makefile.am, src/PSPattern.cpp, src/PSPreviewFilter.cpp,
6477 src/PSPreviewFilter.h, src/PageSize.cpp, src/PageSize.h,
6478 src/PsSpecialHandler.cpp, src/PsSpecialHandler.h, src/SVGTree.cpp,
6479 src/SpecialHandler.h, src/SpecialManager.cpp, src/SpecialManager.h,
6480 src/TFM.cpp, src/TpicSpecialHandler.cpp, src/TpicSpecialHandler.h,
6481 src/VFReader.cpp:
6482 switched internal computations from TeX points (pt) to PS points (bp)
6483
6484 2014-02-05 Martin Gieseking <martin.gieseking@uos.de>
6485
6486 * src/DVIReader.cpp, src/DVIReader.h:
6487 ensure updating the SVG cursor position when executing DVI command
6488 set_rule
6489
6490 2014-01-13 Martin Gieseking <mgieseki@users.sourceforge.net>
6491
6492 * src/Ghostscript.cpp:
6493 check if library given by --libgs is actually a GS library
6494
6495 2014-01-10 Martin Gieseking <mgieseki@users.sourceforge.net>
6496
6497 * NEWS:
6498 updated NEWS
6499
6500 2014-01-03 Martin Gieseking <mgieseki@users.sourceforge.net>
6501
6502 * src/FileFinder.cpp:
6503 catch exceptions thrown by MiKTeXCom object
6504
6505 * src/Directory.cpp:
6506 initialize Directory member variables (Win only)
6507
6508 * src/FileFinder.cpp:
6509 return 'unknown' if MiKTeX version can't be retrieved
6510
6511 * configure.ac, src/Doxyfile:
6512 set version to 1.5.2
6513
6514 2014-01-02 Martin Gieseking <martin.gieseking@uos.de>
6515
6516 * Makefile.am, README, configure.ac, doc/Makefile.am, doc/dvisvgm.txt.in,
6517 src/BgColorSpecialHandler.cpp, src/BgColorSpecialHandler.h,
6518 src/Bitmap.cpp, src/Bitmap.h, src/BoundingBox.cpp, src/BoundingBox.h,
6519 src/CMap.cpp, src/CMap.h, src/CMapManager.cpp, src/CMapManager.h,
6520 src/CMapReader.cpp, src/CMapReader.h, src/CRC32.cpp, src/CRC32.h,
6521 src/Calculator.cpp, src/Calculator.h, src/CharMap.cpp, src/CharMap.h,
6522 src/CharMapID.cpp, src/CharMapID.h, src/Character.h,
6523 src/CmdLineParserBase.cpp, src/CmdLineParserBase.h, src/Color.cpp,
6524 src/Color.h, src/ColorSpecialHandler.cpp, src/ColorSpecialHandler.h,
6525 src/CommandLine.cpp, src/CommandLine.h, src/DLLoader.cpp, src/DLLoader.h,
6526 src/DVIActions.cpp, src/DVIActions.h, src/DVIReader.cpp, src/DVIReader.h,
6527 src/DVIToSVG.cpp, src/DVIToSVG.h, src/DVIToSVGActions.cpp,
6528 src/DVIToSVGActions.h, src/Directory.cpp, src/Directory.h,
6529 src/DvisvgmSpecialHandler.cpp, src/DvisvgmSpecialHandler.h,
6530 src/EPSFile.cpp, src/EPSFile.h, src/EPSToSVG.cpp, src/EPSToSVG.h,
6531 src/EmSpecialHandler.cpp, src/EmSpecialHandler.h, src/EncFile.cpp,
6532 src/EncFile.h, src/FileFinder.cpp, src/FileFinder.h, src/FilePath.cpp,
6533 src/FilePath.h, src/FileSystem.cpp, src/FileSystem.h, src/Font.cpp,
6534 src/Font.h, src/FontCache.cpp, src/FontCache.h, src/FontEncoding.cpp,
6535 src/FontEncoding.h, src/FontEngine.cpp, src/FontEngine.h,
6536 src/FontManager.cpp, src/FontManager.h, src/FontMap.cpp, src/FontMap.h,
6537 src/FontMetrics.cpp, src/FontMetrics.h, src/GFGlyphTracer.cpp,
6538 src/GFGlyphTracer.h, src/GFReader.cpp, src/GFReader.h, src/GFTracer.cpp,
6539 src/GFTracer.h, src/Ghostscript.cpp, src/Ghostscript.h, src/Glyph.h,
6540 src/GlyphTracerMessages.h, src/GraphicPath.h, src/HtmlSpecialHandler.cpp,
6541 src/HtmlSpecialHandler.h, src/InputBuffer.cpp, src/InputBuffer.h,
6542 src/InputReader.cpp, src/InputReader.h, src/JFM.cpp, src/JFM.h,
6543 src/Length.cpp, src/Length.h, src/Makefile.am, src/MapLine.cpp,
6544 src/MapLine.h, src/Matrix.cpp, src/Matrix.h, src/Message.cpp,
6545 src/Message.h, src/MessageException.h, src/MetafontWrapper.cpp,
6546 src/MetafontWrapper.h, src/MiKTeXCom.cpp, src/MiKTeXCom.h,
6547 src/NoPsSpecialHandler.cpp, src/NoPsSpecialHandler.h, src/PSFilter.h,
6548 src/PSInterpreter.cpp, src/PSInterpreter.h, src/PSPattern.cpp,
6549 src/PSPattern.h, src/PSPreviewFilter.cpp, src/PSPreviewFilter.h,
6550 src/PageRanges.cpp, src/PageRanges.h, src/PageSize.cpp, src/PageSize.h,
6551 src/Pair.h, src/PdfSpecialHandler.cpp, src/PdfSpecialHandler.h,
6552 src/Process.cpp, src/Process.h, src/PsSpecialHandler.cpp,
6553 src/PsSpecialHandler.h, src/SVGOutputBase.h, src/SVGTree.cpp,
6554 src/SVGTree.h, src/SignalHandler.cpp, src/SignalHandler.h,
6555 src/SpecialActions.h, src/SpecialHandler.h, src/SpecialManager.cpp,
6556 src/SpecialManager.h, src/StreamReader.cpp, src/StreamReader.h,
6557 src/StreamWriter.cpp, src/StreamWriter.h, src/Subfont.cpp, src/Subfont.h,
6558 src/System.cpp, src/System.h, src/TFM.cpp, src/TFM.h, src/Terminal.cpp,
6559 src/Terminal.h, src/TpicSpecialHandler.cpp, src/TpicSpecialHandler.h,
6560 src/VFActions.h, src/VFReader.cpp, src/VFReader.h, src/VectorStream.h,
6561 src/XMLDocument.cpp, src/XMLDocument.h, src/XMLNode.cpp, src/XMLNode.h,
6562 src/XMLString.cpp, src/XMLString.h, src/dvisvgm.cpp, src/macros.h,
6563 src/options.dtd, src/options.xml, src/psdefs.cpp, src/types.h,
6564 tests/BoundingBoxTest.cpp, tests/CMapReaderTest.cpp, tests/CMapTest.cpp,
6565 tests/CRC32Test.cpp, tests/CalculatorTest.cpp,
6566 tests/ColorSpecialTest.cpp, tests/ColorTest.cpp,
6567 tests/CommandLineTest.cpp, tests/DirectoryTest.cpp,
6568 tests/FileFinderTest.cpp, tests/FilePathTest.cpp,
6569 tests/FileSystemTest.cpp, tests/FontManagerTest.cpp,
6570 tests/FontMapTest.cpp, tests/GFReaderTest.cpp, tests/GraphicPathTest.cpp,
6571 tests/LengthTest.cpp, tests/Makefile.am, tests/MapLineTest.cpp,
6572 tests/MatrixTest.cpp, tests/MessageExceptionTest.cpp,
6573 tests/PSInterpreterTest.cpp, tests/PageRagesTest.cpp,
6574 tests/PageSizeTest.cpp, tests/PairTest.cpp,
6575 tests/SplittedCharInputBufferTest.cpp, tests/StreamInputBufferTest.cpp,
6576 tests/StreamReaderTest.cpp, tests/StreamWriterTest.cpp,
6577 tests/SubfontTest.cpp, tests/TypesTest.cpp, tests/VectorStreamTest.cpp,
6578 tests/check-conv, tests/create-makefile, tests/normalize.xsl:
6579 updated year in copyright statements to 2014
6580
6581 2014-01-01 Martin Gieseking <mgieseki@users.sourceforge.net>
6582
6583 * src/MiKTeXCom.cpp:
6584 prevent releasing MiKTeX object if its initialization failed
6585
6586 2013-12-29 Martin Gieseking <mgieseki@users.sourceforge.net>
6587
6588 * src/Font.cpp:
6589 check if units per EM are not 0 to prevent divisions by zero
6590
6591 * src/Directory.cpp, src/Directory.h, src/FontMap.cpp,
6592 tests/DirectoryTest.cpp:
6593 changed directory entry types from char to enums
6594
6595 * src/FontCache.cpp:
6596 catch potential StreamReaderException
6597
6598 2013-12-18 Martin Gieseking <mgieseki@users.sourceforge.net>
6599
6600 * src/BoundingBox.cpp:
6601 explicitely initialize BoundingBox fields
6602
6603 * src/FontCache.cpp:
6604 avoid accessing strings constructed from temporaries
6605
6606 * src/Matrix.cpp:
6607 ensure return value of istream::get() is assigned to int vars
6608
6609 * src/DVIReader.cpp:
6610 check if denominator of DVI unit is non-zero
6611
6612 * src/DvisvgmSpecialHandler.cpp, src/FontCache.cpp:
6613 ensure null pointer checks before dereferencing
6614
6615 * src/FontCache.cpp, src/SpecialManager.cpp:
6616 restore stream format flags
6617
6618 * src/DVIReader.cpp, src/Directory.cpp, src/GFReader.cpp:
6619 added missing initializations of member variables
6620
6621 2013-12-09 Martin Gieseking <martin.gieseking@uos.de>
6622
6623 * src/BgColorSpecialHandler.h, src/Bitmap.h, src/BoundingBox.h,
6624 src/CMap.h, src/CMapManager.h, src/CMapReader.h, src/Calculator.h,
6625 src/CharMap.h, src/CharMapID.h, src/Character.h, src/CmdLineParserBase.h,
6626 src/Color.h, src/ColorSpecialHandler.h, src/CommandLine.h,
6627 src/DLLoader.h, src/DVIActions.h, src/DVIReader.h, src/DVIToSVG.h,
6628 src/DVIToSVGActions.h, src/Directory.h, src/DvisvgmSpecialHandler.h,
6629 src/EPSFile.h, src/EPSToSVG.h, src/EmSpecialHandler.h, src/EncFile.h,
6630 src/FileFinder.h, src/FilePath.h, src/FileSystem.h, src/Font.h,
6631 src/FontCache.h, src/FontEncoding.h, src/FontEngine.h, src/FontManager.h,
6632 src/FontMap.h, src/FontMetrics.h, src/GFGlyphTracer.h, src/GFReader.h,
6633 src/GFTracer.h, src/Ghostscript.h, src/Glyph.h,
6634 src/GlyphTracerMessages.h, src/GraphicPath.h, src/HtmlSpecialHandler.h,
6635 src/InputBuffer.h, src/InputReader.h, src/JFM.h, src/Length.h,
6636 src/MapLine.h, src/Matrix.h, src/Message.h, src/MessageException.h,
6637 src/MetafontWrapper.h, src/MiKTeXCom.h, src/NoPsSpecialHandler.h,
6638 src/PSFilter.h, src/PSInterpreter.h, src/PSPattern.h,
6639 src/PSPreviewFilter.h, src/PageRanges.h, src/PageSize.h, src/Pair.h,
6640 src/PdfSpecialHandler.h, src/Process.h, src/PsSpecialHandler.h,
6641 src/SVGOutputBase.h, src/SVGTree.h, src/SignalHandler.h,
6642 src/SpecialActions.h, src/SpecialHandler.h, src/SpecialManager.h,
6643 src/StreamReader.h, src/StreamWriter.h, src/Subfont.h, src/System.h,
6644 src/TFM.h, src/Terminal.h, src/TpicSpecialHandler.h, src/VFActions.h,
6645 src/VFReader.h, src/VectorStream.h, src/XMLDocument.h, src/XMLNode.h,
6646 src/XMLString.h, src/macros.h, src/types.h:
6647 prefixed include guards with DVISVGM_ to prevent ambiguities with
6648 external headers
6649
6650 2013-11-16 Martin Gieseking <mgieseki@users.sourceforge.net>
6651
6652 * src/DVIReader.cpp, src/SVGTree.cpp, src/SVGTree.h:
6653 don't let global font colors interfere with color specials
6654
6655 2013-10-29 Martin Gieseking <mgieseki@users.sourceforge.net>
6656
6657 * NEWS:
6658 updated NEWS
6659
6660 2013-10-28 Martin Gieseking <mgieseki@users.sourceforge.net>
6661
6662 * src/Bitmap.cpp, src/Color.cpp, src/JFM.cpp, src/Matrix.cpp:
6663 added missing #includes of header file <algorithm>
6664
6665 * src/FileSystem.cpp, src/MetafontWrapper.cpp:
6666 added explicit casts from ifstream to bool
6667
6668 * src/DVIReader.cpp:
6669 temporarily reactivated processing of font definitions located in the
6670 postamble
6671
6672 * configure.ac, src/Doxyfile:
6673 set version to 1.5.1
6674
6675 2013-10-27 Martin Gieseking <mgieseki@users.sourceforge.net>
6676
6677 * src/DVIToSVG.cpp:
6678 suppress output of logical page number if it equals physical page number
6679
6680 2013-10-16 Martin Gieseking <mgieseki@users.sourceforge.net>
6681
6682 * src/PSPreviewFilter.cpp, src/PsSpecialHandler.cpp:
6683 ensure proper evaluation of tightpage data if multiple pages are
6684 processed
6685
6686 2013-10-12 Martin Gieseking <mgieseki@users.sourceforge.net>
6687
6688 * src/InputBuffer.h:
6689 don't check unsigned variables for negative values
6690
6691 * src/Color.h, src/PsSpecialHandler.cpp, src/PsSpecialHandler.h:
6692 added 'const' to read-only methods
6693
6694 2013-09-21 Martin Gieseking <mgieseki@users.sourceforge.net>
6695
6696 * src/FontCache.cpp, src/FontCache.h:
6697 renamed FontCache::VERSION to FontCache::FORMAT_VERSION
6698
6699 * src/DVIToSVG.cpp, src/Ghostscript.h, src/dvisvgm.cpp:
6700 added missing guards and functions to prevent compilation errors if
6701 DISABLE_GS is set
6702
6703 * src/DVIToSVG.cpp:
6704 changed warning message that appears if PS support has been disabled
6705 permanently
6706
6707 2013-09-01 Martin Gieseking <martin.gieseking@uos.de>
6708
6709 * src/BgColorSpecialHandler.cpp, src/Bitmap.cpp, src/BoundingBox.cpp,
6710 src/CMap.cpp, src/CMapManager.cpp, src/CMapReader.cpp, src/CRC32.cpp,
6711 src/Calculator.cpp, src/CharMap.cpp, src/CmdLineParserBase.cpp,
6712 src/Color.cpp, src/ColorSpecialHandler.cpp, src/CommandLine.cpp,
6713 src/CommandLine.h, src/DLLoader.cpp, src/DVIActions.cpp,
6714 src/DVIReader.cpp, src/DVIToSVG.cpp, src/DVIToSVGActions.cpp,
6715 src/Directory.cpp, src/DvisvgmSpecialHandler.cpp, src/EPSFile.cpp,
6716 src/EPSToSVG.cpp, src/EmSpecialHandler.cpp, src/EncFile.cpp,
6717 src/FileFinder.cpp, src/FilePath.cpp, src/FileSystem.cpp, src/Font.cpp,
6718 src/FontCache.cpp, src/FontEncoding.cpp, src/FontEngine.cpp,
6719 src/FontManager.cpp, src/FontMap.cpp, src/FontMetrics.cpp,
6720 src/GFGlyphTracer.cpp, src/GFReader.cpp, src/GFTracer.cpp,
6721 src/Ghostscript.cpp, src/Ghostscript.h, src/HtmlSpecialHandler.cpp,
6722 src/InputBuffer.cpp, src/InputReader.cpp, src/JFM.cpp, src/Length.cpp,
6723 src/MapLine.cpp, src/Matrix.cpp, src/Message.cpp,
6724 src/MetafontWrapper.cpp, src/MiKTeXCom.cpp, src/NoPsSpecialHandler.cpp,
6725 src/PSInterpreter.cpp, src/PSPattern.cpp, src/PSPreviewFilter.cpp,
6726 src/PageRanges.cpp, src/PageSize.cpp, src/PdfSpecialHandler.cpp,
6727 src/Process.cpp, src/PsSpecialHandler.cpp, src/SVGTree.cpp,
6728 src/SignalHandler.cpp, src/SpecialManager.cpp, src/StreamReader.cpp,
6729 src/StreamWriter.cpp, src/Subfont.cpp, src/System.cpp, src/TFM.cpp,
6730 src/Terminal.cpp, src/TpicSpecialHandler.cpp, src/VFReader.cpp,
6731 src/XMLDocument.cpp, src/XMLNode.cpp, src/XMLString.cpp, src/dvisvgm.cpp:
6732 include config.h at the top of every translation unit
6733
6734 * src/DLLoader.h, src/Directory.h:
6735 moved #define NOMINMAX to Windows config.h
6736
6737 * configure.ac, src/Doxyfile:
6738 set version to 1.5
6739
6740 * NEWS:
6741 updated NEWS
6742
6743 2013-08-30 Martin Gieseking <mgieseki@users.sourceforge.net>
6744
6745 * src/FontMetrics.h, src/JFM.cpp, src/JFM.h, src/TFM.h:
6746 added retrieval of vertical mode flag to class FontMetrics
6747
6748 * src/DVIActions.h, src/DVIReader.cpp, src/DVIReader.h,
6749 src/DVIToSVGActions.cpp, src/DVIToSVGActions.h, src/Font.cpp, src/Font.h,
6750 src/FontEngine.cpp, src/FontEngine.h, src/FontMetrics.h, src/JFM.h,
6751 src/SVGTree.cpp, src/SVGTree.h, src/TFM.h, src/dvisvgm.cpp:
6752 added support for DVI format 3 (pTeX, vertical mode)
6753
6754 * src/DVIReader.cpp, src/DVIReader.h, src/Font.cpp, src/Font.h,
6755 src/FontEngine.cpp, src/FontEngine.h, src/FontManager.cpp,
6756 src/FontManager.h, src/FontStyle.h, src/SVGTree.cpp, src/dvisvgm.cpp:
6757 added support for XDV (DVI format 5) files
6758
6759 * src/Font.cpp, src/Font.h, src/XMLString.cpp:
6760 replaced entity references by corresponding UTF-8 characters; use
6761 correct unicode points rather than DVI charcodes
6762
6763 * doc/dvisvgm.txt.in:
6764 updated manpage
6765
6766 2013-08-29 Martin Gieseking <martin.gieseking@uos.de>
6767
6768 * src/CharMap.cpp, src/CharMap.h, src/Font.cpp, src/Font.h,
6769 src/FontEncoding.h, src/FontEngine.cpp, src/FontEngine.h,
6770 src/FontManager.cpp, src/Makefile.am:
6771 replaced local std::map tables used in Font classes with new class
6772 CharMap
6773
6774 2013-08-23 Martin Gieseking <mgieseki@users.sourceforge.net>
6775
6776 * src/SVGTree.cpp:
6777 appended px unit to font-size attributes in style section
6778
6779 2013-08-22 Martin Gieseking <mgieseki@users.sourceforge.net>
6780
6781 * src/XMLString.cpp:
6782 replace very small floating point numbers by 0
6783
6784 2013-08-20 Martin Gieseking <mgieseki@users.sourceforge.net>
6785
6786 * src/FileFinder.cpp:
6787 suppress error messages from makeFOO tools
6788
6789 2013-08-13 Martin Gieseking <mgieseki@users.sourceforge.net>
6790
6791 * src/CMap.cpp, src/CMap.h, src/CMapManager.cpp, src/CMapManager.h,
6792 src/EncFile.h, src/Font.cpp, src/Font.h, src/FontEncoding.cpp,
6793 src/FontEncoding.h, src/FontManager.cpp, src/FontMap.cpp, src/FontMap.h:
6794 derive EncodingPair from FontEncoding
6795
6796 * src/Font.cpp, src/Font.h, src/FontEncoding.cpp, src/FontEncoding.h,
6797 src/FontManager.cpp, src/FontMap.cpp, src/FontMap.h:
6798 moved assignment of base font map to Font class
6799
6800 2013-08-11 Martin Gieseking <mgieseki@users.sourceforge.net>
6801
6802 * configure.ac, src/FileFinder.cpp:
6803 check if the kpathsea library is C++-safe (patch by Peter Breitenlohner)
6804
6805 * src/dvisvgm.cpp:
6806 fix number of dashes printed by -V1
6807
6808 2013-08-08 Martin Gieseking <mgieseki@users.sourceforge.net>
6809
6810 * src/Matrix.cpp, src/Matrix.h:
6811 renamed Matrix skewing methods
6812
6813 2013-08-04 Martin Gieseking <mgieseki@users.sourceforge.net>
6814
6815 * src/Font.cpp, src/Font.h, src/FontEngine.cpp, src/FontManager.cpp,
6816 src/FontMap.cpp, src/FontMap.h, src/FontStyle.h, src/Makefile.am:
6817 store pointers to font map and encoding in Font objects to speed up
6818 looking them up
6819
6820 * src/Ghostscript.h, src/PSPreviewFilter.cpp, src/PsSpecialHandler.cpp:
6821 added missing variable initializations
6822
6823 2013-08-03 Martin Gieseking <mgieseki@users.sourceforge.net>
6824
6825 * src/CMapManager.cpp, src/CMapManager.h, src/FontManager.cpp:
6826 avoid const_cast in CMapManager
6827
6828 2013-08-02 Martin Gieseking <mgieseki@users.sourceforge.net>
6829
6830 * src/DVIActions.h, src/DVIReader.cpp, src/DVIToSVG.cpp:
6831 disable font processing while scanning PS header specials
6832
6833 * src/CMap.h, src/CMapManager.cpp:
6834 properly handle 'unicode' encoding entries set in font map
6835
6836 2013-08-01 Martin Gieseking <mgieseki@users.sourceforge.net>
6837
6838 * src/XMLDocument.cpp, src/XMLString.cpp:
6839 changed encoding of SVG files from ISO-8859-1 to UTF-8
6840
6841 * src/DVIToSVG.cpp, src/Makefile.am, src/SVGTree.cpp,
6842 src/XMLDocTypeNode.h:
6843 removed DOCTYPE declaration from generated files as suggested by the SVG
6844 specification
6845
6846 * src/DVIToSVG.cpp:
6847 removed redundant #include statements
6848
6849 * src/DVIToSVG.cpp, src/DVIToSVG.h, src/DVIToSVGActions.h, src/EPSToSVG.h,
6850 src/Matrix.cpp, src/Matrix.h, src/PsSpecialHandler.cpp,
6851 src/SpecialActions.h, src/dvisvgm.cpp:
6852 apply page transformations to width, height, and depth of preview bbox
6853
6854 * NEWS:
6855 updated NEWS
6856
6857 * configure.ac, src/Doxyfile:
6858 set version to 1.4
6859
6860 2013-07-31 Martin Gieseking <martin.gieseking@uos.de>
6861
6862 * src/CMap.cpp, src/CMap.h, src/CMapManager.cpp, src/CMapManager.h,
6863 src/CMapReader.cpp, src/CMapReader.h, src/FontManager.cpp,
6864 src/Makefile.am, tests/CMapTest.cpp, tests/Makefile.am:
6865 added classes to handle CMap files
6866
6867 * src/CMap.cpp, src/CMap.h, src/CMapManager.h, src/EncFile.cpp,
6868 src/EncFile.h, src/FileFinder.cpp, src/Font.cpp, src/Font.h,
6869 src/FontEncoding.cpp, src/FontEncoding.h, src/FontEngine.cpp,
6870 src/FontEngine.h, src/FontManager.cpp, src/Makefile.am,
6871 tests/CMapTest.cpp:
6872 derive .enc encoding vectors and CMaps from common base class
6873 FontEncoding
6874
6875 * src/CMap.cpp, src/CMap.h, src/Character.h, src/EncFile.h, src/Font.cpp,
6876 src/Font.h, src/FontEncoding.h, src/FontEngine.cpp, src/FontEngine.h,
6877 src/Makefile.am, tests/CMapTest.cpp:
6878 added Character class to handle character names, codes, and indexes
6879 consistently
6880
6881 * src/FileFinder.cpp, src/Font.cpp, src/Font.h, src/FontManager.cpp:
6882 added support for OTF fonts
6883
6884 * src/Font.cpp, src/Font.h, src/FontMetric.cpp, src/FontMetric.h,
6885 src/FontMetrics.cpp, src/FontMetrics.h, src/Makefile.am, src/TFM.h:
6886 renamed class FontMetric to FontMetrics
6887
6888 * src/CMap.cpp, src/CMap.h, src/CMapReader.cpp, src/CMapReader.h,
6889 tests/CMapReaderTest.cpp, tests/CMapTest.cpp, tests/Makefile.am:
6890 added evaluation of base font (bf) sections in CMap files
6891
6892 * src/CMap.h, src/CMapManager.cpp, src/CMapManager.h, src/CMapReader.cpp,
6893 src/CharMapID.cpp, src/CharMapID.h, src/Font.cpp, src/Font.h,
6894 src/FontEngine.cpp, src/FontEngine.h, src/FontManager.cpp,
6895 src/FontMap.cpp, src/FontMap.h, src/Makefile.am:
6896 try to decode characters of non-CID fonts that have a CMap assigned in
6897 the fontmap
6898
6899 2013-07-27 Martin Gieseking <mgieseki@users.sourceforge.net>
6900
6901 * src/Font.cpp, src/Font.h, src/FontEncoding.cpp, src/FontEncoding.h:
6902 moved lookup of the encoding of a font to the Font class
6903
6904 * src/JFM.cpp:
6905 fixed retrieval of char indexes if a JFM contains entries of chartype 0
6906 only
6907
6908 * src/BgColorSpecialHandler.h, src/DVIToSVG.cpp, src/PSInterpreter.cpp,
6909 src/PSInterpreter.h, src/PsSpecialHandler.cpp, src/PsSpecialHandler.h,
6910 src/SpecialManager.cpp, src/SpecialManager.h:
6911 ensure that PS header code is evaluated before the page/body code; also
6912 execute bop-hook and eop-hook
6913
6914 * src/PSInterpreter.cpp, src/PSInterpreter.h, src/PsSpecialHandler.cpp:
6915 added funtion to execute PS code snippets and retrieve their results
6916
6917 * doc/dvisvgm.txt.in, src/DVIActions.h, src/DVIReader.cpp,
6918 src/DVIToSVG.cpp, src/DVIToSVGActions.cpp, src/DVIToSVGActions.h,
6919 src/EPSToSVG.cpp, src/Makefile.am, src/PSFilter.h, src/PSInterpreter.cpp,
6920 src/PSInterpreter.h, src/PSPreviewFilter.cpp, src/PSPreviewFilter.h,
6921 src/PsSpecialHandler.cpp, src/PsSpecialHandler.h, src/SpecialActions.h,
6922 src/SpecialHandler.h, src/SpecialManager.cpp, src/SpecialManager.h:
6923 added evaluation of bounding box information created by preview package
6924
6925 2013-07-23 Martin Gieseking <mgieseki@users.sourceforge.net>
6926
6927 * src/EPSToSVG.cpp:
6928 print warning message if height or width of EPS bbox is 0
6929
6930 * src/psdefs.cpp:
6931 PS handler: call newpath before executing charpath in operator show
6932
6933 * src/FontMap.cpp:
6934 check for EOF prior to try to parse another mapline
6935
6936 2013-07-18 Martin Gieseking <martin.gieseking@uos.de>
6937
6938 * src/psdefs.cpp:
6939 replaced PS operator prval with =only in psdefs
6940
6941 2013-07-17 Martin Gieseking <mgieseki@users.sourceforge.net>
6942
6943 * src/DVIToSVG.cpp:
6944 ensure catching PSExceptions while processing PS header specials to
6945 prevent segfaults
6946
6947 * src/psdefs.cpp:
6948 properly store PS operator applyscalevals in systemdict
6949
6950 2013-07-14 Martin Gieseking <mgieseki@users.sourceforge.net>
6951
6952 * src/Process.cpp, src/Process.h:
6953 extended Process::run() to grab the output written to stdout
6954
6955 * src/FileFinder.cpp, src/FileFinder.h:
6956 FileFinder: added lookup of cmap files
6957
6958 2013-07-08 Martin Gieseking <martin.gieseking@uos.de>
6959
6960 * src/CmdLineParserBase.cpp, src/CmdLineParserBase.h, src/CommandLine.cpp:
6961 command-line parser: changed type of argument mode from char to enum
6962
6963 2013-06-17 Martin Gieseking <mgieseki@users.sourceforge.net>
6964
6965 * src/FileFinder.cpp:
6966 removed redundant 'using namespace std'
6967
6968 2013-06-03 Martin Gieseking <mgieseki@users.sourceforge.net>
6969
6970 * doc/dvisvgm.txt.in, src/HtmlSpecialHandler.cpp,
6971 src/HtmlSpecialHandler.h, src/dvisvgm.cpp:
6972 extend option --linkmark to highlight linked areas by a given background
6973 color
6974
6975 2013-06-01 Martin Gieseking <martin.gieseking@uos.de>
6976
6977 * src/Color.cpp, src/Color.h, src/ColorSpecialHandler.cpp,
6978 src/ColorSpecialHandler.h, src/SpecialActions.h,
6979 tests/ColorSpecialTest.cpp, tests/ColorTest.cpp, tests/Makefile.am:
6980 use Color class in ColorSpecialHandler rather than local code; added
6981 ColorTest
6982
6983 2013-05-22 Martin Gieseking <mgieseki@users.sourceforge.net>
6984
6985 * src/dvisvgm.cpp:
6986 added a missing (underlining) hyphen to the output of -V1
6987
6988 2013-05-17 Martin Gieseking <martin.gieseking@uos.de>
6989
6990 * src/NoPsSpecialHandler.cpp, src/NoPsSpecialHandler.h:
6991 added missing NoPsSpecialhandler files
6992
6993 2013-05-13 Martin Gieseking <martin.gieseking@uos.de>
6994
6995 * src/Font.cpp, src/Font.h, src/FontManager.h, src/FontMetric.cpp,
6996 src/FontMetric.h, src/Makefile.am, src/TFM.cpp, src/TFM.h:
6997 handle invalid TFM files properly
6998
6999 * src/Font.cpp, src/FontMetric.cpp, src/FontMetric.h, src/JFM.cpp,
7000 src/JFM.h, src/Makefile.am, src/StreamReader.h, src/TFM.cpp, src/TFM.h:
7001 added support for Japanese font metric (JFM) files
7002
7003 * src/FileFinder.cpp, src/MiKTeXCom.cpp, src/MiKTeXCom.h, src/dvisvgm.cpp:
7004 try to load the Ghostscript library that comes with MiKTeX
7005
7006 * doc/dvisvgm.txt.in, src/DVIToSVG.cpp, src/HtmlSpecialHandler.cpp,
7007 src/HtmlSpecialHandler.h, src/Makefile.am, src/SpecialManager.cpp:
7008 added support of hyperref specials
7009
7010 * doc/dvisvgm.txt.in, src/CommandLine.cpp, src/CommandLine.h,
7011 src/HtmlSpecialHandler.cpp, src/dvisvgm.cpp, src/options.xml:
7012 added option --linkmark to select the highlighing variant for hyperlinks
7013
7014 * configure.ac, src/Doxyfile:
7015 set version to 1.3
7016
7017 * NEWS:
7018 updated NEWS
7019
7020 2013-05-02 Martin Gieseking <martin.gieseking@uos.de>
7021
7022 * AUTHORS, Makefile.am, README, configure.ac, potracelib/Makefile.am,
7023 potracelib/auxiliary.h, potracelib/bitmap.h, potracelib/curve.c,
7024 potracelib/curve.h, potracelib/decompose.c, potracelib/decompose.h,
7025 potracelib/lists.h, potracelib/potracelib.c, potracelib/potracelib.h,
7026 potracelib/progress.h, potracelib/trace.c, potracelib/trace.h:
7027 removed bundled potrace library
7028
7029 * src/SVGTree.cpp, src/SVGTree.h:
7030 added methods to push and pop 'context elements' to a page that wrap
7031 parts of the page contents
7032
7033 * src/DVIToSVGActions.h, src/EPSToSVG.h, src/SpecialActions.h:
7034 provide the context push/pop methods of class SVGTree to special
7035 handlers
7036
7037 * src/InputReader.cpp, src/InputReader.h:
7038 added optional parameter 'quotechar' to InputReader::parseAttributes()
7039
7040 * src/EmSpecialHandler.h, src/NoPsSpecialHandler.h, src/SpecialHandler.h,
7041 src/SpecialManager.cpp, src/SpecialManager.h, src/TpicSpecialHandler.h:
7042 moved DVI listener methods to dedicated listener interface classes
7043
7044 * src/DVIActions.h, src/DVIReader.cpp, src/DVIReader.h, src/DVIToSVG.cpp,
7045 src/DVIToSVG.h, src/DVIToSVGActions.cpp, src/DVIToSVGActions.h,
7046 src/EmSpecialHandler.cpp, src/EmSpecialHandler.h,
7047 src/NoPsSpecialHandler.cpp, src/NoPsSpecialHandler.h,
7048 src/SpecialHandler.h, src/SpecialManager.cpp, src/SpecialManager.h,
7049 src/TpicSpecialHandler.cpp, src/TpicSpecialHandler.h:
7050 added page number parameter to DVIEndPageListener::dviEndPage()
7051
7052 2013-05-01 Martin Gieseking <mgieseki@users.sourceforge.net>
7053
7054 * src/DVIToSVGActions.cpp, src/Terminal.cpp, src/Terminal.h:
7055 disable cursor when showing the progress indicator (Windows only)
7056
7057 2013-04-26 Martin Gieseking <mgieseki@users.sourceforge.net>
7058
7059 * src/DVIToSVG.cpp:
7060 don't link NoPsSpecialHandler if HAVE_LIBGS
7061
7062 2013-04-25 Martin Gieseking <mgieseki@users.sourceforge.net>
7063
7064 * src/FontEncoding.cpp:
7065 fixed bracketing bug that prevented lookup of fontmap files
7066
7067 2013-04-24 Martin Gieseking <mgieseki@users.sourceforge.net>
7068
7069 * src/BoundingBox.cpp, src/BoundingBox.h, src/Calculator.cpp,
7070 src/Calculator.h, src/Matrix.cpp, src/Matrix.h, src/MessageException.h,
7071 src/PageSize.cpp, src/PageSize.h, src/StreamReader.cpp,
7072 src/StreamReader.h, src/VFReader.cpp, src/VFReader.h, src/VectorStream.h,
7073 src/XMLDocument.cpp, src/XMLDocument.h:
7074 added missing underscores to private member variables
7075
7076 * configure.ac, src/Doxyfile:
7077 set version to 1.2.2
7078
7079 * NEWS:
7080 updated NEWS
7081
7082 2013-04-23 Martin Gieseking <mgieseki@users.sourceforge.net>
7083
7084 * src/DVIToSVG.cpp, src/EPSToSVG.cpp, src/dvisvgm.cpp:
7085 avoid output of empty parentheses if TARGET_SYSTEM is not set
7086
7087 * doc/dvisvgm.txt.in, src/CmdLineParserBase.cpp, src/CommandLine.cpp,
7088 src/options.dtd, src/options.xml:
7089 added information about 'dvisvgm -E' to usage line
7090
7091 * src/BoundingBox.cpp, src/BoundingBox.h, src/Calculator.h,
7092 src/CmdLineParserBase.h, src/DVIToSVGActions.cpp, src/Message.cpp,
7093 src/VFReader.cpp:
7094 added missing member initializations to some classes
7095
7096 2013-04-20 Martin Gieseking <martin.gieseking@uos.de>
7097
7098 * src/DVIToSVG.cpp, src/Makefile.am, src/SpecialManager.cpp:
7099 print a warning message if PS specials are found but ignored
7100
7101 2013-04-15 Martin Gieseking <mgieseki@users.sourceforge.net>
7102
7103 * src/FileFinder.cpp, src/dvisvgm.cpp:
7104 catch MessageException if MiKTeX version can't be obtained
7105
7106 2013-04-09 Martin Gieseking <mgieseki@users.sourceforge.net>
7107
7108 * tests/Makefile.am, tests/create-makefile:
7109 updated tests/Makefile.am to honor system potracelib if present
7110
7111 * configure.ac, src/Doxyfile:
7112 set version to 1.2.1
7113
7114 * NEWS:
7115 updated NEWS
7116
7117 2013-04-08 Martin Gieseking <mgieseki@users.sourceforge.net>
7118
7119 * doc/dvisvgm.txt.in, src/Color.cpp, src/Color.h, src/DVIToSVGActions.cpp:
7120 allow the background color special to insert white rectancles
7121
7122 * src/PageRanges.h:
7123 dropped unused variable PageRanges::_max
7124
7125 2013-04-04 Martin Gieseking <mgieseki@users.sourceforge.net>
7126
7127 * src/XMLNode.cpp, src/XMLNode.h:
7128 unhide derived method XMLDeclarationNode::append
7129
7130 2013-03-10 Martin Gieseking <mgieseki@users.sourceforge.net>
7131
7132 * Makefile.am, configure.ac:
7133 don't build bundled potracelib if system library is used (patch by
7134 Alexis Ballier)
7135
7136 2013-03-03 Martin Gieseking <mgieseki@users.sourceforge.net>
7137
7138 * potracelib/auxiliary.h, potracelib/bitmap.h, potracelib/curve.c,
7139 potracelib/curve.h, potracelib/decompose.c, potracelib/decompose.h,
7140 potracelib/lists.h, potracelib/potracelib.c, potracelib/potracelib.h,
7141 potracelib/progress.h, potracelib/trace.c, potracelib/trace.h:
7142 updated bundled potrace library to version 1.11
7143
7144 2013-03-02 Martin Gieseking <martin.gieseking@uos.de>
7145
7146 * potracelib/auxiliary.h, potracelib/bitmap.h, potracelib/curve.c,
7147 potracelib/decompose.h, potracelib/lists.h, potracelib/progress.h,
7148 potracelib/trace.c, potracelib/trace.h, src/EPSFile.cpp,
7149 src/EPSToSVG.cpp, src/EPSToSVG.h, src/PSPattern.cpp, src/PSPattern.h,
7150 src/SVGOutputBase.h:
7151 converted DOS line endings
7152
7153 2013-02-28 Martin Gieseking <martin.gieseking@uos.de>
7154
7155 * src/Makefile.am, src/PSInterpreter.cpp, src/PSInterpreter.h,
7156 src/PSPattern.cpp, src/PSPattern.h, src/PsSpecialHandler.cpp,
7157 src/PsSpecialHandler.h, src/psdefs.psc, tests/PSInterpreterTest.cpp:
7158 PS handler: added support of tiling patterns
7159
7160 * src/Makefile.am, src/PSInterpreter.cpp, src/psdefs.cpp, src/psdefs.psc:
7161 make psdefs a separate compilation unit
7162
7163 * tests/MapLineTest.cpp:
7164 prevent MapLineTest from failing if file UGBK.sfd is not available
7165
7166 * src/psdefs.cpp:
7167 improved processing of PS operator 'show'
7168
7169 * configure.ac, src/Doxyfile:
7170 set version to 1.2
7171
7172 * NEWS:
7173 updated NEWS
7174
7175 2013-02-21 Martin Gieseking <mgieseki@users.sourceforge.net>
7176
7177 * src/XMLNode.cpp, src/XMLNode.h:
7178 added virtual constructor XMLNode::clone()
7179
7180 * src/XMLNode.cpp, src/XMLNode.h:
7181 added methods to lookup attribute values and selected descendant XML
7182 nodes
7183
7184 2013-02-19 Martin Gieseking <mgieseki@users.sourceforge.net>
7185
7186 * src/PSInterpreter.cpp, src/PSInterpreter.h:
7187 added PSInterpreter::limit() to limit the number of bytes to be
7188 processed
7189
7190 * doc/dvisvgm.txt.in, src/CommandLine.cpp, src/CommandLine.h,
7191 src/DVIToSVG.cpp, src/DVIToSVG.h, src/EPSFile.cpp, src/EPSFile.h,
7192 src/EPSToSVG.cpp, src/EPSToSVG.h, src/Makefile.am,
7193 src/PsSpecialHandler.cpp, src/SVGOutputBase.h, src/dvisvgm.cpp,
7194 src/options.xml:
7195 add option to directly convert EPS files to SVG
7196
7197 * src/FilePath.cpp:
7198 adapt path separators on Windows systems to get the correct output path
7199
7200 2013-02-11 Martin Gieseking <martin.gieseking@uos.de>
7201
7202 * src/CmdLineParserBase.cpp, src/CmdLineParserBase.h, src/CommandLine.cpp,
7203 src/CommandLine.h:
7204 applied a few refactorings to the command-line parser
7205
7206 2013-02-07 Martin Gieseking <martin.gieseking@uos.de>
7207
7208 * doc/dvisvgm.txt.in, src/CmdLineParserBase.cpp, src/CmdLineParserBase.h,
7209 src/CommandLine.cpp, src/CommandLine.h, src/dvisvgm.cpp, src/options.xml:
7210 added optional parameter to option --help to specify output format
7211
7212 2013-02-06 Martin Gieseking <mgieseki@users.sourceforge.net>
7213
7214 * doc/dvisvgm.txt.in, src/BoundingBox.cpp, src/CommandLine.cpp,
7215 src/CommandLine.h, src/EmSpecialHandler.cpp, src/GraphicPath.h,
7216 src/Matrix.cpp, src/PsSpecialHandler.cpp, src/TpicSpecialHandler.cpp,
7217 src/XMLString.cpp, src/XMLString.h, src/dvisvgm.cpp, src/options.xml:
7218 added option --precision to set the number of decimal places applied to
7219 attribute values
7220
7221 2013-01-30 Martin Gieseking <mgieseki@users.sourceforge.net>
7222
7223 * src/CommandLine.cpp:
7224 fixed alignment of --help text
7225
7226 2013-01-22 Martin Gieseking <martin.gieseking@uos.de>
7227
7228 * src/FileFinder.cpp, src/FontEngine.cpp, src/Makefile.am,
7229 src/MiKTeXCom.cpp, src/MiKTeXCom.h:
7230 moved MiKTeX COM code to separate class
7231
7232 2013-01-21 Martin Gieseking <martin.gieseking@uos.de>
7233
7234 * src/DVIReader.cpp, src/DVIToSVG.cpp, src/FileFinder.cpp, src/Font.cpp,
7235 src/Font.h, src/FontEncoding.cpp, src/FontEngine.cpp, src/FontEngine.h,
7236 src/FontManager.cpp, src/FontMap.cpp, src/FontMap.h, src/Makefile.am,
7237 src/MapLine.cpp, src/MapLine.h, src/Subfont.cpp, src/Subfont.h,
7238 tests/FontMapTest.cpp, tests/Makefile.am, tests/MapLineTest.cpp,
7239 tests/SubfontTest.cpp, tests/create-makefile, tests/sample.sfd:
7240 added support for subfont definitions and multi-font (.ttc) files
7241
7242 * src/FontManager.cpp, src/FontMap.cpp, src/FontMap.h, src/MapLine.h:
7243 replaced FontMap entries by pointers; initialize entries with MapLine
7244 objects
7245
7246 * src/CommandLine.cpp, src/Font.cpp, src/Font.h, src/FontEngine.cpp,
7247 src/FontEngine.h, src/FontManager.cpp, src/FontMap.cpp, src/FontMap.h,
7248 src/MapLine.cpp, src/MapLine.h, tests/MapLineTest.cpp:
7249 implemented evaluation of font style options given in a mapline
7250
7251 * configure.ac, src/Doxyfile:
7252 set version to 1.1
7253
7254 * NEWS, README:
7255 updated NEWS and README
7256
7257 2013-01-20 Martin Gieseking <mgieseki@users.sourceforge.net>
7258
7259 * src/FontEngine.cpp, src/FontEngine.h:
7260 removed unneeded code related to font sizes from class FontEngine
7261
7262 2013-01-16 Martin Gieseking <mgieseki@users.sourceforge.net>
7263
7264 * doc/dvisvgm.txt.in, src/CommandLine.cpp, src/CommandLine.h,
7265 src/FontMap.cpp, src/FontMap.h, src/dvisvgm.cpp, src/options.xml:
7266 renamed option --map-file to --fontmap; allow multiple mapfiles and
7267 modes
7268
7269 * doc/dvisvgm.txt.in, src/DVIToSVG.cpp, src/FontMap.cpp, src/FontMap.h,
7270 src/Makefile.am, src/PdfSpecialHandler.cpp, src/PdfSpecialHandler.h:
7271 added PdfSpecialHandler to evaluate pdf:mapline and pdf:mapfile specials
7272
7273 2013-01-10 Martin Gieseking <mgieseki@users.sourceforge.net>
7274
7275 * src/Font.cpp, src/FontEncoding.cpp:
7276 fixed a string exception that occurred when an encoding file or an entry
7277 in the encoding table is unavailable
7278
7279 2013-01-06 Martin Gieseking <mgieseki@users.sourceforge.net>
7280
7281 * src/FileFinder.cpp, src/FileFinder.h, src/FontEncoding.cpp,
7282 src/FontEncoding.h:
7283 removed font encoding methods from FileFinder
7284
7285 2013-01-02 Martin Gieseking <martin.gieseking@uos.de>
7286
7287 * Makefile.am, README, configure.ac, doc/Makefile.am, doc/dvisvgm.txt.in,
7288 src/BgColorSpecialHandler.cpp, src/BgColorSpecialHandler.h,
7289 src/Bitmap.cpp, src/Bitmap.h, src/BoundingBox.cpp, src/BoundingBox.h,
7290 src/CRC32.cpp, src/CRC32.h, src/Calculator.cpp, src/Calculator.h,
7291 src/CmdLineParserBase.cpp, src/CmdLineParserBase.h, src/Color.cpp,
7292 src/Color.h, src/ColorSpecialHandler.cpp, src/ColorSpecialHandler.h,
7293 src/CommandLine.cpp, src/CommandLine.h, src/DLLoader.cpp, src/DLLoader.h,
7294 src/DVIActions.cpp, src/DVIActions.h, src/DVIReader.cpp, src/DVIReader.h,
7295 src/DVIToSVG.cpp, src/DVIToSVG.h, src/DVIToSVGActions.cpp,
7296 src/DVIToSVGActions.h, src/Directory.cpp, src/Directory.h,
7297 src/DvisvgmSpecialHandler.cpp, src/DvisvgmSpecialHandler.h,
7298 src/EmSpecialHandler.cpp, src/EmSpecialHandler.h, src/FileFinder.cpp,
7299 src/FileFinder.h, src/FilePath.cpp, src/FilePath.h, src/FileSystem.cpp,
7300 src/FileSystem.h, src/Font.cpp, src/Font.h, src/FontCache.cpp,
7301 src/FontCache.h, src/FontEncoding.cpp, src/FontEncoding.h,
7302 src/FontEngine.cpp, src/FontEngine.h, src/FontManager.cpp,
7303 src/FontManager.h, src/FontMap.cpp, src/FontMap.h, src/GFGlyphTracer.cpp,
7304 src/GFGlyphTracer.h, src/GFReader.cpp, src/GFReader.h, src/GFTracer.cpp,
7305 src/GFTracer.h, src/Ghostscript.cpp, src/Ghostscript.h, src/Glyph.h,
7306 src/GlyphTracerMessages.h, src/GraphicPath.h, src/InputBuffer.cpp,
7307 src/InputBuffer.h, src/InputReader.cpp, src/InputReader.h,
7308 src/Length.cpp, src/Length.h, src/Makefile.am, src/Matrix.cpp,
7309 src/Matrix.h, src/Message.cpp, src/Message.h, src/MessageException.h,
7310 src/MetafontWrapper.cpp, src/MetafontWrapper.h, src/MiKTeXCom.cpp,
7311 src/MiKTeXCom.h, src/PSInterpreter.cpp, src/PSInterpreter.h,
7312 src/PageRanges.cpp, src/PageRanges.h, src/PageSize.cpp, src/PageSize.h,
7313 src/Pair.h, src/Process.cpp, src/Process.h, src/PsSpecialHandler.cpp,
7314 src/PsSpecialHandler.h, src/SVGTree.cpp, src/SVGTree.h,
7315 src/SignalHandler.cpp, src/SignalHandler.h, src/SpecialActions.h,
7316 src/SpecialHandler.h, src/SpecialManager.cpp, src/SpecialManager.h,
7317 src/StreamReader.cpp, src/StreamReader.h, src/StreamWriter.cpp,
7318 src/StreamWriter.h, src/System.cpp, src/System.h, src/TFM.cpp, src/TFM.h,
7319 src/Terminal.cpp, src/Terminal.h, src/TpicSpecialHandler.cpp,
7320 src/TpicSpecialHandler.h, src/VFActions.h, src/VFReader.cpp,
7321 src/VFReader.h, src/VectorStream.h, src/XMLDocTypeNode.h,
7322 src/XMLDocument.cpp, src/XMLDocument.h, src/XMLNode.cpp, src/XMLNode.h,
7323 src/XMLString.cpp, src/XMLString.h, src/dvisvgm.cpp, src/macros.h,
7324 src/options.dtd, src/options.xml, src/psdefs.psc, src/types.h,
7325 tests/BoundingBoxTest.cpp, tests/CRC32Test.cpp, tests/CalculatorTest.cpp,
7326 tests/ColorSpecialTest.cpp, tests/CommandLineTest.cpp,
7327 tests/DirectoryTest.cpp, tests/FileFinderTest.cpp,
7328 tests/FilePathTest.cpp, tests/FileSystemTest.cpp,
7329 tests/FontManagerTest.cpp, tests/FontMapTest.cpp, tests/GFReaderTest.cpp,
7330 tests/GraphicPathTest.cpp, tests/LengthTest.cpp, tests/Makefile.am,
7331 tests/MatrixTest.cpp, tests/MessageExceptionTest.cpp,
7332 tests/PSInterpreterTest.cpp, tests/PageRagesTest.cpp,
7333 tests/PageSizeTest.cpp, tests/PairTest.cpp,
7334 tests/SplittedCharInputBufferTest.cpp, tests/StreamInputBufferTest.cpp,
7335 tests/StreamReaderTest.cpp, tests/StreamWriterTest.cpp,
7336 tests/TypesTest.cpp, tests/VectorStreamTest.cpp, tests/create-makefile:
7337 updated year in copyright statements to 2013
7338
7339 2012-12-23 Martin Gieseking <mgieseki@users.sourceforge.net>
7340
7341 * src/FontCache.cpp, src/PsSpecialHandler.cpp, src/TpicSpecialHandler.cpp:
7342 check emptiness of containers with empty() instead of size()
7343
7344 * src/FileFinder.cpp, src/MiKTeXCom.cpp, src/Process.cpp:
7345 avoid creating copies of exception objects
7346
7347 * src/CmdLineParserBase.h, src/Directory.cpp, src/GFReader.cpp,
7348 src/PsSpecialHandler.cpp:
7349 initialize uninitialized member variables
7350
7351 * src/FileFinder.cpp, src/Message.cpp, src/dvisvgm.cpp:
7352 reduced scope of some variables
7353
7354 2012-12-12 Martin Gieseking <mgieseki@users.sourceforge.net>
7355
7356 * src/FontCache.cpp:
7357 replaced 'char' with 'glyph' in font cache listing
7358
7359 * src/SpecialManager.cpp:
7360 clear all corresponding containers when calling
7361 SpecialHandler::unregisterHandlers()
7362
7363 2012-12-03 Martin Gieseking <mgieseki@users.sourceforge.net>
7364
7365 * src/Ghostscript.cpp:
7366 added explicit cast to avoid signed/unsigned comparison warning
7367
7368 2012-12-02 Martin Gieseking <mgieseki@users.sourceforge.net>
7369
7370 * src/FilePath.cpp, tests/FilePathTest.cpp:
7371 strip drive letter if it's not set (Windows only)
7372
7373 * tests/FileSystemTest.cpp, tests/GFReaderTest.cpp:
7374 ensure that tests work properly on Windows
7375
7376 * src/macros.h:
7377 removed SHOW() from macros.h
7378
7379 * doc/dvisvgm.txt.in, src/Ghostscript.cpp:
7380 use gsdll64.dll for 64-bit builds; added info about gsdll64.dll to
7381 manpage
7382
7383 2012-11-24 Martin Gieseking <mgieseki@users.sourceforge.net>
7384
7385 * src/Message.cpp:
7386 don't wrap message lines explicitly on Windows
7387 * * *
7388
7389 2012-11-23 Martin Gieseking <mgieseki@users.sourceforge.net>
7390
7391 * src/Ghostscript.cpp, src/Ghostscript.h, src/PSInterpreter.cpp,
7392 src/PSInterpreter.h, src/dvisvgm.cpp:
7393 print an error message if the execution of PS code fails
7394
7395 * src/PSInterpreter.cpp, src/psdefs.psc:
7396 print operand stack in case of a PS error
7397
7398 2012-11-22 Martin Gieseking <mgieseki@users.sourceforge.net>
7399
7400 * src/Message.cpp:
7401 handle wrapping of messages containing newlines correctly
7402
7403 2012-11-21 Martin Gieseking <mgieseki@users.sourceforge.net>
7404
7405 * src/DLLoader.cpp, src/DLLoader.h, src/Ghostscript.cpp:
7406 renamed DLLoader::loadFunction() to DLLoader::loadSymbol()
7407
7408 2012-11-19 Martin Gieseking <mgieseki@users.sourceforge.net>
7409
7410 * src/FontEngine.cpp, src/FontEngine.h:
7411 renamed FontEngine::fname to FontEngine::_fontname
7412
7413 * src/Font.cpp, src/Font.h, src/FontManager.cpp:
7414 print warning if font checksums don't match
7415
7416 2012-11-16 Martin Gieseking <mgieseki@users.sourceforge.net>
7417
7418 * src/Directory.h:
7419 undefine macro max() to avoid compilation problems on Windows
7420
7421 2012-11-15 Martin Gieseking <mgieseki@users.sourceforge.net>
7422
7423 * src/FileFinder.cpp, src/FileFinder.h, src/FontMap.cpp, src/FontMap.h,
7424 tests/FontMapTest.cpp:
7425 made class FontMap a singleton
7426
7427 * src/FileFinder.cpp, src/FileFinder.h, src/dvisvgm.cpp:
7428 moved initialization of FontMap from FileFinder to dvisvgm.cpp
7429
7430 * src/Makefile.am, src/MapLine.cpp, src/MapLine.h, tests/Makefile.am,
7431 tests/MapLineTest.cpp:
7432 added new class MapLine to parse and evaluate a single line of a map
7433 file
7434
7435 * src/FileFinder.cpp, src/FontManager.cpp, src/FontMap.cpp, src/FontMap.h,
7436 tests/FontMapTest.cpp:
7437 adapted code to use new MapLine class; introduced support of map line
7438 modes
7439
7440 2012-11-14 Martin Gieseking <mgieseki@users.sourceforge.net>
7441
7442 * src/FileFinder.cpp:
7443 initialize Ghostscript when compiled for TeX Live Win32 (patch by Peter
7444 Breitenlohner)
7445
7446 * src/FileFinder.cpp, src/FileFinder.h, src/dvisvgm.cpp,
7447 tests/FileFinderTest.cpp, tests/FontManagerTest.cpp:
7448 initialize second parameter of kpse_set_program_name() correctly
7449
7450 * src/DVIToSVG.cpp:
7451 prevent compilation error when using a C++11 compiler (patch by Peter
7452 Breitenlohner)
7453
7454 2012-11-11 Martin Gieseking <mgieseki@users.sourceforge.net>
7455
7456 * src/InputBuffer.cpp, src/InputBuffer.h, src/InputReader.cpp,
7457 src/InputReader.h, src/PsSpecialHandler.cpp,
7458 tests/StreamInputBufferTest.cpp:
7459 some refactorings of class InputReader; added InputReader::find()
7460
7461 2012-10-24 Martin Gieseking <mgieseki@users.sourceforge.net>
7462
7463 * src/DVIToSVG.cpp, src/DVIToSVG.h, src/dvisvgm.cpp:
7464 don't show warning about disabled PS support in list of special handlers
7465
7466 2012-09-27 Martin Gieseking <martin.gieseking@uos.de>
7467
7468 * configure.ac, src/Doxyfile:
7469 set version to 1.0.12
7470
7471 * NEWS:
7472 updated NEWS
7473
7474 * src/options.ggo:
7475 removed deprecated file options.ggo
7476
7477 2012-09-20 Martin Gieseking <mgieseki@users.sourceforge.net>
7478
7479 * src/DVIToSVG.cpp:
7480 show warning if processing of PS specials is disabled
7481
7482 * src/PsSpecialHandler.cpp, src/PsSpecialHandler.h:
7483 removed Ghostscript info from ps entry in list of special handlers
7484
7485 2012-09-19 Martin Gieseking <martin.gieseking@uos.de>
7486
7487 * src/psdefs.psc:
7488 ignore dvips bop operators that might be present in PS specials
7489
7490 2012-09-17 Martin Gieseking <mgieseki@users.sourceforge.net>
7491
7492 * src/StreamReader.cpp:
7493 fixed reading invalid number of string characters
7494
7495 2012-04-17 Martin Gieseking <mgieseki@users.sourceforge.net>
7496
7497 * doc/Makefile.am:
7498 keep manpage when calling 'make clean'
7499
7500 2012-04-04 Martin Gieseking <mgieseki@users.sourceforge.net>
7501
7502 * src/DVIToSVGActions.cpp, src/SVGTree.cpp, src/SVGTree.h,
7503 tests/frktest-nf-cmp.svg, tests/frktest-wf-cmp.svg,
7504 tests/sample-nf-cmp.svg, tests/sample-wf-cmp.svg:
7505 scale point units in the SVG files to big points (bp)
7506
7507 2012-04-02 Martin Gieseking <mgieseki@users.sourceforge.net>
7508
7509 * src/Matrix.cpp, src/Matrix.h, tests/MatrixTest.cpp:
7510 added Matrix::invert() and det()
7511
7512 2012-03-29 Martin Gieseking <mgieseki@users.sourceforge.net>
7513
7514 * src/Matrix.cpp, src/Matrix.h, tests/MatrixTest.cpp:
7515 added start index parameter to Matrix::set(vector<>)
7516
7517 2012-03-21 Martin Gieseking <martin.gieseking@uos.de>
7518
7519 * src/psdefs.psc:
7520 evaluate PS operators rectclip, rectfill, and rectstroke
7521
7522 2012-03-09 Martin Gieseking <mgieseki@users.sourceforge.net>
7523
7524 * src/Ghostscript.cpp, src/Ghostscript.h:
7525 added optional parameter to Ghostscript::revision() to retrieve the
7526 revision number only
7527
7528 * src/dvisvgm.cpp:
7529 added Ghostscript to library list printed by --version=yes
7530
7531 * NEWS:
7532 updated NEWS
7533
7534 2012-03-08 Martin Gieseking <martin.gieseking@uos.de>
7535
7536 * configure.ac, src/Doxyfile:
7537 set version to 1.0.11
7538
7539 2012-03-07 Martin Gieseking <mgieseki@users.sourceforge.net>
7540
7541 * src/DVIToSVGActions.cpp:
7542 correct location of a rule's bounding box (lp bug #948713)
7543
7544 2012-02-24 Martin Gieseking <mgieseki@users.sourceforge.net>
7545
7546 * doc/dvisvgm.txt.in:
7547 fixed a couple of mistakes and formatting flaws in the manpage
7548
7549 2012-02-17 Martin Gieseking <mgieseki@users.sourceforge.net>
7550
7551 * README:
7552 updated information about bug reporting
7553
7554 2012-01-26 Martin Gieseking <mgieseki@users.sourceforge.net>
7555
7556 * src/CmdLineParserBase.h, src/DVIActions.h, src/DVIReader.h,
7557 src/DVIToSVGActions.h, src/FontEngine.h, src/FontManager.h,
7558 src/MetafontWrapper.h, src/SVGTree.h, src/SpecialActions.h,
7559 src/SpecialHandler.h, src/SpecialManager.h, src/TFM.h, src/VFReader.h:
7560 adapt forward declarations of classes and structs to their corresponding
7561 definition (SF bug #3480013)
7562
7563 2012-01-16 Martin Gieseking <martin.gieseking@uos.de>
7564
7565 * src/miktex-core.def, src/miktex-kps.def, src/miktex-kps.h:
7566 removed outdated files for old MiKTeX bindings
7567
7568 2012-01-09 Martin Gieseking <mgieseki@users.sourceforge.net>
7569
7570 * src/InputReader.cpp, tests/StreamInputBufferTest.cpp:
7571 fixed parsing of negative floating point numbers starting with '-0.' (SF
7572 bug #3471097)
7573
7574 * src/TpicSpecialHandler.cpp:
7575 added some more comments to methods of class TpicSpecialHandler
7576
7577 2012-01-06 Martin Gieseking <martin.gieseking@uos.de>
7578
7579 * Makefile.am, README, configure.ac, doc/Makefile.am, doc/dvisvgm.txt.in,
7580 src/BgColorSpecialHandler.cpp, src/BgColorSpecialHandler.h,
7581 src/Bitmap.cpp, src/Bitmap.h, src/BoundingBox.cpp, src/BoundingBox.h,
7582 src/CRC32.cpp, src/CRC32.h, src/Calculator.cpp, src/Calculator.h,
7583 src/CmdLineParserBase.cpp, src/CmdLineParserBase.h, src/Color.cpp,
7584 src/Color.h, src/ColorSpecialHandler.cpp, src/ColorSpecialHandler.h,
7585 src/CommandLine.cpp, src/CommandLine.h, src/DLLoader.cpp, src/DLLoader.h,
7586 src/DVIActions.cpp, src/DVIActions.h, src/DVIReader.cpp, src/DVIReader.h,
7587 src/DVIToSVG.cpp, src/DVIToSVG.h, src/DVIToSVGActions.cpp,
7588 src/DVIToSVGActions.h, src/Directory.cpp, src/Directory.h,
7589 src/DvisvgmSpecialHandler.cpp, src/DvisvgmSpecialHandler.h,
7590 src/EmSpecialHandler.cpp, src/EmSpecialHandler.h, src/FileFinder.cpp,
7591 src/FileFinder.h, src/FilePath.cpp, src/FilePath.h, src/FileSystem.cpp,
7592 src/FileSystem.h, src/Font.cpp, src/Font.h, src/FontCache.cpp,
7593 src/FontCache.h, src/FontEncoding.cpp, src/FontEncoding.h,
7594 src/FontEngine.cpp, src/FontEngine.h, src/FontManager.cpp,
7595 src/FontManager.h, src/FontMap.cpp, src/FontMap.h, src/GFGlyphTracer.cpp,
7596 src/GFGlyphTracer.h, src/GFReader.cpp, src/GFReader.h, src/GFTracer.cpp,
7597 src/GFTracer.h, src/Ghostscript.cpp, src/Ghostscript.h, src/Glyph.h,
7598 src/GlyphTracerMessages.h, src/GraphicPath.h, src/InputBuffer.cpp,
7599 src/InputBuffer.h, src/InputReader.cpp, src/InputReader.h,
7600 src/Length.cpp, src/Length.h, src/Makefile.am, src/Matrix.cpp,
7601 src/Matrix.h, src/Message.cpp, src/Message.h, src/MessageException.h,
7602 src/MetafontWrapper.cpp, src/MetafontWrapper.h, src/PSInterpreter.cpp,
7603 src/PSInterpreter.h, src/PageRanges.cpp, src/PageRanges.h,
7604 src/PageSize.cpp, src/PageSize.h, src/Pair.h, src/Process.cpp,
7605 src/Process.h, src/PsSpecialHandler.cpp, src/PsSpecialHandler.h,
7606 src/SVGTree.cpp, src/SVGTree.h, src/SignalHandler.cpp,
7607 src/SignalHandler.h, src/SpecialActions.h, src/SpecialHandler.h,
7608 src/SpecialManager.cpp, src/SpecialManager.h, src/StreamReader.cpp,
7609 src/StreamReader.h, src/StreamWriter.cpp, src/StreamWriter.h,
7610 src/System.cpp, src/System.h, src/TFM.cpp, src/TFM.h, src/Terminal.cpp,
7611 src/Terminal.h, src/TpicSpecialHandler.cpp, src/TpicSpecialHandler.h,
7612 src/VFActions.h, src/VFReader.cpp, src/VFReader.h, src/VectorStream.h,
7613 src/XMLDocTypeNode.h, src/XMLDocument.cpp, src/XMLDocument.h,
7614 src/XMLNode.cpp, src/XMLNode.h, src/XMLString.cpp, src/XMLString.h,
7615 src/dvisvgm.cpp, src/macros.h, src/options.dtd, src/options.xml,
7616 src/psdefs.psc, src/types.h, tests/BoundingBoxTest.cpp,
7617 tests/CRC32Test.cpp, tests/CalculatorTest.cpp,
7618 tests/ColorSpecialTest.cpp, tests/CommandLineTest.cpp,
7619 tests/DirectoryTest.cpp, tests/FileFinderTest.cpp,
7620 tests/FilePathTest.cpp, tests/FileSystemTest.cpp,
7621 tests/FontManagerTest.cpp, tests/FontMapTest.cpp, tests/GFReaderTest.cpp,
7622 tests/GraphicPathTest.cpp, tests/LengthTest.cpp, tests/Makefile.am,
7623 tests/MatrixTest.cpp, tests/MessageExceptionTest.cpp,
7624 tests/PSInterpreterTest.cpp, tests/PageRagesTest.cpp,
7625 tests/PageSizeTest.cpp, tests/PairTest.cpp,
7626 tests/SplittedCharInputBufferTest.cpp, tests/StreamInputBufferTest.cpp,
7627 tests/StreamReaderTest.cpp, tests/StreamWriterTest.cpp,
7628 tests/TypesTest.cpp, tests/VectorStreamTest.cpp, tests/check-conv,
7629 tests/create-makefile:
7630 updated year in copyright statements
7631
7632 2011-12-18 Martin Gieseking <mgieseki@users.sourceforge.net>
7633
7634 * tests/Makefile.am, tests/create-makefile:
7635 link tests with -lpthread (required by gtest on Ubuntu)
7636
7637 * configure.ac, src/Doxyfile:
7638 set version to 1.0.10
7639
7640 * NEWS:
7641 updated NEWS
7642
7643 2011-12-17 Martin Gieseking <mgieseki@users.sourceforge.net>
7644
7645 * src/DVIToSVG.cpp, src/DVIToSVGActions.cpp, src/GlyphTracerMessages.h,
7646 src/Message.cpp, src/Message.h, src/MetafontWrapper.cpp,
7647 src/Terminal.cpp, src/Terminal.h, src/dvisvgm.cpp:
7648 allow users to customize the message colors
7649
7650 * doc/dvisvgm.txt.in:
7651 added documentation on environment variable DVISVGM_COLORS to manpage
7652
7653 2011-11-22 Martin Gieseking <mgieseki@users.sourceforge.net>
7654
7655 * src/GraphicPath.h:
7656 added some more comments to the methods of GraphicPath
7657
7658 2011-11-18 Martin Gieseking <mgieseki@users.sourceforge.net>
7659
7660 * configure.ac:
7661 move linker flag -lfreetype from LDFLAGS to LIBS to avoid linking
7662 problems
7663
7664 2011-10-28 Martin Gieseking <mgieseki@users.sourceforge.net>
7665
7666 * src/FontMap.cpp:
7667 removed unused variable eval_prefix in helper function read_entry()
7668
7669 * src/SVGTree.cpp:
7670 avoid possible collisions of glyph IDs
7671
7672 2011-10-13 Martin Gieseking <martin.gieseking@uos.de>
7673
7674 * configure.ac, src/Doxyfile:
7675 set version to 1.0.9
7676
7677 * NEWS:
7678 updated NEWS
7679
7680 2011-10-09 Martin Gieseking <mgieseki@users.sourceforge.net>
7681
7682 * src/FilePath.cpp:
7683 added some missing comments to methods of class FilePath
7684
7685 * src/Directory.h:
7686 dropped method Directory::getEntry()
7687
7688 2011-10-07 Martin Gieseking <mgieseki@users.sourceforge.net>
7689
7690 * src/Process.cpp:
7691 added missing include <signal.h> to Process.cpp
7692
7693 * src/Process.cpp:
7694 exclude definition of split_paramstr() from Windows builds as it's not
7695 used there
7696
7697 2011-10-03 Martin Gieseking <mgieseki@users.sourceforge.net>
7698
7699 * doc/Makefile.am:
7700 add metadata/pdfmarks to pdf version of manpage
7701
7702 2011-09-06 Martin Gieseking <mgieseki@users.sourceforge.net>
7703
7704 * potracelib/auxiliary.h, potracelib/bitmap.h, potracelib/curve.c,
7705 potracelib/curve.h, potracelib/decompose.c, potracelib/decompose.h,
7706 potracelib/lists.h, potracelib/potracelib.c, potracelib/potracelib.h,
7707 potracelib/progress.h, potracelib/trace.c, potracelib/trace.h:
7708 updated bundled potrace library to version 1.10
7709
7710 2011-06-04 Martin Gieseking <martin.gieseking@uos.de>
7711
7712 * configure.ac, src/Doxyfile:
7713 set version to 1.0.9dev
7714
7715 * src/FileFinder.cpp, src/MetafontWrapper.cpp:
7716 fixed segfault occured in TeX Live Win32 caused by mf.exe being
7717 unavailable (SF bug #3308473)
7718
7719 2011-06-01 Martin Gieseking <mgieseki@users.sourceforge.net>
7720
7721 * configure.ac:
7722 added AC_LANG_SOURCE to avoid autoconf warnings
7723
7724 2011-05-31 Martin Gieseking <martin.gieseking@uos.de>
7725
7726 * NEWS, configure.ac, src/Doxyfile:
7727 set version to 1.0.8; updated NEWS
7728
7729 * src/PsSpecialHandler.cpp:
7730 explicitly cast double to int in call of ClippingStack::dup()/pop()
7731
7732 2011-05-27 Martin Gieseking <mgieseki@users.sourceforge.net>
7733
7734 * tests/check-conv, tests/sample-nf-cmp.svg, tests/sample-wf-cmp.svg:
7735 updated conversion tests
7736
7737 2011-05-23 Martin Gieseking <martin.gieseking@uos.de>
7738
7739 * src/Font.cpp, src/Makefile.am, src/MetafontWrapper.cpp,
7740 src/MetafontWrapper.h, src/Process.cpp, src/Process.h,
7741 src/SignalHandler.cpp:
7742 replaced call of system() with Process::run() and kill child process if
7743 necessary
7744
7745 2011-05-22 Martin Gieseking <mgieseki@users.sourceforge.net>
7746
7747 * src/FileFinder.cpp:
7748 MiKTeX: maketfm and makemf have been renamed to miktex-maketfm and
7749 miktex-makemf
7750
7751 * src/MetafontWrapper.cpp:
7752 dropped '--halt-on-error' in Metafont call to process buggy mf files
7753 completely
7754
7755 2011-05-19 Martin Gieseking <mgieseki@users.sourceforge.net>
7756
7757 * src/DLLoader.h:
7758 added #undef NOMINMAX before (re)defining it
7759
7760 2011-05-12 Martin Gieseking <martin.gieseking@uos.de>
7761
7762 * src/PSInterpreter.cpp, src/PSInterpreter.h, src/PsSpecialHandler.cpp,
7763 src/PsSpecialHandler.h, src/psdefs.psc, tests/PSInterpreterTest.cpp:
7764 PS handler: implemented evaluation of save, restore, and grestoreall
7765
7766 2011-05-07 Martin Gieseking <martin.gieseking@uos.de>
7767
7768 * configure.ac, src/Doxyfile:
7769 set version to 1.0.8dev
7770
7771 * src/DVIReader.cpp, src/DVIReader.h, src/DVIToSVGActions.h,
7772 src/PsSpecialHandler.cpp, src/PsSpecialHandler.h, src/SpecialActions.h:
7773 fixed interaction between PS and DVI drawing position
7774
7775 * src/PsSpecialHandler.cpp:
7776 add definitions in literal PS headers to dictionary TeXDict
7777
7778 * src/PsSpecialHandler.cpp:
7779 fixed potential segfault caused by invisible zero-length paths
7780
7781 2011-05-06 Martin Gieseking <martin.gieseking@uos.de>
7782
7783 * src/DVIToSVGActions.h, src/PsSpecialHandler.cpp, src/PsSpecialHandler.h,
7784 src/psdefs.psc:
7785 PS handler: added missing unit conversions (pt vs. bp)
7786
7787 * NEWS, README, configure.ac, src/Doxyfile:
7788 set version to 1.0.7; updated NEWS and README
7789
7790 2011-05-05 Martin Gieseking <mgieseki@users.sourceforge.net>
7791
7792 * src/PSInterpreter.cpp, src/PsSpecialHandler.cpp:
7793 separate PS snippets by newline characters to leave preceding comments
7794
7795 * src/PsSpecialHandler.h:
7796 corrected scaling formula applied to PS line properties
7797
7798 * doc/dvisvgm.txt.in:
7799 added info about dvips rounding issues to manpage
7800
7801 2011-05-04 Martin Gieseking <mgieseki@users.sourceforge.net>
7802
7803 * src/PsSpecialHandler.cpp:
7804 don't call Ghostscript::revision() in initialization of static variable
7805
7806 * src/Ghostscript.cpp, src/Ghostscript.h, src/PSInterpreter.cpp,
7807 src/PSInterpreter.h:
7808 avoid 'this' pointer in initialazation list of
7809 PSInterpreter::PSInterpreter()
7810
7811 * src/Length.h:
7812 undefine macro IN
7813
7814 2011-05-03 Martin Gieseking <mgieseki@users.sourceforge.net>
7815
7816 * configure.ac, src/Doxyfile:
7817 set version to 1.0.7dev
7818
7819 * src/psdefs.psc:
7820 catch PS error /nocurrentpoint in operator 'setpos' properly
7821
7822 * src/psdefs.psc:
7823 PS handler: recognize save/restore operators
7824
7825 * src/DVIReader.cpp, src/DVIReader.h, src/DVIToSVGActions.cpp,
7826 src/DVIToSVGActions.h, src/EmSpecialHandler.cpp, src/EmSpecialHandler.h,
7827 src/PSInterpreter.h, src/PsSpecialHandler.cpp, src/PsSpecialHandler.h,
7828 src/SpecialActions.h, src/SpecialHandler.h, src/SpecialManager.cpp,
7829 src/SpecialManager.h, src/TpicSpecialHandler.cpp,
7830 src/TpicSpecialHandler.h:
7831 replaced methods for DVI position alterations with translation semantics
7832
7833 * src/PSInterpreter.cpp, src/PSInterpreter.h, src/PsSpecialHandler.cpp,
7834 src/PsSpecialHandler.h, src/macros.h, src/psdefs.psc,
7835 tests/PSInterpreterTest.cpp:
7836 improved handling of pure PostScript specials
7837
7838 * src/TpicSpecialHandler.cpp, src/TpicSpecialHandler.h:
7839 tpic special 'ip' must not draw the outline of the polygon but only fill
7840 its interior
7841
7842 * src/DLLoader.cpp, src/DLLoader.h:
7843 don't define min/max macros in windows.h
7844
7845 2011-04-30 Martin Gieseking <mgieseki@users.sourceforge.net>
7846
7847 * src/SpecialManager.cpp:
7848 register special prefix ps:: properly
7849
7850 2011-04-18 Martin Gieseking <mgieseki@users.sourceforge.net>
7851
7852 * src/FileFinder.cpp, src/FileFinder.h, src/dvisvgm.cpp,
7853 tests/FileFinderTest.cpp:
7854 dropped class FileFinder::Impl and simplified FileFinder interface
7855
7856 * src/DVIReader.cpp, src/Font.cpp, src/GFReader.cpp, src/Makefile.am,
7857 src/MetafontWrapper.cpp, src/PSInterpreter.cpp, src/SignalHandler.cpp,
7858 src/SignalHandler.h, src/TFM.cpp, src/dvisvgm.cpp:
7859 added class SignalHandler for CTRL-C signals
7860
7861 * NEWS, README, configure.ac, src/Doxyfile:
7862 set version to 1.0.6; updated NEWS and README
7863
7864 2011-04-14 Martin Gieseking <mgieseki@users.sourceforge.net>
7865
7866 * src/DVIToSVGActions.cpp, src/MessageException.h, src/dvisvgm.cpp,
7867 tests/Makefile.am, tests/MessageExceptionTest.cpp:
7868 derived MessageException from std::exception and replaced getMessage()
7869 with what()
7870
7871 2011-04-13 Martin Gieseking <mgieseki@users.sourceforge.net>
7872
7873 * src/XMLNode.cpp, src/XMLNode.h:
7874 prepended member variables of the XMLNode classes with underscore
7875
7876 2011-03-15 Martin Gieseking <mgieseki@users.sourceforge.net>
7877
7878 * src/DVIReader.cpp:
7879 throw DVI exception if set_char/put_char is executed without preceding
7880 font selection
7881
7882 2011-03-04 Martin Gieseking <mgieseki@users.sourceforge.net>
7883
7884 * configure.ac, src/Doxyfile:
7885 set version to 1.0.6dev
7886
7887 * potracelib/potracelib.c, potracelib/potracelib.h:
7888 changed return type of potrace_version() to 'const char *' in order to
7889 avoid compiler warning
7890
7891 2011-03-01 Martin Gieseking <mgieseki@users.sourceforge.net>
7892
7893 * NEWS, configure.ac, src/Doxyfile:
7894 set version to 1.0.5, updated NEWS
7895
7896 2011-02-28 Martin Gieseking <mgieseki@users.sourceforge.net>
7897
7898 * doc/dvisvgm.txt.in, src/FontCache.cpp, src/FontCache.h, src/dvisvgm.cpp:
7899 added code to remove outdated and corrupted cache files
7900
7901 * src/Ghostscript.cpp:
7902 fixed formatting of GS version number
7903
7904 2011-02-21 Martin Gieseking <mgieseki@users.sourceforge.net>
7905
7906 * configure.ac, src/Doxyfile:
7907 set version to 1.0.5dev
7908
7909 * doc/dvisvgm.txt.in, src/CommandLine.cpp, src/CommandLine.h,
7910 src/GraphicPath.h, src/SVGTree.cpp, src/SVGTree.h, src/dvisvgm.cpp,
7911 src/options.xml, tests/CommandLineTest.cpp:
7912 added option to replace use elements with paths
7913
7914 * src/SVGTree.cpp:
7915 added missing unit in height/width attribute of svg root element
7916
7917 * tests/frktest-nf-cmp.svg, tests/frktest-wf-cmp.svg,
7918 tests/sample-nf-cmp.svg, tests/sample-wf-cmp.svg:
7919 updated conversion test files
7920
7921 2011-02-16 Martin Gieseking <mgieseki@users.sourceforge.net>
7922
7923 * src/InputBuffer.h:
7924 reference to scanned string in StringInputBuffer is constant now
7925
7926 2011-02-10 Martin Gieseking <mgieseki@users.sourceforge.net>
7927
7928 * src/FileSystem.cpp, src/FileSystem.h, src/dvisvgm.cpp,
7929 tests/FileSystemTest.cpp:
7930 merged FileSystem::move() into FileSystem::copy()
7931
7932 * src/CRC32.cpp, src/CRC32.h, src/Makefile.am, tests/CRC32Test.cpp,
7933 tests/Makefile.am:
7934 added class CRC32 and corresponding tests
7935
7936 * src/StreamReader.cpp, src/StreamReader.h, src/StreamWriter.cpp,
7937 src/StreamWriter.h, tests/Makefile.am, tests/StreamReaderTest.cpp,
7938 tests/StreamWriterTest.cpp:
7939 added CRC32 computation methods to StreamReader and StreamWriter
7940
7941 * src/FontCache.cpp, src/FontCache.h:
7942 added CRC32 checks to cache files
7943
7944 2011-01-31 Martin Gieseking <mgieseki@users.sourceforge.net>
7945
7946 * src/CmdLineParserBase.cpp:
7947 print character instead of ascii value in message of command-line parser
7948
7949 2011-01-30 Martin Gieseking <mgieseki@users.sourceforge.net>
7950
7951 * doc/dvisvgm.txt.in, src/CommandLine.cpp, src/CommandLine.h,
7952 src/FileFinder.cpp, src/FileFinder.h, src/FontEngine.cpp,
7953 src/FontEngine.h, src/dvisvgm.cpp, src/options.xml:
7954 added optional argument to --version
7955
7956 2011-01-28 Martin Gieseking <mgieseki@users.sourceforge.net>
7957
7958 * potracelib/auxiliary.h, potracelib/bitmap.h, potracelib/curve.c,
7959 potracelib/curve.h, potracelib/decompose.c, potracelib/decompose.h,
7960 potracelib/lists.h, potracelib/potracelib.c, potracelib/potracelib.h,
7961 potracelib/progress.h, potracelib/trace.c, potracelib/trace.h:
7962 updated bundled potrace library to version 1.9
7963
7964 2011-01-17 Martin Gieseking <mgieseki@users.sourceforge.net>
7965
7966 * src/FileSystem.cpp, src/FileSystem.h, tests/FileSystemTest.cpp,
7967 tests/Makefile.am:
7968 added FileSystem::copy and FileSystem::move; added FileSystemTest
7969
7970 * doc/dvisvgm.txt.in, src/dvisvgm.cpp:
7971 moved cache files to subfolder ($HOME/.dvisvgm/cache)
7972
7973 2011-01-04 Martin Gieseking <mgieseki@users.sourceforge.net>
7974
7975 * Makefile.am, README, configure.ac, doc/Makefile.am, doc/dvisvgm.txt.in,
7976 src/BgColorSpecialHandler.cpp, src/BgColorSpecialHandler.h,
7977 src/Bitmap.cpp, src/Bitmap.h, src/BoundingBox.cpp, src/BoundingBox.h,
7978 src/Calculator.cpp, src/Calculator.h, src/CmdLineParserBase.cpp,
7979 src/CmdLineParserBase.h, src/Color.cpp, src/Color.h,
7980 src/ColorSpecialHandler.cpp, src/ColorSpecialHandler.h,
7981 src/CommandLine.cpp, src/CommandLine.h, src/DLLoader.cpp, src/DLLoader.h,
7982 src/DVIActions.cpp, src/DVIActions.h, src/DVIReader.cpp, src/DVIReader.h,
7983 src/DVIToSVG.cpp, src/DVIToSVG.h, src/DVIToSVGActions.cpp,
7984 src/DVIToSVGActions.h, src/Directory.cpp, src/Directory.h,
7985 src/DvisvgmSpecialHandler.cpp, src/DvisvgmSpecialHandler.h,
7986 src/EmSpecialHandler.cpp, src/EmSpecialHandler.h, src/FileFinder.cpp,
7987 src/FileFinder.h, src/FilePath.cpp, src/FilePath.h, src/FileSystem.cpp,
7988 src/FileSystem.h, src/Font.cpp, src/Font.h, src/FontCache.cpp,
7989 src/FontCache.h, src/FontEncoding.cpp, src/FontEncoding.h,
7990 src/FontEngine.cpp, src/FontEngine.h, src/FontManager.cpp,
7991 src/FontManager.h, src/FontMap.cpp, src/FontMap.h, src/GFGlyphTracer.cpp,
7992 src/GFGlyphTracer.h, src/GFReader.cpp, src/GFReader.h, src/GFTracer.cpp,
7993 src/GFTracer.h, src/Ghostscript.cpp, src/Ghostscript.h, src/Glyph.h,
7994 src/GlyphTracerMessages.h, src/GraphicPath.h, src/InputBuffer.cpp,
7995 src/InputBuffer.h, src/InputReader.cpp, src/InputReader.h,
7996 src/Length.cpp, src/Length.h, src/Makefile.am, src/Matrix.cpp,
7997 src/Matrix.h, src/Message.cpp, src/Message.h, src/MessageException.h,
7998 src/MetafontWrapper.cpp, src/MetafontWrapper.h, src/PSInterpreter.cpp,
7999 src/PSInterpreter.h, src/PageRanges.cpp, src/PageRanges.h,
8000 src/PageSize.cpp, src/PageSize.h, src/Pair.h, src/PsSpecialHandler.cpp,
8001 src/PsSpecialHandler.h, src/SVGTree.cpp, src/SVGTree.h,
8002 src/SpecialActions.h, src/SpecialHandler.h, src/SpecialManager.cpp,
8003 src/SpecialManager.h, src/StreamReader.cpp, src/StreamReader.h,
8004 src/StreamWriter.cpp, src/StreamWriter.h, src/System.cpp, src/System.h,
8005 src/TFM.cpp, src/TFM.h, src/Terminal.cpp, src/Terminal.h,
8006 src/TpicSpecialHandler.cpp, src/TpicSpecialHandler.h, src/VFActions.h,
8007 src/VFReader.cpp, src/VFReader.h, src/VectorStream.h,
8008 src/XMLDocTypeNode.h, src/XMLDocument.cpp, src/XMLDocument.h,
8009 src/XMLNode.cpp, src/XMLNode.h, src/XMLString.cpp, src/XMLString.h,
8010 src/dvisvgm.cpp, src/macros.h, src/options.dtd, src/options.xml,
8011 src/psdefs.psc, src/types.h, tests/BoundingBoxTest.cpp,
8012 tests/CalculatorTest.cpp, tests/ColorSpecialTest.cpp,
8013 tests/CommandLineTest.cpp, tests/DirectoryTest.cpp,
8014 tests/FileFinderTest.cpp, tests/FilePathTest.cpp,
8015 tests/FontManagerTest.cpp, tests/FontMapTest.cpp, tests/GFReaderTest.cpp,
8016 tests/GraphicPathTest.cpp, tests/LengthTest.cpp, tests/Makefile.am,
8017 tests/MatrixTest.cpp, tests/PageRagesTest.cpp, tests/PageSizeTest.cpp,
8018 tests/PairTest.cpp, tests/SplittedCharInputBufferTest.cpp,
8019 tests/StreamInputBufferTest.cpp, tests/TypesTest.cpp,
8020 tests/VectorStreamTest.cpp, tests/check-conv, tests/create-makefile:
8021 updated year in copyright info
8022
8023 * tests/Makefile.am, tests/PSInterpreterTest.cpp:
8024 added basic tests for class PSInterpreter
8025
8026 2010-12-18 Martin Gieseking <mgieseki@users.sourceforge.net>
8027
8028 * src/FileFinder.cpp:
8029 updated to MiKTeX 2.8 SDK
8030
8031 * src/PsSpecialHandler.cpp:
8032 fixed scaling issue in PS positioning
8033
8034 * src/PSInterpreter.cpp, src/PSInterpreter.h, src/PsSpecialHandler.cpp,
8035 src/PsSpecialHandler.h, src/psdefs.psc:
8036 PS handler: added missing scaling of linewidths and dash distances
8037
8038 * NEWS, configure.ac, src/Doxyfile:
8039 set version to 1.0.4; updated NEWS
8040
8041 * doc/dvisvgm.txt.in:
8042 minor update to the manpage
8043
8044 2010-08-18 Martin Gieseking <mgieseki@users.sourceforge.net>
8045
8046 * src/FontEngine.cpp:
8047 fixed FreeType version check (patch by Paul Vojta)
8048
8049 2010-08-11 Martin Gieseking <mgieseki@users.sourceforge.net>
8050
8051 * tests/Makefile.am, tests/PairTest.cpp:
8052 added PairTest
8053
8054 2010-08-06 Martin Gieseking <mgieseki@users.sourceforge.net>
8055
8056 * configure.ac, src/Doxyfile:
8057 set version to 1.0.3
8058
8059 2010-08-05 Martin Gieseking <mgieseki@users.sourceforge.net>
8060
8061 * NEWS, doc/dvisvgm.txt.in:
8062 updated manpage and NEWS
8063
8064 2010-08-04 Martin Gieseking <mgieseki@users.sourceforge.net>
8065
8066 * src/BoundingBox.cpp, src/BoundingBox.h, src/Matrix.cpp, src/Matrix.h,
8067 src/PsSpecialHandler.cpp:
8068 revamped PsSpecialHandler::psfile() to fix a transformation issue (SF
8069 bug #3037372)
8070
8071 2010-07-28 Martin Gieseking <mgieseki@users.sourceforge.net>
8072
8073 * src/DVIReader.cpp, src/DVIReader.h, src/DVIToSVG.cpp:
8074 added check of DVI format version
8075
8076 2010-07-26 Martin Gieseking <mgieseki@users.sourceforge.net>
8077
8078 * src/PsSpecialHandler.cpp, src/PsSpecialHandler.h:
8079 restore transformation matrix after execution of psfile
8080
8081 2010-07-13 Martin Gieseking <mgieseki@users.sourceforge.net>
8082
8083 * configure.ac, src/Doxyfile:
8084 set version to 1.0.3dev
8085
8086 * src/InputBuffer.h:
8087 added missing namespace prefix
8088
8089 * src/Terminal.cpp:
8090 replaced \e with \x1B
8091
8092 * src/GraphicPath.h, src/PsSpecialHandler.h:
8093 fixed missing initialization of GraphicPath iterator
8094
8095 * src/Directory.cpp, src/Directory.h, src/GFReader.cpp, src/GFReader.h:
8096 added leading underscore to variables of GFReader
8097
8098 2010-06-22 Martin Gieseking <mgieseki@users.sourceforge.net>
8099
8100 * src/gzstream.cpp, src/gzstream.h:
8101 fixed class variable issue introduced by previous AIX patch
8102
8103 * NEWS, configure.ac, src/Doxyfile:
8104 set version to 1.0.2
8105
8106 2010-06-18 Martin Gieseking <mgieseki@users.sourceforge.net>
8107
8108 * src/Bitmap.cpp, tests/DirectoryTest.cpp, tests/GFReaderTest.cpp,
8109 tests/Makefile.am, tests/cmr10.600gf, tests/create-makefile:
8110 added GFReaderTest; updated DirectoryTest
8111
8112 2010-06-17 Martin Gieseking <mgieseki@users.sourceforge.net>
8113
8114 * src/Bitmap.cpp, src/Calculator.cpp, src/CmdLineParserBase.cpp,
8115 src/Color.cpp, src/ColorSpecialHandler.cpp, src/DVIReader.cpp,
8116 src/DVIReader.h, src/DVIToSVGActions.cpp, src/DvisvgmSpecialHandler.cpp,
8117 src/EmSpecialHandler.cpp, src/FontCache.cpp, src/FontEncoding.cpp,
8118 src/GFGlyphTracer.cpp, src/Pair.h, src/PsSpecialHandler.cpp,
8119 src/PsSpecialHandler.h, src/TFM.cpp, src/TFM.h:
8120 fixed some type conversion warnings
8121
8122 * src/Message.cpp, src/Message.h:
8123 renamed MessageStream::putchar() to MessageStream::putChar() to avoid
8124 name clashes
8125
8126 * src/types.h, tests/Makefile.am, tests/TypesTest.cpp:
8127 added TypesTest
8128
8129 2010-06-16 Martin Gieseking <mgieseki@users.sourceforge.net>
8130
8131 * potracelib/curve.c, potracelib/curve.h, potracelib/decompose.c:
8132 renamed internal potrace functions path_new() and path_free() to prevent
8133 linker conflicts on OS X
8134
8135 2010-06-14 Martin Gieseking <mgieseki@users.sourceforge.net>
8136
8137 * configure.ac, src/Doxyfile:
8138 set version to 1.0.2dev
8139
8140 * configure.ac, src/CmdLineParserBase.h, src/FileFinder.h,
8141 src/FontCache.cpp, src/FontCache.h, src/FontEncoding.cpp,
8142 src/FontEngine.cpp, src/GFGlyphTracer.h, src/MetafontWrapper.cpp,
8143 src/gzstream.cpp:
8144 applied latest TL patches from Peter Breitenlohner and Karl Berry
8145
8146 2010-06-11 Martin Gieseking <mgieseki@users.sourceforge.net>
8147
8148 * src/Message.cpp:
8149 suppress ANSI color code by default
8150
8151 * NEWS, configure.ac, src/Doxyfile:
8152 set version to 1.0.1
8153
8154 2010-06-09 Martin Gieseking <mgieseki@users.sourceforge.net>
8155
8156 * configure.ac, src/Doxyfile:
8157 set version to 1.0.1dev
8158
8159 * src/psdefs.psc:
8160 fixed recursion issue in PS operator charpath
8161
8162 2010-06-08 Martin Gieseking <mgieseki@users.sourceforge.net>
8163
8164 * configure.ac, doc/Makefile.am, src/Makefile.am:
8165 cleaned up configuration scripts
8166
8167 * configure.ac, src/Doxyfile:
8168 set version to 1.0dev
8169
8170 * doc/dvisvgm.txt.in, src/BoundingBox.cpp, src/DVIToSVGActions.cpp,
8171 src/DVIToSVGActions.h, src/DvisvgmSpecialHandler.cpp,
8172 src/EmSpecialHandler.cpp, src/PsSpecialHandler.cpp, src/SpecialActions.h,
8173 src/SpecialManager.cpp, src/TpicSpecialHandler.cpp:
8174 added special for creating local bounding boxes
8175
8176 * src/FilePath.cpp, src/FilePath.h, src/FileSystem.cpp, src/FileSystem.h,
8177 src/Makefile.am, tests/FilePathTest.cpp, tests/Makefile.am:
8178 added class FilePath
8179
8180 * src/InputBuffer.h, tests/ColorSpecialTest.cpp,
8181 tests/StreamInputBufferTest.cpp:
8182 added InputBuffer::invalidate()
8183
8184 * doc/dvisvgm.txt.in, src/CommandLine.cpp, src/CommandLine.h,
8185 src/DVIReader.cpp, src/DVIReader.h, src/DVIToSVG.cpp, src/DVIToSVG.h,
8186 src/DVIToSVGActions.cpp, src/DVIToSVGActions.h, src/Makefile.am,
8187 src/PageRanges.cpp, src/PageRanges.h, src/StreamCounter.h,
8188 src/dvisvgm.cpp, src/options.xml, tests/BoundingBoxTest.cpp,
8189 tests/CommandLineTest.cpp, tests/Makefile.am, tests/PageRagesTest.cpp,
8190 tests/StreamCounterTest.cpp:
8191 added conversion of multiple pages
8192
8193 * configure.ac, doc/Makefile.am, doc/dvisvgm.txt.in, src/CommandLine.cpp,
8194 src/CommandLine.h, src/DVIActions.h, src/DVIToSVG.cpp, src/GFTracer.cpp,
8195 src/GlyphTracerMessages.h, src/Makefile.am, src/Message.cpp,
8196 src/Message.h, src/MetafontWrapper.cpp, src/Terminal.cpp, src/Terminal.h,
8197 src/dvisvgm.cpp, src/options.xml:
8198 improved output of messages including optional colorization
8199
8200 * src/Font.cpp:
8201 print error message if Metafont failed
8202
8203 * src/PSInterpreter.cpp, src/PSInterpreter.h, src/PsSpecialHandler.cpp,
8204 src/PsSpecialHandler.h, src/psdefs.psc:
8205 evaluate Ghostscript operator .setopacityalpha
8206
8207 * src/DVIActions.h, src/DVIReader.cpp, src/DVIReader.h:
8208 added method to compute length of DVI command
8209
8210 * doc/dvisvgm.txt.in, src/CommandLine.cpp, src/CommandLine.h,
8211 src/DVIActions.h, src/DVIToSVGActions.cpp, src/DVIToSVGActions.h,
8212 src/Makefile.am, src/Message.cpp, src/Message.h, src/PSInterpreter.cpp,
8213 src/PSInterpreter.h, src/PsSpecialHandler.cpp, src/PsSpecialHandler.h,
8214 src/SpecialActions.h, src/System.cpp, src/System.h, src/dvisvgm.cpp,
8215 src/options.xml:
8216 added percentage-based progress indicator
8217
8218 * doc/Makefile.am, doc/dvisvgm.txt.in:
8219 documented option --help and --version in manpage
8220
8221 * NEWS, configure.ac, src/Doxyfile:
8222 set version to 1.0
8223
8224 * src/PSInterpreter.cpp, src/PSInterpreter.h, src/PsSpecialHandler.cpp,
8225 src/PsSpecialHandler.h:
8226 fixed PS destructor issue (SF bug #3013392)
8227
8228 2010-05-09 Martin Gieseking <mgieseki@users.sourceforge.net>
8229
8230 * configure.ac:
8231 fixed whitespace issue in CPPFLAGS and LDFLAGS
8232
8233 2010-05-04 Martin Gieseking <mgieseki@users.sourceforge.net>
8234
8235 * configure.ac:
8236 fixed kpathsea check; use pkg-config to check freetype availability
8237
8238 * tests/FileFinderTest.cpp, tests/FontManagerTest.cpp, tests/check-conv:
8239 fixed segfaults in tests
8240
8241 2010-04-23 Martin Gieseking <mgieseki@users.sourceforge.net>
8242
8243 * NEWS, configure.ac, src/Doxyfile:
8244 set version to 0.9.1
8245
8246 2010-04-22 Martin Gieseking <mgieseki@users.sourceforge.net>
8247
8248 * src/CommandLine.cpp, src/options.xml:
8249 output of option --help: replaced '(default: FOO)' by '[FOO]'
8250
8251 * src/DVIToSVG.cpp, src/DVIToSVGActions.cpp, src/DVIToSVGActions.h,
8252 src/SVGTree.cpp, src/SVGTree.h, src/XMLNode.cpp, src/XMLNode.h:
8253 ignore unused fonts in CSS styles list
8254
8255 * src/SVGTree.cpp:
8256 fixed broken validity when using SVG fonts
8257
8258 * src/DVIActions.h, src/DVIReader.cpp, src/DVIReader.h, src/DVIToSVG.cpp,
8259 src/DVIToSVG.h, src/DVIToSVGActions.cpp, src/DVIToSVGActions.h:
8260 print page count and page number of DVI page being processed
8261
8262 * tests/check-conv, tests/frktest-wf-cmp.svg, tests/sample-wf-cmp.svg:
8263 adapted conversion tests to new output format
8264
8265 2010-04-20 Martin Gieseking <mgieseki@users.sourceforge.net>
8266
8267 * src/FontEncoding.cpp:
8268 fixed memory bug in FontEncoding::encoding()
8269
8270 2010-04-11 Martin Gieseking <mgieseki@users.sourceforge.net>
8271
8272 * configure.ac, src/Doxyfile:
8273 set version to 0.9.1dev
8274
8275 * src/DVIToSVGActions.cpp:
8276 replaced wrong font pointer that could lead to segfaults
8277
8278 2010-03-24 Martin Gieseking <mgieseki@users.sourceforge.net>
8279
8280 * src/Font.cpp, src/Font.h, src/dvisvgm.cpp:
8281 moved some methods from PhysicalFontImpl to PysicalFont
8282
8283 * doc/dvisvgm.txt.in, src/BoundingBox.cpp, src/BoundingBox.h,
8284 src/CommandLine.cpp, src/CommandLine.h, src/DVIToSVG.cpp,
8285 src/DVIToSVGActions.cpp, src/DVIToSVGActions.h, src/Font.cpp, src/Font.h,
8286 src/GlyphTracerMessages.h, src/Makefile.am, src/dvisvgm.cpp,
8287 src/options.xml:
8288 added command-line option --exact
8289
8290 * src/FontCache.cpp, src/Makefile.am, src/StreamWriter.cpp,
8291 src/StreamWriter.h, src/TFM.cpp:
8292 replaced local stream IO functions by StreamReader/StreamWriter methods
8293
8294 * src/CmdLineParserBase.cpp, src/DVIToSVG.cpp, src/DVIToSVGActions.cpp,
8295 src/FontEngine.cpp, src/GlyphTracerMessages.h, src/Message.cpp,
8296 src/Message.h, src/MetafontWrapper.cpp, src/dvisvgm.cpp:
8297 added class MessageStream, updated message output
8298
8299 * src/FontCache.cpp, src/GFGlyphTracer.cpp, src/GFReader.cpp:
8300 variable _fontname is now correctly set in class FontCache
8301
8302 * NEWS, configure.ac, src/Doxyfile:
8303 set version to 0.9
8304
8305 * tests/frktest-nf-cmp.svg, tests/frktest-wf-cmp.svg,
8306 tests/sample-nf-cmp.svg, tests/sample-wf-cmp.svg:
8307 updated conversion tests
8308
8309 2010-03-18 Martin Gieseking <mgieseki@users.sourceforge.net>
8310
8311 * src/DVIToSVG.cpp, src/SVGTree.cpp:
8312 moved creation of SVG 'use' elements from class DVIToSVG to class
8313 SVGTree
8314
8315 * src/DVIToSVG.cpp, src/Font.cpp, src/Font.h, src/GFGlyphTracer.cpp,
8316 src/GFGlyphTracer.h, src/SVGTree.cpp, src/SVGTree.h:
8317 added class GFGlyphTracer::Callback providing an interface used to print
8318 status information about the tracer
8319
8320 * src/CmdLineParserBase.cpp, src/CmdLineParserBase.h:
8321 added evaluation of boolean and char arguments to the command-line
8322 parser
8323
8324 * doc/dvisvgm.txt.in, src/CommandLine.cpp, src/CommandLine.h,
8325 src/DVIToSVG.cpp, src/DVIToSVG.h, src/Font.cpp, src/Font.h,
8326 src/dvisvgm.cpp, src/options.xml, tests/CommandLineTest.cpp:
8327 reactivated option --trace-all, and added optional argument 'retrace' to
8328 it
8329
8330 * doc/dvisvgm.txt.in, src/CommandLine.cpp, src/CommandLine.h,
8331 src/Font.cpp, src/Font.h, src/dvisvgm.cpp, src/options.xml:
8332 added command-line option --keep
8333
8334 2010-03-17 Martin Gieseking <mgieseki@users.sourceforge.net>
8335
8336 * src/GFReader.cpp, src/GFReader.h:
8337 replaced GFReader messages by exceptions
8338
8339 * src/CharmapTranslator.cpp, src/CharmapTranslator.h, src/DVIToSVG.cpp,
8340 src/DVIToSVGActions.cpp, src/DVIToSVGActions.h, src/Font.cpp, src/Font.h,
8341 src/Makefile.am, src/SVGFontEmitter.cpp, src/SVGFontEmitter.h,
8342 src/SVGFontTraceEmitter.cpp, src/SVGFontTraceEmitter.h, src/SVGTree.cpp,
8343 src/SVGTree.h:
8344 removed class CharmapTranslator
8345
8346 * src/DVIReader.cpp, src/DVIReader.h, src/DVIToSVG.cpp,
8347 src/DVIToSVGActions.cpp, src/FontManager.cpp, src/FontManager.h,
8348 src/SVGFontEmitter.cpp, src/SVGFontEmitter.h,
8349 src/SVGFontTraceEmitter.cpp, src/SVGFontTraceEmitter.h, src/SVGTree.cpp,
8350 src/SVGTree.h, src/VFReader.h, tests/FontManagerTest.cpp:
8351 made FontManager a singleton
8352
8353 * src/FontCache.cpp, src/FontCache.h:
8354 added method FontCache::write(const char *dir) that updates the cache
8355 file of the current font
8356
8357 * src/DVIToSVG.cpp, src/DVIToSVG.h, src/DVIToSVGActions.cpp, src/Font.cpp,
8358 src/Font.h, src/FontEmitter.h, src/GFGlyphTracer.h, src/Makefile.am,
8359 src/SVGFontEmitter.cpp, src/SVGFontEmitter.h,
8360 src/SVGFontTraceEmitter.cpp, src/SVGFontTraceEmitter.h, src/SVGTree.cpp,
8361 src/SVGTree.h, src/dvisvgm.cpp, tests/Makefile.am, tests/check-conv,
8362 tests/create-makefile:
8363 removed emitter classes; incorporated their functionality into SVGTree
8364 and PhysicalFontImpl
8365
8366 * src/BoundingBox.cpp, src/Calculator.cpp, src/Matrix.cpp,
8367 src/PSInterpreter.cpp, src/PSInterpreter.h:
8368 fixed a couple of comments
8369
8370 2010-02-26 Martin Gieseking <mgieseki@users.sourceforge.net>
8371
8372 * src/Font.cpp, src/FontCache.cpp, src/FontCache.h, src/GFGlyphTracer.cpp,
8373 src/GFGlyphTracer.h, src/GFReader.cpp, src/GFReader.h, src/GFTracer.h,
8374 src/SVGFontTraceEmitter.cpp, src/SVGFontTraceEmitter.h:
8375 refactorings of GF tracer class; removed transferGlyph()
8376
8377 2010-02-21 Martin Gieseking <mgieseki@users.sourceforge.net>
8378
8379 * src/Font.h, src/FontEncoding.cpp, src/FontEncoding.h,
8380 src/FontManager.cpp, src/FontManager.h, src/SVGFontEmitter.cpp:
8381 moved method encoding() from class FontManager to class FontEncoding
8382
8383 * src/CharmapTranslator.cpp, src/CharmapTranslator.h, src/Font.cpp,
8384 src/Font.h, src/FontCache.cpp, src/FontCache.h, src/FontEngine.cpp,
8385 src/FontEngine.h, src/Glyph.cpp, src/Glyph.h, src/Makefile.am,
8386 src/SVGFontEmitter.cpp, src/SVGFontEmitter.h:
8387 removed class Glyph and incorporated its functionality into Font class
8388
8389 2010-02-05 Martin Gieseking <mgieseki@users.sourceforge.net>
8390
8391 * configure.ac, src/Doxyfile:
8392 set version to 0.8.9dev
8393
8394 * src/psdefs.psc:
8395 removed PS error handler nocurrentpoint
8396
8397 * src/DVIToSVG.cpp:
8398 added evaluation of literal PS headers to PSHeaderActions
8399
8400 2010-02-02 Martin Gieseking <mgieseki@users.sourceforge.net>
8401
8402 * NEWS, configure.ac, src/Doxyfile:
8403 version updated to 0.8.8
8404
8405 2010-02-01 Martin Gieseking <mgieseki@users.sourceforge.net>
8406
8407 * tests/check-conv:
8408 skip conversion checks by default
8409
8410 2010-01-31 Martin Gieseking <mgieseki@users.sourceforge.net>
8411
8412 * tests/Makefile.am, tests/check-conv, tests/create-makefile,
8413 tests/frktest-nf-cmp.svg, tests/frktest-wf-cmp.svg, tests/frktest.dvi,
8414 tests/normalize.xsl, tests/sample-nf-cmp.svg, tests/sample-wf-cmp.svg,
8415 tests/sample.dvi:
8416 added tests to check conversion results
8417
8418 * tests/normalize.xsl:
8419 some improvements to normalize.xsl
8420
8421 2010-01-29 Martin Gieseking <mgieseki@users.sourceforge.net>
8422
8423 * src/CmdLineParserBase.cpp, src/CmdLineParserBase.h, src/CommandLine.cpp,
8424 src/CommandLine.h:
8425 removed CmdLineParserBase::numOptions()
8426
8427 * src/GraphicPath.h:
8428 fixed scaling bug in computation of glyph paths when using -n
8429
8430 2010-01-24 Martin Gieseking <mgieseki@users.sourceforge.net>
8431
8432 * doc/dvisvgm.txt.in, src/CommandLine.cpp, src/CommandLine.h,
8433 src/FontCache.h, src/dvisvgm.cpp, src/options.dtd, src/options.xml:
8434 added command-line option --libgs
8435
8436 2010-01-18 Martin Gieseking <mgieseki@users.sourceforge.net>
8437
8438 * src/CommandLine.cpp, src/options.dtd, src/options.xml:
8439 added DTD for options.xml
8440
8441 2010-01-17 Martin Gieseking <mgieseki@users.sourceforge.net>
8442
8443 * configure.ac:
8444 updated type of kpathsea_version_string (patch by lomov_vl)
8445
8446 * fedora/dvisvgm-gs.patch, fedora/dvisvgm-potrace.patch,
8447 fedora/dvisvgm.spec:
8448 removed fedora directory
8449
8450 * doc/dvisvgm.txt.in, src/BoundingBox.cpp, src/BoundingBox.h,
8451 src/DVIToSVG.cpp, tests/BoundingBoxTest.cpp, tests/Makefile.am:
8452 added support for enlarging the minimal bbox by a given amount.
8453
8454 * Makefile.am, README, configure.ac, doc/dvisvgm.txt.in,
8455 src/BgColorSpecialHandler.cpp, src/BgColorSpecialHandler.h,
8456 src/Bitmap.cpp, src/Bitmap.h, src/BoundingBox.cpp, src/BoundingBox.h,
8457 src/Calculator.cpp, src/Calculator.h, src/CharmapTranslator.cpp,
8458 src/CharmapTranslator.h, src/CmdLineParserBase.cpp,
8459 src/CmdLineParserBase.h, src/Color.cpp, src/Color.h,
8460 src/ColorSpecialHandler.cpp, src/ColorSpecialHandler.h,
8461 src/CommandLine.cpp, src/CommandLine.h, src/DLLoader.cpp, src/DLLoader.h,
8462 src/DVIActions.cpp, src/DVIActions.h, src/DVIReader.cpp, src/DVIReader.h,
8463 src/DVIToSVG.cpp, src/DVIToSVG.h, src/DVIToSVGActions.cpp,
8464 src/DVIToSVGActions.h, src/Directory.cpp, src/Directory.h,
8465 src/DvisvgmSpecialHandler.cpp, src/DvisvgmSpecialHandler.h,
8466 src/EmSpecialHandler.cpp, src/EmSpecialHandler.h, src/FileFinder.cpp,
8467 src/FileFinder.h, src/FileSystem.cpp, src/FileSystem.h, src/Font.cpp,
8468 src/Font.h, src/FontCache.cpp, src/FontCache.h, src/FontEmitter.h,
8469 src/FontEncoding.cpp, src/FontEncoding.h, src/FontEngine.cpp,
8470 src/FontEngine.h, src/FontManager.cpp, src/FontManager.h,
8471 src/FontMap.cpp, src/FontMap.h, src/GFGlyphTracer.cpp,
8472 src/GFGlyphTracer.h, src/GFReader.cpp, src/GFReader.h, src/GFTracer.cpp,
8473 src/GFTracer.h, src/Ghostscript.cpp, src/Ghostscript.h, src/Glyph.cpp,
8474 src/Glyph.h, src/GraphicPath.h, src/InputBuffer.cpp, src/InputBuffer.h,
8475 src/InputReader.cpp, src/InputReader.h, src/Length.cpp, src/Length.h,
8476 src/Makefile.am, src/Matrix.cpp, src/Matrix.h, src/Message.cpp,
8477 src/Message.h, src/MessageException.h, src/MetafontWrapper.cpp,
8478 src/MetafontWrapper.h, src/PSInterpreter.cpp, src/PSInterpreter.h,
8479 src/PageSize.cpp, src/PageSize.h, src/Pair.h, src/PsSpecialHandler.cpp,
8480 src/PsSpecialHandler.h, src/SVGFontEmitter.cpp, src/SVGFontEmitter.h,
8481 src/SVGFontTraceEmitter.cpp, src/SVGFontTraceEmitter.h, src/SVGTree.cpp,
8482 src/SVGTree.h, src/SpecialActions.h, src/SpecialHandler.h,
8483 src/SpecialManager.cpp, src/SpecialManager.h, src/StreamCounter.h,
8484 src/StreamReader.cpp, src/StreamReader.h, src/TFM.cpp, src/TFM.h,
8485 src/TpicSpecialHandler.cpp, src/TpicSpecialHandler.h, src/VFActions.h,
8486 src/VFReader.cpp, src/VFReader.h, src/VectorStream.h,
8487 src/XMLDocTypeNode.h, src/XMLDocument.cpp, src/XMLDocument.h,
8488 src/XMLNode.cpp, src/XMLNode.h, src/XMLString.cpp, src/XMLString.h,
8489 src/dvisvgm.cpp, src/macros.h, src/options.xml, src/psdefs.psc,
8490 src/types.h, tests/BoundingBoxTest.cpp, tests/CalculatorTest.cpp,
8491 tests/ColorSpecialTest.cpp, tests/CommandLineTest.cpp,
8492 tests/DirectoryTest.cpp, tests/FileFinderTest.cpp,
8493 tests/FontManagerTest.cpp, tests/FontMapTest.cpp,
8494 tests/GraphicPathTest.cpp, tests/LengthTest.cpp, tests/Makefile.am,
8495 tests/MatrixTest.cpp, tests/PageSizeTest.cpp,
8496 tests/SplittedCharInputBufferTest.cpp, tests/StreamCounterTest.cpp,
8497 tests/StreamInputBufferTest.cpp, tests/VectorStreamTest.cpp,
8498 tests/create-makefile:
8499 updated boilerplates
8500
8501 * doc/dvisvgm.txt.in, src/FileFinder.cpp, src/Ghostscript.cpp,
8502 src/Ghostscript.h, src/dvisvgm.cpp:
8503 environment variable LIBGS can now be used to set the name of the GS
8504 shared library
8505
8506 * NEWS:
8507 updated NEWS
8508
8509 * src/Ghostscript.cpp:
8510 fixed typo in variable name
8511
8512 2009-12-16 Martin Gieseking <mgieseki@users.sourceforge.net>
8513
8514 * src/InputReader.cpp:
8515 fixed bug in InputReader::parseUInt()
8516
8517 2009-12-15 Martin Gieseking <mgieseki@users.sourceforge.net>
8518
8519 * configure.ac, src/dvisvgm.cpp:
8520 appied get_time patch sent by Peter Breitenlohner
8521
8522 2009-12-02 Martin Gieseking <mgieseki@users.sourceforge.net>
8523
8524 * src/BoundingBox.h, src/Calculator.h, src/CharmapTranslator.h,
8525 src/DVIReader.h, src/DVIToSVG.h, src/DVIToSVGActions.h, src/Font.h,
8526 src/FontEngine.h, src/FontManager.h, src/FontMap.h, src/GFGlyphTracer.h,
8527 src/GFReader.h, src/MessageException.h, src/MetafontWrapper.h,
8528 src/PageSize.h, src/SVGTree.cpp, src/SVGTree.h, src/StreamReader.h,
8529 src/VFActions.h, src/VFReader.h, src/XMLDocTypeNode.h, src/XMLDocument.h,
8530 src/XMLNode.h, src/XMLString.h:
8531 removed using statements from header files
8532
8533 2009-11-25 Martin Gieseking <mgieseki@users.sourceforge.net>
8534
8535 * src/FontCache.cpp, src/FontCache.h, src/FontEngine.cpp,
8536 src/FontEngine.h, src/FontGlyph.cpp, src/FontGlyph.h,
8537 src/GFGlyphTracer.cpp, src/GFGlyphTracer.h, src/GFTracer.cpp,
8538 src/Glyph.cpp, src/Glyph.h, src/GraphicPath.h, src/Makefile.am,
8539 src/Pair.h, src/SVGFontEmitter.cpp, src/SVGFontTraceEmitter.cpp,
8540 tests/GraphicPathTest.cpp:
8541 removed FEGlyphCommands and replaced separate glyph class implementation
8542 by class GraphicPath
8543
8544 2009-11-18 Martin Gieseking <mgieseki@users.sourceforge.net>
8545
8546 * src/DVIToSVG.cpp, src/Ghostscript.cpp, src/Ghostscript.h:
8547 replaced #if !DISABLE_GS by #if !defined(DISABLE_GS) (Peter
8548 Breitenlohner)
8549
8550 * src/Ghostscript.cpp, src/Ghostscript.h:
8551 replaced #if HAVE_LIBGS by #if defined(HAVE_LIBGS)
8552
8553 * src/DLLoader.cpp, src/DLLoader.h:
8554 fixed line endings
8555
8556 2009-11-17 Martin Gieseking <mgieseki@users.sourceforge.net>
8557
8558 * configure.ac, fedora/dvisvgm.spec, src/Doxyfile:
8559 set version number to 0.8.8dev
8560
8561 * potracelib/potracelib.c, potracelib/potracelib.h:
8562 replaced outdated string constant type char* by const char* in
8563 potrace_version()
8564
8565 * src/Color.cpp, src/ColorSpecialHandler.cpp, src/FontManager.cpp,
8566 src/PsSpecialHandler.cpp, src/PsSpecialHandler.h,
8567 src/TpicSpecialHandler.cpp:
8568 added explicit casts to avoid compiler warnings (Peter Breitenlohner)
8569
8570 * src/InputReader.cpp:
8571 added missing initialization value (Peter Breitenlohner)
8572
8573 * src/CmdLineParserBase.h, src/GraphicPath.h, src/InputReader.h,
8574 src/Makefile.am, src/PSInterpreter.h, src/SpecialManager.h:
8575 added missing virtual destructors to avoid warnings
8576
8577 * src/dvisvgm.cpp:
8578 don't use email adress PACKAGE_BUGREPORT for copyright notice
8579
8580 * NEWS:
8581 updated NEWS
8582
8583 2009-11-09 Martin Gieseking <mgieseki@users.sourceforge.net>
8584
8585 * src/DVIToSVG.cpp, src/dvisvgm.cpp:
8586 added total number of pages to message text
8587
8588 * NEWS, src/Color.cpp, src/Color.h, src/PsSpecialHandler.cpp,
8589 src/PsSpecialHandler.h, src/SVGTree.cpp:
8590 PS handler: colors set by color specials are now considered properly
8591
8592 * configure.ac, fedora/dvisvgm.spec, src/Doxyfile:
8593 set version to 0.8.7
8594
8595 2009-11-06 Martin Gieseking <mgieseki@users.sourceforge.net>
8596
8597 * src/GraphicPath.h, src/PsSpecialHandler.cpp:
8598 PS handler: replace zero-length paths by dots
8599
8600 * NEWS, doc/dvisvgm.txt.in:
8601 updated NEWS and manpage
8602
8603 * NEWS, src/PsSpecialHandler.cpp:
8604 fixed path scaling issue in PS handler
8605
8606 2009-10-29 Martin Gieseking <mgieseki@users.sourceforge.net>
8607
8608 * src/DVIToSVGActions.cpp, src/Font.cpp, src/Font.h:
8609 fixed positioning of italic characters
8610
8611 2009-10-25 Martin Gieseking <mgieseki@users.sourceforge.net>
8612
8613 * src/DvisvgmSpecialHandler.cpp:
8614 added macro {?nl} to dvisvgm:raw evaluator
8615
8616 2009-10-18 Martin Gieseking <mgieseki@users.sourceforge.net>
8617
8618 * src/Font.cpp, src/TFM.cpp, src/TFM.h:
8619 added italic correction values to character widths
8620
8621 2009-10-16 Martin Gieseking <mgieseki@users.sourceforge.net>
8622
8623 * tests/Makefile.am, tests/create-makefile:
8624 added script to create tests/Makefile.am
8625
8626 * configure.ac, src/Doxyfile:
8627 increased version to 0.8.7dev
8628
8629 2009-10-13 Martin Gieseking <mgieseki@users.sourceforge.net>
8630
8631 * doc/Makefile.am, doc/dvisvgm.txt.in:
8632 removed outdated post-processing of manpage
8633
8634 * fedora/dvisvgm.spec:
8635 updated spec file
8636
8637 * doc/Makefile.am:
8638 added missing dvi suffix in Makefile target dvi-pdf
8639
8640 * README, tests/CalculatorTest.cpp, tests/CalculatorTest.h,
8641 tests/ColorSpecialTest.cpp, tests/ColorSpecialTest.h,
8642 tests/CommandLineTest.cpp, tests/CommandLineTest.h,
8643 tests/DirectoryTest.cpp, tests/DirectoryTest.h, tests/FileFinderTest.cpp,
8644 tests/FileFinderTest.h, tests/FontManagerTest.cpp,
8645 tests/FontManagerTest.h, tests/FontMapTest.cpp, tests/FontMapTest.h,
8646 tests/GraphicPathTest.cpp, tests/GraphicPathTest.h, tests/LengthTest.cpp,
8647 tests/LengthTest.h, tests/Makefile.am, tests/MatrixTest.cpp,
8648 tests/MatrixTest.h, tests/PageSizeTest.cpp, tests/PageSizeTest.h,
8649 tests/SplittedCharInputBufferTest.cpp,
8650 tests/SplittedCharInputBufferTest.h, tests/StreamCounterTest.cpp,
8651 tests/StreamCounterTest.h, tests/StreamInputBufferTest.cpp,
8652 tests/StreamInputBufferTest.h, tests/VectorStreamTest.cpp,
8653 tests/VectorStreamTest.h:
8654 replaced cxxtest by googletest
8655
8656 2009-10-12 Martin Gieseking <mgieseki@users.sourceforge.net>
8657
8658 * src/BgColorSpecialHandler.cpp, src/BgColorSpecialHandler.h,
8659 src/Bitmap.cpp, src/Bitmap.h, src/BoundingBox.cpp, src/BoundingBox.h,
8660 src/Calculator.cpp, src/Calculator.h, src/CharmapTranslator.cpp,
8661 src/CharmapTranslator.h, src/CmdLineParserBase.cpp,
8662 src/CmdLineParserBase.h, src/Color.cpp, src/Color.h,
8663 src/ColorSpecialHandler.cpp, src/ColorSpecialHandler.h, src/DLLoader.cpp,
8664 src/DLLoader.h, src/DVIActions.cpp, src/DVIActions.h, src/DVIReader.cpp,
8665 src/DVIReader.h, src/DVIToSVG.h, src/DVIToSVGActions.cpp,
8666 src/DVIToSVGActions.h, src/Directory.cpp, src/Directory.h,
8667 src/DvisvgmSpecialHandler.h, src/EmSpecialHandler.cpp,
8668 src/EmSpecialHandler.h, src/FileFinder.cpp, src/FileFinder.h,
8669 src/FileSystem.cpp, src/FileSystem.h, src/Font.cpp, src/Font.h,
8670 src/FontCache.cpp, src/FontCache.h, src/FontEmitter.h,
8671 src/FontEncoding.cpp, src/FontEncoding.h, src/FontEngine.cpp,
8672 src/FontEngine.h, src/FontGlyph.cpp, src/FontGlyph.h,
8673 src/FontManager.cpp, src/FontManager.h, src/FontMap.cpp, src/FontMap.h,
8674 src/GFGlyphTracer.cpp, src/GFGlyphTracer.h, src/GFReader.cpp,
8675 src/GFReader.h, src/GFTracer.cpp, src/GFTracer.h, src/Ghostscript.cpp,
8676 src/Ghostscript.h, src/GraphicPath.h, src/InputBuffer.cpp,
8677 src/InputBuffer.h, src/InputReader.cpp, src/InputReader.h,
8678 src/Matrix.cpp, src/Matrix.h, src/Message.cpp, src/Message.h,
8679 src/MessageException.h, src/MetafontWrapper.cpp, src/MetafontWrapper.h,
8680 src/PSInterpreter.cpp, src/PSInterpreter.h, src/PageSize.cpp,
8681 src/PageSize.h, src/Pair.h, src/SVGFontEmitter.cpp, src/SVGFontEmitter.h,
8682 src/SVGFontTraceEmitter.cpp, src/SVGFontTraceEmitter.h,
8683 src/SpecialActions.h, src/SpecialHandler.h, src/SpecialManager.cpp,
8684 src/SpecialManager.h, src/StreamCounter.h, src/StreamReader.cpp,
8685 src/StreamReader.h, src/TFM.cpp, src/TFM.h, src/TpicSpecialHandler.cpp,
8686 src/TpicSpecialHandler.h, src/VFActions.h, src/VFReader.cpp,
8687 src/VFReader.h, src/VectorStream.h, src/XMLDocTypeNode.h,
8688 src/XMLDocument.cpp, src/XMLDocument.h, src/XMLNode.cpp, src/XMLNode.h,
8689 src/XMLString.cpp, src/XMLString.h, src/macros.h, src/types.h:
8690 code cleanup
8691
8692 2009-10-11 Martin Gieseking <mgieseki@users.sourceforge.net>
8693
8694 * autogen.sh:
8695 fixed file permissions of autogen.sh
8696
8697 * src/DVIToSVG.cpp, src/DvisvgmSpecialHandler.cpp,
8698 src/PsSpecialHandler.cpp, src/PsSpecialHandler.h, src/SVGTree.cpp,
8699 src/SVGTree.h:
8700 suppress empty style and transformation elements
8701
8702 * NEWS:
8703 NEWS updated
8704
8705 2009-10-10 Martin Gieseking <martin.gieseking@uos.de>
8706
8707 * src/PsSpecialHandler.cpp:
8708 scale clipping paths by 72.27/72
8709
8710 2009-10-09 Martin Gieseking <martin.gieseking@uos.de>
8711
8712 * src/Bitmap.h:
8713 fixed bit shift overflow in Bitmap class occured on 64-bit systems
8714
8715 * autogen.sh, prepare:
8716 prepare script replaced by autogen.sh
8717
8718 * doc/dvisvgm.txt.in:
8719 fixed formatting of manual page
8720
8721 * src/Length.cpp, src/Length.h, tests/LengthTest.h:
8722 fixed unit conversion bug
8723
8724 * src/Makefile.am:
8725 fixed Makefile
8726
8727 2009-10-08 Martin Gieseking <martin.gieseking@uos.de>
8728
8729 * NEWS, doc/dvisvgm.txt.in, src/BoundingBox.cpp, src/CommandLine.cpp,
8730 src/CommandLine.h, src/DVIToSVG.cpp, src/DVIToSVG.h, src/dvisvgm.cpp,
8731 src/options.xml, tests/CommandLineTest.h, tests/Makefile.am:
8732 cmdline parameter --bbox can now be used to set the absolute bounding
8733 box
8734
8735 * NEWS, src/GraphicPath.h, src/PsSpecialHandler.cpp,
8736 src/PsSpecialHandler.h:
8737 PS clipping path sequences and intersections are now handled correctly
8738
8739 * src/MetafontWrapper.cpp:
8740 fixed file permissions
8741
8742 * src/dvisvgm.cpp:
8743 fixed uncaught PageSizeException
8744
8745 2009-10-07 Martin Gieseking <martin.gieseking@uos.de>
8746
8747 * NEWS, doc/dvisvgm.txt.in, src/BoundingBox.cpp, src/BoundingBox.h,
8748 src/DvisvgmSpecialHandler.cpp:
8749 added the special variant 'dvisvgm:bbox abs' and 'dvisvgm:bbox fix'
8750
8751 * src/BoundingBox.cpp, src/BoundingBox.h, src/Length.cpp, src/Length.h,
8752 src/Makefile.am, tests/LengthTest.h:
8753 class Length provides length unit calculations
8754
8755 2009-10-06 Martin Gieseking <martin.gieseking@uos.de>
8756
8757 * src/BoundingBox.cpp, src/BoundingBox.h, src/GraphicPath.h,
8758 src/PSInterpreter.cpp, src/PSInterpreter.h, src/PsSpecialHandler.cpp,
8759 src/PsSpecialHandler.h, src/psdefs.psc:
8760 fixed some PS bounding box and positioning issues introduced by previous
8761 changesets
8762
8763 * NEWS, configure.ac, fedora/dvisvgm.spec, src/Doxyfile:
8764 set version to 0.8.6
8765
8766 2009-10-05 Martin Gieseking <martin.gieseking@uos.de>
8767
8768 * src/PsSpecialHandler.cpp:
8769 convert PS path coordinated to TeX point units
8770
8771 * NEWS, src/PsSpecialHandler.cpp:
8772 fixed another positioning bug reported by John Bowman
8773
8774 2009-10-04 Martin Gieseking <martin.gieseking@uos.de>
8775
8776 * src/GraphicPath.h, src/PsSpecialHandler.cpp, src/PsSpecialHandler.h:
8777 corrected positioning bug introduced with previous PS positioning fix
8778
8779 2009-10-02 Martin Gieseking <martin.gieseking@uos.de>
8780
8781 * doc/Makefile.am, doc/dvisvgm.txt.in:
8782 generate pdf manpage directly with groff; adapted manpage source to work
8783 with latest asciidoc
8784
8785 2009-10-01 Martin Gieseking <martin.gieseking@uos.de>
8786
8787 * doc/Makefile.am, doc/dvisvgm.txt.in:
8788 replaced backticks in manpage by apostrophes; updated date on homepage
8789
8790 2009-09-30 Martin Gieseking <martin.gieseking@uos.de>
8791
8792 * src/DvisvgmSpecialHandler.cpp:
8793 added optional depth parameter to special dvisvgm:raw
8794
8795 * doc/dvisvgm.txt.in:
8796 added dvisvgm:raw example to man page
8797
8798 * LGPL-2.1.txt, NEWS, README:
8799 updated README and NEWS, and added file with LGPL license text
8800
8801 * Makefile.am, configure.ac, fedora/dvisvgm.spec, src/Doxyfile:
8802 increased version number to 0.8.5
8803
8804 2009-09-17 Martin Gieseking <martin.gieseking@uos.de>
8805
8806 * NEWS:
8807 added cretdit to John Bowman for sending a patch for the already fixed
8808 clipping bug
8809
8810 * src/PsSpecialHandler.h:
8811 increased the default linewidth to 0.5
8812
8813 * fedora/dvisvgm.spec:
8814 updated spec file and fixed typo on website
8815
8816 * doc/dvisvgm.txt.in:
8817 minor changes of the documentation
8818
8819 2009-09-11 Martin Gieseking <martin.gieseking@uos.de>
8820
8821 * NEWS, src/CmdLineParserBase.cpp, src/FontCache.cpp,
8822 src/SVGFontTraceEmitter.cpp:
8823 fixed memory bug in tracer module (issue #21)
8824
8825 * NEWS, doc/dvisvgm.txt.in, src/CommandLine.cpp, src/CommandLine.h,
8826 src/DVIToSVGActions.cpp, src/DVIToSVGActions.h, src/SpecialManager.cpp,
8827 src/SpecialManager.h, src/dvisvgm.cpp, src/options.xml:
8828 added option --progress for enabling a progress indicator (feature #22)
8829
8830 * src/FileSystem.cpp, src/MetafontWrapper.cpp:
8831 Windows: Metafont is now called via CreateProcess()
8832
8833 2009-09-10 Martin Gieseking <martin.gieseking@uos.de>
8834
8835 * src/BgColorSpecialHandler.cpp, src/BgColorSpecialHandler.h,
8836 src/ColorSpecialHandler.cpp, src/ColorSpecialHandler.h, src/DVIToSVG.cpp,
8837 src/DvisvgmSpecialHandler.cpp, src/DvisvgmSpecialHandler.h,
8838 src/EmSpecialHandler.cpp, src/EmSpecialHandler.h,
8839 src/PsSpecialHandler.cpp, src/PsSpecialHandler.h, src/SpecialHandler.h,
8840 src/SpecialManager.cpp, src/TpicSpecialHandler.cpp,
8841 src/TpicSpecialHandler.h:
8842 refactored prefixes methods of the SpecialHandlers (ticket #20)
8843
8844 * NEWS, doc/dvisvgm.txt.in, src/FileSystem.cpp, src/FileSystem.h,
8845 src/FontCache.cpp, src/FontCache.h, src/dvisvgm.cpp:
8846 option --cache prints additional information about the cached fonts
8847 (feature #7)
8848
8849 * src/FileSystem.cpp, src/FontCache.cpp:
8850 fixed Windows-related bug in FileSystem::collect
8851
8852 2009-09-06 Martin Gieseking <martin.gieseking@uos.de>
8853
8854 * NEWS, README:
8855 updated NEWS and README
8856
8857 2009-09-04 Martin Gieseking <martin.gieseking@uos.de>
8858
8859 * configure.ac, fedora/dvisvgm.spec, src/Doxyfile:
8860 increased version number to 0.8.4
8861
8862 * src/BoundingBox.cpp, src/BoundingBox.h, src/PsSpecialHandler.cpp:
8863 linewidths are now considered properly in computation of bounding box
8864 (issue #13)
8865
8866 * src/dvisvgm.cpp:
8867 fixed evaluation of option --help
8868
8869 * src/CmdLineParserBase.cpp, src/CmdLineParserBase.h, src/CommandLine.cpp,
8870 src/InputBuffer.h, src/InputReader.h, src/psdefs.psc,
8871 tests/CommandLineTest.h:
8872 improved the command line parser to make it more POSIX-compliant
8873 (feature #17)
8874
8875 2009-09-01 Martin Gieseking <martin.gieseking@uos.de>
8876
8877 * src/PsSpecialHandler.cpp, src/psdefs.psc:
8878 fixed flattened clipping path bug (issue #11)
8879
8880 2009-08-31 Martin Gieseking <martin.gieseking@uos.de>
8881
8882 * src/Makefile.am:
8883 added error checks; disallow numeric optional arguments w/o default
8884 value
8885
8886 2009-08-28 Martin Gieseking <martin.gieseking@uos.de>
8887
8888 * NEWS, src/PSInterpreter.cpp, src/PsSpecialHandler.cpp, src/dvisvgm.cpp,
8889 src/psdefs.psc:
8890 added evaluation of PS 'show' operator in order to evaluate PSTricks
8891 Type 3 fonts properly
8892
8893 * fedora/dvisvgm.spec:
8894 updated spec file and homepage to latest release
8895
8896 2009-08-27 Martin Gieseking <martin.gieseking@uos.de>
8897
8898 * NEWS, configure.ac, doc/dvisvgm.txt.in, src/CmdLineParserBase.cpp,
8899 src/CommandLine.cpp, src/Doxyfile, src/dvisvgm.cpp, src/getopt.c,
8900 src/getopt.h, src/getopt1.c, src/options.xml:
8901 replaced option --cache=? by --cache; increased version number to 0.8.3
8902
8903 2009-08-26 Martin Gieseking <martin.gieseking@uos.de>
8904
8905 * fedora/dvisvgm-0.8.1-potrace.patch, fedora/dvisvgm-gs.patch,
8906 fedora/dvisvgm-potrace.patch, fedora/dvisvgm.spec:
8907 updated Fedora files
8908
8909 * configure.ac, fedora/dvisvgm.spec, src/Ghostscript.cpp,
8910 src/Ghostscript.h, src/Makefile.am:
8911 improved Ghostscript and potrace linking checks to simplify usage of
8912 external devel files
8913
8914 * NEWS, configure.ac, src/DVIToSVG.cpp, src/DVIToSVG.h,
8915 src/DVIToSVGActions.cpp, src/DVIToSVGActions.h, src/PsSpecialHandler.cpp,
8916 src/SpecialManager.cpp, src/SpecialManager.h:
8917 PS prologue files referenced in first page are now always loaded
8918
8919 2009-08-24 Martin Gieseking <martin.gieseking@uos.de>
8920
8921 * src/CommandLine.cpp, src/CommandLine.h:
8922 speed up printing help by using puts() instead of C++ streams
8923
8924 2009-08-21 Martin Gieseking <martin.gieseking@uos.de>
8925
8926 * src/FontMap.cpp:
8927 fixed memory bug in FontMap
8928
8929 * src/CmdLineParserBase.cpp, src/CmdLineParserBase.h, src/Makefile.am,
8930 src/dvisvgm.cpp, src/options.xml, tests/CommandLineTest.h,
8931 tests/Makefile.am:
8932 improved CmdLineParserBase and replaced gengetopt-based parser
8933
8934 * NEWS, configure.ac, src/CmdLineParserBase.cpp, src/CmdLineParserBase.h,
8935 src/Doxyfile:
8936 increased version number to 0.8.2
8937
8938 2009-08-20 Martin Gieseking <martin.gieseking@uos.de>
8939
8940 * src/InputReader.cpp, src/InputReader.h:
8941 added method parseUInt()
8942
8943 * src/CmdLineParserBase.cpp, src/CmdLineParserBase.h, src/options.xml:
8944 added files for replacement of gengetopt (not active yet)
8945
8946 * src/CmdLineParserBase.cpp, src/CmdLineParserBase.h:
8947 finished cmdline parser
8948
8949 * COPYING:
8950 added copy of file COPYING
8951
8952 2009-08-17 Martin Gieseking <martin.gieseking@uos.de>
8953
8954 * tests/Makefile.am:
8955 added include path to fix broken distcheck
8956
8957 * COPYING, LICENSE, Makefile.am, README, doc/dvisvgm.txt.in,
8958 src/BgColorSpecialHandler.cpp, src/BgColorSpecialHandler.h,
8959 src/Bitmap.cpp, src/Bitmap.h, src/BoundingBox.cpp, src/BoundingBox.h,
8960 src/Calculator.cpp, src/Calculator.h, src/CharmapTranslator.cpp,
8961 src/CharmapTranslator.h, src/Color.cpp, src/Color.h,
8962 src/ColorSpecialHandler.cpp, src/ColorSpecialHandler.h, src/DLLoader.cpp,
8963 src/DLLoader.h, src/DVIActions.cpp, src/DVIActions.h, src/DVIReader.cpp,
8964 src/DVIReader.h, src/DVIToSVG.cpp, src/DVIToSVG.h,
8965 src/DVIToSVGActions.cpp, src/DVIToSVGActions.h, src/Directory.cpp,
8966 src/Directory.h, src/DvisvgmSpecialHandler.cpp,
8967 src/DvisvgmSpecialHandler.h, src/EmSpecialHandler.cpp,
8968 src/EmSpecialHandler.h, src/FileFinder.cpp, src/FileFinder.h,
8969 src/FileSystem.cpp, src/FileSystem.h, src/Font.cpp, src/Font.h,
8970 src/FontCache.cpp, src/FontCache.h, src/FontEmitter.h,
8971 src/FontEncoding.cpp, src/FontEncoding.h, src/FontEngine.cpp,
8972 src/FontEngine.h, src/FontGlyph.cpp, src/FontGlyph.h,
8973 src/FontManager.cpp, src/FontManager.h, src/FontMap.cpp, src/FontMap.h,
8974 src/GFGlyphTracer.cpp, src/GFGlyphTracer.h, src/GFReader.cpp,
8975 src/GFReader.h, src/GFTracer.cpp, src/GFTracer.h, src/Ghostscript.cpp,
8976 src/Ghostscript.h, src/GraphicPath.h, src/InputBuffer.cpp,
8977 src/InputBuffer.h, src/InputReader.cpp, src/InputReader.h,
8978 src/Matrix.cpp, src/Matrix.h, src/Message.cpp, src/Message.h,
8979 src/MessageException.h, src/MetafontWrapper.cpp, src/MetafontWrapper.h,
8980 src/PSInterpreter.cpp, src/PSInterpreter.h, src/PageSize.cpp,
8981 src/PageSize.h, src/Pair.h, src/PsSpecialHandler.cpp,
8982 src/PsSpecialHandler.h, src/SVGFontEmitter.cpp, src/SVGFontEmitter.h,
8983 src/SVGFontTraceEmitter.cpp, src/SVGFontTraceEmitter.h, src/SVGTree.cpp,
8984 src/SVGTree.h, src/SpecialActions.h, src/SpecialHandler.h,
8985 src/SpecialManager.cpp, src/SpecialManager.h, src/StreamCounter.h,
8986 src/StreamReader.cpp, src/StreamReader.h, src/TFM.cpp, src/TFM.h,
8987 src/TpicSpecialHandler.cpp, src/TpicSpecialHandler.h, src/VFActions.h,
8988 src/VFReader.cpp, src/VFReader.h, src/VectorStream.h,
8989 src/XMLDocTypeNode.h, src/XMLDocument.cpp, src/XMLDocument.h,
8990 src/XMLNode.cpp, src/XMLNode.h, src/XMLString.cpp, src/XMLString.h,
8991 src/dvisvgm.cpp, src/inttypes.h, src/macros.h, src/psdefs.psc,
8992 src/types.h, tests/CalculatorTest.h, tests/ColorSpecialTest.h,
8993 tests/DirectoryTest.h, tests/FileFinderTest.h, tests/FontManagerTest.h,
8994 tests/FontMapTest.h, tests/GraphicPathTest.h, tests/MatrixTest.h,
8995 tests/PageSizeTest.h, tests/SplittedCharInputBufferTest.h,
8996 tests/StreamCounterTest.h, tests/StreamInputBufferTest.h,
8997 tests/VectorStreamTest.h:
8998 changed license to GPL version 3 or later
8999
9000 2009-08-10 Martin Gieseking <martin.gieseking@uos.de>
9001
9002 * fedora/dvisvgm-0.8.1-potrace.patch, fedora/dvisvgm.spec:
9003 added spec file and patch for Fedora builds
9004
9005 * Makefile.am, configure.ac, src/Makefile.am, src/tests/CalculatorTest.h,
9006 src/tests/ColorSpecialTest.h, src/tests/DirectoryTest.h,
9007 src/tests/FileFinderTest.h, src/tests/FontManagerTest.h,
9008 src/tests/FontMapTest.h, src/tests/GraphicPathTest.h,
9009 src/tests/MatrixTest.h, src/tests/PageSizeTest.h,
9010 src/tests/SplittedCharInputBufferTest.h, src/tests/StreamCounterTest.h,
9011 src/tests/StreamInputBufferTest.h, src/tests/VectorStreamTest.h,
9012 src/tests/dvipdfm_test.map, src/tests/dvips_test.map,
9013 tests/CalculatorTest.h, tests/ColorSpecialTest.h, tests/DirectoryTest.h,
9014 tests/FileFinderTest.h, tests/FontManagerTest.h, tests/FontMapTest.h,
9015 tests/GraphicPathTest.h, tests/Makefile.am, tests/MatrixTest.h,
9016 tests/PageSizeTest.h, tests/SplittedCharInputBufferTest.h,
9017 tests/StreamCounterTest.h, tests/StreamInputBufferTest.h,
9018 tests/VectorStreamTest.h, tests/dvipdfm_test.map, tests/dvips_test.map:
9019 moved tests from src/tests to ./tests
9020
9021 * tests/Makefile.am:
9022 added generated file test-all.cpp to CLEANFILES
9023
9024 2009-08-02 Martin Gieseking <martin.gieseking@uos.de>
9025
9026 * LICENSE, Makefile.am, src/Ghostscript.cpp:
9027 modified package to be compatible with prerequisites of Fedora
9028
9029 2009-07-30 Martin Gieseking <martin.gieseking@uos.de>
9030
9031 * configure.ac, src/DVIToSVG.cpp:
9032 added target triplet to version string in SVG output
9033
9034 * src/DVIToSVGActions.cpp, src/Ghostscript.cpp, src/Ghostscript.h,
9035 src/PsSpecialHandler.cpp, src/PsSpecialHandler.h:
9036 added Ghostscript revision info to output of dvisvgm -l
9037
9038 2009-07-29 Martin Gieseking <martin.gieseking@uos.de>
9039
9040 * src/psdefs.psc:
9041 added vim tag to psdefs.psc
9042
9043 2009-07-28 Martin Gieseking <martin.gieseking@uos.de>
9044
9045 * src/PsSpecialHandler.cpp:
9046 added evaluation of more psfile parameters; fixed psfile bounding box
9047 bug
9048
9049 * NEWS, configure.ac, src/Doxyfile:
9050 updated version number to 0.8.1
9051
9052 * NEWS, src/FileSystem.cpp, src/FontEngine.cpp, src/FontManager.cpp,
9053 src/Ghostscript.cpp, src/PageSize.cpp, src/dvisvgm.cpp:
9054 fixed bug related to unsigned/size_t mismatch on x64 systems
9055
9056 * src/psdefs.psc:
9057 cleaned up VC++ build files; added batch file to generate cmdline.c;
9058 added generated file psdefs.psc for convenience
9059
9060 2009-07-27 Martin Gieseking <martin.gieseking@uos.de>
9061
9062 * src/DLLoader.cpp, src/InputReader.cpp, src/PSInterpreter.cpp:
9063 changes to make VC happy; fixed potential memory bug
9064
9065 * NEWS, README:
9066 fixed typos; updated homepage/manpage
9067
9068 * src/DVIReader.h, src/InputBuffer.cpp, src/InputBuffer.h,
9069 src/InputReader.cpp, src/InputReader.h, src/Matrix.cpp, src/Matrix.h,
9070 src/PSInterpreter.h:
9071 replaced size_t parameters by unsigned
9072
9073 2009-07-23 Martin Gieseking <martin.gieseking@uos.de>
9074
9075 * src/PSInterpreter.cpp:
9076 some clean-ups
9077
9078 2009-07-22 Martin Gieseking <martin.gieseking@uos.de>
9079
9080 * NEWS, README, doc/dvisvgm.txt.in, src/BoundingBox.cpp,
9081 src/BoundingBox.h, src/GraphicPath.h, src/PSInterpreter.cpp,
9082 src/PsSpecialHandler.cpp, src/PsSpecialHandler.h:
9083 fixed clipping bug; updated homepage, README, NEWS
9084
9085 * src/TpicSpecialHandler.cpp:
9086 fixed reintroduced bug in TPIC handler
9087
9088 2009-07-20 Martin Gieseking <martin.gieseking@uos.de>
9089
9090 * src/DvisvgmSpecialHandler.cpp, src/InputBuffer.cpp, src/InputReader.cpp,
9091 src/InputReader.h, src/PsSpecialHandler.cpp, src/PsSpecialHandler.h,
9092 src/tests/StreamInputBufferTest.h:
9093 implemented psfile special; fixed some bugs
9094
9095 * src/PsSpecialHandler.cpp, src/SVGTree.cpp:
9096 fixed bbox bug; added missing file
9097
9098 2009-07-19 Martin Gieseking <martin.gieseking@uos.de>
9099
9100 * configure.ac, doc/dvisvgm.txt.in, src/BoundingBox.cpp,
9101 src/BoundingBox.h, src/Color.cpp, src/Color.h, src/DLLoader.cpp,
9102 src/DLLoader.h, src/DVIToSVG.cpp, src/DVIToSVG.h,
9103 src/DVIToSVGActions.cpp, src/DVIToSVGActions.h, src/Doxyfile,
9104 src/DvisvgmSpecialHandler.cpp, src/EmSpecialHandler.cpp,
9105 src/FileFinder.cpp, src/FontEncoding.cpp, src/Ghostscript.cpp,
9106 src/Ghostscript.h, src/GraphicPath.h, src/InputBuffer.cpp,
9107 src/InputBuffer.h, src/InputReader.cpp, src/InputReader.h,
9108 src/Makefile.am, src/Matrix.cpp, src/Matrix.h, src/PSInterpreter.cpp,
9109 src/PSInterpreter.h, src/PsSpecialHandler.cpp, src/PsSpecialHandler.h,
9110 src/SVGFontEmitter.cpp, src/SVGFontEmitter.h,
9111 src/SVGFontTraceEmitter.cpp, src/SVGFontTraceEmitter.h, src/SVGTree.h,
9112 src/SpecialActions.h, src/TpicSpecialHandler.cpp,
9113 src/TransformationMatrix.cpp, src/TransformationMatrix.h,
9114 src/XMLDocument.cpp, src/XMLDocument.h, src/XMLNode.cpp, src/XMLNode.h,
9115 src/iapi.h, src/ierrors.h, src/tests/GraphicPathTest.h,
9116 src/tests/MatrixTest.h, src/tests/SplittedCharInputBufferTest.h,
9117 src/tests/StreamInputBufferTest.h:
9118 transplanted PS functionality to default branch
9119
9120 2009-06-01 Martin Gieseking <martin.gieseking@uos.de>
9121
9122 * src/GFReader.cpp, src/GFReader.h:
9123 removed error method, use Message::estream instead
9124
9125 * src/InputBuffer.cpp, src/InputBuffer.h, src/Makefile.am:
9126 transplanted changes to InputBuffer from branch 'pages'
9127
9128 * src/Bitmap.cpp, src/Bitmap.h:
9129 transplanted changes to Bitmap from branch 'pages'
9130
9131 * src/DVIReader.cpp, src/DVIReader.h:
9132 transplanted changes to DVIReader from branch 'pages'
9133
9134 * src/FileSystem.cpp, src/FileSystem.h:
9135 transplanted changes to FileSystem from branch 'pages'
9136
9137 * src/VFReader.cpp:
9138 transplanted changes to VFReader from branch 'pages'
9139
9140 * src/GFTracer.cpp:
9141 transplanted changes to GFTracer from branch 'pages'
9142
9143 * src/BgColorSpecialHandler.cpp, src/BgColorSpecialHandler.h,
9144 src/ColorSpecialHandler.cpp, src/ColorSpecialHandler.h,
9145 src/DvisvgmSpecialHandler.cpp, src/DvisvgmSpecialHandler.h,
9146 src/EmSpecialHandler.cpp, src/EmSpecialHandler.h, src/SpecialHandler.h,
9147 src/SpecialManager.cpp, src/SpecialManager.h, src/TpicSpecialHandler.cpp,
9148 src/TpicSpecialHandler.h:
9149 transplanted changes to SpecialHandlers from branch 'pages'
9150
9151 2009-04-24 Martin Gieseking <martin.gieseking@uos.de>
9152
9153 * src/TpicSpecialHandler.cpp:
9154 fixed TPIC handler bug that could caused unwanted color fills of
9155 ellipses due to a missing call of reset()
9156
9157 * NEWS, configure.ac, src/Doxyfile:
9158 increased version number to 0.7.3
9159
9160 * src/FontCache.h:
9161 increased version of font cache files to ensure their recreation due to
9162 the previously fixed shorthand path command bug
9163
9164 2009-04-23 Martin Gieseking <martin.gieseking@uos.de>
9165
9166 * src/FontGlyph.cpp:
9167 fixed bug in computation of shorthand path command
9168
9169 2009-04-06 Martin Gieseking <martin.gieseking@uos.de>
9170
9171 * src/FontMap.cpp:
9172 fixed bug in FontMap that causes a segfault if extension in given font
9173 file is missing (reported by Armin Geisse)
9174
9175 2009-04-02 Martin Gieseking <martin.gieseking@uos.de>
9176
9177 * configure.ac, doc/dvisvgm.txt.in, src/MetafontWrapper.cpp,
9178 src/dvisvgm.cpp:
9179 prepared release 0.7.2 (removed inclusions of debug.h, adapted homepage
9180 and manpage)
9181
9182 2009-03-31 Martin Gieseking <martin.gieseking@uos.de>
9183
9184 * src/MetafontWrapper.cpp, src/MetafontWrapper.h:
9185 ported fix in MetafontWrapper back to default branch
9186
9187 2009-03-25 Martin Gieseking <martin.gieseking@uos.de>
9188
9189 * src/DVIToSVG.cpp, src/DVIToSVG.h, src/FontGlyph.cpp,
9190 src/SVGFontTraceEmitter.cpp, src/SVGFontTraceEmitter.h, src/dvisvgm.cpp:
9191 replaced Metafont magnification variable and its setters by a public
9192 class variable
9193
9194 * src/Doxyfile:
9195 added doxygen files
9196
9197 * src/SVGFontTraceEmitter.cpp:
9198 fixed closing bracket "bug" when writing the currently traced character
9199 to the terminal
9200
9201 2009-03-24 Martin Gieseking <martin.gieseking@uos.de>
9202
9203 * NEWS, src/FontCache.cpp, src/FontGlyph.cpp, src/FontGlyph.h,
9204 src/GFGlyphTracer.cpp, src/Pair.h, src/SVGFontEmitter.cpp:
9205 use of shorthand path commands has been implemented
9206
9207 * src/FontGlyph.cpp:
9208 fixed potential bug in Glyph::optimizeCommands()
9209
9210 * src/FontGlyph.cpp:
9211 fixed memory bug in Glyph::optimizeCommands()
9212
9213 2009-03-20 Martin Gieseking <martin.gieseking@uos.de>
9214
9215 * src/FontCache.cpp:
9216 cache files are being compressed now to reduce the file size
9217
9218 2009-03-19 Martin Gieseking <martin.gieseking@uos.de>
9219
9220 * NEWS, doc/dvisvgm.txt.in, src/FontEmitter.h, src/GFGlyphTracer.cpp,
9221 src/SVGFontEmitter.cpp, src/SVGFontEmitter.h,
9222 src/SVGFontTraceEmitter.cpp, src/SVGFontTraceEmitter.h, src/dvisvgm.cpp,
9223 src/options.ggo:
9224 added option --trace-all that forces tracing of all glyphs of all
9225 currently used bitmap fonts
9226
9227 * src/FontCache.cpp, src/SVGFontTraceEmitter.cpp:
9228 don't read existing cache file if --trace-all is given (trace complete
9229 font and then write cache file instead)
9230
9231 2009-03-18 Martin Gieseking <martin.gieseking@uos.de>
9232
9233 * src/FontCache.cpp:
9234 fixed bug in read/write functions of FontCache
9235
9236 * src/DVIToSVG.cpp, src/TFM.cpp, src/TFM.h:
9237 added firstChar()/lastChar() to TFM class, removed unnecessary mag
9238 member variable and its setter
9239
9240 2009-03-17 Martin Gieseking <martin.gieseking@uos.de>
9241
9242 * doc/dvisvgm.txt.in, src/DVIToSVG.cpp, src/FileSystem.cpp,
9243 src/FileSystem.h, src/FontCache.cpp, src/FontCache.h, src/FontGlyph.h,
9244 src/GFGlyphTracer.cpp, src/GFGlyphTracer.h, src/Makefile.am,
9245 src/SVGFontTraceEmitter.cpp, src/SVGFontTraceEmitter.h, src/dvisvgm.cpp:
9246 completed font caching support
9247
9248 * doc/dvisvgm.txt.in, src/dvisvgm.cpp:
9249 added option variant --cache=? to display the default cache directory
9250
9251 * src/FontCache.cpp:
9252 reduced size of cache file format by using variable integer sizes
9253
9254 2009-03-16 Martin Gieseking <martin.gieseking@uos.de>
9255
9256 * NEWS, configure.ac, doc/dvisvgm.txt.in, src/DVIToSVG.cpp,
9257 src/FileSystem.cpp, src/FileSystem.h, src/FontCache.cpp, src/FontCache.h,
9258 src/FontGlyph.cpp, src/FontGlyph.h, src/GFGlyphTracer.cpp,
9259 src/GFGlyphTracer.h, src/GFTracer.cpp, src/options.ggo:
9260 first additions to support font caching; not working yet
9261
9262 2009-03-11 Martin Gieseking <martin.gieseking@uos.de>
9263
9264 * src/DVIReader.h, src/DVIToSVG.cpp, src/DVIToSVGActions.cpp,
9265 src/DVIToSVGActions.h, src/FontEmitter.h, src/SVGFontEmitter.cpp,
9266 src/SVGFontEmitter.h, src/SVGFontTraceEmitter.cpp,
9267 src/SVGFontTraceEmitter.h:
9268 improved font embedding algorithm in case of --no-fonts (identical
9269 glyphs in different sizes are now referenced rather than duplicated)
9270
9271 2009-03-10 Martin Gieseking <martin.gieseking@uos.de>
9272
9273 * NEWS, src/DVIToSVG.cpp, src/DVIToSVGActions.cpp, src/Font.h,
9274 src/SVGFontEmitter.cpp, src/SVGFontTraceEmitter.cpp:
9275 all glyph sizes are now computed correctly in conjuction with option
9276 --no-fonts
9277
9278 2009-03-09 Martin Gieseking <martin.gieseking@uos.de>
9279
9280 * src/BgColorSpecialHandler.cpp, src/SpecialManager.cpp,
9281 src/TpicSpecialHandler.cpp:
9282 adapted Code to make VC happy
9283
9284 * src/types.h:
9285 minor changes to homepage and .hgignore
9286
9287 * src/DVIReader.cpp, src/DVIReader.h, src/DVIToSVG.cpp, src/DVIToSVG.h,
9288 src/DVIToSVGActions.cpp:
9289 fixed transformation bug (transformations are now applied properly to
9290 the page)
9291
9292 2009-03-08 Martin Gieseking <martin.gieseking@uos.de>
9293
9294 * NEWS, README, src/Color.cpp, src/Color.h, src/ColorSpecialHandler.cpp,
9295 src/DVIToSVGActions.cpp, src/DVIToSVGActions.h,
9296 src/DvisvgmSpecialHandler.cpp, src/EmSpecialHandler.cpp, src/Makefile.am,
9297 src/TpicSpecialHandler.cpp:
9298 added bgcolor support, updated homepage, fixed color handler bug
9299
9300 * src/BgColorSpecialHandler.cpp, src/BgColorSpecialHandler.h:
9301 added missing background color handler
9302
9303 2009-03-06 Martin Gieseking <martin.gieseking@uos.de>
9304
9305 * src/TpicSpecialHandler.cpp, src/TpicSpecialHandler.h:
9306 implemented arc drawing of tpic special set
9307
9308 * src/TpicSpecialHandler.cpp, src/TpicSpecialHandler.h:
9309 implemented splines of tpic specials
9310
9311 2009-03-03 Martin Gieseking <martin.gieseking@uos.de>
9312
9313 * src/BoundingBox.cpp, src/BoundingBox.h, src/Color.cpp,
9314 src/ColorSpecialHandler.cpp, src/ColorSpecialHandler.h, src/DVIActions.h,
9315 src/DVIBBoxActions.h, src/DVIToSVG.cpp, src/DVIToSVG.h,
9316 src/DVIToSVGActions.cpp, src/DVIToSVGActions.h, src/EmSpecialHandler.cpp,
9317 src/Makefile.am, src/SpecialActions.h, src/SpecialHandler.h,
9318 src/TpicSpecialHandler.cpp:
9319 improved computation of the bounding box (works with specials now);
9320 added dummy function for background color assignments
9321
9322 * doc/Makefile.am, doc/dvisvgm.txt.in, src/DVIToSVGActions.cpp,
9323 src/DVIToSVGActions.h, src/DvisvgmSpecialHandler.cpp,
9324 src/DvisvgmSpecialHandler.h, src/InputBuffer.cpp, src/InputBuffer.h,
9325 src/SpecialActions.h:
9326 implemented the dvisvgm specials raw, image, and bbox
9327
9328 * doc/dvisvgm.txt.in, src/DvisvgmSpecialHandler.cpp,
9329 src/DvisvgmSpecialHandler.h:
9330 minor code improvements; comments added
9331
9332 2009-02-26 Martin Gieseking <martin.gieseking@uos.de>
9333
9334 * doc/Makefile.am, doc/dvisvgm.txt, doc/dvisvgm.txt.in:
9335 removed generated file, added dvisvgm.txt.in
9336
9337 * doc/Makefile.am, doc/dvisvgm.txt.in:
9338 improved manpage
9339
9340 2009-02-25 Martin Gieseking <martin.gieseking@uos.de>
9341
9342 * src/DVIToSVGActions.cpp, src/DVIToSVGActions.h,
9343 src/DvisvgmSpecialHandler.cpp, src/EmSpecialHandler.cpp,
9344 src/SpecialActions.h, src/TpicSpecialHandler.cpp:
9345 renamed appendInPage() to appendToPage
9346
9347 2009-02-24 Martin Gieseking <martin.gieseking@uos.de>
9348
9349 * src/ColorSpecialHandler.cpp, src/ColorSpecialHandler.h,
9350 src/DVIToSVGActions.cpp, src/DvisvgmSpecialHandler.cpp,
9351 src/DvisvgmSpecialHandler.h, src/EmSpecialHandler.cpp,
9352 src/EmSpecialHandler.h, src/Makefile.am, src/SpecialColorHandler.cpp,
9353 src/SpecialColorHandler.h, src/SpecialDvisvgmHandler.cpp,
9354 src/SpecialDvisvgmHandler.h, src/SpecialEmHandler.cpp,
9355 src/SpecialEmHandler.h, src/SpecialHandler.h, src/SpecialHtmlHandler.h,
9356 src/SpecialManager.cpp, src/SpecialManager.h,
9357 src/tests/ColorSpecialTest.h:
9358 improved SpecialHandler is now able to handle unprefixed specials
9359
9360 * NEWS, src/Color.cpp, src/Color.h, src/DVIToSVGActions.cpp,
9361 src/Makefile.am, src/Pair.h, src/SpecialHandler.h,
9362 src/SpecialManager.cpp, src/SpecialManager.h, src/TpicSpecialHandler.cpp,
9363 src/TpicSpecialHandler.h:
9364 first tpic implementations; not complete yet
9365
9366 * NEWS, doc/dvisvgm.1.in, src/TpicSpecialHandler.cpp:
9367 few additions to tpic handler
9368
9369 2009-02-23 Martin Gieseking <martin.gieseking@uos.de>
9370
9371 * NEWS, configure.ac, doc/dvisvgm.1.in, src/DVIBBoxActions.h,
9372 src/DVIReader.h, src/DVIToSVG.cpp, src/DVIToSVG.h,
9373 src/DVIToSVGActions.cpp, src/FontEmitter.h, src/FontEngine.cpp,
9374 src/FontEngine.h, src/FontGlyph.cpp, src/FontGlyph.h,
9375 src/SVGFontEmitter.cpp, src/SVGFontEmitter.h,
9376 src/SVGFontTraceEmitter.cpp, src/SVGFontTraceEmitter.h, src/XMLNode.cpp,
9377 src/XMLNode.h, src/dvisvgm.cpp, src/options.ggo,
9378 src/tests/ColorSpecialTest.h:
9379 added option --no-fonts wich uses path elements instead of fonts
9380
9381 2009-02-20 Martin Gieseking <martin.gieseking@uos.de>
9382
9383 * NEWS, doc/dvisvgm.1.in, src/Color.cpp, src/Color.h,
9384 src/DVIToSVGActions.cpp, src/DVIToSVGActions.h, src/Makefile.am,
9385 src/SpecialActions.h, src/SpecialColorHandler.cpp,
9386 src/SpecialDvisvgmHandler.cpp, src/SpecialDvisvgmHandler.h,
9387 src/SpecialEmHandler.cpp, src/SpecialEmHandler.h,
9388 src/SpecialHtmlHandler.h, src/VerbSpecialHandler.cpp,
9389 src/VerbSpecialHandler.h:
9390 fixed bug in color handler, added skeletons of dvisvgm/hyperref special
9391 handlers
9392
9393 2009-02-18 Martin Gieseking <martin.gieseking@uos.de>
9394
9395 * src/Color.h, src/DVIToSVGActions.cpp, src/DVIToSVGActions.h,
9396 src/Makefile.am, src/SpecialActions.h, src/SpecialColorHandler.cpp,
9397 src/SpecialEmHandler.cpp:
9398 added color support to emTeX specials, removed Color class
9399
9400 * NEWS, src/SpecialActions.h, src/tests/ColorSpecialTest.h:
9401 adapted color test to new interface, added emtex info
9402
9403 2009-02-17 Martin Gieseking <martin.gieseking@uos.de>
9404
9405 * src/DVIReader.cpp:
9406 made DVICommand local to executeCommand, removed unnecessary if
9407 statement
9408
9409 2009-02-14 Martin Gieseking <martin.gieseking@uos.de>
9410
9411 * src/Color.h, src/DVIToSVGActions.cpp, src/DVIToSVGActions.h:
9412 finished color support
9413
9414 * src/dvisvgm.cpp:
9415 fixed incorrect behavior of option -V/--version
9416
9417 * NEWS, configure.ac:
9418 increased version number to 0.6.2, updated NEWS
9419
9420 * doc/dvisvgm.1.in, src/DVIToSVG.cpp, src/DVIToSVG.h,
9421 src/DVIToSVGActions.cpp, src/dvisvgm.cpp, src/options.ggo:
9422 added option --no-style
9423
9424 * NEWS, configure.ac:
9425 prepared release of version 0.7
9426
9427 2009-02-13 Martin Gieseking <martin.gieseking@uos.de>
9428
9429 * Makefile.am, configure.ac, src/tests/DirectoryTest.h:
9430 removed rpm support
9431
9432 * prepare:
9433 added administrative files
9434
9435 * src/ColorSpecialHandler.cpp, src/ColorSpecialHandler.h:
9436 reverted to previous version, removed dependency on Color class
9437
9438 * src/DVIToSVGActions.cpp, src/DVIToSVGActions.h, src/Makefile.am,
9439 src/SpecialActions.h, src/SpecialHandler.h, src/SpecialManager.cpp,
9440 src/SpecialManager.h:
9441 color specials are now processed by DVIToSVGActions, but don't create
9442 any results yet
9443
9444 * prepare:
9445 updated administrative files
9446
9447 * src/ColorSpecialHandler.cpp, src/Makefile.am,
9448 src/tests/ColorSpecialTest.h:
9449 added tests for ColorSpecialHandler
9450
9451 2009-02-12 martin@xps <martin@xps>
9452
9453 * src/inttypes.h:
9454 added rudimentary files for writing of SWF files; not ready yet
9455
9456 2009-02-10 Martin Gieseking <martin.gieseking@uos.de>
9457
9458 * src/Color.h, src/ColorSpecialHandler.cpp, src/ColorSpecialHandler.h,
9459 src/Makefile.am:
9460 replaced RGB arrays by Color class
9461
9462 2009-02-09 Martin Gieseking <martin.gieseking@uos.de>
9463
9464 * src/TransformationMatrix.cpp:
9465 made y-coordinate of cmdline-option -t optional
9466
9467 2009-02-06 Martin Gieseking <martin.gieseking@uos.de>
9468
9469 * doc/dvisvgm.1.in, src/ColorSpecialHandler.h, src/DVIToSVG.cpp,
9470 src/DVIToSVG.h, src/DVIToSVGActions.cpp, src/DVIToSVGActions.h,
9471 src/SpecialHandler.h, src/SpecialManager.cpp, src/SpecialManager.h,
9472 src/dvisvgm.cpp, src/options.ggo:
9473 added option --list-specials that lists all registered special handlers
9474
9475 * src/FileFinder.cpp:
9476 changed lookup order of font maps
9477
9478 2009-02-05 Martin Gieseking <martin.gieseking@uos.de>
9479
9480 * src/DVIToSVG.cpp, src/DVIToSVG.h, src/DVIToSVGActions.cpp,
9481 src/DVIToSVGActions.h, src/dvisvgm.cpp, src/options.ggo:
9482 added optional prefix list to commandline option --no-specials
9483
9484 * src/DVIToSVGActions.cpp:
9485 replaced special ignore list evaluation algorithm
9486
9487 2009-02-04 Martin Gieseking <martin.gieseking@uos.de>
9488
9489 * src/FileFinder.cpp:
9490 added option for additional loading of user maps
9491
9492 * src/FontMap.cpp:
9493 added output of font encoding in write method
9494
9495 2009-02-03 Martin Gieseking <martin.gieseking@uos.de>
9496
9497 * src/ColorSpecialHandler.cpp, src/ColorSpecialHandler.h,
9498 src/DVIToSVGActions.cpp, src/DVIToSVGActions.h, src/SpecialHandler.h,
9499 src/SpecialManager.cpp, src/SpecialManager.h, src/options.ggo:
9500 more color special implementation (color constants), still not ready
9501
9502 * src/FileFinder.cpp, src/FileFinder.h, src/dvisvgm.cpp:
9503 option -m/--map-file is now evaluated properly
9504
9505 * map/cork-lm.map:
9506 removed deprecated map subdirectory
9507
9508 2009-02-02 Martin Gieseking <martin.gieseking@uos.de>
9509
9510 * NEWS, src/FileFinder.cpp:
9511 fixed buggy call of maketfm/makemf in Windows version
9512
9513 * src/ColorSpecialHandler.cpp, src/ColorSpecialHandler.h, src/Makefile.am,
9514 src/SpecialHandler.h, src/SpecialManager.cpp, src/SpecialManager.h:
9515 added special support skeletons; not working yet
9516
9517 * src/ColorSpecialHandler.cpp, src/ColorSpecialHandler.h:
9518 some refactorings in color handler
9519
9520 2009-01-30 Martin Gieseking <martin.gieseking@uos.de>
9521
9522 * src/dvisvgm.cpp:
9523 prevented writing zero-length svg files; simplified main code by using
9524 auto pointers
9525
9526 * NEWS, src/DVIReader.cpp, src/DVIReader.h:
9527 fixed magnification bug
9528
9529 2009-01-29 Martin Gieseking <martin.gieseking@uos.de>
9530
9531 * src/FileFinder.cpp:
9532 adapted Windows version to new release
9533
9534 2009-01-28 Martin Gieseking <martin.gieseking@uos.de>
9535
9536 * src/FileFinder.cpp, src/FileFinder.h, src/Makefile.am,
9537 src/tests/DirectoryTest.h, src/tests/FileFinderTest.h,
9538 src/tests/FontManagerTest.h, src/tests/KPSFileFinderTest.h:
9539 refactored FileFinder (implementation as singleton)
9540
9541 * src/dvisvgm.cpp:
9542 use new initialisation of FileFinder
9543
9544 * src/GFReader.h, src/GFTracer.cpp, src/GFTracer.h:
9545 improved GFTracer to support unscaled results
9546
9547 * src/FontMap.cpp, src/Makefile.am, src/tests/FontMapTest.h,
9548 src/tests/dvipdfm_test.map, src/tests/dvips_test.map:
9549 extensions to FontMap almost complete but not finished yet
9550
9551 * src/Calculator.cpp, src/DVIToSVG.cpp, src/FontEncoding.cpp,
9552 src/FontMap.cpp, src/SVGFontEmitter.cpp, src/SVGFontTraceEmitter.cpp:
9553 replaced comparisions with "" with calls of empty()
9554
9555 * src/FileFinder.cpp, src/FontMap.cpp, src/FontMap.h,
9556 src/tests/FontMapTest.h, src/tests/dvips_test.map:
9557 FontMap now supports dvips and dvipdfm maps
9558
9559 * NEWS, configure.ac, doc/dvisvgm.1.in:
9560 adapted configuration and documentation to new dvips map file support
9561
9562 2009-01-27 Martin Gieseking <martin.gieseking@uos.de>
9563
9564 * src/GFGlyphTracer.cpp, src/GFGlyphTracer.h, src/GFTracer.cpp,
9565 src/GFTracer.h, src/Makefile.am, src/SVGFontTraceEmitter.cpp,
9566 src/SVGFontTraceEmitter.h:
9567 made GFTracer a generic class with template methods
9568
9569 2009-01-26 Martin Gieseking <martin.gieseking@uos.de>
9570
9571 * src/Bitmap.cpp, src/Bitmap.h, src/GFReader.cpp, src/GFReader.h,
9572 src/GFTracer.cpp, src/Makefile.am:
9573 improvements to GF handling, first skeletton of gf->metapost (gfprint)
9574
9575 * src/InputBuffer.h:
9576 fixed incompatible types bug
9577
9578 2009-01-25 Martin Gieseking <martin.gieseking@uos.de>
9579
9580 * src/InputBuffer.cpp, src/InputBuffer.h:
9581 added missing include
9582
9583 * src/FontMap.cpp, src/FontMap.h:
9584 started redesign of FontMap, not complete yet
9585
9586 * src/CharmapTranslator.cpp, src/DVIToSVG.cpp, src/FileFinder.cpp,
9587 src/FileFinder.h, src/Font.cpp, src/FontEncoding.cpp,
9588 src/FontManager.cpp, src/KPSFileFinder.cpp, src/KPSFileFinder.h,
9589 src/Makefile.am, src/MetafontWrapper.cpp, src/TFM.cpp, src/dvisvgm.cpp:
9590 renamed KPSFileFinder to FileFinder
9591
9592 * src/FontMap.cpp:
9593 basic dvips font map support, not complete yet
9594
9595 2009-01-23 Martin Gieseking <martin.gieseking@uos.de>
9596
9597 * doc/Makefile.am, doc/dvisvgm.1.in:
9598 manpage updates
9599
9600 2009-01-22 Martin Gieseking <martin.gieseking@uos.de>
9601
9602 * src/FontMap.cpp:
9603 forgot to remove address operator
9604
9605 * src/KPSFileFinder.cpp, src/KPSFileFinder.h, src/dvisvgm.cpp:
9606 added support for MiKTeX' new COM interface
9607
9608 * src/DVIReader.cpp, src/FontManager.cpp, src/KPSFileFinder.cpp:
9609 memory leak fixed
9610
9611 * src/KPSFileFinder.cpp:
9612 fixed throwing of COM exception
9613
9614 * Makefile.am, NEWS, README, configure.ac, potracelib/Makefile.am:
9615 updated version info to 0.6
9616
9617 * src/tests/CalculatorTest.h, src/tests/DirectoryTest.h,
9618 src/tests/FontManagerTest.h, src/tests/FontMapTest.h,
9619 src/tests/KPSFileFinderTest.h, src/tests/PageSizeTest.h,
9620 src/tests/StreamCounterTest.h, src/tests/VectorStreamTest.h:
9621 updated tests
9622
9623 * doc/dvisvgm.1.in, src/Bitmap.cpp, src/Bitmap.h, src/BoundingBox.cpp,
9624 src/BoundingBox.h, src/Calculator.cpp, src/Calculator.h,
9625 src/CharmapTranslator.cpp, src/CharmapTranslator.h, src/DVIActions.cpp,
9626 src/DVIActions.h, src/DVIBBoxActions.h, src/DVIReader.cpp,
9627 src/DVIReader.h, src/DVIToSVG.cpp, src/DVIToSVG.h,
9628 src/DVIToSVGActions.cpp, src/DVIToSVGActions.h, src/Directory.cpp,
9629 src/Directory.h, src/FileFinder.cpp, src/FileFinder.h,
9630 src/FileSystem.cpp, src/FileSystem.h, src/Font.cpp, src/Font.h,
9631 src/FontEmitter.h, src/FontEncoding.cpp, src/FontEncoding.h,
9632 src/FontEngine.cpp, src/FontEngine.h, src/FontGlyph.cpp, src/FontGlyph.h,
9633 src/FontManager.cpp, src/FontManager.h, src/FontMap.cpp, src/FontMap.h,
9634 src/GFReader.cpp, src/GFReader.h, src/GFTracer.cpp, src/GFTracer.h,
9635 src/InputBuffer.cpp, src/InputBuffer.h, src/KPSFileFinder.cpp,
9636 src/KPSFileFinder.h, src/Makefile.am, src/Matrix.cpp, src/Matrix.h,
9637 src/Message.cpp, src/Message.h, src/MessageException.h,
9638 src/MetafontWrapper.cpp, src/MetafontWrapper.h, src/PSInterpreter.cpp,
9639 src/PSInterpreter.h, src/PageSize.cpp, src/PageSize.h, src/Pair.h,
9640 src/SVGFontEmitter.cpp, src/SVGFontEmitter.h,
9641 src/SVGFontTraceEmitter.cpp, src/SVGFontTraceEmitter.h,
9642 src/StreamCounter.h, src/StreamReader.cpp, src/StreamReader.h,
9643 src/TFM.cpp, src/TFM.h, src/TransformationMatrix.cpp,
9644 src/TransformationMatrix.h, src/VFActions.h, src/VFReader.cpp,
9645 src/VFReader.h, src/VectorStream.h, src/XMLDocTypeNode.h,
9646 src/XMLDocument.cpp, src/XMLDocument.h, src/XMLNode.cpp, src/XMLNode.h,
9647 src/XMLString.cpp, src/XMLString.h, src/dvisvgm.cpp, src/macros.h,
9648 src/options.ggo, src/types.h:
9649 updated file header comments
9650
9651 * configure.ac:
9652 added test whether dvipdfm.map is available
9653
9654 2009-01-21 Martin Gieseking <martin.gieseking@uos.de>
9655
9656 * src/DVIReader.cpp, src/DVIReader.h, src/DVIToSVG.cpp,
9657 src/FontEncoding.cpp, src/FontGlyph.cpp:
9658 fixed bugs in handling of font encodings and virtual fonts
9659
9660 * src/Calculator.cpp, src/DVIReader.cpp, src/DVIToSVGActions.cpp,
9661 src/Directory.cpp, src/FontEncoding.cpp, src/FontEngine.cpp,
9662 src/FontManager.cpp, src/FontMap.cpp, src/KPSFileFinder.cpp,
9663 src/MetafontWrapper.cpp, src/PageSize.cpp, src/StreamReader.cpp,
9664 src/TFM.cpp, src/TransformationMatrix.cpp, src/VFReader.cpp,
9665 src/XMLDocument.cpp, src/XMLNode.cpp:
9666 added in/out attributes to parameter documentation
9667
9668 2009-01-20 Martin Gieseking <martin.gieseking@uos.de>
9669
9670 * src/DVIReader.cpp, src/DVIToSVG.cpp, src/Font.h, src/FontEncoding.cpp,
9671 src/FontEncoding.h, src/FontEngine.cpp, src/FontEngine.h,
9672 src/FontGlyph.cpp, src/FontGlyph.h, src/FontManager.cpp,
9673 src/FontManager.h, src/InputBuffer.cpp, src/InputBuffer.h,
9674 src/SVGFontEmitter.cpp, src/SVGFontEmitter.h:
9675 first working version with font encoding support
9676
9677 * src/FontEngine.cpp, src/FontEngine.h, src/SVGFontEmitter.cpp:
9678 fixed glyph positioning bug occured in conjunction with font encoding
9679
9680 * src/SVGFontEmitter.cpp:
9681 fixed memory bug
9682
9683 2009-01-19 Martin Gieseking <martin.gieseking@uos.de>
9684
9685 * src/FontEncoding.cpp, src/FontEncoding.h, src/FontEngine.cpp,
9686 src/FontEngine.h, src/FontManager.cpp, src/FontManager.h,
9687 src/FontMap.cpp, src/FontMap.h, src/KPSFileFinder.cpp,
9688 src/KPSFileFinder.h:
9689 more encoding implementations, not complete yet
9690
9691 * src/DVIReader.cpp, src/FontEncoding.cpp, src/FontEncoding.h,
9692 src/FontEngine.cpp, src/FontEngine.h, src/FontManager.cpp,
9693 src/FontManager.h, src/FontMap.cpp:
9694 partly working mapping support, but yet too slow
9695
9696 2009-01-16 Martin Gieseking <martin.gieseking@uos.de>
9697
9698 * src/TransformationMatrix.cpp:
9699 fixed bug in argument assignment of transformation command M
9700
9701 2009-01-15 Martin Gieseking <martin.gieseking@uos.de>
9702
9703 * src/TransformationMatrix.cpp:
9704 removed a dangerous loop remained from previous code
9705
9706 2009-01-14 Martin Gieseking <martin.gieseking@uos.de>
9707
9708 * potracelib/auxiliary.h, potracelib/bitmap.h, potracelib/curve.c,
9709 potracelib/curve.h, potracelib/decompose.c, potracelib/decompose.h,
9710 potracelib/lists.h, potracelib/potracelib.c, potracelib/potracelib.h,
9711 potracelib/progress.h, potracelib/trace.c, potracelib/trace.h:
9712 updated libpotrace to version 1.8
9713
9714 * src/FontEncoding.cpp, src/FontEncoding.h, src/InputBuffer.cpp,
9715 src/InputBuffer.h, src/Makefile.am:
9716 added basic skeleton for handling of font encodings
9717
9718 * src/FileSystem.cpp, src/FileSystem.h:
9719 const string parameters
9720
9721 * src/dvisvgm.cpp:
9722 updated copyright string
9723
9724 * src/KPSFileFinder.cpp:
9725 added enc-file support
9726
9727 2009-01-13 Martin Gieseking <martin.gieseking@uos.de>
9728
9729 * src/CharmapTranslator.cpp:
9730 fixed crash on loading corrupt pfb-files
9731
9732 2008-06-18 Martin Gieseking <martin.gieseking@uos.de>
9733
9734 * src/Makefile.am:
9735 adapted to latest gengetopt version
9736
9737 2008-04-07 Martin Gieseking <martin.gieseking@uos.de>
9738
9739 * src/Makefile.am:
9740 added missing include path
9741
9742 * src/DVIReader.cpp:
9743 minor change
9744
9745 2007-03-26 Martin Gieseking <martin.gieseking@uos.de>
9746
9747 * NEWS, src/CharmapTranslator.cpp, src/CharmapTranslator.h,
9748 src/DVIActions.h, src/DVIReader.cpp, src/DVIToSVG.cpp,
9749 src/DVIToSVGActions.cpp, src/DVIToSVGActions.h, src/Font.h,
9750 src/FontManager.cpp, src/Makefile.am, src/SVGFontTraceEmitter.cpp,
9751 src/SVGFontTraceEmitter.h:
9752 redesigned DVIActions and CharmapTranslator
9753
9754 * src/DVIActions.cpp, src/DVIReader.cpp, src/DVIReader.h,
9755 src/FontManager.cpp, src/tests/FontManagerTest.h:
9756 few minor changes
9757
9758 2007-03-25 Martin Gieseking <martin.gieseking@uos.de>
9759
9760 * src/DVIActions.cpp, src/DVIActions.h, src/DVIBBoxActions.h,
9761 src/DVIReader.cpp, src/DVIReader.h, src/DVIToSVG.cpp,
9762 src/DVIToSVGActions.cpp, src/DVIToSVGActions.h, src/Font.cpp, src/Font.h,
9763 src/FontManager.cpp, src/FontManager.h, src/StreamReader.cpp,
9764 src/StreamReader.h, src/VFActions.h, src/VFReader.cpp, src/VFReader.h,
9765 src/VectorStream.h:
9766 first working version 0.5, release candidate 1
9767
9768 * src/DVIReader.cpp, src/DVIReader.h, src/VFActions.h:
9769 minor fixes
9770
9771 2007-03-23 Martin Gieseking <martin.gieseking@uos.de>
9772
9773 * src/DVIReader.cpp, src/FontManager.cpp, src/FontManager.h,
9774 src/KPSFileFinder.cpp, src/KPSFileFinder.h, src/VFReader.cpp:
9775 more vf implementations, not complete yet
9776
9777 2007-03-22 Martin Gieseking <martin.gieseking@uos.de>
9778
9779 * NEWS, doc/Makefile.in, src/DVIReader.cpp, src/DVIReader.h,
9780 src/DVIToSVG.cpp, src/DVIToSVG.h, src/FileSystem.cpp, src/FileSystem.h,
9781 src/KPSFileFinder.cpp, src/KPSFileFinder.h, src/Makefile.am,
9782 src/dvisvgm.cpp, src/tests/DirectoryTest.h, src/tests/FontManagerTest.h:
9783 reintegrated font map initialization into KPSFileFinderm adapted some
9784 tests
9785
9786 * src/DVIReader.cpp, src/Font.cpp, src/Font.h, src/FontManager.cpp,
9787 src/VFActions.h, src/VFReader.cpp, src/VFReader.h:
9788 more vf implementations
9789
9790 2007-03-21 Martin Gieseking <martin.gieseking@uos.de>
9791
9792 * AUTHORS, Makefile.am, README, potracelib/Makefile.am, src/Directory.cpp,
9793 src/Directory.h, src/KPSFileFinder.cpp, src/Makefile, src/Makefile.am,
9794 src/Makefile.in, src/SVGFontTraceEmitter.cpp, src/test-all.cpp,
9795 src/tests/DirectoryTest.h:
9796 implemented Directory class for Linux, added DirectoryTest
9797
9798 * src/Calculator.cpp, src/DVIReader.cpp, src/Directory.cpp, src/Font.h,
9799 src/FontManager.cpp, src/Makefile, src/Makefile.am, src/Makefile.in,
9800 src/MetafontWrapper.cpp, src/VFReader.cpp, src/VectorStream.h,
9801 src/test-all.cpp, src/tests/VectorStreamTest.h:
9802 removed redundant code and commented code fragments, added
9803 VectorInputStream class
9804
9805 * src/Directory.cpp, src/Directory.h, src/KPSFileFinder.cpp,
9806 src/KPSFileFinder.h, src/dvisvgm.cpp:
9807 completed MiKTeX font map file look-up, fixed bug in Directory class
9808
9809 * src/KPSFileFinder.cpp, src/KPSFileFinder.h, src/dvisvgm.cpp:
9810 implemented options -n and -m
9811
9812 2007-03-20 Martin Gieseking <martin.gieseking@uos.de>
9813
9814 * NEWS, doc/Makefile, doc/Makefile.in, doc/dvisvgm.1.in,
9815 src/DVIReader.cpp, src/DVIToSVG.cpp, src/Font.cpp, src/Font.h,
9816 src/FontManager.cpp, src/KPSFileFinder.cpp, src/Makefile,
9817 src/Makefile.am, src/Makefile.in, src/VFReader.cpp, src/dvisvgm.cpp,
9818 src/test-all.cpp, src/tests/KPSFileFinderTest.h:
9819 added KPSFileFinderTest, added EmptyFont, fixed compilation error
9820
9821 * src/Directory.cpp, src/Directory.h, src/FileSystem.cpp, src/FontMap.cpp,
9822 src/FontMap.h, src/KPSFileFinder.cpp:
9823 more changes for MiKTeX support
9824
9825 2007-03-19 Martin Gieseking <martin.gieseking@uos.de>
9826
9827 * src/CharmapTranslator.cpp, src/DVIToSVG.cpp, src/FontManager.cpp,
9828 src/KPSFileFinder.cpp, src/KPSFileFinder.h, src/Makefile,
9829 src/Makefile.am, src/Makefile.in, src/MetafontWrapper.cpp, src/TFM.cpp:
9830 added mktexFOO support and font map lookups to KPSFileFinder
9831
9832 * src/KPSFileFinder.cpp:
9833 bug fixed, font maps work now
9834
9835 * src/Font.cpp, src/Font.h, src/FontManager.cpp, src/FontMap.cpp,
9836 src/FontMap.h, src/KPSFileFinder.cpp:
9837 made sources comaptible with MikTeX
9838
9839 2007-03-16 Martin Gieseking <martin.gieseking@uos.de>
9840
9841 * src/Font.cpp, src/Font.h, src/FontManager.cpp, src/FontMap.cpp,
9842 src/FontMap.h, src/KPSFileFinder.cpp, src/Makefile, src/Makefile.am,
9843 src/Makefile.in, src/StreamReader.cpp, src/TFM.cpp, src/options.ggo,
9844 src/tests/FontMapTest.h:
9845 more coding in the font department, not finished yet
9846
9847 2007-03-09 Martin Gieseking <martin.gieseking@uos.de>
9848
9849 * src/CharmapTranslator.cpp, src/CharmapTranslator.h, src/DVIReader.cpp,
9850 src/DVIReader.h, src/DVIToSVG.cpp, src/DVIToSVGActions.cpp, src/Font.cpp,
9851 src/FontManager.cpp, src/GFTracer.cpp, src/KPSFileFinder.cpp,
9852 src/KPSFileFinder.h, src/Makefile, src/Makefile.am, src/Makefile.in,
9853 src/MetafontWrapper.cpp, src/MetafontWrapper.h,
9854 src/SVGFontTraceEmitter.cpp, src/SVGFontTraceEmitter.h,
9855 src/StreamReader.cpp, src/StreamReader.h, src/TFM.cpp, src/TFM.h,
9856 src/VFReader.cpp, src/VFReader.h, src/dvisvgm.cpp, src/options.ggo,
9857 src/test-all.cpp:
9858 refactorings: extracted StreamReader class, replaced generic FileFinder
9859 support by KPSFileFinder calls
9860
9861 2007-03-08 Martin Gieseking <martin.gieseking@uos.de>
9862
9863 * src/DVIActions.h, src/DVIBBoxActions.h, src/DVIReader.cpp,
9864 src/DVIReader.h, src/DVIToSVG.cpp, src/DVIToSVGActions.cpp,
9865 src/DVIToSVGActions.h, src/Font.cpp, src/Font.h, src/FontManager.cpp,
9866 src/FontManager.h, src/KPSFileFinder.cpp, src/KPSFileFinder.h,
9867 src/Makefile, src/Makefile.am, src/Makefile.in, src/Message.cpp,
9868 src/dvisvgm.cpp, src/macros.h, src/test-all.cpp:
9869 first unstable version with redesigned font handling
9870
9871 * COPYING, Makefile, Makefile.am, Makefile.in, Martins_svg_neu.svg, NEWS,
9872 aclocal.m4, cmdline.c, config.guess, config.h, config.h.in,
9873 config.status, config.sub, configure.ac, depcomp, doc/Makefile,
9874 doc/dvisvgm.1, doc/dvisvgm.1.in, gpl.txt, install-sh, missing,
9875 src/FontManager.cpp, src/FontManager.h, src/Makefile.am,
9876 src/VFReader.cpp, src/tests/FontManagerTest.h, stamp-h1, table.txt:
9877 removed some garbage from the repository, added initial FontManagerTest
9878
9879 * doc/dvisvgm.1, src/FontEngine.h, src/dvisvgm.cpp,
9880 src/tests/FontManagerTest.h:
9881 minor changes
9882
9883 * src/DVIBBoxReader.cpp, src/DVIBBoxReader.h, src/Font.cpp, src/Font.h,
9884 src/StreamCounter.h, src/dvisvgm.cpp:
9885 fixed memory bug
9886
9887 * src/DVIReader.cpp, src/DVIToSVGActions.cpp, src/Font.h, src/Makefile,
9888 src/Makefile.am, src/Makefile.in, src/VFActions.h, src/VFReader.cpp,
9889 src/VFReader.h, src/dvisvgm.cpp:
9890 plugged VFReader and its actions into the code (not usable yet)
9891
9892 2007-03-07 Martin Gieseking <martin.gieseking@uos.de>
9893
9894 * src/Font.cpp, src/Font.h:
9895 added Font classes (not yet error-free)
9896
9897 2007-03-06 Martin Gieseking <martin.gieseking@uos.de>
9898
9899 * src/DVIReader.h, src/DVIToSVG.cpp, src/FontManager.cpp,
9900 src/FontManager.h:
9901 added FontManager skeleton, fixed bug in makehead
9902
9903 2007-03-03 Martin Gieseking <martin.gieseking@uos.de>
9904
9905 * src/DVIReader.cpp, src/FontManager.cpp, src/VFReader.cpp:
9906 added some more skeleton code
9907
9908 2007-03-02 Martin Gieseking <martin.gieseking@uos.de>
9909
9910 * src/DVIReader.cpp, src/Makefile, src/Makefile.in, src/VFReader.cpp,
9911 src/VFReader.h, src/options.ggo:
9912 added skeleton of VFReader
9913
9914 2007-01-10 Martin Gieseking <martin.gieseking@uos.de>
9915
9916 * src/Bitmap.cpp, src/Bitmap.h, src/BoundingBox.cpp, src/BoundingBox.h,
9917 src/Calculator.cpp, src/Calculator.h, src/CharmapTranslator.cpp,
9918 src/CharmapTranslator.h, src/DVIActions.h, src/DVIBBoxActions.h,
9919 src/DVIBBoxReader.cpp, src/DVIBBoxReader.h, src/DVIReader.cpp,
9920 src/DVIReader.h, src/DVIToSVG.cpp, src/DVIToSVG.h,
9921 src/DVIToSVGActions.cpp, src/DVIToSVGActions.h, src/FileFinder.cpp,
9922 src/FileFinder.h, src/FileSystem.cpp, src/FileSystem.h,
9923 src/FontEmitter.h, src/FontEngine.cpp, src/FontEngine.h,
9924 src/FontGlyph.cpp, src/FontGlyph.h, src/FontMap.cpp, src/FontMap.h,
9925 src/GFReader.cpp, src/GFReader.h, src/GFTracer.cpp, src/GFTracer.h,
9926 src/KPSFileFinder.cpp, src/KPSFileFinder.h, src/Makefile,
9927 src/Makefile.am, src/Makefile.in, src/Matrix.cpp, src/Matrix.h,
9928 src/Message.cpp, src/Message.h, src/MessageException.h,
9929 src/MetafontWrapper.cpp, src/MetafontWrapper.h, src/PSInterpreter.cpp,
9930 src/PSInterpreter.h, src/PageSize.cpp, src/PageSize.h, src/Pair.h,
9931 src/SVGFontEmitter.cpp, src/SVGFontEmitter.h,
9932 src/SVGFontTraceEmitter.cpp, src/SVGFontTraceEmitter.h,
9933 src/StreamCounter.h, src/TFM.cpp, src/TFM.h,
9934 src/TransformationMatrix.cpp, src/TransformationMatrix.h,
9935 src/XMLDocTypeNode.h, src/XMLDocument.cpp, src/XMLDocument.h,
9936 src/XMLNode.cpp, src/XMLNode.h, src/XMLString.cpp, src/XMLString.h,
9937 src/cmdline.c, src/cmdline.h, src/dvisvgm.cpp, src/getopt.c,
9938 src/getopt.h, src/getopt1.c, src/gzstream.cpp, src/gzstream.h,
9939 src/macros.h, src/miktex-core.def, src/miktex-kps.def, src/miktex-kps.h,
9940 src/options.ggo, src/test-all.cpp, src/tests/CalculatorTest.h,
9941 src/tests/PageSizeTest.h, src/tests/StreamCounterTest.h, src/types.h:
9942 moved dir
9943
9944 * INSTALL, Makefile.am, NEWS, README, configure.ac, doc/Makefile,
9945 doc/Makefile.am, doc/Makefile.in, doc/dvisvgm.1, doc/dvisvgm.1.in,
9946 gzstream/COPYING.LIB, gzstream/Makefile, gzstream/README,
9947 gzstream/gzstream.cpp, gzstream/gzstream.h, gzstream/index.html,
9948 gzstream/logo.gif, gzstream/test_gunzip.C, gzstream/test_gzip.C,
9949 gzstream/version, map/cork-lm.map, potracelib/Makefile.am,
9950 potracelib/auxiliary.h, potracelib/bitmap.h, potracelib/curve.c,
9951 potracelib/curve.h, potracelib/decompose.c, potracelib/decompose.h,
9952 potracelib/lists.h, potracelib/potracelib.c, potracelib/potracelib.h,
9953 potracelib/progress.h, potracelib/trace.c, potracelib/trace.h:
9954 moved sources
9955
9956 * src/cmdline.c, src/cmdline.h:
9957 remove unnecessary files
9958
9959 2007-01-09 Martin Gieseking <martin.gieseking@uos.de>
9960
9961 * INSTALL, Makefile.am, NEWS, README, configure.ac, doc/Makefile,
9962 doc/Makefile.am, doc/Makefile.in, doc/dvisvgm.1, doc/dvisvgm.1.in,
9963 gzstream/COPYING.LIB, gzstream/Makefile, gzstream/README,
9964 gzstream/gzstream.cpp, gzstream/gzstream.h, gzstream/index.html,
9965 gzstream/logo.gif, gzstream/test_gunzip.C, gzstream/test_gzip.C,
9966 gzstream/version, potracelib/Makefile.am, potracelib/auxiliary.h,
9967 potracelib/bitmap.h, potracelib/curve.c, potracelib/curve.h,
9968 potracelib/decompose.c, potracelib/decompose.h, potracelib/lists.h,
9969 potracelib/potracelib.c, potracelib/potracelib.h, potracelib/progress.h,
9970 potracelib/trace.c, potracelib/trace.h, src/Bitmap.cpp, src/Bitmap.h,
9971 src/BoundingBox.cpp, src/BoundingBox.h, src/Calculator.cpp,
9972 src/Calculator.h, src/CharmapTranslator.cpp, src/CharmapTranslator.h,
9973 src/DVIActions.h, src/DVIBBoxActions.h, src/DVIBBoxReader.cpp,
9974 src/DVIBBoxReader.h, src/DVIReader.cpp, src/DVIReader.h,
9975 src/DVIToSVG.cpp, src/DVIToSVG.h, src/DVIToSVGActions.cpp,
9976 src/DVIToSVGActions.h, src/FileFinder.cpp, src/FileFinder.h,
9977 src/FileSystem.cpp, src/FileSystem.h, src/FontEmitter.h,
9978 src/FontEngine.cpp, src/FontEngine.h, src/FontGlyph.cpp, src/FontGlyph.h,
9979 src/FontMap.cpp, src/FontMap.h, src/GFReader.cpp, src/GFReader.h,
9980 src/GFTracer.cpp, src/GFTracer.h, src/KPSFileFinder.cpp,
9981 src/KPSFileFinder.h, src/Makefile, src/Makefile.am, src/Makefile.in,
9982 src/Matrix.cpp, src/Matrix.h, src/Message.cpp, src/Message.h,
9983 src/MessageException.h, src/MetafontWrapper.cpp, src/MetafontWrapper.h,
9984 src/PSInterpreter.cpp, src/PSInterpreter.h, src/PageSize.cpp,
9985 src/PageSize.h, src/Pair.h, src/SVGFontEmitter.cpp, src/SVGFontEmitter.h,
9986 src/SVGFontTraceEmitter.cpp, src/SVGFontTraceEmitter.h,
9987 src/StreamCounter.h, src/TFM.cpp, src/TFM.h,
9988 src/TransformationMatrix.cpp, src/TransformationMatrix.h,
9989 src/XMLDocTypeNode.h, src/XMLDocument.cpp, src/XMLDocument.h,
9990 src/XMLNode.cpp, src/XMLNode.h, src/XMLString.cpp, src/XMLString.h,
9991 src/cmdline.c, src/cmdline.h, src/dvisvgm.cpp, src/getopt.c,
9992 src/getopt.h, src/getopt1.c, src/gzstream.cpp, src/gzstream.h,
9993 src/macros.h, src/miktex-core.def, src/miktex-kps.def, src/miktex-kps.h,
9994 src/options.ggo, src/test-all.cpp, src/tests/CalculatorTest.h,
9995 src/tests/PageSizeTest.h, src/tests/StreamCounterTest.h, src/types.h:
9996 moved files to trunk subfolder
9997
9998 * map/cork-lm.map:
9999 moved files to trunk
10000
10001 2007-01-05 Martin Gieseking <martin.gieseking@uos.de>
10002
10003 * Makefile, Makefile.am, Makefile.in, README, config.status, configure.ac,
10004 potracelib/Makefile.am, potracelib/bitops.h, potracelib/flate.c,
10005 potracelib/flate.h, src/Bitmap.cpp, src/Bitmap.h, src/BoundingBox.cpp,
10006 src/BoundingBox.h, src/Calculator.cpp, src/Calculator.h,
10007 src/CharmapTranslator.cpp, src/CharmapTranslator.h, src/DVIActions.h,
10008 src/DVIBBoxActions.h, src/DVIBBoxReader.cpp, src/DVIBBoxReader.h,
10009 src/DVIReader.cpp, src/DVIReader.h, src/DVIToSVG.cpp, src/DVIToSVG.h,
10010 src/DVIToSVGActions.cpp, src/DVIToSVGActions.h, src/FileFinder.cpp,
10011 src/FileFinder.h, src/FileSystem.cpp, src/FileSystem.h,
10012 src/FontEmitter.h, src/FontEngine.cpp, src/FontEngine.h,
10013 src/FontGlyph.cpp, src/FontGlyph.h, src/FontMap.cpp, src/FontMap.h,
10014 src/GFReader.cpp, src/GFReader.h, src/GFTracer.cpp, src/GFTracer.h,
10015 src/KPSFileFinder.cpp, src/KPSFileFinder.h, src/Makefile.am,
10016 src/Matrix.cpp, src/Matrix.h, src/Message.cpp, src/Message.h,
10017 src/MessageException.h, src/MetafontWrapper.cpp, src/MetafontWrapper.h,
10018 src/PSInterpreter.cpp, src/PSInterpreter.h, src/PageSize.cpp,
10019 src/PageSize.h, src/Pair.h, src/SVGFontEmitter.cpp, src/SVGFontEmitter.h,
10020 src/SVGFontTraceEmitter.cpp, src/SVGFontTraceEmitter.h,
10021 src/StreamCounter.h, src/TFM.cpp, src/TFM.h,
10022 src/TransformationMatrix.cpp, src/TransformationMatrix.h,
10023 src/XMLDocTypeNode.h, src/XMLDocument.cpp, src/XMLDocument.h,
10024 src/XMLNode.cpp, src/XMLNode.h, src/XMLString.cpp, src/XMLString.h,
10025 src/dvisvgm.cpp, src/macros.h, src/test-all.cpp, src/types.h:
10026 minor modifications
10027
10028 2007-01-03 Martin Gieseking <martin.gieseking@uos.de>
10029
10030 * NEWS, src/KPSFileFinder.cpp:
10031 updated homepage
10032
10033 * Makefile, Makefile.am, Makefile.in, config.h, config.h.in,
10034 config.status, configure, configure.ac, doc/Makefile,
10035 potracelib/Makefile.am, potracelib/auxiliary.h, potracelib/bitmap.h,
10036 potracelib/bitops.h, potracelib/curve.c, potracelib/curve.h,
10037 potracelib/decompose.c, potracelib/decompose.h, potracelib/flate.c,
10038 potracelib/flate.h, potracelib/lists.h, potracelib/potracelib.c,
10039 potracelib/potracelib.h, potracelib/progress.h, potracelib/trace.c,
10040 potracelib/trace.h, src/Makefile, src/Makefile.am, src/Makefile.in:
10041 added potracelib to distribution
10042
10043 * configure:
10044 removed configure from repository
10045
10046 2006-12-31 Martin Gieseking <martin.gieseking@uos.de>
10047
10048 * NEWS, configure.ac, src/DVIToSVG.cpp, src/FileSystem.cpp,
10049 src/FontEngine.cpp, src/GFTracer.cpp, src/KPSFileFinder.cpp,
10050 src/Matrix.h, src/Message.cpp, src/PageSize.cpp,
10051 src/TransformationMatrix.cpp, src/dvisvgm.cpp:
10052 updated to MikTeX 2.5 support
10053
10054 * Makefile, config.status, configure, configure.ac, doc/Makefile,
10055 doc/dvisvgm.1, src/FileSystem.cpp, src/FontEngine.cpp,
10056 src/KPSFileFinder.cpp, src/Makefile, src/dvisvgm.cpp, src/test-all.cpp:
10057 some minor fixes
10058
10059 * src/KPSFileFinder.cpp:
10060 fixed namepsace bug
10061
10062 2006-08-01 Martin Gieseking <martin.gieseking@uos.de>
10063
10064 * Makefile, Makefile.in, NEWS, aclocal.m4, autom4te.cache/output.0,
10065 autom4te.cache/requests, autom4te.cache/traces.0, config.h, config.log,
10066 config.status, configure, configure.ac, doc/Makefile, doc/Makefile.in,
10067 doc/dvisvgm.1, src/FontEngine.cpp, src/Makefile, src/Makefile.in,
10068 src/cmdline.c, src/cmdline.h, src/dvisvgm.cpp:
10069 added support for freetype version >= 2.1.1
10070
10071 * configure.ac:
10072 enabled svn keyword expansion
10073
10074 2006-04-12 Martin Gieseking <martin.gieseking@uos.de>
10075
10076 * COPYING, INSTALL, Makefile, Makefile.am, Makefile.in,
10077 Martins_svg_neu.svg, NEWS, README, aclocal.m4, autom4te.cache/output.0,
10078 autom4te.cache/requests, autom4te.cache/traces.0, cmdline.c,
10079 config.guess, config.h, config.h.in, config.log, config.status,
10080 config.sub, configure, configure.ac, depcomp, doc/Makefile,
10081 doc/Makefile.am, doc/Makefile.in, doc/dvisvgm.1, doc/dvisvgm.1.in,
10082 gpl.txt, gzstream/COPYING.LIB, gzstream/Makefile, gzstream/README,
10083 gzstream/gzstream.cpp, gzstream/gzstream.h, gzstream/index.html,
10084 gzstream/logo.gif, gzstream/test_gunzip.C, gzstream/test_gzip.C,
10085 gzstream/version, install-sh, map/cork-lm.map, missing, src/Bitmap.cpp,
10086 src/Bitmap.h, src/BoundingBox.cpp, src/BoundingBox.h, src/Calculator.cpp,
10087 src/Calculator.h, src/CharmapTranslator.cpp, src/CharmapTranslator.h,
10088 src/DVIActions.h, src/DVIBBoxActions.h, src/DVIBBoxReader.cpp,
10089 src/DVIBBoxReader.h, src/DVIReader.cpp, src/DVIReader.h,
10090 src/DVIToSVG.cpp, src/DVIToSVG.h, src/DVIToSVGActions.cpp,
10091 src/DVIToSVGActions.h, src/FileFinder.cpp, src/FileFinder.h,
10092 src/FileSystem.cpp, src/FileSystem.h, src/FontEmitter.h,
10093 src/FontEngine.cpp, src/FontEngine.h, src/FontGlyph.cpp, src/FontGlyph.h,
10094 src/FontMap.cpp, src/FontMap.h, src/GFReader.cpp, src/GFReader.h,
10095 src/GFTracer.cpp, src/GFTracer.h, src/KPSFileFinder.cpp,
10096 src/KPSFileFinder.h, src/Makefile, src/Makefile.am, src/Makefile.in,
10097 src/Matrix.cpp, src/Matrix.h, src/Message.cpp, src/Message.h,
10098 src/MessageException.h, src/MetafontWrapper.cpp, src/MetafontWrapper.h,
10099 src/PSInterpreter.cpp, src/PSInterpreter.h, src/PageSize.cpp,
10100 src/PageSize.h, src/Pair.h, src/SVGFontEmitter.cpp, src/SVGFontEmitter.h,
10101 src/SVGFontTraceEmitter.cpp, src/SVGFontTraceEmitter.h,
10102 src/StreamCounter.h, src/TFM.cpp, src/TFM.h,
10103 src/TransformationMatrix.cpp, src/TransformationMatrix.h,
10104 src/XMLDocTypeNode.h, src/XMLDocument.cpp, src/XMLDocument.h,
10105 src/XMLNode.cpp, src/XMLNode.h, src/XMLString.cpp, src/XMLString.h,
10106 src/cmdline.c, src/cmdline.h, src/dvisvgm.cpp, src/getopt.c,
10107 src/getopt.h, src/getopt1.c, src/gzstream.cpp, src/gzstream.h,
10108 src/lshort-cm.dvi, src/lshort-cm.svg, src/lshort-cm.svgz, src/lshort.dvi,
10109 src/lshort.svg, src/lshort.svgz, src/macros.h, src/miktex-core.def,
10110 src/miktex-kps.def, src/miktex-kps.h, src/options.ggo, src/test-all.cpp,
10111 src/tests/CalculatorTest.h, src/tests/PageSizeTest.h,
10112 src/tests/StreamCounterTest.h, src/types.h, stamp-h1, table.txt:
10113 initial import
10114
10115 * src/Bitmap.cpp, src/Bitmap.h, src/BoundingBox.cpp, src/BoundingBox.h,
10116 src/Calculator.cpp, src/Calculator.h, src/CharmapTranslator.cpp,
10117 src/CharmapTranslator.h, src/DVIActions.h, src/DVIBBoxActions.h,
10118 src/DVIBBoxReader.cpp, src/DVIBBoxReader.h, src/DVIReader.cpp,
10119 src/DVIReader.h, src/DVIToSVG.cpp, src/DVIToSVG.h,
10120 src/DVIToSVGActions.cpp, src/DVIToSVGActions.h, src/FileFinder.cpp,
10121 src/FileFinder.h, src/FileSystem.cpp, src/FileSystem.h,
10122 src/FontEmitter.h, src/FontEngine.cpp, src/FontEngine.h,
10123 src/FontGlyph.cpp, src/FontGlyph.h, src/FontMap.cpp, src/FontMap.h,
10124 src/GFReader.cpp, src/GFReader.h, src/GFTracer.cpp, src/GFTracer.h,
10125 src/KPSFileFinder.cpp, src/KPSFileFinder.h, src/Message.cpp,
10126 src/Message.h, src/MessageException.h, src/MetafontWrapper.cpp,
10127 src/MetafontWrapper.h, src/PageSize.cpp, src/PageSize.h, src/Pair.h,
10128 src/SVGFontEmitter.cpp, src/SVGFontEmitter.h,
10129 src/SVGFontTraceEmitter.cpp, src/SVGFontTraceEmitter.h,
10130 src/StreamCounter.h, src/TFM.cpp, src/TFM.h,
10131 src/TransformationMatrix.cpp, src/TransformationMatrix.h,
10132 src/XMLDocTypeNode.h, src/XMLDocument.cpp, src/XMLDocument.h,
10133 src/XMLNode.cpp, src/XMLNode.h, src/XMLString.cpp, src/XMLString.h,
10134 src/dvisvgm.cpp, src/macros.h, src/test-all.cpp,
10135 src/tests/CalculatorTest.h, src/tests/PageSizeTest.h,
10136 src/tests/StreamCounterTest.h, src/types.h:
10137 changed keyword tags
10138
10139 * src/lshort-cm.dvi, src/lshort-cm.svg, src/lshort-cm.svgz,
10140 src/lshort.dvi, src/lshort.svg, src/lshort.svgz:
10141 removed files that need not be version controlled
10142
+0
-876
Makefile.in less more
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15 VPATH = @srcdir@
16 am__is_gnu_make = { \
17 if test -z '$(MAKELEVEL)'; then \
18 false; \
19 elif test -n '$(MAKE_HOST)'; then \
20 true; \
21 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
22 true; \
23 else \
24 false; \
25 fi; \
26 }
27 am__make_running_with_option = \
28 case $${target_option-} in \
29 ?) ;; \
30 *) echo "am__make_running_with_option: internal error: invalid" \
31 "target option '$${target_option-}' specified" >&2; \
32 exit 1;; \
33 esac; \
34 has_opt=no; \
35 sane_makeflags=$$MAKEFLAGS; \
36 if $(am__is_gnu_make); then \
37 sane_makeflags=$$MFLAGS; \
38 else \
39 case $$MAKEFLAGS in \
40 *\\[\ \ ]*) \
41 bs=\\; \
42 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
43 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
44 esac; \
45 fi; \
46 skip_next=no; \
47 strip_trailopt () \
48 { \
49 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
50 }; \
51 for flg in $$sane_makeflags; do \
52 test $$skip_next = yes && { skip_next=no; continue; }; \
53 case $$flg in \
54 *=*|--*) continue;; \
55 -*I) strip_trailopt 'I'; skip_next=yes;; \
56 -*I?*) strip_trailopt 'I';; \
57 -*O) strip_trailopt 'O'; skip_next=yes;; \
58 -*O?*) strip_trailopt 'O';; \
59 -*l) strip_trailopt 'l'; skip_next=yes;; \
60 -*l?*) strip_trailopt 'l';; \
61 -[dEDm]) skip_next=yes;; \
62 -[JT]) skip_next=yes;; \
63 esac; \
64 case $$flg in \
65 *$$target_option*) has_opt=yes; break;; \
66 esac; \
67 done; \
68 test $$has_opt = yes
69 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
70 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
71 pkgdatadir = $(datadir)/@PACKAGE@
72 pkgincludedir = $(includedir)/@PACKAGE@
73 pkglibdir = $(libdir)/@PACKAGE@
74 pkglibexecdir = $(libexecdir)/@PACKAGE@
75 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
76 install_sh_DATA = $(install_sh) -c -m 644
77 install_sh_PROGRAM = $(install_sh) -c
78 install_sh_SCRIPT = $(install_sh) -c
79 INSTALL_HEADER = $(INSTALL_DATA)
80 transform = $(program_transform_name)
81 NORMAL_INSTALL = :
82 PRE_INSTALL = :
83 POST_INSTALL = :
84 NORMAL_UNINSTALL = :
85 PRE_UNINSTALL = :
86 POST_UNINSTALL = :
87 build_triplet = @build@
88 host_triplet = @host@
89 target_triplet = @target@
90 subdir = .
91 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
92 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
93 $(top_srcdir)/m4/ax_code_coverage.m4 \
94 $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \
95 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
96 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
97 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
98 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
99 $(ACLOCAL_M4)
100 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
101 $(am__configure_deps) $(am__DIST_COMMON)
102 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
103 configure.lineno config.status.lineno
104 mkinstalldirs = $(install_sh) -d
105 CONFIG_HEADER = config.h
106 CONFIG_CLEAN_FILES =
107 CONFIG_CLEAN_VPATH_FILES =
108 AM_V_P = $(am__v_P_@AM_V@)
109 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
110 am__v_P_0 = false
111 am__v_P_1 = :
112 AM_V_GEN = $(am__v_GEN_@AM_V@)
113 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
114 am__v_GEN_0 = @echo " GEN " $@;
115 am__v_GEN_1 =
116 AM_V_at = $(am__v_at_@AM_V@)
117 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
118 am__v_at_0 = @
119 am__v_at_1 =
120 SOURCES =
121 DIST_SOURCES =
122 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
123 ctags-recursive dvi-recursive html-recursive info-recursive \
124 install-data-recursive install-dvi-recursive \
125 install-exec-recursive install-html-recursive \
126 install-info-recursive install-pdf-recursive \
127 install-ps-recursive install-recursive installcheck-recursive \
128 installdirs-recursive pdf-recursive ps-recursive \
129 tags-recursive uninstall-recursive
130 am__can_run_installinfo = \
131 case $$AM_UPDATE_INFO_DIR in \
132 n|no|NO) false;; \
133 *) (install-info --version) >/dev/null 2>&1;; \
134 esac
135 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
136 distclean-recursive maintainer-clean-recursive
137 am__recursive_targets = \
138 $(RECURSIVE_TARGETS) \
139 $(RECURSIVE_CLEAN_TARGETS) \
140 $(am__extra_recursive_targets)
141 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
142 cscope distdir distdir-am dist dist-all distcheck
143 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
144 $(LISP)config.h.in
145 # Read a list of newline-separated strings from the standard input,
146 # and print each of them once, without duplicates. Input order is
147 # *not* preserved.
148 am__uniquify_input = $(AWK) '\
149 BEGIN { nonempty = 0; } \
150 { items[$$0] = 1; nonempty = 1; } \
151 END { if (nonempty) { for (i in items) print i; }; } \
152 '
153 # Make sure the list of sources is unique. This is necessary because,
154 # e.g., the same source file might be shared among _SOURCES variables
155 # for different programs/libraries.
156 am__define_uniq_tagged_files = \
157 list='$(am__tagged_files)'; \
158 unique=`for i in $$list; do \
159 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
160 done | $(am__uniquify_input)`
161 ETAGS = etags
162 CTAGS = ctags
163 CSCOPE = cscope
164 DIST_SUBDIRS = $(SUBDIRS)
165 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in AUTHORS \
166 COPYING ChangeLog INSTALL NEWS README ar-lib compile \
167 config.guess config.sub depcomp install-sh ltmain.sh missing
168 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
169 distdir = $(PACKAGE)-$(VERSION)
170 top_distdir = $(distdir)
171 am__remove_distdir = \
172 if test -d "$(distdir)"; then \
173 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
174 && rm -rf "$(distdir)" \
175 || { sleep 5 && rm -rf "$(distdir)"; }; \
176 else :; fi
177 am__post_remove_distdir = $(am__remove_distdir)
178 am__relativize = \
179 dir0=`pwd`; \
180 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
181 sed_rest='s,^[^/]*/*,,'; \
182 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
183 sed_butlast='s,/*[^/]*$$,,'; \
184 while test -n "$$dir1"; do \
185 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
186 if test "$$first" != "."; then \
187 if test "$$first" = ".."; then \
188 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
189 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
190 else \
191 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
192 if test "$$first2" = "$$first"; then \
193 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
194 else \
195 dir2="../$$dir2"; \
196 fi; \
197 dir0="$$dir0"/"$$first"; \
198 fi; \
199 fi; \
200 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
201 done; \
202 reldir="$$dir2"
203 DIST_ARCHIVES = $(distdir).tar.gz
204 GZIP_ENV = --best
205 DIST_TARGETS = dist-gzip
206 distuninstallcheck_listfiles = find . -type f -print
207 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
208 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
209 distcleancheck_listfiles = find . -type f -print
210 ACLOCAL = @ACLOCAL@
211 AMTAR = @AMTAR@
212 AM_CPPFLAGS = @AM_CPPFLAGS@
213 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
214 AM_LDFLAGS = @AM_LDFLAGS@
215 AR = @AR@
216 ASCIIDOC = @ASCIIDOC@
217 AUTOCONF = @AUTOCONF@
218 AUTOHEADER = @AUTOHEADER@
219 AUTOMAKE = @AUTOMAKE@
220 AWK = @AWK@
221 BROTLI_CFLAGS = @BROTLI_CFLAGS@
222 BROTLI_LIBS = @BROTLI_LIBS@
223 CC = @CC@
224 CCDEPMODE = @CCDEPMODE@
225 CFLAGS = @CFLAGS@
226 CODE_COVERAGE_CFLAGS = @CODE_COVERAGE_CFLAGS@
227 CODE_COVERAGE_CPPFLAGS = @CODE_COVERAGE_CPPFLAGS@
228 CODE_COVERAGE_CXXFLAGS = @CODE_COVERAGE_CXXFLAGS@
229 CODE_COVERAGE_ENABLED = @CODE_COVERAGE_ENABLED@
230 CODE_COVERAGE_LDFLAGS = @CODE_COVERAGE_LDFLAGS@
231 CODE_COVERAGE_LIBS = @CODE_COVERAGE_LIBS@
232 CPP = @CPP@
233 CPPFLAGS = @CPPFLAGS@
234 CXX = @CXX@
235 CXXCPP = @CXXCPP@
236 CXXDEPMODE = @CXXDEPMODE@
237 CXXFLAGS = @CXXFLAGS@
238 CYGPATH_W = @CYGPATH_W@
239 DATE = @DATE@
240 DEFS = @DEFS@
241 DEPDIR = @DEPDIR@
242 DLLTOOL = @DLLTOOL@
243 DSYMUTIL = @DSYMUTIL@
244 DUMPBIN = @DUMPBIN@
245 ECHO_C = @ECHO_C@
246 ECHO_N = @ECHO_N@
247 ECHO_T = @ECHO_T@
248 EGREP = @EGREP@
249 EXEEXT = @EXEEXT@
250 FGREP = @FGREP@
251 FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
252 FREETYPE_LIBS = @FREETYPE_LIBS@
253 GCOV = @GCOV@
254 GENHTML = @GENHTML@
255 GREP = @GREP@
256 HAVE_CXX11 = @HAVE_CXX11@
257 INSTALL = @INSTALL@
258 INSTALL_DATA = @INSTALL_DATA@
259 INSTALL_PROGRAM = @INSTALL_PROGRAM@
260 INSTALL_SCRIPT = @INSTALL_SCRIPT@
261 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
262 KPSE_CFLAGS = @KPSE_CFLAGS@
263 KPSE_LIBS = @KPSE_LIBS@
264 LCOV = @LCOV@
265 LD = @LD@
266 LDFLAGS = @LDFLAGS@
267 LIBCRYPTO_CFLAGS = @LIBCRYPTO_CFLAGS@
268 LIBCRYPTO_LIBS = @LIBCRYPTO_LIBS@
269 LIBOBJS = @LIBOBJS@
270 LIBS = @LIBS@
271 LIBTOOL = @LIBTOOL@
272 LIPO = @LIPO@
273 LN_S = @LN_S@
274 LTLIBOBJS = @LTLIBOBJS@
275 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
276 MAKEINFO = @MAKEINFO@
277 MANIFEST_TOOL = @MANIFEST_TOOL@
278 MKDIR_P = @MKDIR_P@
279 NM = @NM@
280 NMEDIT = @NMEDIT@
281 OBJDUMP = @OBJDUMP@
282 OBJEXT = @OBJEXT@
283 OTOOL = @OTOOL@
284 OTOOL64 = @OTOOL64@
285 PACKAGE = @PACKAGE@
286 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
287 PACKAGE_NAME = @PACKAGE_NAME@
288 PACKAGE_STRING = @PACKAGE_STRING@
289 PACKAGE_TARNAME = @PACKAGE_TARNAME@
290 PACKAGE_URL = @PACKAGE_URL@
291 PACKAGE_VERSION = @PACKAGE_VERSION@
292 PATH_SEPARATOR = @PATH_SEPARATOR@
293 PKG_CONFIG = @PKG_CONFIG@
294 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
295 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
296 RANLIB = @RANLIB@
297 SED = @SED@
298 SET_MAKE = @SET_MAKE@
299 SHELL = @SHELL@
300 STRIP = @STRIP@
301 TTFAUTOHINT_CFLAGS = @TTFAUTOHINT_CFLAGS@
302 TTFAUTOHINT_LIBS = @TTFAUTOHINT_LIBS@
303 VERSION = @VERSION@
304 WOFF2_CFLAGS = @WOFF2_CFLAGS@
305 WOFF2_LIBS = @WOFF2_LIBS@
306 XMLTO = @XMLTO@
307 XSLTPROC = @XSLTPROC@
308 ZLIB_CFLAGS = @ZLIB_CFLAGS@
309 ZLIB_LIBS = @ZLIB_LIBS@
310 abs_builddir = @abs_builddir@
311 abs_srcdir = @abs_srcdir@
312 abs_top_builddir = @abs_top_builddir@
313 abs_top_srcdir = @abs_top_srcdir@
314 ac_ct_AR = @ac_ct_AR@
315 ac_ct_CC = @ac_ct_CC@
316 ac_ct_CXX = @ac_ct_CXX@
317 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
318 am__include = @am__include@
319 am__leading_dot = @am__leading_dot@
320 am__quote = @am__quote@
321 am__tar = @am__tar@
322 am__untar = @am__untar@
323 bindir = @bindir@
324 build = @build@
325 build_alias = @build_alias@
326 build_cpu = @build_cpu@
327 build_os = @build_os@
328 build_vendor = @build_vendor@
329 builddir = @builddir@
330 datadir = @datadir@
331 datarootdir = @datarootdir@
332 docdir = @docdir@
333 dvidir = @dvidir@
334 dvisvgm_srcdir = @dvisvgm_srcdir@
335 exec_prefix = @exec_prefix@
336 host = @host@
337 host_alias = @host_alias@
338 host_cpu = @host_cpu@
339 host_os = @host_os@
340 host_vendor = @host_vendor@
341 htmldir = @htmldir@
342 includedir = @includedir@
343 infodir = @infodir@
344 install_sh = @install_sh@
345 libdir = @libdir@
346 libexecdir = @libexecdir@
347 localedir = @localedir@
348 localstatedir = @localstatedir@
349 mandir = @mandir@
350 mkdir_p = @mkdir_p@
351 oldincludedir = @oldincludedir@
352 pdfdir = @pdfdir@
353 prefix = @prefix@
354 program_transform_name = @program_transform_name@
355 psdir = @psdir@
356 sbindir = @sbindir@
357 sharedstatedir = @sharedstatedir@
358 srcdir = @srcdir@
359 sysconfdir = @sysconfdir@
360 target = @target@
361 target_alias = @target_alias@
362 target_cpu = @target_cpu@
363 target_os = @target_os@
364 target_vendor = @target_vendor@
365 top_build_prefix = @top_build_prefix@
366 top_builddir = @top_builddir@
367 top_srcdir = @top_srcdir@
368 AUTOMAKE_OPTIONS = foreign
369 EXTRA_DIST = COPYING
370 SUBDIRS = libs m4 src tests doc
371 ACLOCAL_AMFLAGS = -I m4
372 @USE_BUNDLED_LIBS_TRUE@AM_DISTCHECK_CONFIGURE_FLAGS = --enable-bundled-libs
373 @CODE_COVERAGE_ENABLED_TRUE@lcov_dir = $(top_builddir)/lcov
374 @CODE_COVERAGE_ENABLED_TRUE@lcov_file = $(lcov_dir)/lcov.info
375 all: config.h
376 $(MAKE) $(AM_MAKEFLAGS) all-recursive
377
378 .SUFFIXES:
379 am--refresh: Makefile
380 @:
381 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
382 @for dep in $?; do \
383 case '$(am__configure_deps)' in \
384 *$$dep*) \
385 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
386 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
387 && exit 0; \
388 exit 1;; \
389 esac; \
390 done; \
391 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
392 $(am__cd) $(top_srcdir) && \
393 $(AUTOMAKE) --foreign Makefile
394 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
395 @case '$?' in \
396 *config.status*) \
397 echo ' $(SHELL) ./config.status'; \
398 $(SHELL) ./config.status;; \
399 *) \
400 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
401 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
402 esac;
403
404 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
405 $(SHELL) ./config.status --recheck
406
407 $(top_srcdir)/configure: $(am__configure_deps)
408 $(am__cd) $(srcdir) && $(AUTOCONF)
409 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
410 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
411 $(am__aclocal_m4_deps):
412
413 config.h: stamp-h1
414 @test -f $@ || rm -f stamp-h1
415 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
416
417 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
418 @rm -f stamp-h1
419 cd $(top_builddir) && $(SHELL) ./config.status config.h
420 $(srcdir)/config.h.in: $(am__configure_deps)
421 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
422 rm -f stamp-h1
423 touch $@
424
425 distclean-hdr:
426 -rm -f config.h stamp-h1
427
428 mostlyclean-libtool:
429 -rm -f *.lo
430
431 clean-libtool:
432 -rm -rf .libs _libs
433
434 distclean-libtool:
435 -rm -f libtool config.lt
436
437 # This directory's subdirectories are mostly independent; you can cd
438 # into them and run 'make' without going through this Makefile.
439 # To change the values of 'make' variables: instead of editing Makefiles,
440 # (1) if the variable is set in 'config.status', edit 'config.status'
441 # (which will cause the Makefiles to be regenerated when you run 'make');
442 # (2) otherwise, pass the desired values on the 'make' command line.
443 $(am__recursive_targets):
444 @fail=; \
445 if $(am__make_keepgoing); then \
446 failcom='fail=yes'; \
447 else \
448 failcom='exit 1'; \
449 fi; \
450 dot_seen=no; \
451 target=`echo $@ | sed s/-recursive//`; \
452 case "$@" in \
453 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
454 *) list='$(SUBDIRS)' ;; \
455 esac; \
456 for subdir in $$list; do \
457 echo "Making $$target in $$subdir"; \
458 if test "$$subdir" = "."; then \
459 dot_seen=yes; \
460 local_target="$$target-am"; \
461 else \
462 local_target="$$target"; \
463 fi; \
464 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
465 || eval $$failcom; \
466 done; \
467 if test "$$dot_seen" = "no"; then \
468 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
469 fi; test -z "$$fail"
470
471 ID: $(am__tagged_files)
472 $(am__define_uniq_tagged_files); mkid -fID $$unique
473 tags: tags-recursive
474 TAGS: tags
475
476 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
477 set x; \
478 here=`pwd`; \
479 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
480 include_option=--etags-include; \
481 empty_fix=.; \
482 else \
483 include_option=--include; \
484 empty_fix=; \
485 fi; \
486 list='$(SUBDIRS)'; for subdir in $$list; do \
487 if test "$$subdir" = .; then :; else \
488 test ! -f $$subdir/TAGS || \
489 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
490 fi; \
491 done; \
492 $(am__define_uniq_tagged_files); \
493 shift; \
494 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
495 test -n "$$unique" || unique=$$empty_fix; \
496 if test $$# -gt 0; then \
497 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
498 "$$@" $$unique; \
499 else \
500 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
501 $$unique; \
502 fi; \
503 fi
504 ctags: ctags-recursive
505
506 CTAGS: ctags
507 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
508 $(am__define_uniq_tagged_files); \
509 test -z "$(CTAGS_ARGS)$$unique" \
510 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
511 $$unique
512
513 GTAGS:
514 here=`$(am__cd) $(top_builddir) && pwd` \
515 && $(am__cd) $(top_srcdir) \
516 && gtags -i $(GTAGS_ARGS) "$$here"
517 cscope: cscope.files
518 test ! -s cscope.files \
519 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
520 clean-cscope:
521 -rm -f cscope.files
522 cscope.files: clean-cscope cscopelist
523 cscopelist: cscopelist-recursive
524
525 cscopelist-am: $(am__tagged_files)
526 list='$(am__tagged_files)'; \
527 case "$(srcdir)" in \
528 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
529 *) sdir=$(subdir)/$(srcdir) ;; \
530 esac; \
531 for i in $$list; do \
532 if test -f "$$i"; then \
533 echo "$(subdir)/$$i"; \
534 else \
535 echo "$$sdir/$$i"; \
536 fi; \
537 done >> $(top_builddir)/cscope.files
538
539 distclean-tags:
540 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
541 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
542
543 distdir: $(BUILT_SOURCES)
544 $(MAKE) $(AM_MAKEFLAGS) distdir-am
545
546 distdir-am: $(DISTFILES)
547 $(am__remove_distdir)
548 test -d "$(distdir)" || mkdir "$(distdir)"
549 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
550 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
551 list='$(DISTFILES)'; \
552 dist_files=`for file in $$list; do echo $$file; done | \
553 sed -e "s|^$$srcdirstrip/||;t" \
554 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
555 case $$dist_files in \
556 */*) $(MKDIR_P) `echo "$$dist_files" | \
557 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
558 sort -u` ;; \
559 esac; \
560 for file in $$dist_files; do \
561 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
562 if test -d $$d/$$file; then \
563 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
564 if test -d "$(distdir)/$$file"; then \
565 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
566 fi; \
567 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
568 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
569 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
570 fi; \
571 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
572 else \
573 test -f "$(distdir)/$$file" \
574 || cp -p $$d/$$file "$(distdir)/$$file" \
575 || exit 1; \
576 fi; \
577 done
578 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
579 if test "$$subdir" = .; then :; else \
580 $(am__make_dryrun) \
581 || test -d "$(distdir)/$$subdir" \
582 || $(MKDIR_P) "$(distdir)/$$subdir" \
583 || exit 1; \
584 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
585 $(am__relativize); \
586 new_distdir=$$reldir; \
587 dir1=$$subdir; dir2="$(top_distdir)"; \
588 $(am__relativize); \
589 new_top_distdir=$$reldir; \
590 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
591 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
592 ($(am__cd) $$subdir && \
593 $(MAKE) $(AM_MAKEFLAGS) \
594 top_distdir="$$new_top_distdir" \
595 distdir="$$new_distdir" \
596 am__remove_distdir=: \
597 am__skip_length_check=: \
598 am__skip_mode_fix=: \
599 distdir) \
600 || exit 1; \
601 fi; \
602 done
603 -test -n "$(am__skip_mode_fix)" \
604 || find "$(distdir)" -type d ! -perm -755 \
605 -exec chmod u+rwx,go+rx {} \; -o \
606 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
607 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
608 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
609 || chmod -R a+r "$(distdir)"
610 dist-gzip: distdir
611 tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
612 $(am__post_remove_distdir)
613
614 dist-bzip2: distdir
615 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
616 $(am__post_remove_distdir)
617
618 dist-lzip: distdir
619 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
620 $(am__post_remove_distdir)
621
622 dist-xz: distdir
623 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
624 $(am__post_remove_distdir)
625
626 dist-tarZ: distdir
627 @echo WARNING: "Support for distribution archives compressed with" \
628 "legacy program 'compress' is deprecated." >&2
629 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
630 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
631 $(am__post_remove_distdir)
632
633 dist-shar: distdir
634 @echo WARNING: "Support for shar distribution archives is" \
635 "deprecated." >&2
636 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
637 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
638 $(am__post_remove_distdir)
639
640 dist-zip: distdir
641 -rm -f $(distdir).zip
642 zip -rq $(distdir).zip $(distdir)
643 $(am__post_remove_distdir)
644
645 dist dist-all:
646 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
647 $(am__post_remove_distdir)
648
649 # This target untars the dist file and tries a VPATH configuration. Then
650 # it guarantees that the distribution is self-contained by making another
651 # tarfile.
652 distcheck: dist
653 case '$(DIST_ARCHIVES)' in \
654 *.tar.gz*) \
655 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
656 *.tar.bz2*) \
657 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
658 *.tar.lz*) \
659 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
660 *.tar.xz*) \
661 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
662 *.tar.Z*) \
663 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
664 *.shar.gz*) \
665 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
666 *.zip*) \
667 unzip $(distdir).zip ;;\
668 esac
669 chmod -R a-w $(distdir)
670 chmod u+w $(distdir)
671 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
672 chmod a-w $(distdir)
673 test -d $(distdir)/_build || exit 0; \
674 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
675 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
676 && am__cwd=`pwd` \
677 && $(am__cd) $(distdir)/_build/sub \
678 && ../../configure \
679 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
680 $(DISTCHECK_CONFIGURE_FLAGS) \
681 --srcdir=../.. --prefix="$$dc_install_base" \
682 && $(MAKE) $(AM_MAKEFLAGS) \
683 && $(MAKE) $(AM_MAKEFLAGS) dvi \
684 && $(MAKE) $(AM_MAKEFLAGS) check \
685 && $(MAKE) $(AM_MAKEFLAGS) install \
686 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
687 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
688 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
689 distuninstallcheck \
690 && chmod -R a-w "$$dc_install_base" \
691 && ({ \
692 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
693 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
694 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
695 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
696 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
697 } || { rm -rf "$$dc_destdir"; exit 1; }) \
698 && rm -rf "$$dc_destdir" \
699 && $(MAKE) $(AM_MAKEFLAGS) dist \
700 && rm -rf $(DIST_ARCHIVES) \
701 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
702 && cd "$$am__cwd" \
703 || exit 1
704 $(am__post_remove_distdir)
705 @(echo "$(distdir) archives ready for distribution: "; \
706 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
707 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
708 distuninstallcheck:
709 @test -n '$(distuninstallcheck_dir)' || { \
710 echo 'ERROR: trying to run $@ with an empty' \
711 '$$(distuninstallcheck_dir)' >&2; \
712 exit 1; \
713 }; \
714 $(am__cd) '$(distuninstallcheck_dir)' || { \
715 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
716 exit 1; \
717 }; \
718 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
719 || { echo "ERROR: files left after uninstall:" ; \
720 if test -n "$(DESTDIR)"; then \
721 echo " (check DESTDIR support)"; \
722 fi ; \
723 $(distuninstallcheck_listfiles) ; \
724 exit 1; } >&2
725 distcleancheck: distclean
726 @if test '$(srcdir)' = . ; then \
727 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
728 exit 1 ; \
729 fi
730 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
731 || { echo "ERROR: files left in build directory after distclean:" ; \
732 $(distcleancheck_listfiles) ; \
733 exit 1; } >&2
734 check-am: all-am
735 check: check-recursive
736 all-am: Makefile config.h
737 installdirs: installdirs-recursive
738 installdirs-am:
739 install: install-recursive
740 install-exec: install-exec-recursive
741 install-data: install-data-recursive
742 uninstall: uninstall-recursive
743
744 install-am: all-am
745 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
746
747 installcheck: installcheck-recursive
748 install-strip:
749 if test -z '$(STRIP)'; then \
750 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
751 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
752 install; \
753 else \
754 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
755 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
756 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
757 fi
758 mostlyclean-generic:
759
760 clean-generic:
761
762 distclean-generic:
763 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
764 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
765
766 maintainer-clean-generic:
767 @echo "This command is intended for maintainers to use"
768 @echo "it deletes files that may require special tools to rebuild."
769 clean: clean-recursive
770
771 clean-am: clean-generic clean-libtool mostlyclean-am
772
773 distclean: distclean-recursive
774 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
775 -rm -f Makefile
776 distclean-am: clean-am distclean-generic distclean-hdr \
777 distclean-libtool distclean-tags
778
779 dvi: dvi-recursive
780
781 dvi-am:
782
783 html: html-recursive
784
785 html-am:
786
787 info: info-recursive
788
789 info-am:
790
791 install-data-am:
792
793 install-dvi: install-dvi-recursive
794
795 install-dvi-am:
796
797 install-exec-am:
798
799 install-html: install-html-recursive
800
801 install-html-am:
802
803 install-info: install-info-recursive
804
805 install-info-am:
806
807 install-man:
808
809 install-pdf: install-pdf-recursive
810
811 install-pdf-am:
812
813 install-ps: install-ps-recursive
814
815 install-ps-am:
816
817 installcheck-am:
818
819 maintainer-clean: maintainer-clean-recursive
820 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
821 -rm -rf $(top_srcdir)/autom4te.cache
822 -rm -f Makefile
823 maintainer-clean-am: distclean-am maintainer-clean-generic
824
825 mostlyclean: mostlyclean-recursive
826
827 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
828
829 pdf: pdf-recursive
830
831 pdf-am:
832
833 ps: ps-recursive
834
835 ps-am:
836
837 uninstall-am:
838
839 .MAKE: $(am__recursive_targets) all install-am install-strip
840
841 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
842 am--refresh check check-am clean clean-cscope clean-generic \
843 clean-libtool cscope cscopelist-am ctags ctags-am dist \
844 dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
845 dist-xz dist-zip distcheck distclean distclean-generic \
846 distclean-hdr distclean-libtool distclean-tags distcleancheck \
847 distdir distuninstallcheck dvi dvi-am html html-am info \
848 info-am install install-am install-data install-data-am \
849 install-dvi install-dvi-am install-exec install-exec-am \
850 install-html install-html-am install-info install-info-am \
851 install-man install-pdf install-pdf-am install-ps \
852 install-ps-am install-strip installcheck installcheck-am \
853 installdirs installdirs-am maintainer-clean \
854 maintainer-clean-generic mostlyclean mostlyclean-generic \
855 mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
856 uninstall-am
857
858 .PRECIOUS: Makefile
859
860
861 @CODE_COVERAGE_ENABLED_TRUE@lcov-report:
862 @CODE_COVERAGE_ENABLED_TRUE@ @mkdir -p $(lcov_dir)
863 @CODE_COVERAGE_ENABLED_TRUE@ lcov --capture --directory . --no-external -o $(lcov_file)
864 @CODE_COVERAGE_ENABLED_TRUE@ genhtml --title "dvisvgm" --num-spaces 2 --legend -o $(lcov_dir) $(lcov_file)
865
866 @CODE_COVERAGE_ENABLED_TRUE@lcov-clean:
867 @CODE_COVERAGE_ENABLED_TRUE@ @rm -rf $(lcov_dir)
868 @CODE_COVERAGE_ENABLED_TRUE@ @find . -name "*.gcda" -exec rm {} \;
869 @CODE_COVERAGE_ENABLED_TRUE@ lcov --zerocounters --directory .
870
871 @CODE_COVERAGE_ENABLED_TRUE@coverage: lcov-clean check lcov-report
872
873 # Tell versions [3.59,3.63) of GNU make to not export all variables.
874 # Otherwise a system limit (for SysV at least) may be exceeded.
875 .NOEXPORT:
0 dvisvgm-2.11 (2020-11-28)
1 - added fallback mechanism for JFM-based virtual fonts proposed
2 by Takuji Tanaka (GH issue #144)
3 - improved detection of proper CMap files for current encoding
4 - fixed processing of Unicode surrogates present in CMap files
5 - fixed handling of pdf:mapline and pdf:mapfile specials
6
07 dvisvgm-2.10.1 (2020-09-22)
18 - added support for new Ghostscript transparency operators
29 .setfillconstantalpha and .setstrokeconstantalpha
0 _dvisvgm_ &ndash; A fast DVI to SVG converter
1 =============================================
2 [![Build Status](https://travis-ci.org/mgieseki/dvisvgm.svg?branch=master)](https://travis-ci.org/mgieseki/dvisvgm)
3 [![Build Status](https://ci.appveyor.com/api/projects/status/0rbkw88js1on4g2u/branch/master?svg=true)](https://ci.appveyor.com/project/mgieseki/dvisvgm/branch/master)
4 [![Copr Status](https://copr.fedorainfracloud.org/coprs/mgieseki/dvisvgm/package/dvisvgm/status_image/last_build.png)](https://copr.fedorainfracloud.org/coprs/mgieseki/dvisvgm)
5 [![Code Status](https://scan.coverity.com/projects/1099/badge.svg)](https://scan.coverity.com/projects/1099)
6 [![License](https://img.shields.io/:license-GPL%20v3+-blue.svg)](https://www.gnu.org/licenses/gpl-3.0.en.html)
7 [![Releases](https://img.shields.io/github/release/mgieseki/dvisvgm.svg)](https://github.com/mgieseki/dvisvgm/releases)
8
9 Description
10 -----------
11
12 _dvisvgm_ is a utility for TeX/LaTeX users. It converts
13 [DVI](https://en.wikipedia.org/wiki/Device_independent_file_format),
14 [EPS](https://en.wikipedia.org/wiki/Encapsulated_PostScript), and
15 [PDF](https://en.wikipedia.org/wiki/PDF) files to the
16 XML-based scalable vector graphics format [SVG](https://www.w3.org/TR/SVG).
17 The latest releases support standard DVI files (version 2) as well as DVI output
18 created by [pTeX](http://www.ascii.co.jp/pb/ptex) in vertical mode (version 3),
19 and [XeTeX](http://scripts.sil.org/xetex) (versions 5 to 7, also known as XDV).
20
21 To get an impression of the conversion results, have a look at the
22 [examples](https://dvisvgm.de/Examples) created with _dvisvgm_.
23
24 Short overview of the main features:
25
26 * Complete font support including [virtual fonts](http://www.tex.ac.uk/cgi-bin/texfaq2html?label=virtualfonts), evaluation of [font encodings](http://www.tex.ac.uk/cgi-bin/texfaq2html?label=whatenc), CMap files, sub-font definitions and font maps.
27 * Glyph outlines of all required fonts are embedded into the generated SVG files.
28 * The font data can be embedded in SVG, TrueType, WOFF, or WOFF2 format.
29 * Glyph outlines of fonts that are not available in a vector format are generated on-the-fly by vectorizing [METAFONT](https://en.wikipedia.org/wiki/Metafont)'s bitmap output.
30 * _dvisvgm_ allows to replace [font elements](https://www.w3.org/TR/SVG/fonts.html) by [paths](https://www.w3.org/TR/SVG/paths.html) so that applications without SVG font support are enabled to render dvisvgm's output properly.
31 * Computes tight bounding boxes for the generated graphics, but supports common paper formats and arbitrary user-defined sizes as well.
32 * Option `--eps` allows to convert [EPS](https://en.wikipedia.org/wiki/Encapsulated_PostScript) files to SVG.
33 * Option `--pdf` allows to convert [PDF](https://en.wikipedia.org/wiki/PDF) documents to SVG.
34 * [Intersections of clipping paths](https://dvisvgm.de/Clipping) can be computed directly instead of delegating this task to the SVG renderer. This increases the compatibility of the generated SVG files.
35 * Approximates PostScript [color gradient fills](https://dvisvgm.de/Gradients) not directly supported by SVG 1.1.
36 * The generated SVG structure and data can be improved with the built-in [SVG optimizer](https://dvisvgm.de/Manpage/#opt-optimize).
37 * Optionally creates compressed [SVGZ](https://en.wikipedia.org/wiki/Scalable_Vector_Graphics#Compression) files.
38 * Provides options for applying page transformations, like translation, rotation, scaling, and skewing.
39 * Evaluates several [specials](http://www.tex.ac.uk/cgi-bin/texfaq2html?label=specials) including color, emTeX, tpic, hyperref/HyperTeX, papersize, PDF hyperlink and mapfile, as well as PostScript specials.
40 * The converter was successfully tested on various Linux ([TeX Live](https://www.tug.org/texlive)) and Windows ([MiKTeX](https://www.miktex.org), [W32TeX](http://w32tex.org)) systems.
41 * _dvisvgm_ has been added to [TeX Live](https://www.tug.org/texlive), [W32TeX](http://w32tex.org), [MiKTeX](https://www.miktex.org), and [MacPorts](https://www.macports.org). It is therefore available for a wide range of operating systems.
42
43
44 Usage
45 -----
46 For detailed information about the command-line interface and all available
47 options of _dvisvgm_, see the [manual page](https://dvisvgm.de/Manpage).
48
49
50 Dependencies
51 ------------
52
53 _dvisvgm_ relies on the following free libraries:
54
55 * [Clipper](http://www.angusj.com/delphi/clipper.php)
56 To compute the intersection of two curved paths, _dvisvgm_ flattens the paths to
57 polygons, intersects them using a slightly modified version of Clipper, and reconstructs
58 the curves afterwards. A slightly modified version of Clipper is bundled with the sources.
59
60 * [FontForge library](https://fontforge.github.io)
61 _dvisvgm_ can be built with optional WOFF support that allows to embed the font data
62 in WOFF or TrueType format rather than as SVG. The FontForge library provides the required
63 functions to create font files in these formats. A reduced version of the library is bundled
64 with the _dvisvgm_ sources.
65
66 * [FreeType 2](https://www.freetype.org)
67 This library is used to extract the glyph outlines from vector fonts (PFB, OTF, TTF).
68
69 * [Ghostscript](https://www.ghostscript.com)
70 The PostScript special handler requires the Ghostscript shared library `libgs.so.N` (Linux)
71 or `gsdll32.dll`/`gsdll64.dll` (Windows) to be installed. If the configure script
72 finds the corresponding Ghostscript development files on the system, it
73 directly links against `libgs.so.N`, where _N_ is the library's ABI version.
74 Otherwise, the library is looked up during runtime, and the PostScript support is
75 enabled only if the shared library can be found. Due to incompatible changes of the
76 Ghostscript API, _dvisvgm_ requires Ghostscript 8.31 or later.
77
78 * [Kpathsea](https://tug.org/kpathsea)
79 This library is part of the Web2C package and is usually installed in
80 conjunction with a TeX distribution. Kpathsea provides functions for searching
81 files in the large `texmf` tree. Please ensure that you use the kpathsea version
82 coming with or matching your TeX system.
83
84 * [OpenSSL crypto library](https://www.openssl.org)
85 _dvisvgm_ comes with a bundled implementation of the MD5 hash algorithm which can optionally
86 be replaced with the corresponding function of the OpenSSL crypto library. If the
87 configuration script finds the OpenSSL development files on the build system, it links
88 against _libcrypto_ instead of the bundled MD5 module.
89
90 * [potracelib](http://potrace.sourceforge.net)
91 Peter Selinger's bitmap tracing library is utilized to vectorize Metafont's
92 bitmap output. It's also bundled with the _dvisvgm_ sources.
93
94 * [ttfautohint](https://www.freetype.org/ttfautohint)
95 _dvisvgm_ can optionally be built with ttfautohint support to replace the autohinting
96 functionality of FontForge. Since it's still an experimental feature, ttfautohint support
97 is disabled by default. To enable it, run `configure` with option `--with-ttfautohint`.
98
99 * [woff2](https://github.com/google/woff2) and [brotli](https://github.com/google/brotli)
100 These Google libraries are bundled with the _dvisvgm_ sources. They are used
101 to create WOFF2 files from TrueType fonts.
102
103 * [xxHash](https://github.com/Cyan4973/xxHash)
104 The xxHash library provides a fast hash algorithm. _dvisvgm_ uses it to create
105 unique integer values from PostScript character names in order to store them in
106 a compact way together with their Unicode points. A recent version of xxHash is
107 bundled with the _dvisvgm_ sources.
108
109 * [zlib](http://www.zlib.org)
110 This library is required to create compressed [SVGZ](https://en.wikipedia.org/wiki/Scalable_Vector_Graphics#Compression) files.
111
112
113 Building dvisvgm from source
114 ----------------------------
115
116 _dvisvgm_ is written in C++11 ([ISO C++ standard 2011](http://www.iso.org/iso/catalogue_detail.htm?csnumber=50372))
117 and requires an appropriate compiler, like [GCC](https://gcc.gnu.org) 4.9, [Clang](https://clang.llvm.org) 3.3,
118 or any later version. The configure script checks for the availability of C++11 support and
119 adds the proper compiler options if necessary.
120
121 Quick installation info:
122
123 * ensure that the development packages of all libraries, listed above, are installed
124 * type `./autogen.sh` if `configure` is not present in the _dvisvgm_ root folder
125 * either type `./configure` if you don't want to use the bundled libraries _brotli_, _potrace_, _woff2_, and _xxHash_ but link
126 against the corresponding system libraries,
127 * or type `./configure --enable-bundled-libs` in order to build and statically link the bundled libraries.
128 * type `make`
129 * type `make install` as root (or `sudo make install`)
130
131 For generic configuration instructions see the file INSTALL.
132
133 The configure script should recognize all necessary parameters.
134 If a library is installed but not detected, specify its location
135 as command-line parameter of configure, e.g.
136 `./configure --with-freetype=/usr/local/freetype`
137 (all available options can be displayed with `./configure --help`)
138
139 The tracer module calls Metafont in case of lacking TFM or PFB files
140 via a system call. Please ensure that Metafont is installed and
141 reachable through the system's search path.
142
143 If you don't like compiling the sources yourself, you can download
144 pre-compiled binaries for Windows and MiKTeX from the
145 [project website](https://dvisvgm.de) instead.
146
147
148 Additional Information
149 ----------------------
150
151 This package is available from [CTAN](https://ctan.org/pkg/dvisvgm), and can be
152 downloaded from the [project website](https://dvisvgm.de) as well. There you find
153 the sources, [pre-compiled binaries](https://dvisvgm.de/Downloads), the
154 [manual page](https://dvisvgm.de/Manpage), [FAQs](https://dvisvgm.de/FAQ) and further
155 information about the converter and related topics.
156
157 If you've found a bug, please let me know. You can either send me an email or
158 preferably use the [bug tracker at GitHub](https://github.com/mgieseki/dvisvgm/issues).
159
160
161 Copyright
162 ---------
163
164 Copyright &copy; 2005&ndash;2020 [Martin Gieseking](mailto:martin.gieseking@uos.de)
165
166 This program is free software; you can redistribute it and/or modify it under the terms
167 of the GNU General Public License as published by the Free Software Foundation; either
168 version 3 of the License, or (at your option) any later version.
169
170 This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
171 without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
172 See the [GNU General Public License](https://www.gnu.org/licenses/gpl-3.0.en.html) for more
173 details.
174
+0
-1547
aclocal.m4 less more
0 # generated automatically by aclocal 1.16.1 -*- Autoconf -*-
1
2 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
3
4 # This file is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
7
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
12
13 m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
14 m4_ifndef([AC_AUTOCONF_VERSION],
15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
17 [m4_warning([this file was generated for autoconf 2.69.
18 You have another version of autoconf. It may work, but is not guaranteed to.
19 If you have problems, you may need to regenerate the build system entirely.
20 To do so, use the procedure documented by the package, typically 'autoreconf'.])])
21
22 # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
23 # serial 11 (pkg-config-0.29.1)
24
25 dnl Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
26 dnl Copyright © 2012-2015 Dan Nicholson <dbn.lists@gmail.com>
27 dnl
28 dnl This program is free software; you can redistribute it and/or modify
29 dnl it under the terms of the GNU General Public License as published by
30 dnl the Free Software Foundation; either version 2 of the License, or
31 dnl (at your option) any later version.
32 dnl
33 dnl This program is distributed in the hope that it will be useful, but
34 dnl WITHOUT ANY WARRANTY; without even the implied warranty of
35 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
36 dnl General Public License for more details.
37 dnl
38 dnl You should have received a copy of the GNU General Public License
39 dnl along with this program; if not, write to the Free Software
40 dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
41 dnl 02111-1307, USA.
42 dnl
43 dnl As a special exception to the GNU General Public License, if you
44 dnl distribute this file as part of a program that contains a
45 dnl configuration script generated by Autoconf, you may include it under
46 dnl the same distribution terms that you use for the rest of that
47 dnl program.
48
49 dnl PKG_PREREQ(MIN-VERSION)
50 dnl -----------------------
51 dnl Since: 0.29
52 dnl
53 dnl Verify that the version of the pkg-config macros are at least
54 dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's
55 dnl installed version of pkg-config, this checks the developer's version
56 dnl of pkg.m4 when generating configure.
57 dnl
58 dnl To ensure that this macro is defined, also add:
59 dnl m4_ifndef([PKG_PREREQ],
60 dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])])
61 dnl
62 dnl See the "Since" comment for each macro you use to see what version
63 dnl of the macros you require.
64 m4_defun([PKG_PREREQ],
65 [m4_define([PKG_MACROS_VERSION], [0.29.1])
66 m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1,
67 [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])])
68 ])dnl PKG_PREREQ
69
70 dnl PKG_PROG_PKG_CONFIG([MIN-VERSION])
71 dnl ----------------------------------
72 dnl Since: 0.16
73 dnl
74 dnl Search for the pkg-config tool and set the PKG_CONFIG variable to
75 dnl first found in the path. Checks that the version of pkg-config found
76 dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is
77 dnl used since that's the first version where most current features of
78 dnl pkg-config existed.
79 AC_DEFUN([PKG_PROG_PKG_CONFIG],
80 [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
81 m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
82 m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
83 AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
84 AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
85 AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
86
87 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
88 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
89 fi
90 if test -n "$PKG_CONFIG"; then
91 _pkg_min_version=m4_default([$1], [0.9.0])
92 AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
93 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
94 AC_MSG_RESULT([yes])
95 else
96 AC_MSG_RESULT([no])
97 PKG_CONFIG=""
98 fi
99 fi[]dnl
100 ])dnl PKG_PROG_PKG_CONFIG
101
102 dnl PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
103 dnl -------------------------------------------------------------------
104 dnl Since: 0.18
105 dnl
106 dnl Check to see whether a particular set of modules exists. Similar to
107 dnl PKG_CHECK_MODULES(), but does not set variables or print errors.
108 dnl
109 dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
110 dnl only at the first occurence in configure.ac, so if the first place
111 dnl it's called might be skipped (such as if it is within an "if", you
112 dnl have to call PKG_CHECK_EXISTS manually
113 AC_DEFUN([PKG_CHECK_EXISTS],
114 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
115 if test -n "$PKG_CONFIG" && \
116 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
117 m4_default([$2], [:])
118 m4_ifvaln([$3], [else
119 $3])dnl
120 fi])
121
122 dnl _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
123 dnl ---------------------------------------------
124 dnl Internal wrapper calling pkg-config via PKG_CONFIG and setting
125 dnl pkg_failed based on the result.
126 m4_define([_PKG_CONFIG],
127 [if test -n "$$1"; then
128 pkg_cv_[]$1="$$1"
129 elif test -n "$PKG_CONFIG"; then
130 PKG_CHECK_EXISTS([$3],
131 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
132 test "x$?" != "x0" && pkg_failed=yes ],
133 [pkg_failed=yes])
134 else
135 pkg_failed=untried
136 fi[]dnl
137 ])dnl _PKG_CONFIG
138
139 dnl _PKG_SHORT_ERRORS_SUPPORTED
140 dnl ---------------------------
141 dnl Internal check to see if pkg-config supports short errors.
142 AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
143 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])
144 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
145 _pkg_short_errors_supported=yes
146 else
147 _pkg_short_errors_supported=no
148 fi[]dnl
149 ])dnl _PKG_SHORT_ERRORS_SUPPORTED
150
151
152 dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
153 dnl [ACTION-IF-NOT-FOUND])
154 dnl --------------------------------------------------------------
155 dnl Since: 0.4.0
156 dnl
157 dnl Note that if there is a possibility the first call to
158 dnl PKG_CHECK_MODULES might not happen, you should be sure to include an
159 dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
160 AC_DEFUN([PKG_CHECK_MODULES],
161 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
162 AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
163 AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
164
165 pkg_failed=no
166 AC_MSG_CHECKING([for $1])
167
168 _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
169 _PKG_CONFIG([$1][_LIBS], [libs], [$2])
170
171 m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
172 and $1[]_LIBS to avoid the need to call pkg-config.
173 See the pkg-config man page for more details.])
174
175 if test $pkg_failed = yes; then
176 AC_MSG_RESULT([no])
177 _PKG_SHORT_ERRORS_SUPPORTED
178 if test $_pkg_short_errors_supported = yes; then
179 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
180 else
181 $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
182 fi
183 # Put the nasty error message in config.log where it belongs
184 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
185
186 m4_default([$4], [AC_MSG_ERROR(
187 [Package requirements ($2) were not met:
188
189 $$1_PKG_ERRORS
190
191 Consider adjusting the PKG_CONFIG_PATH environment variable if you
192 installed software in a non-standard prefix.
193
194 _PKG_TEXT])[]dnl
195 ])
196 elif test $pkg_failed = untried; then
197 AC_MSG_RESULT([no])
198 m4_default([$4], [AC_MSG_FAILURE(
199 [The pkg-config script could not be found or is too old. Make sure it
200 is in your PATH or set the PKG_CONFIG environment variable to the full
201 path to pkg-config.
202
203 _PKG_TEXT
204
205 To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
206 ])
207 else
208 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
209 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
210 AC_MSG_RESULT([yes])
211 $3
212 fi[]dnl
213 ])dnl PKG_CHECK_MODULES
214
215
216 dnl PKG_CHECK_MODULES_STATIC(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
217 dnl [ACTION-IF-NOT-FOUND])
218 dnl ---------------------------------------------------------------------
219 dnl Since: 0.29
220 dnl
221 dnl Checks for existence of MODULES and gathers its build flags with
222 dnl static libraries enabled. Sets VARIABLE-PREFIX_CFLAGS from --cflags
223 dnl and VARIABLE-PREFIX_LIBS from --libs.
224 dnl
225 dnl Note that if there is a possibility the first call to
226 dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to
227 dnl include an explicit call to PKG_PROG_PKG_CONFIG in your
228 dnl configure.ac.
229 AC_DEFUN([PKG_CHECK_MODULES_STATIC],
230 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
231 _save_PKG_CONFIG=$PKG_CONFIG
232 PKG_CONFIG="$PKG_CONFIG --static"
233 PKG_CHECK_MODULES($@)
234 PKG_CONFIG=$_save_PKG_CONFIG[]dnl
235 ])dnl PKG_CHECK_MODULES_STATIC
236
237
238 dnl PKG_INSTALLDIR([DIRECTORY])
239 dnl -------------------------
240 dnl Since: 0.27
241 dnl
242 dnl Substitutes the variable pkgconfigdir as the location where a module
243 dnl should install pkg-config .pc files. By default the directory is
244 dnl $libdir/pkgconfig, but the default can be changed by passing
245 dnl DIRECTORY. The user can override through the --with-pkgconfigdir
246 dnl parameter.
247 AC_DEFUN([PKG_INSTALLDIR],
248 [m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
249 m4_pushdef([pkg_description],
250 [pkg-config installation directory @<:@]pkg_default[@:>@])
251 AC_ARG_WITH([pkgconfigdir],
252 [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
253 [with_pkgconfigdir=]pkg_default)
254 AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
255 m4_popdef([pkg_default])
256 m4_popdef([pkg_description])
257 ])dnl PKG_INSTALLDIR
258
259
260 dnl PKG_NOARCH_INSTALLDIR([DIRECTORY])
261 dnl --------------------------------
262 dnl Since: 0.27
263 dnl
264 dnl Substitutes the variable noarch_pkgconfigdir as the location where a
265 dnl module should install arch-independent pkg-config .pc files. By
266 dnl default the directory is $datadir/pkgconfig, but the default can be
267 dnl changed by passing DIRECTORY. The user can override through the
268 dnl --with-noarch-pkgconfigdir parameter.
269 AC_DEFUN([PKG_NOARCH_INSTALLDIR],
270 [m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])
271 m4_pushdef([pkg_description],
272 [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@])
273 AC_ARG_WITH([noarch-pkgconfigdir],
274 [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
275 [with_noarch_pkgconfigdir=]pkg_default)
276 AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])
277 m4_popdef([pkg_default])
278 m4_popdef([pkg_description])
279 ])dnl PKG_NOARCH_INSTALLDIR
280
281
282 dnl PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE,
283 dnl [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
284 dnl -------------------------------------------
285 dnl Since: 0.28
286 dnl
287 dnl Retrieves the value of the pkg-config variable for the given module.
288 AC_DEFUN([PKG_CHECK_VAR],
289 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
290 AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl
291
292 _PKG_CONFIG([$1], [variable="][$3]["], [$2])
293 AS_VAR_COPY([$1], [pkg_cv_][$1])
294
295 AS_VAR_IF([$1], [""], [$5], [$4])dnl
296 ])dnl PKG_CHECK_VAR
297
298 dnl PKG_WITH_MODULES(VARIABLE-PREFIX, MODULES,
299 dnl [ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND],
300 dnl [DESCRIPTION], [DEFAULT])
301 dnl ------------------------------------------
302 dnl
303 dnl Prepare a "--with-" configure option using the lowercase
304 dnl [VARIABLE-PREFIX] name, merging the behaviour of AC_ARG_WITH and
305 dnl PKG_CHECK_MODULES in a single macro.
306 AC_DEFUN([PKG_WITH_MODULES],
307 [
308 m4_pushdef([with_arg], m4_tolower([$1]))
309
310 m4_pushdef([description],
311 [m4_default([$5], [build with ]with_arg[ support])])
312
313 m4_pushdef([def_arg], [m4_default([$6], [auto])])
314 m4_pushdef([def_action_if_found], [AS_TR_SH([with_]with_arg)=yes])
315 m4_pushdef([def_action_if_not_found], [AS_TR_SH([with_]with_arg)=no])
316
317 m4_case(def_arg,
318 [yes],[m4_pushdef([with_without], [--without-]with_arg)],
319 [m4_pushdef([with_without],[--with-]with_arg)])
320
321 AC_ARG_WITH(with_arg,
322 AS_HELP_STRING(with_without, description[ @<:@default=]def_arg[@:>@]),,
323 [AS_TR_SH([with_]with_arg)=def_arg])
324
325 AS_CASE([$AS_TR_SH([with_]with_arg)],
326 [yes],[PKG_CHECK_MODULES([$1],[$2],$3,$4)],
327 [auto],[PKG_CHECK_MODULES([$1],[$2],
328 [m4_n([def_action_if_found]) $3],
329 [m4_n([def_action_if_not_found]) $4])])
330
331 m4_popdef([with_arg])
332 m4_popdef([description])
333 m4_popdef([def_arg])
334
335 ])dnl PKG_WITH_MODULES
336
337 dnl PKG_HAVE_WITH_MODULES(VARIABLE-PREFIX, MODULES,
338 dnl [DESCRIPTION], [DEFAULT])
339 dnl -----------------------------------------------
340 dnl
341 dnl Convenience macro to trigger AM_CONDITIONAL after PKG_WITH_MODULES
342 dnl check._[VARIABLE-PREFIX] is exported as make variable.
343 AC_DEFUN([PKG_HAVE_WITH_MODULES],
344 [
345 PKG_WITH_MODULES([$1],[$2],,,[$3],[$4])
346
347 AM_CONDITIONAL([HAVE_][$1],
348 [test "$AS_TR_SH([with_]m4_tolower([$1]))" = "yes"])
349 ])dnl PKG_HAVE_WITH_MODULES
350
351 dnl PKG_HAVE_DEFINE_WITH_MODULES(VARIABLE-PREFIX, MODULES,
352 dnl [DESCRIPTION], [DEFAULT])
353 dnl ------------------------------------------------------
354 dnl
355 dnl Convenience macro to run AM_CONDITIONAL and AC_DEFINE after
356 dnl PKG_WITH_MODULES check. HAVE_[VARIABLE-PREFIX] is exported as make
357 dnl and preprocessor variable.
358 AC_DEFUN([PKG_HAVE_DEFINE_WITH_MODULES],
359 [
360 PKG_HAVE_WITH_MODULES([$1],[$2],[$3],[$4])
361
362 AS_IF([test "$AS_TR_SH([with_]m4_tolower([$1]))" = "yes"],
363 [AC_DEFINE([HAVE_][$1], 1, [Enable ]m4_tolower([$1])[ support])])
364 ])dnl PKG_HAVE_DEFINE_WITH_MODULES
365
366 # Copyright (C) 2002-2018 Free Software Foundation, Inc.
367 #
368 # This file is free software; the Free Software Foundation
369 # gives unlimited permission to copy and/or distribute it,
370 # with or without modifications, as long as this notice is preserved.
371
372 # AM_AUTOMAKE_VERSION(VERSION)
373 # ----------------------------
374 # Automake X.Y traces this macro to ensure aclocal.m4 has been
375 # generated from the m4 files accompanying Automake X.Y.
376 # (This private macro should not be called outside this file.)
377 AC_DEFUN([AM_AUTOMAKE_VERSION],
378 [am__api_version='1.16'
379 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
380 dnl require some minimum version. Point them to the right macro.
381 m4_if([$1], [1.16.1], [],
382 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
383 ])
384
385 # _AM_AUTOCONF_VERSION(VERSION)
386 # -----------------------------
387 # aclocal traces this macro to find the Autoconf version.
388 # This is a private macro too. Using m4_define simplifies
389 # the logic in aclocal, which can simply ignore this definition.
390 m4_define([_AM_AUTOCONF_VERSION], [])
391
392 # AM_SET_CURRENT_AUTOMAKE_VERSION
393 # -------------------------------
394 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
395 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
396 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
397 [AM_AUTOMAKE_VERSION([1.16.1])dnl
398 m4_ifndef([AC_AUTOCONF_VERSION],
399 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
400 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
401
402 # Copyright (C) 2011-2018 Free Software Foundation, Inc.
403 #
404 # This file is free software; the Free Software Foundation
405 # gives unlimited permission to copy and/or distribute it,
406 # with or without modifications, as long as this notice is preserved.
407
408 # AM_PROG_AR([ACT-IF-FAIL])
409 # -------------------------
410 # Try to determine the archiver interface, and trigger the ar-lib wrapper
411 # if it is needed. If the detection of archiver interface fails, run
412 # ACT-IF-FAIL (default is to abort configure with a proper error message).
413 AC_DEFUN([AM_PROG_AR],
414 [AC_BEFORE([$0], [LT_INIT])dnl
415 AC_BEFORE([$0], [AC_PROG_LIBTOOL])dnl
416 AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
417 AC_REQUIRE_AUX_FILE([ar-lib])dnl
418 AC_CHECK_TOOLS([AR], [ar lib "link -lib"], [false])
419 : ${AR=ar}
420
421 AC_CACHE_CHECK([the archiver ($AR) interface], [am_cv_ar_interface],
422 [AC_LANG_PUSH([C])
423 am_cv_ar_interface=ar
424 AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int some_variable = 0;]])],
425 [am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
426 AC_TRY_EVAL([am_ar_try])
427 if test "$ac_status" -eq 0; then
428 am_cv_ar_interface=ar
429 else
430 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
431 AC_TRY_EVAL([am_ar_try])
432 if test "$ac_status" -eq 0; then
433 am_cv_ar_interface=lib
434 else
435 am_cv_ar_interface=unknown
436 fi
437 fi
438 rm -f conftest.lib libconftest.a
439 ])
440 AC_LANG_POP([C])])
441
442 case $am_cv_ar_interface in
443 ar)
444 ;;
445 lib)
446 # Microsoft lib, so override with the ar-lib wrapper script.
447 # FIXME: It is wrong to rewrite AR.
448 # But if we don't then we get into trouble of one sort or another.
449 # A longer-term fix would be to have automake use am__AR in this case,
450 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
451 # similar.
452 AR="$am_aux_dir/ar-lib $AR"
453 ;;
454 unknown)
455 m4_default([$1],
456 [AC_MSG_ERROR([could not determine $AR interface])])
457 ;;
458 esac
459 AC_SUBST([AR])dnl
460 ])
461
462 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
463
464 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
465 #
466 # This file is free software; the Free Software Foundation
467 # gives unlimited permission to copy and/or distribute it,
468 # with or without modifications, as long as this notice is preserved.
469
470 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
471 # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
472 # '$srcdir', '$srcdir/..', or '$srcdir/../..'.
473 #
474 # Of course, Automake must honor this variable whenever it calls a
475 # tool from the auxiliary directory. The problem is that $srcdir (and
476 # therefore $ac_aux_dir as well) can be either absolute or relative,
477 # depending on how configure is run. This is pretty annoying, since
478 # it makes $ac_aux_dir quite unusable in subdirectories: in the top
479 # source directory, any form will work fine, but in subdirectories a
480 # relative path needs to be adjusted first.
481 #
482 # $ac_aux_dir/missing
483 # fails when called from a subdirectory if $ac_aux_dir is relative
484 # $top_srcdir/$ac_aux_dir/missing
485 # fails if $ac_aux_dir is absolute,
486 # fails when called from a subdirectory in a VPATH build with
487 # a relative $ac_aux_dir
488 #
489 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
490 # are both prefixed by $srcdir. In an in-source build this is usually
491 # harmless because $srcdir is '.', but things will broke when you
492 # start a VPATH build or use an absolute $srcdir.
493 #
494 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
495 # iff we strip the leading $srcdir from $ac_aux_dir. That would be:
496 # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
497 # and then we would define $MISSING as
498 # MISSING="\${SHELL} $am_aux_dir/missing"
499 # This will work as long as MISSING is not called from configure, because
500 # unfortunately $(top_srcdir) has no meaning in configure.
501 # However there are other variables, like CC, which are often used in
502 # configure, and could therefore not use this "fixed" $ac_aux_dir.
503 #
504 # Another solution, used here, is to always expand $ac_aux_dir to an
505 # absolute PATH. The drawback is that using absolute paths prevent a
506 # configured tree to be moved without reconfiguration.
507
508 AC_DEFUN([AM_AUX_DIR_EXPAND],
509 [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
510 # Expand $ac_aux_dir to an absolute path.
511 am_aux_dir=`cd "$ac_aux_dir" && pwd`
512 ])
513
514 # AM_CONDITIONAL -*- Autoconf -*-
515
516 # Copyright (C) 1997-2018 Free Software Foundation, Inc.
517 #
518 # This file is free software; the Free Software Foundation
519 # gives unlimited permission to copy and/or distribute it,
520 # with or without modifications, as long as this notice is preserved.
521
522 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
523 # -------------------------------------
524 # Define a conditional.
525 AC_DEFUN([AM_CONDITIONAL],
526 [AC_PREREQ([2.52])dnl
527 m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
528 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
529 AC_SUBST([$1_TRUE])dnl
530 AC_SUBST([$1_FALSE])dnl
531 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
532 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
533 m4_define([_AM_COND_VALUE_$1], [$2])dnl
534 if $2; then
535 $1_TRUE=
536 $1_FALSE='#'
537 else
538 $1_TRUE='#'
539 $1_FALSE=
540 fi
541 AC_CONFIG_COMMANDS_PRE(
542 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
543 AC_MSG_ERROR([[conditional "$1" was never defined.
544 Usually this means the macro was only invoked conditionally.]])
545 fi])])
546
547 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
548 #
549 # This file is free software; the Free Software Foundation
550 # gives unlimited permission to copy and/or distribute it,
551 # with or without modifications, as long as this notice is preserved.
552
553
554 # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
555 # written in clear, in which case automake, when reading aclocal.m4,
556 # will think it sees a *use*, and therefore will trigger all it's
557 # C support machinery. Also note that it means that autoscan, seeing
558 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
559
560
561 # _AM_DEPENDENCIES(NAME)
562 # ----------------------
563 # See how the compiler implements dependency checking.
564 # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
565 # We try a few techniques and use that to set a single cache variable.
566 #
567 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
568 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
569 # dependency, and given that the user is not expected to run this macro,
570 # just rely on AC_PROG_CC.
571 AC_DEFUN([_AM_DEPENDENCIES],
572 [AC_REQUIRE([AM_SET_DEPDIR])dnl
573 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
574 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
575 AC_REQUIRE([AM_DEP_TRACK])dnl
576
577 m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
578 [$1], [CXX], [depcc="$CXX" am_compiler_list=],
579 [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
580 [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
581 [$1], [UPC], [depcc="$UPC" am_compiler_list=],
582 [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
583 [depcc="$$1" am_compiler_list=])
584
585 AC_CACHE_CHECK([dependency style of $depcc],
586 [am_cv_$1_dependencies_compiler_type],
587 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
588 # We make a subdir and do the tests there. Otherwise we can end up
589 # making bogus files that we don't know about and never remove. For
590 # instance it was reported that on HP-UX the gcc test will end up
591 # making a dummy file named 'D' -- because '-MD' means "put the output
592 # in D".
593 rm -rf conftest.dir
594 mkdir conftest.dir
595 # Copy depcomp to subdir because otherwise we won't find it if we're
596 # using a relative directory.
597 cp "$am_depcomp" conftest.dir
598 cd conftest.dir
599 # We will build objects and dependencies in a subdirectory because
600 # it helps to detect inapplicable dependency modes. For instance
601 # both Tru64's cc and ICC support -MD to output dependencies as a
602 # side effect of compilation, but ICC will put the dependencies in
603 # the current directory while Tru64 will put them in the object
604 # directory.
605 mkdir sub
606
607 am_cv_$1_dependencies_compiler_type=none
608 if test "$am_compiler_list" = ""; then
609 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
610 fi
611 am__universal=false
612 m4_case([$1], [CC],
613 [case " $depcc " in #(
614 *\ -arch\ *\ -arch\ *) am__universal=true ;;
615 esac],
616 [CXX],
617 [case " $depcc " in #(
618 *\ -arch\ *\ -arch\ *) am__universal=true ;;
619 esac])
620
621 for depmode in $am_compiler_list; do
622 # Setup a source with many dependencies, because some compilers
623 # like to wrap large dependency lists on column 80 (with \), and
624 # we should not choose a depcomp mode which is confused by this.
625 #
626 # We need to recreate these files for each test, as the compiler may
627 # overwrite some of them when testing with obscure command lines.
628 # This happens at least with the AIX C compiler.
629 : > sub/conftest.c
630 for i in 1 2 3 4 5 6; do
631 echo '#include "conftst'$i'.h"' >> sub/conftest.c
632 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
633 # Solaris 10 /bin/sh.
634 echo '/* dummy */' > sub/conftst$i.h
635 done
636 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
637
638 # We check with '-c' and '-o' for the sake of the "dashmstdout"
639 # mode. It turns out that the SunPro C++ compiler does not properly
640 # handle '-M -o', and we need to detect this. Also, some Intel
641 # versions had trouble with output in subdirs.
642 am__obj=sub/conftest.${OBJEXT-o}
643 am__minus_obj="-o $am__obj"
644 case $depmode in
645 gcc)
646 # This depmode causes a compiler race in universal mode.
647 test "$am__universal" = false || continue
648 ;;
649 nosideeffect)
650 # After this tag, mechanisms are not by side-effect, so they'll
651 # only be used when explicitly requested.
652 if test "x$enable_dependency_tracking" = xyes; then
653 continue
654 else
655 break
656 fi
657 ;;
658 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
659 # This compiler won't grok '-c -o', but also, the minuso test has
660 # not run yet. These depmodes are late enough in the game, and
661 # so weak that their functioning should not be impacted.
662 am__obj=conftest.${OBJEXT-o}
663 am__minus_obj=
664 ;;
665 none) break ;;
666 esac
667 if depmode=$depmode \
668 source=sub/conftest.c object=$am__obj \
669 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
670 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
671 >/dev/null 2>conftest.err &&
672 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
673 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
674 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
675 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
676 # icc doesn't choke on unknown options, it will just issue warnings
677 # or remarks (even with -Werror). So we grep stderr for any message
678 # that says an option was ignored or not supported.
679 # When given -MP, icc 7.0 and 7.1 complain thusly:
680 # icc: Command line warning: ignoring option '-M'; no argument required
681 # The diagnosis changed in icc 8.0:
682 # icc: Command line remark: option '-MP' not supported
683 if (grep 'ignoring option' conftest.err ||
684 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
685 am_cv_$1_dependencies_compiler_type=$depmode
686 break
687 fi
688 fi
689 done
690
691 cd ..
692 rm -rf conftest.dir
693 else
694 am_cv_$1_dependencies_compiler_type=none
695 fi
696 ])
697 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
698 AM_CONDITIONAL([am__fastdep$1], [
699 test "x$enable_dependency_tracking" != xno \
700 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
701 ])
702
703
704 # AM_SET_DEPDIR
705 # -------------
706 # Choose a directory name for dependency files.
707 # This macro is AC_REQUIREd in _AM_DEPENDENCIES.
708 AC_DEFUN([AM_SET_DEPDIR],
709 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
710 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
711 ])
712
713
714 # AM_DEP_TRACK
715 # ------------
716 AC_DEFUN([AM_DEP_TRACK],
717 [AC_ARG_ENABLE([dependency-tracking], [dnl
718 AS_HELP_STRING(
719 [--enable-dependency-tracking],
720 [do not reject slow dependency extractors])
721 AS_HELP_STRING(
722 [--disable-dependency-tracking],
723 [speeds up one-time build])])
724 if test "x$enable_dependency_tracking" != xno; then
725 am_depcomp="$ac_aux_dir/depcomp"
726 AMDEPBACKSLASH='\'
727 am__nodep='_no'
728 fi
729 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
730 AC_SUBST([AMDEPBACKSLASH])dnl
731 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
732 AC_SUBST([am__nodep])dnl
733 _AM_SUBST_NOTMAKE([am__nodep])dnl
734 ])
735
736 # Generate code to set up dependency tracking. -*- Autoconf -*-
737
738 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
739 #
740 # This file is free software; the Free Software Foundation
741 # gives unlimited permission to copy and/or distribute it,
742 # with or without modifications, as long as this notice is preserved.
743
744 # _AM_OUTPUT_DEPENDENCY_COMMANDS
745 # ------------------------------
746 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
747 [{
748 # Older Autoconf quotes --file arguments for eval, but not when files
749 # are listed without --file. Let's play safe and only enable the eval
750 # if we detect the quoting.
751 # TODO: see whether this extra hack can be removed once we start
752 # requiring Autoconf 2.70 or later.
753 AS_CASE([$CONFIG_FILES],
754 [*\'*], [eval set x "$CONFIG_FILES"],
755 [*], [set x $CONFIG_FILES])
756 shift
757 # Used to flag and report bootstrapping failures.
758 am_rc=0
759 for am_mf
760 do
761 # Strip MF so we end up with the name of the file.
762 am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
763 # Check whether this is an Automake generated Makefile which includes
764 # dependency-tracking related rules and includes.
765 # Grep'ing the whole file directly is not great: AIX grep has a line
766 # limit of 2048, but all sed's we know have understand at least 4000.
767 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
768 || continue
769 am_dirpart=`AS_DIRNAME(["$am_mf"])`
770 am_filepart=`AS_BASENAME(["$am_mf"])`
771 AM_RUN_LOG([cd "$am_dirpart" \
772 && sed -e '/# am--include-marker/d' "$am_filepart" \
773 | $MAKE -f - am--depfiles]) || am_rc=$?
774 done
775 if test $am_rc -ne 0; then
776 AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
777 for automatic dependency tracking. Try re-running configure with the
778 '--disable-dependency-tracking' option to at least be able to build
779 the package (albeit without support for automatic dependency tracking).])
780 fi
781 AS_UNSET([am_dirpart])
782 AS_UNSET([am_filepart])
783 AS_UNSET([am_mf])
784 AS_UNSET([am_rc])
785 rm -f conftest-deps.mk
786 }
787 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
788
789
790 # AM_OUTPUT_DEPENDENCY_COMMANDS
791 # -----------------------------
792 # This macro should only be invoked once -- use via AC_REQUIRE.
793 #
794 # This code is only required when automatic dependency tracking is enabled.
795 # This creates each '.Po' and '.Plo' makefile fragment that we'll need in
796 # order to bootstrap the dependency handling code.
797 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
798 [AC_CONFIG_COMMANDS([depfiles],
799 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
800 [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
801
802 # Do all the work for Automake. -*- Autoconf -*-
803
804 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
805 #
806 # This file is free software; the Free Software Foundation
807 # gives unlimited permission to copy and/or distribute it,
808 # with or without modifications, as long as this notice is preserved.
809
810 # This macro actually does too much. Some checks are only needed if
811 # your package does certain things. But this isn't really a big deal.
812
813 dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
814 m4_define([AC_PROG_CC],
815 m4_defn([AC_PROG_CC])
816 [_AM_PROG_CC_C_O
817 ])
818
819 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
820 # AM_INIT_AUTOMAKE([OPTIONS])
821 # -----------------------------------------------
822 # The call with PACKAGE and VERSION arguments is the old style
823 # call (pre autoconf-2.50), which is being phased out. PACKAGE
824 # and VERSION should now be passed to AC_INIT and removed from
825 # the call to AM_INIT_AUTOMAKE.
826 # We support both call styles for the transition. After
827 # the next Automake release, Autoconf can make the AC_INIT
828 # arguments mandatory, and then we can depend on a new Autoconf
829 # release and drop the old call support.
830 AC_DEFUN([AM_INIT_AUTOMAKE],
831 [AC_PREREQ([2.65])dnl
832 dnl Autoconf wants to disallow AM_ names. We explicitly allow
833 dnl the ones we care about.
834 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
835 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
836 AC_REQUIRE([AC_PROG_INSTALL])dnl
837 if test "`cd $srcdir && pwd`" != "`pwd`"; then
838 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
839 # is not polluted with repeated "-I."
840 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
841 # test to see if srcdir already configured
842 if test -f $srcdir/config.status; then
843 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
844 fi
845 fi
846
847 # test whether we have cygpath
848 if test -z "$CYGPATH_W"; then
849 if (cygpath --version) >/dev/null 2>/dev/null; then
850 CYGPATH_W='cygpath -w'
851 else
852 CYGPATH_W=echo
853 fi
854 fi
855 AC_SUBST([CYGPATH_W])
856
857 # Define the identity of the package.
858 dnl Distinguish between old-style and new-style calls.
859 m4_ifval([$2],
860 [AC_DIAGNOSE([obsolete],
861 [$0: two- and three-arguments forms are deprecated.])
862 m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
863 AC_SUBST([PACKAGE], [$1])dnl
864 AC_SUBST([VERSION], [$2])],
865 [_AM_SET_OPTIONS([$1])dnl
866 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
867 m4_if(
868 m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
869 [ok:ok],,
870 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
871 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
872 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
873
874 _AM_IF_OPTION([no-define],,
875 [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
876 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
877
878 # Some tools Automake needs.
879 AC_REQUIRE([AM_SANITY_CHECK])dnl
880 AC_REQUIRE([AC_ARG_PROGRAM])dnl
881 AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
882 AM_MISSING_PROG([AUTOCONF], [autoconf])
883 AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
884 AM_MISSING_PROG([AUTOHEADER], [autoheader])
885 AM_MISSING_PROG([MAKEINFO], [makeinfo])
886 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
887 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
888 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
889 # For better backward compatibility. To be removed once Automake 1.9.x
890 # dies out for good. For more background, see:
891 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
892 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
893 AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
894 # We need awk for the "check" target (and possibly the TAP driver). The
895 # system "awk" is bad on some platforms.
896 AC_REQUIRE([AC_PROG_AWK])dnl
897 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
898 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
899 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
900 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
901 [_AM_PROG_TAR([v7])])])
902 _AM_IF_OPTION([no-dependencies],,
903 [AC_PROVIDE_IFELSE([AC_PROG_CC],
904 [_AM_DEPENDENCIES([CC])],
905 [m4_define([AC_PROG_CC],
906 m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
907 AC_PROVIDE_IFELSE([AC_PROG_CXX],
908 [_AM_DEPENDENCIES([CXX])],
909 [m4_define([AC_PROG_CXX],
910 m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
911 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
912 [_AM_DEPENDENCIES([OBJC])],
913 [m4_define([AC_PROG_OBJC],
914 m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
915 AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
916 [_AM_DEPENDENCIES([OBJCXX])],
917 [m4_define([AC_PROG_OBJCXX],
918 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
919 ])
920 AC_REQUIRE([AM_SILENT_RULES])dnl
921 dnl The testsuite driver may need to know about EXEEXT, so add the
922 dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
923 dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
924 AC_CONFIG_COMMANDS_PRE(dnl
925 [m4_provide_if([_AM_COMPILER_EXEEXT],
926 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
927
928 # POSIX will say in a future version that running "rm -f" with no argument
929 # is OK; and we want to be able to make that assumption in our Makefile
930 # recipes. So use an aggressive probe to check that the usage we want is
931 # actually supported "in the wild" to an acceptable degree.
932 # See automake bug#10828.
933 # To make any issue more visible, cause the running configure to be aborted
934 # by default if the 'rm' program in use doesn't match our expectations; the
935 # user can still override this though.
936 if rm -f && rm -fr && rm -rf; then : OK; else
937 cat >&2 <<'END'
938 Oops!
939
940 Your 'rm' program seems unable to run without file operands specified
941 on the command line, even when the '-f' option is present. This is contrary
942 to the behaviour of most rm programs out there, and not conforming with
943 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
944
945 Please tell bug-automake@gnu.org about your system, including the value
946 of your $PATH and any error possibly output before this message. This
947 can help us improve future automake versions.
948
949 END
950 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
951 echo 'Configuration will proceed anyway, since you have set the' >&2
952 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
953 echo >&2
954 else
955 cat >&2 <<'END'
956 Aborting the configuration process, to ensure you take notice of the issue.
957
958 You can download and install GNU coreutils to get an 'rm' implementation
959 that behaves properly: <https://www.gnu.org/software/coreutils/>.
960
961 If you want to complete the configuration process using your problematic
962 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
963 to "yes", and re-run configure.
964
965 END
966 AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
967 fi
968 fi
969 dnl The trailing newline in this macro's definition is deliberate, for
970 dnl backward compatibility and to allow trailing 'dnl'-style comments
971 dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
972 ])
973
974 dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
975 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
976 dnl mangled by Autoconf and run in a shell conditional statement.
977 m4_define([_AC_COMPILER_EXEEXT],
978 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
979
980 # When config.status generates a header, we must update the stamp-h file.
981 # This file resides in the same directory as the config header
982 # that is generated. The stamp files are numbered to have different names.
983
984 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
985 # loop where config.status creates the headers, so we can generate
986 # our stamp files there.
987 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
988 [# Compute $1's index in $config_headers.
989 _am_arg=$1
990 _am_stamp_count=1
991 for _am_header in $config_headers :; do
992 case $_am_header in
993 $_am_arg | $_am_arg:* )
994 break ;;
995 * )
996 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
997 esac
998 done
999 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1000
1001 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
1002 #
1003 # This file is free software; the Free Software Foundation
1004 # gives unlimited permission to copy and/or distribute it,
1005 # with or without modifications, as long as this notice is preserved.
1006
1007 # AM_PROG_INSTALL_SH
1008 # ------------------
1009 # Define $install_sh.
1010 AC_DEFUN([AM_PROG_INSTALL_SH],
1011 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1012 if test x"${install_sh+set}" != xset; then
1013 case $am_aux_dir in
1014 *\ * | *\ *)
1015 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1016 *)
1017 install_sh="\${SHELL} $am_aux_dir/install-sh"
1018 esac
1019 fi
1020 AC_SUBST([install_sh])])
1021
1022 # Copyright (C) 2003-2018 Free Software Foundation, Inc.
1023 #
1024 # This file is free software; the Free Software Foundation
1025 # gives unlimited permission to copy and/or distribute it,
1026 # with or without modifications, as long as this notice is preserved.
1027
1028 # Check whether the underlying file-system supports filenames
1029 # with a leading dot. For instance MS-DOS doesn't.
1030 AC_DEFUN([AM_SET_LEADING_DOT],
1031 [rm -rf .tst 2>/dev/null
1032 mkdir .tst 2>/dev/null
1033 if test -d .tst; then
1034 am__leading_dot=.
1035 else
1036 am__leading_dot=_
1037 fi
1038 rmdir .tst 2>/dev/null
1039 AC_SUBST([am__leading_dot])])
1040
1041 # Check to see how 'make' treats includes. -*- Autoconf -*-
1042
1043 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
1044 #
1045 # This file is free software; the Free Software Foundation
1046 # gives unlimited permission to copy and/or distribute it,
1047 # with or without modifications, as long as this notice is preserved.
1048
1049 # AM_MAKE_INCLUDE()
1050 # -----------------
1051 # Check whether make has an 'include' directive that can support all
1052 # the idioms we need for our automatic dependency tracking code.
1053 AC_DEFUN([AM_MAKE_INCLUDE],
1054 [AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
1055 cat > confinc.mk << 'END'
1056 am__doit:
1057 @echo this is the am__doit target >confinc.out
1058 .PHONY: am__doit
1059 END
1060 am__include="#"
1061 am__quote=
1062 # BSD make does it like this.
1063 echo '.include "confinc.mk" # ignored' > confmf.BSD
1064 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
1065 echo 'include confinc.mk # ignored' > confmf.GNU
1066 _am_result=no
1067 for s in GNU BSD; do
1068 AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
1069 AS_CASE([$?:`cat confinc.out 2>/dev/null`],
1070 ['0:this is the am__doit target'],
1071 [AS_CASE([$s],
1072 [BSD], [am__include='.include' am__quote='"'],
1073 [am__include='include' am__quote=''])])
1074 if test "$am__include" != "#"; then
1075 _am_result="yes ($s style)"
1076 break
1077 fi
1078 done
1079 rm -f confinc.* confmf.*
1080 AC_MSG_RESULT([${_am_result}])
1081 AC_SUBST([am__include])])
1082 AC_SUBST([am__quote])])
1083
1084 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
1085
1086 # Copyright (C) 1997-2018 Free Software Foundation, Inc.
1087 #
1088 # This file is free software; the Free Software Foundation
1089 # gives unlimited permission to copy and/or distribute it,
1090 # with or without modifications, as long as this notice is preserved.
1091
1092 # AM_MISSING_PROG(NAME, PROGRAM)
1093 # ------------------------------
1094 AC_DEFUN([AM_MISSING_PROG],
1095 [AC_REQUIRE([AM_MISSING_HAS_RUN])
1096 $1=${$1-"${am_missing_run}$2"}
1097 AC_SUBST($1)])
1098
1099 # AM_MISSING_HAS_RUN
1100 # ------------------
1101 # Define MISSING if not defined so far and test if it is modern enough.
1102 # If it is, set am_missing_run to use it, otherwise, to nothing.
1103 AC_DEFUN([AM_MISSING_HAS_RUN],
1104 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1105 AC_REQUIRE_AUX_FILE([missing])dnl
1106 if test x"${MISSING+set}" != xset; then
1107 case $am_aux_dir in
1108 *\ * | *\ *)
1109 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1110 *)
1111 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1112 esac
1113 fi
1114 # Use eval to expand $SHELL
1115 if eval "$MISSING --is-lightweight"; then
1116 am_missing_run="$MISSING "
1117 else
1118 am_missing_run=
1119 AC_MSG_WARN(['missing' script is too old or missing])
1120 fi
1121 ])
1122
1123 # Helper functions for option handling. -*- Autoconf -*-
1124
1125 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
1126 #
1127 # This file is free software; the Free Software Foundation
1128 # gives unlimited permission to copy and/or distribute it,
1129 # with or without modifications, as long as this notice is preserved.
1130
1131 # _AM_MANGLE_OPTION(NAME)
1132 # -----------------------
1133 AC_DEFUN([_AM_MANGLE_OPTION],
1134 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1135
1136 # _AM_SET_OPTION(NAME)
1137 # --------------------
1138 # Set option NAME. Presently that only means defining a flag for this option.
1139 AC_DEFUN([_AM_SET_OPTION],
1140 [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
1141
1142 # _AM_SET_OPTIONS(OPTIONS)
1143 # ------------------------
1144 # OPTIONS is a space-separated list of Automake options.
1145 AC_DEFUN([_AM_SET_OPTIONS],
1146 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1147
1148 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
1149 # -------------------------------------------
1150 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
1151 AC_DEFUN([_AM_IF_OPTION],
1152 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1153
1154 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
1155 #
1156 # This file is free software; the Free Software Foundation
1157 # gives unlimited permission to copy and/or distribute it,
1158 # with or without modifications, as long as this notice is preserved.
1159
1160 # _AM_PROG_CC_C_O
1161 # ---------------
1162 # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC
1163 # to automatically call this.
1164 AC_DEFUN([_AM_PROG_CC_C_O],
1165 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1166 AC_REQUIRE_AUX_FILE([compile])dnl
1167 AC_LANG_PUSH([C])dnl
1168 AC_CACHE_CHECK(
1169 [whether $CC understands -c and -o together],
1170 [am_cv_prog_cc_c_o],
1171 [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
1172 # Make sure it works both with $CC and with simple cc.
1173 # Following AC_PROG_CC_C_O, we do the test twice because some
1174 # compilers refuse to overwrite an existing .o file with -o,
1175 # though they will create one.
1176 am_cv_prog_cc_c_o=yes
1177 for am_i in 1 2; do
1178 if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
1179 && test -f conftest2.$ac_objext; then
1180 : OK
1181 else
1182 am_cv_prog_cc_c_o=no
1183 break
1184 fi
1185 done
1186 rm -f core conftest*
1187 unset am_i])
1188 if test "$am_cv_prog_cc_c_o" != yes; then
1189 # Losing compiler, so override with the script.
1190 # FIXME: It is wrong to rewrite CC.
1191 # But if we don't then we get into trouble of one sort or another.
1192 # A longer-term fix would be to have automake use am__CC in this case,
1193 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
1194 CC="$am_aux_dir/compile $CC"
1195 fi
1196 AC_LANG_POP([C])])
1197
1198 # For backward compatibility.
1199 AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
1200
1201 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
1202 #
1203 # This file is free software; the Free Software Foundation
1204 # gives unlimited permission to copy and/or distribute it,
1205 # with or without modifications, as long as this notice is preserved.
1206
1207 # AM_RUN_LOG(COMMAND)
1208 # -------------------
1209 # Run COMMAND, save the exit status in ac_status, and log it.
1210 # (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
1211 AC_DEFUN([AM_RUN_LOG],
1212 [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
1213 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
1214 ac_status=$?
1215 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1216 (exit $ac_status); }])
1217
1218 # Check to make sure that the build environment is sane. -*- Autoconf -*-
1219
1220 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
1221 #
1222 # This file is free software; the Free Software Foundation
1223 # gives unlimited permission to copy and/or distribute it,
1224 # with or without modifications, as long as this notice is preserved.
1225
1226 # AM_SANITY_CHECK
1227 # ---------------
1228 AC_DEFUN([AM_SANITY_CHECK],
1229 [AC_MSG_CHECKING([whether build environment is sane])
1230 # Reject unsafe characters in $srcdir or the absolute working directory
1231 # name. Accept space and tab only in the latter.
1232 am_lf='
1233 '
1234 case `pwd` in
1235 *[[\\\"\#\$\&\'\`$am_lf]]*)
1236 AC_MSG_ERROR([unsafe absolute working directory name]);;
1237 esac
1238 case $srcdir in
1239 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
1240 AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
1241 esac
1242
1243 # Do 'set' in a subshell so we don't clobber the current shell's
1244 # arguments. Must try -L first in case configure is actually a
1245 # symlink; some systems play weird games with the mod time of symlinks
1246 # (eg FreeBSD returns the mod time of the symlink's containing
1247 # directory).
1248 if (
1249 am_has_slept=no
1250 for am_try in 1 2; do
1251 echo "timestamp, slept: $am_has_slept" > conftest.file
1252 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1253 if test "$[*]" = "X"; then
1254 # -L didn't work.
1255 set X `ls -t "$srcdir/configure" conftest.file`
1256 fi
1257 if test "$[*]" != "X $srcdir/configure conftest.file" \
1258 && test "$[*]" != "X conftest.file $srcdir/configure"; then
1259
1260 # If neither matched, then we have a broken ls. This can happen
1261 # if, for instance, CONFIG_SHELL is bash and it inherits a
1262 # broken ls alias from the environment. This has actually
1263 # happened. Such a system could not be considered "sane".
1264 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
1265 alias in your environment])
1266 fi
1267 if test "$[2]" = conftest.file || test $am_try -eq 2; then
1268 break
1269 fi
1270 # Just in case.
1271 sleep 1
1272 am_has_slept=yes
1273 done
1274 test "$[2]" = conftest.file
1275 )
1276 then
1277 # Ok.
1278 :
1279 else
1280 AC_MSG_ERROR([newly created file is older than distributed files!
1281 Check your system clock])
1282 fi
1283 AC_MSG_RESULT([yes])
1284 # If we didn't sleep, we still need to ensure time stamps of config.status and
1285 # generated files are strictly newer.
1286 am_sleep_pid=
1287 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
1288 ( sleep 1 ) &
1289 am_sleep_pid=$!
1290 fi
1291 AC_CONFIG_COMMANDS_PRE(
1292 [AC_MSG_CHECKING([that generated files are newer than configure])
1293 if test -n "$am_sleep_pid"; then
1294 # Hide warnings about reused PIDs.
1295 wait $am_sleep_pid 2>/dev/null
1296 fi
1297 AC_MSG_RESULT([done])])
1298 rm -f conftest.file
1299 ])
1300
1301 # Copyright (C) 2009-2018 Free Software Foundation, Inc.
1302 #
1303 # This file is free software; the Free Software Foundation
1304 # gives unlimited permission to copy and/or distribute it,
1305 # with or without modifications, as long as this notice is preserved.
1306
1307 # AM_SILENT_RULES([DEFAULT])
1308 # --------------------------
1309 # Enable less verbose build rules; with the default set to DEFAULT
1310 # ("yes" being less verbose, "no" or empty being verbose).
1311 AC_DEFUN([AM_SILENT_RULES],
1312 [AC_ARG_ENABLE([silent-rules], [dnl
1313 AS_HELP_STRING(
1314 [--enable-silent-rules],
1315 [less verbose build output (undo: "make V=1")])
1316 AS_HELP_STRING(
1317 [--disable-silent-rules],
1318 [verbose build output (undo: "make V=0")])dnl
1319 ])
1320 case $enable_silent_rules in @%:@ (((
1321 yes) AM_DEFAULT_VERBOSITY=0;;
1322 no) AM_DEFAULT_VERBOSITY=1;;
1323 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
1324 esac
1325 dnl
1326 dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
1327 dnl do not support nested variable expansions.
1328 dnl See automake bug#9928 and bug#10237.
1329 am_make=${MAKE-make}
1330 AC_CACHE_CHECK([whether $am_make supports nested variables],
1331 [am_cv_make_support_nested_variables],
1332 [if AS_ECHO([['TRUE=$(BAR$(V))
1333 BAR0=false
1334 BAR1=true
1335 V=1
1336 am__doit:
1337 @$(TRUE)
1338 .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
1339 am_cv_make_support_nested_variables=yes
1340 else
1341 am_cv_make_support_nested_variables=no
1342 fi])
1343 if test $am_cv_make_support_nested_variables = yes; then
1344 dnl Using '$V' instead of '$(V)' breaks IRIX make.
1345 AM_V='$(V)'
1346 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
1347 else
1348 AM_V=$AM_DEFAULT_VERBOSITY
1349 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
1350 fi
1351 AC_SUBST([AM_V])dnl
1352 AM_SUBST_NOTMAKE([AM_V])dnl
1353 AC_SUBST([AM_DEFAULT_V])dnl
1354 AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
1355 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
1356 AM_BACKSLASH='\'
1357 AC_SUBST([AM_BACKSLASH])dnl
1358 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1359 ])
1360
1361 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
1362 #
1363 # This file is free software; the Free Software Foundation
1364 # gives unlimited permission to copy and/or distribute it,
1365 # with or without modifications, as long as this notice is preserved.
1366
1367 # AM_PROG_INSTALL_STRIP
1368 # ---------------------
1369 # One issue with vendor 'install' (even GNU) is that you can't
1370 # specify the program used to strip binaries. This is especially
1371 # annoying in cross-compiling environments, where the build's strip
1372 # is unlikely to handle the host's binaries.
1373 # Fortunately install-sh will honor a STRIPPROG variable, so we
1374 # always use install-sh in "make install-strip", and initialize
1375 # STRIPPROG with the value of the STRIP variable (set by the user).
1376 AC_DEFUN([AM_PROG_INSTALL_STRIP],
1377 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1378 # Installed binaries are usually stripped using 'strip' when the user
1379 # run "make install-strip". However 'strip' might not be the right
1380 # tool to use in cross-compilation environments, therefore Automake
1381 # will honor the 'STRIP' environment variable to overrule this program.
1382 dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
1383 if test "$cross_compiling" != no; then
1384 AC_CHECK_TOOL([STRIP], [strip], :)
1385 fi
1386 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1387 AC_SUBST([INSTALL_STRIP_PROGRAM])])
1388
1389 # Copyright (C) 2006-2018 Free Software Foundation, Inc.
1390 #
1391 # This file is free software; the Free Software Foundation
1392 # gives unlimited permission to copy and/or distribute it,
1393 # with or without modifications, as long as this notice is preserved.
1394
1395 # _AM_SUBST_NOTMAKE(VARIABLE)
1396 # ---------------------------
1397 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
1398 # This macro is traced by Automake.
1399 AC_DEFUN([_AM_SUBST_NOTMAKE])
1400
1401 # AM_SUBST_NOTMAKE(VARIABLE)
1402 # --------------------------
1403 # Public sister of _AM_SUBST_NOTMAKE.
1404 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1405
1406 # Check how to create a tarball. -*- Autoconf -*-
1407
1408 # Copyright (C) 2004-2018 Free Software Foundation, Inc.
1409 #
1410 # This file is free software; the Free Software Foundation
1411 # gives unlimited permission to copy and/or distribute it,
1412 # with or without modifications, as long as this notice is preserved.
1413
1414 # _AM_PROG_TAR(FORMAT)
1415 # --------------------
1416 # Check how to create a tarball in format FORMAT.
1417 # FORMAT should be one of 'v7', 'ustar', or 'pax'.
1418 #
1419 # Substitute a variable $(am__tar) that is a command
1420 # writing to stdout a FORMAT-tarball containing the directory
1421 # $tardir.
1422 # tardir=directory && $(am__tar) > result.tar
1423 #
1424 # Substitute a variable $(am__untar) that extract such
1425 # a tarball read from stdin.
1426 # $(am__untar) < result.tar
1427 #
1428 AC_DEFUN([_AM_PROG_TAR],
1429 [# Always define AMTAR for backward compatibility. Yes, it's still used
1430 # in the wild :-( We should find a proper way to deprecate it ...
1431 AC_SUBST([AMTAR], ['$${TAR-tar}'])
1432
1433 # We'll loop over all known methods to create a tar archive until one works.
1434 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1435
1436 m4_if([$1], [v7],
1437 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1438
1439 [m4_case([$1],
1440 [ustar],
1441 [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
1442 # There is notably a 21 bits limit for the UID and the GID. In fact,
1443 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
1444 # and bug#13588).
1445 am_max_uid=2097151 # 2^21 - 1
1446 am_max_gid=$am_max_uid
1447 # The $UID and $GID variables are not portable, so we need to resort
1448 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
1449 # below are definitely unexpected, so allow the users to see them
1450 # (that is, avoid stderr redirection).
1451 am_uid=`id -u || echo unknown`
1452 am_gid=`id -g || echo unknown`
1453 AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
1454 if test $am_uid -le $am_max_uid; then
1455 AC_MSG_RESULT([yes])
1456 else
1457 AC_MSG_RESULT([no])
1458 _am_tools=none
1459 fi
1460 AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
1461 if test $am_gid -le $am_max_gid; then
1462 AC_MSG_RESULT([yes])
1463 else
1464 AC_MSG_RESULT([no])
1465 _am_tools=none
1466 fi],
1467
1468 [pax],
1469 [],
1470
1471 [m4_fatal([Unknown tar format])])
1472
1473 AC_MSG_CHECKING([how to create a $1 tar archive])
1474
1475 # Go ahead even if we have the value already cached. We do so because we
1476 # need to set the values for the 'am__tar' and 'am__untar' variables.
1477 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
1478
1479 for _am_tool in $_am_tools; do
1480 case $_am_tool in
1481 gnutar)
1482 for _am_tar in tar gnutar gtar; do
1483 AM_RUN_LOG([$_am_tar --version]) && break
1484 done
1485 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1486 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1487 am__untar="$_am_tar -xf -"
1488 ;;
1489 plaintar)
1490 # Must skip GNU tar: if it does not support --format= it doesn't create
1491 # ustar tarball either.
1492 (tar --version) >/dev/null 2>&1 && continue
1493 am__tar='tar chf - "$$tardir"'
1494 am__tar_='tar chf - "$tardir"'
1495 am__untar='tar xf -'
1496 ;;
1497 pax)
1498 am__tar='pax -L -x $1 -w "$$tardir"'
1499 am__tar_='pax -L -x $1 -w "$tardir"'
1500 am__untar='pax -r'
1501 ;;
1502 cpio)
1503 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1504 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1505 am__untar='cpio -i -H $1 -d'
1506 ;;
1507 none)
1508 am__tar=false
1509 am__tar_=false
1510 am__untar=false
1511 ;;
1512 esac
1513
1514 # If the value was cached, stop now. We just wanted to have am__tar
1515 # and am__untar set.
1516 test -n "${am_cv_prog_tar_$1}" && break
1517
1518 # tar/untar a dummy directory, and stop if the command works.
1519 rm -rf conftest.dir
1520 mkdir conftest.dir
1521 echo GrepMe > conftest.dir/file
1522 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1523 rm -rf conftest.dir
1524 if test -s conftest.tar; then
1525 AM_RUN_LOG([$am__untar <conftest.tar])
1526 AM_RUN_LOG([cat conftest.dir/file])
1527 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1528 fi
1529 done
1530 rm -rf conftest.dir
1531
1532 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1533 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1534
1535 AC_SUBST([am__tar])
1536 AC_SUBST([am__untar])
1537 ]) # _AM_PROG_TAR
1538
1539 m4_include([m4/ax_check_compile_flag.m4])
1540 m4_include([m4/ax_code_coverage.m4])
1541 m4_include([m4/ax_cxx_compile_stdcxx.m4])
1542 m4_include([m4/libtool.m4])
1543 m4_include([m4/ltoptions.m4])
1544 m4_include([m4/ltsugar.m4])
1545 m4_include([m4/ltversion.m4])
1546 m4_include([m4/lt~obsolete.m4])
+0
-270
ar-lib less more
0 #! /bin/sh
1 # Wrapper for Microsoft lib.exe
2
3 me=ar-lib
4 scriptversion=2012-03-01.08; # UTC
5
6 # Copyright (C) 2010-2018 Free Software Foundation, Inc.
7 # Written by Peter Rosin <peda@lysator.liu.se>.
8 #
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 2, or (at your option)
12 # any later version.
13 #
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
18 #
19 # You should have received a copy of the GNU General Public License
20 # along with this program. If not, see <https://www.gnu.org/licenses/>.
21
22 # As a special exception to the GNU General Public License, if you
23 # distribute this file as part of a program that contains a
24 # configuration script generated by Autoconf, you may include it under
25 # the same distribution terms that you use for the rest of that program.
26
27 # This file is maintained in Automake, please report
28 # bugs to <bug-automake@gnu.org> or send patches to
29 # <automake-patches@gnu.org>.
30
31
32 # func_error message
33 func_error ()
34 {
35 echo "$me: $1" 1>&2
36 exit 1
37 }
38
39 file_conv=
40
41 # func_file_conv build_file
42 # Convert a $build file to $host form and store it in $file
43 # Currently only supports Windows hosts.
44 func_file_conv ()
45 {
46 file=$1
47 case $file in
48 / | /[!/]*) # absolute file, and not a UNC file
49 if test -z "$file_conv"; then
50 # lazily determine how to convert abs files
51 case `uname -s` in
52 MINGW*)
53 file_conv=mingw
54 ;;
55 CYGWIN*)
56 file_conv=cygwin
57 ;;
58 *)
59 file_conv=wine
60 ;;
61 esac
62 fi
63 case $file_conv in
64 mingw)
65 file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
66 ;;
67 cygwin)
68 file=`cygpath -m "$file" || echo "$file"`
69 ;;
70 wine)
71 file=`winepath -w "$file" || echo "$file"`
72 ;;
73 esac
74 ;;
75 esac
76 }
77
78 # func_at_file at_file operation archive
79 # Iterate over all members in AT_FILE performing OPERATION on ARCHIVE
80 # for each of them.
81 # When interpreting the content of the @FILE, do NOT use func_file_conv,
82 # since the user would need to supply preconverted file names to
83 # binutils ar, at least for MinGW.
84 func_at_file ()
85 {
86 operation=$2
87 archive=$3
88 at_file_contents=`cat "$1"`
89 eval set x "$at_file_contents"
90 shift
91
92 for member
93 do
94 $AR -NOLOGO $operation:"$member" "$archive" || exit $?
95 done
96 }
97
98 case $1 in
99 '')
100 func_error "no command. Try '$0 --help' for more information."
101 ;;
102 -h | --h*)
103 cat <<EOF
104 Usage: $me [--help] [--version] PROGRAM ACTION ARCHIVE [MEMBER...]
105
106 Members may be specified in a file named with @FILE.
107 EOF
108 exit $?
109 ;;
110 -v | --v*)
111 echo "$me, version $scriptversion"
112 exit $?
113 ;;
114 esac
115
116 if test $# -lt 3; then
117 func_error "you must specify a program, an action and an archive"
118 fi
119
120 AR=$1
121 shift
122 while :
123 do
124 if test $# -lt 2; then
125 func_error "you must specify a program, an action and an archive"
126 fi
127 case $1 in
128 -lib | -LIB \
129 | -ltcg | -LTCG \
130 | -machine* | -MACHINE* \
131 | -subsystem* | -SUBSYSTEM* \
132 | -verbose | -VERBOSE \
133 | -wx* | -WX* )
134 AR="$AR $1"
135 shift
136 ;;
137 *)
138 action=$1
139 shift
140 break
141 ;;
142 esac
143 done
144 orig_archive=$1
145 shift
146 func_file_conv "$orig_archive"
147 archive=$file
148
149 # strip leading dash in $action
150 action=${action#-}
151
152 delete=
153 extract=
154 list=
155 quick=
156 replace=
157 index=
158 create=
159
160 while test -n "$action"
161 do
162 case $action in
163 d*) delete=yes ;;
164 x*) extract=yes ;;
165 t*) list=yes ;;
166 q*) quick=yes ;;
167 r*) replace=yes ;;
168 s*) index=yes ;;
169 S*) ;; # the index is always updated implicitly
170 c*) create=yes ;;
171 u*) ;; # TODO: don't ignore the update modifier
172 v*) ;; # TODO: don't ignore the verbose modifier
173 *)
174 func_error "unknown action specified"
175 ;;
176 esac
177 action=${action#?}
178 done
179
180 case $delete$extract$list$quick$replace,$index in
181 yes,* | ,yes)
182 ;;
183 yesyes*)
184 func_error "more than one action specified"
185 ;;
186 *)
187 func_error "no action specified"
188 ;;
189 esac
190
191 if test -n "$delete"; then
192 if test ! -f "$orig_archive"; then
193 func_error "archive not found"
194 fi
195 for member
196 do
197 case $1 in
198 @*)
199 func_at_file "${1#@}" -REMOVE "$archive"
200 ;;
201 *)
202 func_file_conv "$1"
203 $AR -NOLOGO -REMOVE:"$file" "$archive" || exit $?
204 ;;
205 esac
206 done
207
208 elif test -n "$extract"; then
209 if test ! -f "$orig_archive"; then
210 func_error "archive not found"
211 fi
212 if test $# -gt 0; then
213 for member
214 do
215 case $1 in
216 @*)
217 func_at_file "${1#@}" -EXTRACT "$archive"
218 ;;
219 *)
220 func_file_conv "$1"
221 $AR -NOLOGO -EXTRACT:"$file" "$archive" || exit $?
222 ;;
223 esac
224 done
225 else
226 $AR -NOLOGO -LIST "$archive" | sed -e 's/\\/\\\\/g' | while read member
227 do
228 $AR -NOLOGO -EXTRACT:"$member" "$archive" || exit $?
229 done
230 fi
231
232 elif test -n "$quick$replace"; then
233 if test ! -f "$orig_archive"; then
234 if test -z "$create"; then
235 echo "$me: creating $orig_archive"
236 fi
237 orig_archive=
238 else
239 orig_archive=$archive
240 fi
241
242 for member
243 do
244 case $1 in
245 @*)
246 func_file_conv "${1#@}"
247 set x "$@" "@$file"
248 ;;
249 *)
250 func_file_conv "$1"
251 set x "$@" "$file"
252 ;;
253 esac
254 shift
255 shift
256 done
257
258 if test -n "$orig_archive"; then
259 $AR -NOLOGO -OUT:"$archive" "$orig_archive" "$@" || exit $?
260 else
261 $AR -NOLOGO -OUT:"$archive" "$@" || exit $?
262 fi
263
264 elif test -n "$list"; then
265 if test ! -f "$orig_archive"; then
266 func_error "archive not found"
267 fi
268 $AR -NOLOGO -LIST "$archive" || exit $?
269 fi
0 #!/bin/sh
1 # a u t o g e n . s h
2 #
3 # Copyright (c) 2005-2010 United States Government as represented by
4 # the U.S. Army Research Laboratory.
5 #
6 # Redistribution and use in source and binary forms, with or without
7 # modification, are permitted provided that the following conditions
8 # are met:
9 #
10 # 1. Redistributions of source code must retain the above copyright
11 # notice, this list of conditions and the following disclaimer.
12 #
13 # 2. Redistributions in binary form must reproduce the above
14 # copyright notice, this list of conditions and the following
15 # disclaimer in the documentation and/or other materials provided
16 # with the distribution.
17 #
18 # 3. The name of the author may not be used to endorse or promote
19 # products derived from this software without specific prior written
20 # permission.
21 #
22 # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
23 # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
24 # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25 # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
26 # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
28 # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29 # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
31 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 #
34 ###
35 #
36 # Script for automatically preparing the sources for compilation by
37 # performing the myriad of necessary steps. The script attempts to
38 # detect proper version support, and outputs warnings about particular
39 # systems that have autotool peculiarities.
40 #
41 # Basically, if everything is set up and installed correctly, the
42 # script will validate that minimum versions of the GNU Build System
43 # tools are installed, account for several common configuration
44 # issues, and then simply run autoreconf for you.
45 #
46 # If autoreconf fails, which can happen for many valid configurations,
47 # this script proceeds to run manual preparation steps effectively
48 # providing a POSIX shell script (mostly complete) reimplementation of
49 # autoreconf.
50 #
51 # The AUTORECONF, AUTOCONF, AUTOMAKE, LIBTOOLIZE, ACLOCAL, AUTOHEADER
52 # environment variables and corresponding _OPTIONS variables (e.g.
53 # AUTORECONF_OPTIONS) may be used to override the default automatic
54 # detection behaviors. Similarly the _VERSION variables will override
55 # the minimum required version numbers.
56 #
57 # Examples:
58 #
59 # To obtain help on usage:
60 # ./autogen.sh --help
61 #
62 # To obtain verbose output:
63 # ./autogen.sh --verbose
64 #
65 # To skip autoreconf and prepare manually:
66 # AUTORECONF=false ./autogen.sh
67 #
68 # To verbosely try running with an older (unsupported) autoconf:
69 # AUTOCONF_VERSION=2.50 ./autogen.sh --verbose
70 #
71 # Author:
72 # Christopher Sean Morrison <morrison@brlcad.org>
73 #
74 # Patches:
75 # Sebastian Pipping <sebastian@pipping.org>
76 # Tom Browder <tbrowder2@users.sourceforge.net>
77 #
78 ######################################################################
79
80 # set to minimum acceptable version of autoconf
81 if [ "x$AUTOCONF_VERSION" = "x" ] ; then
82 AUTOCONF_VERSION=2.52
83 fi
84 # set to minimum acceptable version of automake
85 if [ "x$AUTOMAKE_VERSION" = "x" ] ; then
86 AUTOMAKE_VERSION=1.6.0
87 fi
88 # set to minimum acceptable version of libtool
89 if [ "x$LIBTOOL_VERSION" = "x" ] ; then
90 LIBTOOL_VERSION=1.4.2
91 fi
92
93
94 ##################
95 # ident function #
96 ##################
97 ident ( ) {
98 # extract copyright from header
99 __copyright="`grep Copyright $AUTOGEN_SH | head -${HEAD_N}1 | awk '{print $4}'`"
100 if [ "x$__copyright" = "x" ] ; then
101 __copyright="`date +%Y`"
102 fi
103
104 # extract version from CVS Id string
105 __id="$Id$"
106 __version="`echo $__id | sed 's/.*\([0-9][0-9][0-9][0-9]\)[-\/]\([0-9][0-9]\)[-\/]\([0-9][0-9]\).*/\1\2\3/'`"
107 if [ "x$__version" = "x" ] ; then
108 __version=""
109 fi
110
111 echo "autogen.sh build preparation script by Christopher Sean Morrison"
112 echo " + config.guess download patch by Sebastian Pipping (2008-12-03)"
113 echo "revised 3-clause BSD-style license, copyright (c) $__copyright"
114 echo "script version $__version, ISO/IEC 9945 POSIX shell script"
115 }
116
117
118 ##################
119 # USAGE FUNCTION #
120 ##################
121 usage ( ) {
122 echo "Usage: $AUTOGEN_SH [-h|--help] [-v|--verbose] [-q|--quiet] [-d|--download] [--version]"
123 echo " --help Help on $NAME_OF_AUTOGEN usage"
124 echo " --verbose Verbose progress output"
125 echo " --quiet Quiet suppressed progress output"
126 echo " --download Download the latest config.guess from gnulib"
127 echo " --version Only perform GNU Build System version checks"
128 echo
129 echo "Description: This script will validate that minimum versions of the"
130 echo "GNU Build System tools are installed and then run autoreconf for you."
131 echo "Should autoreconf fail, manual preparation steps will be run"
132 echo "potentially accounting for several common preparation issues. The"
133
134 echo "AUTORECONF, AUTOCONF, AUTOMAKE, LIBTOOLIZE, ACLOCAL, AUTOHEADER,"
135 echo "PROJECT, & CONFIGURE environment variables and corresponding _OPTIONS"
136 echo "variables (e.g. AUTORECONF_OPTIONS) may be used to override the"
137 echo "default automatic detection behavior."
138 echo
139
140 ident
141
142 return 0
143 }
144
145
146 ##########################
147 # VERSION_ERROR FUNCTION #
148 ##########################
149 version_error ( ) {
150 if [ "x$1" = "x" ] ; then
151 echo "INTERNAL ERROR: version_error was not provided a version"
152 exit 1
153 fi
154 if [ "x$2" = "x" ] ; then
155 echo "INTERNAL ERROR: version_error was not provided an application name"
156 exit 1
157 fi
158 $ECHO
159 $ECHO "ERROR: To prepare the ${PROJECT} build system from scratch,"
160 $ECHO " at least version $1 of $2 must be installed."
161 $ECHO
162 $ECHO "$NAME_OF_AUTOGEN does not need to be run on the same machine that will"
163 $ECHO "run configure or make. Either the GNU Autotools will need to be installed"
164 $ECHO "or upgraded on this system, or $NAME_OF_AUTOGEN must be run on the source"
165 $ECHO "code on another system and then transferred to here. -- Cheers!"
166 $ECHO
167 }
168
169 ##########################
170 # VERSION_CHECK FUNCTION #
171 ##########################
172 version_check ( ) {
173 if [ "x$1" = "x" ] ; then
174 echo "INTERNAL ERROR: version_check was not provided a minimum version"
175 exit 1
176 fi
177 _min="$1"
178 if [ "x$2" = "x" ] ; then
179 echo "INTERNAL ERROR: version check was not provided a comparison version"
180 exit 1
181 fi
182 _cur="$2"
183
184 # needed to handle versions like 1.10 and 1.4-p6
185 _min="`echo ${_min}. | sed 's/[^0-9]/./g' | sed 's/\.\././g'`"
186 _cur="`echo ${_cur}. | sed 's/[^0-9]/./g' | sed 's/\.\././g'`"
187
188 _min_major="`echo $_min | cut -d. -f1`"
189 _min_minor="`echo $_min | cut -d. -f2`"
190 _min_patch="`echo $_min | cut -d. -f3`"
191
192 _cur_major="`echo $_cur | cut -d. -f1`"
193 _cur_minor="`echo $_cur | cut -d. -f2`"
194 _cur_patch="`echo $_cur | cut -d. -f3`"
195
196 if [ "x$_min_major" = "x" ] ; then
197 _min_major=0
198 fi
199 if [ "x$_min_minor" = "x" ] ; then
200 _min_minor=0
201 fi
202 if [ "x$_min_patch" = "x" ] ; then
203 _min_patch=0
204 fi
205 if [ "x$_cur_minor" = "x" ] ; then
206 _cur_major=0
207 fi
208 if [ "x$_cur_minor" = "x" ] ; then
209 _cur_minor=0
210 fi
211 if [ "x$_cur_patch" = "x" ] ; then
212 _cur_patch=0
213 fi
214
215 $VERBOSE_ECHO "Checking if ${_cur_major}.${_cur_minor}.${_cur_patch} is greater than ${_min_major}.${_min_minor}.${_min_patch}"
216
217 if [ $_min_major -lt $_cur_major ] ; then
218 return 0
219 elif [ $_min_major -eq $_cur_major ] ; then
220 if [ $_min_minor -lt $_cur_minor ] ; then
221 return 0
222 elif [ $_min_minor -eq $_cur_minor ] ; then
223 if [ $_min_patch -lt $_cur_patch ] ; then
224 return 0
225 elif [ $_min_patch -eq $_cur_patch ] ; then
226 return 0
227 fi
228 fi
229 fi
230 return 1
231 }
232
233
234 ######################################
235 # LOCATE_CONFIGURE_TEMPLATE FUNCTION #
236 ######################################
237 locate_configure_template ( ) {
238 _pwd="`pwd`"
239 if test -f "./configure.ac" ; then
240 echo "./configure.ac"
241 elif test -f "./configure.in" ; then
242 echo "./configure.in"
243 elif test -f "$_pwd/configure.ac" ; then
244 echo "$_pwd/configure.ac"
245 elif test -f "$_pwd/configure.in" ; then
246 echo "$_pwd/configure.in"
247 elif test -f "$PATH_TO_AUTOGEN/configure.ac" ; then
248 echo "$PATH_TO_AUTOGEN/configure.ac"
249 elif test -f "$PATH_TO_AUTOGEN/configure.in" ; then
250 echo "$PATH_TO_AUTOGEN/configure.in"
251 fi
252 }
253
254
255 ##################
256 # argument check #
257 ##################
258 ARGS="$*"
259 PATH_TO_AUTOGEN="`dirname $0`"
260 NAME_OF_AUTOGEN="`basename $0`"
261 AUTOGEN_SH="$PATH_TO_AUTOGEN/$NAME_OF_AUTOGEN"
262
263 LIBTOOL_M4="${PATH_TO_AUTOGEN}/misc/libtool.m4"
264
265 if [ "x$HELP" = "x" ] ; then
266 HELP=no
267 fi
268 if [ "x$QUIET" = "x" ] ; then
269 QUIET=no
270 fi
271 if [ "x$VERBOSE" = "x" ] ; then
272 VERBOSE=no
273 fi
274 if [ "x$VERSION_ONLY" = "x" ] ; then
275 VERSION_ONLY=no
276 fi
277 if [ "x$DOWNLOAD" = "x" ] ; then
278 DOWNLOAD=no
279 fi
280 if [ "x$AUTORECONF_OPTIONS" = "x" ] ; then
281 AUTORECONF_OPTIONS="-i -f"
282 fi
283 if [ "x$AUTOCONF_OPTIONS" = "x" ] ; then
284 AUTOCONF_OPTIONS="-f"
285 fi
286 if [ "x$AUTOMAKE_OPTIONS" = "x" ] ; then
287 AUTOMAKE_OPTIONS="-a -c -f"
288 fi
289 ALT_AUTOMAKE_OPTIONS="-a -c"
290 if [ "x$LIBTOOLIZE_OPTIONS" = "x" ] ; then
291 LIBTOOLIZE_OPTIONS="--automake -c -f"
292 fi
293 ALT_LIBTOOLIZE_OPTIONS="--automake --copy --force"
294 if [ "x$ACLOCAL_OPTIONS" = "x" ] ; then
295 ACLOCAL_OPTIONS=""
296 fi
297 if [ "x$AUTOHEADER_OPTIONS" = "x" ] ; then
298 AUTOHEADER_OPTIONS=""
299 fi
300 if [ "x$CONFIG_GUESS_URL" = "x" ] ; then
301 CONFIG_GUESS_URL="http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;f=build-aux/config.guess;hb=HEAD"
302 fi
303 for arg in $ARGS ; do
304 case "x$arg" in
305 x--help) HELP=yes ;;
306 x-[hH]) HELP=yes ;;
307 x--quiet) QUIET=yes ;;
308 x-[qQ]) QUIET=yes ;;
309 x--verbose) VERBOSE=yes ;;
310 x-[dD]) DOWNLOAD=yes ;;
311 x--download) DOWNLOAD=yes ;;
312 x-[vV]) VERBOSE=yes ;;
313 x--version) VERSION_ONLY=yes ;;
314 *)
315 echo "Unknown option: $arg"
316 echo
317 usage
318 exit 1
319 ;;
320 esac
321 done
322
323
324 #####################
325 # environment check #
326 #####################
327
328 # sanity check before recursions potentially begin
329 if [ ! -f "$AUTOGEN_SH" ] ; then
330 if test -f ./autogen.sh ; then
331 PATH_TO_AUTOGEN="."
332 NAME_OF_AUTOGEN="autogen.sh"
333 AUTOGEN_SH="$PATH_TO_AUTOGEN/$NAME_OF_AUTOGEN"
334 else
335 echo "INTERNAL ERROR: $AUTOGEN_SH does not exist"
336 exit 1
337 fi
338 fi
339
340 # force locale setting to C so things like date output as expected
341 LC_ALL=C
342
343 # commands that this script expects
344 for __cmd in echo head tail pwd ; do
345 echo "test" > /dev/null 2>&1 | $__cmd > /dev/null 2>&1
346 if [ $? != 0 ] ; then
347 echo "INTERNAL ERROR: '${__cmd}' command is required"
348 exit 2
349 fi
350 done
351 echo "test" | grep "test" > /dev/null 2>&1
352 if test ! x$? = x0 ; then
353 echo "INTERNAL ERROR: grep command is required"
354 exit 1
355 fi
356 echo "test" | sed "s/test/test/" > /dev/null 2>&1
357 if test ! x$? = x0 ; then
358 echo "INTERNAL ERROR: sed command is required"
359 exit 1
360 fi
361
362
363 # determine the behavior of echo
364 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
365 *c*,-n*) ECHO_N= ECHO_C='
366 ' ECHO_T=' ' ;;
367 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
368 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
369 esac
370
371 # determine the behavior of head
372 case "x`echo 'head' | head -n 1 2>&1`" in
373 *xhead*) HEAD_N="n " ;;
374 *) HEAD_N="" ;;
375 esac
376
377 # determine the behavior of tail
378 case "x`echo 'tail' | tail -n 1 2>&1`" in
379 *xtail*) TAIL_N="n " ;;
380 *) TAIL_N="" ;;
381 esac
382
383 VERBOSE_ECHO=:
384 ECHO=:
385 if [ "x$QUIET" = "xyes" ] ; then
386 if [ "x$VERBOSE" = "xyes" ] ; then
387 echo "Verbose output quelled by quiet option. Further output disabled."
388 fi
389 else
390 ECHO=echo
391 if [ "x$VERBOSE" = "xyes" ] ; then
392 echo "Verbose output enabled"
393 VERBOSE_ECHO=echo
394 fi
395 fi
396
397
398 # allow a recursive run to disable further recursions
399 if [ "x$RUN_RECURSIVE" = "x" ] ; then
400 RUN_RECURSIVE=yes
401 fi
402
403
404 ################################################
405 # check for help arg and bypass version checks #
406 ################################################
407 if [ "x`echo $ARGS | sed 's/.*[hH][eE][lL][pP].*/help/'`" = "xhelp" ] ; then
408 HELP=yes
409 fi
410 if [ "x$HELP" = "xyes" ] ; then
411 usage
412 $ECHO "---"
413 $ECHO "Help was requested. No preparation or configuration will be performed."
414 exit 0
415 fi
416
417
418 #######################
419 # set up signal traps #
420 #######################
421 untrap_abnormal ( ) {
422 for sig in 1 2 13 15; do
423 trap - $sig
424 done
425 }
426
427 # do this cleanup whenever we exit.
428 trap '
429 # start from the root
430 if test -d "$START_PATH" ; then
431 cd "$START_PATH"
432 fi
433
434 # restore/delete backup files
435 if test "x$PFC_INIT" = "x1" ; then
436 recursive_restore
437 fi
438 ' 0
439
440 # trap SIGHUP (1), SIGINT (2), SIGPIPE (13), SIGTERM (15)
441 for sig in 1 2 13 15; do
442 trap '
443 $ECHO ""
444 $ECHO "Aborting $NAME_OF_AUTOGEN: caught signal '$sig'"
445
446 # start from the root
447 if test -d "$START_PATH" ; then
448 cd "$START_PATH"
449 fi
450
451 # clean up on abnormal exit
452 $VERBOSE_ECHO "rm -rf autom4te.cache"
453 rm -rf autom4te.cache
454
455 if test -f "acinclude.m4.$$.backup" ; then
456 $VERBOSE_ECHO "cat acinclude.m4.$$.backup > acinclude.m4"
457 chmod u+w acinclude.m4
458 cat acinclude.m4.$$.backup > acinclude.m4
459
460 $VERBOSE_ECHO "rm -f acinclude.m4.$$.backup"
461 rm -f acinclude.m4.$$.backup
462 fi
463
464 { (exit 1); exit 1; }
465 ' $sig
466 done
467
468
469 #############################
470 # look for a configure file #
471 #############################
472 if [ "x$CONFIGURE" = "x" ] ; then
473 CONFIGURE="`locate_configure_template`"
474 if [ ! "x$CONFIGURE" = "x" ] ; then
475 $VERBOSE_ECHO "Found a configure template: $CONFIGURE"
476 fi
477 else
478 $ECHO "Using CONFIGURE environment variable override: $CONFIGURE"
479 fi
480 if [ "x$CONFIGURE" = "x" ] ; then
481 if [ "x$VERSION_ONLY" = "xyes" ] ; then
482 CONFIGURE=/dev/null
483 else
484 $ECHO
485 $ECHO "A configure.ac or configure.in file could not be located implying"
486 $ECHO "that the GNU Build System is at least not used in this directory. In"
487 $ECHO "any case, there is nothing to do here without one of those files."
488 $ECHO
489 $ECHO "ERROR: No configure.in or configure.ac file found in `pwd`"
490 exit 1
491 fi
492 fi
493
494 ####################
495 # get project name #
496 ####################
497 if [ "x$PROJECT" = "x" ] ; then
498 PROJECT="`grep AC_INIT $CONFIGURE | grep -v '.*#.*AC_INIT' | tail -${TAIL_N}1 | sed 's/^[ ]*AC_INIT(\([^,)]*\).*/\1/' | sed 's/.*\[\(.*\)\].*/\1/'`"
499 if [ "x$PROJECT" = "xAC_INIT" ] ; then
500 # projects might be using the older/deprecated arg-less AC_INIT .. look for AM_INIT_AUTOMAKE instead
501 PROJECT="`grep AM_INIT_AUTOMAKE $CONFIGURE | grep -v '.*#.*AM_INIT_AUTOMAKE' | tail -${TAIL_N}1 | sed 's/^[ ]*AM_INIT_AUTOMAKE(\([^,)]*\).*/\1/' | sed 's/.*\[\(.*\)\].*/\1/'`"
502 fi
503 if [ "x$PROJECT" = "xAM_INIT_AUTOMAKE" ] ; then
504 PROJECT="project"
505 fi
506 if [ "x$PROJECT" = "x" ] ; then
507 PROJECT="project"
508 fi
509 else
510 $ECHO "Using PROJECT environment variable override: $PROJECT"
511 fi
512 $ECHO "Preparing the $PROJECT build system...please wait"
513 $ECHO
514
515
516 ########################
517 # check for autoreconf #
518 ########################
519 HAVE_AUTORECONF=no
520 if [ "x$AUTORECONF" = "x" ] ; then
521 for AUTORECONF in autoreconf ; do
522 $VERBOSE_ECHO "Checking autoreconf version: $AUTORECONF --version"
523 $AUTORECONF --version > /dev/null 2>&1
524 if [ $? = 0 ] ; then
525 HAVE_AUTORECONF=yes
526 break
527 fi
528 done
529 else
530 HAVE_AUTORECONF=yes
531 $ECHO "Using AUTORECONF environment variable override: $AUTORECONF"
532 fi
533
534
535 ##########################
536 # autoconf version check #
537 ##########################
538 _acfound=no
539 if [ "x$AUTOCONF" = "x" ] ; then
540 for AUTOCONF in autoconf ; do
541 $VERBOSE_ECHO "Checking autoconf version: $AUTOCONF --version"
542 $AUTOCONF --version > /dev/null 2>&1
543 if [ $? = 0 ] ; then
544 _acfound=yes
545 break
546 fi
547 done
548 else
549 _acfound=yes
550 $ECHO "Using AUTOCONF environment variable override: $AUTOCONF"
551 fi
552
553 _report_error=no
554 if [ ! "x$_acfound" = "xyes" ] ; then
555 $ECHO "ERROR: Unable to locate GNU Autoconf."
556 _report_error=yes
557 else
558 _version="`$AUTOCONF --version | head -${HEAD_N}1 | sed 's/[^0-9]*\([0-9\.][0-9\.]*\)/\1/'`"
559 if [ "x$_version" = "x" ] ; then
560 _version="0.0.0"
561 fi
562 $ECHO "Found GNU Autoconf version $_version"
563 version_check "$AUTOCONF_VERSION" "$_version"
564 if [ $? -ne 0 ] ; then
565 _report_error=yes
566 fi
567 fi
568 if [ "x$_report_error" = "xyes" ] ; then
569 version_error "$AUTOCONF_VERSION" "GNU Autoconf"
570 exit 1
571 fi
572
573
574 ##########################
575 # automake version check #
576 ##########################
577 _amfound=no
578 if [ "x$AUTOMAKE" = "x" ] ; then
579 for AUTOMAKE in automake ; do
580 $VERBOSE_ECHO "Checking automake version: $AUTOMAKE --version"
581 $AUTOMAKE --version > /dev/null 2>&1
582 if [ $? = 0 ] ; then
583 _amfound=yes
584 break
585 fi
586 done
587 else
588 _amfound=yes
589 $ECHO "Using AUTOMAKE environment variable override: $AUTOMAKE"
590 fi
591
592
593 _report_error=no
594 if [ ! "x$_amfound" = "xyes" ] ; then
595 $ECHO
596 $ECHO "ERROR: Unable to locate GNU Automake."
597 _report_error=yes
598 else
599 _version="`$AUTOMAKE --version | head -${HEAD_N}1 | sed 's/[^0-9]*\([0-9\.][0-9\.]*\)/\1/'`"
600 if [ "x$_version" = "x" ] ; then
601 _version="0.0.0"
602 fi
603 $ECHO "Found GNU Automake version $_version"
604 version_check "$AUTOMAKE_VERSION" "$_version"
605 if [ $? -ne 0 ] ; then
606 _report_error=yes
607 fi
608 fi
609 if [ "x$_report_error" = "xyes" ] ; then
610 version_error "$AUTOMAKE_VERSION" "GNU Automake"
611 exit 1
612 fi
613
614
615 ########################
616 # check for libtoolize #
617 ########################
618 HAVE_LIBTOOLIZE=yes
619 HAVE_ALT_LIBTOOLIZE=no
620 _ltfound=no
621 if [ "x$LIBTOOLIZE" = "x" ] ; then
622 LIBTOOLIZE=libtoolize
623 $VERBOSE_ECHO "Checking libtoolize version: $LIBTOOLIZE --version"
624 $LIBTOOLIZE --version > /dev/null 2>&1
625 if [ ! $? = 0 ] ; then
626 HAVE_LIBTOOLIZE=no
627 $ECHO
628 if [ "x$HAVE_AUTORECONF" = "xno" ] ; then
629 $ECHO "Warning: libtoolize does not appear to be available."
630 else
631 $ECHO "Warning: libtoolize does not appear to be available. This means that"
632 $ECHO "the automatic build preparation via autoreconf will probably not work."
633 $ECHO "Preparing the build by running each step individually, however, should"
634 $ECHO "work and will be done automatically for you if autoreconf fails."
635 fi
636
637 # look for some alternates
638 for tool in glibtoolize libtoolize15 libtoolize14 libtoolize13 ; do
639 $VERBOSE_ECHO "Checking libtoolize alternate: $tool --version"
640 _glibtoolize="`$tool --version > /dev/null 2>&1`"
641 if [ $? = 0 ] ; then
642 $VERBOSE_ECHO "Found $tool --version"
643 _glti="`which $tool`"
644 if [ "x$_glti" = "x" ] ; then
645 $VERBOSE_ECHO "Cannot find $tool with which"
646 continue;
647 fi
648 if test ! -f "$_glti" ; then
649 $VERBOSE_ECHO "Cannot use $tool, $_glti is not a file"
650 continue;
651 fi
652 _gltidir="`dirname $_glti`"
653 if [ "x$_gltidir" = "x" ] ; then
654 $VERBOSE_ECHO "Cannot find $tool path with dirname of $_glti"
655 continue;
656 fi
657 if test ! -d "$_gltidir" ; then
658 $VERBOSE_ECHO "Cannot use $tool, $_gltidir is not a directory"
659 continue;
660 fi
661 HAVE_ALT_LIBTOOLIZE=yes
662 LIBTOOLIZE="$tool"
663 $ECHO
664 $ECHO "Fortunately, $tool was found which means that your system may simply"
665 $ECHO "have a non-standard or incomplete GNU Autotools install. If you have"
666 $ECHO "sufficient system access, it may be possible to quell this warning by"
667 $ECHO "running:"
668 $ECHO
669 sudo -V > /dev/null 2>&1
670 if [ $? = 0 ] ; then
671 $ECHO " sudo ln -s $_glti $_gltidir/libtoolize"
672 $ECHO
673 else
674 $ECHO " ln -s $_glti $_gltidir/libtoolize"
675 $ECHO
676 $ECHO "Run that as root or with proper permissions to the $_gltidir directory"
677 $ECHO
678 fi
679 _ltfound=yes
680 break
681 fi
682 done
683 else
684 _ltfound=yes
685 fi
686 else
687 _ltfound=yes
688 $ECHO "Using LIBTOOLIZE environment variable override: $LIBTOOLIZE"
689 fi
690
691
692 ############################
693 # libtoolize version check #
694 ############################
695 _report_error=no
696 if [ ! "x$_ltfound" = "xyes" ] ; then
697 $ECHO
698 $ECHO "ERROR: Unable to locate GNU Libtool."
699 _report_error=yes
700 else
701 _version="`$LIBTOOLIZE --version | head -${HEAD_N}1 | sed 's/[^0-9]*\([0-9\.][0-9\.]*\)/\1/'`"
702 if [ "x$_version" = "x" ] ; then
703 _version="0.0.0"
704 fi
705 $ECHO "Found GNU Libtool version $_version"
706 version_check "$LIBTOOL_VERSION" "$_version"
707 if [ $? -ne 0 ] ; then
708 _report_error=yes
709 fi
710 fi
711 if [ "x$_report_error" = "xyes" ] ; then
712 version_error "$LIBTOOL_VERSION" "GNU Libtool"
713 exit 1
714 fi
715
716
717 #####################
718 # check for aclocal #
719 #####################
720 if [ "x$ACLOCAL" = "x" ] ; then
721 for ACLOCAL in aclocal ; do
722 $VERBOSE_ECHO "Checking aclocal version: $ACLOCAL --version"
723 $ACLOCAL --version > /dev/null 2>&1
724 if [ $? = 0 ] ; then
725 break
726 fi
727 done
728 else
729 $ECHO "Using ACLOCAL environment variable override: $ACLOCAL"
730 fi
731
732
733 ########################
734 # check for autoheader #
735 ########################
736 if [ "x$AUTOHEADER" = "x" ] ; then
737 for AUTOHEADER in autoheader ; do
738 $VERBOSE_ECHO "Checking autoheader version: $AUTOHEADER --version"
739 $AUTOHEADER --version > /dev/null 2>&1
740 if [ $? = 0 ] ; then
741 break
742 fi
743 done
744 else
745 $ECHO "Using AUTOHEADER environment variable override: $AUTOHEADER"
746 fi
747
748
749 #########################
750 # check if version only #
751 #########################
752 $VERBOSE_ECHO "Checking whether to only output version information"
753 if [ "x$VERSION_ONLY" = "xyes" ] ; then
754 $ECHO
755 ident
756 $ECHO "---"
757 $ECHO "Version requested. No preparation or configuration will be performed."
758 exit 0
759 fi
760
761
762 #################################
763 # PROTECT_FROM_CLOBBER FUNCTION #
764 #################################
765 protect_from_clobber ( ) {
766 PFC_INIT=1
767
768 # protect COPYING & INSTALL from overwrite by automake. the
769 # automake force option will (inappropriately) ignore the existing
770 # contents of a COPYING and/or INSTALL files (depending on the
771 # version) instead of just forcing *missing* files like it does
772 # for AUTHORS, NEWS, and README. this is broken but extremely
773 # prevalent behavior, so we protect against it by keeping a backup
774 # of the file that can later be restored.
775
776 for file in COPYING INSTALL ; do
777 if test -f ${file} ; then
778 if test -f ${file}.$$.protect_from_automake.backup ; then
779 $VERBOSE_ECHO "Already backed up ${file} in `pwd`"
780 else
781 $VERBOSE_ECHO "Backing up ${file} in `pwd`"
782 $VERBOSE_ECHO "cp -p ${file} ${file}.$$.protect_from_automake.backup"
783 cp -p ${file} ${file}.$$.protect_from_automake.backup
784 fi
785 fi
786 done
787 }
788
789
790 ##############################
791 # RECURSIVE_PROTECT FUNCTION #
792 ##############################
793 recursive_protect ( ) {
794
795 # for projects using recursive configure, run the build
796 # preparation steps for the subdirectories. this function assumes
797 # START_PATH was set to pwd before recursion begins so that
798 # relative paths work.
799
800 # git 'r done, protect COPYING and INSTALL from being clobbered
801 protect_from_clobber
802
803 if test -d autom4te.cache ; then
804 $VERBOSE_ECHO "Found an autom4te.cache directory, deleting it"
805 $VERBOSE_ECHO "rm -rf autom4te.cache"
806 rm -rf autom4te.cache
807 fi
808
809 # find configure template
810 _configure="`locate_configure_template`"
811 if [ "x$_configure" = "x" ] ; then
812 return
813 fi
814 # $VERBOSE_ECHO "Looking for configure template found `pwd`/$_configure"
815
816 # look for subdirs
817 # $VERBOSE_ECHO "Looking for subdirs in `pwd`"
818 _det_config_subdirs="`grep AC_CONFIG_SUBDIRS $_configure | grep -v '.*#.*AC_CONFIG_SUBDIRS' | sed 's/^[ ]*AC_CONFIG_SUBDIRS(\(.*\)).*/\1/' | sed 's/.*\[\(.*\)\].*/\1/'`"
819 CHECK_DIRS=""
820 for dir in $_det_config_subdirs ; do
821 if test -d "`pwd`/$dir" ; then
822 CHECK_DIRS="$CHECK_DIRS \"`pwd`/$dir\""
823 fi
824 done
825
826 # process subdirs
827 if [ ! "x$CHECK_DIRS" = "x" ] ; then
828 $VERBOSE_ECHO "Recursively scanning the following directories:"
829 $VERBOSE_ECHO " $CHECK_DIRS"
830 for dir in $CHECK_DIRS ; do
831 $VERBOSE_ECHO "Protecting files from automake in $dir"
832 cd "$START_PATH"
833 eval "cd $dir"
834
835 # recursively git 'r done
836 recursive_protect
837 done
838 fi
839 } # end of recursive_protect
840
841
842 #############################
843 # RESTORE_CLOBBERED FUNCION #
844 #############################
845 restore_clobbered ( ) {
846
847 # The automake (and autoreconf by extension) -f/--force-missing
848 # option may overwrite COPYING and INSTALL even if they do exist.
849 # Here we restore the files if necessary.
850
851 spacer=no
852
853 for file in COPYING INSTALL ; do
854 if test -f ${file}.$$.protect_from_automake.backup ; then
855 if test -f ${file} ; then
856 # compare entire content, restore if needed
857 if test "x`cat ${file}`" != "x`cat ${file}.$$.protect_from_automake.backup`" ; then
858 if test "x$spacer" = "xno" ; then
859 $VERBOSE_ECHO
860 spacer=yes
861 fi
862 # restore the backup
863 $VERBOSE_ECHO "Restoring ${file} from backup (automake -f likely clobbered it)"
864 $VERBOSE_ECHO "rm -f ${file}"
865 rm -f ${file}
866 $VERBOSE_ECHO "mv ${file}.$$.protect_from_automake.backup ${file}"
867 mv ${file}.$$.protect_from_automake.backup ${file}
868 fi # check contents
869 elif test -f ${file}.$$.protect_from_automake.backup ; then
870 $VERBOSE_ECHO "mv ${file}.$$.protect_from_automake.backup ${file}"
871 mv ${file}.$$.protect_from_automake.backup ${file}
872 fi # -f ${file}
873
874 # just in case
875 $VERBOSE_ECHO "rm -f ${file}.$$.protect_from_automake.backup"
876 rm -f ${file}.$$.protect_from_automake.backup
877 fi # -f ${file}.$$.protect_from_automake.backup
878 done
879
880 CONFIGURE="`locate_configure_template`"
881 if [ "x$CONFIGURE" = "x" ] ; then
882 return
883 fi
884
885 _aux_dir="`grep AC_CONFIG_AUX_DIR $CONFIGURE | grep -v '.*#.*AC_CONFIG_AUX_DIR' | tail -${TAIL_N}1 | sed 's/^[ ]*AC_CONFIG_AUX_DIR(\(.*\)).*/\1/' | sed 's/.*\[\(.*\)\].*/\1/'`"
886 if test ! -d "$_aux_dir" ; then
887 _aux_dir=.
888 fi
889
890 for file in config.guess config.sub ltmain.sh ; do
891 if test -f "${_aux_dir}/${file}" ; then
892 $VERBOSE_ECHO "rm -f \"${_aux_dir}/${file}.backup\""
893 rm -f "${_aux_dir}/${file}.backup"
894 fi
895 done
896 } # end of restore_clobbered
897
898
899 ##############################
900 # RECURSIVE_RESTORE FUNCTION #
901 ##############################
902 recursive_restore ( ) {
903
904 # restore COPYING and INSTALL from backup if they were clobbered
905 # for each directory recursively.
906
907 # git 'r undone
908 restore_clobbered
909
910 # find configure template
911 _configure="`locate_configure_template`"
912 if [ "x$_configure" = "x" ] ; then
913 return
914 fi
915
916 # look for subdirs
917 _det_config_subdirs="`grep AC_CONFIG_SUBDIRS $_configure | grep -v '.*#.*AC_CONFIG_SUBDIRS' | sed 's/^[ ]*AC_CONFIG_SUBDIRS(\(.*\)).*/\1/' | sed 's/.*\[\(.*\)\].*/\1/'`"
918 CHECK_DIRS=""
919 for dir in $_det_config_subdirs ; do
920 if test -d "`pwd`/$dir" ; then
921 CHECK_DIRS="$CHECK_DIRS \"`pwd`/$dir\""
922 fi
923 done
924
925 # process subdirs
926 if [ ! "x$CHECK_DIRS" = "x" ] ; then
927 $VERBOSE_ECHO "Recursively scanning the following directories:"
928 $VERBOSE_ECHO " $CHECK_DIRS"
929 for dir in $CHECK_DIRS ; do
930 $VERBOSE_ECHO "Checking files for automake damage in $dir"
931 cd "$START_PATH"
932 eval "cd $dir"
933
934 # recursively git 'r undone
935 recursive_restore
936 done
937 fi
938 } # end of recursive_restore
939
940
941 #######################
942 # INITIALIZE FUNCTION #
943 #######################
944 initialize ( ) {
945
946 # this routine performs a variety of directory-specific
947 # initializations. some are sanity checks, some are preventive,
948 # and some are necessary setup detection.
949 #
950 # this function sets:
951 # CONFIGURE
952 # SEARCH_DIRS
953 # CONFIG_SUBDIRS
954
955 ##################################
956 # check for a configure template #
957 ##################################
958 CONFIGURE="`locate_configure_template`"
959 if [ "x$CONFIGURE" = "x" ] ; then
960 $ECHO
961 $ECHO "A configure.ac or configure.in file could not be located implying"
962 $ECHO "that the GNU Build System is at least not used in this directory. In"
963 $ECHO "any case, there is nothing to do here without one of those files."
964 $ECHO
965 $ECHO "ERROR: No configure.in or configure.ac file found in `pwd`"
966 exit 1
967 fi
968
969 #####################
970 # detect an aux dir #
971 #####################
972 _aux_dir="`grep AC_CONFIG_AUX_DIR $CONFIGURE | grep -v '.*#.*AC_CONFIG_AUX_DIR' | tail -${TAIL_N}1 | sed 's/^[ ]*AC_CONFIG_AUX_DIR(\(.*\)).*/\1/' | sed 's/.*\[\(.*\)\].*/\1/'`"
973 if test ! -d "$_aux_dir" ; then
974 _aux_dir=.
975 else
976 $VERBOSE_ECHO "Detected auxillary directory: $_aux_dir"
977 fi
978
979 ################################
980 # detect a recursive configure #
981 ################################
982 CONFIG_SUBDIRS=""
983 _det_config_subdirs="`grep AC_CONFIG_SUBDIRS $CONFIGURE | grep -v '.*#.*AC_CONFIG_SUBDIRS' | sed 's/^[ ]*AC_CONFIG_SUBDIRS(\(.*\)).*/\1/' | sed 's/.*\[\(.*\)\].*/\1/'`"
984 for dir in $_det_config_subdirs ; do
985 if test -d "`pwd`/$dir" ; then
986 $VERBOSE_ECHO "Detected recursive configure directory: `pwd`/$dir"
987 CONFIG_SUBDIRS="$CONFIG_SUBDIRS `pwd`/$dir"
988 fi
989 done
990
991 ###########################################################
992 # make sure certain required files exist for GNU projects #
993 ###########################################################
994 _marker_found=""
995 _marker_found_message_intro='Detected non-GNU marker "'
996 _marker_found_message_mid='" in '
997 for marker in foreign cygnus ; do
998 _marker_found_message=${_marker_found_message_intro}${marker}${_marker_found_message_mid}
999 _marker_found="`grep 'AM_INIT_AUTOMAKE.*'${marker} $CONFIGURE`"
1000 if [ ! "x$_marker_found" = "x" ] ; then
1001 $VERBOSE_ECHO "${_marker_found_message}`basename \"$CONFIGURE\"`"
1002 break
1003 fi
1004 if test -f "`dirname \"$CONFIGURE\"/Makefile.am`" ; then
1005 _marker_found="`grep 'AUTOMAKE_OPTIONS.*'${marker} Makefile.am`"
1006 if [ ! "x$_marker_found" = "x" ] ; then
1007 $VERBOSE_ECHO "${_marker_found_message}Makefile.am"
1008 break
1009 fi
1010 fi
1011 done
1012 if [ "x${_marker_found}" = "x" ] ; then
1013 _suggest_foreign=no
1014 for file in AUTHORS COPYING ChangeLog INSTALL NEWS README ; do
1015 if [ ! -f $file ] ; then
1016 $VERBOSE_ECHO "Touching ${file} since it does not exist"
1017 _suggest_foreign=yes
1018 touch $file
1019 fi
1020 done
1021
1022 if [ "x${_suggest_foreign}" = "xyes" ] ; then
1023 $ECHO
1024 $ECHO "Warning: Several files expected of projects that conform to the GNU"
1025 $ECHO "coding standards were not found. The files were automatically added"
1026 $ECHO "for you since you do not have a 'foreign' declaration specified."
1027 $ECHO
1028 $ECHO "Consider adding 'foreign' to AM_INIT_AUTOMAKE in `basename \"$CONFIGURE\"`"
1029 if test -f "`dirname \"$CONFIGURE\"/Makefile.am`" ; then
1030 $ECHO "or to AUTOMAKE_OPTIONS in your top-level Makefile.am file."
1031 fi
1032 $ECHO
1033 fi
1034 fi
1035
1036 ##################################################
1037 # make sure certain generated files do not exist #
1038 ##################################################
1039 for file in config.guess config.sub ltmain.sh ; do
1040 if test -f "${_aux_dir}/${file}" ; then
1041 $VERBOSE_ECHO "mv -f \"${_aux_dir}/${file}\" \"${_aux_dir}/${file}.backup\""
1042 mv -f "${_aux_dir}/${file}" "${_aux_dir}/${file}.backup"
1043 fi
1044 done
1045
1046 ############################
1047 # search alternate m4 dirs #
1048 ############################
1049 SEARCH_DIRS=""
1050 for dir in m4 ; do
1051 if [ -d $dir ] ; then
1052 $VERBOSE_ECHO "Found extra aclocal search directory: $dir"
1053 SEARCH_DIRS="$SEARCH_DIRS -I `pwd`/$dir"
1054 fi
1055 done
1056
1057 ######################################
1058 # remove any previous build products #
1059 ######################################
1060 if test -d autom4te.cache ; then
1061 $VERBOSE_ECHO "Found an autom4te.cache directory, deleting it"
1062 $VERBOSE_ECHO "rm -rf autom4te.cache"
1063 rm -rf autom4te.cache
1064 fi
1065 # tcl/tk (and probably others) have a customized aclocal.m4, so can't delete it
1066 # if test -f aclocal.m4 ; then
1067 # $VERBOSE_ECHO "Found an aclocal.m4 file, deleting it"
1068 # $VERBOSE_ECHO "rm -f aclocal.m4"
1069 # rm -f aclocal.m4
1070 # fi
1071
1072 } # end of initialize()
1073
1074
1075 ##############
1076 # initialize #
1077 ##############
1078
1079 # stash path
1080 START_PATH="`pwd`"
1081
1082 # Before running autoreconf or manual steps, some prep detection work
1083 # is necessary or useful. Only needs to occur once per directory, but
1084 # does need to traverse the entire subconfigure hierarchy to protect
1085 # files from being clobbered even by autoreconf.
1086 recursive_protect
1087
1088 # start from where we started
1089 cd "$START_PATH"
1090
1091 # get ready to process
1092 initialize
1093
1094
1095 #########################################
1096 # DOWNLOAD_GNULIB_CONFIG_GUESS FUNCTION #
1097 #########################################
1098
1099 # TODO - should make sure wget/curl exist and/or work before trying to
1100 # use them.
1101
1102 download_gnulib_config_guess () {
1103 # abuse gitweb to download gnulib's latest config.guess via HTTP
1104 config_guess_temp="config.guess.$$.download"
1105 ret=1
1106 for __cmd in wget curl fetch ; do
1107 $VERBOSE_ECHO "Checking for command ${__cmd}"
1108 ${__cmd} --version > /dev/null 2>&1
1109 ret=$?
1110 if [ ! $ret = 0 ] ; then
1111 continue
1112 fi
1113
1114 __cmd_version=`${__cmd} --version | head -n 1 | sed -e 's/^[^0-9]\+//' -e 's/ .*//'`
1115 $VERBOSE_ECHO "Found ${__cmd} ${__cmd_version}"
1116
1117 opts=""
1118 case ${__cmd} in
1119 wget)
1120 opts="-O"
1121 ;;
1122 curl)
1123 opts="-o"
1124 ;;
1125 fetch)
1126 opts="-t 5 -f"
1127 ;;
1128 esac
1129
1130 $VERBOSE_ECHO "Running $__cmd \"${CONFIG_GUESS_URL}\" $opts \"${config_guess_temp}\""
1131 eval "$__cmd \"${CONFIG_GUESS_URL}\" $opts \"${config_guess_temp}\"" > /dev/null 2>&1
1132 if [ $? = 0 ] ; then
1133 mv -f "${config_guess_temp}" ${_aux_dir}/config.guess
1134 ret=0
1135 break
1136 fi
1137 done
1138
1139 if [ ! $ret = 0 ] ; then
1140 $ECHO "Warning: config.guess download failed from: $CONFIG_GUESS_URL"
1141 rm -f "${config_guess_temp}"
1142 fi
1143 }
1144
1145
1146 ##############################
1147 # LIBTOOLIZE_NEEDED FUNCTION #
1148 ##############################
1149 libtoolize_needed () {
1150 ret=1 # means no, don't need libtoolize
1151 for feature in AC_PROG_LIBTOOL AM_PROG_LIBTOOL LT_INIT ; do
1152 $VERBOSE_ECHO "Searching for $feature in $CONFIGURE"
1153 found="`grep \"^$feature.*\" $CONFIGURE`"
1154 if [ ! "x$found" = "x" ] ; then
1155 ret=0 # means yes, need to run libtoolize
1156 break
1157 fi
1158 done
1159 return ${ret}
1160 }
1161
1162
1163
1164 ############################################
1165 # prepare build via autoreconf or manually #
1166 ############################################
1167 reconfigure_manually=no
1168 if [ "x$HAVE_AUTORECONF" = "xyes" ] ; then
1169 $ECHO
1170 $ECHO $ECHO_N "Automatically preparing build ... $ECHO_C"
1171
1172 $VERBOSE_ECHO "$AUTORECONF $SEARCH_DIRS $AUTORECONF_OPTIONS"
1173 autoreconf_output="`$AUTORECONF $SEARCH_DIRS $AUTORECONF_OPTIONS 2>&1`"
1174 ret=$?
1175 $VERBOSE_ECHO "$autoreconf_output"
1176
1177 if [ ! $ret = 0 ] ; then
1178 if [ "x$HAVE_ALT_LIBTOOLIZE" = "xyes" ] ; then
1179 if [ ! "x`echo \"$autoreconf_output\" | grep libtoolize | grep \"No such file or directory\"`" = "x" ] ; then
1180 $ECHO
1181 $ECHO "Warning: autoreconf failed but due to what is usually a common libtool"
1182 $ECHO "misconfiguration issue. This problem is encountered on systems that"
1183 $ECHO "have installed libtoolize under a different name without providing a"
1184 $ECHO "symbolic link or without setting the LIBTOOLIZE environment variable."
1185 $ECHO
1186 $ECHO "Restarting the preparation steps with LIBTOOLIZE set to $LIBTOOLIZE"
1187
1188 export LIBTOOLIZE
1189 RUN_RECURSIVE=no
1190 export RUN_RECURSIVE
1191 untrap_abnormal
1192
1193 $VERBOSE_ECHO sh $AUTOGEN_SH "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9"
1194 sh "$AUTOGEN_SH" "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9"
1195 exit $?
1196 fi
1197 fi
1198
1199 $ECHO "Warning: $AUTORECONF failed"
1200
1201 if test -f ltmain.sh ; then
1202 $ECHO "libtoolize being run by autoreconf is not creating ltmain.sh in the auxillary directory like it should"
1203 fi
1204
1205 $ECHO "Attempting to run the preparation steps individually"
1206 reconfigure_manually=yes
1207 else
1208 if [ "x$DOWNLOAD" = "xyes" ] ; then
1209 if libtoolize_needed ; then
1210 download_gnulib_config_guess
1211 fi
1212 fi
1213 fi
1214 else
1215 reconfigure_manually=yes
1216 fi
1217
1218
1219 ############################
1220 # LIBTOOL_FAILURE FUNCTION #
1221 ############################
1222 libtool_failure ( ) {
1223
1224 # libtool is rather error-prone in comparison to the other
1225 # autotools and this routine attempts to compensate for some
1226 # common failures. the output after a libtoolize failure is
1227 # parsed for an error related to AC_PROG_LIBTOOL and if found, we
1228 # attempt to inject a project-provided libtool.m4 file.
1229
1230 _autoconf_output="$1"
1231
1232 if [ "x$RUN_RECURSIVE" = "xno" ] ; then
1233 # we already tried the libtool.m4, don't try again
1234 return 1
1235 fi
1236
1237 if test -f "$LIBTOOL_M4" ; then
1238 found_libtool="`$ECHO $_autoconf_output | grep AC_PROG_LIBTOOL`"
1239 if test ! "x$found_libtool" = "x" ; then
1240 if test -f acinclude.m4 ; then
1241 rm -f acinclude.m4.$$.backup
1242 $VERBOSE_ECHO "cat acinclude.m4 > acinclude.m4.$$.backup"
1243 cat acinclude.m4 > acinclude.m4.$$.backup
1244 fi
1245 $VERBOSE_ECHO "cat \"$LIBTOOL_M4\" >> acinclude.m4"
1246 chmod u+w acinclude.m4
1247 cat "$LIBTOOL_M4" >> acinclude.m4
1248
1249 # don't keep doing this
1250 RUN_RECURSIVE=no
1251 export RUN_RECURSIVE
1252 untrap_abnormal
1253
1254 $ECHO
1255 $ECHO "Restarting the preparation steps with libtool macros in acinclude.m4"
1256 $VERBOSE_ECHO sh $AUTOGEN_SH "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9"
1257 sh "$AUTOGEN_SH" "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9"
1258 exit $?
1259 fi
1260 fi
1261 }
1262
1263
1264 ###########################
1265 # MANUAL_AUTOGEN FUNCTION #
1266 ###########################
1267 manual_autogen ( ) {
1268
1269 ##################################################
1270 # Manual preparation steps taken are as follows: #
1271 # aclocal [-I m4] #
1272 # libtoolize --automake -c -f #
1273 # aclocal [-I m4] #
1274 # autoconf -f #
1275 # autoheader #
1276 # automake -a -c -f #
1277 ##################################################
1278
1279 ###########
1280 # aclocal #
1281 ###########
1282 $VERBOSE_ECHO "$ACLOCAL $SEARCH_DIRS $ACLOCAL_OPTIONS"
1283 aclocal_output="`$ACLOCAL $SEARCH_DIRS $ACLOCAL_OPTIONS 2>&1`"
1284 ret=$?
1285 $VERBOSE_ECHO "$aclocal_output"
1286 if [ ! $ret = 0 ] ; then $ECHO "ERROR: $ACLOCAL failed" && exit 2 ; fi
1287
1288 ##############
1289 # libtoolize #
1290 ##############
1291 if libtoolize_needed ; then
1292 if [ "x$HAVE_LIBTOOLIZE" = "xyes" ] ; then
1293 $VERBOSE_ECHO "$LIBTOOLIZE $LIBTOOLIZE_OPTIONS"
1294 libtoolize_output="`$LIBTOOLIZE $LIBTOOLIZE_OPTIONS 2>&1`"
1295 ret=$?
1296 $VERBOSE_ECHO "$libtoolize_output"
1297
1298 if [ ! $ret = 0 ] ; then $ECHO "ERROR: $LIBTOOLIZE failed" && exit 2 ; fi
1299 else
1300 if [ "x$HAVE_ALT_LIBTOOLIZE" = "xyes" ] ; then
1301 $VERBOSE_ECHO "$LIBTOOLIZE $ALT_LIBTOOLIZE_OPTIONS"
1302 libtoolize_output="`$LIBTOOLIZE $ALT_LIBTOOLIZE_OPTIONS 2>&1`"
1303 ret=$?
1304 $VERBOSE_ECHO "$libtoolize_output"
1305
1306 if [ ! $ret = 0 ] ; then $ECHO "ERROR: $LIBTOOLIZE failed" && exit 2 ; fi
1307 fi
1308 fi
1309
1310 ###########
1311 # aclocal #
1312 ###########
1313 # re-run again as instructed by libtoolize
1314 $VERBOSE_ECHO "$ACLOCAL $SEARCH_DIRS $ACLOCAL_OPTIONS"
1315 aclocal_output="`$ACLOCAL $SEARCH_DIRS $ACLOCAL_OPTIONS 2>&1`"
1316 ret=$?
1317 $VERBOSE_ECHO "$aclocal_output"
1318
1319 # libtoolize might put ltmain.sh in the wrong place
1320 if test -f ltmain.sh ; then
1321 if test ! -f "${_aux_dir}/ltmain.sh" ; then
1322 $ECHO
1323 $ECHO "Warning: $LIBTOOLIZE is creating ltmain.sh in the wrong directory"
1324 $ECHO
1325 $ECHO "Fortunately, the problem can be worked around by simply copying the"
1326 $ECHO "file to the appropriate location (${_aux_dir}/). This has been done for you."
1327 $ECHO
1328 $VERBOSE_ECHO "cp -p ltmain.sh \"${_aux_dir}/ltmain.sh\""
1329 cp -p ltmain.sh "${_aux_dir}/ltmain.sh"
1330 $ECHO $ECHO_N "Continuing build preparation ... $ECHO_C"
1331 fi
1332 fi # ltmain.sh
1333
1334 if [ "x$DOWNLOAD" = "xyes" ] ; then
1335 download_gnulib_config_guess
1336 fi
1337 fi # libtoolize_needed
1338
1339 ############
1340 # autoconf #
1341 ############
1342 $VERBOSE_ECHO
1343 $VERBOSE_ECHO "$AUTOCONF $AUTOCONF_OPTIONS"
1344 autoconf_output="`$AUTOCONF $AUTOCONF_OPTIONS 2>&1`"
1345 ret=$?
1346 $VERBOSE_ECHO "$autoconf_output"
1347
1348 if [ ! $ret = 0 ] ; then
1349 # retry without the -f and check for usage of macros that are too new
1350 ac2_65_macros="AT_CHECK_EUNIT AC_PROG_OBJCXX AC_PROG_OBJCXXCPP"
1351 ac2_64_macros="AT_CHECK_UNQUOTED AT_FAIL_IF AT_SKIP_IF AC_ERLANG_SUBST_ERTS_VER"
1352 ac2_62_macros="AC_AUTOCONF_VERSION AC_OPENMP AC_PATH_PROGS_FEATURE_CHECK"
1353 ac2_60_macros="AC_C_FLEXIBLE_ARRAY_MEMBER AC_C_VARARRAYS"
1354 ac2_59_macros="AC_C_RESTRICT AC_INCLUDES_DEFAULT AC_LANG_ASSERT AC_LANG_WERROR AS_SET_CATFILE AC_PROG_SED AC_PROG_GREP AC_REQUIRE_AUX_FILE AC_CHECK_TARGET_TOOL AC_PATH_TARGET_TOOL AC_CHECK_TARGET_TOOLS AC_CHECK_ALIGNOF AC_PROG_OBJC AC_PROG_OBJCPP AC_ERLANG_SUBST_INSTALL_LIB_DIR AC_ERLANG_SUBST_INSTALL_LIB_SUBDIR AC_ERLANG_PATH_ERLC AC_ERLANG_NEED_ERLC AC_ERLANG_PATH_ERL AC_ERLANG_NEED_ERL AC_ERLANG_CHECK_LIB AC_ERLANG_SUBST_ROOT_DIR AC_ERLANG_SUBST_LIB_DIR AT_COPYRIGHT AS_BOURNE_COMPATIBLE AS_SHELL_SANITIZE AS_CASE AH_HEADER AC_USE_SYSTEM_EXTENSIONS AC_TYPE_INT8_T AC_TYPE_INT16_T AC_TYPE_INT32_T AC_TYPE_INT64_T AC_TYPE_INTMAX_T AC_TYPE_INTPTR_T AC_TYPE_LONG_LONG_INT AC_TYPE_SSIZE_T AC_TYPE_UINT8_T AC_TYPE_UINT16_T AC_TYPE_UINT32_T AC_TYPE_UINT64_T AC_TYPE_UINTMAX_T AC_TYPE_UINTPTR_T AC_TYPE_UNSIGNED_LONG_LONG_INT AC_TYPE_LONG_DOUBLE AC_TYPE_LONG_DOUBLE_WIDER AC_STRUCT_DIRENT_D_INO AC_STRUCT_DIRENT_D_TYPE AC_PROG_CC_C89 AC_PROG_CC_C99 AC_PRESERVE_HELP_ORDER AC_HEADER_ASSERT AC_FUNC_STRTOLD AC_C_TYPEOF AC_PROG_MKDIR_P AC_PROG_CXX_C_O"
1355 ac2_55_macros="AC_COMPILER_IFELSE AC_FUNC_MBRTOWC AC_HEADER_STDBOOL AC_LANG_CONFTEST AC_LANG_SOURCE AC_LANG_PROGRAM AC_LANG_CALL AC_LANG_FUNC_TRY_LINK AC_MSG_FAILURE AC_PREPROC_IFELSE"
1356 ac2_54_macros="AC_C_BACKSLASH_A AC_CONFIG_LIBOBJ_DIR AC_GNU_SOURCE AC_PROG_EGREP AC_PROG_FGREP AC_REPLACE_FNMATCH AC_FUNC_FNMATCH_GNU AC_FUNC_REALLOC AC_TYPE_MBSTATE_T"
1357
1358 macros_to_search=""
1359 ac_major="`echo ${AUTOCONF_VERSION}. | cut -d. -f1 | sed 's/[^0-9]//g'`"
1360 ac_minor="`echo ${AUTOCONF_VERSION}. | cut -d. -f2 | sed 's/[^0-9]//g'`"
1361
1362 if [ $ac_major -lt 2 ] ; then
1363 macros_to_search="$ac2_65 $ac2_64 $ac2_62 $ac2_60 $ac2_59 $ac2_55 $ac2_54"
1364 else
1365 if [ $ac_minor -lt 54 ] ; then
1366 macros_to_search="$ac2_65 $ac2_64 $ac2_62 $ac2_60 $ac2_59 $ac2_55 $ac2_54"
1367 elif [ $ac_minor -lt 55 ] ; then
1368 macros_to_search="$ac2_65 $ac2_64 $ac2_62 $ac2_60 $ac2_59 $ac2_55"
1369 elif [ $ac_minor -lt 59 ] ; then
1370 macros_to_search="$ac2_65 $ac2_64 $ac2_62 $ac2_60 $ac2_59"
1371 elif [ $ac_minor -lt 60 ] ; then
1372 macros_to_search="$ac2_65 $ac2_64 $ac2_62 $ac2_60"
1373 elif [ $ac_minor -lt 62 ] ; then
1374 macros_to_search="$ac2_65 $ac2_64 $ac2_62"
1375 elif [ $ac_minor -lt 64 ] ; then
1376 macros_to_search="$ac2_65 $ac2_64"
1377 elif [ $ac_minor -lt 65 ] ; then
1378 macros_to_search="$ac2_65"
1379 fi
1380 fi
1381
1382 configure_ac_macros=__none__
1383 for feature in $macros_to_search ; do
1384 $VERBOSE_ECHO "Searching for $feature in $CONFIGURE"
1385 found="`grep \"^$feature.*\" $CONFIGURE`"
1386 if [ ! "x$found" = "x" ] ; then
1387 if [ "x$configure_ac_macros" = "x__none__" ] ; then
1388 configure_ac_macros="$feature"
1389 else
1390 configure_ac_macros="$feature $configure_ac_macros"
1391 fi
1392 fi
1393 done
1394 if [ ! "x$configure_ac_macros" = "x__none__" ] ; then
1395 $ECHO
1396 $ECHO "Warning: Unsupported macros were found in $CONFIGURE"
1397 $ECHO
1398 $ECHO "The `basename \"$CONFIGURE\"` file was scanned in order to determine if any"
1399 $ECHO "unsupported macros are used that exceed the minimum version"
1400 $ECHO "settings specified within this file. As such, the following macros"
1401 $ECHO "should be removed from configure.ac or the version numbers in this"
1402 $ECHO "file should be increased:"
1403 $ECHO
1404 $ECHO "$configure_ac_macros"
1405 $ECHO
1406 $ECHO $ECHO_N "Ignorantly continuing build preparation ... $ECHO_C"
1407 fi
1408
1409 ###################
1410 # autoconf, retry #
1411 ###################
1412 $VERBOSE_ECHO
1413 $VERBOSE_ECHO "$AUTOCONF"
1414 autoconf_output="`$AUTOCONF 2>&1`"
1415 ret=$?
1416 $VERBOSE_ECHO "$autoconf_output"
1417
1418 if [ ! $ret = 0 ] ; then
1419 # test if libtool is busted
1420 libtool_failure "$autoconf_output"
1421
1422 # let the user know what went wrong
1423 cat <<EOF
1424 $autoconf_output
1425 EOF
1426 $ECHO "ERROR: $AUTOCONF failed"
1427 exit 2
1428 else
1429 # autoconf sans -f and possibly sans unsupported options succeed so warn verbosely
1430 $ECHO
1431 $ECHO "Warning: autoconf seems to have succeeded by removing the following options:"
1432 $ECHO " AUTOCONF_OPTIONS=\"$AUTOCONF_OPTIONS\""
1433 $ECHO
1434 $ECHO "Removing those options should not be necessary and indicate some other"
1435 $ECHO "problem with the build system. The build preparation is highly suspect"
1436 $ECHO "and may result in configuration or compilation errors. Consider"
1437 if [ "x$VERBOSE_ECHO" = "x:" ] ; then
1438 $ECHO "rerunning the build preparation with verbose output enabled."
1439 $ECHO " $AUTOGEN_SH --verbose"
1440 else
1441 $ECHO "reviewing the minimum GNU Autotools version settings contained in"
1442 $ECHO "this script along with the macros being used in your `basename \"$CONFIGURE\"` file."
1443 fi
1444 $ECHO
1445 $ECHO $ECHO_N "Continuing build preparation ... $ECHO_C"
1446 fi # autoconf ret = 0
1447 fi # autoconf ret = 0
1448
1449 ##############
1450 # autoheader #
1451 ##############
1452 need_autoheader=no
1453 for feature in AM_CONFIG_HEADER AC_CONFIG_HEADER ; do
1454 $VERBOSE_ECHO "Searching for $feature in $CONFIGURE"
1455 found="`grep \"^$feature.*\" $CONFIGURE`"
1456 if [ ! "x$found" = "x" ] ; then
1457 need_autoheader=yes
1458 break
1459 fi
1460 done
1461 if [ "x$need_autoheader" = "xyes" ] ; then
1462 $VERBOSE_ECHO "$AUTOHEADER $AUTOHEADER_OPTIONS"
1463 autoheader_output="`$AUTOHEADER $AUTOHEADER_OPTIONS 2>&1`"
1464 ret=$?
1465 $VERBOSE_ECHO "$autoheader_output"
1466 if [ ! $ret = 0 ] ; then $ECHO "ERROR: $AUTOHEADER failed" && exit 2 ; fi
1467 fi # need_autoheader
1468
1469 ############
1470 # automake #
1471 ############
1472 need_automake=no
1473 for feature in AM_INIT_AUTOMAKE ; do
1474 $VERBOSE_ECHO "Searching for $feature in $CONFIGURE"
1475 found="`grep \"^$feature.*\" $CONFIGURE`"
1476 if [ ! "x$found" = "x" ] ; then
1477 need_automake=yes
1478 break
1479 fi
1480 done
1481
1482 if [ "x$need_automake" = "xyes" ] ; then
1483 $VERBOSE_ECHO "$AUTOMAKE $AUTOMAKE_OPTIONS"
1484 automake_output="`$AUTOMAKE $AUTOMAKE_OPTIONS 2>&1`"
1485 ret=$?
1486 $VERBOSE_ECHO "$automake_output"
1487
1488 if [ ! $ret = 0 ] ; then
1489
1490 ###################
1491 # automake, retry #
1492 ###################
1493 $VERBOSE_ECHO
1494 $VERBOSE_ECHO "$AUTOMAKE $ALT_AUTOMAKE_OPTIONS"
1495 # retry without the -f
1496 automake_output="`$AUTOMAKE $ALT_AUTOMAKE_OPTIONS 2>&1`"
1497 ret=$?
1498 $VERBOSE_ECHO "$automake_output"
1499
1500 if [ ! $ret = 0 ] ; then
1501 # test if libtool is busted
1502 libtool_failure "$automake_output"
1503
1504 # let the user know what went wrong
1505 cat <<EOF
1506 $automake_output
1507 EOF
1508 $ECHO "ERROR: $AUTOMAKE failed"
1509 exit 2
1510 fi # automake retry
1511 fi # automake ret = 0
1512 fi # need_automake
1513 } # end of manual_autogen
1514
1515
1516 #####################################
1517 # RECURSIVE_MANUAL_AUTOGEN FUNCTION #
1518 #####################################
1519 recursive_manual_autogen ( ) {
1520
1521 # run the build preparation steps manually for this directory
1522 manual_autogen
1523
1524 # for projects using recursive configure, run the build
1525 # preparation steps for the subdirectories.
1526 if [ ! "x$CONFIG_SUBDIRS" = "x" ] ; then
1527 $VERBOSE_ECHO "Recursively configuring the following directories:"
1528 $VERBOSE_ECHO " $CONFIG_SUBDIRS"
1529 for dir in $CONFIG_SUBDIRS ; do
1530 $VERBOSE_ECHO "Processing recursive configure in $dir"
1531 cd "$START_PATH"
1532 cd "$dir"
1533
1534 # new directory, prepare
1535 initialize
1536
1537 # run manual steps for the subdir and any others below
1538 recursive_manual_autogen
1539 done
1540 fi
1541 }
1542
1543
1544 ################################
1545 # run manual preparation steps #
1546 ################################
1547 if [ "x$reconfigure_manually" = "xyes" ] ; then
1548 $ECHO
1549 $ECHO $ECHO_N "Preparing build ... $ECHO_C"
1550
1551 recursive_manual_autogen
1552 fi
1553
1554
1555 #########################
1556 # restore and summarize #
1557 #########################
1558 cd "$START_PATH"
1559
1560 # restore COPYING and INSTALL from backup if necessary
1561 recursive_restore
1562
1563 # make sure we end up with a configure script
1564 config_ac="`locate_configure_template`"
1565 config="`echo $config_ac | sed 's/\.ac$//' | sed 's/\.in$//'`"
1566 if [ "x$config" = "x" ] ; then
1567 $VERBOSE_ECHO "Could not locate the configure template (from `pwd`)"
1568 fi
1569
1570 # summarize
1571 $ECHO "done"
1572 $ECHO
1573 if test "x$config" = "x" -o ! -f "$config" ; then
1574 $ECHO "WARNING: The $PROJECT build system should now be prepared but there"
1575 $ECHO "does not seem to be a resulting configure file. This is unexpected"
1576 $ECHO "and likely the result of an error. You should run $NAME_OF_AUTOGEN"
1577 $ECHO "with the --verbose option to get more details on a potential"
1578 $ECHO "misconfiguration."
1579 else
1580 $ECHO "The $PROJECT build system is now prepared. To build here, run:"
1581 $ECHO " $config"
1582 $ECHO " make"
1583 fi
1584
1585 # finish up where we started
1586 cd "$START_PATH"
1587
1588 # Local Variables:
1589 # mode: sh
1590 # tab-width: 8
1591 # sh-basic-offset: 4
1592 # sh-indentation: 4
1593 # indent-tabs-mode: t
1594 # End:
1595 # ex: shiftwidth=4 tabstop=8
+0
-348
compile less more
0 #! /bin/sh
1 # Wrapper for compilers which do not understand '-c -o'.
2
3 scriptversion=2018-03-07.03; # UTC
4
5 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
6 # Written by Tom Tromey <tromey@cygnus.com>.
7 #
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2, or (at your option)
11 # any later version.
12 #
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
17 #
18 # You should have received a copy of the GNU General Public License
19 # along with this program. If not, see <https://www.gnu.org/licenses/>.
20
21 # As a special exception to the GNU General Public License, if you
22 # distribute this file as part of a program that contains a
23 # configuration script generated by Autoconf, you may include it under
24 # the same distribution terms that you use for the rest of that program.
25
26 # This file is maintained in Automake, please report
27 # bugs to <bug-automake@gnu.org> or send patches to
28 # <automake-patches@gnu.org>.
29
30 nl='
31 '
32
33 # We need space, tab and new line, in precisely that order. Quoting is
34 # there to prevent tools from complaining about whitespace usage.
35 IFS=" "" $nl"
36
37 file_conv=
38
39 # func_file_conv build_file lazy
40 # Convert a $build file to $host form and store it in $file
41 # Currently only supports Windows hosts. If the determined conversion
42 # type is listed in (the comma separated) LAZY, no conversion will
43 # take place.
44 func_file_conv ()
45 {
46 file=$1
47 case $file in
48 / | /[!/]*) # absolute file, and not a UNC file
49 if test -z "$file_conv"; then
50 # lazily determine how to convert abs files
51 case `uname -s` in
52 MINGW*)
53 file_conv=mingw
54 ;;
55 CYGWIN*)
56 file_conv=cygwin
57 ;;
58 *)
59 file_conv=wine
60 ;;
61 esac
62 fi
63 case $file_conv/,$2, in
64 *,$file_conv,*)
65 ;;
66 mingw/*)
67 file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
68 ;;
69 cygwin/*)
70 file=`cygpath -m "$file" || echo "$file"`
71 ;;
72 wine/*)
73 file=`winepath -w "$file" || echo "$file"`
74 ;;
75 esac
76 ;;
77 esac
78 }
79
80 # func_cl_dashL linkdir
81 # Make cl look for libraries in LINKDIR
82 func_cl_dashL ()
83 {
84 func_file_conv "$1"
85 if test -z "$lib_path"; then
86 lib_path=$file
87 else
88 lib_path="$lib_path;$file"
89 fi
90 linker_opts="$linker_opts -LIBPATH:$file"
91 }
92
93 # func_cl_dashl library
94 # Do a library search-path lookup for cl
95 func_cl_dashl ()
96 {
97 lib=$1
98 found=no
99 save_IFS=$IFS
100 IFS=';'
101 for dir in $lib_path $LIB
102 do
103 IFS=$save_IFS
104 if $shared && test -f "$dir/$lib.dll.lib"; then
105 found=yes
106 lib=$dir/$lib.dll.lib
107 break
108 fi
109 if test -f "$dir/$lib.lib"; then
110 found=yes
111 lib=$dir/$lib.lib
112 break
113 fi
114 if test -f "$dir/lib$lib.a"; then
115 found=yes
116 lib=$dir/lib$lib.a
117 break
118 fi
119 done
120 IFS=$save_IFS
121
122 if test "$found" != yes; then
123 lib=$lib.lib
124 fi
125 }
126
127 # func_cl_wrapper cl arg...
128 # Adjust compile command to suit cl
129 func_cl_wrapper ()
130 {
131 # Assume a capable shell
132 lib_path=
133 shared=:
134 linker_opts=
135 for arg
136 do
137 if test -n "$eat"; then
138 eat=
139 else
140 case $1 in
141 -o)
142 # configure might choose to run compile as 'compile cc -o foo foo.c'.
143 eat=1
144 case $2 in
145 *.o | *.[oO][bB][jJ])
146 func_file_conv "$2"
147 set x "$@" -Fo"$file"
148 shift
149 ;;
150 *)
151 func_file_conv "$2"
152 set x "$@" -Fe"$file"
153 shift
154 ;;
155 esac
156 ;;
157 -I)
158 eat=1
159 func_file_conv "$2" mingw
160 set x "$@" -I"$file"
161 shift
162 ;;
163 -I*)
164 func_file_conv "${1#-I}" mingw
165 set x "$@" -I"$file"
166 shift
167 ;;
168 -l)
169 eat=1
170 func_cl_dashl "$2"
171 set x "$@" "$lib"
172 shift
173 ;;
174 -l*)
175 func_cl_dashl "${1#-l}"
176 set x "$@" "$lib"
177 shift
178 ;;
179 -L)
180 eat=1
181 func_cl_dashL "$2"
182 ;;
183 -L*)
184 func_cl_dashL "${1#-L}"
185 ;;
186 -static)
187 shared=false
188 ;;
189 -Wl,*)
190 arg=${1#-Wl,}
191 save_ifs="$IFS"; IFS=','
192 for flag in $arg; do
193 IFS="$save_ifs"
194 linker_opts="$linker_opts $flag"
195 done
196 IFS="$save_ifs"
197 ;;
198 -Xlinker)
199 eat=1
200 linker_opts="$linker_opts $2"
201 ;;
202 -*)
203 set x "$@" "$1"
204 shift
205 ;;
206 *.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
207 func_file_conv "$1"
208 set x "$@" -Tp"$file"
209 shift
210 ;;
211 *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
212 func_file_conv "$1" mingw
213 set x "$@" "$file"
214 shift
215 ;;
216 *)
217 set x "$@" "$1"
218 shift
219 ;;
220 esac
221 fi
222 shift
223 done
224 if test -n "$linker_opts"; then
225 linker_opts="-link$linker_opts"
226 fi
227 exec "$@" $linker_opts
228 exit 1
229 }
230
231 eat=
232
233 case $1 in
234 '')
235 echo "$0: No command. Try '$0 --help' for more information." 1>&2
236 exit 1;
237 ;;
238 -h | --h*)
239 cat <<\EOF
240 Usage: compile [--help] [--version] PROGRAM [ARGS]
241
242 Wrapper for compilers which do not understand '-c -o'.
243 Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
244 arguments, and rename the output as expected.
245
246 If you are trying to build a whole package this is not the
247 right script to run: please start by reading the file 'INSTALL'.
248
249 Report bugs to <bug-automake@gnu.org>.
250 EOF
251 exit $?
252 ;;
253 -v | --v*)
254 echo "compile $scriptversion"
255 exit $?
256 ;;
257 cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
258 icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
259 func_cl_wrapper "$@" # Doesn't return...
260 ;;
261 esac
262
263 ofile=
264 cfile=
265
266 for arg
267 do
268 if test -n "$eat"; then
269 eat=
270 else
271 case $1 in
272 -o)
273 # configure might choose to run compile as 'compile cc -o foo foo.c'.
274 # So we strip '-o arg' only if arg is an object.
275 eat=1
276 case $2 in
277 *.o | *.obj)
278 ofile=$2
279 ;;
280 *)
281 set x "$@" -o "$2"
282 shift
283 ;;
284 esac
285 ;;
286 *.c)
287 cfile=$1
288 set x "$@" "$1"
289 shift
290 ;;
291 *)
292 set x "$@" "$1"
293 shift
294 ;;
295 esac
296 fi
297 shift
298 done
299
300 if test -z "$ofile" || test -z "$cfile"; then
301 # If no '-o' option was seen then we might have been invoked from a
302 # pattern rule where we don't need one. That is ok -- this is a
303 # normal compilation that the losing compiler can handle. If no
304 # '.c' file was seen then we are probably linking. That is also
305 # ok.
306 exec "$@"
307 fi
308
309 # Name of file we expect compiler to create.
310 cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
311
312 # Create the lock directory.
313 # Note: use '[/\\:.-]' here to ensure that we don't use the same name
314 # that we are using for the .o file. Also, base the name on the expected
315 # object file name, since that is what matters with a parallel build.
316 lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
317 while true; do
318 if mkdir "$lockdir" >/dev/null 2>&1; then
319 break
320 fi
321 sleep 1
322 done
323 # FIXME: race condition here if user kills between mkdir and trap.
324 trap "rmdir '$lockdir'; exit 1" 1 2 15
325
326 # Run the compile.
327 "$@"
328 ret=$?
329
330 if test -f "$cofile"; then
331 test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
332 elif test -f "${cofile}bj"; then
333 test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
334 fi
335
336 rmdir "$lockdir"
337 exit $ret
338
339 # Local Variables:
340 # mode: shell-script
341 # sh-indentation: 2
342 # eval: (add-hook 'before-save-hook 'time-stamp)
343 # time-stamp-start: "scriptversion="
344 # time-stamp-format: "%:y-%02m-%02d.%02H"
345 # time-stamp-time-zone: "UTC0"
346 # time-stamp-end: "; # UTC"
347 # End:
+0
-1476
config.guess less more
0 #! /bin/sh
1 # Attempt to guess a canonical system name.
2 # Copyright 1992-2018 Free Software Foundation, Inc.
3
4 timestamp='2018-03-08'
5
6 # This file is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or
9 # (at your option) any later version.
10 #
11 # This program is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, see <https://www.gnu.org/licenses/>.
18 #
19 # As a special exception to the GNU General Public License, if you
20 # distribute this file as part of a program that contains a
21 # configuration script generated by Autoconf, you may include it under
22 # the same distribution terms that you use for the rest of that
23 # program. This Exception is an additional permission under section 7
24 # of the GNU General Public License, version 3 ("GPLv3").
25 #
26 # Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
27 #
28 # You can get the latest version of this script from:
29 # https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
30 #
31 # Please send patches to <config-patches@gnu.org>.
32
33
34 me=`echo "$0" | sed -e 's,.*/,,'`
35
36 usage="\
37 Usage: $0 [OPTION]
38
39 Output the configuration name of the system \`$me' is run on.
40
41 Options:
42 -h, --help print this help, then exit
43 -t, --time-stamp print date of last modification, then exit
44 -v, --version print version number, then exit
45
46 Report bugs and patches to <config-patches@gnu.org>."
47
48 version="\
49 GNU config.guess ($timestamp)
50
51 Originally written by Per Bothner.
52 Copyright 1992-2018 Free Software Foundation, Inc.
53
54 This is free software; see the source for copying conditions. There is NO
55 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
56
57 help="
58 Try \`$me --help' for more information."
59
60 # Parse command line
61 while test $# -gt 0 ; do
62 case $1 in
63 --time-stamp | --time* | -t )
64 echo "$timestamp" ; exit ;;
65 --version | -v )
66 echo "$version" ; exit ;;
67 --help | --h* | -h )
68 echo "$usage"; exit ;;
69 -- ) # Stop option processing
70 shift; break ;;
71 - ) # Use stdin as input.
72 break ;;
73 -* )
74 echo "$me: invalid option $1$help" >&2
75 exit 1 ;;
76 * )
77 break ;;
78 esac
79 done
80
81 if test $# != 0; then
82 echo "$me: too many arguments$help" >&2
83 exit 1
84 fi
85
86 trap 'exit 1' 1 2 15
87
88 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a
89 # compiler to aid in system detection is discouraged as it requires
90 # temporary files to be created and, as you can see below, it is a
91 # headache to deal with in a portable fashion.
92
93 # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
94 # use `HOST_CC' if defined, but it is deprecated.
95
96 # Portable tmp directory creation inspired by the Autoconf team.
97
98 set_cc_for_build='
99 trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
100 trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
101 : ${TMPDIR=/tmp} ;
102 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
103 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
104 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
105 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
106 dummy=$tmp/dummy ;
107 tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
108 case $CC_FOR_BUILD,$HOST_CC,$CC in
109 ,,) echo "int x;" > "$dummy.c" ;
110 for c in cc gcc c89 c99 ; do
111 if ($c -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then
112 CC_FOR_BUILD="$c"; break ;
113 fi ;
114 done ;
115 if test x"$CC_FOR_BUILD" = x ; then
116 CC_FOR_BUILD=no_compiler_found ;
117 fi
118 ;;
119 ,,*) CC_FOR_BUILD=$CC ;;
120 ,*,*) CC_FOR_BUILD=$HOST_CC ;;
121 esac ; set_cc_for_build= ;'
122
123 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
124 # (ghazi@noc.rutgers.edu 1994-08-24)
125 if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
126 PATH=$PATH:/.attbin ; export PATH
127 fi
128
129 UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
130 UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
131 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
132 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
133
134 case "$UNAME_SYSTEM" in
135 Linux|GNU|GNU/*)
136 # If the system lacks a compiler, then just pick glibc.
137 # We could probably try harder.
138 LIBC=gnu
139
140 eval "$set_cc_for_build"
141 cat <<-EOF > "$dummy.c"
142 #include <features.h>
143 #if defined(__UCLIBC__)
144 LIBC=uclibc
145 #elif defined(__dietlibc__)
146 LIBC=dietlibc
147 #else
148 LIBC=gnu
149 #endif
150 EOF
151 eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`"
152
153 # If ldd exists, use it to detect musl libc.
154 if command -v ldd >/dev/null && \
155 ldd --version 2>&1 | grep -q ^musl
156 then
157 LIBC=musl
158 fi
159 ;;
160 esac
161
162 # Note: order is significant - the case branches are not exclusive.
163
164 case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
165 *:NetBSD:*:*)
166 # NetBSD (nbsd) targets should (where applicable) match one or
167 # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
168 # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
169 # switched to ELF, *-*-netbsd* would select the old
170 # object file format. This provides both forward
171 # compatibility and a consistent mechanism for selecting the
172 # object file format.
173 #
174 # Note: NetBSD doesn't particularly care about the vendor
175 # portion of the name. We always set it to "unknown".
176 sysctl="sysctl -n hw.machine_arch"
177 UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
178 "/sbin/$sysctl" 2>/dev/null || \
179 "/usr/sbin/$sysctl" 2>/dev/null || \
180 echo unknown)`
181 case "$UNAME_MACHINE_ARCH" in
182 armeb) machine=armeb-unknown ;;
183 arm*) machine=arm-unknown ;;
184 sh3el) machine=shl-unknown ;;
185 sh3eb) machine=sh-unknown ;;
186 sh5el) machine=sh5le-unknown ;;
187 earmv*)
188 arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv[0-9]\).*$,\1,'`
189 endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'`
190 machine="${arch}${endian}"-unknown
191 ;;
192 *) machine="$UNAME_MACHINE_ARCH"-unknown ;;
193 esac
194 # The Operating System including object format, if it has switched
195 # to ELF recently (or will in the future) and ABI.
196 case "$UNAME_MACHINE_ARCH" in
197 earm*)
198 os=netbsdelf
199 ;;
200 arm*|i386|m68k|ns32k|sh3*|sparc|vax)
201 eval "$set_cc_for_build"
202 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
203 | grep -q __ELF__
204 then
205 # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
206 # Return netbsd for either. FIX?
207 os=netbsd
208 else
209 os=netbsdelf
210 fi
211 ;;
212 *)
213 os=netbsd
214 ;;
215 esac
216 # Determine ABI tags.
217 case "$UNAME_MACHINE_ARCH" in
218 earm*)
219 expr='s/^earmv[0-9]/-eabi/;s/eb$//'
220 abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"`
221 ;;
222 esac
223 # The OS release
224 # Debian GNU/NetBSD machines have a different userland, and
225 # thus, need a distinct triplet. However, they do not need
226 # kernel version information, so it can be replaced with a
227 # suitable tag, in the style of linux-gnu.
228 case "$UNAME_VERSION" in
229 Debian*)
230 release='-gnu'
231 ;;
232 *)
233 release=`echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2`
234 ;;
235 esac
236 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
237 # contains redundant information, the shorter form:
238 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
239 echo "$machine-${os}${release}${abi}"
240 exit ;;
241 *:Bitrig:*:*)
242 UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
243 echo "$UNAME_MACHINE_ARCH"-unknown-bitrig"$UNAME_RELEASE"
244 exit ;;
245 *:OpenBSD:*:*)
246 UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
247 echo "$UNAME_MACHINE_ARCH"-unknown-openbsd"$UNAME_RELEASE"
248 exit ;;
249 *:LibertyBSD:*:*)
250 UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`
251 echo "$UNAME_MACHINE_ARCH"-unknown-libertybsd"$UNAME_RELEASE"
252 exit ;;
253 *:MidnightBSD:*:*)
254 echo "$UNAME_MACHINE"-unknown-midnightbsd"$UNAME_RELEASE"
255 exit ;;
256 *:ekkoBSD:*:*)
257 echo "$UNAME_MACHINE"-unknown-ekkobsd"$UNAME_RELEASE"
258 exit ;;
259 *:SolidBSD:*:*)
260 echo "$UNAME_MACHINE"-unknown-solidbsd"$UNAME_RELEASE"
261 exit ;;
262 macppc:MirBSD:*:*)
263 echo powerpc-unknown-mirbsd"$UNAME_RELEASE"
264 exit ;;
265 *:MirBSD:*:*)
266 echo "$UNAME_MACHINE"-unknown-mirbsd"$UNAME_RELEASE"
267 exit ;;
268 *:Sortix:*:*)
269 echo "$UNAME_MACHINE"-unknown-sortix
270 exit ;;
271 *:Redox:*:*)
272 echo "$UNAME_MACHINE"-unknown-redox
273 exit ;;
274 mips:OSF1:*.*)
275 echo mips-dec-osf1
276 exit ;;
277 alpha:OSF1:*:*)
278 case $UNAME_RELEASE in
279 *4.0)
280 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
281 ;;
282 *5.*)
283 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
284 ;;
285 esac
286 # According to Compaq, /usr/sbin/psrinfo has been available on
287 # OSF/1 and Tru64 systems produced since 1995. I hope that
288 # covers most systems running today. This code pipes the CPU
289 # types through head -n 1, so we only detect the type of CPU 0.
290 ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
291 case "$ALPHA_CPU_TYPE" in
292 "EV4 (21064)")
293 UNAME_MACHINE=alpha ;;
294 "EV4.5 (21064)")
295 UNAME_MACHINE=alpha ;;
296 "LCA4 (21066/21068)")
297 UNAME_MACHINE=alpha ;;
298 "EV5 (21164)")
299 UNAME_MACHINE=alphaev5 ;;
300 "EV5.6 (21164A)")
301 UNAME_MACHINE=alphaev56 ;;
302 "EV5.6 (21164PC)")
303 UNAME_MACHINE=alphapca56 ;;
304 "EV5.7 (21164PC)")
305 UNAME_MACHINE=alphapca57 ;;
306 "EV6 (21264)")
307 UNAME_MACHINE=alphaev6 ;;
308 "EV6.7 (21264A)")
309 UNAME_MACHINE=alphaev67 ;;
310 "EV6.8CB (21264C)")
311 UNAME_MACHINE=alphaev68 ;;
312 "EV6.8AL (21264B)")
313 UNAME_MACHINE=alphaev68 ;;
314 "EV6.8CX (21264D)")
315 UNAME_MACHINE=alphaev68 ;;
316 "EV6.9A (21264/EV69A)")
317 UNAME_MACHINE=alphaev69 ;;
318 "EV7 (21364)")
319 UNAME_MACHINE=alphaev7 ;;
320 "EV7.9 (21364A)")
321 UNAME_MACHINE=alphaev79 ;;
322 esac
323 # A Pn.n version is a patched version.
324 # A Vn.n version is a released version.
325 # A Tn.n version is a released field test version.
326 # A Xn.n version is an unreleased experimental baselevel.
327 # 1.2 uses "1.2" for uname -r.
328 echo "$UNAME_MACHINE"-dec-osf"`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`"
329 # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
330 exitcode=$?
331 trap '' 0
332 exit $exitcode ;;
333 Amiga*:UNIX_System_V:4.0:*)
334 echo m68k-unknown-sysv4
335 exit ;;
336 *:[Aa]miga[Oo][Ss]:*:*)
337 echo "$UNAME_MACHINE"-unknown-amigaos
338 exit ;;
339 *:[Mm]orph[Oo][Ss]:*:*)
340 echo "$UNAME_MACHINE"-unknown-morphos
341 exit ;;
342 *:OS/390:*:*)
343 echo i370-ibm-openedition
344 exit ;;
345 *:z/VM:*:*)
346 echo s390-ibm-zvmoe
347 exit ;;
348 *:OS400:*:*)
349 echo powerpc-ibm-os400
350 exit ;;
351 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
352 echo arm-acorn-riscix"$UNAME_RELEASE"
353 exit ;;
354 arm*:riscos:*:*|arm*:RISCOS:*:*)
355 echo arm-unknown-riscos
356 exit ;;
357 SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
358 echo hppa1.1-hitachi-hiuxmpp
359 exit ;;
360 Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
361 # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
362 if test "`(/bin/universe) 2>/dev/null`" = att ; then
363 echo pyramid-pyramid-sysv3
364 else
365 echo pyramid-pyramid-bsd
366 fi
367 exit ;;
368 NILE*:*:*:dcosx)
369 echo pyramid-pyramid-svr4
370 exit ;;
371 DRS?6000:unix:4.0:6*)
372 echo sparc-icl-nx6
373 exit ;;
374 DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
375 case `/usr/bin/uname -p` in
376 sparc) echo sparc-icl-nx7; exit ;;
377 esac ;;
378 s390x:SunOS:*:*)
379 echo "$UNAME_MACHINE"-ibm-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`"
380 exit ;;
381 sun4H:SunOS:5.*:*)
382 echo sparc-hal-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
383 exit ;;
384 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
385 echo sparc-sun-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`"
386 exit ;;
387 i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
388 echo i386-pc-auroraux"$UNAME_RELEASE"
389 exit ;;
390 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
391 eval "$set_cc_for_build"
392 SUN_ARCH=i386
393 # If there is a compiler, see if it is configured for 64-bit objects.
394 # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
395 # This test works for both compilers.
396 if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
397 if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
398 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
399 grep IS_64BIT_ARCH >/dev/null
400 then
401 SUN_ARCH=x86_64
402 fi
403 fi
404 echo "$SUN_ARCH"-pc-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
405 exit ;;
406 sun4*:SunOS:6*:*)
407 # According to config.sub, this is the proper way to canonicalize
408 # SunOS6. Hard to guess exactly what SunOS6 will be like, but
409 # it's likely to be more like Solaris than SunOS4.
410 echo sparc-sun-solaris3"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
411 exit ;;
412 sun4*:SunOS:*:*)
413 case "`/usr/bin/arch -k`" in
414 Series*|S4*)
415 UNAME_RELEASE=`uname -v`
416 ;;
417 esac
418 # Japanese Language versions have a version number like `4.1.3-JL'.
419 echo sparc-sun-sunos"`echo "$UNAME_RELEASE"|sed -e 's/-/_/'`"
420 exit ;;
421 sun3*:SunOS:*:*)
422 echo m68k-sun-sunos"$UNAME_RELEASE"
423 exit ;;
424 sun*:*:4.2BSD:*)
425 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
426 test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3
427 case "`/bin/arch`" in
428 sun3)
429 echo m68k-sun-sunos"$UNAME_RELEASE"
430 ;;
431 sun4)
432 echo sparc-sun-sunos"$UNAME_RELEASE"
433 ;;
434 esac
435 exit ;;
436 aushp:SunOS:*:*)
437 echo sparc-auspex-sunos"$UNAME_RELEASE"
438 exit ;;
439 # The situation for MiNT is a little confusing. The machine name
440 # can be virtually everything (everything which is not
441 # "atarist" or "atariste" at least should have a processor
442 # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
443 # to the lowercase version "mint" (or "freemint"). Finally
444 # the system name "TOS" denotes a system which is actually not
445 # MiNT. But MiNT is downward compatible to TOS, so this should
446 # be no problem.
447 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
448 echo m68k-atari-mint"$UNAME_RELEASE"
449 exit ;;
450 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
451 echo m68k-atari-mint"$UNAME_RELEASE"
452 exit ;;
453 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
454 echo m68k-atari-mint"$UNAME_RELEASE"
455 exit ;;
456 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
457 echo m68k-milan-mint"$UNAME_RELEASE"
458 exit ;;
459 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
460 echo m68k-hades-mint"$UNAME_RELEASE"
461 exit ;;
462 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
463 echo m68k-unknown-mint"$UNAME_RELEASE"
464 exit ;;
465 m68k:machten:*:*)
466 echo m68k-apple-machten"$UNAME_RELEASE"
467 exit ;;
468 powerpc:machten:*:*)
469 echo powerpc-apple-machten"$UNAME_RELEASE"
470 exit ;;
471 RISC*:Mach:*:*)
472 echo mips-dec-mach_bsd4.3
473 exit ;;
474 RISC*:ULTRIX:*:*)
475 echo mips-dec-ultrix"$UNAME_RELEASE"
476 exit ;;
477 VAX*:ULTRIX*:*:*)
478 echo vax-dec-ultrix"$UNAME_RELEASE"
479 exit ;;
480 2020:CLIX:*:* | 2430:CLIX:*:*)
481 echo clipper-intergraph-clix"$UNAME_RELEASE"
482 exit ;;
483 mips:*:*:UMIPS | mips:*:*:RISCos)
484 eval "$set_cc_for_build"
485 sed 's/^ //' << EOF > "$dummy.c"
486 #ifdef __cplusplus
487 #include <stdio.h> /* for printf() prototype */
488 int main (int argc, char *argv[]) {
489 #else
490 int main (argc, argv) int argc; char *argv[]; {
491 #endif
492 #if defined (host_mips) && defined (MIPSEB)
493 #if defined (SYSTYPE_SYSV)
494 printf ("mips-mips-riscos%ssysv\\n", argv[1]); exit (0);
495 #endif
496 #if defined (SYSTYPE_SVR4)
497 printf ("mips-mips-riscos%ssvr4\\n", argv[1]); exit (0);
498 #endif
499 #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
500 printf ("mips-mips-riscos%sbsd\\n", argv[1]); exit (0);
501 #endif
502 #endif
503 exit (-1);
504 }
505 EOF
506 $CC_FOR_BUILD -o "$dummy" "$dummy.c" &&
507 dummyarg=`echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p'` &&
508 SYSTEM_NAME=`"$dummy" "$dummyarg"` &&
509 { echo "$SYSTEM_NAME"; exit; }
510 echo mips-mips-riscos"$UNAME_RELEASE"
511 exit ;;
512 Motorola:PowerMAX_OS:*:*)
513 echo powerpc-motorola-powermax
514 exit ;;
515 Motorola:*:4.3:PL8-*)
516 echo powerpc-harris-powermax
517 exit ;;
518 Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
519 echo powerpc-harris-powermax
520 exit ;;
521 Night_Hawk:Power_UNIX:*:*)
522 echo powerpc-harris-powerunix
523 exit ;;
524 m88k:CX/UX:7*:*)
525 echo m88k-harris-cxux7
526 exit ;;
527 m88k:*:4*:R4*)
528 echo m88k-motorola-sysv4
529 exit ;;
530 m88k:*:3*:R3*)
531 echo m88k-motorola-sysv3
532 exit ;;
533 AViiON:dgux:*:*)
534 # DG/UX returns AViiON for all architectures
535 UNAME_PROCESSOR=`/usr/bin/uname -p`
536 if [ "$UNAME_PROCESSOR" = mc88100 ] || [ "$UNAME_PROCESSOR" = mc88110 ]
537 then
538 if [ "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx ] || \
539 [ "$TARGET_BINARY_INTERFACE"x = x ]
540 then
541 echo m88k-dg-dgux"$UNAME_RELEASE"
542 else
543 echo m88k-dg-dguxbcs"$UNAME_RELEASE"
544 fi
545 else
546 echo i586-dg-dgux"$UNAME_RELEASE"
547 fi
548 exit ;;
549 M88*:DolphinOS:*:*) # DolphinOS (SVR3)
550 echo m88k-dolphin-sysv3
551 exit ;;
552 M88*:*:R3*:*)
553 # Delta 88k system running SVR3
554 echo m88k-motorola-sysv3
555 exit ;;
556 XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
557 echo m88k-tektronix-sysv3
558 exit ;;
559 Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
560 echo m68k-tektronix-bsd
561 exit ;;
562 *:IRIX*:*:*)
563 echo mips-sgi-irix"`echo "$UNAME_RELEASE"|sed -e 's/-/_/g'`"
564 exit ;;
565 ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
566 echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
567 exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
568 i*86:AIX:*:*)
569 echo i386-ibm-aix
570 exit ;;
571 ia64:AIX:*:*)
572 if [ -x /usr/bin/oslevel ] ; then
573 IBM_REV=`/usr/bin/oslevel`
574 else
575 IBM_REV="$UNAME_VERSION.$UNAME_RELEASE"
576 fi
577 echo "$UNAME_MACHINE"-ibm-aix"$IBM_REV"
578 exit ;;
579 *:AIX:2:3)
580 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
581 eval "$set_cc_for_build"
582 sed 's/^ //' << EOF > "$dummy.c"
583 #include <sys/systemcfg.h>
584
585 main()
586 {
587 if (!__power_pc())
588 exit(1);
589 puts("powerpc-ibm-aix3.2.5");
590 exit(0);
591 }
592 EOF
593 if $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"`
594 then
595 echo "$SYSTEM_NAME"
596 else
597 echo rs6000-ibm-aix3.2.5
598 fi
599 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
600 echo rs6000-ibm-aix3.2.4
601 else
602 echo rs6000-ibm-aix3.2
603 fi
604 exit ;;
605 *:AIX:*:[4567])
606 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
607 if /usr/sbin/lsattr -El "$IBM_CPU_ID" | grep ' POWER' >/dev/null 2>&1; then
608 IBM_ARCH=rs6000
609 else
610 IBM_ARCH=powerpc
611 fi
612 if [ -x /usr/bin/lslpp ] ; then
613 IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc |
614 awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`
615 else
616 IBM_REV="$UNAME_VERSION.$UNAME_RELEASE"
617 fi
618 echo "$IBM_ARCH"-ibm-aix"$IBM_REV"
619 exit ;;
620 *:AIX:*:*)
621 echo rs6000-ibm-aix
622 exit ;;
623 ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*)
624 echo romp-ibm-bsd4.4
625 exit ;;
626 ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
627 echo romp-ibm-bsd"$UNAME_RELEASE" # 4.3 with uname added to
628 exit ;; # report: romp-ibm BSD 4.3
629 *:BOSX:*:*)
630 echo rs6000-bull-bosx
631 exit ;;
632 DPX/2?00:B.O.S.:*:*)
633 echo m68k-bull-sysv3
634 exit ;;
635 9000/[34]??:4.3bsd:1.*:*)
636 echo m68k-hp-bsd
637 exit ;;
638 hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
639 echo m68k-hp-bsd4.4
640 exit ;;
641 9000/[34678]??:HP-UX:*:*)
642 HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'`
643 case "$UNAME_MACHINE" in
644 9000/31?) HP_ARCH=m68000 ;;
645 9000/[34]??) HP_ARCH=m68k ;;
646 9000/[678][0-9][0-9])
647 if [ -x /usr/bin/getconf ]; then
648 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
649 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
650 case "$sc_cpu_version" in
651 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0
652 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1
653 532) # CPU_PA_RISC2_0
654 case "$sc_kernel_bits" in
655 32) HP_ARCH=hppa2.0n ;;
656 64) HP_ARCH=hppa2.0w ;;
657 '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20
658 esac ;;
659 esac
660 fi
661 if [ "$HP_ARCH" = "" ]; then
662 eval "$set_cc_for_build"
663 sed 's/^ //' << EOF > "$dummy.c"
664
665 #define _HPUX_SOURCE
666 #include <stdlib.h>
667 #include <unistd.h>
668
669 int main ()
670 {
671 #if defined(_SC_KERNEL_BITS)
672 long bits = sysconf(_SC_KERNEL_BITS);
673 #endif
674 long cpu = sysconf (_SC_CPU_VERSION);
675
676 switch (cpu)
677 {
678 case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
679 case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
680 case CPU_PA_RISC2_0:
681 #if defined(_SC_KERNEL_BITS)
682 switch (bits)
683 {
684 case 64: puts ("hppa2.0w"); break;
685 case 32: puts ("hppa2.0n"); break;
686 default: puts ("hppa2.0"); break;
687 } break;
688 #else /* !defined(_SC_KERNEL_BITS) */
689 puts ("hppa2.0"); break;
690 #endif
691 default: puts ("hppa1.0"); break;
692 }
693 exit (0);
694 }
695 EOF
696 (CCOPTS="" $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null) && HP_ARCH=`"$dummy"`
697 test -z "$HP_ARCH" && HP_ARCH=hppa
698 fi ;;
699 esac
700 if [ "$HP_ARCH" = hppa2.0w ]
701 then
702 eval "$set_cc_for_build"
703
704 # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
705 # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
706 # generating 64-bit code. GNU and HP use different nomenclature:
707 #
708 # $ CC_FOR_BUILD=cc ./config.guess
709 # => hppa2.0w-hp-hpux11.23
710 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
711 # => hppa64-hp-hpux11.23
712
713 if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) |
714 grep -q __LP64__
715 then
716 HP_ARCH=hppa2.0w
717 else
718 HP_ARCH=hppa64
719 fi
720 fi
721 echo "$HP_ARCH"-hp-hpux"$HPUX_REV"
722 exit ;;
723 ia64:HP-UX:*:*)
724 HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'`
725 echo ia64-hp-hpux"$HPUX_REV"
726 exit ;;
727 3050*:HI-UX:*:*)
728 eval "$set_cc_for_build"
729 sed 's/^ //' << EOF > "$dummy.c"
730 #include <unistd.h>
731 int
732 main ()
733 {
734 long cpu = sysconf (_SC_CPU_VERSION);
735 /* The order matters, because CPU_IS_HP_MC68K erroneously returns
736 true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
737 results, however. */
738 if (CPU_IS_PA_RISC (cpu))
739 {
740 switch (cpu)
741 {
742 case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
743 case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
744 case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
745 default: puts ("hppa-hitachi-hiuxwe2"); break;
746 }
747 }
748 else if (CPU_IS_HP_MC68K (cpu))
749 puts ("m68k-hitachi-hiuxwe2");
750 else puts ("unknown-hitachi-hiuxwe2");
751 exit (0);
752 }
753 EOF
754 $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` &&
755 { echo "$SYSTEM_NAME"; exit; }
756 echo unknown-hitachi-hiuxwe2
757 exit ;;
758 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*)
759 echo hppa1.1-hp-bsd
760 exit ;;
761 9000/8??:4.3bsd:*:*)
762 echo hppa1.0-hp-bsd
763 exit ;;
764 *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
765 echo hppa1.0-hp-mpeix
766 exit ;;
767 hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*)
768 echo hppa1.1-hp-osf
769 exit ;;
770 hp8??:OSF1:*:*)
771 echo hppa1.0-hp-osf
772 exit ;;
773 i*86:OSF1:*:*)
774 if [ -x /usr/sbin/sysversion ] ; then
775 echo "$UNAME_MACHINE"-unknown-osf1mk
776 else
777 echo "$UNAME_MACHINE"-unknown-osf1
778 fi
779 exit ;;
780 parisc*:Lites*:*:*)
781 echo hppa1.1-hp-lites
782 exit ;;
783 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
784 echo c1-convex-bsd
785 exit ;;
786 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
787 if getsysinfo -f scalar_acc
788 then echo c32-convex-bsd
789 else echo c2-convex-bsd
790 fi
791 exit ;;
792 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
793 echo c34-convex-bsd
794 exit ;;
795 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
796 echo c38-convex-bsd
797 exit ;;
798 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
799 echo c4-convex-bsd
800 exit ;;
801 CRAY*Y-MP:*:*:*)
802 echo ymp-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
803 exit ;;
804 CRAY*[A-Z]90:*:*:*)
805 echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \
806 | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
807 -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
808 -e 's/\.[^.]*$/.X/'
809 exit ;;
810 CRAY*TS:*:*:*)
811 echo t90-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
812 exit ;;
813 CRAY*T3E:*:*:*)
814 echo alphaev5-cray-unicosmk"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
815 exit ;;
816 CRAY*SV1:*:*:*)
817 echo sv1-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
818 exit ;;
819 *:UNICOS/mp:*:*)
820 echo craynv-cray-unicosmp"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
821 exit ;;
822 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
823 FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
824 FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
825 FUJITSU_REL=`echo "$UNAME_RELEASE" | sed -e 's/ /_/'`
826 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
827 exit ;;
828 5000:UNIX_System_V:4.*:*)
829 FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
830 FUJITSU_REL=`echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'`
831 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
832 exit ;;
833 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
834 echo "$UNAME_MACHINE"-pc-bsdi"$UNAME_RELEASE"
835 exit ;;
836 sparc*:BSD/OS:*:*)
837 echo sparc-unknown-bsdi"$UNAME_RELEASE"
838 exit ;;
839 *:BSD/OS:*:*)
840 echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE"
841 exit ;;
842 *:FreeBSD:*:*)
843 UNAME_PROCESSOR=`/usr/bin/uname -p`
844 case "$UNAME_PROCESSOR" in
845 amd64)
846 UNAME_PROCESSOR=x86_64 ;;
847 i386)
848 UNAME_PROCESSOR=i586 ;;
849 esac
850 echo "$UNAME_PROCESSOR"-unknown-freebsd"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`"
851 exit ;;
852 i*:CYGWIN*:*)
853 echo "$UNAME_MACHINE"-pc-cygwin
854 exit ;;
855 *:MINGW64*:*)
856 echo "$UNAME_MACHINE"-pc-mingw64
857 exit ;;
858 *:MINGW*:*)
859 echo "$UNAME_MACHINE"-pc-mingw32
860 exit ;;
861 *:MSYS*:*)
862 echo "$UNAME_MACHINE"-pc-msys
863 exit ;;
864 i*:PW*:*)
865 echo "$UNAME_MACHINE"-pc-pw32
866 exit ;;
867 *:Interix*:*)
868 case "$UNAME_MACHINE" in
869 x86)
870 echo i586-pc-interix"$UNAME_RELEASE"
871 exit ;;
872 authenticamd | genuineintel | EM64T)
873 echo x86_64-unknown-interix"$UNAME_RELEASE"
874 exit ;;
875 IA64)
876 echo ia64-unknown-interix"$UNAME_RELEASE"
877 exit ;;
878 esac ;;
879 i*:UWIN*:*)
880 echo "$UNAME_MACHINE"-pc-uwin
881 exit ;;
882 amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
883 echo x86_64-unknown-cygwin
884 exit ;;
885 prep*:SunOS:5.*:*)
886 echo powerpcle-unknown-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
887 exit ;;
888 *:GNU:*:*)
889 # the GNU system
890 echo "`echo "$UNAME_MACHINE"|sed -e 's,[-/].*$,,'`-unknown-$LIBC`echo "$UNAME_RELEASE"|sed -e 's,/.*$,,'`"
891 exit ;;
892 *:GNU/*:*:*)
893 # other systems with GNU libc and userland
894 echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC"
895 exit ;;
896 i*86:Minix:*:*)
897 echo "$UNAME_MACHINE"-pc-minix
898 exit ;;
899 aarch64:Linux:*:*)
900 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
901 exit ;;
902 aarch64_be:Linux:*:*)
903 UNAME_MACHINE=aarch64_be
904 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
905 exit ;;
906 alpha:Linux:*:*)
907 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
908 EV5) UNAME_MACHINE=alphaev5 ;;
909 EV56) UNAME_MACHINE=alphaev56 ;;
910 PCA56) UNAME_MACHINE=alphapca56 ;;
911 PCA57) UNAME_MACHINE=alphapca56 ;;
912 EV6) UNAME_MACHINE=alphaev6 ;;
913 EV67) UNAME_MACHINE=alphaev67 ;;
914 EV68*) UNAME_MACHINE=alphaev68 ;;
915 esac
916 objdump --private-headers /bin/sh | grep -q ld.so.1
917 if test "$?" = 0 ; then LIBC=gnulibc1 ; fi
918 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
919 exit ;;
920 arc:Linux:*:* | arceb:Linux:*:*)
921 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
922 exit ;;
923 arm*:Linux:*:*)
924 eval "$set_cc_for_build"
925 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
926 | grep -q __ARM_EABI__
927 then
928 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
929 else
930 if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
931 | grep -q __ARM_PCS_VFP
932 then
933 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabi
934 else
935 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabihf
936 fi
937 fi
938 exit ;;
939 avr32*:Linux:*:*)
940 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
941 exit ;;
942 cris:Linux:*:*)
943 echo "$UNAME_MACHINE"-axis-linux-"$LIBC"
944 exit ;;
945 crisv32:Linux:*:*)
946 echo "$UNAME_MACHINE"-axis-linux-"$LIBC"
947 exit ;;
948 e2k:Linux:*:*)
949 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
950 exit ;;
951 frv:Linux:*:*)
952 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
953 exit ;;
954 hexagon:Linux:*:*)
955 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
956 exit ;;
957 i*86:Linux:*:*)
958 echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
959 exit ;;
960 ia64:Linux:*:*)
961 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
962 exit ;;
963 k1om:Linux:*:*)
964 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
965 exit ;;
966 m32r*:Linux:*:*)
967 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
968 exit ;;
969 m68*:Linux:*:*)
970 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
971 exit ;;
972 mips:Linux:*:* | mips64:Linux:*:*)
973 eval "$set_cc_for_build"
974 sed 's/^ //' << EOF > "$dummy.c"
975 #undef CPU
976 #undef ${UNAME_MACHINE}
977 #undef ${UNAME_MACHINE}el
978 #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
979 CPU=${UNAME_MACHINE}el
980 #else
981 #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
982 CPU=${UNAME_MACHINE}
983 #else
984 CPU=
985 #endif
986 #endif
987 EOF
988 eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU'`"
989 test "x$CPU" != x && { echo "$CPU-unknown-linux-$LIBC"; exit; }
990 ;;
991 mips64el:Linux:*:*)
992 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
993 exit ;;
994 openrisc*:Linux:*:*)
995 echo or1k-unknown-linux-"$LIBC"
996 exit ;;
997 or32:Linux:*:* | or1k*:Linux:*:*)
998 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
999 exit ;;
1000 padre:Linux:*:*)
1001 echo sparc-unknown-linux-"$LIBC"
1002 exit ;;
1003 parisc64:Linux:*:* | hppa64:Linux:*:*)
1004 echo hppa64-unknown-linux-"$LIBC"
1005 exit ;;
1006 parisc:Linux:*:* | hppa:Linux:*:*)
1007 # Look for CPU level
1008 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
1009 PA7*) echo hppa1.1-unknown-linux-"$LIBC" ;;
1010 PA8*) echo hppa2.0-unknown-linux-"$LIBC" ;;
1011 *) echo hppa-unknown-linux-"$LIBC" ;;
1012 esac
1013 exit ;;
1014 ppc64:Linux:*:*)
1015 echo powerpc64-unknown-linux-"$LIBC"
1016 exit ;;
1017 ppc:Linux:*:*)
1018 echo powerpc-unknown-linux-"$LIBC"
1019 exit ;;
1020 ppc64le:Linux:*:*)
1021 echo powerpc64le-unknown-linux-"$LIBC"
1022 exit ;;
1023 ppcle:Linux:*:*)
1024 echo powerpcle-unknown-linux-"$LIBC"
1025 exit ;;
1026 riscv32:Linux:*:* | riscv64:Linux:*:*)
1027 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1028 exit ;;
1029 s390:Linux:*:* | s390x:Linux:*:*)
1030 echo "$UNAME_MACHINE"-ibm-linux-"$LIBC"
1031 exit ;;
1032 sh64*:Linux:*:*)
1033 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1034 exit ;;
1035 sh*:Linux:*:*)
1036 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1037 exit ;;
1038 sparc:Linux:*:* | sparc64:Linux:*:*)
1039 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1040 exit ;;
1041 tile*:Linux:*:*)
1042 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1043 exit ;;
1044 vax:Linux:*:*)
1045 echo "$UNAME_MACHINE"-dec-linux-"$LIBC"
1046 exit ;;
1047 x86_64:Linux:*:*)
1048 echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
1049 exit ;;
1050 xtensa*:Linux:*:*)
1051 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1052 exit ;;
1053 i*86:DYNIX/ptx:4*:*)
1054 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
1055 # earlier versions are messed up and put the nodename in both
1056 # sysname and nodename.
1057 echo i386-sequent-sysv4
1058 exit ;;
1059 i*86:UNIX_SV:4.2MP:2.*)
1060 # Unixware is an offshoot of SVR4, but it has its own version
1061 # number series starting with 2...
1062 # I am not positive that other SVR4 systems won't match this,
1063 # I just have to hope. -- rms.
1064 # Use sysv4.2uw... so that sysv4* matches it.
1065 echo "$UNAME_MACHINE"-pc-sysv4.2uw"$UNAME_VERSION"
1066 exit ;;
1067 i*86:OS/2:*:*)
1068 # If we were able to find `uname', then EMX Unix compatibility
1069 # is probably installed.
1070 echo "$UNAME_MACHINE"-pc-os2-emx
1071 exit ;;
1072 i*86:XTS-300:*:STOP)
1073 echo "$UNAME_MACHINE"-unknown-stop
1074 exit ;;
1075 i*86:atheos:*:*)
1076 echo "$UNAME_MACHINE"-unknown-atheos
1077 exit ;;
1078 i*86:syllable:*:*)
1079 echo "$UNAME_MACHINE"-pc-syllable
1080 exit ;;
1081 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
1082 echo i386-unknown-lynxos"$UNAME_RELEASE"
1083 exit ;;
1084 i*86:*DOS:*:*)
1085 echo "$UNAME_MACHINE"-pc-msdosdjgpp
1086 exit ;;
1087 i*86:*:4.*:*)
1088 UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'`
1089 if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
1090 echo "$UNAME_MACHINE"-univel-sysv"$UNAME_REL"
1091 else
1092 echo "$UNAME_MACHINE"-pc-sysv"$UNAME_REL"
1093 fi
1094 exit ;;
1095 i*86:*:5:[678]*)
1096 # UnixWare 7.x, OpenUNIX and OpenServer 6.
1097 case `/bin/uname -X | grep "^Machine"` in
1098 *486*) UNAME_MACHINE=i486 ;;
1099 *Pentium) UNAME_MACHINE=i586 ;;
1100 *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
1101 esac
1102 echo "$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}{$UNAME_VERSION}"
1103 exit ;;
1104 i*86:*:3.2:*)
1105 if test -f /usr/options/cb.name; then
1106 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
1107 echo "$UNAME_MACHINE"-pc-isc"$UNAME_REL"
1108 elif /bin/uname -X 2>/dev/null >/dev/null ; then
1109 UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
1110 (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
1111 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
1112 && UNAME_MACHINE=i586
1113 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
1114 && UNAME_MACHINE=i686
1115 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
1116 && UNAME_MACHINE=i686
1117 echo "$UNAME_MACHINE"-pc-sco"$UNAME_REL"
1118 else
1119 echo "$UNAME_MACHINE"-pc-sysv32
1120 fi
1121 exit ;;
1122 pc:*:*:*)
1123 # Left here for compatibility:
1124 # uname -m prints for DJGPP always 'pc', but it prints nothing about
1125 # the processor, so we play safe by assuming i586.
1126 # Note: whatever this is, it MUST be the same as what config.sub
1127 # prints for the "djgpp" host, or else GDB configure will decide that
1128 # this is a cross-build.
1129 echo i586-pc-msdosdjgpp
1130 exit ;;
1131 Intel:Mach:3*:*)
1132 echo i386-pc-mach3
1133 exit ;;
1134 paragon:*:*:*)
1135 echo i860-intel-osf1
1136 exit ;;
1137 i860:*:4.*:*) # i860-SVR4
1138 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
1139 echo i860-stardent-sysv"$UNAME_RELEASE" # Stardent Vistra i860-SVR4
1140 else # Add other i860-SVR4 vendors below as they are discovered.
1141 echo i860-unknown-sysv"$UNAME_RELEASE" # Unknown i860-SVR4
1142 fi
1143 exit ;;
1144 mini*:CTIX:SYS*5:*)
1145 # "miniframe"
1146 echo m68010-convergent-sysv
1147 exit ;;
1148 mc68k:UNIX:SYSTEM5:3.51m)
1149 echo m68k-convergent-sysv
1150 exit ;;
1151 M680?0:D-NIX:5.3:*)
1152 echo m68k-diab-dnix
1153 exit ;;
1154 M68*:*:R3V[5678]*:*)
1155 test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
1156 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
1157 OS_REL=''
1158 test -r /etc/.relid \
1159 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1160 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1161 && { echo i486-ncr-sysv4.3"$OS_REL"; exit; }
1162 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1163 && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;;
1164 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
1165 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1166 && { echo i486-ncr-sysv4; exit; } ;;
1167 NCR*:*:4.2:* | MPRAS*:*:4.2:*)
1168 OS_REL='.3'
1169 test -r /etc/.relid \
1170 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1171 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1172 && { echo i486-ncr-sysv4.3"$OS_REL"; exit; }
1173 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1174 && { echo i586-ncr-sysv4.3"$OS_REL"; exit; }
1175 /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
1176 && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;;
1177 m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
1178 echo m68k-unknown-lynxos"$UNAME_RELEASE"
1179 exit ;;
1180 mc68030:UNIX_System_V:4.*:*)
1181 echo m68k-atari-sysv4
1182 exit ;;
1183 TSUNAMI:LynxOS:2.*:*)
1184 echo sparc-unknown-lynxos"$UNAME_RELEASE"
1185 exit ;;
1186 rs6000:LynxOS:2.*:*)
1187 echo rs6000-unknown-lynxos"$UNAME_RELEASE"
1188 exit ;;
1189 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
1190 echo powerpc-unknown-lynxos"$UNAME_RELEASE"
1191 exit ;;
1192 SM[BE]S:UNIX_SV:*:*)
1193 echo mips-dde-sysv"$UNAME_RELEASE"
1194 exit ;;
1195 RM*:ReliantUNIX-*:*:*)
1196 echo mips-sni-sysv4
1197 exit ;;
1198 RM*:SINIX-*:*:*)
1199 echo mips-sni-sysv4
1200 exit ;;
1201 *:SINIX-*:*:*)
1202 if uname -p 2>/dev/null >/dev/null ; then
1203 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1204 echo "$UNAME_MACHINE"-sni-sysv4
1205 else
1206 echo ns32k-sni-sysv
1207 fi
1208 exit ;;
1209 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
1210 # says <Richard.M.Bartel@ccMail.Census.GOV>
1211 echo i586-unisys-sysv4
1212 exit ;;
1213 *:UNIX_System_V:4*:FTX*)
1214 # From Gerald Hewes <hewes@openmarket.com>.
1215 # How about differentiating between stratus architectures? -djm
1216 echo hppa1.1-stratus-sysv4
1217 exit ;;
1218 *:*:*:FTX*)
1219 # From seanf@swdc.stratus.com.
1220 echo i860-stratus-sysv4
1221 exit ;;
1222 i*86:VOS:*:*)
1223 # From Paul.Green@stratus.com.
1224 echo "$UNAME_MACHINE"-stratus-vos
1225 exit ;;
1226 *:VOS:*:*)
1227 # From Paul.Green@stratus.com.
1228 echo hppa1.1-stratus-vos
1229 exit ;;
1230 mc68*:A/UX:*:*)
1231 echo m68k-apple-aux"$UNAME_RELEASE"
1232 exit ;;
1233 news*:NEWS-OS:6*:*)
1234 echo mips-sony-newsos6
1235 exit ;;
1236 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
1237 if [ -d /usr/nec ]; then
1238 echo mips-nec-sysv"$UNAME_RELEASE"
1239 else
1240 echo mips-unknown-sysv"$UNAME_RELEASE"
1241 fi
1242 exit ;;
1243 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
1244 echo powerpc-be-beos
1245 exit ;;
1246 BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
1247 echo powerpc-apple-beos
1248 exit ;;
1249 BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
1250 echo i586-pc-beos
1251 exit ;;
1252 BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
1253 echo i586-pc-haiku
1254 exit ;;
1255 x86_64:Haiku:*:*)
1256 echo x86_64-unknown-haiku
1257 exit ;;
1258 SX-4:SUPER-UX:*:*)
1259 echo sx4-nec-superux"$UNAME_RELEASE"
1260 exit ;;
1261 SX-5:SUPER-UX:*:*)
1262 echo sx5-nec-superux"$UNAME_RELEASE"
1263 exit ;;
1264 SX-6:SUPER-UX:*:*)
1265 echo sx6-nec-superux"$UNAME_RELEASE"
1266 exit ;;
1267 SX-7:SUPER-UX:*:*)
1268 echo sx7-nec-superux"$UNAME_RELEASE"
1269 exit ;;
1270 SX-8:SUPER-UX:*:*)
1271 echo sx8-nec-superux"$UNAME_RELEASE"
1272 exit ;;
1273 SX-8R:SUPER-UX:*:*)
1274 echo sx8r-nec-superux"$UNAME_RELEASE"
1275 exit ;;
1276 SX-ACE:SUPER-UX:*:*)
1277 echo sxace-nec-superux"$UNAME_RELEASE"
1278 exit ;;
1279 Power*:Rhapsody:*:*)
1280 echo powerpc-apple-rhapsody"$UNAME_RELEASE"
1281 exit ;;
1282 *:Rhapsody:*:*)
1283 echo "$UNAME_MACHINE"-apple-rhapsody"$UNAME_RELEASE"
1284 exit ;;
1285 *:Darwin:*:*)
1286 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1287 eval "$set_cc_for_build"
1288 if test "$UNAME_PROCESSOR" = unknown ; then
1289 UNAME_PROCESSOR=powerpc
1290 fi
1291 if test "`echo "$UNAME_RELEASE" | sed -e 's/\..*//'`" -le 10 ; then
1292 if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
1293 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1294 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
1295 grep IS_64BIT_ARCH >/dev/null
1296 then
1297 case $UNAME_PROCESSOR in
1298 i386) UNAME_PROCESSOR=x86_64 ;;
1299 powerpc) UNAME_PROCESSOR=powerpc64 ;;
1300 esac
1301 fi
1302 # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc
1303 if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \
1304 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
1305 grep IS_PPC >/dev/null
1306 then
1307 UNAME_PROCESSOR=powerpc
1308 fi
1309 fi
1310 elif test "$UNAME_PROCESSOR" = i386 ; then
1311 # Avoid executing cc on OS X 10.9, as it ships with a stub
1312 # that puts up a graphical alert prompting to install
1313 # developer tools. Any system running Mac OS X 10.7 or
1314 # later (Darwin 11 and later) is required to have a 64-bit
1315 # processor. This is not true of the ARM version of Darwin
1316 # that Apple uses in portable devices.
1317 UNAME_PROCESSOR=x86_64
1318 fi
1319 echo "$UNAME_PROCESSOR"-apple-darwin"$UNAME_RELEASE"
1320 exit ;;
1321 *:procnto*:*:* | *:QNX:[0123456789]*:*)
1322 UNAME_PROCESSOR=`uname -p`
1323 if test "$UNAME_PROCESSOR" = x86; then
1324 UNAME_PROCESSOR=i386
1325 UNAME_MACHINE=pc
1326 fi
1327 echo "$UNAME_PROCESSOR"-"$UNAME_MACHINE"-nto-qnx"$UNAME_RELEASE"
1328 exit ;;
1329 *:QNX:*:4*)
1330 echo i386-pc-qnx
1331 exit ;;
1332 NEO-*:NONSTOP_KERNEL:*:*)
1333 echo neo-tandem-nsk"$UNAME_RELEASE"
1334 exit ;;
1335 NSE-*:NONSTOP_KERNEL:*:*)
1336 echo nse-tandem-nsk"$UNAME_RELEASE"
1337 exit ;;
1338 NSR-*:NONSTOP_KERNEL:*:*)
1339 echo nsr-tandem-nsk"$UNAME_RELEASE"
1340 exit ;;
1341 NSV-*:NONSTOP_KERNEL:*:*)
1342 echo nsv-tandem-nsk"$UNAME_RELEASE"
1343 exit ;;
1344 NSX-*:NONSTOP_KERNEL:*:*)
1345 echo nsx-tandem-nsk"$UNAME_RELEASE"
1346 exit ;;
1347 *:NonStop-UX:*:*)
1348 echo mips-compaq-nonstopux
1349 exit ;;
1350 BS2000:POSIX*:*:*)
1351 echo bs2000-siemens-sysv
1352 exit ;;
1353 DS/*:UNIX_System_V:*:*)
1354 echo "$UNAME_MACHINE"-"$UNAME_SYSTEM"-"$UNAME_RELEASE"
1355 exit ;;
1356 *:Plan9:*:*)
1357 # "uname -m" is not consistent, so use $cputype instead. 386
1358 # is converted to i386 for consistency with other x86
1359 # operating systems.
1360 if test "$cputype" = 386; then
1361 UNAME_MACHINE=i386
1362 else
1363 UNAME_MACHINE="$cputype"
1364 fi
1365 echo "$UNAME_MACHINE"-unknown-plan9
1366 exit ;;
1367 *:TOPS-10:*:*)
1368 echo pdp10-unknown-tops10
1369 exit ;;
1370 *:TENEX:*:*)
1371 echo pdp10-unknown-tenex
1372 exit ;;
1373 KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
1374 echo pdp10-dec-tops20
1375 exit ;;
1376 XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
1377 echo pdp10-xkl-tops20
1378 exit ;;
1379 *:TOPS-20:*:*)
1380 echo pdp10-unknown-tops20
1381 exit ;;
1382 *:ITS:*:*)
1383 echo pdp10-unknown-its
1384 exit ;;
1385 SEI:*:*:SEIUX)
1386 echo mips-sei-seiux"$UNAME_RELEASE"
1387 exit ;;
1388 *:DragonFly:*:*)
1389 echo "$UNAME_MACHINE"-unknown-dragonfly"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`"
1390 exit ;;
1391 *:*VMS:*:*)
1392 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1393 case "$UNAME_MACHINE" in
1394 A*) echo alpha-dec-vms ; exit ;;
1395 I*) echo ia64-dec-vms ; exit ;;
1396 V*) echo vax-dec-vms ; exit ;;
1397 esac ;;
1398 *:XENIX:*:SysV)
1399 echo i386-pc-xenix
1400 exit ;;
1401 i*86:skyos:*:*)
1402 echo "$UNAME_MACHINE"-pc-skyos"`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'`"
1403 exit ;;
1404 i*86:rdos:*:*)
1405 echo "$UNAME_MACHINE"-pc-rdos
1406 exit ;;
1407 i*86:AROS:*:*)
1408 echo "$UNAME_MACHINE"-pc-aros
1409 exit ;;
1410 x86_64:VMkernel:*:*)
1411 echo "$UNAME_MACHINE"-unknown-esx
1412 exit ;;
1413 amd64:Isilon\ OneFS:*:*)
1414 echo x86_64-unknown-onefs
1415 exit ;;
1416 esac
1417
1418 echo "$0: unable to guess system type" >&2
1419
1420 case "$UNAME_MACHINE:$UNAME_SYSTEM" in
1421 mips:Linux | mips64:Linux)
1422 # If we got here on MIPS GNU/Linux, output extra information.
1423 cat >&2 <<EOF
1424
1425 NOTE: MIPS GNU/Linux systems require a C compiler to fully recognize
1426 the system type. Please install a C compiler and try again.
1427 EOF
1428 ;;
1429 esac
1430
1431 cat >&2 <<EOF
1432
1433 This script (version $timestamp), has failed to recognize the
1434 operating system you are using. If your script is old, overwrite *all*
1435 copies of config.guess and config.sub with the latest versions from:
1436
1437 https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
1438 and
1439 https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
1440
1441 If $0 has already been updated, send the following data and any
1442 information you think might be pertinent to config-patches@gnu.org to
1443 provide the necessary information to handle your system.
1444
1445 config.guess timestamp = $timestamp
1446
1447 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1448 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1449 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1450 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1451
1452 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
1453 /bin/uname -X = `(/bin/uname -X) 2>/dev/null`
1454
1455 hostinfo = `(hostinfo) 2>/dev/null`
1456 /bin/universe = `(/bin/universe) 2>/dev/null`
1457 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
1458 /bin/arch = `(/bin/arch) 2>/dev/null`
1459 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
1460 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
1461
1462 UNAME_MACHINE = "$UNAME_MACHINE"
1463 UNAME_RELEASE = "$UNAME_RELEASE"
1464 UNAME_SYSTEM = "$UNAME_SYSTEM"
1465 UNAME_VERSION = "$UNAME_VERSION"
1466 EOF
1467
1468 exit 1
1469
1470 # Local variables:
1471 # eval: (add-hook 'before-save-hook 'time-stamp)
1472 # time-stamp-start: "timestamp='"
1473 # time-stamp-format: "%:y-%02m-%02d"
1474 # time-stamp-end: "'"
1475 # End:
+0
-162
config.h.in less more
0 /* config.h.in. Generated from configure.ac by autoheader. */
1
2 /* Set to 1 if PostScript support should be disabled */
3 #undef DISABLE_GS
4
5 /* Define if WOFF support is disabled */
6 #undef DISABLE_WOFF
7
8 /* Define to 1 if `TIOCGWINSZ' requires <sys/ioctl.h>. */
9 #undef GWINSZ_IN_SYS_IOCTL
10
11 /* define if the compiler supports basic C++11 syntax */
12 #undef HAVE_CXX11
13
14 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
15 */
16 #undef HAVE_DIRENT_H
17
18 /* Define to 1 if you have the <dlfcn.h> header file. */
19 #undef HAVE_DLFCN_H
20
21 /* Define to 1 if you have the `ftime' function. */
22 #undef HAVE_FTIME
23
24 /* Define to 1 if you have the `gettimeofday' function. */
25 #undef HAVE_GETTIMEOFDAY
26
27 /* Define to 1 if you have the <inttypes.h> header file. */
28 #undef HAVE_INTTYPES_H
29
30 /* Define to 1 if you have the `dl' library (-ldl). */
31 #undef HAVE_LIBDL
32
33 /* Define to 1 if you have the `gs' library (-lgs). */
34 #undef HAVE_LIBGS
35
36 /* Define to 1 if you have the <libintl.h> header file. */
37 #undef HAVE_LIBINTL_H
38
39 /* Define to 1 if you have the `kpathsea' library (-lkpathsea). */
40 #undef HAVE_LIBKPATHSEA
41
42 /* Define to 1 if you have the `ttfautohint' library (-lttfautohint). */
43 #undef HAVE_LIBTTFAUTOHINT
44
45 /* Define to 1 if you have the `z' library (-lz). */
46 #undef HAVE_LIBZ
47
48 /* Define to 1 if you have the <memory.h> header file. */
49 #undef HAVE_MEMORY_H
50
51 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
52 #undef HAVE_NDIR_H
53
54 /* Define to 1 if you have the <openssl/md5.h> header file. */
55 #undef HAVE_OPENSSL_MD5_H
56
57 /* Define to 1 if you have the `sigaction' function. */
58 #undef HAVE_SIGACTION
59
60 /* Define to 1 if `stat' has the bug that it succeeds when given the
61 zero-length file name argument. */
62 #undef HAVE_STAT_EMPTY_STRING_BUG
63
64 /* Define to 1 if stdbool.h conforms to C99. */
65 #undef HAVE_STDBOOL_H
66
67 /* Define to 1 if you have the <stdint.h> header file. */
68 #undef HAVE_STDINT_H
69
70 /* Define to 1 if you have the <stdlib.h> header file. */
71 #undef HAVE_STDLIB_H
72
73 /* Define to 1 if you have the <strings.h> header file. */
74 #undef HAVE_STRINGS_H
75
76 /* Define to 1 if you have the <string.h> header file. */
77 #undef HAVE_STRING_H
78
79 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
80 */
81 #undef HAVE_SYS_DIR_H
82
83 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
84 */
85 #undef HAVE_SYS_NDIR_H
86
87 /* Define to 1 if you have the <sys/stat.h> header file. */
88 #undef HAVE_SYS_STAT_H
89
90 /* Define to 1 if you have the <sys/timeb.h> header file. */
91 #undef HAVE_SYS_TIMEB_H
92
93 /* Define to 1 if you have the <sys/time.h> header file. */
94 #undef HAVE_SYS_TIME_H
95
96 /* Define to 1 if you have the <sys/types.h> header file. */
97 #undef HAVE_SYS_TYPES_H
98
99 /* Define to 1 if you have the <ttfautohint.h> header file. */
100 #undef HAVE_TTFAUTOHINT_H
101
102 /* Define to 1 if you have the `umask' function. */
103 #undef HAVE_UMASK
104
105 /* Define to 1 if you have the <unistd.h> header file. */
106 #undef HAVE_UNISTD_H
107
108 /* Define to 1 if you have the `uselocale' function. */
109 #undef HAVE_USELOCALE
110
111 /* Define to 1 if you have the <xlocale.h> header file. */
112 #undef HAVE_XLOCALE_H
113
114 /* Define to 1 if the system has the type `_Bool'. */
115 #undef HAVE__BOOL
116
117 /* Define to 1 if the kpathsea headers are not C++ safe. */
118 #undef KPSE_CXX_UNSAFE
119
120 /* Define to 1 if `lstat' dereferences a symlink specified with a trailing
121 slash. */
122 #undef LSTAT_FOLLOWS_SLASHED_SYMLINK
123
124 /* Define to the sub-directory where libtool stores uninstalled libraries. */
125 #undef LT_OBJDIR
126
127 /* Name of package */
128 #undef PACKAGE
129
130 /* Define to the address where bug reports for this package should be sent. */
131 #undef PACKAGE_BUGREPORT
132
133 /* Define to the full name of this package. */
134 #undef PACKAGE_NAME
135
136 /* Define to the full name and version of this package. */
137 #undef PACKAGE_STRING
138
139 /* Define to the one symbol short name of this package. */
140 #undef PACKAGE_TARNAME
141
142 /* Define to the home page for this package. */
143 #undef PACKAGE_URL
144
145 /* Define to the version of this package. */
146 #undef PACKAGE_VERSION
147
148 /* Define to 1 if you have the ANSI C header files. */
149 #undef STDC_HEADERS
150
151 /* The machine triplet of the target system */
152 #undef TARGET_SYSTEM
153
154 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
155 #undef TM_IN_SYS_TIME
156
157 /* Version number of package */
158 #undef VERSION
159
160 /* Define to `unsigned int' if <sys/types.h> does not define. */
161 #undef size_t
+0
-1833
config.sub less more
0 #! /bin/sh
1 # Configuration validation subroutine script.
2 # Copyright 1992-2018 Free Software Foundation, Inc.
3
4 timestamp='2018-05-05'
5
6 # This file is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or
9 # (at your option) any later version.
10 #
11 # This program is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, see <https://www.gnu.org/licenses/>.
18 #
19 # As a special exception to the GNU General Public License, if you
20 # distribute this file as part of a program that contains a
21 # configuration script generated by Autoconf, you may include it under
22 # the same distribution terms that you use for the rest of that
23 # program. This Exception is an additional permission under section 7
24 # of the GNU General Public License, version 3 ("GPLv3").
25
26
27 # Please send patches to <config-patches@gnu.org>.
28 #
29 # Configuration subroutine to validate and canonicalize a configuration type.
30 # Supply the specified configuration type as an argument.
31 # If it is invalid, we print an error message on stderr and exit with code 1.
32 # Otherwise, we print the canonical config type on stdout and succeed.
33
34 # You can get the latest version of this script from:
35 # https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
36
37 # This file is supposed to be the same for all GNU packages
38 # and recognize all the CPU types, system types and aliases
39 # that are meaningful with *any* GNU software.
40 # Each package is responsible for reporting which valid configurations
41 # it does not support. The user should be able to distinguish
42 # a failure to support a valid configuration from a meaningless
43 # configuration.
44
45 # The goal of this file is to map all the various variations of a given
46 # machine specification into a single specification in the form:
47 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
48 # or in some cases, the newer four-part form:
49 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
50 # It is wrong to echo any other type of specification.
51
52 me=`echo "$0" | sed -e 's,.*/,,'`
53
54 usage="\
55 Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS
56
57 Canonicalize a configuration name.
58
59 Options:
60 -h, --help print this help, then exit
61 -t, --time-stamp print date of last modification, then exit
62 -v, --version print version number, then exit
63
64 Report bugs and patches to <config-patches@gnu.org>."
65
66 version="\
67 GNU config.sub ($timestamp)
68
69 Copyright 1992-2018 Free Software Foundation, Inc.
70
71 This is free software; see the source for copying conditions. There is NO
72 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
73
74 help="
75 Try \`$me --help' for more information."
76
77 # Parse command line
78 while test $# -gt 0 ; do
79 case $1 in
80 --time-stamp | --time* | -t )
81 echo "$timestamp" ; exit ;;
82 --version | -v )
83 echo "$version" ; exit ;;
84 --help | --h* | -h )
85 echo "$usage"; exit ;;
86 -- ) # Stop option processing
87 shift; break ;;
88 - ) # Use stdin as input.
89 break ;;
90 -* )
91 echo "$me: invalid option $1$help"
92 exit 1 ;;
93
94 *local*)
95 # First pass through any local machine types.
96 echo "$1"
97 exit ;;
98
99 * )
100 break ;;
101 esac
102 done
103
104 case $# in
105 0) echo "$me: missing argument$help" >&2
106 exit 1;;
107 1) ;;
108 *) echo "$me: too many arguments$help" >&2
109 exit 1;;
110 esac
111
112 # Spilt fields of configuration type
113 IFS="-" read -r field1 field2 field3 field4 <<EOF
114 $1
115 EOF
116
117 # Separate into logical components for further validation
118 case $1 in
119 *-*-*-*)
120 basic_machine=$field1-$field2
121 os=-$field3-$field4
122 ;;
123 *-*-*)
124 # Ambiguous whether COMPANY is present, or skipped and KERNEL-OS is two
125 # parts
126 maybe_os=$field2-$field3
127 case $maybe_os in
128 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc \
129 | linux-newlib* | linux-musl* | linux-uclibc* | uclinux-uclibc* \
130 | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* \
131 | netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \
132 | storm-chaos* | os2-emx* | rtmk-nova*)
133 basic_machine=$field1
134 os=-$maybe_os
135 ;;
136 android-linux)
137 basic_machine=$field1-unknown
138 os=-linux-android
139 ;;
140 *)
141 basic_machine=$field1-$field2
142 os=-$field3
143 ;;
144 esac
145 ;;
146 *-*)
147 basic_machine=$field1
148 os=-$field2
149 ;;
150 *)
151 basic_machine=$1
152 os=
153 ;;
154 esac
155
156 ### Let's recognize common machines as not being operating systems so
157 ### that things like config.sub decstation-3100 work. We also
158 ### recognize some manufacturers as not being operating systems, so we
159 ### can provide default operating systems below.
160 case $os in
161 -sun*os*)
162 # Prevent following clause from handling this invalid input.
163 ;;
164 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
165 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
166 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
167 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
168 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
169 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
170 -apple | -axis | -knuth | -cray | -microblaze*)
171 os=
172 basic_machine=$1
173 ;;
174 -bluegene*)
175 os=-cnk
176 ;;
177 -sim | -cisco | -oki | -wec | -winbond)
178 os=
179 basic_machine=$1
180 ;;
181 -scout)
182 ;;
183 -wrs)
184 os=-vxworks
185 basic_machine=$1
186 ;;
187 -chorusos*)
188 os=-chorusos
189 basic_machine=$1
190 ;;
191 -chorusrdb)
192 os=-chorusrdb
193 basic_machine=$1
194 ;;
195 -hiux*)
196 os=-hiuxwe2
197 ;;
198 -sco6)
199 os=-sco5v6
200 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
201 ;;
202 -sco5)
203 os=-sco3.2v5
204 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
205 ;;
206 -sco4)
207 os=-sco3.2v4
208 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
209 ;;
210 -sco3.2.[4-9]*)
211 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
212 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
213 ;;
214 -sco3.2v[4-9]*)
215 # Don't forget version if it is 3.2v4 or newer.
216 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
217 ;;
218 -sco5v6*)
219 # Don't forget version if it is 3.2v4 or newer.
220 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
221 ;;
222 -sco*)
223 os=-sco3.2v2
224 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
225 ;;
226 -udk*)
227 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
228 ;;
229 -isc)
230 os=-isc2.2
231 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
232 ;;
233 -clix*)
234 basic_machine=clipper-intergraph
235 ;;
236 -isc*)
237 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
238 ;;
239 -lynx*178)
240 os=-lynxos178
241 ;;
242 -lynx*5)
243 os=-lynxos5
244 ;;
245 -lynx*)
246 os=-lynxos
247 ;;
248 -ptx*)
249 basic_machine=`echo "$1" | sed -e 's/86-.*/86-sequent/'`
250 ;;
251 -psos*)
252 os=-psos
253 ;;
254 -mint | -mint[0-9]*)
255 basic_machine=m68k-atari
256 os=-mint
257 ;;
258 esac
259
260 # Decode aliases for certain CPU-COMPANY combinations.
261 case $basic_machine in
262 # Recognize the basic CPU types without company name.
263 # Some are omitted here because they have special meanings below.
264 1750a | 580 \
265 | a29k \
266 | aarch64 | aarch64_be \
267 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
268 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
269 | am33_2.0 \
270 | arc | arceb \
271 | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv6m | armv[78][arm] \
272 | avr | avr32 \
273 | ba \
274 | be32 | be64 \
275 | bfin \
276 | c4x | c8051 | clipper | csky \
277 | d10v | d30v | dlx | dsp16xx \
278 | e2k | epiphany \
279 | fido | fr30 | frv | ft32 \
280 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
281 | hexagon \
282 | i370 | i860 | i960 | ia16 | ia64 \
283 | ip2k | iq2000 \
284 | k1om \
285 | le32 | le64 \
286 | lm32 \
287 | m32c | m32r | m32rle | m68000 | m68k | m88k \
288 | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
289 | mips | mipsbe | mipseb | mipsel | mipsle \
290 | mips16 \
291 | mips64 | mips64el \
292 | mips64octeon | mips64octeonel \
293 | mips64orion | mips64orionel \
294 | mips64r5900 | mips64r5900el \
295 | mips64vr | mips64vrel \
296 | mips64vr4100 | mips64vr4100el \
297 | mips64vr4300 | mips64vr4300el \
298 | mips64vr5000 | mips64vr5000el \
299 | mips64vr5900 | mips64vr5900el \
300 | mipsisa32 | mipsisa32el \
301 | mipsisa32r2 | mipsisa32r2el \
302 | mipsisa32r6 | mipsisa32r6el \
303 | mipsisa64 | mipsisa64el \
304 | mipsisa64r2 | mipsisa64r2el \
305 | mipsisa64r6 | mipsisa64r6el \
306 | mipsisa64sb1 | mipsisa64sb1el \
307 | mipsisa64sr71k | mipsisa64sr71kel \
308 | mipsr5900 | mipsr5900el \
309 | mipstx39 | mipstx39el \
310 | mn10200 | mn10300 \
311 | moxie \
312 | mt \
313 | msp430 \
314 | nds32 | nds32le | nds32be \
315 | nfp \
316 | nios | nios2 | nios2eb | nios2el \
317 | ns16k | ns32k \
318 | open8 | or1k | or1knd | or32 \
319 | pdp10 | pj | pjl \
320 | powerpc | powerpc64 | powerpc64le | powerpcle \
321 | pru \
322 | pyramid \
323 | riscv32 | riscv64 \
324 | rl78 | rx \
325 | score \
326 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
327 | sh64 | sh64le \
328 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
329 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
330 | spu \
331 | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
332 | ubicom32 \
333 | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
334 | visium \
335 | wasm32 \
336 | x86 | xc16x | xstormy16 | xtensa \
337 | z8k | z80)
338 basic_machine=$basic_machine-unknown
339 ;;
340 c54x)
341 basic_machine=tic54x-unknown
342 ;;
343 c55x)
344 basic_machine=tic55x-unknown
345 ;;
346 c6x)
347 basic_machine=tic6x-unknown
348 ;;
349 leon|leon[3-9])
350 basic_machine=sparc-$basic_machine
351 ;;
352 m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
353 basic_machine=$basic_machine-unknown
354 os=-none
355 ;;
356 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65)
357 ;;
358 m9s12z | m68hcs12z | hcs12z | s12z)
359 basic_machine=s12z-unknown
360 os=-none
361 ;;
362 ms1)
363 basic_machine=mt-unknown
364 ;;
365
366 strongarm | thumb | xscale)
367 basic_machine=arm-unknown
368 ;;
369 xgate)
370 basic_machine=$basic_machine-unknown
371 os=-none
372 ;;
373 xscaleeb)
374 basic_machine=armeb-unknown
375 ;;
376
377 xscaleel)
378 basic_machine=armel-unknown
379 ;;
380
381 # We use `pc' rather than `unknown'
382 # because (1) that's what they normally are, and
383 # (2) the word "unknown" tends to confuse beginning users.
384 i*86 | x86_64)
385 basic_machine=$basic_machine-pc
386 ;;
387 # Object if more than one company name word.
388 *-*-*)
389 echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2
390 exit 1
391 ;;
392 # Recognize the basic CPU types with company name.
393 580-* \
394 | a29k-* \
395 | aarch64-* | aarch64_be-* \
396 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
397 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
398 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
399 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
400 | avr-* | avr32-* \
401 | ba-* \
402 | be32-* | be64-* \
403 | bfin-* | bs2000-* \
404 | c[123]* | c30-* | [cjt]90-* | c4x-* \
405 | c8051-* | clipper-* | craynv-* | csky-* | cydra-* \
406 | d10v-* | d30v-* | dlx-* \
407 | e2k-* | elxsi-* \
408 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
409 | h8300-* | h8500-* \
410 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
411 | hexagon-* \
412 | i*86-* | i860-* | i960-* | ia16-* | ia64-* \
413 | ip2k-* | iq2000-* \
414 | k1om-* \
415 | le32-* | le64-* \
416 | lm32-* \
417 | m32c-* | m32r-* | m32rle-* \
418 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
419 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
420 | microblaze-* | microblazeel-* \
421 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
422 | mips16-* \
423 | mips64-* | mips64el-* \
424 | mips64octeon-* | mips64octeonel-* \
425 | mips64orion-* | mips64orionel-* \
426 | mips64r5900-* | mips64r5900el-* \
427 | mips64vr-* | mips64vrel-* \
428 | mips64vr4100-* | mips64vr4100el-* \
429 | mips64vr4300-* | mips64vr4300el-* \
430 | mips64vr5000-* | mips64vr5000el-* \
431 | mips64vr5900-* | mips64vr5900el-* \
432 | mipsisa32-* | mipsisa32el-* \
433 | mipsisa32r2-* | mipsisa32r2el-* \
434 | mipsisa32r6-* | mipsisa32r6el-* \
435 | mipsisa64-* | mipsisa64el-* \
436 | mipsisa64r2-* | mipsisa64r2el-* \
437 | mipsisa64r6-* | mipsisa64r6el-* \
438 | mipsisa64sb1-* | mipsisa64sb1el-* \
439 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
440 | mipsr5900-* | mipsr5900el-* \
441 | mipstx39-* | mipstx39el-* \
442 | mmix-* \
443 | mt-* \
444 | msp430-* \
445 | nds32-* | nds32le-* | nds32be-* \
446 | nfp-* \
447 | nios-* | nios2-* | nios2eb-* | nios2el-* \
448 | none-* | np1-* | ns16k-* | ns32k-* \
449 | open8-* \
450 | or1k*-* \
451 | orion-* \
452 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
453 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
454 | pru-* \
455 | pyramid-* \
456 | riscv32-* | riscv64-* \
457 | rl78-* | romp-* | rs6000-* | rx-* \
458 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
459 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
460 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
461 | sparclite-* \
462 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \
463 | tahoe-* \
464 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
465 | tile*-* \
466 | tron-* \
467 | ubicom32-* \
468 | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
469 | vax-* \
470 | visium-* \
471 | wasm32-* \
472 | we32k-* \
473 | x86-* | x86_64-* | xc16x-* | xps100-* \
474 | xstormy16-* | xtensa*-* \
475 | ymp-* \
476 | z8k-* | z80-*)
477 ;;
478 # Recognize the basic CPU types without company name, with glob match.
479 xtensa*)
480 basic_machine=$basic_machine-unknown
481 ;;
482 # Recognize the various machine names and aliases which stand
483 # for a CPU type and a company and sometimes even an OS.
484 386bsd)
485 basic_machine=i386-pc
486 os=-bsd
487 ;;
488 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
489 basic_machine=m68000-att
490 ;;
491 3b*)
492 basic_machine=we32k-att
493 ;;
494 a29khif)
495 basic_machine=a29k-amd
496 os=-udi
497 ;;
498 abacus)
499 basic_machine=abacus-unknown
500 ;;
501 adobe68k)
502 basic_machine=m68010-adobe
503 os=-scout
504 ;;
505 alliant | fx80)
506 basic_machine=fx80-alliant
507 ;;
508 altos | altos3068)
509 basic_machine=m68k-altos
510 ;;
511 am29k)
512 basic_machine=a29k-none
513 os=-bsd
514 ;;
515 amd64)
516 basic_machine=x86_64-pc
517 ;;
518 amd64-*)
519 basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
520 ;;
521 amdahl)
522 basic_machine=580-amdahl
523 os=-sysv
524 ;;
525 amiga | amiga-*)
526 basic_machine=m68k-unknown
527 ;;
528 amigaos | amigados)
529 basic_machine=m68k-unknown
530 os=-amigaos
531 ;;
532 amigaunix | amix)
533 basic_machine=m68k-unknown
534 os=-sysv4
535 ;;
536 apollo68)
537 basic_machine=m68k-apollo
538 os=-sysv
539 ;;
540 apollo68bsd)
541 basic_machine=m68k-apollo
542 os=-bsd
543 ;;
544 aros)
545 basic_machine=i386-pc
546 os=-aros
547 ;;
548 asmjs)
549 basic_machine=asmjs-unknown
550 ;;
551 aux)
552 basic_machine=m68k-apple
553 os=-aux
554 ;;
555 balance)
556 basic_machine=ns32k-sequent
557 os=-dynix
558 ;;
559 blackfin)
560 basic_machine=bfin-unknown
561 os=-linux
562 ;;
563 blackfin-*)
564 basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'`
565 os=-linux
566 ;;
567 bluegene*)
568 basic_machine=powerpc-ibm
569 os=-cnk
570 ;;
571 c54x-*)
572 basic_machine=tic54x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
573 ;;
574 c55x-*)
575 basic_machine=tic55x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
576 ;;
577 c6x-*)
578 basic_machine=tic6x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
579 ;;
580 c90)
581 basic_machine=c90-cray
582 os=-unicos
583 ;;
584 cegcc)
585 basic_machine=arm-unknown
586 os=-cegcc
587 ;;
588 convex-c1)
589 basic_machine=c1-convex
590 os=-bsd
591 ;;
592 convex-c2)
593 basic_machine=c2-convex
594 os=-bsd
595 ;;
596 convex-c32)
597 basic_machine=c32-convex
598 os=-bsd
599 ;;
600 convex-c34)
601 basic_machine=c34-convex
602 os=-bsd
603 ;;
604 convex-c38)
605 basic_machine=c38-convex
606 os=-bsd
607 ;;
608 cray | j90)
609 basic_machine=j90-cray
610 os=-unicos
611 ;;
612 craynv)
613 basic_machine=craynv-cray
614 os=-unicosmp
615 ;;
616 cr16 | cr16-*)
617 basic_machine=cr16-unknown
618 os=-elf
619 ;;
620 crds | unos)
621 basic_machine=m68k-crds
622 ;;
623 crisv32 | crisv32-* | etraxfs*)
624 basic_machine=crisv32-axis
625 ;;
626 cris | cris-* | etrax*)
627 basic_machine=cris-axis
628 ;;
629 crx)
630 basic_machine=crx-unknown
631 os=-elf
632 ;;
633 da30 | da30-*)
634 basic_machine=m68k-da30
635 ;;
636 decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
637 basic_machine=mips-dec
638 ;;
639 decsystem10* | dec10*)
640 basic_machine=pdp10-dec
641 os=-tops10
642 ;;
643 decsystem20* | dec20*)
644 basic_machine=pdp10-dec
645 os=-tops20
646 ;;
647 delta | 3300 | motorola-3300 | motorola-delta \
648 | 3300-motorola | delta-motorola)
649 basic_machine=m68k-motorola
650 ;;
651 delta88)
652 basic_machine=m88k-motorola
653 os=-sysv3
654 ;;
655 dicos)
656 basic_machine=i686-pc
657 os=-dicos
658 ;;
659 djgpp)
660 basic_machine=i586-pc
661 os=-msdosdjgpp
662 ;;
663 dpx20 | dpx20-*)
664 basic_machine=rs6000-bull
665 os=-bosx
666 ;;
667 dpx2*)
668 basic_machine=m68k-bull
669 os=-sysv3
670 ;;
671 e500v[12])
672 basic_machine=powerpc-unknown
673 os=$os"spe"
674 ;;
675 e500v[12]-*)
676 basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'`
677 os=$os"spe"
678 ;;
679 ebmon29k)
680 basic_machine=a29k-amd
681 os=-ebmon
682 ;;
683 elxsi)
684 basic_machine=elxsi-elxsi
685 os=-bsd
686 ;;
687 encore | umax | mmax)
688 basic_machine=ns32k-encore
689 ;;
690 es1800 | OSE68k | ose68k | ose | OSE)
691 basic_machine=m68k-ericsson
692 os=-ose
693 ;;
694 fx2800)
695 basic_machine=i860-alliant
696 ;;
697 genix)
698 basic_machine=ns32k-ns
699 ;;
700 gmicro)
701 basic_machine=tron-gmicro
702 os=-sysv
703 ;;
704 go32)
705 basic_machine=i386-pc
706 os=-go32
707 ;;
708 h3050r* | hiux*)
709 basic_machine=hppa1.1-hitachi
710 os=-hiuxwe2
711 ;;
712 h8300hms)
713 basic_machine=h8300-hitachi
714 os=-hms
715 ;;
716 h8300xray)
717 basic_machine=h8300-hitachi
718 os=-xray
719 ;;
720 h8500hms)
721 basic_machine=h8500-hitachi
722 os=-hms
723 ;;
724 harris)
725 basic_machine=m88k-harris
726 os=-sysv3
727 ;;
728 hp300-*)
729 basic_machine=m68k-hp
730 ;;
731 hp300bsd)
732 basic_machine=m68k-hp
733 os=-bsd
734 ;;
735 hp300hpux)
736 basic_machine=m68k-hp
737 os=-hpux
738 ;;
739 hp3k9[0-9][0-9] | hp9[0-9][0-9])
740 basic_machine=hppa1.0-hp
741 ;;
742 hp9k2[0-9][0-9] | hp9k31[0-9])
743 basic_machine=m68000-hp
744 ;;
745 hp9k3[2-9][0-9])
746 basic_machine=m68k-hp
747 ;;
748 hp9k6[0-9][0-9] | hp6[0-9][0-9])
749 basic_machine=hppa1.0-hp
750 ;;
751 hp9k7[0-79][0-9] | hp7[0-79][0-9])
752 basic_machine=hppa1.1-hp
753 ;;
754 hp9k78[0-9] | hp78[0-9])
755 # FIXME: really hppa2.0-hp
756 basic_machine=hppa1.1-hp
757 ;;
758 hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
759 # FIXME: really hppa2.0-hp
760 basic_machine=hppa1.1-hp
761 ;;
762 hp9k8[0-9][13679] | hp8[0-9][13679])
763 basic_machine=hppa1.1-hp
764 ;;
765 hp9k8[0-9][0-9] | hp8[0-9][0-9])
766 basic_machine=hppa1.0-hp
767 ;;
768 hppaosf)
769 basic_machine=hppa1.1-hp
770 os=-osf
771 ;;
772 hppro)
773 basic_machine=hppa1.1-hp
774 os=-proelf
775 ;;
776 i370-ibm* | ibm*)
777 basic_machine=i370-ibm
778 ;;
779 i*86v32)
780 basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
781 os=-sysv32
782 ;;
783 i*86v4*)
784 basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
785 os=-sysv4
786 ;;
787 i*86v)
788 basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
789 os=-sysv
790 ;;
791 i*86sol2)
792 basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
793 os=-solaris2
794 ;;
795 i386mach)
796 basic_machine=i386-mach
797 os=-mach
798 ;;
799 vsta)
800 basic_machine=i386-unknown
801 os=-vsta
802 ;;
803 iris | iris4d)
804 basic_machine=mips-sgi
805 case $os in
806 -irix*)
807 ;;
808 *)
809 os=-irix4
810 ;;
811 esac
812 ;;
813 isi68 | isi)
814 basic_machine=m68k-isi
815 os=-sysv
816 ;;
817 leon-*|leon[3-9]-*)
818 basic_machine=sparc-`echo "$basic_machine" | sed 's/-.*//'`
819 ;;
820 m68knommu)
821 basic_machine=m68k-unknown
822 os=-linux
823 ;;
824 m68knommu-*)
825 basic_machine=m68k-`echo "$basic_machine" | sed 's/^[^-]*-//'`
826 os=-linux
827 ;;
828 magnum | m3230)
829 basic_machine=mips-mips
830 os=-sysv
831 ;;
832 merlin)
833 basic_machine=ns32k-utek
834 os=-sysv
835 ;;
836 microblaze*)
837 basic_machine=microblaze-xilinx
838 ;;
839 mingw64)
840 basic_machine=x86_64-pc
841 os=-mingw64
842 ;;
843 mingw32)
844 basic_machine=i686-pc
845 os=-mingw32
846 ;;
847 mingw32ce)
848 basic_machine=arm-unknown
849 os=-mingw32ce
850 ;;
851 miniframe)
852 basic_machine=m68000-convergent
853 ;;
854 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
855 basic_machine=m68k-atari
856 os=-mint
857 ;;
858 mips3*-*)
859 basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`
860 ;;
861 mips3*)
862 basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`-unknown
863 ;;
864 monitor)
865 basic_machine=m68k-rom68k
866 os=-coff
867 ;;
868 morphos)
869 basic_machine=powerpc-unknown
870 os=-morphos
871 ;;
872 moxiebox)
873 basic_machine=moxie-unknown
874 os=-moxiebox
875 ;;
876 msdos)
877 basic_machine=i386-pc
878 os=-msdos
879 ;;
880 ms1-*)
881 basic_machine=`echo "$basic_machine" | sed -e 's/ms1-/mt-/'`
882 ;;
883 msys)
884 basic_machine=i686-pc
885 os=-msys
886 ;;
887 mvs)
888 basic_machine=i370-ibm
889 os=-mvs
890 ;;
891 nacl)
892 basic_machine=le32-unknown
893 os=-nacl
894 ;;
895 ncr3000)
896 basic_machine=i486-ncr
897 os=-sysv4
898 ;;
899 netbsd386)
900 basic_machine=i386-unknown
901 os=-netbsd
902 ;;
903 netwinder)
904 basic_machine=armv4l-rebel
905 os=-linux
906 ;;
907 news | news700 | news800 | news900)
908 basic_machine=m68k-sony
909 os=-newsos
910 ;;
911 news1000)
912 basic_machine=m68030-sony
913 os=-newsos
914 ;;
915 news-3600 | risc-news)
916 basic_machine=mips-sony
917 os=-newsos
918 ;;
919 necv70)
920 basic_machine=v70-nec
921 os=-sysv
922 ;;
923 next | m*-next)
924 basic_machine=m68k-next
925 case $os in
926 -nextstep* )
927 ;;
928 -ns2*)
929 os=-nextstep2
930 ;;
931 *)
932 os=-nextstep3
933 ;;
934 esac
935 ;;
936 nh3000)
937 basic_machine=m68k-harris
938 os=-cxux
939 ;;
940 nh[45]000)
941 basic_machine=m88k-harris
942 os=-cxux
943 ;;
944 nindy960)
945 basic_machine=i960-intel
946 os=-nindy
947 ;;
948 mon960)
949 basic_machine=i960-intel
950 os=-mon960
951 ;;
952 nonstopux)
953 basic_machine=mips-compaq
954 os=-nonstopux
955 ;;
956 np1)
957 basic_machine=np1-gould
958 ;;
959 neo-tandem)
960 basic_machine=neo-tandem
961 ;;
962 nse-tandem)
963 basic_machine=nse-tandem
964 ;;
965 nsr-tandem)
966 basic_machine=nsr-tandem
967 ;;
968 nsv-tandem)
969 basic_machine=nsv-tandem
970 ;;
971 nsx-tandem)
972 basic_machine=nsx-tandem
973 ;;
974 op50n-* | op60c-*)
975 basic_machine=hppa1.1-oki
976 os=-proelf
977 ;;
978 openrisc | openrisc-*)
979 basic_machine=or32-unknown
980 ;;
981 os400)
982 basic_machine=powerpc-ibm
983 os=-os400
984 ;;
985 OSE68000 | ose68000)
986 basic_machine=m68000-ericsson
987 os=-ose
988 ;;
989 os68k)
990 basic_machine=m68k-none
991 os=-os68k
992 ;;
993 pa-hitachi)
994 basic_machine=hppa1.1-hitachi
995 os=-hiuxwe2
996 ;;
997 paragon)
998 basic_machine=i860-intel
999 os=-osf
1000 ;;
1001 parisc)
1002 basic_machine=hppa-unknown
1003 os=-linux
1004 ;;
1005 parisc-*)
1006 basic_machine=hppa-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1007 os=-linux
1008 ;;
1009 pbd)
1010 basic_machine=sparc-tti
1011 ;;
1012 pbb)
1013 basic_machine=m68k-tti
1014 ;;
1015 pc532 | pc532-*)
1016 basic_machine=ns32k-pc532
1017 ;;
1018 pc98)
1019 basic_machine=i386-pc
1020 ;;
1021 pc98-*)
1022 basic_machine=i386-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1023 ;;
1024 pentium | p5 | k5 | k6 | nexgen | viac3)
1025 basic_machine=i586-pc
1026 ;;
1027 pentiumpro | p6 | 6x86 | athlon | athlon_*)
1028 basic_machine=i686-pc
1029 ;;
1030 pentiumii | pentium2 | pentiumiii | pentium3)
1031 basic_machine=i686-pc
1032 ;;
1033 pentium4)
1034 basic_machine=i786-pc
1035 ;;
1036 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
1037 basic_machine=i586-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1038 ;;
1039 pentiumpro-* | p6-* | 6x86-* | athlon-*)
1040 basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1041 ;;
1042 pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
1043 basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1044 ;;
1045 pentium4-*)
1046 basic_machine=i786-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1047 ;;
1048 pn)
1049 basic_machine=pn-gould
1050 ;;
1051 power) basic_machine=power-ibm
1052 ;;
1053 ppc | ppcbe) basic_machine=powerpc-unknown
1054 ;;
1055 ppc-* | ppcbe-*)
1056 basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1057 ;;
1058 ppcle | powerpclittle)
1059 basic_machine=powerpcle-unknown
1060 ;;
1061 ppcle-* | powerpclittle-*)
1062 basic_machine=powerpcle-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1063 ;;
1064 ppc64) basic_machine=powerpc64-unknown
1065 ;;
1066 ppc64-*) basic_machine=powerpc64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1067 ;;
1068 ppc64le | powerpc64little)
1069 basic_machine=powerpc64le-unknown
1070 ;;
1071 ppc64le-* | powerpc64little-*)
1072 basic_machine=powerpc64le-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1073 ;;
1074 ps2)
1075 basic_machine=i386-ibm
1076 ;;
1077 pw32)
1078 basic_machine=i586-unknown
1079 os=-pw32
1080 ;;
1081 rdos | rdos64)
1082 basic_machine=x86_64-pc
1083 os=-rdos
1084 ;;
1085 rdos32)
1086 basic_machine=i386-pc
1087 os=-rdos
1088 ;;
1089 rom68k)
1090 basic_machine=m68k-rom68k
1091 os=-coff
1092 ;;
1093 rm[46]00)
1094 basic_machine=mips-siemens
1095 ;;
1096 rtpc | rtpc-*)
1097 basic_machine=romp-ibm
1098 ;;
1099 s390 | s390-*)
1100 basic_machine=s390-ibm
1101 ;;
1102 s390x | s390x-*)
1103 basic_machine=s390x-ibm
1104 ;;
1105 sa29200)
1106 basic_machine=a29k-amd
1107 os=-udi
1108 ;;
1109 sb1)
1110 basic_machine=mipsisa64sb1-unknown
1111 ;;
1112 sb1el)
1113 basic_machine=mipsisa64sb1el-unknown
1114 ;;
1115 sde)
1116 basic_machine=mipsisa32-sde
1117 os=-elf
1118 ;;
1119 sei)
1120 basic_machine=mips-sei
1121 os=-seiux
1122 ;;
1123 sequent)
1124 basic_machine=i386-sequent
1125 ;;
1126 sh5el)
1127 basic_machine=sh5le-unknown
1128 ;;
1129 simso-wrs)
1130 basic_machine=sparclite-wrs
1131 os=-vxworks
1132 ;;
1133 sps7)
1134 basic_machine=m68k-bull
1135 os=-sysv2
1136 ;;
1137 spur)
1138 basic_machine=spur-unknown
1139 ;;
1140 st2000)
1141 basic_machine=m68k-tandem
1142 ;;
1143 stratus)
1144 basic_machine=i860-stratus
1145 os=-sysv4
1146 ;;
1147 strongarm-* | thumb-*)
1148 basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1149 ;;
1150 sun2)
1151 basic_machine=m68000-sun
1152 ;;
1153 sun2os3)
1154 basic_machine=m68000-sun
1155 os=-sunos3
1156 ;;
1157 sun2os4)
1158 basic_machine=m68000-sun
1159 os=-sunos4
1160 ;;
1161 sun3os3)
1162 basic_machine=m68k-sun
1163 os=-sunos3
1164 ;;
1165 sun3os4)
1166 basic_machine=m68k-sun
1167 os=-sunos4
1168 ;;
1169 sun4os3)
1170 basic_machine=sparc-sun
1171 os=-sunos3
1172 ;;
1173 sun4os4)
1174 basic_machine=sparc-sun
1175 os=-sunos4
1176 ;;
1177 sun4sol2)
1178 basic_machine=sparc-sun
1179 os=-solaris2
1180 ;;
1181 sun3 | sun3-*)
1182 basic_machine=m68k-sun
1183 ;;
1184 sun4)
1185 basic_machine=sparc-sun
1186 ;;
1187 sun386 | sun386i | roadrunner)
1188 basic_machine=i386-sun
1189 ;;
1190 sv1)
1191 basic_machine=sv1-cray
1192 os=-unicos
1193 ;;
1194 symmetry)
1195 basic_machine=i386-sequent
1196 os=-dynix
1197 ;;
1198 t3e)
1199 basic_machine=alphaev5-cray
1200 os=-unicos
1201 ;;
1202 t90)
1203 basic_machine=t90-cray
1204 os=-unicos
1205 ;;
1206 tile*)
1207 basic_machine=$basic_machine-unknown
1208 os=-linux-gnu
1209 ;;
1210 tx39)
1211 basic_machine=mipstx39-unknown
1212 ;;
1213 tx39el)
1214 basic_machine=mipstx39el-unknown
1215 ;;
1216 toad1)
1217 basic_machine=pdp10-xkl
1218 os=-tops20
1219 ;;
1220 tower | tower-32)
1221 basic_machine=m68k-ncr
1222 ;;
1223 tpf)
1224 basic_machine=s390x-ibm
1225 os=-tpf
1226 ;;
1227 udi29k)
1228 basic_machine=a29k-amd
1229 os=-udi
1230 ;;
1231 ultra3)
1232 basic_machine=a29k-nyu
1233 os=-sym1
1234 ;;
1235 v810 | necv810)
1236 basic_machine=v810-nec
1237 os=-none
1238 ;;
1239 vaxv)
1240 basic_machine=vax-dec
1241 os=-sysv
1242 ;;
1243 vms)
1244 basic_machine=vax-dec
1245 os=-vms
1246 ;;
1247 vpp*|vx|vx-*)
1248 basic_machine=f301-fujitsu
1249 ;;
1250 vxworks960)
1251 basic_machine=i960-wrs
1252 os=-vxworks
1253 ;;
1254 vxworks68)
1255 basic_machine=m68k-wrs
1256 os=-vxworks
1257 ;;
1258 vxworks29k)
1259 basic_machine=a29k-wrs
1260 os=-vxworks
1261 ;;
1262 w65*)
1263 basic_machine=w65-wdc
1264 os=-none
1265 ;;
1266 w89k-*)
1267 basic_machine=hppa1.1-winbond
1268 os=-proelf
1269 ;;
1270 x64)
1271 basic_machine=x86_64-pc
1272 ;;
1273 xbox)
1274 basic_machine=i686-pc
1275 os=-mingw32
1276 ;;
1277 xps | xps100)
1278 basic_machine=xps100-honeywell
1279 ;;
1280 xscale-* | xscalee[bl]-*)
1281 basic_machine=`echo "$basic_machine" | sed 's/^xscale/arm/'`
1282 ;;
1283 ymp)
1284 basic_machine=ymp-cray
1285 os=-unicos
1286 ;;
1287 none)
1288 basic_machine=none-none
1289 os=-none
1290 ;;
1291
1292 # Here we handle the default manufacturer of certain CPU types. It is in
1293 # some cases the only manufacturer, in others, it is the most popular.
1294 w89k)
1295 basic_machine=hppa1.1-winbond
1296 ;;
1297 op50n)
1298 basic_machine=hppa1.1-oki
1299 ;;
1300 op60c)
1301 basic_machine=hppa1.1-oki
1302 ;;
1303 romp)
1304 basic_machine=romp-ibm
1305 ;;
1306 mmix)
1307 basic_machine=mmix-knuth
1308 ;;
1309 rs6000)
1310 basic_machine=rs6000-ibm
1311 ;;
1312 vax)
1313 basic_machine=vax-dec
1314 ;;
1315 pdp11)
1316 basic_machine=pdp11-dec
1317 ;;
1318 we32k)
1319 basic_machine=we32k-att
1320 ;;
1321 sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
1322 basic_machine=sh-unknown
1323 ;;
1324 cydra)
1325 basic_machine=cydra-cydrome
1326 ;;
1327 orion)
1328 basic_machine=orion-highlevel
1329 ;;
1330 orion105)
1331 basic_machine=clipper-highlevel
1332 ;;
1333 mac | mpw | mac-mpw)
1334 basic_machine=m68k-apple
1335 ;;
1336 pmac | pmac-mpw)
1337 basic_machine=powerpc-apple
1338 ;;
1339 *-unknown)
1340 # Make sure to match an already-canonicalized machine name.
1341 ;;
1342 *)
1343 echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2
1344 exit 1
1345 ;;
1346 esac
1347
1348 # Here we canonicalize certain aliases for manufacturers.
1349 case $basic_machine in
1350 *-digital*)
1351 basic_machine=`echo "$basic_machine" | sed 's/digital.*/dec/'`
1352 ;;
1353 *-commodore*)
1354 basic_machine=`echo "$basic_machine" | sed 's/commodore.*/cbm/'`
1355 ;;
1356 *)
1357 ;;
1358 esac
1359
1360 # Decode manufacturer-specific aliases for certain operating systems.
1361
1362 if [ x$os != x ]
1363 then
1364 case $os in
1365 # First match some system type aliases that might get confused
1366 # with valid system types.
1367 # -solaris* is a basic system type, with this one exception.
1368 -auroraux)
1369 os=-auroraux
1370 ;;
1371 -solaris1 | -solaris1.*)
1372 os=`echo $os | sed -e 's|solaris1|sunos4|'`
1373 ;;
1374 -solaris)
1375 os=-solaris2
1376 ;;
1377 -unixware*)
1378 os=-sysv4.2uw
1379 ;;
1380 -gnu/linux*)
1381 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
1382 ;;
1383 # es1800 is here to avoid being matched by es* (a different OS)
1384 -es1800*)
1385 os=-ose
1386 ;;
1387 # Now accept the basic system types.
1388 # The portable systems comes first.
1389 # Each alternative MUST end in a * to match a version number.
1390 # -sysv* is not here because it comes later, after sysvr4.
1391 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1392 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
1393 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
1394 | -sym* | -kopensolaris* | -plan9* \
1395 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1396 | -aos* | -aros* | -cloudabi* | -sortix* \
1397 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1398 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1399 | -hiux* | -knetbsd* | -mirbsd* | -netbsd* \
1400 | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \
1401 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1402 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1403 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1404 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* | -hcos* \
1405 | -chorusos* | -chorusrdb* | -cegcc* | -glidix* \
1406 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1407 | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
1408 | -linux-newlib* | -linux-musl* | -linux-uclibc* \
1409 | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
1410 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* \
1411 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1412 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1413 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1414 | -morphos* | -superux* | -rtmk* | -windiss* \
1415 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1416 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
1417 | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \
1418 | -midnightbsd*)
1419 # Remember, each alternative MUST END IN *, to match a version number.
1420 ;;
1421 -qnx*)
1422 case $basic_machine in
1423 x86-* | i*86-*)
1424 ;;
1425 *)
1426 os=-nto$os
1427 ;;
1428 esac
1429 ;;
1430 -nto-qnx*)
1431 ;;
1432 -nto*)
1433 os=`echo $os | sed -e 's|nto|nto-qnx|'`
1434 ;;
1435 -sim | -xray | -os68k* | -v88r* \
1436 | -windows* | -osx | -abug | -netware* | -os9* \
1437 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1438 ;;
1439 -mac*)
1440 os=`echo "$os" | sed -e 's|mac|macos|'`
1441 ;;
1442 -linux-dietlibc)
1443 os=-linux-dietlibc
1444 ;;
1445 -linux*)
1446 os=`echo $os | sed -e 's|linux|linux-gnu|'`
1447 ;;
1448 -sunos5*)
1449 os=`echo "$os" | sed -e 's|sunos5|solaris2|'`
1450 ;;
1451 -sunos6*)
1452 os=`echo "$os" | sed -e 's|sunos6|solaris3|'`
1453 ;;
1454 -opened*)
1455 os=-openedition
1456 ;;
1457 -os400*)
1458 os=-os400
1459 ;;
1460 -wince*)
1461 os=-wince
1462 ;;
1463 -utek*)
1464 os=-bsd
1465 ;;
1466 -dynix*)
1467 os=-bsd
1468 ;;
1469 -acis*)
1470 os=-aos
1471 ;;
1472 -atheos*)
1473 os=-atheos
1474 ;;
1475 -syllable*)
1476 os=-syllable
1477 ;;
1478 -386bsd)
1479 os=-bsd
1480 ;;
1481 -ctix* | -uts*)
1482 os=-sysv
1483 ;;
1484 -nova*)
1485 os=-rtmk-nova
1486 ;;
1487 -ns2)
1488 os=-nextstep2
1489 ;;
1490 -nsk*)
1491 os=-nsk
1492 ;;
1493 # Preserve the version number of sinix5.
1494 -sinix5.*)
1495 os=`echo $os | sed -e 's|sinix|sysv|'`
1496 ;;
1497 -sinix*)
1498 os=-sysv4
1499 ;;
1500 -tpf*)
1501 os=-tpf
1502 ;;
1503 -triton*)
1504 os=-sysv3
1505 ;;
1506 -oss*)
1507 os=-sysv3
1508 ;;
1509 -svr4*)
1510 os=-sysv4
1511 ;;
1512 -svr3)
1513 os=-sysv3
1514 ;;
1515 -sysvr4)
1516 os=-sysv4
1517 ;;
1518 # This must come after -sysvr4.
1519 -sysv*)
1520 ;;
1521 -ose*)
1522 os=-ose
1523 ;;
1524 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1525 os=-mint
1526 ;;
1527 -zvmoe)
1528 os=-zvmoe
1529 ;;
1530 -dicos*)
1531 os=-dicos
1532 ;;
1533 -pikeos*)
1534 # Until real need of OS specific support for
1535 # particular features comes up, bare metal
1536 # configurations are quite functional.
1537 case $basic_machine in
1538 arm*)
1539 os=-eabi
1540 ;;
1541 *)
1542 os=-elf
1543 ;;
1544 esac
1545 ;;
1546 -nacl*)
1547 ;;
1548 -ios)
1549 ;;
1550 -none)
1551 ;;
1552 -*-eabi)
1553 case $basic_machine in
1554 arm*)
1555 ;;
1556 esac
1557 ;;
1558 *)
1559 # Get rid of the `-' at the beginning of $os.
1560 os=`echo $os | sed 's/[^-]*-//'`
1561 echo Invalid configuration \`"$1"\': system \`"$os"\' not recognized 1>&2
1562 exit 1
1563 ;;
1564 esac
1565 else
1566
1567 # Here we handle the default operating systems that come with various machines.
1568 # The value should be what the vendor currently ships out the door with their
1569 # machine or put another way, the most popular os provided with the machine.
1570
1571 # Note that if you're going to try to match "-MANUFACTURER" here (say,
1572 # "-sun"), then you have to tell the case statement up towards the top
1573 # that MANUFACTURER isn't an operating system. Otherwise, code above
1574 # will signal an error saying that MANUFACTURER isn't an operating
1575 # system, and we'll never get to this point.
1576
1577 case $basic_machine in
1578 score-*)
1579 os=-elf
1580 ;;
1581 spu-*)
1582 os=-elf
1583 ;;
1584 *-acorn)
1585 os=-riscix1.2
1586 ;;
1587 arm*-rebel)
1588 os=-linux
1589 ;;
1590 arm*-semi)
1591 os=-aout
1592 ;;
1593 c4x-* | tic4x-*)
1594 os=-coff
1595 ;;
1596 c8051-*)
1597 os=-elf
1598 ;;
1599 hexagon-*)
1600 os=-elf
1601 ;;
1602 tic54x-*)
1603 os=-coff
1604 ;;
1605 tic55x-*)
1606 os=-coff
1607 ;;
1608 tic6x-*)
1609 os=-coff
1610 ;;
1611 # This must come before the *-dec entry.
1612 pdp10-*)
1613 os=-tops20
1614 ;;
1615 pdp11-*)
1616 os=-none
1617 ;;
1618 *-dec | vax-*)
1619 os=-ultrix4.2
1620 ;;
1621 m68*-apollo)
1622 os=-domain
1623 ;;
1624 i386-sun)
1625 os=-sunos4.0.2
1626 ;;
1627 m68000-sun)
1628 os=-sunos3
1629 ;;
1630 m68*-cisco)
1631 os=-aout
1632 ;;
1633 mep-*)
1634 os=-elf
1635 ;;
1636 mips*-cisco)
1637 os=-elf
1638 ;;
1639 mips*-*)
1640 os=-elf
1641 ;;
1642 or32-*)
1643 os=-coff
1644 ;;
1645 *-tti) # must be before sparc entry or we get the wrong os.
1646 os=-sysv3
1647 ;;
1648 sparc-* | *-sun)
1649 os=-sunos4.1.1
1650 ;;
1651 pru-*)
1652 os=-elf
1653 ;;
1654 *-be)
1655 os=-beos
1656 ;;
1657 *-ibm)
1658 os=-aix
1659 ;;
1660 *-knuth)
1661 os=-mmixware
1662 ;;
1663 *-wec)
1664 os=-proelf
1665 ;;
1666 *-winbond)
1667 os=-proelf
1668 ;;
1669 *-oki)
1670 os=-proelf
1671 ;;
1672 *-hp)
1673 os=-hpux
1674 ;;
1675 *-hitachi)
1676 os=-hiux
1677 ;;
1678 i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
1679 os=-sysv
1680 ;;
1681 *-cbm)
1682 os=-amigaos
1683 ;;
1684 *-dg)
1685 os=-dgux
1686 ;;
1687 *-dolphin)
1688 os=-sysv3
1689 ;;
1690 m68k-ccur)
1691 os=-rtu
1692 ;;
1693 m88k-omron*)
1694 os=-luna
1695 ;;
1696 *-next)
1697 os=-nextstep
1698 ;;
1699 *-sequent)
1700 os=-ptx
1701 ;;
1702 *-crds)
1703 os=-unos
1704 ;;
1705 *-ns)
1706 os=-genix
1707 ;;
1708 i370-*)
1709 os=-mvs
1710 ;;
1711 *-gould)
1712 os=-sysv
1713 ;;
1714 *-highlevel)
1715 os=-bsd
1716 ;;
1717 *-encore)
1718 os=-bsd
1719 ;;
1720 *-sgi)
1721 os=-irix
1722 ;;
1723 *-siemens)
1724 os=-sysv4
1725 ;;
1726 *-masscomp)
1727 os=-rtu
1728 ;;
1729 f30[01]-fujitsu | f700-fujitsu)
1730 os=-uxpv
1731 ;;
1732 *-rom68k)
1733 os=-coff
1734 ;;
1735 *-*bug)
1736 os=-coff
1737 ;;
1738 *-apple)
1739 os=-macos
1740 ;;
1741 *-atari*)
1742 os=-mint
1743 ;;
1744 *)
1745 os=-none
1746 ;;
1747 esac
1748 fi
1749
1750 # Here we handle the case where we know the os, and the CPU type, but not the
1751 # manufacturer. We pick the logical manufacturer.
1752 vendor=unknown
1753 case $basic_machine in
1754 *-unknown)
1755 case $os in
1756 -riscix*)
1757 vendor=acorn
1758 ;;
1759 -sunos*)
1760 vendor=sun
1761 ;;
1762 -cnk*|-aix*)
1763 vendor=ibm
1764 ;;
1765 -beos*)
1766 vendor=be
1767 ;;
1768 -hpux*)
1769 vendor=hp
1770 ;;
1771 -mpeix*)
1772 vendor=hp
1773 ;;
1774 -hiux*)
1775 vendor=hitachi
1776 ;;
1777 -unos*)
1778 vendor=crds
1779 ;;
1780 -dgux*)
1781 vendor=dg
1782 ;;
1783 -luna*)
1784 vendor=omron
1785 ;;
1786 -genix*)
1787 vendor=ns
1788 ;;
1789 -mvs* | -opened*)
1790 vendor=ibm
1791 ;;
1792 -os400*)
1793 vendor=ibm
1794 ;;
1795 -ptx*)
1796 vendor=sequent
1797 ;;
1798 -tpf*)
1799 vendor=ibm
1800 ;;
1801 -vxsim* | -vxworks* | -windiss*)
1802 vendor=wrs
1803 ;;
1804 -aux*)
1805 vendor=apple
1806 ;;
1807 -hms*)
1808 vendor=hitachi
1809 ;;
1810 -mpw* | -macos*)
1811 vendor=apple
1812 ;;
1813 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1814 vendor=atari
1815 ;;
1816 -vos*)
1817 vendor=stratus
1818 ;;
1819 esac
1820 basic_machine=`echo "$basic_machine" | sed "s/unknown/$vendor/"`
1821 ;;
1822 esac
1823
1824 echo "$basic_machine$os"
1825 exit
1826
1827 # Local variables:
1828 # eval: (add-hook 'before-save-hook 'time-stamp)
1829 # time-stamp-start: "timestamp='"
1830 # time-stamp-format: "%:y-%02m-%02d"
1831 # time-stamp-end: "'"
1832 # End:
+0
-22173
configure less more
0 #! /bin/sh
1 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.69 for dvisvgm 2.10.1.
3 #
4 # Report bugs to <martin.gieseking@uos.de>.
5 #
6 #
7 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
8 #
9 #
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## -------------------- ##
13 ## M4sh Initialization. ##
14 ## -------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19 emulate sh
20 NULLCMD=:
21 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in #(
27 *posix*) :
28 set -o posix ;; #(
29 *) :
30 ;;
31 esac
32 fi
33
34
35 as_nl='
36 '
37 export as_nl
38 # Printing a long string crashes Solaris 7 /usr/bin/printf.
39 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
42 # Prefer a ksh shell builtin over an external printf program on Solaris,
43 # but without wasting forks for bash or zsh.
44 if test -z "$BASH_VERSION$ZSH_VERSION" \
45 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo='print -r --'
47 as_echo_n='print -rn --'
48 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='printf %s\n'
50 as_echo_n='printf %s'
51 else
52 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
53 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
54 as_echo_n='/usr/ucb/echo -n'
55 else
56 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
57 as_echo_n_body='eval
58 arg=$1;
59 case $arg in #(
60 *"$as_nl"*)
61 expr "X$arg" : "X\\(.*\\)$as_nl";
62 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 esac;
64 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 '
66 export as_echo_n_body
67 as_echo_n='sh -c $as_echo_n_body as_echo'
68 fi
69 export as_echo_body
70 as_echo='sh -c $as_echo_body as_echo'
71 fi
72
73 # The user is always right.
74 if test "${PATH_SEPARATOR+set}" != set; then
75 PATH_SEPARATOR=:
76 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
77 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
78 PATH_SEPARATOR=';'
79 }
80 fi
81
82
83 # IFS
84 # We need space, tab and new line, in precisely that order. Quoting is
85 # there to prevent editors from complaining about space-tab.
86 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
87 # splitting by setting IFS to empty value.)
88 IFS=" "" $as_nl"
89
90 # Find who we are. Look in the path if we contain no directory separator.
91 as_myself=
92 case $0 in #((
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
96 do
97 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100 done
101 IFS=$as_save_IFS
102
103 ;;
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108 as_myself=$0
109 fi
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112 exit 1
113 fi
114
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
126
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
132
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
136 # Use a proper internal environment variable to ensure we don't fall
137 # into an infinite loop, continuously re-executing ourselves.
138 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
139 _as_can_reexec=no; export _as_can_reexec;
140 # We cannot yet assume a decent shell, so we have to provide a
141 # neutralization value for shells without unset; and this also
142 # works around shells that cannot unset nonexistent variables.
143 # Preserve -v and -x to the replacement shell.
144 BASH_ENV=/dev/null
145 ENV=/dev/null
146 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 case $- in # ((((
148 *v*x* | *x*v* ) as_opts=-vx ;;
149 *v* ) as_opts=-v ;;
150 *x* ) as_opts=-x ;;
151 * ) as_opts= ;;
152 esac
153 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
154 # Admittedly, this is quite paranoid, since all the known shells bail
155 # out after a failed `exec'.
156 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
157 as_fn_exit 255
158 fi
159 # We don't want this to propagate to other subprocesses.
160 { _as_can_reexec=; unset _as_can_reexec;}
161 if test "x$CONFIG_SHELL" = x; then
162 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
163 emulate sh
164 NULLCMD=:
165 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
166 # is contrary to our usage. Disable this feature.
167 alias -g '\${1+\"\$@\"}'='\"\$@\"'
168 setopt NO_GLOB_SUBST
169 else
170 case \`(set -o) 2>/dev/null\` in #(
171 *posix*) :
172 set -o posix ;; #(
173 *) :
174 ;;
175 esac
176 fi
177 "
178 as_required="as_fn_return () { (exit \$1); }
179 as_fn_success () { as_fn_return 0; }
180 as_fn_failure () { as_fn_return 1; }
181 as_fn_ret_success () { return 0; }
182 as_fn_ret_failure () { return 1; }
183
184 exitcode=0
185 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
186 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
187 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
188 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
189 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190
191 else
192 exitcode=1; echo positional parameters were not saved.
193 fi
194 test x\$exitcode = x0 || exit 1
195 test -x / || exit 1"
196 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
197 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
198 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
199 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
200
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
208 test \$(( 1 + 1 )) = 2 || exit 1"
209 if (eval "$as_required") 2>/dev/null; then :
210 as_have_required=yes
211 else
212 as_have_required=no
213 fi
214 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
215
216 else
217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218 as_found=false
219 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
220 do
221 IFS=$as_save_IFS
222 test -z "$as_dir" && as_dir=.
223 as_found=:
224 case $as_dir in #(
225 /*)
226 for as_base in sh bash ksh sh5; do
227 # Try only shells that exist, to save several forks.
228 as_shell=$as_dir/$as_base
229 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
230 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
231 CONFIG_SHELL=$as_shell as_have_required=yes
232 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
233 break 2
234 fi
235 fi
236 done;;
237 esac
238 as_found=false
239 done
240 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
241 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
242 CONFIG_SHELL=$SHELL as_have_required=yes
243 fi; }
244 IFS=$as_save_IFS
245
246
247 if test "x$CONFIG_SHELL" != x; then :
248 export CONFIG_SHELL
249 # We cannot yet assume a decent shell, so we have to provide a
250 # neutralization value for shells without unset; and this also
251 # works around shells that cannot unset nonexistent variables.
252 # Preserve -v and -x to the replacement shell.
253 BASH_ENV=/dev/null
254 ENV=/dev/null
255 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
256 case $- in # ((((
257 *v*x* | *x*v* ) as_opts=-vx ;;
258 *v* ) as_opts=-v ;;
259 *x* ) as_opts=-x ;;
260 * ) as_opts= ;;
261 esac
262 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
263 # Admittedly, this is quite paranoid, since all the known shells bail
264 # out after a failed `exec'.
265 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
266 exit 255
267 fi
268
269 if test x$as_have_required = xno; then :
270 $as_echo "$0: This script requires a shell more modern than all"
271 $as_echo "$0: the shells that I found on your system."
272 if test x${ZSH_VERSION+set} = xset ; then
273 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
274 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 else
276 $as_echo "$0: Please tell bug-autoconf@gnu.org and
277 $0: martin.gieseking@uos.de about your system, including
278 $0: any error possibly output before this message. Then
279 $0: install a modern shell, or manually run the script
280 $0: under such a shell if you do have one."
281 fi
282 exit 1
283 fi
284 fi
285 fi
286 SHELL=${CONFIG_SHELL-/bin/sh}
287 export SHELL
288 # Unset more variables known to interfere with behavior of common tools.
289 CLICOLOR_FORCE= GREP_OPTIONS=
290 unset CLICOLOR_FORCE GREP_OPTIONS
291
292 ## --------------------- ##
293 ## M4sh Shell Functions. ##
294 ## --------------------- ##
295 # as_fn_unset VAR
296 # ---------------
297 # Portably unset VAR.
298 as_fn_unset ()
299 {
300 { eval $1=; unset $1;}
301 }
302 as_unset=as_fn_unset
303
304 # as_fn_set_status STATUS
305 # -----------------------
306 # Set $? to STATUS, without forking.
307 as_fn_set_status ()
308 {
309 return $1
310 } # as_fn_set_status
311
312 # as_fn_exit STATUS
313 # -----------------
314 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
315 as_fn_exit ()
316 {
317 set +e
318 as_fn_set_status $1
319 exit $1
320 } # as_fn_exit
321
322 # as_fn_mkdir_p
323 # -------------
324 # Create "$as_dir" as a directory, including parents if necessary.
325 as_fn_mkdir_p ()
326 {
327
328 case $as_dir in #(
329 -*) as_dir=./$as_dir;;
330 esac
331 test -d "$as_dir" || eval $as_mkdir_p || {
332 as_dirs=
333 while :; do
334 case $as_dir in #(
335 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 *) as_qdir=$as_dir;;
337 esac
338 as_dirs="'$as_qdir' $as_dirs"
339 as_dir=`$as_dirname -- "$as_dir" ||
340 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
341 X"$as_dir" : 'X\(//\)[^/]' \| \
342 X"$as_dir" : 'X\(//\)$' \| \
343 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
344 $as_echo X"$as_dir" |
345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
346 s//\1/
347 q
348 }
349 /^X\(\/\/\)[^/].*/{
350 s//\1/
351 q
352 }
353 /^X\(\/\/\)$/{
354 s//\1/
355 q
356 }
357 /^X\(\/\).*/{
358 s//\1/
359 q
360 }
361 s/.*/./; q'`
362 test -d "$as_dir" && break
363 done
364 test -z "$as_dirs" || eval "mkdir $as_dirs"
365 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
366
367
368 } # as_fn_mkdir_p
369
370 # as_fn_executable_p FILE
371 # -----------------------
372 # Test if FILE is an executable regular file.
373 as_fn_executable_p ()
374 {
375 test -f "$1" && test -x "$1"
376 } # as_fn_executable_p
377 # as_fn_append VAR VALUE
378 # ----------------------
379 # Append the text in VALUE to the end of the definition contained in VAR. Take
380 # advantage of any shell optimizations that allow amortized linear growth over
381 # repeated appends, instead of the typical quadratic growth present in naive
382 # implementations.
383 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
384 eval 'as_fn_append ()
385 {
386 eval $1+=\$2
387 }'
388 else
389 as_fn_append ()
390 {
391 eval $1=\$$1\$2
392 }
393 fi # as_fn_append
394
395 # as_fn_arith ARG...
396 # ------------------
397 # Perform arithmetic evaluation on the ARGs, and store the result in the
398 # global $as_val. Take advantage of shells that can avoid forks. The arguments
399 # must be portable across $(()) and expr.
400 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
401 eval 'as_fn_arith ()
402 {
403 as_val=$(( $* ))
404 }'
405 else
406 as_fn_arith ()
407 {
408 as_val=`expr "$@" || test $? -eq 1`
409 }
410 fi # as_fn_arith
411
412
413 # as_fn_error STATUS ERROR [LINENO LOG_FD]
414 # ----------------------------------------
415 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
416 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
417 # script with STATUS, using 1 if that was 0.
418 as_fn_error ()
419 {
420 as_status=$1; test $as_status -eq 0 && as_status=1
421 if test "$4"; then
422 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
423 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
424 fi
425 $as_echo "$as_me: error: $2" >&2
426 as_fn_exit $as_status
427 } # as_fn_error
428
429 if expr a : '\(a\)' >/dev/null 2>&1 &&
430 test "X`expr 00001 : '.*\(...\)'`" = X001; then
431 as_expr=expr
432 else
433 as_expr=false
434 fi
435
436 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
437 as_basename=basename
438 else
439 as_basename=false
440 fi
441
442 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
443 as_dirname=dirname
444 else
445 as_dirname=false
446 fi
447
448 as_me=`$as_basename -- "$0" ||
449 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
450 X"$0" : 'X\(//\)$' \| \
451 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
452 $as_echo X/"$0" |
453 sed '/^.*\/\([^/][^/]*\)\/*$/{
454 s//\1/
455 q
456 }
457 /^X\/\(\/\/\)$/{
458 s//\1/
459 q
460 }
461 /^X\/\(\/\).*/{
462 s//\1/
463 q
464 }
465 s/.*/./; q'`
466
467 # Avoid depending upon Character Ranges.
468 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
469 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
470 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
471 as_cr_digits='0123456789'
472 as_cr_alnum=$as_cr_Letters$as_cr_digits
473
474
475 as_lineno_1=$LINENO as_lineno_1a=$LINENO
476 as_lineno_2=$LINENO as_lineno_2a=$LINENO
477 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
478 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
479 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
480 sed -n '
481 p
482 /[$]LINENO/=
483 ' <$as_myself |
484 sed '
485 s/[$]LINENO.*/&-/
486 t lineno
487 b
488 :lineno
489 N
490 :loop
491 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
492 t loop
493 s/-\n.*//
494 ' >$as_me.lineno &&
495 chmod +x "$as_me.lineno" ||
496 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
497
498 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
499 # already done that, so ensure we don't try to do so again and fall
500 # in an infinite loop. This has already happened in practice.
501 _as_can_reexec=no; export _as_can_reexec
502 # Don't try to exec as it changes $[0], causing all sort of problems
503 # (the dirname of $[0] is not the place where we might find the
504 # original and so on. Autoconf is especially sensitive to this).
505 . "./$as_me.lineno"
506 # Exit status is that of the last command.
507 exit
508 }
509
510 ECHO_C= ECHO_N= ECHO_T=
511 case `echo -n x` in #(((((
512 -n*)
513 case `echo 'xy\c'` in
514 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
515 xy) ECHO_C='\c';;
516 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
517 ECHO_T=' ';;
518 esac;;
519 *)
520 ECHO_N='-n';;
521 esac
522
523 rm -f conf$$ conf$$.exe conf$$.file
524 if test -d conf$$.dir; then
525 rm -f conf$$.dir/conf$$.file
526 else
527 rm -f conf$$.dir
528 mkdir conf$$.dir 2>/dev/null
529 fi
530 if (echo >conf$$.file) 2>/dev/null; then
531 if ln -s conf$$.file conf$$ 2>/dev/null; then
532 as_ln_s='ln -s'
533 # ... but there are two gotchas:
534 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
535 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
536 # In both cases, we have to default to `cp -pR'.
537 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
538 as_ln_s='cp -pR'
539 elif ln conf$$.file conf$$ 2>/dev/null; then
540 as_ln_s=ln
541 else
542 as_ln_s='cp -pR'
543 fi
544 else
545 as_ln_s='cp -pR'
546 fi
547 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
548 rmdir conf$$.dir 2>/dev/null
549
550 if mkdir -p . 2>/dev/null; then
551 as_mkdir_p='mkdir -p "$as_dir"'
552 else
553 test -d ./-p && rmdir ./-p
554 as_mkdir_p=false
555 fi
556
557 as_test_x='test -x'
558 as_executable_p=as_fn_executable_p
559
560 # Sed expression to map a string onto a valid CPP name.
561 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
562
563 # Sed expression to map a string onto a valid variable name.
564 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
565
566 SHELL=${CONFIG_SHELL-/bin/sh}
567
568
569 test -n "$DJDIR" || exec 7<&0 </dev/null
570 exec 6>&1
571
572 # Name of the host.
573 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
574 # so uname gets run too.
575 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
576
577 #
578 # Initializations.
579 #
580 ac_default_prefix=/usr/local
581 ac_clean_files=
582 ac_config_libobj_dir=.
583 LIBOBJS=
584 cross_compiling=no
585 subdirs=
586 MFLAGS=
587 MAKEFLAGS=
588
589 # Identity of this package.
590 PACKAGE_NAME='dvisvgm'
591 PACKAGE_TARNAME='dvisvgm'
592 PACKAGE_VERSION='2.10.1'
593 PACKAGE_STRING='dvisvgm 2.10.1'
594 PACKAGE_BUGREPORT='martin.gieseking@uos.de'
595 PACKAGE_URL=''
596
597 ac_unique_file="src"
598 # Factoring default headers for most tests.
599 ac_includes_default="\
600 #include <stdio.h>
601 #ifdef HAVE_SYS_TYPES_H
602 # include <sys/types.h>
603 #endif
604 #ifdef HAVE_SYS_STAT_H
605 # include <sys/stat.h>
606 #endif
607 #ifdef STDC_HEADERS
608 # include <stdlib.h>
609 # include <stddef.h>
610 #else
611 # ifdef HAVE_STDLIB_H
612 # include <stdlib.h>
613 # endif
614 #endif
615 #ifdef HAVE_STRING_H
616 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
617 # include <memory.h>
618 # endif
619 # include <string.h>
620 #endif
621 #ifdef HAVE_STRINGS_H
622 # include <strings.h>
623 #endif
624 #ifdef HAVE_INTTYPES_H
625 # include <inttypes.h>
626 #endif
627 #ifdef HAVE_STDINT_H
628 # include <stdint.h>
629 #endif
630 #ifdef HAVE_UNISTD_H
631 # include <unistd.h>
632 #endif"
633
634 ac_header_list=
635 ac_func_list=
636 ac_subst_vars='am__EXEEXT_FALSE
637 am__EXEEXT_TRUE
638 LTLIBOBJS
639 AM_LDFLAGS
640 AM_CPPFLAGS
641 DATE
642 dvisvgm_srcdir
643 CODE_COVERAGE_RULES
644 CODE_COVERAGE_LDFLAGS
645 CODE_COVERAGE_LIBS
646 CODE_COVERAGE_CXXFLAGS
647 CODE_COVERAGE_CFLAGS
648 CODE_COVERAGE_CPPFLAGS
649 GENHTML
650 LCOV
651 GCOV
652 CODE_COVERAGE_ENABLED
653 CODE_COVERAGE_ENABLED_FALSE
654 CODE_COVERAGE_ENABLED_TRUE
655 BUILD_MANPAGE_FALSE
656 BUILD_MANPAGE_TRUE
657 XSLTPROC
658 XMLTO
659 ASCIIDOC
660 ZLIB_LIBS
661 ZLIB_CFLAGS
662 LIBOBJS
663 USE_BUNDLED_MD5_FALSE
664 USE_BUNDLED_MD5_TRUE
665 LIBCRYPTO_LIBS
666 LIBCRYPTO_CFLAGS
667 TTFAUTOHINT_LIBS
668 TTFAUTOHINT_CFLAGS
669 HAVE_XXHASH_FALSE
670 HAVE_XXHASH_TRUE
671 HAVE_WOFF2_FALSE
672 HAVE_WOFF2_TRUE
673 HAVE_BROTLI_FALSE
674 HAVE_BROTLI_TRUE
675 HAVE_POTRACE_FALSE
676 HAVE_POTRACE_TRUE
677 WOFF2_LIBS
678 WOFF2_CFLAGS
679 BROTLI_LIBS
680 BROTLI_CFLAGS
681 USE_BUNDLED_LIBS_FALSE
682 USE_BUNDLED_LIBS_TRUE
683 ENABLE_WOFF_FALSE
684 ENABLE_WOFF_TRUE
685 FREETYPE_LIBS
686 FREETYPE_CFLAGS
687 PKG_CONFIG_LIBDIR
688 PKG_CONFIG_PATH
689 PKG_CONFIG
690 KPSE_LIBS
691 KPSE_CFLAGS
692 CXXCPP
693 CPP
694 LT_SYS_LIBRARY_PATH
695 OTOOL64
696 OTOOL
697 LIPO
698 NMEDIT
699 DSYMUTIL
700 MANIFEST_TOOL
701 RANLIB
702 DLLTOOL
703 OBJDUMP
704 LN_S
705 NM
706 ac_ct_DUMPBIN
707 DUMPBIN
708 LD
709 FGREP
710 EGREP
711 GREP
712 SED
713 LIBTOOL
714 ac_ct_AR
715 AR
716 HAVE_CXX11
717 am__fastdepCXX_FALSE
718 am__fastdepCXX_TRUE
719 CXXDEPMODE
720 ac_ct_CXX
721 CXXFLAGS
722 CXX
723 am__fastdepCC_FALSE
724 am__fastdepCC_TRUE
725 CCDEPMODE
726 am__nodep
727 AMDEPBACKSLASH
728 AMDEP_FALSE
729 AMDEP_TRUE
730 am__include
731 DEPDIR
732 OBJEXT
733 EXEEXT
734 ac_ct_CC
735 CPPFLAGS
736 LDFLAGS
737 CFLAGS
738 CC
739 AM_BACKSLASH
740 AM_DEFAULT_VERBOSITY
741 AM_DEFAULT_V
742 AM_V
743 am__untar
744 am__tar
745 AMTAR
746 am__leading_dot
747 SET_MAKE
748 AWK
749 mkdir_p
750 MKDIR_P
751 INSTALL_STRIP_PROGRAM
752 STRIP
753 install_sh
754 MAKEINFO
755 AUTOHEADER
756 AUTOMAKE
757 AUTOCONF
758 ACLOCAL
759 VERSION
760 PACKAGE
761 CYGPATH_W
762 am__isrc
763 INSTALL_DATA
764 INSTALL_SCRIPT
765 INSTALL_PROGRAM
766 target_os
767 target_vendor
768 target_cpu
769 target
770 host_os
771 host_vendor
772 host_cpu
773 host
774 build_os
775 build_vendor
776 build_cpu
777 build
778 target_alias
779 host_alias
780 build_alias
781 LIBS
782 ECHO_T
783 ECHO_N
784 ECHO_C
785 DEFS
786 mandir
787 localedir
788 libdir
789 psdir
790 pdfdir
791 dvidir
792 htmldir
793 infodir
794 docdir
795 oldincludedir
796 includedir
797 localstatedir
798 sharedstatedir
799 sysconfdir
800 datadir
801 datarootdir
802 libexecdir
803 sbindir
804 bindir
805 program_transform_name
806 prefix
807 exec_prefix
808 PACKAGE_URL
809 PACKAGE_BUGREPORT
810 PACKAGE_STRING
811 PACKAGE_VERSION
812 PACKAGE_TARNAME
813 PACKAGE_NAME
814 PATH_SEPARATOR
815 SHELL
816 am__quote'
817 ac_subst_files=''
818 ac_user_opts='
819 enable_option_checking
820 enable_silent_rules
821 enable_dependency_tracking
822 enable_shared
823 enable_static
824 with_pic
825 enable_fast_install
826 with_aix_soname
827 with_gnu_ld
828 with_sysroot
829 enable_libtool_lock
830 with_kpathsea
831 enable_woff
832 with_ttfautohint
833 enable_bundled_libs
834 with_zlib
835 enable_manpage
836 with_gcov
837 enable_code_coverage
838 '
839 ac_precious_vars='build_alias
840 host_alias
841 target_alias
842 CC
843 CFLAGS
844 LDFLAGS
845 LIBS
846 CPPFLAGS
847 CXX
848 CXXFLAGS
849 CCC
850 LT_SYS_LIBRARY_PATH
851 CPP
852 CXXCPP
853 KPSE_CFLAGS
854 KPSE_LIBS
855 PKG_CONFIG
856 PKG_CONFIG_PATH
857 PKG_CONFIG_LIBDIR
858 FREETYPE_CFLAGS
859 FREETYPE_LIBS
860 BROTLI_CFLAGS
861 BROTLI_LIBS
862 WOFF2_CFLAGS
863 WOFF2_LIBS
864 TTFAUTOHINT_CFLAGS
865 TTFAUTOHINT_LIBS
866 LIBCRYPTO_CFLAGS
867 LIBCRYPTO_LIBS'
868
869
870 # Initialize some variables set by options.
871 ac_init_help=
872 ac_init_version=false
873 ac_unrecognized_opts=
874 ac_unrecognized_sep=
875 # The variables have the same names as the options, with
876 # dashes changed to underlines.
877 cache_file=/dev/null
878 exec_prefix=NONE
879 no_create=
880 no_recursion=
881 prefix=NONE
882 program_prefix=NONE
883 program_suffix=NONE
884 program_transform_name=s,x,x,
885 silent=
886 site=
887 srcdir=
888 verbose=
889 x_includes=NONE
890 x_libraries=NONE
891
892 # Installation directory options.
893 # These are left unexpanded so users can "make install exec_prefix=/foo"
894 # and all the variables that are supposed to be based on exec_prefix
895 # by default will actually change.
896 # Use braces instead of parens because sh, perl, etc. also accept them.
897 # (The list follows the same order as the GNU Coding Standards.)
898 bindir='${exec_prefix}/bin'
899 sbindir='${exec_prefix}/sbin'
900 libexecdir='${exec_prefix}/libexec'
901 datarootdir='${prefix}/share'
902 datadir='${datarootdir}'
903 sysconfdir='${prefix}/etc'
904 sharedstatedir='${prefix}/com'
905 localstatedir='${prefix}/var'
906 includedir='${prefix}/include'
907 oldincludedir='/usr/include'
908 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
909 infodir='${datarootdir}/info'
910 htmldir='${docdir}'
911 dvidir='${docdir}'
912 pdfdir='${docdir}'
913 psdir='${docdir}'
914 libdir='${exec_prefix}/lib'
915 localedir='${datarootdir}/locale'
916 mandir='${datarootdir}/man'
917
918 ac_prev=
919 ac_dashdash=
920 for ac_option
921 do
922 # If the previous option needs an argument, assign it.
923 if test -n "$ac_prev"; then
924 eval $ac_prev=\$ac_option
925 ac_prev=
926 continue
927 fi
928
929 case $ac_option in
930 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
931 *=) ac_optarg= ;;
932 *) ac_optarg=yes ;;
933 esac
934
935 # Accept the important Cygnus configure options, so we can diagnose typos.
936
937 case $ac_dashdash$ac_option in
938 --)
939 ac_dashdash=yes ;;
940
941 -bindir | --bindir | --bindi | --bind | --bin | --bi)
942 ac_prev=bindir ;;
943 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
944 bindir=$ac_optarg ;;
945
946 -build | --build | --buil | --bui | --bu)
947 ac_prev=build_alias ;;
948 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
949 build_alias=$ac_optarg ;;
950
951 -cache-file | --cache-file | --cache-fil | --cache-fi \
952 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
953 ac_prev=cache_file ;;
954 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
955 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
956 cache_file=$ac_optarg ;;
957
958 --config-cache | -C)
959 cache_file=config.cache ;;
960
961 -datadir | --datadir | --datadi | --datad)
962 ac_prev=datadir ;;
963 -datadir=* | --datadir=* | --datadi=* | --datad=*)
964 datadir=$ac_optarg ;;
965
966 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
967 | --dataroo | --dataro | --datar)
968 ac_prev=datarootdir ;;
969 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
970 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
971 datarootdir=$ac_optarg ;;
972
973 -disable-* | --disable-*)
974 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
975 # Reject names that are not valid shell variable names.
976 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
977 as_fn_error $? "invalid feature name: $ac_useropt"
978 ac_useropt_orig=$ac_useropt
979 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
980 case $ac_user_opts in
981 *"
982 "enable_$ac_useropt"
983 "*) ;;
984 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
985 ac_unrecognized_sep=', ';;
986 esac
987 eval enable_$ac_useropt=no ;;
988
989 -docdir | --docdir | --docdi | --doc | --do)
990 ac_prev=docdir ;;
991 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
992 docdir=$ac_optarg ;;
993
994 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
995 ac_prev=dvidir ;;
996 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
997 dvidir=$ac_optarg ;;
998
999 -enable-* | --enable-*)
1000 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1001 # Reject names that are not valid shell variable names.
1002 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1003 as_fn_error $? "invalid feature name: $ac_useropt"
1004 ac_useropt_orig=$ac_useropt
1005 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1006 case $ac_user_opts in
1007 *"
1008 "enable_$ac_useropt"
1009 "*) ;;
1010 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1011 ac_unrecognized_sep=', ';;
1012 esac
1013 eval enable_$ac_useropt=\$ac_optarg ;;
1014
1015 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1016 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1017 | --exec | --exe | --ex)
1018 ac_prev=exec_prefix ;;
1019 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1020 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1021 | --exec=* | --exe=* | --ex=*)
1022 exec_prefix=$ac_optarg ;;
1023
1024 -gas | --gas | --ga | --g)
1025 # Obsolete; use --with-gas.
1026 with_gas=yes ;;
1027
1028 -help | --help | --hel | --he | -h)
1029 ac_init_help=long ;;
1030 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1031 ac_init_help=recursive ;;
1032 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1033 ac_init_help=short ;;
1034
1035 -host | --host | --hos | --ho)
1036 ac_prev=host_alias ;;
1037 -host=* | --host=* | --hos=* | --ho=*)
1038 host_alias=$ac_optarg ;;
1039
1040 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1041 ac_prev=htmldir ;;
1042 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1043 | --ht=*)
1044 htmldir=$ac_optarg ;;
1045
1046 -includedir | --includedir | --includedi | --included | --include \
1047 | --includ | --inclu | --incl | --inc)
1048 ac_prev=includedir ;;
1049 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1050 | --includ=* | --inclu=* | --incl=* | --inc=*)
1051 includedir=$ac_optarg ;;
1052
1053 -infodir | --infodir | --infodi | --infod | --info | --inf)
1054 ac_prev=infodir ;;
1055 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1056 infodir=$ac_optarg ;;
1057
1058 -libdir | --libdir | --libdi | --libd)
1059 ac_prev=libdir ;;
1060 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1061 libdir=$ac_optarg ;;
1062
1063 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1064 | --libexe | --libex | --libe)
1065 ac_prev=libexecdir ;;
1066 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1067 | --libexe=* | --libex=* | --libe=*)
1068 libexecdir=$ac_optarg ;;
1069
1070 -localedir | --localedir | --localedi | --localed | --locale)
1071 ac_prev=localedir ;;
1072 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1073 localedir=$ac_optarg ;;
1074
1075 -localstatedir | --localstatedir | --localstatedi | --localstated \
1076 | --localstate | --localstat | --localsta | --localst | --locals)
1077 ac_prev=localstatedir ;;
1078 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1079 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1080 localstatedir=$ac_optarg ;;
1081
1082 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1083 ac_prev=mandir ;;
1084 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1085 mandir=$ac_optarg ;;
1086
1087 -nfp | --nfp | --nf)
1088 # Obsolete; use --without-fp.
1089 with_fp=no ;;
1090
1091 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1092 | --no-cr | --no-c | -n)
1093 no_create=yes ;;
1094
1095 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1096 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1097 no_recursion=yes ;;
1098
1099 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1100 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1101 | --oldin | --oldi | --old | --ol | --o)
1102 ac_prev=oldincludedir ;;
1103 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1104 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1105 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1106 oldincludedir=$ac_optarg ;;
1107
1108 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1109 ac_prev=prefix ;;
1110 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1111 prefix=$ac_optarg ;;
1112
1113 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1114 | --program-pre | --program-pr | --program-p)
1115 ac_prev=program_prefix ;;
1116 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1117 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1118 program_prefix=$ac_optarg ;;
1119
1120 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1121 | --program-suf | --program-su | --program-s)
1122 ac_prev=program_suffix ;;
1123 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1124 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1125 program_suffix=$ac_optarg ;;
1126
1127 -program-transform-name | --program-transform-name \
1128 | --program-transform-nam | --program-transform-na \
1129 | --program-transform-n | --program-transform- \
1130 | --program-transform | --program-transfor \
1131 | --program-transfo | --program-transf \
1132 | --program-trans | --program-tran \
1133 | --progr-tra | --program-tr | --program-t)
1134 ac_prev=program_transform_name ;;
1135 -program-transform-name=* | --program-transform-name=* \
1136 | --program-transform-nam=* | --program-transform-na=* \
1137 | --program-transform-n=* | --program-transform-=* \
1138 | --program-transform=* | --program-transfor=* \
1139 | --program-transfo=* | --program-transf=* \
1140 | --program-trans=* | --program-tran=* \
1141 | --progr-tra=* | --program-tr=* | --program-t=*)
1142 program_transform_name=$ac_optarg ;;
1143
1144 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1145 ac_prev=pdfdir ;;
1146 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1147 pdfdir=$ac_optarg ;;
1148
1149 -psdir | --psdir | --psdi | --psd | --ps)
1150 ac_prev=psdir ;;
1151 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1152 psdir=$ac_optarg ;;
1153
1154 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1155 | -silent | --silent | --silen | --sile | --sil)
1156 silent=yes ;;
1157
1158 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1159 ac_prev=sbindir ;;
1160 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1161 | --sbi=* | --sb=*)
1162 sbindir=$ac_optarg ;;
1163
1164 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1165 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1166 | --sharedst | --shareds | --shared | --share | --shar \
1167 | --sha | --sh)
1168 ac_prev=sharedstatedir ;;
1169 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1170 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1171 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1172 | --sha=* | --sh=*)
1173 sharedstatedir=$ac_optarg ;;
1174
1175 -site | --site | --sit)
1176 ac_prev=site ;;
1177 -site=* | --site=* | --sit=*)
1178 site=$ac_optarg ;;
1179
1180 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1181 ac_prev=srcdir ;;
1182 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1183 srcdir=$ac_optarg ;;
1184
1185 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1186 | --syscon | --sysco | --sysc | --sys | --sy)
1187 ac_prev=sysconfdir ;;
1188 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1189 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1190 sysconfdir=$ac_optarg ;;
1191
1192 -target | --target | --targe | --targ | --tar | --ta | --t)
1193 ac_prev=target_alias ;;
1194 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1195 target_alias=$ac_optarg ;;
1196
1197 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1198 verbose=yes ;;
1199
1200 -version | --version | --versio | --versi | --vers | -V)
1201 ac_init_version=: ;;
1202
1203 -with-* | --with-*)
1204 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1205 # Reject names that are not valid shell variable names.
1206 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1207 as_fn_error $? "invalid package name: $ac_useropt"
1208 ac_useropt_orig=$ac_useropt
1209 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1210 case $ac_user_opts in
1211 *"
1212 "with_$ac_useropt"
1213 "*) ;;
1214 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1215 ac_unrecognized_sep=', ';;
1216 esac
1217 eval with_$ac_useropt=\$ac_optarg ;;
1218
1219 -without-* | --without-*)
1220 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1221 # Reject names that are not valid shell variable names.
1222 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1223 as_fn_error $? "invalid package name: $ac_useropt"
1224 ac_useropt_orig=$ac_useropt
1225 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1226 case $ac_user_opts in
1227 *"
1228 "with_$ac_useropt"
1229 "*) ;;
1230 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1231 ac_unrecognized_sep=', ';;
1232 esac
1233 eval with_$ac_useropt=no ;;
1234
1235 --x)
1236 # Obsolete; use --with-x.
1237 with_x=yes ;;
1238
1239 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1240 | --x-incl | --x-inc | --x-in | --x-i)
1241 ac_prev=x_includes ;;
1242 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1243 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1244 x_includes=$ac_optarg ;;
1245
1246 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1247 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1248 ac_prev=x_libraries ;;
1249 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1250 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1251 x_libraries=$ac_optarg ;;
1252
1253 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1254 Try \`$0 --help' for more information"
1255 ;;
1256
1257 *=*)
1258 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1259 # Reject names that are not valid shell variable names.
1260 case $ac_envvar in #(
1261 '' | [0-9]* | *[!_$as_cr_alnum]* )
1262 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1263 esac
1264 eval $ac_envvar=\$ac_optarg
1265 export $ac_envvar ;;
1266
1267 *)
1268 # FIXME: should be removed in autoconf 3.0.
1269 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1270 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1271 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1272 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1273 ;;
1274
1275 esac
1276 done
1277
1278 if test -n "$ac_prev"; then
1279 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1280 as_fn_error $? "missing argument to $ac_option"
1281 fi
1282
1283 if test -n "$ac_unrecognized_opts"; then
1284 case $enable_option_checking in
1285 no) ;;
1286 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1287 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1288 esac
1289 fi
1290
1291 # Check all directory arguments for consistency.
1292 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1293 datadir sysconfdir sharedstatedir localstatedir includedir \
1294 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1295 libdir localedir mandir
1296 do
1297 eval ac_val=\$$ac_var
1298 # Remove trailing slashes.
1299 case $ac_val in
1300 */ )
1301 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1302 eval $ac_var=\$ac_val;;
1303 esac
1304 # Be sure to have absolute directory names.
1305 case $ac_val in
1306 [\\/$]* | ?:[\\/]* ) continue;;
1307 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1308 esac
1309 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1310 done
1311
1312 # There might be people who depend on the old broken behavior: `$host'
1313 # used to hold the argument of --host etc.
1314 # FIXME: To remove some day.
1315 build=$build_alias
1316 host=$host_alias
1317 target=$target_alias
1318
1319 # FIXME: To remove some day.
1320 if test "x$host_alias" != x; then
1321 if test "x$build_alias" = x; then
1322 cross_compiling=maybe
1323 elif test "x$build_alias" != "x$host_alias"; then
1324 cross_compiling=yes
1325 fi
1326 fi
1327
1328 ac_tool_prefix=
1329 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1330
1331 test "$silent" = yes && exec 6>/dev/null
1332
1333
1334 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1335 ac_ls_di=`ls -di .` &&
1336 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1337 as_fn_error $? "working directory cannot be determined"
1338 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1339 as_fn_error $? "pwd does not report name of working directory"
1340
1341
1342 # Find the source files, if location was not specified.
1343 if test -z "$srcdir"; then
1344 ac_srcdir_defaulted=yes
1345 # Try the directory containing this script, then the parent directory.
1346 ac_confdir=`$as_dirname -- "$as_myself" ||
1347 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1348 X"$as_myself" : 'X\(//\)[^/]' \| \
1349 X"$as_myself" : 'X\(//\)$' \| \
1350 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1351 $as_echo X"$as_myself" |
1352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1353 s//\1/
1354 q
1355 }
1356 /^X\(\/\/\)[^/].*/{
1357 s//\1/
1358 q
1359 }
1360 /^X\(\/\/\)$/{
1361 s//\1/
1362 q
1363 }
1364 /^X\(\/\).*/{
1365 s//\1/
1366 q
1367 }
1368 s/.*/./; q'`
1369 srcdir=$ac_confdir
1370 if test ! -r "$srcdir/$ac_unique_file"; then
1371 srcdir=..
1372 fi
1373 else
1374 ac_srcdir_defaulted=no
1375 fi
1376 if test ! -r "$srcdir/$ac_unique_file"; then
1377 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1378 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1379 fi
1380 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1381 ac_abs_confdir=`(
1382 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1383 pwd)`
1384 # When building in place, set srcdir=.
1385 if test "$ac_abs_confdir" = "$ac_pwd"; then
1386 srcdir=.
1387 fi
1388 # Remove unnecessary trailing slashes from srcdir.
1389 # Double slashes in file names in object file debugging info
1390 # mess up M-x gdb in Emacs.
1391 case $srcdir in
1392 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1393 esac
1394 for ac_var in $ac_precious_vars; do
1395 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1396 eval ac_env_${ac_var}_value=\$${ac_var}
1397 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1398 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1399 done
1400
1401 #
1402 # Report the --help message.
1403 #
1404 if test "$ac_init_help" = "long"; then
1405 # Omit some internal or obsolete options to make the list less imposing.
1406 # This message is too long to be a string in the A/UX 3.1 sh.
1407 cat <<_ACEOF
1408 \`configure' configures dvisvgm 2.10.1 to adapt to many kinds of systems.
1409
1410 Usage: $0 [OPTION]... [VAR=VALUE]...
1411
1412 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1413 VAR=VALUE. See below for descriptions of some of the useful variables.
1414
1415 Defaults for the options are specified in brackets.
1416
1417 Configuration:
1418 -h, --help display this help and exit
1419 --help=short display options specific to this package
1420 --help=recursive display the short help of all the included packages
1421 -V, --version display version information and exit
1422 -q, --quiet, --silent do not print \`checking ...' messages
1423 --cache-file=FILE cache test results in FILE [disabled]
1424 -C, --config-cache alias for \`--cache-file=config.cache'
1425 -n, --no-create do not create output files
1426 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1427
1428 Installation directories:
1429 --prefix=PREFIX install architecture-independent files in PREFIX
1430 [$ac_default_prefix]
1431 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1432 [PREFIX]
1433
1434 By default, \`make install' will install all the files in
1435 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1436 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1437 for instance \`--prefix=\$HOME'.
1438
1439 For better control, use the options below.
1440
1441 Fine tuning of the installation directories:
1442 --bindir=DIR user executables [EPREFIX/bin]
1443 --sbindir=DIR system admin executables [EPREFIX/sbin]
1444 --libexecdir=DIR program executables [EPREFIX/libexec]
1445 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1446 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1447 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1448 --libdir=DIR object code libraries [EPREFIX/lib]
1449 --includedir=DIR C header files [PREFIX/include]
1450 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1451 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1452 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1453 --infodir=DIR info documentation [DATAROOTDIR/info]
1454 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1455 --mandir=DIR man documentation [DATAROOTDIR/man]
1456 --docdir=DIR documentation root [DATAROOTDIR/doc/dvisvgm]
1457 --htmldir=DIR html documentation [DOCDIR]
1458 --dvidir=DIR dvi documentation [DOCDIR]
1459 --pdfdir=DIR pdf documentation [DOCDIR]
1460 --psdir=DIR ps documentation [DOCDIR]
1461 _ACEOF
1462
1463 cat <<\_ACEOF
1464
1465 Program names:
1466 --program-prefix=PREFIX prepend PREFIX to installed program names
1467 --program-suffix=SUFFIX append SUFFIX to installed program names
1468 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1469
1470 System types:
1471 --build=BUILD configure for building on BUILD [guessed]
1472 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1473 --target=TARGET configure for building compilers for TARGET [HOST]
1474 _ACEOF
1475 fi
1476
1477 if test -n "$ac_init_help"; then
1478 case $ac_init_help in
1479 short | recursive ) echo "Configuration of dvisvgm 2.10.1:";;
1480 esac
1481 cat <<\_ACEOF
1482
1483 Optional Features:
1484 --disable-option-checking ignore unrecognized --enable/--with options
1485 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1486 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1487 --enable-silent-rules less verbose build output (undo: "make V=1")
1488 --disable-silent-rules verbose build output (undo: "make V=0")
1489 --enable-dependency-tracking
1490 do not reject slow dependency extractors
1491 --disable-dependency-tracking
1492 speeds up one-time build
1493 --enable-shared[=PKGS] build shared libraries [default=yes]
1494 --enable-static[=PKGS] build static libraries [default=yes]
1495 --enable-fast-install[=PKGS]
1496 optimize for fast installation [default=yes]
1497 --disable-libtool-lock avoid locking (might break parallel builds)
1498 --disable-woff Disable WOFF support [default=no]
1499 --enable-bundled-libs use bundled libraries instead of the system ones
1500 [default=no]
1501 --disable-manpage disable generation of manual page [default=no]
1502 --enable-code-coverage Whether to enable code coverage support
1503
1504 Optional Packages:
1505 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1506 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1507 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1508 both]
1509 --with-aix-soname=aix|svr4|both
1510 shared library versioning (aka "SONAME") variant to
1511 provide on AIX, [default=aix].
1512 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1513 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1514 compiler's sysroot if not specified).
1515 --with-kpathsea=prefix set location of kpathsea library
1516 --with-ttfautohint[=prefix]
1517 enable ttfautohint support (disabled by default)
1518 --with-zlib=DIR set location of the zlib library
1519 --with-gcov=GCOV use given GCOV for coverage (GCOV=gcov).
1520
1521 Some influential environment variables:
1522 CC C compiler command
1523 CFLAGS C compiler flags
1524 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1525 nonstandard directory <lib dir>
1526 LIBS libraries to pass to the linker, e.g. -l<library>
1527 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1528 you have headers in a nonstandard directory <include dir>
1529 CXX C++ compiler command
1530 CXXFLAGS C++ compiler flags
1531 LT_SYS_LIBRARY_PATH
1532 User-defined run-time library search path.
1533 CPP C preprocessor
1534 CXXCPP C++ preprocessor
1535 KPSE_CFLAGS C/C++ compiler flags for the kpathsea library
1536 KPSE_LIBS linker flags for the kpathsea library
1537 PKG_CONFIG path to pkg-config utility
1538 PKG_CONFIG_PATH
1539 directories to add to pkg-config's search path
1540 PKG_CONFIG_LIBDIR
1541 path overriding pkg-config's built-in search path
1542 FREETYPE_CFLAGS
1543 C compiler flags for FREETYPE, overriding pkg-config
1544 FREETYPE_LIBS
1545 linker flags for FREETYPE, overriding pkg-config
1546 BROTLI_CFLAGS
1547 C compiler flags for BROTLI, overriding pkg-config
1548 BROTLI_LIBS linker flags for BROTLI, overriding pkg-config
1549 WOFF2_CFLAGS
1550 C compiler flags for WOFF2, overriding pkg-config
1551 WOFF2_LIBS linker flags for WOFF2, overriding pkg-config
1552 TTFAUTOHINT_CFLAGS
1553 C compiler flags for TTFAUTOHINT, overriding pkg-config
1554 TTFAUTOHINT_LIBS
1555 linker flags for TTFAUTOHINT, overriding pkg-config
1556 LIBCRYPTO_CFLAGS
1557 C compiler flags for LIBCRYPTO, overriding pkg-config
1558 LIBCRYPTO_LIBS
1559 linker flags for LIBCRYPTO, overriding pkg-config
1560
1561 Use these variables to override the choices made by `configure' or to help
1562 it to find libraries and programs with nonstandard names/locations.
1563
1564 Report bugs to <martin.gieseking@uos.de>.
1565 _ACEOF
1566 ac_status=$?
1567 fi
1568
1569 if test "$ac_init_help" = "recursive"; then
1570 # If there are subdirs, report their specific --help.
1571 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1572 test -d "$ac_dir" ||
1573 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1574 continue
1575 ac_builddir=.
1576
1577 case "$ac_dir" in
1578 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1579 *)
1580 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1581 # A ".." for each directory in $ac_dir_suffix.
1582 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1583 case $ac_top_builddir_sub in
1584 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1585 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1586 esac ;;
1587 esac
1588 ac_abs_top_builddir=$ac_pwd
1589 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1590 # for backward compatibility:
1591 ac_top_builddir=$ac_top_build_prefix
1592
1593 case $srcdir in
1594 .) # We are building in place.
1595 ac_srcdir=.
1596 ac_top_srcdir=$ac_top_builddir_sub
1597 ac_abs_top_srcdir=$ac_pwd ;;
1598 [\\/]* | ?:[\\/]* ) # Absolute name.
1599 ac_srcdir=$srcdir$ac_dir_suffix;
1600 ac_top_srcdir=$srcdir
1601 ac_abs_top_srcdir=$srcdir ;;
1602 *) # Relative name.
1603 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1604 ac_top_srcdir=$ac_top_build_prefix$srcdir
1605 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1606 esac
1607 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1608
1609 cd "$ac_dir" || { ac_status=$?; continue; }
1610 # Check for guested configure.
1611 if test -f "$ac_srcdir/configure.gnu"; then
1612 echo &&
1613 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1614 elif test -f "$ac_srcdir/configure"; then
1615 echo &&
1616 $SHELL "$ac_srcdir/configure" --help=recursive
1617 else
1618 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1619 fi || ac_status=$?
1620 cd "$ac_pwd" || { ac_status=$?; break; }
1621 done
1622 fi
1623
1624 test -n "$ac_init_help" && exit $ac_status
1625 if $ac_init_version; then
1626 cat <<\_ACEOF
1627 dvisvgm configure 2.10.1
1628 generated by GNU Autoconf 2.69
1629
1630 Copyright (C) 2012 Free Software Foundation, Inc.
1631 This configure script is free software; the Free Software Foundation
1632 gives unlimited permission to copy, distribute and modify it.
1633 _ACEOF
1634 exit
1635 fi
1636
1637 ## ------------------------ ##
1638 ## Autoconf initialization. ##
1639 ## ------------------------ ##
1640
1641 # ac_fn_c_try_compile LINENO
1642 # --------------------------
1643 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1644 ac_fn_c_try_compile ()
1645 {
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 rm -f conftest.$ac_objext
1648 if { { ac_try="$ac_compile"
1649 case "(($ac_try" in
1650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1651 *) ac_try_echo=$ac_try;;
1652 esac
1653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1654 $as_echo "$ac_try_echo"; } >&5
1655 (eval "$ac_compile") 2>conftest.err
1656 ac_status=$?
1657 if test -s conftest.err; then
1658 grep -v '^ *+' conftest.err >conftest.er1
1659 cat conftest.er1 >&5
1660 mv -f conftest.er1 conftest.err
1661 fi
1662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1663 test $ac_status = 0; } && {
1664 test -z "$ac_c_werror_flag" ||
1665 test ! -s conftest.err
1666 } && test -s conftest.$ac_objext; then :
1667 ac_retval=0
1668 else
1669 $as_echo "$as_me: failed program was:" >&5
1670 sed 's/^/| /' conftest.$ac_ext >&5
1671
1672 ac_retval=1
1673 fi
1674 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1675 as_fn_set_status $ac_retval
1676
1677 } # ac_fn_c_try_compile
1678
1679 # ac_fn_cxx_try_compile LINENO
1680 # ----------------------------
1681 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1682 ac_fn_cxx_try_compile ()
1683 {
1684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1685 rm -f conftest.$ac_objext
1686 if { { ac_try="$ac_compile"
1687 case "(($ac_try" in
1688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1689 *) ac_try_echo=$ac_try;;
1690 esac
1691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1692 $as_echo "$ac_try_echo"; } >&5
1693 (eval "$ac_compile") 2>conftest.err
1694 ac_status=$?
1695 if test -s conftest.err; then
1696 grep -v '^ *+' conftest.err >conftest.er1
1697 cat conftest.er1 >&5
1698 mv -f conftest.er1 conftest.err
1699 fi
1700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1701 test $ac_status = 0; } && {
1702 test -z "$ac_cxx_werror_flag" ||
1703 test ! -s conftest.err
1704 } && test -s conftest.$ac_objext; then :
1705 ac_retval=0
1706 else
1707 $as_echo "$as_me: failed program was:" >&5
1708 sed 's/^/| /' conftest.$ac_ext >&5
1709
1710 ac_retval=1
1711 fi
1712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1713 as_fn_set_status $ac_retval
1714
1715 } # ac_fn_cxx_try_compile
1716
1717 # ac_fn_c_try_link LINENO
1718 # -----------------------
1719 # Try to link conftest.$ac_ext, and return whether this succeeded.
1720 ac_fn_c_try_link ()
1721 {
1722 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1723 rm -f conftest.$ac_objext conftest$ac_exeext
1724 if { { ac_try="$ac_link"
1725 case "(($ac_try" in
1726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1727 *) ac_try_echo=$ac_try;;
1728 esac
1729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1730 $as_echo "$ac_try_echo"; } >&5
1731 (eval "$ac_link") 2>conftest.err
1732 ac_status=$?
1733 if test -s conftest.err; then
1734 grep -v '^ *+' conftest.err >conftest.er1
1735 cat conftest.er1 >&5
1736 mv -f conftest.er1 conftest.err
1737 fi
1738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1739 test $ac_status = 0; } && {
1740 test -z "$ac_c_werror_flag" ||
1741 test ! -s conftest.err
1742 } && test -s conftest$ac_exeext && {
1743 test "$cross_compiling" = yes ||
1744 test -x conftest$ac_exeext
1745 }; then :
1746 ac_retval=0
1747 else
1748 $as_echo "$as_me: failed program was:" >&5
1749 sed 's/^/| /' conftest.$ac_ext >&5
1750
1751 ac_retval=1
1752 fi
1753 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1754 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1755 # interfere with the next link command; also delete a directory that is
1756 # left behind by Apple's compiler. We do this before executing the actions.
1757 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1758 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1759 as_fn_set_status $ac_retval
1760
1761 } # ac_fn_c_try_link
1762
1763 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1764 # -------------------------------------------------------
1765 # Tests whether HEADER exists and can be compiled using the include files in
1766 # INCLUDES, setting the cache variable VAR accordingly.
1767 ac_fn_c_check_header_compile ()
1768 {
1769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1771 $as_echo_n "checking for $2... " >&6; }
1772 if eval \${$3+:} false; then :
1773 $as_echo_n "(cached) " >&6
1774 else
1775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1776 /* end confdefs.h. */
1777 $4
1778 #include <$2>
1779 _ACEOF
1780 if ac_fn_c_try_compile "$LINENO"; then :
1781 eval "$3=yes"
1782 else
1783 eval "$3=no"
1784 fi
1785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1786 fi
1787 eval ac_res=\$$3
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1789 $as_echo "$ac_res" >&6; }
1790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1791
1792 } # ac_fn_c_check_header_compile
1793
1794 # ac_fn_c_try_cpp LINENO
1795 # ----------------------
1796 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1797 ac_fn_c_try_cpp ()
1798 {
1799 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1800 if { { ac_try="$ac_cpp conftest.$ac_ext"
1801 case "(($ac_try" in
1802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1803 *) ac_try_echo=$ac_try;;
1804 esac
1805 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1806 $as_echo "$ac_try_echo"; } >&5
1807 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1808 ac_status=$?
1809 if test -s conftest.err; then
1810 grep -v '^ *+' conftest.err >conftest.er1
1811 cat conftest.er1 >&5
1812 mv -f conftest.er1 conftest.err
1813 fi
1814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1815 test $ac_status = 0; } > conftest.i && {
1816 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1817 test ! -s conftest.err
1818 }; then :
1819 ac_retval=0
1820 else
1821 $as_echo "$as_me: failed program was:" >&5
1822 sed 's/^/| /' conftest.$ac_ext >&5
1823
1824 ac_retval=1
1825 fi
1826 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1827 as_fn_set_status $ac_retval
1828
1829 } # ac_fn_c_try_cpp
1830
1831 # ac_fn_c_try_run LINENO
1832 # ----------------------
1833 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1834 # that executables *can* be run.
1835 ac_fn_c_try_run ()
1836 {
1837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1838 if { { ac_try="$ac_link"
1839 case "(($ac_try" in
1840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1841 *) ac_try_echo=$ac_try;;
1842 esac
1843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1844 $as_echo "$ac_try_echo"; } >&5
1845 (eval "$ac_link") 2>&5
1846 ac_status=$?
1847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1848 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1849 { { case "(($ac_try" in
1850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1851 *) ac_try_echo=$ac_try;;
1852 esac
1853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1854 $as_echo "$ac_try_echo"; } >&5
1855 (eval "$ac_try") 2>&5
1856 ac_status=$?
1857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1858 test $ac_status = 0; }; }; then :
1859 ac_retval=0
1860 else
1861 $as_echo "$as_me: program exited with status $ac_status" >&5
1862 $as_echo "$as_me: failed program was:" >&5
1863 sed 's/^/| /' conftest.$ac_ext >&5
1864
1865 ac_retval=$ac_status
1866 fi
1867 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1869 as_fn_set_status $ac_retval
1870
1871 } # ac_fn_c_try_run
1872
1873 # ac_fn_c_check_func LINENO FUNC VAR
1874 # ----------------------------------
1875 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1876 ac_fn_c_check_func ()
1877 {
1878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1880 $as_echo_n "checking for $2... " >&6; }
1881 if eval \${$3+:} false; then :
1882 $as_echo_n "(cached) " >&6
1883 else
1884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1885 /* end confdefs.h. */
1886 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1888 #define $2 innocuous_$2
1889
1890 /* System header to define __stub macros and hopefully few prototypes,
1891 which can conflict with char $2 (); below.
1892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1893 <limits.h> exists even on freestanding compilers. */
1894
1895 #ifdef __STDC__
1896 # include <limits.h>
1897 #else
1898 # include <assert.h>
1899 #endif
1900
1901 #undef $2
1902
1903 /* Override any GCC internal prototype to avoid an error.
1904 Use char because int might match the return type of a GCC
1905 builtin and then its argument prototype would still apply. */
1906 #ifdef __cplusplus
1907 extern "C"
1908 #endif
1909 char $2 ();
1910 /* The GNU C library defines this for functions which it implements
1911 to always fail with ENOSYS. Some functions are actually named
1912 something starting with __ and the normal name is an alias. */
1913 #if defined __stub_$2 || defined __stub___$2
1914 choke me
1915 #endif
1916
1917 int
1918 main ()
1919 {
1920 return $2 ();
1921 ;
1922 return 0;
1923 }
1924 _ACEOF
1925 if ac_fn_c_try_link "$LINENO"; then :
1926 eval "$3=yes"
1927 else
1928 eval "$3=no"
1929 fi
1930 rm -f core conftest.err conftest.$ac_objext \
1931 conftest$ac_exeext conftest.$ac_ext
1932 fi
1933 eval ac_res=\$$3
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1935 $as_echo "$ac_res" >&6; }
1936 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1937
1938 } # ac_fn_c_check_func
1939
1940 # ac_fn_cxx_try_cpp LINENO
1941 # ------------------------
1942 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1943 ac_fn_cxx_try_cpp ()
1944 {
1945 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1946 if { { ac_try="$ac_cpp conftest.$ac_ext"
1947 case "(($ac_try" in
1948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1949 *) ac_try_echo=$ac_try;;
1950 esac
1951 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1952 $as_echo "$ac_try_echo"; } >&5
1953 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1954 ac_status=$?
1955 if test -s conftest.err; then
1956 grep -v '^ *+' conftest.err >conftest.er1
1957 cat conftest.er1 >&5
1958 mv -f conftest.er1 conftest.err
1959 fi
1960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1961 test $ac_status = 0; } > conftest.i && {
1962 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1963 test ! -s conftest.err
1964 }; then :
1965 ac_retval=0
1966 else
1967 $as_echo "$as_me: failed program was:" >&5
1968 sed 's/^/| /' conftest.$ac_ext >&5
1969
1970 ac_retval=1
1971 fi
1972 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1973 as_fn_set_status $ac_retval
1974
1975 } # ac_fn_cxx_try_cpp
1976
1977 # ac_fn_cxx_try_link LINENO
1978 # -------------------------
1979 # Try to link conftest.$ac_ext, and return whether this succeeded.
1980 ac_fn_cxx_try_link ()
1981 {
1982 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1983 rm -f conftest.$ac_objext conftest$ac_exeext
1984 if { { ac_try="$ac_link"
1985 case "(($ac_try" in
1986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1987 *) ac_try_echo=$ac_try;;
1988 esac
1989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1990 $as_echo "$ac_try_echo"; } >&5
1991 (eval "$ac_link") 2>conftest.err
1992 ac_status=$?
1993 if test -s conftest.err; then
1994 grep -v '^ *+' conftest.err >conftest.er1
1995 cat conftest.er1 >&5
1996 mv -f conftest.er1 conftest.err
1997 fi
1998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1999 test $ac_status = 0; } && {
2000 test -z "$ac_cxx_werror_flag" ||
2001 test ! -s conftest.err
2002 } && test -s conftest$ac_exeext && {
2003 test "$cross_compiling" = yes ||
2004 test -x conftest$ac_exeext
2005 }; then :
2006 ac_retval=0
2007 else
2008 $as_echo "$as_me: failed program was:" >&5
2009 sed 's/^/| /' conftest.$ac_ext >&5
2010
2011 ac_retval=1
2012 fi
2013 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2014 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2015 # interfere with the next link command; also delete a directory that is
2016 # left behind by Apple's compiler. We do this before executing the actions.
2017 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2018 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2019 as_fn_set_status $ac_retval
2020
2021 } # ac_fn_cxx_try_link
2022
2023 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2024 # -------------------------------------------------------
2025 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2026 # the include files in INCLUDES and setting the cache variable VAR
2027 # accordingly.
2028 ac_fn_c_check_header_mongrel ()
2029 {
2030 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2031 if eval \${$3+:} false; then :
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2033 $as_echo_n "checking for $2... " >&6; }
2034 if eval \${$3+:} false; then :
2035 $as_echo_n "(cached) " >&6
2036 fi
2037 eval ac_res=\$$3
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2039 $as_echo "$ac_res" >&6; }
2040 else
2041 # Is the header compilable?
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2043 $as_echo_n "checking $2 usability... " >&6; }
2044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2045 /* end confdefs.h. */
2046 $4
2047 #include <$2>
2048 _ACEOF
2049 if ac_fn_c_try_compile "$LINENO"; then :
2050 ac_header_compiler=yes
2051 else
2052 ac_header_compiler=no
2053 fi
2054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2056 $as_echo "$ac_header_compiler" >&6; }
2057
2058 # Is the header present?
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2060 $as_echo_n "checking $2 presence... " >&6; }
2061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2062 /* end confdefs.h. */
2063 #include <$2>
2064 _ACEOF
2065 if ac_fn_c_try_cpp "$LINENO"; then :
2066 ac_header_preproc=yes
2067 else
2068 ac_header_preproc=no
2069 fi
2070 rm -f conftest.err conftest.i conftest.$ac_ext
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2072 $as_echo "$ac_header_preproc" >&6; }
2073
2074 # So? What about this header?
2075 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2076 yes:no: )
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2078 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2080 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2081 ;;
2082 no:yes:* )
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2084 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2086 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2088 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2090 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2092 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2093 ( $as_echo "## -------------------------------------- ##
2094 ## Report this to martin.gieseking@uos.de ##
2095 ## -------------------------------------- ##"
2096 ) | sed "s/^/$as_me: WARNING: /" >&2
2097 ;;
2098 esac
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2100 $as_echo_n "checking for $2... " >&6; }
2101 if eval \${$3+:} false; then :
2102 $as_echo_n "(cached) " >&6
2103 else
2104 eval "$3=\$ac_header_compiler"
2105 fi
2106 eval ac_res=\$$3
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2108 $as_echo "$ac_res" >&6; }
2109 fi
2110 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2111
2112 } # ac_fn_c_check_header_mongrel
2113
2114 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2115 # -------------------------------------------
2116 # Tests whether TYPE exists after having included INCLUDES, setting cache
2117 # variable VAR accordingly.
2118 ac_fn_c_check_type ()
2119 {
2120 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2122 $as_echo_n "checking for $2... " >&6; }
2123 if eval \${$3+:} false; then :
2124 $as_echo_n "(cached) " >&6
2125 else
2126 eval "$3=no"
2127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2128 /* end confdefs.h. */
2129 $4
2130 int
2131 main ()
2132 {
2133 if (sizeof ($2))
2134 return 0;
2135 ;
2136 return 0;
2137 }
2138 _ACEOF
2139 if ac_fn_c_try_compile "$LINENO"; then :
2140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2141 /* end confdefs.h. */
2142 $4
2143 int
2144 main ()
2145 {
2146 if (sizeof (($2)))
2147 return 0;
2148 ;
2149 return 0;
2150 }
2151 _ACEOF
2152 if ac_fn_c_try_compile "$LINENO"; then :
2153
2154 else
2155 eval "$3=yes"
2156 fi
2157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2158 fi
2159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2160 fi
2161 eval ac_res=\$$3
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2163 $as_echo "$ac_res" >&6; }
2164 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2165
2166 } # ac_fn_c_check_type
2167 cat >config.log <<_ACEOF
2168 This file contains any messages produced by compilers while
2169 running configure, to aid debugging if configure makes a mistake.
2170
2171 It was created by dvisvgm $as_me 2.10.1, which was
2172 generated by GNU Autoconf 2.69. Invocation command line was
2173
2174 $ $0 $@
2175
2176 _ACEOF
2177 exec 5>>config.log
2178 {
2179 cat <<_ASUNAME
2180 ## --------- ##
2181 ## Platform. ##
2182 ## --------- ##
2183
2184 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2185 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2186 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2187 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2188 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2189
2190 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2191 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2192
2193 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2194 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2195 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2196 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2197 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2198 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2199 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2200
2201 _ASUNAME
2202
2203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2204 for as_dir in $PATH
2205 do
2206 IFS=$as_save_IFS
2207 test -z "$as_dir" && as_dir=.
2208 $as_echo "PATH: $as_dir"
2209 done
2210 IFS=$as_save_IFS
2211
2212 } >&5
2213
2214 cat >&5 <<_ACEOF
2215
2216
2217 ## ----------- ##
2218 ## Core tests. ##
2219 ## ----------- ##
2220
2221 _ACEOF
2222
2223
2224 # Keep a trace of the command line.
2225 # Strip out --no-create and --no-recursion so they do not pile up.
2226 # Strip out --silent because we don't want to record it for future runs.
2227 # Also quote any args containing shell meta-characters.
2228 # Make two passes to allow for proper duplicate-argument suppression.
2229 ac_configure_args=
2230 ac_configure_args0=
2231 ac_configure_args1=
2232 ac_must_keep_next=false
2233 for ac_pass in 1 2
2234 do
2235 for ac_arg
2236 do
2237 case $ac_arg in
2238 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2239 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2240 | -silent | --silent | --silen | --sile | --sil)
2241 continue ;;
2242 *\'*)
2243 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2244 esac
2245 case $ac_pass in
2246 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2247 2)
2248 as_fn_append ac_configure_args1 " '$ac_arg'"
2249 if test $ac_must_keep_next = true; then
2250 ac_must_keep_next=false # Got value, back to normal.
2251 else
2252 case $ac_arg in
2253 *=* | --config-cache | -C | -disable-* | --disable-* \
2254 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2255 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2256 | -with-* | --with-* | -without-* | --without-* | --x)
2257 case "$ac_configure_args0 " in
2258 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2259 esac
2260 ;;
2261 -* ) ac_must_keep_next=true ;;
2262 esac
2263 fi
2264 as_fn_append ac_configure_args " '$ac_arg'"
2265 ;;
2266 esac
2267 done
2268 done
2269 { ac_configure_args0=; unset ac_configure_args0;}
2270 { ac_configure_args1=; unset ac_configure_args1;}
2271
2272 # When interrupted or exit'd, cleanup temporary files, and complete
2273 # config.log. We remove comments because anyway the quotes in there
2274 # would cause problems or look ugly.
2275 # WARNING: Use '\'' to represent an apostrophe within the trap.
2276 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2277 trap 'exit_status=$?
2278 # Save into config.log some information that might help in debugging.
2279 {
2280 echo
2281
2282 $as_echo "## ---------------- ##
2283 ## Cache variables. ##
2284 ## ---------------- ##"
2285 echo
2286 # The following way of writing the cache mishandles newlines in values,
2287 (
2288 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2289 eval ac_val=\$$ac_var
2290 case $ac_val in #(
2291 *${as_nl}*)
2292 case $ac_var in #(
2293 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2294 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2295 esac
2296 case $ac_var in #(
2297 _ | IFS | as_nl) ;; #(
2298 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2299 *) { eval $ac_var=; unset $ac_var;} ;;
2300 esac ;;
2301 esac
2302 done
2303 (set) 2>&1 |
2304 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2305 *${as_nl}ac_space=\ *)
2306 sed -n \
2307 "s/'\''/'\''\\\\'\'''\''/g;
2308 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2309 ;; #(
2310 *)
2311 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2312 ;;
2313 esac |
2314 sort
2315 )
2316 echo
2317
2318 $as_echo "## ----------------- ##
2319 ## Output variables. ##
2320 ## ----------------- ##"
2321 echo
2322 for ac_var in $ac_subst_vars
2323 do
2324 eval ac_val=\$$ac_var
2325 case $ac_val in
2326 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2327 esac
2328 $as_echo "$ac_var='\''$ac_val'\''"
2329 done | sort
2330 echo
2331
2332 if test -n "$ac_subst_files"; then
2333 $as_echo "## ------------------- ##
2334 ## File substitutions. ##
2335 ## ------------------- ##"
2336 echo
2337 for ac_var in $ac_subst_files
2338 do
2339 eval ac_val=\$$ac_var
2340 case $ac_val in
2341 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2342 esac
2343 $as_echo "$ac_var='\''$ac_val'\''"
2344 done | sort
2345 echo
2346 fi
2347
2348 if test -s confdefs.h; then
2349 $as_echo "## ----------- ##
2350 ## confdefs.h. ##
2351 ## ----------- ##"
2352 echo
2353 cat confdefs.h
2354 echo
2355 fi
2356 test "$ac_signal" != 0 &&
2357 $as_echo "$as_me: caught signal $ac_signal"
2358 $as_echo "$as_me: exit $exit_status"
2359 } >&5
2360 rm -f core *.core core.conftest.* &&
2361 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2362 exit $exit_status
2363 ' 0
2364 for ac_signal in 1 2 13 15; do
2365 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2366 done
2367 ac_signal=0
2368
2369 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2370 rm -f -r conftest* confdefs.h
2371
2372 $as_echo "/* confdefs.h */" > confdefs.h
2373
2374 # Predefined preprocessor variables.
2375
2376 cat >>confdefs.h <<_ACEOF
2377 #define PACKAGE_NAME "$PACKAGE_NAME"
2378 _ACEOF
2379
2380 cat >>confdefs.h <<_ACEOF
2381 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2382 _ACEOF
2383
2384 cat >>confdefs.h <<_ACEOF
2385 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2386 _ACEOF
2387
2388 cat >>confdefs.h <<_ACEOF
2389 #define PACKAGE_STRING "$PACKAGE_STRING"
2390 _ACEOF
2391
2392 cat >>confdefs.h <<_ACEOF
2393 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2394 _ACEOF
2395
2396 cat >>confdefs.h <<_ACEOF
2397 #define PACKAGE_URL "$PACKAGE_URL"
2398 _ACEOF
2399
2400
2401 # Let the site file select an alternate cache file if it wants to.
2402 # Prefer an explicitly selected file to automatically selected ones.
2403 ac_site_file1=NONE
2404 ac_site_file2=NONE
2405 if test -n "$CONFIG_SITE"; then
2406 # We do not want a PATH search for config.site.
2407 case $CONFIG_SITE in #((
2408 -*) ac_site_file1=./$CONFIG_SITE;;
2409 */*) ac_site_file1=$CONFIG_SITE;;
2410 *) ac_site_file1=./$CONFIG_SITE;;
2411 esac
2412 elif test "x$prefix" != xNONE; then
2413 ac_site_file1=$prefix/share/config.site
2414 ac_site_file2=$prefix/etc/config.site
2415 else
2416 ac_site_file1=$ac_default_prefix/share/config.site
2417 ac_site_file2=$ac_default_prefix/etc/config.site
2418 fi
2419 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2420 do
2421 test "x$ac_site_file" = xNONE && continue
2422 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2424 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2425 sed 's/^/| /' "$ac_site_file" >&5
2426 . "$ac_site_file" \
2427 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2429 as_fn_error $? "failed to load site script $ac_site_file
2430 See \`config.log' for more details" "$LINENO" 5; }
2431 fi
2432 done
2433
2434 if test -r "$cache_file"; then
2435 # Some versions of bash will fail to source /dev/null (special files
2436 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2437 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2439 $as_echo "$as_me: loading cache $cache_file" >&6;}
2440 case $cache_file in
2441 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2442 *) . "./$cache_file";;
2443 esac
2444 fi
2445 else
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2447 $as_echo "$as_me: creating cache $cache_file" >&6;}
2448 >$cache_file
2449 fi
2450
2451 as_fn_append ac_header_list " libintl.h"
2452 as_fn_append ac_header_list " stdlib.h"
2453 as_fn_append ac_header_list " string.h"
2454 as_fn_append ac_header_list " strings.h"
2455 as_fn_append ac_header_list " unistd.h"
2456 as_fn_append ac_func_list " ftime"
2457 as_fn_append ac_func_list " gettimeofday"
2458 as_fn_append ac_func_list " sigaction"
2459 as_fn_append ac_func_list " umask"
2460 as_fn_append ac_func_list " uselocale"
2461 # Check that the precious variables saved in the cache have kept the same
2462 # value.
2463 ac_cache_corrupted=false
2464 for ac_var in $ac_precious_vars; do
2465 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2466 eval ac_new_set=\$ac_env_${ac_var}_set
2467 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2468 eval ac_new_val=\$ac_env_${ac_var}_value
2469 case $ac_old_set,$ac_new_set in
2470 set,)
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2472 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2473 ac_cache_corrupted=: ;;
2474 ,set)
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2476 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2477 ac_cache_corrupted=: ;;
2478 ,);;
2479 *)
2480 if test "x$ac_old_val" != "x$ac_new_val"; then
2481 # differences in whitespace do not lead to failure.
2482 ac_old_val_w=`echo x $ac_old_val`
2483 ac_new_val_w=`echo x $ac_new_val`
2484 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2486 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2487 ac_cache_corrupted=:
2488 else
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2490 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2491 eval $ac_var=\$ac_old_val
2492 fi
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2494 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2496 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2497 fi;;
2498 esac
2499 # Pass precious variables to config.status.
2500 if test "$ac_new_set" = set; then
2501 case $ac_new_val in
2502 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2503 *) ac_arg=$ac_var=$ac_new_val ;;
2504 esac
2505 case " $ac_configure_args " in
2506 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2507 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2508 esac
2509 fi
2510 done
2511 if $ac_cache_corrupted; then
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2513 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2515 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2516 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2517 fi
2518 ## -------------------- ##
2519 ## Main body of script. ##
2520 ## -------------------- ##
2521
2522 ac_ext=c
2523 ac_cpp='$CPP $CPPFLAGS'
2524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2527
2528
2529 DATE="September 2020"
2530
2531 ac_config_headers="$ac_config_headers config.h"
2532
2533
2534 ac_aux_dir=
2535 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2536 if test -f "$ac_dir/install-sh"; then
2537 ac_aux_dir=$ac_dir
2538 ac_install_sh="$ac_aux_dir/install-sh -c"
2539 break
2540 elif test -f "$ac_dir/install.sh"; then
2541 ac_aux_dir=$ac_dir
2542 ac_install_sh="$ac_aux_dir/install.sh -c"
2543 break
2544 elif test -f "$ac_dir/shtool"; then
2545 ac_aux_dir=$ac_dir
2546 ac_install_sh="$ac_aux_dir/shtool install -c"
2547 break
2548 fi
2549 done
2550 if test -z "$ac_aux_dir"; then
2551 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2552 fi
2553
2554 # These three variables are undocumented and unsupported,
2555 # and are intended to be withdrawn in a future Autoconf release.
2556 # They can cause serious problems if a builder's source tree is in a directory
2557 # whose full name contains unusual characters.
2558 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2559 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2560 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2561
2562
2563 # Make sure we can run config.sub.
2564 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2565 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2566
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2568 $as_echo_n "checking build system type... " >&6; }
2569 if ${ac_cv_build+:} false; then :
2570 $as_echo_n "(cached) " >&6
2571 else
2572 ac_build_alias=$build_alias
2573 test "x$ac_build_alias" = x &&
2574 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2575 test "x$ac_build_alias" = x &&
2576 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2577 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2578 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2579
2580 fi
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2582 $as_echo "$ac_cv_build" >&6; }
2583 case $ac_cv_build in
2584 *-*-*) ;;
2585 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2586 esac
2587 build=$ac_cv_build
2588 ac_save_IFS=$IFS; IFS='-'
2589 set x $ac_cv_build
2590 shift
2591 build_cpu=$1
2592 build_vendor=$2
2593 shift; shift
2594 # Remember, the first character of IFS is used to create $*,
2595 # except with old shells:
2596 build_os=$*
2597 IFS=$ac_save_IFS
2598 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2599
2600
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2602 $as_echo_n "checking host system type... " >&6; }
2603 if ${ac_cv_host+:} false; then :
2604 $as_echo_n "(cached) " >&6
2605 else
2606 if test "x$host_alias" = x; then
2607 ac_cv_host=$ac_cv_build
2608 else
2609 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2610 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2611 fi
2612
2613 fi
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2615 $as_echo "$ac_cv_host" >&6; }
2616 case $ac_cv_host in
2617 *-*-*) ;;
2618 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2619 esac
2620 host=$ac_cv_host
2621 ac_save_IFS=$IFS; IFS='-'
2622 set x $ac_cv_host
2623 shift
2624 host_cpu=$1
2625 host_vendor=$2
2626 shift; shift
2627 # Remember, the first character of IFS is used to create $*,
2628 # except with old shells:
2629 host_os=$*
2630 IFS=$ac_save_IFS
2631 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2632
2633
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2635 $as_echo_n "checking target system type... " >&6; }
2636 if ${ac_cv_target+:} false; then :
2637 $as_echo_n "(cached) " >&6
2638 else
2639 if test "x$target_alias" = x; then
2640 ac_cv_target=$ac_cv_host
2641 else
2642 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2643 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2644 fi
2645
2646 fi
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2648 $as_echo "$ac_cv_target" >&6; }
2649 case $ac_cv_target in
2650 *-*-*) ;;
2651 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2652 esac
2653 target=$ac_cv_target
2654 ac_save_IFS=$IFS; IFS='-'
2655 set x $ac_cv_target
2656 shift
2657 target_cpu=$1
2658 target_vendor=$2
2659 shift; shift
2660 # Remember, the first character of IFS is used to create $*,
2661 # except with old shells:
2662 target_os=$*
2663 IFS=$ac_save_IFS
2664 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2665
2666
2667 # The aliases save the names the user supplied, while $host etc.
2668 # will get canonicalized.
2669 test -n "$target_alias" &&
2670 test "$program_prefix$program_suffix$program_transform_name" = \
2671 NONENONEs,x,x, &&
2672 program_prefix=${target_alias}-
2673 am__api_version='1.16'
2674
2675 # Find a good install program. We prefer a C program (faster),
2676 # so one script is as good as another. But avoid the broken or
2677 # incompatible versions:
2678 # SysV /etc/install, /usr/sbin/install
2679 # SunOS /usr/etc/install
2680 # IRIX /sbin/install
2681 # AIX /bin/install
2682 # AmigaOS /C/install, which installs bootblocks on floppy discs
2683 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2684 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2685 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2686 # OS/2's system install, which has a completely different semantic
2687 # ./install, which can be erroneously created by make from ./install.sh.
2688 # Reject install programs that cannot install multiple files.
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2690 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2691 if test -z "$INSTALL"; then
2692 if ${ac_cv_path_install+:} false; then :
2693 $as_echo_n "(cached) " >&6
2694 else
2695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2696 for as_dir in $PATH
2697 do
2698 IFS=$as_save_IFS
2699 test -z "$as_dir" && as_dir=.
2700 # Account for people who put trailing slashes in PATH elements.
2701 case $as_dir/ in #((
2702 ./ | .// | /[cC]/* | \
2703 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2704 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2705 /usr/ucb/* ) ;;
2706 *)
2707 # OSF1 and SCO ODT 3.0 have their own names for install.
2708 # Don't use installbsd from OSF since it installs stuff as root
2709 # by default.
2710 for ac_prog in ginstall scoinst install; do
2711 for ac_exec_ext in '' $ac_executable_extensions; do
2712 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2713 if test $ac_prog = install &&
2714 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2715 # AIX install. It has an incompatible calling convention.
2716 :
2717 elif test $ac_prog = install &&
2718 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2719 # program-specific install script used by HP pwplus--don't use.
2720 :
2721 else
2722 rm -rf conftest.one conftest.two conftest.dir
2723 echo one > conftest.one
2724 echo two > conftest.two
2725 mkdir conftest.dir
2726 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2727 test -s conftest.one && test -s conftest.two &&
2728 test -s conftest.dir/conftest.one &&
2729 test -s conftest.dir/conftest.two
2730 then
2731 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2732 break 3
2733 fi
2734 fi
2735 fi
2736 done
2737 done
2738 ;;
2739 esac
2740
2741 done
2742 IFS=$as_save_IFS
2743
2744 rm -rf conftest.one conftest.two conftest.dir
2745
2746 fi
2747 if test "${ac_cv_path_install+set}" = set; then
2748 INSTALL=$ac_cv_path_install
2749 else
2750 # As a last resort, use the slow shell script. Don't cache a
2751 # value for INSTALL within a source directory, because that will
2752 # break other packages using the cache if that directory is
2753 # removed, or if the value is a relative name.
2754 INSTALL=$ac_install_sh
2755 fi
2756 fi
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2758 $as_echo "$INSTALL" >&6; }
2759
2760 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2761 # It thinks the first close brace ends the variable substitution.
2762 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2763
2764 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2765
2766 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2767
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2769 $as_echo_n "checking whether build environment is sane... " >&6; }
2770 # Reject unsafe characters in $srcdir or the absolute working directory
2771 # name. Accept space and tab only in the latter.
2772 am_lf='
2773 '
2774 case `pwd` in
2775 *[\\\"\#\$\&\'\`$am_lf]*)
2776 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2777 esac
2778 case $srcdir in
2779 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2780 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2781 esac
2782
2783 # Do 'set' in a subshell so we don't clobber the current shell's
2784 # arguments. Must try -L first in case configure is actually a
2785 # symlink; some systems play weird games with the mod time of symlinks
2786 # (eg FreeBSD returns the mod time of the symlink's containing
2787 # directory).
2788 if (
2789 am_has_slept=no
2790 for am_try in 1 2; do
2791 echo "timestamp, slept: $am_has_slept" > conftest.file
2792 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2793 if test "$*" = "X"; then
2794 # -L didn't work.
2795 set X `ls -t "$srcdir/configure" conftest.file`
2796 fi
2797 if test "$*" != "X $srcdir/configure conftest.file" \
2798 && test "$*" != "X conftest.file $srcdir/configure"; then
2799
2800 # If neither matched, then we have a broken ls. This can happen
2801 # if, for instance, CONFIG_SHELL is bash and it inherits a
2802 # broken ls alias from the environment. This has actually
2803 # happened. Such a system could not be considered "sane".
2804 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2805 alias in your environment" "$LINENO" 5
2806 fi
2807 if test "$2" = conftest.file || test $am_try -eq 2; then
2808 break
2809 fi
2810 # Just in case.
2811 sleep 1
2812 am_has_slept=yes
2813 done
2814 test "$2" = conftest.file
2815 )
2816 then
2817 # Ok.
2818 :
2819 else
2820 as_fn_error $? "newly created file is older than distributed files!
2821 Check your system clock" "$LINENO" 5
2822 fi
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2824 $as_echo "yes" >&6; }
2825 # If we didn't sleep, we still need to ensure time stamps of config.status and
2826 # generated files are strictly newer.
2827 am_sleep_pid=
2828 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2829 ( sleep 1 ) &
2830 am_sleep_pid=$!
2831 fi
2832
2833 rm -f conftest.file
2834
2835 test "$program_prefix" != NONE &&
2836 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2837 # Use a double $ so make ignores it.
2838 test "$program_suffix" != NONE &&
2839 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2840 # Double any \ or $.
2841 # By default was `s,x,x', remove it if useless.
2842 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2843 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2844
2845 # Expand $ac_aux_dir to an absolute path.
2846 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2847
2848 if test x"${MISSING+set}" != xset; then
2849 case $am_aux_dir in
2850 *\ * | *\ *)
2851 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2852 *)
2853 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2854 esac
2855 fi
2856 # Use eval to expand $SHELL
2857 if eval "$MISSING --is-lightweight"; then
2858 am_missing_run="$MISSING "
2859 else
2860 am_missing_run=
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2862 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2863 fi
2864
2865 if test x"${install_sh+set}" != xset; then
2866 case $am_aux_dir in
2867 *\ * | *\ *)
2868 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2869 *)
2870 install_sh="\${SHELL} $am_aux_dir/install-sh"
2871 esac
2872 fi
2873
2874 # Installed binaries are usually stripped using 'strip' when the user
2875 # run "make install-strip". However 'strip' might not be the right
2876 # tool to use in cross-compilation environments, therefore Automake
2877 # will honor the 'STRIP' environment variable to overrule this program.
2878 if test "$cross_compiling" != no; then
2879 if test -n "$ac_tool_prefix"; then
2880 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2881 set dummy ${ac_tool_prefix}strip; ac_word=$2
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2883 $as_echo_n "checking for $ac_word... " >&6; }
2884 if ${ac_cv_prog_STRIP+:} false; then :
2885 $as_echo_n "(cached) " >&6
2886 else
2887 if test -n "$STRIP"; then
2888 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2889 else
2890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2891 for as_dir in $PATH
2892 do
2893 IFS=$as_save_IFS
2894 test -z "$as_dir" && as_dir=.
2895 for ac_exec_ext in '' $ac_executable_extensions; do
2896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2897 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2899 break 2
2900 fi
2901 done
2902 done
2903 IFS=$as_save_IFS
2904
2905 fi
2906 fi
2907 STRIP=$ac_cv_prog_STRIP
2908 if test -n "$STRIP"; then
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2910 $as_echo "$STRIP" >&6; }
2911 else
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2913 $as_echo "no" >&6; }
2914 fi
2915
2916
2917 fi
2918 if test -z "$ac_cv_prog_STRIP"; then
2919 ac_ct_STRIP=$STRIP
2920 # Extract the first word of "strip", so it can be a program name with args.
2921 set dummy strip; ac_word=$2
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2923 $as_echo_n "checking for $ac_word... " >&6; }
2924 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2925 $as_echo_n "(cached) " >&6
2926 else
2927 if test -n "$ac_ct_STRIP"; then
2928 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2929 else
2930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2931 for as_dir in $PATH
2932 do
2933 IFS=$as_save_IFS
2934 test -z "$as_dir" && as_dir=.
2935 for ac_exec_ext in '' $ac_executable_extensions; do
2936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2937 ac_cv_prog_ac_ct_STRIP="strip"
2938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2939 break 2
2940 fi
2941 done
2942 done
2943 IFS=$as_save_IFS
2944
2945 fi
2946 fi
2947 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2948 if test -n "$ac_ct_STRIP"; then
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2950 $as_echo "$ac_ct_STRIP" >&6; }
2951 else
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2953 $as_echo "no" >&6; }
2954 fi
2955
2956 if test "x$ac_ct_STRIP" = x; then
2957 STRIP=":"
2958 else
2959 case $cross_compiling:$ac_tool_warned in
2960 yes:)
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2962 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2963 ac_tool_warned=yes ;;
2964 esac
2965 STRIP=$ac_ct_STRIP
2966 fi
2967 else
2968 STRIP="$ac_cv_prog_STRIP"
2969 fi
2970
2971 fi
2972 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2973
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2975 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2976 if test -z "$MKDIR_P"; then
2977 if ${ac_cv_path_mkdir+:} false; then :
2978 $as_echo_n "(cached) " >&6
2979 else
2980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2981 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2982 do
2983 IFS=$as_save_IFS
2984 test -z "$as_dir" && as_dir=.
2985 for ac_prog in mkdir gmkdir; do
2986 for ac_exec_ext in '' $ac_executable_extensions; do
2987 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2988 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2989 'mkdir (GNU coreutils) '* | \
2990 'mkdir (coreutils) '* | \
2991 'mkdir (fileutils) '4.1*)
2992 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2993 break 3;;
2994 esac
2995 done
2996 done
2997 done
2998 IFS=$as_save_IFS
2999
3000 fi
3001
3002 test -d ./--version && rmdir ./--version
3003 if test "${ac_cv_path_mkdir+set}" = set; then
3004 MKDIR_P="$ac_cv_path_mkdir -p"
3005 else
3006 # As a last resort, use the slow shell script. Don't cache a
3007 # value for MKDIR_P within a source directory, because that will
3008 # break other packages using the cache if that directory is
3009 # removed, or if the value is a relative name.
3010 MKDIR_P="$ac_install_sh -d"
3011 fi
3012 fi
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3014 $as_echo "$MKDIR_P" >&6; }
3015
3016 for ac_prog in gawk mawk nawk awk
3017 do
3018 # Extract the first word of "$ac_prog", so it can be a program name with args.
3019 set dummy $ac_prog; ac_word=$2
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3021 $as_echo_n "checking for $ac_word... " >&6; }
3022 if ${ac_cv_prog_AWK+:} false; then :
3023 $as_echo_n "(cached) " >&6
3024 else
3025 if test -n "$AWK"; then
3026 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3027 else
3028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3029 for as_dir in $PATH
3030 do
3031 IFS=$as_save_IFS
3032 test -z "$as_dir" && as_dir=.
3033 for ac_exec_ext in '' $ac_executable_extensions; do
3034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3035 ac_cv_prog_AWK="$ac_prog"
3036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3037 break 2
3038 fi
3039 done
3040 done
3041 IFS=$as_save_IFS
3042
3043 fi
3044 fi
3045 AWK=$ac_cv_prog_AWK
3046 if test -n "$AWK"; then
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3048 $as_echo "$AWK" >&6; }
3049 else
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3051 $as_echo "no" >&6; }
3052 fi
3053
3054
3055 test -n "$AWK" && break
3056 done
3057
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3059 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3060 set x ${MAKE-make}
3061 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3062 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3063 $as_echo_n "(cached) " >&6
3064 else
3065 cat >conftest.make <<\_ACEOF
3066 SHELL = /bin/sh
3067 all:
3068 @echo '@@@%%%=$(MAKE)=@@@%%%'
3069 _ACEOF
3070 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3071 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3072 *@@@%%%=?*=@@@%%%*)
3073 eval ac_cv_prog_make_${ac_make}_set=yes;;
3074 *)
3075 eval ac_cv_prog_make_${ac_make}_set=no;;
3076 esac
3077 rm -f conftest.make
3078 fi
3079 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3081 $as_echo "yes" >&6; }
3082 SET_MAKE=
3083 else
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3085 $as_echo "no" >&6; }
3086 SET_MAKE="MAKE=${MAKE-make}"
3087 fi
3088
3089 rm -rf .tst 2>/dev/null
3090 mkdir .tst 2>/dev/null
3091 if test -d .tst; then
3092 am__leading_dot=.
3093 else
3094 am__leading_dot=_
3095 fi
3096 rmdir .tst 2>/dev/null
3097
3098 # Check whether --enable-silent-rules was given.
3099 if test "${enable_silent_rules+set}" = set; then :
3100 enableval=$enable_silent_rules;
3101 fi
3102
3103 case $enable_silent_rules in # (((
3104 yes) AM_DEFAULT_VERBOSITY=0;;
3105 no) AM_DEFAULT_VERBOSITY=1;;
3106 *) AM_DEFAULT_VERBOSITY=1;;
3107 esac
3108 am_make=${MAKE-make}
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3110 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3111 if ${am_cv_make_support_nested_variables+:} false; then :
3112 $as_echo_n "(cached) " >&6
3113 else
3114 if $as_echo 'TRUE=$(BAR$(V))
3115 BAR0=false
3116 BAR1=true
3117 V=1
3118 am__doit:
3119 @$(TRUE)
3120 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3121 am_cv_make_support_nested_variables=yes
3122 else
3123 am_cv_make_support_nested_variables=no
3124 fi
3125 fi
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3127 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3128 if test $am_cv_make_support_nested_variables = yes; then
3129 AM_V='$(V)'
3130 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3131 else
3132 AM_V=$AM_DEFAULT_VERBOSITY
3133 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3134 fi
3135 AM_BACKSLASH='\'
3136
3137 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3138 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3139 # is not polluted with repeated "-I."
3140 am__isrc=' -I$(srcdir)'
3141 # test to see if srcdir already configured
3142 if test -f $srcdir/config.status; then
3143 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3144 fi
3145 fi
3146
3147 # test whether we have cygpath
3148 if test -z "$CYGPATH_W"; then
3149 if (cygpath --version) >/dev/null 2>/dev/null; then
3150 CYGPATH_W='cygpath -w'
3151 else
3152 CYGPATH_W=echo
3153 fi
3154 fi
3155
3156
3157 # Define the identity of the package.
3158 PACKAGE='dvisvgm'
3159 VERSION='2.10.1'
3160
3161
3162 cat >>confdefs.h <<_ACEOF
3163 #define PACKAGE "$PACKAGE"
3164 _ACEOF
3165
3166
3167 cat >>confdefs.h <<_ACEOF
3168 #define VERSION "$VERSION"
3169 _ACEOF
3170
3171 # Some tools Automake needs.
3172
3173 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3174
3175
3176 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3177
3178
3179 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3180
3181
3182 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3183
3184
3185 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3186
3187 # For better backward compatibility. To be removed once Automake 1.9.x
3188 # dies out for good. For more background, see:
3189 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3190 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3191 mkdir_p='$(MKDIR_P)'
3192
3193 # We need awk for the "check" target (and possibly the TAP driver). The
3194 # system "awk" is bad on some platforms.
3195 # Always define AMTAR for backward compatibility. Yes, it's still used
3196 # in the wild :-( We should find a proper way to deprecate it ...
3197 AMTAR='$${TAR-tar}'
3198
3199
3200 # We'll loop over all known methods to create a tar archive until one works.
3201 _am_tools='gnutar pax cpio none'
3202
3203 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3204
3205
3206
3207
3208
3209
3210 # POSIX will say in a future version that running "rm -f" with no argument
3211 # is OK; and we want to be able to make that assumption in our Makefile
3212 # recipes. So use an aggressive probe to check that the usage we want is
3213 # actually supported "in the wild" to an acceptable degree.
3214 # See automake bug#10828.
3215 # To make any issue more visible, cause the running configure to be aborted
3216 # by default if the 'rm' program in use doesn't match our expectations; the
3217 # user can still override this though.
3218 if rm -f && rm -fr && rm -rf; then : OK; else
3219 cat >&2 <<'END'
3220 Oops!
3221
3222 Your 'rm' program seems unable to run without file operands specified
3223 on the command line, even when the '-f' option is present. This is contrary
3224 to the behaviour of most rm programs out there, and not conforming with
3225 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3226
3227 Please tell bug-automake@gnu.org about your system, including the value
3228 of your $PATH and any error possibly output before this message. This
3229 can help us improve future automake versions.
3230
3231 END
3232 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3233 echo 'Configuration will proceed anyway, since you have set the' >&2
3234 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3235 echo >&2
3236 else
3237 cat >&2 <<'END'
3238 Aborting the configuration process, to ensure you take notice of the issue.
3239
3240 You can download and install GNU coreutils to get an 'rm' implementation
3241 that behaves properly: <https://www.gnu.org/software/coreutils/>.
3242
3243 If you want to complete the configuration process using your problematic
3244 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3245 to "yes", and re-run configure.
3246
3247 END
3248 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3249 fi
3250 fi
3251
3252
3253
3254 cat >>confdefs.h <<_ACEOF
3255 #define TARGET_SYSTEM "$target"
3256 _ACEOF
3257
3258
3259 # Checks for programs.
3260 ac_ext=c
3261 ac_cpp='$CPP $CPPFLAGS'
3262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3265 if test -n "$ac_tool_prefix"; then
3266 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3267 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269 $as_echo_n "checking for $ac_word... " >&6; }
3270 if ${ac_cv_prog_CC+:} false; then :
3271 $as_echo_n "(cached) " >&6
3272 else
3273 if test -n "$CC"; then
3274 ac_cv_prog_CC="$CC" # Let the user override the test.
3275 else
3276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3277 for as_dir in $PATH
3278 do
3279 IFS=$as_save_IFS
3280 test -z "$as_dir" && as_dir=.
3281 for ac_exec_ext in '' $ac_executable_extensions; do
3282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3283 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3285 break 2
3286 fi
3287 done
3288 done
3289 IFS=$as_save_IFS
3290
3291 fi
3292 fi
3293 CC=$ac_cv_prog_CC
3294 if test -n "$CC"; then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3296 $as_echo "$CC" >&6; }
3297 else
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299 $as_echo "no" >&6; }
3300 fi
3301
3302
3303 fi
3304 if test -z "$ac_cv_prog_CC"; then
3305 ac_ct_CC=$CC
3306 # Extract the first word of "gcc", so it can be a program name with args.
3307 set dummy gcc; ac_word=$2
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3309 $as_echo_n "checking for $ac_word... " >&6; }
3310 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3311 $as_echo_n "(cached) " >&6
3312 else
3313 if test -n "$ac_ct_CC"; then
3314 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3315 else
3316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3317 for as_dir in $PATH
3318 do
3319 IFS=$as_save_IFS
3320 test -z "$as_dir" && as_dir=.
3321 for ac_exec_ext in '' $ac_executable_extensions; do
3322 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3323 ac_cv_prog_ac_ct_CC="gcc"
3324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3325 break 2
3326 fi
3327 done
3328 done
3329 IFS=$as_save_IFS
3330
3331 fi
3332 fi
3333 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3334 if test -n "$ac_ct_CC"; then
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3336 $as_echo "$ac_ct_CC" >&6; }
3337 else
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3339 $as_echo "no" >&6; }
3340 fi
3341
3342 if test "x$ac_ct_CC" = x; then
3343 CC=""
3344 else
3345 case $cross_compiling:$ac_tool_warned in
3346 yes:)
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3348 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3349 ac_tool_warned=yes ;;
3350 esac
3351 CC=$ac_ct_CC
3352 fi
3353 else
3354 CC="$ac_cv_prog_CC"
3355 fi
3356
3357 if test -z "$CC"; then
3358 if test -n "$ac_tool_prefix"; then
3359 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3360 set dummy ${ac_tool_prefix}cc; ac_word=$2
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3362 $as_echo_n "checking for $ac_word... " >&6; }
3363 if ${ac_cv_prog_CC+:} false; then :
3364 $as_echo_n "(cached) " >&6
3365 else
3366 if test -n "$CC"; then
3367 ac_cv_prog_CC="$CC" # Let the user override the test.
3368 else
3369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3370 for as_dir in $PATH
3371 do
3372 IFS=$as_save_IFS
3373 test -z "$as_dir" && as_dir=.
3374 for ac_exec_ext in '' $ac_executable_extensions; do
3375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3376 ac_cv_prog_CC="${ac_tool_prefix}cc"
3377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3378 break 2
3379 fi
3380 done
3381 done
3382 IFS=$as_save_IFS
3383
3384 fi
3385 fi
3386 CC=$ac_cv_prog_CC
3387 if test -n "$CC"; then
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3389 $as_echo "$CC" >&6; }
3390 else
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3392 $as_echo "no" >&6; }
3393 fi
3394
3395
3396 fi
3397 fi
3398 if test -z "$CC"; then
3399 # Extract the first word of "cc", so it can be a program name with args.
3400 set dummy cc; ac_word=$2
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3402 $as_echo_n "checking for $ac_word... " >&6; }
3403 if ${ac_cv_prog_CC+:} false; then :
3404 $as_echo_n "(cached) " >&6
3405 else
3406 if test -n "$CC"; then
3407 ac_cv_prog_CC="$CC" # Let the user override the test.
3408 else
3409 ac_prog_rejected=no
3410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3411 for as_dir in $PATH
3412 do
3413 IFS=$as_save_IFS
3414 test -z "$as_dir" && as_dir=.
3415 for ac_exec_ext in '' $ac_executable_extensions; do
3416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3417 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3418 ac_prog_rejected=yes
3419 continue
3420 fi
3421 ac_cv_prog_CC="cc"
3422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3423 break 2
3424 fi
3425 done
3426 done
3427 IFS=$as_save_IFS
3428
3429 if test $ac_prog_rejected = yes; then
3430 # We found a bogon in the path, so make sure we never use it.
3431 set dummy $ac_cv_prog_CC
3432 shift
3433 if test $# != 0; then
3434 # We chose a different compiler from the bogus one.
3435 # However, it has the same basename, so the bogon will be chosen
3436 # first if we set CC to just the basename; use the full file name.
3437 shift
3438 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3439 fi
3440 fi
3441 fi
3442 fi
3443 CC=$ac_cv_prog_CC
3444 if test -n "$CC"; then
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3446 $as_echo "$CC" >&6; }
3447 else
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3449 $as_echo "no" >&6; }
3450 fi
3451
3452
3453 fi
3454 if test -z "$CC"; then
3455 if test -n "$ac_tool_prefix"; then
3456 for ac_prog in cl.exe
3457 do
3458 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3459 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3461 $as_echo_n "checking for $ac_word... " >&6; }
3462 if ${ac_cv_prog_CC+:} false; then :
3463 $as_echo_n "(cached) " >&6
3464 else
3465 if test -n "$CC"; then
3466 ac_cv_prog_CC="$CC" # Let the user override the test.
3467 else
3468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3469 for as_dir in $PATH
3470 do
3471 IFS=$as_save_IFS
3472 test -z "$as_dir" && as_dir=.
3473 for ac_exec_ext in '' $ac_executable_extensions; do
3474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3475 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3477 break 2
3478 fi
3479 done
3480 done
3481 IFS=$as_save_IFS
3482
3483 fi
3484 fi
3485 CC=$ac_cv_prog_CC
3486 if test -n "$CC"; then
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3488 $as_echo "$CC" >&6; }
3489 else
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3491 $as_echo "no" >&6; }
3492 fi
3493
3494
3495 test -n "$CC" && break
3496 done
3497 fi
3498 if test -z "$CC"; then
3499 ac_ct_CC=$CC
3500 for ac_prog in cl.exe
3501 do
3502 # Extract the first word of "$ac_prog", so it can be a program name with args.
3503 set dummy $ac_prog; ac_word=$2
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3505 $as_echo_n "checking for $ac_word... " >&6; }
3506 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3507 $as_echo_n "(cached) " >&6
3508 else
3509 if test -n "$ac_ct_CC"; then
3510 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3511 else
3512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3513 for as_dir in $PATH
3514 do
3515 IFS=$as_save_IFS
3516 test -z "$as_dir" && as_dir=.
3517 for ac_exec_ext in '' $ac_executable_extensions; do
3518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3519 ac_cv_prog_ac_ct_CC="$ac_prog"
3520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3521 break 2
3522 fi
3523 done
3524 done
3525 IFS=$as_save_IFS
3526
3527 fi
3528 fi
3529 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3530 if test -n "$ac_ct_CC"; then
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3532 $as_echo "$ac_ct_CC" >&6; }
3533 else
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3535 $as_echo "no" >&6; }
3536 fi
3537
3538
3539 test -n "$ac_ct_CC" && break
3540 done
3541
3542 if test "x$ac_ct_CC" = x; then
3543 CC=""
3544 else
3545 case $cross_compiling:$ac_tool_warned in
3546 yes:)
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3548 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3549 ac_tool_warned=yes ;;
3550 esac
3551 CC=$ac_ct_CC
3552 fi
3553 fi
3554
3555 fi
3556
3557
3558 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3560 as_fn_error $? "no acceptable C compiler found in \$PATH
3561 See \`config.log' for more details" "$LINENO" 5; }
3562
3563 # Provide some information about the compiler.
3564 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3565 set X $ac_compile
3566 ac_compiler=$2
3567 for ac_option in --version -v -V -qversion; do
3568 { { ac_try="$ac_compiler $ac_option >&5"
3569 case "(($ac_try" in
3570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3571 *) ac_try_echo=$ac_try;;
3572 esac
3573 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3574 $as_echo "$ac_try_echo"; } >&5
3575 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3576 ac_status=$?
3577 if test -s conftest.err; then
3578 sed '10a\
3579 ... rest of stderr output deleted ...
3580 10q' conftest.err >conftest.er1
3581 cat conftest.er1 >&5
3582 fi
3583 rm -f conftest.er1 conftest.err
3584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3585 test $ac_status = 0; }
3586 done
3587
3588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3589 /* end confdefs.h. */
3590
3591 int
3592 main ()
3593 {
3594
3595 ;
3596 return 0;
3597 }
3598 _ACEOF
3599 ac_clean_files_save=$ac_clean_files
3600 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3601 # Try to create an executable without -o first, disregard a.out.
3602 # It will help us diagnose broken compilers, and finding out an intuition
3603 # of exeext.
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3605 $as_echo_n "checking whether the C compiler works... " >&6; }
3606 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3607
3608 # The possible output files:
3609 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3610
3611 ac_rmfiles=
3612 for ac_file in $ac_files
3613 do
3614 case $ac_file in
3615 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3616 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3617 esac
3618 done
3619 rm -f $ac_rmfiles
3620
3621 if { { ac_try="$ac_link_default"
3622 case "(($ac_try" in
3623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3624 *) ac_try_echo=$ac_try;;
3625 esac
3626 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3627 $as_echo "$ac_try_echo"; } >&5
3628 (eval "$ac_link_default") 2>&5
3629 ac_status=$?
3630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3631 test $ac_status = 0; }; then :
3632 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3633 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3634 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3635 # so that the user can short-circuit this test for compilers unknown to
3636 # Autoconf.
3637 for ac_file in $ac_files ''
3638 do
3639 test -f "$ac_file" || continue
3640 case $ac_file in
3641 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3642 ;;
3643 [ab].out )
3644 # We found the default executable, but exeext='' is most
3645 # certainly right.
3646 break;;
3647 *.* )
3648 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3649 then :; else
3650 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3651 fi
3652 # We set ac_cv_exeext here because the later test for it is not
3653 # safe: cross compilers may not add the suffix if given an `-o'
3654 # argument, so we may need to know it at that point already.
3655 # Even if this section looks crufty: it has the advantage of
3656 # actually working.
3657 break;;
3658 * )
3659 break;;
3660 esac
3661 done
3662 test "$ac_cv_exeext" = no && ac_cv_exeext=
3663
3664 else
3665 ac_file=''
3666 fi
3667 if test -z "$ac_file"; then :
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3669 $as_echo "no" >&6; }
3670 $as_echo "$as_me: failed program was:" >&5
3671 sed 's/^/| /' conftest.$ac_ext >&5
3672
3673 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3674 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3675 as_fn_error 77 "C compiler cannot create executables
3676 See \`config.log' for more details" "$LINENO" 5; }
3677 else
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3679 $as_echo "yes" >&6; }
3680 fi
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3682 $as_echo_n "checking for C compiler default output file name... " >&6; }
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3684 $as_echo "$ac_file" >&6; }
3685 ac_exeext=$ac_cv_exeext
3686
3687 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3688 ac_clean_files=$ac_clean_files_save
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3690 $as_echo_n "checking for suffix of executables... " >&6; }
3691 if { { ac_try="$ac_link"
3692 case "(($ac_try" in
3693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3694 *) ac_try_echo=$ac_try;;
3695 esac
3696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3697 $as_echo "$ac_try_echo"; } >&5
3698 (eval "$ac_link") 2>&5
3699 ac_status=$?
3700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3701 test $ac_status = 0; }; then :
3702 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3703 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3704 # work properly (i.e., refer to `conftest.exe'), while it won't with
3705 # `rm'.
3706 for ac_file in conftest.exe conftest conftest.*; do
3707 test -f "$ac_file" || continue
3708 case $ac_file in
3709 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3710 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3711 break;;
3712 * ) break;;
3713 esac
3714 done
3715 else
3716 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3718 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3719 See \`config.log' for more details" "$LINENO" 5; }
3720 fi
3721 rm -f conftest conftest$ac_cv_exeext
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3723 $as_echo "$ac_cv_exeext" >&6; }
3724
3725 rm -f conftest.$ac_ext
3726 EXEEXT=$ac_cv_exeext
3727 ac_exeext=$EXEEXT
3728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3729 /* end confdefs.h. */
3730 #include <stdio.h>
3731 int
3732 main ()
3733 {
3734 FILE *f = fopen ("conftest.out", "w");
3735 return ferror (f) || fclose (f) != 0;
3736
3737 ;
3738 return 0;
3739 }
3740 _ACEOF
3741 ac_clean_files="$ac_clean_files conftest.out"
3742 # Check that the compiler produces executables we can run. If not, either
3743 # the compiler is broken, or we cross compile.
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3745 $as_echo_n "checking whether we are cross compiling... " >&6; }
3746 if test "$cross_compiling" != yes; then
3747 { { ac_try="$ac_link"
3748 case "(($ac_try" in
3749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3750 *) ac_try_echo=$ac_try;;
3751 esac
3752 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3753 $as_echo "$ac_try_echo"; } >&5
3754 (eval "$ac_link") 2>&5
3755 ac_status=$?
3756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3757 test $ac_status = 0; }
3758 if { ac_try='./conftest$ac_cv_exeext'
3759 { { case "(($ac_try" in
3760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3761 *) ac_try_echo=$ac_try;;
3762 esac
3763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3764 $as_echo "$ac_try_echo"; } >&5
3765 (eval "$ac_try") 2>&5
3766 ac_status=$?
3767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3768 test $ac_status = 0; }; }; then
3769 cross_compiling=no
3770 else
3771 if test "$cross_compiling" = maybe; then
3772 cross_compiling=yes
3773 else
3774 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3775 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3776 as_fn_error $? "cannot run C compiled programs.
3777 If you meant to cross compile, use \`--host'.
3778 See \`config.log' for more details" "$LINENO" 5; }
3779 fi
3780 fi
3781 fi
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3783 $as_echo "$cross_compiling" >&6; }
3784
3785 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3786 ac_clean_files=$ac_clean_files_save
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3788 $as_echo_n "checking for suffix of object files... " >&6; }
3789 if ${ac_cv_objext+:} false; then :
3790 $as_echo_n "(cached) " >&6
3791 else
3792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3793 /* end confdefs.h. */
3794
3795 int
3796 main ()
3797 {
3798
3799 ;
3800 return 0;
3801 }
3802 _ACEOF
3803 rm -f conftest.o conftest.obj
3804 if { { ac_try="$ac_compile"
3805 case "(($ac_try" in
3806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3807 *) ac_try_echo=$ac_try;;
3808 esac
3809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3810 $as_echo "$ac_try_echo"; } >&5
3811 (eval "$ac_compile") 2>&5
3812 ac_status=$?
3813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3814 test $ac_status = 0; }; then :
3815 for ac_file in conftest.o conftest.obj conftest.*; do
3816 test -f "$ac_file" || continue;
3817 case $ac_file in
3818 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3819 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3820 break;;
3821 esac
3822 done
3823 else
3824 $as_echo "$as_me: failed program was:" >&5
3825 sed 's/^/| /' conftest.$ac_ext >&5
3826
3827 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3828 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3829 as_fn_error $? "cannot compute suffix of object files: cannot compile
3830 See \`config.log' for more details" "$LINENO" 5; }
3831 fi
3832 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3833 fi
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3835 $as_echo "$ac_cv_objext" >&6; }
3836 OBJEXT=$ac_cv_objext
3837 ac_objext=$OBJEXT
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3839 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3840 if ${ac_cv_c_compiler_gnu+:} false; then :
3841 $as_echo_n "(cached) " >&6
3842 else
3843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3844 /* end confdefs.h. */
3845
3846 int
3847 main ()
3848 {
3849 #ifndef __GNUC__
3850 choke me
3851 #endif
3852
3853 ;
3854 return 0;
3855 }
3856 _ACEOF
3857 if ac_fn_c_try_compile "$LINENO"; then :
3858 ac_compiler_gnu=yes
3859 else
3860 ac_compiler_gnu=no
3861 fi
3862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3863 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3864
3865 fi
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3867 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3868 if test $ac_compiler_gnu = yes; then
3869 GCC=yes
3870 else
3871 GCC=
3872 fi
3873 ac_test_CFLAGS=${CFLAGS+set}
3874 ac_save_CFLAGS=$CFLAGS
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3876 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3877 if ${ac_cv_prog_cc_g+:} false; then :
3878 $as_echo_n "(cached) " >&6
3879 else
3880 ac_save_c_werror_flag=$ac_c_werror_flag
3881 ac_c_werror_flag=yes
3882 ac_cv_prog_cc_g=no
3883 CFLAGS="-g"
3884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3885 /* end confdefs.h. */
3886
3887 int
3888 main ()
3889 {
3890
3891 ;
3892 return 0;
3893 }
3894 _ACEOF
3895 if ac_fn_c_try_compile "$LINENO"; then :
3896 ac_cv_prog_cc_g=yes
3897 else
3898 CFLAGS=""
3899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3900 /* end confdefs.h. */
3901
3902 int
3903 main ()
3904 {
3905
3906 ;
3907 return 0;
3908 }
3909 _ACEOF
3910 if ac_fn_c_try_compile "$LINENO"; then :
3911
3912 else
3913 ac_c_werror_flag=$ac_save_c_werror_flag
3914 CFLAGS="-g"
3915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3916 /* end confdefs.h. */
3917
3918 int
3919 main ()
3920 {
3921
3922 ;
3923 return 0;
3924 }
3925 _ACEOF
3926 if ac_fn_c_try_compile "$LINENO"; then :
3927 ac_cv_prog_cc_g=yes
3928 fi
3929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3930 fi
3931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3932 fi
3933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3934 ac_c_werror_flag=$ac_save_c_werror_flag
3935 fi
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3937 $as_echo "$ac_cv_prog_cc_g" >&6; }
3938 if test "$ac_test_CFLAGS" = set; then
3939 CFLAGS=$ac_save_CFLAGS
3940 elif test $ac_cv_prog_cc_g = yes; then
3941 if test "$GCC" = yes; then
3942 CFLAGS="-g -O2"
3943 else
3944 CFLAGS="-g"
3945 fi
3946 else
3947 if test "$GCC" = yes; then
3948 CFLAGS="-O2"
3949 else
3950 CFLAGS=
3951 fi
3952 fi
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3954 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3955 if ${ac_cv_prog_cc_c89+:} false; then :
3956 $as_echo_n "(cached) " >&6
3957 else
3958 ac_cv_prog_cc_c89=no
3959 ac_save_CC=$CC
3960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3961 /* end confdefs.h. */
3962 #include <stdarg.h>
3963 #include <stdio.h>
3964 struct stat;
3965 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3966 struct buf { int x; };
3967 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3968 static char *e (p, i)
3969 char **p;
3970 int i;
3971 {
3972 return p[i];
3973 }
3974 static char *f (char * (*g) (char **, int), char **p, ...)
3975 {
3976 char *s;
3977 va_list v;
3978 va_start (v,p);
3979 s = g (p, va_arg (v,int));
3980 va_end (v);
3981 return s;
3982 }
3983
3984 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3985 function prototypes and stuff, but not '\xHH' hex character constants.
3986 These don't provoke an error unfortunately, instead are silently treated
3987 as 'x'. The following induces an error, until -std is added to get
3988 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3989 array size at least. It's necessary to write '\x00'==0 to get something
3990 that's true only with -std. */
3991 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3992
3993 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3994 inside strings and character constants. */
3995 #define FOO(x) 'x'
3996 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3997
3998 int test (int i, double x);
3999 struct s1 {int (*f) (int a);};
4000 struct s2 {int (*f) (double a);};
4001 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4002 int argc;
4003 char **argv;
4004 int
4005 main ()
4006 {
4007 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4008 ;
4009 return 0;
4010 }
4011 _ACEOF
4012 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4013 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4014 do
4015 CC="$ac_save_CC $ac_arg"
4016 if ac_fn_c_try_compile "$LINENO"; then :
4017 ac_cv_prog_cc_c89=$ac_arg
4018 fi
4019 rm -f core conftest.err conftest.$ac_objext
4020 test "x$ac_cv_prog_cc_c89" != "xno" && break
4021 done
4022 rm -f conftest.$ac_ext
4023 CC=$ac_save_CC
4024
4025 fi
4026 # AC_CACHE_VAL
4027 case "x$ac_cv_prog_cc_c89" in
4028 x)
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4030 $as_echo "none needed" >&6; } ;;
4031 xno)
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4033 $as_echo "unsupported" >&6; } ;;
4034 *)
4035 CC="$CC $ac_cv_prog_cc_c89"
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4037 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4038 esac
4039 if test "x$ac_cv_prog_cc_c89" != xno; then :
4040
4041 fi
4042
4043 ac_ext=c
4044 ac_cpp='$CPP $CPPFLAGS'
4045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4048
4049 ac_ext=c
4050 ac_cpp='$CPP $CPPFLAGS'
4051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4055 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4056 if ${am_cv_prog_cc_c_o+:} false; then :
4057 $as_echo_n "(cached) " >&6
4058 else
4059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4060 /* end confdefs.h. */
4061
4062 int
4063 main ()
4064 {
4065
4066 ;
4067 return 0;
4068 }
4069 _ACEOF
4070 # Make sure it works both with $CC and with simple cc.
4071 # Following AC_PROG_CC_C_O, we do the test twice because some
4072 # compilers refuse to overwrite an existing .o file with -o,
4073 # though they will create one.
4074 am_cv_prog_cc_c_o=yes
4075 for am_i in 1 2; do
4076 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4077 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4078 ac_status=$?
4079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4080 (exit $ac_status); } \
4081 && test -f conftest2.$ac_objext; then
4082 : OK
4083 else
4084 am_cv_prog_cc_c_o=no
4085 break
4086 fi
4087 done
4088 rm -f core conftest*
4089 unset am_i
4090 fi
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4092 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4093 if test "$am_cv_prog_cc_c_o" != yes; then
4094 # Losing compiler, so override with the script.
4095 # FIXME: It is wrong to rewrite CC.
4096 # But if we don't then we get into trouble of one sort or another.
4097 # A longer-term fix would be to have automake use am__CC in this case,
4098 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4099 CC="$am_aux_dir/compile $CC"
4100 fi
4101 ac_ext=c
4102 ac_cpp='$CPP $CPPFLAGS'
4103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4106
4107 DEPDIR="${am__leading_dot}deps"
4108
4109 ac_config_commands="$ac_config_commands depfiles"
4110
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4112 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
4113 cat > confinc.mk << 'END'
4114 am__doit:
4115 @echo this is the am__doit target >confinc.out
4116 .PHONY: am__doit
4117 END
4118 am__include="#"
4119 am__quote=
4120 # BSD make does it like this.
4121 echo '.include "confinc.mk" # ignored' > confmf.BSD
4122 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
4123 echo 'include confinc.mk # ignored' > confmf.GNU
4124 _am_result=no
4125 for s in GNU BSD; do
4126 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4127 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4128 ac_status=$?
4129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4130 (exit $ac_status); }
4131 case $?:`cat confinc.out 2>/dev/null` in #(
4132 '0:this is the am__doit target') :
4133 case $s in #(
4134 BSD) :
4135 am__include='.include' am__quote='"' ;; #(
4136 *) :
4137 am__include='include' am__quote='' ;;
4138 esac ;; #(
4139 *) :
4140 ;;
4141 esac
4142 if test "$am__include" != "#"; then
4143 _am_result="yes ($s style)"
4144 break
4145 fi
4146 done
4147 rm -f confinc.* confmf.*
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4149 $as_echo "${_am_result}" >&6; }
4150
4151 # Check whether --enable-dependency-tracking was given.
4152 if test "${enable_dependency_tracking+set}" = set; then :
4153 enableval=$enable_dependency_tracking;
4154 fi
4155
4156 if test "x$enable_dependency_tracking" != xno; then
4157 am_depcomp="$ac_aux_dir/depcomp"
4158 AMDEPBACKSLASH='\'
4159 am__nodep='_no'
4160 fi
4161 if test "x$enable_dependency_tracking" != xno; then
4162 AMDEP_TRUE=
4163 AMDEP_FALSE='#'
4164 else
4165 AMDEP_TRUE='#'
4166 AMDEP_FALSE=
4167 fi
4168
4169
4170
4171 depcc="$CC" am_compiler_list=
4172
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4174 $as_echo_n "checking dependency style of $depcc... " >&6; }
4175 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4176 $as_echo_n "(cached) " >&6
4177 else
4178 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4179 # We make a subdir and do the tests there. Otherwise we can end up
4180 # making bogus files that we don't know about and never remove. For
4181 # instance it was reported that on HP-UX the gcc test will end up
4182 # making a dummy file named 'D' -- because '-MD' means "put the output
4183 # in D".
4184 rm -rf conftest.dir
4185 mkdir conftest.dir
4186 # Copy depcomp to subdir because otherwise we won't find it if we're
4187 # using a relative directory.
4188 cp "$am_depcomp" conftest.dir
4189 cd conftest.dir
4190 # We will build objects and dependencies in a subdirectory because
4191 # it helps to detect inapplicable dependency modes. For instance
4192 # both Tru64's cc and ICC support -MD to output dependencies as a
4193 # side effect of compilation, but ICC will put the dependencies in
4194 # the current directory while Tru64 will put them in the object
4195 # directory.
4196 mkdir sub
4197
4198 am_cv_CC_dependencies_compiler_type=none
4199 if test "$am_compiler_list" = ""; then
4200 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4201 fi
4202 am__universal=false
4203 case " $depcc " in #(
4204 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4205 esac
4206
4207 for depmode in $am_compiler_list; do
4208 # Setup a source with many dependencies, because some compilers
4209 # like to wrap large dependency lists on column 80 (with \), and
4210 # we should not choose a depcomp mode which is confused by this.
4211 #
4212 # We need to recreate these files for each test, as the compiler may
4213 # overwrite some of them when testing with obscure command lines.
4214 # This happens at least with the AIX C compiler.
4215 : > sub/conftest.c
4216 for i in 1 2 3 4 5 6; do
4217 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4218 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4219 # Solaris 10 /bin/sh.
4220 echo '/* dummy */' > sub/conftst$i.h
4221 done
4222 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4223
4224 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4225 # mode. It turns out that the SunPro C++ compiler does not properly
4226 # handle '-M -o', and we need to detect this. Also, some Intel
4227 # versions had trouble with output in subdirs.
4228 am__obj=sub/conftest.${OBJEXT-o}
4229 am__minus_obj="-o $am__obj"
4230 case $depmode in
4231 gcc)
4232 # This depmode causes a compiler race in universal mode.
4233 test "$am__universal" = false || continue
4234 ;;
4235 nosideeffect)
4236 # After this tag, mechanisms are not by side-effect, so they'll
4237 # only be used when explicitly requested.
4238 if test "x$enable_dependency_tracking" = xyes; then
4239 continue
4240 else
4241 break
4242 fi
4243 ;;
4244 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4245 # This compiler won't grok '-c -o', but also, the minuso test has
4246 # not run yet. These depmodes are late enough in the game, and
4247 # so weak that their functioning should not be impacted.
4248 am__obj=conftest.${OBJEXT-o}
4249 am__minus_obj=
4250 ;;
4251 none) break ;;
4252 esac
4253 if depmode=$depmode \
4254 source=sub/conftest.c object=$am__obj \
4255 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4256 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4257 >/dev/null 2>conftest.err &&
4258 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4259 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4260 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4261 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4262 # icc doesn't choke on unknown options, it will just issue warnings
4263 # or remarks (even with -Werror). So we grep stderr for any message
4264 # that says an option was ignored or not supported.
4265 # When given -MP, icc 7.0 and 7.1 complain thusly:
4266 # icc: Command line warning: ignoring option '-M'; no argument required
4267 # The diagnosis changed in icc 8.0:
4268 # icc: Command line remark: option '-MP' not supported
4269 if (grep 'ignoring option' conftest.err ||
4270 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4271 am_cv_CC_dependencies_compiler_type=$depmode
4272 break
4273 fi
4274 fi
4275 done
4276
4277 cd ..
4278 rm -rf conftest.dir
4279 else
4280 am_cv_CC_dependencies_compiler_type=none
4281 fi
4282
4283 fi
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4285 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4286 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4287
4288 if
4289 test "x$enable_dependency_tracking" != xno \
4290 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4291 am__fastdepCC_TRUE=
4292 am__fastdepCC_FALSE='#'
4293 else
4294 am__fastdepCC_TRUE='#'
4295 am__fastdepCC_FALSE=
4296 fi
4297
4298
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4300 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4301 if ${ac_cv_prog_cc_c99+:} false; then :
4302 $as_echo_n "(cached) " >&6
4303 else
4304 ac_cv_prog_cc_c99=no
4305 ac_save_CC=$CC
4306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4307 /* end confdefs.h. */
4308 #include <stdarg.h>
4309 #include <stdbool.h>
4310 #include <stdlib.h>
4311 #include <wchar.h>
4312 #include <stdio.h>
4313
4314 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4315 #define debug(...) fprintf (stderr, __VA_ARGS__)
4316 #define showlist(...) puts (#__VA_ARGS__)
4317 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4318 static void
4319 test_varargs_macros (void)
4320 {
4321 int x = 1234;
4322 int y = 5678;
4323 debug ("Flag");
4324 debug ("X = %d\n", x);
4325 showlist (The first, second, and third items.);
4326 report (x>y, "x is %d but y is %d", x, y);
4327 }
4328
4329 // Check long long types.
4330 #define BIG64 18446744073709551615ull
4331 #define BIG32 4294967295ul
4332 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4333 #if !BIG_OK
4334 your preprocessor is broken;
4335 #endif
4336 #if BIG_OK
4337 #else
4338 your preprocessor is broken;
4339 #endif
4340 static long long int bignum = -9223372036854775807LL;
4341 static unsigned long long int ubignum = BIG64;
4342
4343 struct incomplete_array
4344 {
4345 int datasize;
4346 double data[];
4347 };
4348
4349 struct named_init {
4350 int number;
4351 const wchar_t *name;
4352 double average;
4353 };
4354
4355 typedef const char *ccp;
4356
4357 static inline int
4358 test_restrict (ccp restrict text)
4359 {
4360 // See if C++-style comments work.
4361 // Iterate through items via the restricted pointer.
4362 // Also check for declarations in for loops.
4363 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4364 continue;
4365 return 0;
4366 }
4367
4368 // Check varargs and va_copy.
4369 static void
4370 test_varargs (const char *format, ...)
4371 {
4372 va_list args;
4373 va_start (args, format);
4374 va_list args_copy;
4375 va_copy (args_copy, args);
4376
4377 const char *str;
4378 int number;
4379 float fnumber;
4380
4381 while (*format)
4382 {
4383 switch (*format++)
4384 {
4385 case 's': // string
4386 str = va_arg (args_copy, const char *);
4387 break;
4388 case 'd': // int
4389 number = va_arg (args_copy, int);
4390 break;
4391 case 'f': // float
4392 fnumber = va_arg (args_copy, double);
4393 break;
4394 default:
4395 break;
4396 }
4397 }
4398 va_end (args_copy);
4399 va_end (args);
4400 }
4401
4402 int
4403 main ()
4404 {
4405
4406 // Check bool.
4407 _Bool success = false;
4408
4409 // Check restrict.
4410 if (test_restrict ("String literal") == 0)
4411 success = true;
4412 char *restrict newvar = "Another string";
4413
4414 // Check varargs.
4415 test_varargs ("s, d' f .", "string", 65, 34.234);
4416 test_varargs_macros ();
4417
4418 // Check flexible array members.
4419 struct incomplete_array *ia =
4420 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4421 ia->datasize = 10;
4422 for (int i = 0; i < ia->datasize; ++i)
4423 ia->data[i] = i * 1.234;
4424
4425 // Check named initializers.
4426 struct named_init ni = {
4427 .number = 34,
4428 .name = L"Test wide string",
4429 .average = 543.34343,
4430 };
4431
4432 ni.number = 58;
4433
4434 int dynamic_array[ni.number];
4435 dynamic_array[ni.number - 1] = 543;
4436
4437 // work around unused variable warnings
4438 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4439 || dynamic_array[ni.number - 1] != 543);
4440
4441 ;
4442 return 0;
4443 }
4444 _ACEOF
4445 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4446 do
4447 CC="$ac_save_CC $ac_arg"
4448 if ac_fn_c_try_compile "$LINENO"; then :
4449 ac_cv_prog_cc_c99=$ac_arg
4450 fi
4451 rm -f core conftest.err conftest.$ac_objext
4452 test "x$ac_cv_prog_cc_c99" != "xno" && break
4453 done
4454 rm -f conftest.$ac_ext
4455 CC=$ac_save_CC
4456
4457 fi
4458 # AC_CACHE_VAL
4459 case "x$ac_cv_prog_cc_c99" in
4460 x)
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4462 $as_echo "none needed" >&6; } ;;
4463 xno)
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4465 $as_echo "unsupported" >&6; } ;;
4466 *)
4467 CC="$CC $ac_cv_prog_cc_c99"
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4469 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4470 esac
4471 if test "x$ac_cv_prog_cc_c99" != xno; then :
4472
4473 fi
4474
4475
4476 ac_ext=cpp
4477 ac_cpp='$CXXCPP $CPPFLAGS'
4478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4481 if test -z "$CXX"; then
4482 if test -n "$CCC"; then
4483 CXX=$CCC
4484 else
4485 if test -n "$ac_tool_prefix"; then
4486 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4487 do
4488 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4489 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4491 $as_echo_n "checking for $ac_word... " >&6; }
4492 if ${ac_cv_prog_CXX+:} false; then :
4493 $as_echo_n "(cached) " >&6
4494 else
4495 if test -n "$CXX"; then
4496 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4497 else
4498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4499 for as_dir in $PATH
4500 do
4501 IFS=$as_save_IFS
4502 test -z "$as_dir" && as_dir=.
4503 for ac_exec_ext in '' $ac_executable_extensions; do
4504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4505 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4507 break 2
4508 fi
4509 done
4510 done
4511 IFS=$as_save_IFS
4512
4513 fi
4514 fi
4515 CXX=$ac_cv_prog_CXX
4516 if test -n "$CXX"; then
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4518 $as_echo "$CXX" >&6; }
4519 else
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4521 $as_echo "no" >&6; }
4522 fi
4523
4524
4525 test -n "$CXX" && break
4526 done
4527 fi
4528 if test -z "$CXX"; then
4529 ac_ct_CXX=$CXX
4530 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4531 do
4532 # Extract the first word of "$ac_prog", so it can be a program name with args.
4533 set dummy $ac_prog; ac_word=$2
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4535 $as_echo_n "checking for $ac_word... " >&6; }
4536 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4537 $as_echo_n "(cached) " >&6
4538 else
4539 if test -n "$ac_ct_CXX"; then
4540 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4541 else
4542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4543 for as_dir in $PATH
4544 do
4545 IFS=$as_save_IFS
4546 test -z "$as_dir" && as_dir=.
4547 for ac_exec_ext in '' $ac_executable_extensions; do
4548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4549 ac_cv_prog_ac_ct_CXX="$ac_prog"
4550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4551 break 2
4552 fi
4553 done
4554 done
4555 IFS=$as_save_IFS
4556
4557 fi
4558 fi
4559 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4560 if test -n "$ac_ct_CXX"; then
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4562 $as_echo "$ac_ct_CXX" >&6; }
4563 else
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4565 $as_echo "no" >&6; }
4566 fi
4567
4568
4569 test -n "$ac_ct_CXX" && break
4570 done
4571
4572 if test "x$ac_ct_CXX" = x; then
4573 CXX="g++"
4574 else
4575 case $cross_compiling:$ac_tool_warned in
4576 yes:)
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4578 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4579 ac_tool_warned=yes ;;
4580 esac
4581 CXX=$ac_ct_CXX
4582 fi
4583 fi
4584
4585 fi
4586 fi
4587 # Provide some information about the compiler.
4588 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4589 set X $ac_compile
4590 ac_compiler=$2
4591 for ac_option in --version -v -V -qversion; do
4592 { { ac_try="$ac_compiler $ac_option >&5"
4593 case "(($ac_try" in
4594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4595 *) ac_try_echo=$ac_try;;
4596 esac
4597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4598 $as_echo "$ac_try_echo"; } >&5
4599 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4600 ac_status=$?
4601 if test -s conftest.err; then
4602 sed '10a\
4603 ... rest of stderr output deleted ...
4604 10q' conftest.err >conftest.er1
4605 cat conftest.er1 >&5
4606 fi
4607 rm -f conftest.er1 conftest.err
4608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4609 test $ac_status = 0; }
4610 done
4611
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4613 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4614 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4615 $as_echo_n "(cached) " >&6
4616 else
4617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4618 /* end confdefs.h. */
4619
4620 int
4621 main ()
4622 {
4623 #ifndef __GNUC__
4624 choke me
4625 #endif
4626
4627 ;
4628 return 0;
4629 }
4630 _ACEOF
4631 if ac_fn_cxx_try_compile "$LINENO"; then :
4632 ac_compiler_gnu=yes
4633 else
4634 ac_compiler_gnu=no
4635 fi
4636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4637 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4638
4639 fi
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4641 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4642 if test $ac_compiler_gnu = yes; then
4643 GXX=yes
4644 else
4645 GXX=
4646 fi
4647 ac_test_CXXFLAGS=${CXXFLAGS+set}
4648 ac_save_CXXFLAGS=$CXXFLAGS
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4650 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4651 if ${ac_cv_prog_cxx_g+:} false; then :
4652 $as_echo_n "(cached) " >&6
4653 else
4654 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4655 ac_cxx_werror_flag=yes
4656 ac_cv_prog_cxx_g=no
4657 CXXFLAGS="-g"
4658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4659 /* end confdefs.h. */
4660
4661 int
4662 main ()
4663 {
4664
4665 ;
4666 return 0;
4667 }
4668 _ACEOF
4669 if ac_fn_cxx_try_compile "$LINENO"; then :
4670 ac_cv_prog_cxx_g=yes
4671 else
4672 CXXFLAGS=""
4673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4674 /* end confdefs.h. */
4675
4676 int
4677 main ()
4678 {
4679
4680 ;
4681 return 0;
4682 }
4683 _ACEOF
4684 if ac_fn_cxx_try_compile "$LINENO"; then :
4685
4686 else
4687 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4688 CXXFLAGS="-g"
4689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4690 /* end confdefs.h. */
4691
4692 int
4693 main ()
4694 {
4695
4696 ;
4697 return 0;
4698 }
4699 _ACEOF
4700 if ac_fn_cxx_try_compile "$LINENO"; then :
4701 ac_cv_prog_cxx_g=yes
4702 fi
4703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4704 fi
4705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4706 fi
4707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4708 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4709 fi
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4711 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4712 if test "$ac_test_CXXFLAGS" = set; then
4713 CXXFLAGS=$ac_save_CXXFLAGS
4714 elif test $ac_cv_prog_cxx_g = yes; then
4715 if test "$GXX" = yes; then
4716 CXXFLAGS="-g -O2"
4717 else
4718 CXXFLAGS="-g"
4719 fi
4720 else
4721 if test "$GXX" = yes; then
4722 CXXFLAGS="-O2"
4723 else
4724 CXXFLAGS=
4725 fi
4726 fi
4727 ac_ext=c
4728 ac_cpp='$CPP $CPPFLAGS'
4729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4732
4733 depcc="$CXX" am_compiler_list=
4734
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4736 $as_echo_n "checking dependency style of $depcc... " >&6; }
4737 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4738 $as_echo_n "(cached) " >&6
4739 else
4740 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4741 # We make a subdir and do the tests there. Otherwise we can end up
4742 # making bogus files that we don't know about and never remove. For
4743 # instance it was reported that on HP-UX the gcc test will end up
4744 # making a dummy file named 'D' -- because '-MD' means "put the output
4745 # in D".
4746 rm -rf conftest.dir
4747 mkdir conftest.dir
4748 # Copy depcomp to subdir because otherwise we won't find it if we're
4749 # using a relative directory.
4750 cp "$am_depcomp" conftest.dir
4751 cd conftest.dir
4752 # We will build objects and dependencies in a subdirectory because
4753 # it helps to detect inapplicable dependency modes. For instance
4754 # both Tru64's cc and ICC support -MD to output dependencies as a
4755 # side effect of compilation, but ICC will put the dependencies in
4756 # the current directory while Tru64 will put them in the object
4757 # directory.
4758 mkdir sub
4759
4760 am_cv_CXX_dependencies_compiler_type=none
4761 if test "$am_compiler_list" = ""; then
4762 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4763 fi
4764 am__universal=false
4765 case " $depcc " in #(
4766 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4767 esac
4768
4769 for depmode in $am_compiler_list; do
4770 # Setup a source with many dependencies, because some compilers
4771 # like to wrap large dependency lists on column 80 (with \), and
4772 # we should not choose a depcomp mode which is confused by this.
4773 #
4774 # We need to recreate these files for each test, as the compiler may
4775 # overwrite some of them when testing with obscure command lines.
4776 # This happens at least with the AIX C compiler.
4777 : > sub/conftest.c
4778 for i in 1 2 3 4 5 6; do
4779 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4780 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4781 # Solaris 10 /bin/sh.
4782 echo '/* dummy */' > sub/conftst$i.h
4783 done
4784 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4785
4786 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4787 # mode. It turns out that the SunPro C++ compiler does not properly
4788 # handle '-M -o', and we need to detect this. Also, some Intel
4789 # versions had trouble with output in subdirs.
4790 am__obj=sub/conftest.${OBJEXT-o}
4791 am__minus_obj="-o $am__obj"
4792 case $depmode in
4793 gcc)
4794 # This depmode causes a compiler race in universal mode.
4795 test "$am__universal" = false || continue
4796 ;;
4797 nosideeffect)
4798 # After this tag, mechanisms are not by side-effect, so they'll
4799 # only be used when explicitly requested.
4800 if test "x$enable_dependency_tracking" = xyes; then
4801 continue
4802 else
4803 break
4804 fi
4805 ;;
4806 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4807 # This compiler won't grok '-c -o', but also, the minuso test has
4808 # not run yet. These depmodes are late enough in the game, and
4809 # so weak that their functioning should not be impacted.
4810 am__obj=conftest.${OBJEXT-o}
4811 am__minus_obj=
4812 ;;
4813 none) break ;;
4814 esac
4815 if depmode=$depmode \
4816 source=sub/conftest.c object=$am__obj \
4817 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4818 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4819 >/dev/null 2>conftest.err &&
4820 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4821 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4822 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4823 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4824 # icc doesn't choke on unknown options, it will just issue warnings
4825 # or remarks (even with -Werror). So we grep stderr for any message
4826 # that says an option was ignored or not supported.
4827 # When given -MP, icc 7.0 and 7.1 complain thusly:
4828 # icc: Command line warning: ignoring option '-M'; no argument required
4829 # The diagnosis changed in icc 8.0:
4830 # icc: Command line remark: option '-MP' not supported
4831 if (grep 'ignoring option' conftest.err ||
4832 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4833 am_cv_CXX_dependencies_compiler_type=$depmode
4834 break
4835 fi
4836 fi
4837 done
4838
4839 cd ..
4840 rm -rf conftest.dir
4841 else
4842 am_cv_CXX_dependencies_compiler_type=none
4843 fi
4844
4845 fi
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4847 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4848 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4849
4850 if
4851 test "x$enable_dependency_tracking" != xno \
4852 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4853 am__fastdepCXX_TRUE=
4854 am__fastdepCXX_FALSE='#'
4855 else
4856 am__fastdepCXX_TRUE='#'
4857 am__fastdepCXX_FALSE=
4858 fi
4859
4860
4861
4862 ax_cxx_compile_alternatives="11 0x" ax_cxx_compile_cxx11_required=true
4863 ac_ext=cpp
4864 ac_cpp='$CXXCPP $CPPFLAGS'
4865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4868 ac_success=no
4869
4870 if test x$ac_success = xno; then
4871 for alternative in ${ax_cxx_compile_alternatives}; do
4872 switch="-std=gnu++${alternative}"
4873 cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
4875 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
4876 if eval \${$cachevar+:} false; then :
4877 $as_echo_n "(cached) " >&6
4878 else
4879 ac_save_CXX="$CXX"
4880 CXX="$CXX $switch"
4881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4882 /* end confdefs.h. */
4883
4884
4885 // If the compiler admits that it is not ready for C++11, why torture it?
4886 // Hopefully, this will speed up the test.
4887
4888 #ifndef __cplusplus
4889
4890 #error "This is not a C++ compiler"
4891
4892 #elif __cplusplus < 201103L
4893
4894 #error "This is not a C++11 compiler"
4895
4896 #else
4897
4898 namespace cxx11
4899 {
4900
4901 namespace test_static_assert
4902 {
4903
4904 template <typename T>
4905 struct check
4906 {
4907 static_assert(sizeof(int) <= sizeof(T), "not big enough");
4908 };
4909
4910 }
4911
4912 namespace test_final_override
4913 {
4914
4915 struct Base
4916 {
4917 virtual ~Base() {}
4918 virtual void f() {}
4919 };
4920
4921 struct Derived : public Base
4922 {
4923 virtual ~Derived() override {}
4924 virtual void f() override {}
4925 };
4926
4927 }
4928
4929 namespace test_double_right_angle_brackets
4930 {
4931
4932 template < typename T >
4933 struct check {};
4934
4935 typedef check<void> single_type;
4936 typedef check<check<void>> double_type;
4937 typedef check<check<check<void>>> triple_type;
4938 typedef check<check<check<check<void>>>> quadruple_type;
4939
4940 }
4941
4942 namespace test_decltype
4943 {
4944
4945 int
4946 f()
4947 {
4948 int a = 1;
4949 decltype(a) b = 2;
4950 return a + b;
4951 }
4952
4953 }
4954
4955 namespace test_type_deduction
4956 {
4957
4958 template < typename T1, typename T2 >
4959 struct is_same
4960 {
4961 static const bool value = false;
4962 };
4963
4964 template < typename T >
4965 struct is_same<T, T>
4966 {
4967 static const bool value = true;
4968 };
4969
4970 template < typename T1, typename T2 >
4971 auto
4972 add(T1 a1, T2 a2) -> decltype(a1 + a2)
4973 {
4974 return a1 + a2;
4975 }
4976
4977 int
4978 test(const int c, volatile int v)
4979 {
4980 static_assert(is_same<int, decltype(0)>::value == true, "");
4981 static_assert(is_same<int, decltype(c)>::value == false, "");
4982 static_assert(is_same<int, decltype(v)>::value == false, "");
4983 auto ac = c;
4984 auto av = v;
4985 auto sumi = ac + av + 'x';
4986 auto sumf = ac + av + 1.0;
4987 static_assert(is_same<int, decltype(ac)>::value == true, "");
4988 static_assert(is_same<int, decltype(av)>::value == true, "");
4989 static_assert(is_same<int, decltype(sumi)>::value == true, "");
4990 static_assert(is_same<int, decltype(sumf)>::value == false, "");
4991 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
4992 return (sumf > 0.0) ? sumi : add(c, v);
4993 }
4994
4995 }
4996
4997 namespace test_noexcept
4998 {
4999
5000 int f() { return 0; }
5001 int g() noexcept { return 0; }
5002
5003 static_assert(noexcept(f()) == false, "");
5004 static_assert(noexcept(g()) == true, "");
5005
5006 }
5007
5008 namespace test_constexpr
5009 {
5010
5011 template < typename CharT >
5012 unsigned long constexpr
5013 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
5014 {
5015 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
5016 }
5017
5018 template < typename CharT >
5019 unsigned long constexpr
5020 strlen_c(const CharT *const s) noexcept
5021 {
5022 return strlen_c_r(s, 0UL);
5023 }
5024
5025 static_assert(strlen_c("") == 0UL, "");
5026 static_assert(strlen_c("1") == 1UL, "");
5027 static_assert(strlen_c("example") == 7UL, "");
5028 static_assert(strlen_c("another\0example") == 7UL, "");
5029
5030 }
5031
5032 namespace test_rvalue_references
5033 {
5034
5035 template < int N >
5036 struct answer
5037 {
5038 static constexpr int value = N;
5039 };
5040
5041 answer<1> f(int&) { return answer<1>(); }
5042 answer<2> f(const int&) { return answer<2>(); }
5043 answer<3> f(int&&) { return answer<3>(); }
5044
5045 void
5046 test()
5047 {
5048 int i = 0;
5049 const int c = 0;
5050 static_assert(decltype(f(i))::value == 1, "");
5051 static_assert(decltype(f(c))::value == 2, "");
5052 static_assert(decltype(f(0))::value == 3, "");
5053 }
5054
5055 }
5056
5057 namespace test_uniform_initialization
5058 {
5059
5060 struct test
5061 {
5062 static const int zero {};
5063 static const int one {1};
5064 };
5065
5066 static_assert(test::zero == 0, "");
5067 static_assert(test::one == 1, "");
5068
5069 }
5070
5071 namespace test_lambdas
5072 {
5073
5074 void
5075 test1()
5076 {
5077 auto lambda1 = [](){};
5078 auto lambda2 = lambda1;
5079 lambda1();
5080 lambda2();
5081 }
5082
5083 int
5084 test2()
5085 {
5086 auto a = [](int i, int j){ return i + j; }(1, 2);
5087 auto b = []() -> int { return '0'; }();
5088 auto c = [=](){ return a + b; }();
5089 auto d = [&](){ return c; }();
5090 auto e = [a, &b](int x) mutable {
5091 const auto identity = [](int y){ return y; };
5092 for (auto i = 0; i < a; ++i)
5093 a += b--;
5094 return x + identity(a + b);
5095 }(0);
5096 return a + b + c + d + e;
5097 }
5098
5099 int
5100 test3()
5101 {
5102 const auto nullary = [](){ return 0; };
5103 const auto unary = [](int x){ return x; };
5104 using nullary_t = decltype(nullary);
5105 using unary_t = decltype(unary);
5106 const auto higher1st = [](nullary_t f){ return f(); };
5107 const auto higher2nd = [unary](nullary_t f1){
5108 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
5109 };
5110 return higher1st(nullary) + higher2nd(nullary)(unary);
5111 }
5112
5113 }
5114
5115 namespace test_variadic_templates
5116 {
5117
5118 template <int...>
5119 struct sum;
5120
5121 template <int N0, int... N1toN>
5122 struct sum<N0, N1toN...>
5123 {
5124 static constexpr auto value = N0 + sum<N1toN...>::value;
5125 };
5126
5127 template <>
5128 struct sum<>
5129 {
5130 static constexpr auto value = 0;
5131 };
5132
5133 static_assert(sum<>::value == 0, "");
5134 static_assert(sum<1>::value == 1, "");
5135 static_assert(sum<23>::value == 23, "");
5136 static_assert(sum<1, 2>::value == 3, "");
5137 static_assert(sum<5, 5, 11>::value == 21, "");
5138 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
5139
5140 }
5141
5142 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
5143 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
5144 // because of this.
5145 namespace test_template_alias_sfinae
5146 {
5147
5148 struct foo {};
5149
5150 template<typename T>
5151 using member = typename T::member_type;
5152
5153 template<typename T>
5154 void func(...) {}
5155
5156 template<typename T>
5157 void func(member<T>*) {}
5158
5159 void test();
5160
5161 void test() { func<foo>(0); }
5162
5163 }
5164
5165 } // namespace cxx11
5166
5167 #endif // __cplusplus >= 201103L
5168
5169
5170
5171 _ACEOF
5172 if ac_fn_cxx_try_compile "$LINENO"; then :
5173 eval $cachevar=yes
5174 else
5175 eval $cachevar=no
5176 fi
5177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5178 CXX="$ac_save_CXX"
5179 fi
5180 eval ac_res=\$$cachevar
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5182 $as_echo "$ac_res" >&6; }
5183 if eval test x\$$cachevar = xyes; then
5184 CXX="$CXX $switch"
5185 if test -n "$CXXCPP" ; then
5186 CXXCPP="$CXXCPP $switch"
5187 fi
5188 ac_success=yes
5189 break
5190 fi
5191 done
5192 fi
5193
5194 if test x$ac_success = xno; then
5195 for alternative in ${ax_cxx_compile_alternatives}; do
5196 for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do
5197 cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
5199 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
5200 if eval \${$cachevar+:} false; then :
5201 $as_echo_n "(cached) " >&6
5202 else
5203 ac_save_CXX="$CXX"
5204 CXX="$CXX $switch"
5205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5206 /* end confdefs.h. */
5207
5208
5209 // If the compiler admits that it is not ready for C++11, why torture it?
5210 // Hopefully, this will speed up the test.
5211
5212 #ifndef __cplusplus
5213
5214 #error "This is not a C++ compiler"
5215
5216 #elif __cplusplus < 201103L
5217
5218 #error "This is not a C++11 compiler"
5219
5220 #else
5221
5222 namespace cxx11
5223 {
5224
5225 namespace test_static_assert
5226 {
5227
5228 template <typename T>
5229 struct check
5230 {
5231 static_assert(sizeof(int) <= sizeof(T), "not big enough");
5232 };
5233
5234 }
5235
5236 namespace test_final_override
5237 {
5238
5239 struct Base
5240 {
5241 virtual ~Base() {}
5242 virtual void f() {}
5243 };
5244
5245 struct Derived : public Base
5246 {
5247 virtual ~Derived() override {}
5248 virtual void f() override {}
5249 };
5250
5251 }
5252
5253 namespace test_double_right_angle_brackets
5254 {
5255
5256 template < typename T >
5257 struct check {};
5258
5259 typedef check<void> single_type;
5260 typedef check<check<void>> double_type;
5261 typedef check<check<check<void>>> triple_type;
5262 typedef check<check<check<check<void>>>> quadruple_type;
5263
5264 }
5265
5266 namespace test_decltype
5267 {
5268
5269 int
5270 f()
5271 {
5272 int a = 1;
5273 decltype(a) b = 2;
5274 return a + b;
5275 }
5276
5277 }
5278
5279 namespace test_type_deduction
5280 {
5281
5282 template < typename T1, typename T2 >
5283 struct is_same
5284 {
5285 static const bool value = false;
5286 };
5287
5288 template < typename T >
5289 struct is_same<T, T>
5290 {
5291 static const bool value = true;
5292 };
5293
5294 template < typename T1, typename T2 >
5295 auto
5296 add(T1 a1, T2 a2) -> decltype(a1 + a2)
5297 {
5298 return a1 + a2;
5299 }
5300
5301 int
5302 test(const int c, volatile int v)
5303 {
5304 static_assert(is_same<int, decltype(0)>::value == true, "");
5305 static_assert(is_same<int, decltype(c)>::value == false, "");
5306 static_assert(is_same<int, decltype(v)>::value == false, "");
5307 auto ac = c;
5308 auto av = v;
5309 auto sumi = ac + av + 'x';
5310 auto sumf = ac + av + 1.0;
5311 static_assert(is_same<int, decltype(ac)>::value == true, "");
5312 static_assert(is_same<int, decltype(av)>::value == true, "");
5313 static_assert(is_same<int, decltype(sumi)>::value == true, "");
5314 static_assert(is_same<int, decltype(sumf)>::value == false, "");
5315 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
5316 return (sumf > 0.0) ? sumi : add(c, v);
5317 }
5318
5319 }
5320
5321 namespace test_noexcept
5322 {
5323
5324 int f() { return 0; }
5325 int g() noexcept { return 0; }
5326
5327 static_assert(noexcept(f()) == false, "");
5328 static_assert(noexcept(g()) == true, "");
5329
5330 }
5331
5332 namespace test_constexpr
5333 {
5334
5335 template < typename CharT >
5336 unsigned long constexpr
5337 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
5338 {
5339 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
5340 }
5341
5342 template < typename CharT >
5343 unsigned long constexpr
5344 strlen_c(const CharT *const s) noexcept
5345 {
5346 return strlen_c_r(s, 0UL);
5347 }
5348
5349 static_assert(strlen_c("") == 0UL, "");
5350 static_assert(strlen_c("1") == 1UL, "");
5351 static_assert(strlen_c("example") == 7UL, "");
5352 static_assert(strlen_c("another\0example") == 7UL, "");
5353
5354 }
5355
5356 namespace test_rvalue_references
5357 {
5358
5359 template < int N >
5360 struct answer
5361 {
5362 static constexpr int value = N;
5363 };
5364
5365 answer<1> f(int&) { return answer<1>(); }
5366 answer<2> f(const int&) { return answer<2>(); }
5367 answer<3> f(int&&) { return answer<3>(); }
5368
5369 void
5370 test()
5371 {
5372 int i = 0;
5373 const int c = 0;
5374 static_assert(decltype(f(i))::value == 1, "");
5375 static_assert(decltype(f(c))::value == 2, "");
5376 static_assert(decltype(f(0))::value == 3, "");
5377 }
5378
5379 }
5380
5381 namespace test_uniform_initialization
5382 {
5383
5384 struct test
5385 {
5386 static const int zero {};
5387 static const int one {1};
5388 };
5389
5390 static_assert(test::zero == 0, "");
5391 static_assert(test::one == 1, "");
5392
5393 }
5394
5395 namespace test_lambdas
5396 {
5397
5398 void
5399 test1()
5400 {
5401 auto lambda1 = [](){};
5402 auto lambda2 = lambda1;
5403 lambda1();
5404 lambda2();
5405 }
5406
5407 int
5408 test2()
5409 {
5410 auto a = [](int i, int j){ return i + j; }(1, 2);
5411 auto b = []() -> int { return '0'; }();
5412 auto c = [=](){ return a + b; }();
5413 auto d = [&](){ return c; }();
5414 auto e = [a, &b](int x) mutable {
5415 const auto identity = [](int y){ return y; };
5416 for (auto i = 0; i < a; ++i)
5417 a += b--;
5418 return x + identity(a + b);
5419 }(0);
5420 return a + b + c + d + e;
5421 }
5422
5423 int
5424 test3()
5425 {
5426 const auto nullary = [](){ return 0; };
5427 const auto unary = [](int x){ return x; };
5428 using nullary_t = decltype(nullary);
5429 using unary_t = decltype(unary);
5430 const auto higher1st = [](nullary_t f){ return f(); };
5431 const auto higher2nd = [unary](nullary_t f1){
5432 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
5433 };
5434 return higher1st(nullary) + higher2nd(nullary)(unary);
5435 }
5436
5437 }
5438
5439 namespace test_variadic_templates
5440 {
5441
5442 template <int...>
5443 struct sum;
5444
5445 template <int N0, int... N1toN>
5446 struct sum<N0, N1toN...>
5447 {
5448 static constexpr auto value = N0 + sum<N1toN...>::value;
5449 };
5450
5451 template <>
5452 struct sum<>
5453 {
5454 static constexpr auto value = 0;
5455 };
5456
5457 static_assert(sum<>::value == 0, "");
5458 static_assert(sum<1>::value == 1, "");
5459 static_assert(sum<23>::value == 23, "");
5460 static_assert(sum<1, 2>::value == 3, "");
5461 static_assert(sum<5, 5, 11>::value == 21, "");
5462 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
5463
5464 }
5465
5466 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
5467 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
5468 // because of this.
5469 namespace test_template_alias_sfinae
5470 {
5471
5472 struct foo {};
5473
5474 template<typename T>
5475 using member = typename T::member_type;
5476
5477 template<typename T>
5478 void func(...) {}
5479
5480 template<typename T>
5481 void func(member<T>*) {}
5482
5483 void test();
5484
5485 void test() { func<foo>(0); }
5486
5487 }
5488
5489 } // namespace cxx11
5490
5491 #endif // __cplusplus >= 201103L
5492
5493
5494
5495 _ACEOF
5496 if ac_fn_cxx_try_compile "$LINENO"; then :
5497 eval $cachevar=yes
5498 else
5499 eval $cachevar=no
5500 fi
5501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5502 CXX="$ac_save_CXX"
5503 fi
5504 eval ac_res=\$$cachevar
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5506 $as_echo "$ac_res" >&6; }
5507 if eval test x\$$cachevar = xyes; then
5508 CXX="$CXX $switch"
5509 if test -n "$CXXCPP" ; then
5510 CXXCPP="$CXXCPP $switch"
5511 fi
5512 ac_success=yes
5513 break
5514 fi
5515 done
5516 if test x$ac_success = xyes; then
5517 break
5518 fi
5519 done
5520 fi
5521 ac_ext=c
5522 ac_cpp='$CPP $CPPFLAGS'
5523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5526
5527 if test x$ax_cxx_compile_cxx11_required = xtrue; then
5528 if test x$ac_success = xno; then
5529 as_fn_error $? "*** A compiler with support for C++11 language features is required." "$LINENO" 5
5530 fi
5531 fi
5532 if test x$ac_success = xno; then
5533 HAVE_CXX11=0
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
5535 $as_echo "$as_me: No compiler with C++11 support was found" >&6;}
5536 else
5537 HAVE_CXX11=1
5538
5539 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
5540
5541 fi
5542
5543
5544
5545 if test -n "$ac_tool_prefix"; then
5546 for ac_prog in ar lib "link -lib"
5547 do
5548 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5549 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5551 $as_echo_n "checking for $ac_word... " >&6; }
5552 if ${ac_cv_prog_AR+:} false; then :
5553 $as_echo_n "(cached) " >&6
5554 else
5555 if test -n "$AR"; then
5556 ac_cv_prog_AR="$AR" # Let the user override the test.
5557 else
5558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5559 for as_dir in $PATH
5560 do
5561 IFS=$as_save_IFS
5562 test -z "$as_dir" && as_dir=.
5563 for ac_exec_ext in '' $ac_executable_extensions; do
5564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5565 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5567 break 2
5568 fi
5569 done
5570 done
5571 IFS=$as_save_IFS
5572
5573 fi
5574 fi
5575 AR=$ac_cv_prog_AR
5576 if test -n "$AR"; then
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5578 $as_echo "$AR" >&6; }
5579 else
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5581 $as_echo "no" >&6; }
5582 fi
5583
5584
5585 test -n "$AR" && break
5586 done
5587 fi
5588 if test -z "$AR"; then
5589 ac_ct_AR=$AR
5590 for ac_prog in ar lib "link -lib"
5591 do
5592 # Extract the first word of "$ac_prog", so it can be a program name with args.
5593 set dummy $ac_prog; ac_word=$2
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5595 $as_echo_n "checking for $ac_word... " >&6; }
5596 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5597 $as_echo_n "(cached) " >&6
5598 else
5599 if test -n "$ac_ct_AR"; then
5600 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5601 else
5602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5603 for as_dir in $PATH
5604 do
5605 IFS=$as_save_IFS
5606 test -z "$as_dir" && as_dir=.
5607 for ac_exec_ext in '' $ac_executable_extensions; do
5608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5609 ac_cv_prog_ac_ct_AR="$ac_prog"
5610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5611 break 2
5612 fi
5613 done
5614 done
5615 IFS=$as_save_IFS
5616
5617 fi
5618 fi
5619 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5620 if test -n "$ac_ct_AR"; then
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5622 $as_echo "$ac_ct_AR" >&6; }
5623 else
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5625 $as_echo "no" >&6; }
5626 fi
5627
5628
5629 test -n "$ac_ct_AR" && break
5630 done
5631
5632 if test "x$ac_ct_AR" = x; then
5633 AR="false"
5634 else
5635 case $cross_compiling:$ac_tool_warned in
5636 yes:)
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5639 ac_tool_warned=yes ;;
5640 esac
5641 AR=$ac_ct_AR
5642 fi
5643 fi
5644
5645 : ${AR=ar}
5646
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5648 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
5649 if ${am_cv_ar_interface+:} false; then :
5650 $as_echo_n "(cached) " >&6
5651 else
5652 ac_ext=c
5653 ac_cpp='$CPP $CPPFLAGS'
5654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5657
5658 am_cv_ar_interface=ar
5659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5660 /* end confdefs.h. */
5661 int some_variable = 0;
5662 _ACEOF
5663 if ac_fn_c_try_compile "$LINENO"; then :
5664 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
5665 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5666 (eval $am_ar_try) 2>&5
5667 ac_status=$?
5668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5669 test $ac_status = 0; }
5670 if test "$ac_status" -eq 0; then
5671 am_cv_ar_interface=ar
5672 else
5673 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
5674 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5675 (eval $am_ar_try) 2>&5
5676 ac_status=$?
5677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5678 test $ac_status = 0; }
5679 if test "$ac_status" -eq 0; then
5680 am_cv_ar_interface=lib
5681 else
5682 am_cv_ar_interface=unknown
5683 fi
5684 fi
5685 rm -f conftest.lib libconftest.a
5686
5687 fi
5688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5689 ac_ext=c
5690 ac_cpp='$CPP $CPPFLAGS'
5691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5694
5695 fi
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5697 $as_echo "$am_cv_ar_interface" >&6; }
5698
5699 case $am_cv_ar_interface in
5700 ar)
5701 ;;
5702 lib)
5703 # Microsoft lib, so override with the ar-lib wrapper script.
5704 # FIXME: It is wrong to rewrite AR.
5705 # But if we don't then we get into trouble of one sort or another.
5706 # A longer-term fix would be to have automake use am__AR in this case,
5707 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5708 # similar.
5709 AR="$am_aux_dir/ar-lib $AR"
5710 ;;
5711 unknown)
5712 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
5713 ;;
5714 esac
5715
5716 case `pwd` in
5717 *\ * | *\ *)
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5719 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5720 esac
5721
5722
5723
5724 macro_version='2.4.6'
5725 macro_revision='2.4.6'
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739 ltmain=$ac_aux_dir/ltmain.sh
5740
5741 # Backslashify metacharacters that are still active within
5742 # double-quoted strings.
5743 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5744
5745 # Same as above, but do not quote variable references.
5746 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5747
5748 # Sed substitution to delay expansion of an escaped shell variable in a
5749 # double_quote_subst'ed string.
5750 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5751
5752 # Sed substitution to delay expansion of an escaped single quote.
5753 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5754
5755 # Sed substitution to avoid accidental globbing in evaled expressions
5756 no_glob_subst='s/\*/\\\*/g'
5757
5758 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5759 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5760 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5761
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5763 $as_echo_n "checking how to print strings... " >&6; }
5764 # Test print first, because it will be a builtin if present.
5765 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5766 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5767 ECHO='print -r --'
5768 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5769 ECHO='printf %s\n'
5770 else
5771 # Use this function as a fallback that always works.
5772 func_fallback_echo ()
5773 {
5774 eval 'cat <<_LTECHO_EOF
5775 $1
5776 _LTECHO_EOF'
5777 }
5778 ECHO='func_fallback_echo'
5779 fi
5780
5781 # func_echo_all arg...
5782 # Invoke $ECHO with all args, space-separated.
5783 func_echo_all ()
5784 {
5785 $ECHO ""
5786 }
5787
5788 case $ECHO in
5789 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5790 $as_echo "printf" >&6; } ;;
5791 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5792 $as_echo "print -r" >&6; } ;;
5793 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5794 $as_echo "cat" >&6; } ;;
5795 esac
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5811 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5812 if ${ac_cv_path_SED+:} false; then :
5813 $as_echo_n "(cached) " >&6
5814 else
5815 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5816 for ac_i in 1 2 3 4 5 6 7; do
5817 ac_script="$ac_script$as_nl$ac_script"
5818 done
5819 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5820 { ac_script=; unset ac_script;}
5821 if test -z "$SED"; then
5822 ac_path_SED_found=false
5823 # Loop through the user's path and test for each of PROGNAME-LIST
5824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5825 for as_dir in $PATH
5826 do
5827 IFS=$as_save_IFS
5828 test -z "$as_dir" && as_dir=.
5829 for ac_prog in sed gsed; do
5830 for ac_exec_ext in '' $ac_executable_extensions; do
5831 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5832 as_fn_executable_p "$ac_path_SED" || continue
5833 # Check for GNU ac_path_SED and select it if it is found.
5834 # Check for GNU $ac_path_SED
5835 case `"$ac_path_SED" --version 2>&1` in
5836 *GNU*)
5837 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5838 *)
5839 ac_count=0
5840 $as_echo_n 0123456789 >"conftest.in"
5841 while :
5842 do
5843 cat "conftest.in" "conftest.in" >"conftest.tmp"
5844 mv "conftest.tmp" "conftest.in"
5845 cp "conftest.in" "conftest.nl"
5846 $as_echo '' >> "conftest.nl"
5847 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5848 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5849 as_fn_arith $ac_count + 1 && ac_count=$as_val
5850 if test $ac_count -gt ${ac_path_SED_max-0}; then
5851 # Best one so far, save it but keep looking for a better one
5852 ac_cv_path_SED="$ac_path_SED"
5853 ac_path_SED_max=$ac_count
5854 fi
5855 # 10*(2^10) chars as input seems more than enough
5856 test $ac_count -gt 10 && break
5857 done
5858 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5859 esac
5860
5861 $ac_path_SED_found && break 3
5862 done
5863 done
5864 done
5865 IFS=$as_save_IFS
5866 if test -z "$ac_cv_path_SED"; then
5867 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5868 fi
5869 else
5870 ac_cv_path_SED=$SED
5871 fi
5872
5873 fi
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5875 $as_echo "$ac_cv_path_SED" >&6; }
5876 SED="$ac_cv_path_SED"
5877 rm -f conftest.sed
5878
5879 test -z "$SED" && SED=sed
5880 Xsed="$SED -e 1s/^X//"
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5893 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5894 if ${ac_cv_path_GREP+:} false; then :
5895 $as_echo_n "(cached) " >&6
5896 else
5897 if test -z "$GREP"; then
5898 ac_path_GREP_found=false
5899 # Loop through the user's path and test for each of PROGNAME-LIST
5900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5901 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5902 do
5903 IFS=$as_save_IFS
5904 test -z "$as_dir" && as_dir=.
5905 for ac_prog in grep ggrep; do
5906 for ac_exec_ext in '' $ac_executable_extensions; do
5907 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5908 as_fn_executable_p "$ac_path_GREP" || continue
5909 # Check for GNU ac_path_GREP and select it if it is found.
5910 # Check for GNU $ac_path_GREP
5911 case `"$ac_path_GREP" --version 2>&1` in
5912 *GNU*)
5913 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5914 *)
5915 ac_count=0
5916 $as_echo_n 0123456789 >"conftest.in"
5917 while :
5918 do
5919 cat "conftest.in" "conftest.in" >"conftest.tmp"
5920 mv "conftest.tmp" "conftest.in"
5921 cp "conftest.in" "conftest.nl"
5922 $as_echo 'GREP' >> "conftest.nl"
5923 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5924 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5925 as_fn_arith $ac_count + 1 && ac_count=$as_val
5926 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5927 # Best one so far, save it but keep looking for a better one
5928 ac_cv_path_GREP="$ac_path_GREP"
5929 ac_path_GREP_max=$ac_count
5930 fi
5931 # 10*(2^10) chars as input seems more than enough
5932 test $ac_count -gt 10 && break
5933 done
5934 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5935 esac
5936
5937 $ac_path_GREP_found && break 3
5938 done
5939 done
5940 done
5941 IFS=$as_save_IFS
5942 if test -z "$ac_cv_path_GREP"; then
5943 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5944 fi
5945 else
5946 ac_cv_path_GREP=$GREP
5947 fi
5948
5949 fi
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5951 $as_echo "$ac_cv_path_GREP" >&6; }
5952 GREP="$ac_cv_path_GREP"
5953
5954
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5956 $as_echo_n "checking for egrep... " >&6; }
5957 if ${ac_cv_path_EGREP+:} false; then :
5958 $as_echo_n "(cached) " >&6
5959 else
5960 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5961 then ac_cv_path_EGREP="$GREP -E"
5962 else
5963 if test -z "$EGREP"; then
5964 ac_path_EGREP_found=false
5965 # Loop through the user's path and test for each of PROGNAME-LIST
5966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5967 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5968 do
5969 IFS=$as_save_IFS
5970 test -z "$as_dir" && as_dir=.
5971 for ac_prog in egrep; do
5972 for ac_exec_ext in '' $ac_executable_extensions; do
5973 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5974 as_fn_executable_p "$ac_path_EGREP" || continue
5975 # Check for GNU ac_path_EGREP and select it if it is found.
5976 # Check for GNU $ac_path_EGREP
5977 case `"$ac_path_EGREP" --version 2>&1` in
5978 *GNU*)
5979 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5980 *)
5981 ac_count=0
5982 $as_echo_n 0123456789 >"conftest.in"
5983 while :
5984 do
5985 cat "conftest.in" "conftest.in" >"conftest.tmp"
5986 mv "conftest.tmp" "conftest.in"
5987 cp "conftest.in" "conftest.nl"
5988 $as_echo 'EGREP' >> "conftest.nl"
5989 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5990 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5991 as_fn_arith $ac_count + 1 && ac_count=$as_val
5992 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5993 # Best one so far, save it but keep looking for a better one
5994 ac_cv_path_EGREP="$ac_path_EGREP"
5995 ac_path_EGREP_max=$ac_count
5996 fi
5997 # 10*(2^10) chars as input seems more than enough
5998 test $ac_count -gt 10 && break
5999 done
6000 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6001 esac
6002
6003 $ac_path_EGREP_found && break 3
6004 done
6005 done
6006 done
6007 IFS=$as_save_IFS
6008 if test -z "$ac_cv_path_EGREP"; then
6009 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6010 fi
6011 else
6012 ac_cv_path_EGREP=$EGREP
6013 fi
6014
6015 fi
6016 fi
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6018 $as_echo "$ac_cv_path_EGREP" >&6; }
6019 EGREP="$ac_cv_path_EGREP"
6020
6021
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6023 $as_echo_n "checking for fgrep... " >&6; }
6024 if ${ac_cv_path_FGREP+:} false; then :
6025 $as_echo_n "(cached) " >&6
6026 else
6027 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6028 then ac_cv_path_FGREP="$GREP -F"
6029 else
6030 if test -z "$FGREP"; then
6031 ac_path_FGREP_found=false
6032 # Loop through the user's path and test for each of PROGNAME-LIST
6033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6034 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6035 do
6036 IFS=$as_save_IFS
6037 test -z "$as_dir" && as_dir=.
6038 for ac_prog in fgrep; do
6039 for ac_exec_ext in '' $ac_executable_extensions; do
6040 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6041 as_fn_executable_p "$ac_path_FGREP" || continue
6042 # Check for GNU ac_path_FGREP and select it if it is found.
6043 # Check for GNU $ac_path_FGREP
6044 case `"$ac_path_FGREP" --version 2>&1` in
6045 *GNU*)
6046 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6047 *)
6048 ac_count=0
6049 $as_echo_n 0123456789 >"conftest.in"
6050 while :
6051 do
6052 cat "conftest.in" "conftest.in" >"conftest.tmp"
6053 mv "conftest.tmp" "conftest.in"
6054 cp "conftest.in" "conftest.nl"
6055 $as_echo 'FGREP' >> "conftest.nl"
6056 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6057 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6058 as_fn_arith $ac_count + 1 && ac_count=$as_val
6059 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6060 # Best one so far, save it but keep looking for a better one
6061 ac_cv_path_FGREP="$ac_path_FGREP"
6062 ac_path_FGREP_max=$ac_count
6063 fi
6064 # 10*(2^10) chars as input seems more than enough
6065 test $ac_count -gt 10 && break
6066 done
6067 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6068 esac
6069
6070 $ac_path_FGREP_found && break 3
6071 done
6072 done
6073 done
6074 IFS=$as_save_IFS
6075 if test -z "$ac_cv_path_FGREP"; then
6076 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6077 fi
6078 else
6079 ac_cv_path_FGREP=$FGREP
6080 fi
6081
6082 fi
6083 fi
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6085 $as_echo "$ac_cv_path_FGREP" >&6; }
6086 FGREP="$ac_cv_path_FGREP"
6087
6088
6089 test -z "$GREP" && GREP=grep
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109 # Check whether --with-gnu-ld was given.
6110 if test "${with_gnu_ld+set}" = set; then :
6111 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
6112 else
6113 with_gnu_ld=no
6114 fi
6115
6116 ac_prog=ld
6117 if test yes = "$GCC"; then
6118 # Check if gcc -print-prog-name=ld gives a path.
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6120 $as_echo_n "checking for ld used by $CC... " >&6; }
6121 case $host in
6122 *-*-mingw*)
6123 # gcc leaves a trailing carriage return, which upsets mingw
6124 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6125 *)
6126 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6127 esac
6128 case $ac_prog in
6129 # Accept absolute paths.
6130 [\\/]* | ?:[\\/]*)
6131 re_direlt='/[^/][^/]*/\.\./'
6132 # Canonicalize the pathname of ld
6133 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6134 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6135 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6136 done
6137 test -z "$LD" && LD=$ac_prog
6138 ;;
6139 "")
6140 # If it fails, then pretend we aren't using GCC.
6141 ac_prog=ld
6142 ;;
6143 *)
6144 # If it is relative, then search for the first ld in PATH.
6145 with_gnu_ld=unknown
6146 ;;
6147 esac
6148 elif test yes = "$with_gnu_ld"; then
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6150 $as_echo_n "checking for GNU ld... " >&6; }
6151 else
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6153 $as_echo_n "checking for non-GNU ld... " >&6; }
6154 fi
6155 if ${lt_cv_path_LD+:} false; then :
6156 $as_echo_n "(cached) " >&6
6157 else
6158 if test -z "$LD"; then
6159 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6160 for ac_dir in $PATH; do
6161 IFS=$lt_save_ifs
6162 test -z "$ac_dir" && ac_dir=.
6163 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6164 lt_cv_path_LD=$ac_dir/$ac_prog
6165 # Check to see if the program is GNU ld. I'd rather use --version,
6166 # but apparently some variants of GNU ld only accept -v.
6167 # Break only if it was the GNU/non-GNU ld that we prefer.
6168 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6169 *GNU* | *'with BFD'*)
6170 test no != "$with_gnu_ld" && break
6171 ;;
6172 *)
6173 test yes != "$with_gnu_ld" && break
6174 ;;
6175 esac
6176 fi
6177 done
6178 IFS=$lt_save_ifs
6179 else
6180 lt_cv_path_LD=$LD # Let the user override the test with a path.
6181 fi
6182 fi
6183
6184 LD=$lt_cv_path_LD
6185 if test -n "$LD"; then
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6187 $as_echo "$LD" >&6; }
6188 else
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6190 $as_echo "no" >&6; }
6191 fi
6192 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6194 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6195 if ${lt_cv_prog_gnu_ld+:} false; then :
6196 $as_echo_n "(cached) " >&6
6197 else
6198 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6199 case `$LD -v 2>&1 </dev/null` in
6200 *GNU* | *'with BFD'*)
6201 lt_cv_prog_gnu_ld=yes
6202 ;;
6203 *)
6204 lt_cv_prog_gnu_ld=no
6205 ;;
6206 esac
6207 fi
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6209 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6210 with_gnu_ld=$lt_cv_prog_gnu_ld
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6221 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6222 if ${lt_cv_path_NM+:} false; then :
6223 $as_echo_n "(cached) " >&6
6224 else
6225 if test -n "$NM"; then
6226 # Let the user override the test.
6227 lt_cv_path_NM=$NM
6228 else
6229 lt_nm_to_check=${ac_tool_prefix}nm
6230 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6231 lt_nm_to_check="$lt_nm_to_check nm"
6232 fi
6233 for lt_tmp_nm in $lt_nm_to_check; do
6234 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6235 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6236 IFS=$lt_save_ifs
6237 test -z "$ac_dir" && ac_dir=.
6238 tmp_nm=$ac_dir/$lt_tmp_nm
6239 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6240 # Check to see if the nm accepts a BSD-compat flag.
6241 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6242 # nm: unknown option "B" ignored
6243 # Tru64's nm complains that /dev/null is an invalid object file
6244 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6245 case $build_os in
6246 mingw*) lt_bad_file=conftest.nm/nofile ;;
6247 *) lt_bad_file=/dev/null ;;
6248 esac
6249 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6250 *$lt_bad_file* | *'Invalid file or object type'*)
6251 lt_cv_path_NM="$tmp_nm -B"
6252 break 2
6253 ;;
6254 *)
6255 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6256 */dev/null*)
6257 lt_cv_path_NM="$tmp_nm -p"
6258 break 2
6259 ;;
6260 *)
6261 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6262 continue # so that we can try to find one that supports BSD flags
6263 ;;
6264 esac
6265 ;;
6266 esac
6267 fi
6268 done
6269 IFS=$lt_save_ifs
6270 done
6271 : ${lt_cv_path_NM=no}
6272 fi
6273 fi
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6275 $as_echo "$lt_cv_path_NM" >&6; }
6276 if test no != "$lt_cv_path_NM"; then
6277 NM=$lt_cv_path_NM
6278 else
6279 # Didn't find any BSD compatible name lister, look for dumpbin.
6280 if test -n "$DUMPBIN"; then :
6281 # Let the user override the test.
6282 else
6283 if test -n "$ac_tool_prefix"; then
6284 for ac_prog in dumpbin "link -dump"
6285 do
6286 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6287 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6289 $as_echo_n "checking for $ac_word... " >&6; }
6290 if ${ac_cv_prog_DUMPBIN+:} false; then :
6291 $as_echo_n "(cached) " >&6
6292 else
6293 if test -n "$DUMPBIN"; then
6294 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6295 else
6296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6297 for as_dir in $PATH
6298 do
6299 IFS=$as_save_IFS
6300 test -z "$as_dir" && as_dir=.
6301 for ac_exec_ext in '' $ac_executable_extensions; do
6302 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6303 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6305 break 2
6306 fi
6307 done
6308 done
6309 IFS=$as_save_IFS
6310
6311 fi
6312 fi
6313 DUMPBIN=$ac_cv_prog_DUMPBIN
6314 if test -n "$DUMPBIN"; then
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6316 $as_echo "$DUMPBIN" >&6; }
6317 else
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6319 $as_echo "no" >&6; }
6320 fi
6321
6322
6323 test -n "$DUMPBIN" && break
6324 done
6325 fi
6326 if test -z "$DUMPBIN"; then
6327 ac_ct_DUMPBIN=$DUMPBIN
6328 for ac_prog in dumpbin "link -dump"
6329 do
6330 # Extract the first word of "$ac_prog", so it can be a program name with args.
6331 set dummy $ac_prog; ac_word=$2
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6333 $as_echo_n "checking for $ac_word... " >&6; }
6334 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6335 $as_echo_n "(cached) " >&6
6336 else
6337 if test -n "$ac_ct_DUMPBIN"; then
6338 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6339 else
6340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6341 for as_dir in $PATH
6342 do
6343 IFS=$as_save_IFS
6344 test -z "$as_dir" && as_dir=.
6345 for ac_exec_ext in '' $ac_executable_extensions; do
6346 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6347 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6349 break 2
6350 fi
6351 done
6352 done
6353 IFS=$as_save_IFS
6354
6355 fi
6356 fi
6357 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6358 if test -n "$ac_ct_DUMPBIN"; then
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6360 $as_echo "$ac_ct_DUMPBIN" >&6; }
6361 else
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6363 $as_echo "no" >&6; }
6364 fi
6365
6366
6367 test -n "$ac_ct_DUMPBIN" && break
6368 done
6369
6370 if test "x$ac_ct_DUMPBIN" = x; then
6371 DUMPBIN=":"
6372 else
6373 case $cross_compiling:$ac_tool_warned in
6374 yes:)
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6376 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6377 ac_tool_warned=yes ;;
6378 esac
6379 DUMPBIN=$ac_ct_DUMPBIN
6380 fi
6381 fi
6382
6383 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6384 *COFF*)
6385 DUMPBIN="$DUMPBIN -symbols -headers"
6386 ;;
6387 *)
6388 DUMPBIN=:
6389 ;;
6390 esac
6391 fi
6392
6393 if test : != "$DUMPBIN"; then
6394 NM=$DUMPBIN
6395 fi
6396 fi
6397 test -z "$NM" && NM=nm
6398
6399
6400
6401
6402
6403
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6405 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6406 if ${lt_cv_nm_interface+:} false; then :
6407 $as_echo_n "(cached) " >&6
6408 else
6409 lt_cv_nm_interface="BSD nm"
6410 echo "int some_variable = 0;" > conftest.$ac_ext
6411 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6412 (eval "$ac_compile" 2>conftest.err)
6413 cat conftest.err >&5
6414 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6415 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6416 cat conftest.err >&5
6417 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6418 cat conftest.out >&5
6419 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6420 lt_cv_nm_interface="MS dumpbin"
6421 fi
6422 rm -f conftest*
6423 fi
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6425 $as_echo "$lt_cv_nm_interface" >&6; }
6426
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6428 $as_echo_n "checking whether ln -s works... " >&6; }
6429 LN_S=$as_ln_s
6430 if test "$LN_S" = "ln -s"; then
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6432 $as_echo "yes" >&6; }
6433 else
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6435 $as_echo "no, using $LN_S" >&6; }
6436 fi
6437
6438 # find the maximum length of command line arguments
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6440 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6441 if ${lt_cv_sys_max_cmd_len+:} false; then :
6442 $as_echo_n "(cached) " >&6
6443 else
6444 i=0
6445 teststring=ABCD
6446
6447 case $build_os in
6448 msdosdjgpp*)
6449 # On DJGPP, this test can blow up pretty badly due to problems in libc
6450 # (any single argument exceeding 2000 bytes causes a buffer overrun
6451 # during glob expansion). Even if it were fixed, the result of this
6452 # check would be larger than it should be.
6453 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6454 ;;
6455
6456 gnu*)
6457 # Under GNU Hurd, this test is not required because there is
6458 # no limit to the length of command line arguments.
6459 # Libtool will interpret -1 as no limit whatsoever
6460 lt_cv_sys_max_cmd_len=-1;
6461 ;;
6462
6463 cygwin* | mingw* | cegcc*)
6464 # On Win9x/ME, this test blows up -- it succeeds, but takes
6465 # about 5 minutes as the teststring grows exponentially.
6466 # Worse, since 9x/ME are not pre-emptively multitasking,
6467 # you end up with a "frozen" computer, even though with patience
6468 # the test eventually succeeds (with a max line length of 256k).
6469 # Instead, let's just punt: use the minimum linelength reported by
6470 # all of the supported platforms: 8192 (on NT/2K/XP).
6471 lt_cv_sys_max_cmd_len=8192;
6472 ;;
6473
6474 mint*)
6475 # On MiNT this can take a long time and run out of memory.
6476 lt_cv_sys_max_cmd_len=8192;
6477 ;;
6478
6479 amigaos*)
6480 # On AmigaOS with pdksh, this test takes hours, literally.
6481 # So we just punt and use a minimum line length of 8192.
6482 lt_cv_sys_max_cmd_len=8192;
6483 ;;
6484
6485 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6486 # This has been around since 386BSD, at least. Likely further.
6487 if test -x /sbin/sysctl; then
6488 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6489 elif test -x /usr/sbin/sysctl; then
6490 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6491 else
6492 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6493 fi
6494 # And add a safety zone
6495 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6496 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6497 ;;
6498
6499 interix*)
6500 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6501 lt_cv_sys_max_cmd_len=196608
6502 ;;
6503
6504 os2*)
6505 # The test takes a long time on OS/2.
6506 lt_cv_sys_max_cmd_len=8192
6507 ;;
6508
6509 osf*)
6510 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6511 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6512 # nice to cause kernel panics so lets avoid the loop below.
6513 # First set a reasonable default.
6514 lt_cv_sys_max_cmd_len=16384
6515 #
6516 if test -x /sbin/sysconfig; then
6517 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6518 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6519 esac
6520 fi
6521 ;;
6522 sco3.2v5*)
6523 lt_cv_sys_max_cmd_len=102400
6524 ;;
6525 sysv5* | sco5v6* | sysv4.2uw2*)
6526 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6527 if test -n "$kargmax"; then
6528 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6529 else
6530 lt_cv_sys_max_cmd_len=32768
6531 fi
6532 ;;
6533 *)
6534 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6535 if test -n "$lt_cv_sys_max_cmd_len" && \
6536 test undefined != "$lt_cv_sys_max_cmd_len"; then
6537 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6538 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6539 else
6540 # Make teststring a little bigger before we do anything with it.
6541 # a 1K string should be a reasonable start.
6542 for i in 1 2 3 4 5 6 7 8; do
6543 teststring=$teststring$teststring
6544 done
6545 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6546 # If test is not a shell built-in, we'll probably end up computing a
6547 # maximum length that is only half of the actual maximum length, but
6548 # we can't tell.
6549 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6550 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6551 test 17 != "$i" # 1/2 MB should be enough
6552 do
6553 i=`expr $i + 1`
6554 teststring=$teststring$teststring
6555 done
6556 # Only check the string length outside the loop.
6557 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6558 teststring=
6559 # Add a significant safety factor because C++ compilers can tack on
6560 # massive amounts of additional arguments before passing them to the
6561 # linker. It appears as though 1/2 is a usable value.
6562 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6563 fi
6564 ;;
6565 esac
6566
6567 fi
6568
6569 if test -n "$lt_cv_sys_max_cmd_len"; then
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6571 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6572 else
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6574 $as_echo "none" >&6; }
6575 fi
6576 max_cmd_len=$lt_cv_sys_max_cmd_len
6577
6578
6579
6580
6581
6582
6583 : ${CP="cp -f"}
6584 : ${MV="mv -f"}
6585 : ${RM="rm -f"}
6586
6587 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6588 lt_unset=unset
6589 else
6590 lt_unset=false
6591 fi
6592
6593
6594
6595
6596
6597 # test EBCDIC or ASCII
6598 case `echo X|tr X '\101'` in
6599 A) # ASCII based system
6600 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6601 lt_SP2NL='tr \040 \012'
6602 lt_NL2SP='tr \015\012 \040\040'
6603 ;;
6604 *) # EBCDIC based system
6605 lt_SP2NL='tr \100 \n'
6606 lt_NL2SP='tr \r\n \100\100'
6607 ;;
6608 esac
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6619 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6620 if ${lt_cv_to_host_file_cmd+:} false; then :
6621 $as_echo_n "(cached) " >&6
6622 else
6623 case $host in
6624 *-*-mingw* )
6625 case $build in
6626 *-*-mingw* ) # actually msys
6627 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6628 ;;
6629 *-*-cygwin* )
6630 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6631 ;;
6632 * ) # otherwise, assume *nix
6633 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6634 ;;
6635 esac
6636 ;;
6637 *-*-cygwin* )
6638 case $build in
6639 *-*-mingw* ) # actually msys
6640 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6641 ;;
6642 *-*-cygwin* )
6643 lt_cv_to_host_file_cmd=func_convert_file_noop
6644 ;;
6645 * ) # otherwise, assume *nix
6646 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6647 ;;
6648 esac
6649 ;;
6650 * ) # unhandled hosts (and "normal" native builds)
6651 lt_cv_to_host_file_cmd=func_convert_file_noop
6652 ;;
6653 esac
6654
6655 fi
6656
6657 to_host_file_cmd=$lt_cv_to_host_file_cmd
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6659 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6660
6661
6662
6663
6664
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6666 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6667 if ${lt_cv_to_tool_file_cmd+:} false; then :
6668 $as_echo_n "(cached) " >&6
6669 else
6670 #assume ordinary cross tools, or native build.
6671 lt_cv_to_tool_file_cmd=func_convert_file_noop
6672 case $host in
6673 *-*-mingw* )
6674 case $build in
6675 *-*-mingw* ) # actually msys
6676 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6677 ;;
6678 esac
6679 ;;
6680 esac
6681
6682 fi
6683
6684 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6686 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6687
6688
6689
6690
6691
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6693 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6694 if ${lt_cv_ld_reload_flag+:} false; then :
6695 $as_echo_n "(cached) " >&6
6696 else
6697 lt_cv_ld_reload_flag='-r'
6698 fi
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6700 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6701 reload_flag=$lt_cv_ld_reload_flag
6702 case $reload_flag in
6703 "" | " "*) ;;
6704 *) reload_flag=" $reload_flag" ;;
6705 esac
6706 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6707 case $host_os in
6708 cygwin* | mingw* | pw32* | cegcc*)
6709 if test yes != "$GCC"; then
6710 reload_cmds=false
6711 fi
6712 ;;
6713 darwin*)
6714 if test yes = "$GCC"; then
6715 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6716 else
6717 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6718 fi
6719 ;;
6720 esac
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730 if test -n "$ac_tool_prefix"; then
6731 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6732 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6734 $as_echo_n "checking for $ac_word... " >&6; }
6735 if ${ac_cv_prog_OBJDUMP+:} false; then :
6736 $as_echo_n "(cached) " >&6
6737 else
6738 if test -n "$OBJDUMP"; then
6739 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6740 else
6741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6742 for as_dir in $PATH
6743 do
6744 IFS=$as_save_IFS
6745 test -z "$as_dir" && as_dir=.
6746 for ac_exec_ext in '' $ac_executable_extensions; do
6747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6748 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6750 break 2
6751 fi
6752 done
6753 done
6754 IFS=$as_save_IFS
6755
6756 fi
6757 fi
6758 OBJDUMP=$ac_cv_prog_OBJDUMP
6759 if test -n "$OBJDUMP"; then
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6761 $as_echo "$OBJDUMP" >&6; }
6762 else
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6764 $as_echo "no" >&6; }
6765 fi
6766
6767
6768 fi
6769 if test -z "$ac_cv_prog_OBJDUMP"; then
6770 ac_ct_OBJDUMP=$OBJDUMP
6771 # Extract the first word of "objdump", so it can be a program name with args.
6772 set dummy objdump; ac_word=$2
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6774 $as_echo_n "checking for $ac_word... " >&6; }
6775 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6776 $as_echo_n "(cached) " >&6
6777 else
6778 if test -n "$ac_ct_OBJDUMP"; then
6779 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6780 else
6781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6782 for as_dir in $PATH
6783 do
6784 IFS=$as_save_IFS
6785 test -z "$as_dir" && as_dir=.
6786 for ac_exec_ext in '' $ac_executable_extensions; do
6787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6788 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6790 break 2
6791 fi
6792 done
6793 done
6794 IFS=$as_save_IFS
6795
6796 fi
6797 fi
6798 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6799 if test -n "$ac_ct_OBJDUMP"; then
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6801 $as_echo "$ac_ct_OBJDUMP" >&6; }
6802 else
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6804 $as_echo "no" >&6; }
6805 fi
6806
6807 if test "x$ac_ct_OBJDUMP" = x; then
6808 OBJDUMP="false"
6809 else
6810 case $cross_compiling:$ac_tool_warned in
6811 yes:)
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6813 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6814 ac_tool_warned=yes ;;
6815 esac
6816 OBJDUMP=$ac_ct_OBJDUMP
6817 fi
6818 else
6819 OBJDUMP="$ac_cv_prog_OBJDUMP"
6820 fi
6821
6822 test -z "$OBJDUMP" && OBJDUMP=objdump
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6833 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6834 if ${lt_cv_deplibs_check_method+:} false; then :
6835 $as_echo_n "(cached) " >&6
6836 else
6837 lt_cv_file_magic_cmd='$MAGIC_CMD'
6838 lt_cv_file_magic_test_file=
6839 lt_cv_deplibs_check_method='unknown'
6840 # Need to set the preceding variable on all platforms that support
6841 # interlibrary dependencies.
6842 # 'none' -- dependencies not supported.
6843 # 'unknown' -- same as none, but documents that we really don't know.
6844 # 'pass_all' -- all dependencies passed with no checks.
6845 # 'test_compile' -- check by making test program.
6846 # 'file_magic [[regex]]' -- check by looking for files in library path
6847 # that responds to the $file_magic_cmd with a given extended regex.
6848 # If you have 'file' or equivalent on your system and you're not sure
6849 # whether 'pass_all' will *always* work, you probably want this one.
6850
6851 case $host_os in
6852 aix[4-9]*)
6853 lt_cv_deplibs_check_method=pass_all
6854 ;;
6855
6856 beos*)
6857 lt_cv_deplibs_check_method=pass_all
6858 ;;
6859
6860 bsdi[45]*)
6861 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6862 lt_cv_file_magic_cmd='/usr/bin/file -L'
6863 lt_cv_file_magic_test_file=/shlib/libc.so
6864 ;;
6865
6866 cygwin*)
6867 # func_win32_libid is a shell function defined in ltmain.sh
6868 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6869 lt_cv_file_magic_cmd='func_win32_libid'
6870 ;;
6871
6872 mingw* | pw32*)
6873 # Base MSYS/MinGW do not provide the 'file' command needed by
6874 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6875 # unless we find 'file', for example because we are cross-compiling.
6876 if ( file / ) >/dev/null 2>&1; then
6877 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6878 lt_cv_file_magic_cmd='func_win32_libid'
6879 else
6880 # Keep this pattern in sync with the one in func_win32_libid.
6881 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6882 lt_cv_file_magic_cmd='$OBJDUMP -f'
6883 fi
6884 ;;
6885
6886 cegcc*)
6887 # use the weaker test based on 'objdump'. See mingw*.
6888 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6889 lt_cv_file_magic_cmd='$OBJDUMP -f'
6890 ;;
6891
6892 darwin* | rhapsody*)
6893 lt_cv_deplibs_check_method=pass_all
6894 ;;
6895
6896 freebsd* | dragonfly*)
6897 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6898 case $host_cpu in
6899 i*86 )
6900 # Not sure whether the presence of OpenBSD here was a mistake.
6901 # Let's accept both of them until this is cleared up.
6902 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6903 lt_cv_file_magic_cmd=/usr/bin/file
6904 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6905 ;;
6906 esac
6907 else
6908 lt_cv_deplibs_check_method=pass_all
6909 fi
6910 ;;
6911
6912 haiku*)
6913 lt_cv_deplibs_check_method=pass_all
6914 ;;
6915
6916 hpux10.20* | hpux11*)
6917 lt_cv_file_magic_cmd=/usr/bin/file
6918 case $host_cpu in
6919 ia64*)
6920 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6921 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6922 ;;
6923 hppa*64*)
6924 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6925 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6926 ;;
6927 *)
6928 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6929 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6930 ;;
6931 esac
6932 ;;
6933
6934 interix[3-9]*)
6935 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6936 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6937 ;;
6938
6939 irix5* | irix6* | nonstopux*)
6940 case $LD in
6941 *-32|*"-32 ") libmagic=32-bit;;
6942 *-n32|*"-n32 ") libmagic=N32;;
6943 *-64|*"-64 ") libmagic=64-bit;;
6944 *) libmagic=never-match;;
6945 esac
6946 lt_cv_deplibs_check_method=pass_all
6947 ;;
6948
6949 # This must be glibc/ELF.
6950 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6951 lt_cv_deplibs_check_method=pass_all
6952 ;;
6953
6954 netbsd*)
6955 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6956 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6957 else
6958 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6959 fi
6960 ;;
6961
6962 newos6*)
6963 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6964 lt_cv_file_magic_cmd=/usr/bin/file
6965 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6966 ;;
6967
6968 *nto* | *qnx*)
6969 lt_cv_deplibs_check_method=pass_all
6970 ;;
6971
6972 openbsd* | bitrig*)
6973 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6974 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6975 else
6976 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6977 fi
6978 ;;
6979
6980 osf3* | osf4* | osf5*)
6981 lt_cv_deplibs_check_method=pass_all
6982 ;;
6983
6984 rdos*)
6985 lt_cv_deplibs_check_method=pass_all
6986 ;;
6987
6988 solaris*)
6989 lt_cv_deplibs_check_method=pass_all
6990 ;;
6991
6992 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6993 lt_cv_deplibs_check_method=pass_all
6994 ;;
6995
6996 sysv4 | sysv4.3*)
6997 case $host_vendor in
6998 motorola)
6999 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
7000 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7001 ;;
7002 ncr)
7003 lt_cv_deplibs_check_method=pass_all
7004 ;;
7005 sequent)
7006 lt_cv_file_magic_cmd='/bin/file'
7007 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7008 ;;
7009 sni)
7010 lt_cv_file_magic_cmd='/bin/file'
7011 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7012 lt_cv_file_magic_test_file=/lib/libc.so
7013 ;;
7014 siemens)
7015 lt_cv_deplibs_check_method=pass_all
7016 ;;
7017 pc)
7018 lt_cv_deplibs_check_method=pass_all
7019 ;;
7020 esac
7021 ;;
7022
7023 tpf*)
7024 lt_cv_deplibs_check_method=pass_all
7025 ;;
7026 os2*)
7027 lt_cv_deplibs_check_method=pass_all
7028 ;;
7029 esac
7030
7031 fi
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7033 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7034
7035 file_magic_glob=
7036 want_nocaseglob=no
7037 if test "$build" = "$host"; then
7038 case $host_os in
7039 mingw* | pw32*)
7040 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7041 want_nocaseglob=yes
7042 else
7043 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7044 fi
7045 ;;
7046 esac
7047 fi
7048
7049 file_magic_cmd=$lt_cv_file_magic_cmd
7050 deplibs_check_method=$lt_cv_deplibs_check_method
7051 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074 if test -n "$ac_tool_prefix"; then
7075 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7076 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7078 $as_echo_n "checking for $ac_word... " >&6; }
7079 if ${ac_cv_prog_DLLTOOL+:} false; then :
7080 $as_echo_n "(cached) " >&6
7081 else
7082 if test -n "$DLLTOOL"; then
7083 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7084 else
7085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7086 for as_dir in $PATH
7087 do
7088 IFS=$as_save_IFS
7089 test -z "$as_dir" && as_dir=.
7090 for ac_exec_ext in '' $ac_executable_extensions; do
7091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7092 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7094 break 2
7095 fi
7096 done
7097 done
7098 IFS=$as_save_IFS
7099
7100 fi
7101 fi
7102 DLLTOOL=$ac_cv_prog_DLLTOOL
7103 if test -n "$DLLTOOL"; then
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7105 $as_echo "$DLLTOOL" >&6; }
7106 else
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7108 $as_echo "no" >&6; }
7109 fi
7110
7111
7112 fi
7113 if test -z "$ac_cv_prog_DLLTOOL"; then
7114 ac_ct_DLLTOOL=$DLLTOOL
7115 # Extract the first word of "dlltool", so it can be a program name with args.
7116 set dummy dlltool; ac_word=$2
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7118 $as_echo_n "checking for $ac_word... " >&6; }
7119 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7120 $as_echo_n "(cached) " >&6
7121 else
7122 if test -n "$ac_ct_DLLTOOL"; then
7123 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7124 else
7125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7126 for as_dir in $PATH
7127 do
7128 IFS=$as_save_IFS
7129 test -z "$as_dir" && as_dir=.
7130 for ac_exec_ext in '' $ac_executable_extensions; do
7131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7132 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7134 break 2
7135 fi
7136 done
7137 done
7138 IFS=$as_save_IFS
7139
7140 fi
7141 fi
7142 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7143 if test -n "$ac_ct_DLLTOOL"; then
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7145 $as_echo "$ac_ct_DLLTOOL" >&6; }
7146 else
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7148 $as_echo "no" >&6; }
7149 fi
7150
7151 if test "x$ac_ct_DLLTOOL" = x; then
7152 DLLTOOL="false"
7153 else
7154 case $cross_compiling:$ac_tool_warned in
7155 yes:)
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7158 ac_tool_warned=yes ;;
7159 esac
7160 DLLTOOL=$ac_ct_DLLTOOL
7161 fi
7162 else
7163 DLLTOOL="$ac_cv_prog_DLLTOOL"
7164 fi
7165
7166 test -z "$DLLTOOL" && DLLTOOL=dlltool
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7178 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7179 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7180 $as_echo_n "(cached) " >&6
7181 else
7182 lt_cv_sharedlib_from_linklib_cmd='unknown'
7183
7184 case $host_os in
7185 cygwin* | mingw* | pw32* | cegcc*)
7186 # two different shell functions defined in ltmain.sh;
7187 # decide which one to use based on capabilities of $DLLTOOL
7188 case `$DLLTOOL --help 2>&1` in
7189 *--identify-strict*)
7190 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7191 ;;
7192 *)
7193 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7194 ;;
7195 esac
7196 ;;
7197 *)
7198 # fallback: assume linklib IS sharedlib
7199 lt_cv_sharedlib_from_linklib_cmd=$ECHO
7200 ;;
7201 esac
7202
7203 fi
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7205 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7206 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7207 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7208
7209
7210
7211
7212
7213
7214
7215 if test -n "$ac_tool_prefix"; then
7216 for ac_prog in ar
7217 do
7218 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7219 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7221 $as_echo_n "checking for $ac_word... " >&6; }
7222 if ${ac_cv_prog_AR+:} false; then :
7223 $as_echo_n "(cached) " >&6
7224 else
7225 if test -n "$AR"; then
7226 ac_cv_prog_AR="$AR" # Let the user override the test.
7227 else
7228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7229 for as_dir in $PATH
7230 do
7231 IFS=$as_save_IFS
7232 test -z "$as_dir" && as_dir=.
7233 for ac_exec_ext in '' $ac_executable_extensions; do
7234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7235 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7237 break 2
7238 fi
7239 done
7240 done
7241 IFS=$as_save_IFS
7242
7243 fi
7244 fi
7245 AR=$ac_cv_prog_AR
7246 if test -n "$AR"; then
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7248 $as_echo "$AR" >&6; }
7249 else
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7251 $as_echo "no" >&6; }
7252 fi
7253
7254
7255 test -n "$AR" && break
7256 done
7257 fi
7258 if test -z "$AR"; then
7259 ac_ct_AR=$AR
7260 for ac_prog in ar
7261 do
7262 # Extract the first word of "$ac_prog", so it can be a program name with args.
7263 set dummy $ac_prog; ac_word=$2
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7265 $as_echo_n "checking for $ac_word... " >&6; }
7266 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7267 $as_echo_n "(cached) " >&6
7268 else
7269 if test -n "$ac_ct_AR"; then
7270 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7271 else
7272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7273 for as_dir in $PATH
7274 do
7275 IFS=$as_save_IFS
7276 test -z "$as_dir" && as_dir=.
7277 for ac_exec_ext in '' $ac_executable_extensions; do
7278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7279 ac_cv_prog_ac_ct_AR="$ac_prog"
7280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7281 break 2
7282 fi
7283 done
7284 done
7285 IFS=$as_save_IFS
7286
7287 fi
7288 fi
7289 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7290 if test -n "$ac_ct_AR"; then
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7292 $as_echo "$ac_ct_AR" >&6; }
7293 else
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7295 $as_echo "no" >&6; }
7296 fi
7297
7298
7299 test -n "$ac_ct_AR" && break
7300 done
7301
7302 if test "x$ac_ct_AR" = x; then
7303 AR="false"
7304 else
7305 case $cross_compiling:$ac_tool_warned in
7306 yes:)
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7308 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7309 ac_tool_warned=yes ;;
7310 esac
7311 AR=$ac_ct_AR
7312 fi
7313 fi
7314
7315 : ${AR=ar}
7316 : ${AR_FLAGS=cru}
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7329 $as_echo_n "checking for archiver @FILE support... " >&6; }
7330 if ${lt_cv_ar_at_file+:} false; then :
7331 $as_echo_n "(cached) " >&6
7332 else
7333 lt_cv_ar_at_file=no
7334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7335 /* end confdefs.h. */
7336
7337 int
7338 main ()
7339 {
7340
7341 ;
7342 return 0;
7343 }
7344 _ACEOF
7345 if ac_fn_c_try_compile "$LINENO"; then :
7346 echo conftest.$ac_objext > conftest.lst
7347 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7348 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7349 (eval $lt_ar_try) 2>&5
7350 ac_status=$?
7351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7352 test $ac_status = 0; }
7353 if test 0 -eq "$ac_status"; then
7354 # Ensure the archiver fails upon bogus file names.
7355 rm -f conftest.$ac_objext libconftest.a
7356 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7357 (eval $lt_ar_try) 2>&5
7358 ac_status=$?
7359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7360 test $ac_status = 0; }
7361 if test 0 -ne "$ac_status"; then
7362 lt_cv_ar_at_file=@
7363 fi
7364 fi
7365 rm -f conftest.* libconftest.a
7366
7367 fi
7368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7369
7370 fi
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7372 $as_echo "$lt_cv_ar_at_file" >&6; }
7373
7374 if test no = "$lt_cv_ar_at_file"; then
7375 archiver_list_spec=
7376 else
7377 archiver_list_spec=$lt_cv_ar_at_file
7378 fi
7379
7380
7381
7382
7383
7384
7385
7386 if test -n "$ac_tool_prefix"; then
7387 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7388 set dummy ${ac_tool_prefix}strip; ac_word=$2
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 $as_echo_n "checking for $ac_word... " >&6; }
7391 if ${ac_cv_prog_STRIP+:} false; then :
7392 $as_echo_n "(cached) " >&6
7393 else
7394 if test -n "$STRIP"; then
7395 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7396 else
7397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7398 for as_dir in $PATH
7399 do
7400 IFS=$as_save_IFS
7401 test -z "$as_dir" && as_dir=.
7402 for ac_exec_ext in '' $ac_executable_extensions; do
7403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7404 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7406 break 2
7407 fi
7408 done
7409 done
7410 IFS=$as_save_IFS
7411
7412 fi
7413 fi
7414 STRIP=$ac_cv_prog_STRIP
7415 if test -n "$STRIP"; then
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7417 $as_echo "$STRIP" >&6; }
7418 else
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420 $as_echo "no" >&6; }
7421 fi
7422
7423
7424 fi
7425 if test -z "$ac_cv_prog_STRIP"; then
7426 ac_ct_STRIP=$STRIP
7427 # Extract the first word of "strip", so it can be a program name with args.
7428 set dummy strip; ac_word=$2
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7430 $as_echo_n "checking for $ac_word... " >&6; }
7431 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7432 $as_echo_n "(cached) " >&6
7433 else
7434 if test -n "$ac_ct_STRIP"; then
7435 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7436 else
7437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7438 for as_dir in $PATH
7439 do
7440 IFS=$as_save_IFS
7441 test -z "$as_dir" && as_dir=.
7442 for ac_exec_ext in '' $ac_executable_extensions; do
7443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7444 ac_cv_prog_ac_ct_STRIP="strip"
7445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7446 break 2
7447 fi
7448 done
7449 done
7450 IFS=$as_save_IFS
7451
7452 fi
7453 fi
7454 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7455 if test -n "$ac_ct_STRIP"; then
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7457 $as_echo "$ac_ct_STRIP" >&6; }
7458 else
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7460 $as_echo "no" >&6; }
7461 fi
7462
7463 if test "x$ac_ct_STRIP" = x; then
7464 STRIP=":"
7465 else
7466 case $cross_compiling:$ac_tool_warned in
7467 yes:)
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7469 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7470 ac_tool_warned=yes ;;
7471 esac
7472 STRIP=$ac_ct_STRIP
7473 fi
7474 else
7475 STRIP="$ac_cv_prog_STRIP"
7476 fi
7477
7478 test -z "$STRIP" && STRIP=:
7479
7480
7481
7482
7483
7484
7485 if test -n "$ac_tool_prefix"; then
7486 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7487 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7489 $as_echo_n "checking for $ac_word... " >&6; }
7490 if ${ac_cv_prog_RANLIB+:} false; then :
7491 $as_echo_n "(cached) " >&6
7492 else
7493 if test -n "$RANLIB"; then
7494 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7495 else
7496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7497 for as_dir in $PATH
7498 do
7499 IFS=$as_save_IFS
7500 test -z "$as_dir" && as_dir=.
7501 for ac_exec_ext in '' $ac_executable_extensions; do
7502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7503 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7505 break 2
7506 fi
7507 done
7508 done
7509 IFS=$as_save_IFS
7510
7511 fi
7512 fi
7513 RANLIB=$ac_cv_prog_RANLIB
7514 if test -n "$RANLIB"; then
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7516 $as_echo "$RANLIB" >&6; }
7517 else
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7519 $as_echo "no" >&6; }
7520 fi
7521
7522
7523 fi
7524 if test -z "$ac_cv_prog_RANLIB"; then
7525 ac_ct_RANLIB=$RANLIB
7526 # Extract the first word of "ranlib", so it can be a program name with args.
7527 set dummy ranlib; ac_word=$2
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7529 $as_echo_n "checking for $ac_word... " >&6; }
7530 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7531 $as_echo_n "(cached) " >&6
7532 else
7533 if test -n "$ac_ct_RANLIB"; then
7534 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7535 else
7536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7537 for as_dir in $PATH
7538 do
7539 IFS=$as_save_IFS
7540 test -z "$as_dir" && as_dir=.
7541 for ac_exec_ext in '' $ac_executable_extensions; do
7542 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7543 ac_cv_prog_ac_ct_RANLIB="ranlib"
7544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7545 break 2
7546 fi
7547 done
7548 done
7549 IFS=$as_save_IFS
7550
7551 fi
7552 fi
7553 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7554 if test -n "$ac_ct_RANLIB"; then
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7556 $as_echo "$ac_ct_RANLIB" >&6; }
7557 else
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7559 $as_echo "no" >&6; }
7560 fi
7561
7562 if test "x$ac_ct_RANLIB" = x; then
7563 RANLIB=":"
7564 else
7565 case $cross_compiling:$ac_tool_warned in
7566 yes:)
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7568 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7569 ac_tool_warned=yes ;;
7570 esac
7571 RANLIB=$ac_ct_RANLIB
7572 fi
7573 else
7574 RANLIB="$ac_cv_prog_RANLIB"
7575 fi
7576
7577 test -z "$RANLIB" && RANLIB=:
7578
7579
7580
7581
7582
7583
7584 # Determine commands to create old-style static archives.
7585 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7586 old_postinstall_cmds='chmod 644 $oldlib'
7587 old_postuninstall_cmds=
7588
7589 if test -n "$RANLIB"; then
7590 case $host_os in
7591 bitrig* | openbsd*)
7592 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7593 ;;
7594 *)
7595 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7596 ;;
7597 esac
7598 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7599 fi
7600
7601 case $host_os in
7602 darwin*)
7603 lock_old_archive_extraction=yes ;;
7604 *)
7605 lock_old_archive_extraction=no ;;
7606 esac
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646 # If no C compiler was specified, use CC.
7647 LTCC=${LTCC-"$CC"}
7648
7649 # If no C compiler flags were specified, use CFLAGS.
7650 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7651
7652 # Allow CC to be a program name with arguments.
7653 compiler=$CC
7654
7655
7656 # Check for command to grab the raw symbol name followed by C symbol from nm.
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7658 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7659 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7660 $as_echo_n "(cached) " >&6
7661 else
7662
7663 # These are sane defaults that work on at least a few old systems.
7664 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7665
7666 # Character class describing NM global symbol codes.
7667 symcode='[BCDEGRST]'
7668
7669 # Regexp to match symbols that can be accessed directly from C.
7670 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7671
7672 # Define system-specific variables.
7673 case $host_os in
7674 aix*)
7675 symcode='[BCDT]'
7676 ;;
7677 cygwin* | mingw* | pw32* | cegcc*)
7678 symcode='[ABCDGISTW]'
7679 ;;
7680 hpux*)
7681 if test ia64 = "$host_cpu"; then
7682 symcode='[ABCDEGRST]'
7683 fi
7684 ;;
7685 irix* | nonstopux*)
7686 symcode='[BCDEGRST]'
7687 ;;
7688 osf*)
7689 symcode='[BCDEGQRST]'
7690 ;;
7691 solaris*)
7692 symcode='[BDRT]'
7693 ;;
7694 sco3.2v5*)
7695 symcode='[DT]'
7696 ;;
7697 sysv4.2uw2*)
7698 symcode='[DT]'
7699 ;;
7700 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7701 symcode='[ABDT]'
7702 ;;
7703 sysv4)
7704 symcode='[DFNSTU]'
7705 ;;
7706 esac
7707
7708 # If we're using GNU nm, then use its standard symbol codes.
7709 case `$NM -V 2>&1` in
7710 *GNU* | *'with BFD'*)
7711 symcode='[ABCDGIRSTW]' ;;
7712 esac
7713
7714 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7715 # Gets list of data symbols to import.
7716 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7717 # Adjust the below global symbol transforms to fixup imported variables.
7718 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7719 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7720 lt_c_name_lib_hook="\
7721 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7722 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7723 else
7724 # Disable hooks by default.
7725 lt_cv_sys_global_symbol_to_import=
7726 lt_cdecl_hook=
7727 lt_c_name_hook=
7728 lt_c_name_lib_hook=
7729 fi
7730
7731 # Transform an extracted symbol line into a proper C declaration.
7732 # Some systems (esp. on ia64) link data and code symbols differently,
7733 # so use this general approach.
7734 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7735 $lt_cdecl_hook\
7736 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7737 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7738
7739 # Transform an extracted symbol line into symbol name and symbol address
7740 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7741 $lt_c_name_hook\
7742 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7743 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7744
7745 # Transform an extracted symbol line into symbol name with lib prefix and
7746 # symbol address.
7747 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7748 $lt_c_name_lib_hook\
7749 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7750 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7751 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7752
7753 # Handle CRLF in mingw tool chain
7754 opt_cr=
7755 case $build_os in
7756 mingw*)
7757 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7758 ;;
7759 esac
7760
7761 # Try without a prefix underscore, then with it.
7762 for ac_symprfx in "" "_"; do
7763
7764 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7765 symxfrm="\\1 $ac_symprfx\\2 \\2"
7766
7767 # Write the raw and C identifiers.
7768 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7769 # Fake it for dumpbin and say T for any non-static function,
7770 # D for any global variable and I for any imported variable.
7771 # Also find C++ and __fastcall symbols from MSVC++,
7772 # which start with @ or ?.
7773 lt_cv_sys_global_symbol_pipe="$AWK '"\
7774 " {last_section=section; section=\$ 3};"\
7775 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7776 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7777 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7778 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7779 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7780 " \$ 0!~/External *\|/{next};"\
7781 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7782 " {if(hide[section]) next};"\
7783 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7784 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7785 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7786 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7787 " ' prfx=^$ac_symprfx"
7788 else
7789 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7790 fi
7791 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7792
7793 # Check to see that the pipe works correctly.
7794 pipe_works=no
7795
7796 rm -f conftest*
7797 cat > conftest.$ac_ext <<_LT_EOF
7798 #ifdef __cplusplus
7799 extern "C" {
7800 #endif
7801 char nm_test_var;
7802 void nm_test_func(void);
7803 void nm_test_func(void){}
7804 #ifdef __cplusplus
7805 }
7806 #endif
7807 int main(){nm_test_var='a';nm_test_func();return(0);}
7808 _LT_EOF
7809
7810 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7811 (eval $ac_compile) 2>&5
7812 ac_status=$?
7813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7814 test $ac_status = 0; }; then
7815 # Now try to grab the symbols.
7816 nlist=conftest.nm
7817 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7818 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7819 ac_status=$?
7820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7821 test $ac_status = 0; } && test -s "$nlist"; then
7822 # Try sorting and uniquifying the output.
7823 if sort "$nlist" | uniq > "$nlist"T; then
7824 mv -f "$nlist"T "$nlist"
7825 else
7826 rm -f "$nlist"T
7827 fi
7828
7829 # Make sure that we snagged all the symbols we need.
7830 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7831 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7832 cat <<_LT_EOF > conftest.$ac_ext
7833 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7834 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7835 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7836 relocations are performed -- see ld's documentation on pseudo-relocs. */
7837 # define LT_DLSYM_CONST
7838 #elif defined __osf__
7839 /* This system does not cope well with relocations in const data. */
7840 # define LT_DLSYM_CONST
7841 #else
7842 # define LT_DLSYM_CONST const
7843 #endif
7844
7845 #ifdef __cplusplus
7846 extern "C" {
7847 #endif
7848
7849 _LT_EOF
7850 # Now generate the symbol file.
7851 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7852
7853 cat <<_LT_EOF >> conftest.$ac_ext
7854
7855 /* The mapping between symbol names and symbols. */
7856 LT_DLSYM_CONST struct {
7857 const char *name;
7858 void *address;
7859 }
7860 lt__PROGRAM__LTX_preloaded_symbols[] =
7861 {
7862 { "@PROGRAM@", (void *) 0 },
7863 _LT_EOF
7864 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7865 cat <<\_LT_EOF >> conftest.$ac_ext
7866 {0, (void *) 0}
7867 };
7868
7869 /* This works around a problem in FreeBSD linker */
7870 #ifdef FREEBSD_WORKAROUND
7871 static const void *lt_preloaded_setup() {
7872 return lt__PROGRAM__LTX_preloaded_symbols;
7873 }
7874 #endif
7875
7876 #ifdef __cplusplus
7877 }
7878 #endif
7879 _LT_EOF
7880 # Now try linking the two files.
7881 mv conftest.$ac_objext conftstm.$ac_objext
7882 lt_globsym_save_LIBS=$LIBS
7883 lt_globsym_save_CFLAGS=$CFLAGS
7884 LIBS=conftstm.$ac_objext
7885 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7886 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7887 (eval $ac_link) 2>&5
7888 ac_status=$?
7889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7890 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7891 pipe_works=yes
7892 fi
7893 LIBS=$lt_globsym_save_LIBS
7894 CFLAGS=$lt_globsym_save_CFLAGS
7895 else
7896 echo "cannot find nm_test_func in $nlist" >&5
7897 fi
7898 else
7899 echo "cannot find nm_test_var in $nlist" >&5
7900 fi
7901 else
7902 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7903 fi
7904 else
7905 echo "$progname: failed program was:" >&5
7906 cat conftest.$ac_ext >&5
7907 fi
7908 rm -rf conftest* conftst*
7909
7910 # Do not use the global_symbol_pipe unless it works.
7911 if test yes = "$pipe_works"; then
7912 break
7913 else
7914 lt_cv_sys_global_symbol_pipe=
7915 fi
7916 done
7917
7918 fi
7919
7920 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7921 lt_cv_sys_global_symbol_to_cdecl=
7922 fi
7923 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7925 $as_echo "failed" >&6; }
7926 else
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7928 $as_echo "ok" >&6; }
7929 fi
7930
7931 # Response file support.
7932 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7933 nm_file_list_spec='@'
7934 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7935 nm_file_list_spec='@'
7936 fi
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7975 $as_echo_n "checking for sysroot... " >&6; }
7976
7977 # Check whether --with-sysroot was given.
7978 if test "${with_sysroot+set}" = set; then :
7979 withval=$with_sysroot;
7980 else
7981 with_sysroot=no
7982 fi
7983
7984
7985 lt_sysroot=
7986 case $with_sysroot in #(
7987 yes)
7988 if test yes = "$GCC"; then
7989 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7990 fi
7991 ;; #(
7992 /*)
7993 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7994 ;; #(
7995 no|'')
7996 ;; #(
7997 *)
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7999 $as_echo "$with_sysroot" >&6; }
8000 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8001 ;;
8002 esac
8003
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8005 $as_echo "${lt_sysroot:-no}" >&6; }
8006
8007
8008
8009
8010
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
8012 $as_echo_n "checking for a working dd... " >&6; }
8013 if ${ac_cv_path_lt_DD+:} false; then :
8014 $as_echo_n "(cached) " >&6
8015 else
8016 printf 0123456789abcdef0123456789abcdef >conftest.i
8017 cat conftest.i conftest.i >conftest2.i
8018 : ${lt_DD:=$DD}
8019 if test -z "$lt_DD"; then
8020 ac_path_lt_DD_found=false
8021 # Loop through the user's path and test for each of PROGNAME-LIST
8022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8023 for as_dir in $PATH
8024 do
8025 IFS=$as_save_IFS
8026 test -z "$as_dir" && as_dir=.
8027 for ac_prog in dd; do
8028 for ac_exec_ext in '' $ac_executable_extensions; do
8029 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
8030 as_fn_executable_p "$ac_path_lt_DD" || continue
8031 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8032 cmp -s conftest.i conftest.out \
8033 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
8034 fi
8035 $ac_path_lt_DD_found && break 3
8036 done
8037 done
8038 done
8039 IFS=$as_save_IFS
8040 if test -z "$ac_cv_path_lt_DD"; then
8041 :
8042 fi
8043 else
8044 ac_cv_path_lt_DD=$lt_DD
8045 fi
8046
8047 rm -f conftest.i conftest2.i conftest.out
8048 fi
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
8050 $as_echo "$ac_cv_path_lt_DD" >&6; }
8051
8052
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
8054 $as_echo_n "checking how to truncate binary pipes... " >&6; }
8055 if ${lt_cv_truncate_bin+:} false; then :
8056 $as_echo_n "(cached) " >&6
8057 else
8058 printf 0123456789abcdef0123456789abcdef >conftest.i
8059 cat conftest.i conftest.i >conftest2.i
8060 lt_cv_truncate_bin=
8061 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8062 cmp -s conftest.i conftest.out \
8063 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
8064 fi
8065 rm -f conftest.i conftest2.i conftest.out
8066 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
8067 fi
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
8069 $as_echo "$lt_cv_truncate_bin" >&6; }
8070
8071
8072
8073
8074
8075
8076
8077 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
8078 func_cc_basename ()
8079 {
8080 for cc_temp in $*""; do
8081 case $cc_temp in
8082 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8083 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8084 \-*) ;;
8085 *) break;;
8086 esac
8087 done
8088 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8089 }
8090
8091 # Check whether --enable-libtool-lock was given.
8092 if test "${enable_libtool_lock+set}" = set; then :
8093 enableval=$enable_libtool_lock;
8094 fi
8095
8096 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
8097
8098 # Some flags need to be propagated to the compiler or linker for good
8099 # libtool support.
8100 case $host in
8101 ia64-*-hpux*)
8102 # Find out what ABI is being produced by ac_compile, and set mode
8103 # options accordingly.
8104 echo 'int i;' > conftest.$ac_ext
8105 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8106 (eval $ac_compile) 2>&5
8107 ac_status=$?
8108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8109 test $ac_status = 0; }; then
8110 case `/usr/bin/file conftest.$ac_objext` in
8111 *ELF-32*)
8112 HPUX_IA64_MODE=32
8113 ;;
8114 *ELF-64*)
8115 HPUX_IA64_MODE=64
8116 ;;
8117 esac
8118 fi
8119 rm -rf conftest*
8120 ;;
8121 *-*-irix6*)
8122 # Find out what ABI is being produced by ac_compile, and set linker
8123 # options accordingly.
8124 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8125 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8126 (eval $ac_compile) 2>&5
8127 ac_status=$?
8128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8129 test $ac_status = 0; }; then
8130 if test yes = "$lt_cv_prog_gnu_ld"; then
8131 case `/usr/bin/file conftest.$ac_objext` in
8132 *32-bit*)
8133 LD="${LD-ld} -melf32bsmip"
8134 ;;
8135 *N32*)
8136 LD="${LD-ld} -melf32bmipn32"
8137 ;;
8138 *64-bit*)
8139 LD="${LD-ld} -melf64bmip"
8140 ;;
8141 esac
8142 else
8143 case `/usr/bin/file conftest.$ac_objext` in
8144 *32-bit*)
8145 LD="${LD-ld} -32"
8146 ;;
8147 *N32*)
8148 LD="${LD-ld} -n32"
8149 ;;
8150 *64-bit*)
8151 LD="${LD-ld} -64"
8152 ;;
8153 esac
8154 fi
8155 fi
8156 rm -rf conftest*
8157 ;;
8158
8159 mips64*-*linux*)
8160 # Find out what ABI is being produced by ac_compile, and set linker
8161 # options accordingly.
8162 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8163 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8164 (eval $ac_compile) 2>&5
8165 ac_status=$?
8166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8167 test $ac_status = 0; }; then
8168 emul=elf
8169 case `/usr/bin/file conftest.$ac_objext` in
8170 *32-bit*)
8171 emul="${emul}32"
8172 ;;
8173 *64-bit*)
8174 emul="${emul}64"
8175 ;;
8176 esac
8177 case `/usr/bin/file conftest.$ac_objext` in
8178 *MSB*)
8179 emul="${emul}btsmip"
8180 ;;
8181 *LSB*)
8182 emul="${emul}ltsmip"
8183 ;;
8184 esac
8185 case `/usr/bin/file conftest.$ac_objext` in
8186 *N32*)
8187 emul="${emul}n32"
8188 ;;
8189 esac
8190 LD="${LD-ld} -m $emul"
8191 fi
8192 rm -rf conftest*
8193 ;;
8194
8195 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8196 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8197 # Find out what ABI is being produced by ac_compile, and set linker
8198 # options accordingly. Note that the listed cases only cover the
8199 # situations where additional linker options are needed (such as when
8200 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8201 # vice versa); the common cases where no linker options are needed do
8202 # not appear in the list.
8203 echo 'int i;' > conftest.$ac_ext
8204 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8205 (eval $ac_compile) 2>&5
8206 ac_status=$?
8207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8208 test $ac_status = 0; }; then
8209 case `/usr/bin/file conftest.o` in
8210 *32-bit*)
8211 case $host in
8212 x86_64-*kfreebsd*-gnu)
8213 LD="${LD-ld} -m elf_i386_fbsd"
8214 ;;
8215 x86_64-*linux*)
8216 case `/usr/bin/file conftest.o` in
8217 *x86-64*)
8218 LD="${LD-ld} -m elf32_x86_64"
8219 ;;
8220 *)
8221 LD="${LD-ld} -m elf_i386"
8222 ;;
8223 esac
8224 ;;
8225 powerpc64le-*linux*)
8226 LD="${LD-ld} -m elf32lppclinux"
8227 ;;
8228 powerpc64-*linux*)
8229 LD="${LD-ld} -m elf32ppclinux"
8230 ;;
8231 s390x-*linux*)
8232 LD="${LD-ld} -m elf_s390"
8233 ;;
8234 sparc64-*linux*)
8235 LD="${LD-ld} -m elf32_sparc"
8236 ;;
8237 esac
8238 ;;
8239 *64-bit*)
8240 case $host in
8241 x86_64-*kfreebsd*-gnu)
8242 LD="${LD-ld} -m elf_x86_64_fbsd"
8243 ;;
8244 x86_64-*linux*)
8245 LD="${LD-ld} -m elf_x86_64"
8246 ;;
8247 powerpcle-*linux*)
8248 LD="${LD-ld} -m elf64lppc"
8249 ;;
8250 powerpc-*linux*)
8251 LD="${LD-ld} -m elf64ppc"
8252 ;;
8253 s390*-*linux*|s390*-*tpf*)
8254 LD="${LD-ld} -m elf64_s390"
8255 ;;
8256 sparc*-*linux*)
8257 LD="${LD-ld} -m elf64_sparc"
8258 ;;
8259 esac
8260 ;;
8261 esac
8262 fi
8263 rm -rf conftest*
8264 ;;
8265
8266 *-*-sco3.2v5*)
8267 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8268 SAVE_CFLAGS=$CFLAGS
8269 CFLAGS="$CFLAGS -belf"
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8271 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8272 if ${lt_cv_cc_needs_belf+:} false; then :
8273 $as_echo_n "(cached) " >&6
8274 else
8275 ac_ext=c
8276 ac_cpp='$CPP $CPPFLAGS'
8277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8280
8281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8282 /* end confdefs.h. */
8283
8284 int
8285 main ()
8286 {
8287
8288 ;
8289 return 0;
8290 }
8291 _ACEOF
8292 if ac_fn_c_try_link "$LINENO"; then :
8293 lt_cv_cc_needs_belf=yes
8294 else
8295 lt_cv_cc_needs_belf=no
8296 fi
8297 rm -f core conftest.err conftest.$ac_objext \
8298 conftest$ac_exeext conftest.$ac_ext
8299 ac_ext=c
8300 ac_cpp='$CPP $CPPFLAGS'
8301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8304
8305 fi
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8307 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8308 if test yes != "$lt_cv_cc_needs_belf"; then
8309 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8310 CFLAGS=$SAVE_CFLAGS
8311 fi
8312 ;;
8313 *-*solaris*)
8314 # Find out what ABI is being produced by ac_compile, and set linker
8315 # options accordingly.
8316 echo 'int i;' > conftest.$ac_ext
8317 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8318 (eval $ac_compile) 2>&5
8319 ac_status=$?
8320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8321 test $ac_status = 0; }; then
8322 case `/usr/bin/file conftest.o` in
8323 *64-bit*)
8324 case $lt_cv_prog_gnu_ld in
8325 yes*)
8326 case $host in
8327 i?86-*-solaris*|x86_64-*-solaris*)
8328 LD="${LD-ld} -m elf_x86_64"
8329 ;;
8330 sparc*-*-solaris*)
8331 LD="${LD-ld} -m elf64_sparc"
8332 ;;
8333 esac
8334 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8335 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8336 LD=${LD-ld}_sol2
8337 fi
8338 ;;
8339 *)
8340 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8341 LD="${LD-ld} -64"
8342 fi
8343 ;;
8344 esac
8345 ;;
8346 esac
8347 fi
8348 rm -rf conftest*
8349 ;;
8350 esac
8351
8352 need_locks=$enable_libtool_lock
8353
8354 if test -n "$ac_tool_prefix"; then
8355 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8356 set dummy ${ac_tool_prefix}mt; ac_word=$2
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8358 $as_echo_n "checking for $ac_word... " >&6; }
8359 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8360 $as_echo_n "(cached) " >&6
8361 else
8362 if test -n "$MANIFEST_TOOL"; then
8363 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8364 else
8365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8366 for as_dir in $PATH
8367 do
8368 IFS=$as_save_IFS
8369 test -z "$as_dir" && as_dir=.
8370 for ac_exec_ext in '' $ac_executable_extensions; do
8371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8372 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8374 break 2
8375 fi
8376 done
8377 done
8378 IFS=$as_save_IFS
8379
8380 fi
8381 fi
8382 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8383 if test -n "$MANIFEST_TOOL"; then
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8385 $as_echo "$MANIFEST_TOOL" >&6; }
8386 else
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8388 $as_echo "no" >&6; }
8389 fi
8390
8391
8392 fi
8393 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8394 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8395 # Extract the first word of "mt", so it can be a program name with args.
8396 set dummy mt; ac_word=$2
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8398 $as_echo_n "checking for $ac_word... " >&6; }
8399 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8400 $as_echo_n "(cached) " >&6
8401 else
8402 if test -n "$ac_ct_MANIFEST_TOOL"; then
8403 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8404 else
8405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8406 for as_dir in $PATH
8407 do
8408 IFS=$as_save_IFS
8409 test -z "$as_dir" && as_dir=.
8410 for ac_exec_ext in '' $ac_executable_extensions; do
8411 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8412 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8414 break 2
8415 fi
8416 done
8417 done
8418 IFS=$as_save_IFS
8419
8420 fi
8421 fi
8422 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8423 if test -n "$ac_ct_MANIFEST_TOOL"; then
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8425 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8426 else
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8428 $as_echo "no" >&6; }
8429 fi
8430
8431 if test "x$ac_ct_MANIFEST_TOOL" = x; then
8432 MANIFEST_TOOL=":"
8433 else
8434 case $cross_compiling:$ac_tool_warned in
8435 yes:)
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8438 ac_tool_warned=yes ;;
8439 esac
8440 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8441 fi
8442 else
8443 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8444 fi
8445
8446 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8448 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8449 if ${lt_cv_path_mainfest_tool+:} false; then :
8450 $as_echo_n "(cached) " >&6
8451 else
8452 lt_cv_path_mainfest_tool=no
8453 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8454 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8455 cat conftest.err >&5
8456 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8457 lt_cv_path_mainfest_tool=yes
8458 fi
8459 rm -f conftest*
8460 fi
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8462 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8463 if test yes != "$lt_cv_path_mainfest_tool"; then
8464 MANIFEST_TOOL=:
8465 fi
8466
8467
8468
8469
8470
8471
8472 case $host_os in
8473 rhapsody* | darwin*)
8474 if test -n "$ac_tool_prefix"; then
8475 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8476 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8478 $as_echo_n "checking for $ac_word... " >&6; }
8479 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8480 $as_echo_n "(cached) " >&6
8481 else
8482 if test -n "$DSYMUTIL"; then
8483 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8484 else
8485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8486 for as_dir in $PATH
8487 do
8488 IFS=$as_save_IFS
8489 test -z "$as_dir" && as_dir=.
8490 for ac_exec_ext in '' $ac_executable_extensions; do
8491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8492 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8494 break 2
8495 fi
8496 done
8497 done
8498 IFS=$as_save_IFS
8499
8500 fi
8501 fi
8502 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8503 if test -n "$DSYMUTIL"; then
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8505 $as_echo "$DSYMUTIL" >&6; }
8506 else
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8508 $as_echo "no" >&6; }
8509 fi
8510
8511
8512 fi
8513 if test -z "$ac_cv_prog_DSYMUTIL"; then
8514 ac_ct_DSYMUTIL=$DSYMUTIL
8515 # Extract the first word of "dsymutil", so it can be a program name with args.
8516 set dummy dsymutil; ac_word=$2
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8518 $as_echo_n "checking for $ac_word... " >&6; }
8519 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8520 $as_echo_n "(cached) " >&6
8521 else
8522 if test -n "$ac_ct_DSYMUTIL"; then
8523 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8524 else
8525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8526 for as_dir in $PATH
8527 do
8528 IFS=$as_save_IFS
8529 test -z "$as_dir" && as_dir=.
8530 for ac_exec_ext in '' $ac_executable_extensions; do
8531 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8532 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8534 break 2
8535 fi
8536 done
8537 done
8538 IFS=$as_save_IFS
8539
8540 fi
8541 fi
8542 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8543 if test -n "$ac_ct_DSYMUTIL"; then
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8545 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8546 else
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8548 $as_echo "no" >&6; }
8549 fi
8550
8551 if test "x$ac_ct_DSYMUTIL" = x; then
8552 DSYMUTIL=":"
8553 else
8554 case $cross_compiling:$ac_tool_warned in
8555 yes:)
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8557 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8558 ac_tool_warned=yes ;;
8559 esac
8560 DSYMUTIL=$ac_ct_DSYMUTIL
8561 fi
8562 else
8563 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8564 fi
8565
8566 if test -n "$ac_tool_prefix"; then
8567 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8568 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8570 $as_echo_n "checking for $ac_word... " >&6; }
8571 if ${ac_cv_prog_NMEDIT+:} false; then :
8572 $as_echo_n "(cached) " >&6
8573 else
8574 if test -n "$NMEDIT"; then
8575 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8576 else
8577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8578 for as_dir in $PATH
8579 do
8580 IFS=$as_save_IFS
8581 test -z "$as_dir" && as_dir=.
8582 for ac_exec_ext in '' $ac_executable_extensions; do
8583 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8584 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8586 break 2
8587 fi
8588 done
8589 done
8590 IFS=$as_save_IFS
8591
8592 fi
8593 fi
8594 NMEDIT=$ac_cv_prog_NMEDIT
8595 if test -n "$NMEDIT"; then
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8597 $as_echo "$NMEDIT" >&6; }
8598 else
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8600 $as_echo "no" >&6; }
8601 fi
8602
8603
8604 fi
8605 if test -z "$ac_cv_prog_NMEDIT"; then
8606 ac_ct_NMEDIT=$NMEDIT
8607 # Extract the first word of "nmedit", so it can be a program name with args.
8608 set dummy nmedit; ac_word=$2
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8610 $as_echo_n "checking for $ac_word... " >&6; }
8611 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8612 $as_echo_n "(cached) " >&6
8613 else
8614 if test -n "$ac_ct_NMEDIT"; then
8615 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8616 else
8617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8618 for as_dir in $PATH
8619 do
8620 IFS=$as_save_IFS
8621 test -z "$as_dir" && as_dir=.
8622 for ac_exec_ext in '' $ac_executable_extensions; do
8623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8624 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8626 break 2
8627 fi
8628 done
8629 done
8630 IFS=$as_save_IFS
8631
8632 fi
8633 fi
8634 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8635 if test -n "$ac_ct_NMEDIT"; then
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8637 $as_echo "$ac_ct_NMEDIT" >&6; }
8638 else
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8640 $as_echo "no" >&6; }
8641 fi
8642
8643 if test "x$ac_ct_NMEDIT" = x; then
8644 NMEDIT=":"
8645 else
8646 case $cross_compiling:$ac_tool_warned in
8647 yes:)
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8649 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8650 ac_tool_warned=yes ;;
8651 esac
8652 NMEDIT=$ac_ct_NMEDIT
8653 fi
8654 else
8655 NMEDIT="$ac_cv_prog_NMEDIT"
8656 fi
8657
8658 if test -n "$ac_tool_prefix"; then
8659 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8660 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8662 $as_echo_n "checking for $ac_word... " >&6; }
8663 if ${ac_cv_prog_LIPO+:} false; then :
8664 $as_echo_n "(cached) " >&6
8665 else
8666 if test -n "$LIPO"; then
8667 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8668 else
8669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8670 for as_dir in $PATH
8671 do
8672 IFS=$as_save_IFS
8673 test -z "$as_dir" && as_dir=.
8674 for ac_exec_ext in '' $ac_executable_extensions; do
8675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8676 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8678 break 2
8679 fi
8680 done
8681 done
8682 IFS=$as_save_IFS
8683
8684 fi
8685 fi
8686 LIPO=$ac_cv_prog_LIPO
8687 if test -n "$LIPO"; then
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8689 $as_echo "$LIPO" >&6; }
8690 else
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8692 $as_echo "no" >&6; }
8693 fi
8694
8695
8696 fi
8697 if test -z "$ac_cv_prog_LIPO"; then
8698 ac_ct_LIPO=$LIPO
8699 # Extract the first word of "lipo", so it can be a program name with args.
8700 set dummy lipo; ac_word=$2
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8702 $as_echo_n "checking for $ac_word... " >&6; }
8703 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8704 $as_echo_n "(cached) " >&6
8705 else
8706 if test -n "$ac_ct_LIPO"; then
8707 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8708 else
8709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8710 for as_dir in $PATH
8711 do
8712 IFS=$as_save_IFS
8713 test -z "$as_dir" && as_dir=.
8714 for ac_exec_ext in '' $ac_executable_extensions; do
8715 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8716 ac_cv_prog_ac_ct_LIPO="lipo"
8717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8718 break 2
8719 fi
8720 done
8721 done
8722 IFS=$as_save_IFS
8723
8724 fi
8725 fi
8726 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8727 if test -n "$ac_ct_LIPO"; then
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8729 $as_echo "$ac_ct_LIPO" >&6; }
8730 else
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8732 $as_echo "no" >&6; }
8733 fi
8734
8735 if test "x$ac_ct_LIPO" = x; then
8736 LIPO=":"
8737 else
8738 case $cross_compiling:$ac_tool_warned in
8739 yes:)
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8741 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8742 ac_tool_warned=yes ;;
8743 esac
8744 LIPO=$ac_ct_LIPO
8745 fi
8746 else
8747 LIPO="$ac_cv_prog_LIPO"
8748 fi
8749
8750 if test -n "$ac_tool_prefix"; then
8751 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8752 set dummy ${ac_tool_prefix}otool; ac_word=$2
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8754 $as_echo_n "checking for $ac_word... " >&6; }
8755 if ${ac_cv_prog_OTOOL+:} false; then :
8756 $as_echo_n "(cached) " >&6
8757 else
8758 if test -n "$OTOOL"; then
8759 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8760 else
8761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8762 for as_dir in $PATH
8763 do
8764 IFS=$as_save_IFS
8765 test -z "$as_dir" && as_dir=.
8766 for ac_exec_ext in '' $ac_executable_extensions; do
8767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8768 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8770 break 2
8771 fi
8772 done
8773 done
8774 IFS=$as_save_IFS
8775
8776 fi
8777 fi
8778 OTOOL=$ac_cv_prog_OTOOL
8779 if test -n "$OTOOL"; then
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8781 $as_echo "$OTOOL" >&6; }
8782 else
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8784 $as_echo "no" >&6; }
8785 fi
8786
8787
8788 fi
8789 if test -z "$ac_cv_prog_OTOOL"; then
8790 ac_ct_OTOOL=$OTOOL
8791 # Extract the first word of "otool", so it can be a program name with args.
8792 set dummy otool; ac_word=$2
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8794 $as_echo_n "checking for $ac_word... " >&6; }
8795 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8796 $as_echo_n "(cached) " >&6
8797 else
8798 if test -n "$ac_ct_OTOOL"; then
8799 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8800 else
8801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8802 for as_dir in $PATH
8803 do
8804 IFS=$as_save_IFS
8805 test -z "$as_dir" && as_dir=.
8806 for ac_exec_ext in '' $ac_executable_extensions; do
8807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8808 ac_cv_prog_ac_ct_OTOOL="otool"
8809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8810 break 2
8811 fi
8812 done
8813 done
8814 IFS=$as_save_IFS
8815
8816 fi
8817 fi
8818 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8819 if test -n "$ac_ct_OTOOL"; then
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8821 $as_echo "$ac_ct_OTOOL" >&6; }
8822 else
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8824 $as_echo "no" >&6; }
8825 fi
8826
8827 if test "x$ac_ct_OTOOL" = x; then
8828 OTOOL=":"
8829 else
8830 case $cross_compiling:$ac_tool_warned in
8831 yes:)
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8833 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8834 ac_tool_warned=yes ;;
8835 esac
8836 OTOOL=$ac_ct_OTOOL
8837 fi
8838 else
8839 OTOOL="$ac_cv_prog_OTOOL"
8840 fi
8841
8842 if test -n "$ac_tool_prefix"; then
8843 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8844 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8846 $as_echo_n "checking for $ac_word... " >&6; }
8847 if ${ac_cv_prog_OTOOL64+:} false; then :
8848 $as_echo_n "(cached) " >&6
8849 else
8850 if test -n "$OTOOL64"; then
8851 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8852 else
8853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8854 for as_dir in $PATH
8855 do
8856 IFS=$as_save_IFS
8857 test -z "$as_dir" && as_dir=.
8858 for ac_exec_ext in '' $ac_executable_extensions; do
8859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8860 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8862 break 2
8863 fi
8864 done
8865 done
8866 IFS=$as_save_IFS
8867
8868 fi
8869 fi
8870 OTOOL64=$ac_cv_prog_OTOOL64
8871 if test -n "$OTOOL64"; then
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8873 $as_echo "$OTOOL64" >&6; }
8874 else
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8876 $as_echo "no" >&6; }
8877 fi
8878
8879
8880 fi
8881 if test -z "$ac_cv_prog_OTOOL64"; then
8882 ac_ct_OTOOL64=$OTOOL64
8883 # Extract the first word of "otool64", so it can be a program name with args.
8884 set dummy otool64; ac_word=$2
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8886 $as_echo_n "checking for $ac_word... " >&6; }
8887 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8888 $as_echo_n "(cached) " >&6
8889 else
8890 if test -n "$ac_ct_OTOOL64"; then
8891 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8892 else
8893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8894 for as_dir in $PATH
8895 do
8896 IFS=$as_save_IFS
8897 test -z "$as_dir" && as_dir=.
8898 for ac_exec_ext in '' $ac_executable_extensions; do
8899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8900 ac_cv_prog_ac_ct_OTOOL64="otool64"
8901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8902 break 2
8903 fi
8904 done
8905 done
8906 IFS=$as_save_IFS
8907
8908 fi
8909 fi
8910 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8911 if test -n "$ac_ct_OTOOL64"; then
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8913 $as_echo "$ac_ct_OTOOL64" >&6; }
8914 else
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8916 $as_echo "no" >&6; }
8917 fi
8918
8919 if test "x$ac_ct_OTOOL64" = x; then
8920 OTOOL64=":"
8921 else
8922 case $cross_compiling:$ac_tool_warned in
8923 yes:)
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8925 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8926 ac_tool_warned=yes ;;
8927 esac
8928 OTOOL64=$ac_ct_OTOOL64
8929 fi
8930 else
8931 OTOOL64="$ac_cv_prog_OTOOL64"
8932 fi
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8961 $as_echo_n "checking for -single_module linker flag... " >&6; }
8962 if ${lt_cv_apple_cc_single_mod+:} false; then :
8963 $as_echo_n "(cached) " >&6
8964 else
8965 lt_cv_apple_cc_single_mod=no
8966 if test -z "$LT_MULTI_MODULE"; then
8967 # By default we will add the -single_module flag. You can override
8968 # by either setting the environment variable LT_MULTI_MODULE
8969 # non-empty at configure time, or by adding -multi_module to the
8970 # link flags.
8971 rm -rf libconftest.dylib*
8972 echo "int foo(void){return 1;}" > conftest.c
8973 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8974 -dynamiclib -Wl,-single_module conftest.c" >&5
8975 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8976 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8977 _lt_result=$?
8978 # If there is a non-empty error log, and "single_module"
8979 # appears in it, assume the flag caused a linker warning
8980 if test -s conftest.err && $GREP single_module conftest.err; then
8981 cat conftest.err >&5
8982 # Otherwise, if the output was created with a 0 exit code from
8983 # the compiler, it worked.
8984 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8985 lt_cv_apple_cc_single_mod=yes
8986 else
8987 cat conftest.err >&5
8988 fi
8989 rm -rf libconftest.dylib*
8990 rm -f conftest.*
8991 fi
8992 fi
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8994 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8995
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8997 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8998 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8999 $as_echo_n "(cached) " >&6
9000 else
9001 lt_cv_ld_exported_symbols_list=no
9002 save_LDFLAGS=$LDFLAGS
9003 echo "_main" > conftest.sym
9004 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9006 /* end confdefs.h. */
9007
9008 int
9009 main ()
9010 {
9011
9012 ;
9013 return 0;
9014 }
9015 _ACEOF
9016 if ac_fn_c_try_link "$LINENO"; then :
9017 lt_cv_ld_exported_symbols_list=yes
9018 else
9019 lt_cv_ld_exported_symbols_list=no
9020 fi
9021 rm -f core conftest.err conftest.$ac_objext \
9022 conftest$ac_exeext conftest.$ac_ext
9023 LDFLAGS=$save_LDFLAGS
9024
9025 fi
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9027 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9028
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9030 $as_echo_n "checking for -force_load linker flag... " >&6; }
9031 if ${lt_cv_ld_force_load+:} false; then :
9032 $as_echo_n "(cached) " >&6
9033 else
9034 lt_cv_ld_force_load=no
9035 cat > conftest.c << _LT_EOF
9036 int forced_loaded() { return 2;}
9037 _LT_EOF
9038 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9039 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9040 echo "$AR cru libconftest.a conftest.o" >&5
9041 $AR cru libconftest.a conftest.o 2>&5
9042 echo "$RANLIB libconftest.a" >&5
9043 $RANLIB libconftest.a 2>&5
9044 cat > conftest.c << _LT_EOF
9045 int main() { return 0;}
9046 _LT_EOF
9047 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9048 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9049 _lt_result=$?
9050 if test -s conftest.err && $GREP force_load conftest.err; then
9051 cat conftest.err >&5
9052 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
9053 lt_cv_ld_force_load=yes
9054 else
9055 cat conftest.err >&5
9056 fi
9057 rm -f conftest.err libconftest.a conftest conftest.c
9058 rm -rf conftest.dSYM
9059
9060 fi
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9062 $as_echo "$lt_cv_ld_force_load" >&6; }
9063 case $host_os in
9064 rhapsody* | darwin1.[012])
9065 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
9066 darwin1.*)
9067 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9068 darwin*) # darwin 5.x on
9069 # if running on 10.5 or later, the deployment target defaults
9070 # to the OS version, if on x86, and 10.4, the deployment
9071 # target defaults to 10.4. Don't you love it?
9072 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9073 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9074 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9075 10.[012][,.]*)
9076 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9077 10.*)
9078 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9079 esac
9080 ;;
9081 esac
9082 if test yes = "$lt_cv_apple_cc_single_mod"; then
9083 _lt_dar_single_mod='$single_module'
9084 fi
9085 if test yes = "$lt_cv_ld_exported_symbols_list"; then
9086 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9087 else
9088 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9089 fi
9090 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
9091 _lt_dsymutil='~$DSYMUTIL $lib || :'
9092 else
9093 _lt_dsymutil=
9094 fi
9095 ;;
9096 esac
9097
9098 # func_munge_path_list VARIABLE PATH
9099 # -----------------------------------
9100 # VARIABLE is name of variable containing _space_ separated list of
9101 # directories to be munged by the contents of PATH, which is string
9102 # having a format:
9103 # "DIR[:DIR]:"
9104 # string "DIR[ DIR]" will be prepended to VARIABLE
9105 # ":DIR[:DIR]"
9106 # string "DIR[ DIR]" will be appended to VARIABLE
9107 # "DIRP[:DIRP]::[DIRA:]DIRA"
9108 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
9109 # "DIRA[ DIRA]" will be appended to VARIABLE
9110 # "DIR[:DIR]"
9111 # VARIABLE will be replaced by "DIR[ DIR]"
9112 func_munge_path_list ()
9113 {
9114 case x$2 in
9115 x)
9116 ;;
9117 *:)
9118 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
9119 ;;
9120 x:*)
9121 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9122 ;;
9123 *::*)
9124 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9125 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
9126 ;;
9127 *)
9128 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9129 ;;
9130 esac
9131 }
9132
9133 ac_ext=c
9134 ac_cpp='$CPP $CPPFLAGS'
9135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
9139 $as_echo_n "checking how to run the C preprocessor... " >&6; }
9140 # On Suns, sometimes $CPP names a directory.
9141 if test -n "$CPP" && test -d "$CPP"; then
9142 CPP=
9143 fi
9144 if test -z "$CPP"; then
9145 if ${ac_cv_prog_CPP+:} false; then :
9146 $as_echo_n "(cached) " >&6
9147 else
9148 # Double quotes because CPP needs to be expanded
9149 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
9150 do
9151 ac_preproc_ok=false
9152 for ac_c_preproc_warn_flag in '' yes
9153 do
9154 # Use a header file that comes with gcc, so configuring glibc
9155 # with a fresh cross-compiler works.
9156 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9157 # <limits.h> exists even on freestanding compilers.
9158 # On the NeXT, cc -E runs the code through the compiler's parser,
9159 # not just through cpp. "Syntax error" is here to catch this case.
9160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9161 /* end confdefs.h. */
9162 #ifdef __STDC__
9163 # include <limits.h>
9164 #else
9165 # include <assert.h>
9166 #endif
9167 Syntax error
9168 _ACEOF
9169 if ac_fn_c_try_cpp "$LINENO"; then :
9170
9171 else
9172 # Broken: fails on valid input.
9173 continue
9174 fi
9175 rm -f conftest.err conftest.i conftest.$ac_ext
9176
9177 # OK, works on sane cases. Now check whether nonexistent headers
9178 # can be detected and how.
9179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9180 /* end confdefs.h. */
9181 #include <ac_nonexistent.h>
9182 _ACEOF
9183 if ac_fn_c_try_cpp "$LINENO"; then :
9184 # Broken: success on invalid input.
9185 continue
9186 else
9187 # Passes both tests.
9188 ac_preproc_ok=:
9189 break
9190 fi
9191 rm -f conftest.err conftest.i conftest.$ac_ext
9192
9193 done
9194 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9195 rm -f conftest.i conftest.err conftest.$ac_ext
9196 if $ac_preproc_ok; then :
9197 break
9198 fi
9199
9200 done
9201 ac_cv_prog_CPP=$CPP
9202
9203 fi
9204 CPP=$ac_cv_prog_CPP
9205 else
9206 ac_cv_prog_CPP=$CPP
9207 fi
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
9209 $as_echo "$CPP" >&6; }
9210 ac_preproc_ok=false
9211 for ac_c_preproc_warn_flag in '' yes
9212 do
9213 # Use a header file that comes with gcc, so configuring glibc
9214 # with a fresh cross-compiler works.
9215 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9216 # <limits.h> exists even on freestanding compilers.
9217 # On the NeXT, cc -E runs the code through the compiler's parser,
9218 # not just through cpp. "Syntax error" is here to catch this case.
9219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9220 /* end confdefs.h. */
9221 #ifdef __STDC__
9222 # include <limits.h>
9223 #else
9224 # include <assert.h>
9225 #endif
9226 Syntax error
9227 _ACEOF
9228 if ac_fn_c_try_cpp "$LINENO"; then :
9229
9230 else
9231 # Broken: fails on valid input.
9232 continue
9233 fi
9234 rm -f conftest.err conftest.i conftest.$ac_ext
9235
9236 # OK, works on sane cases. Now check whether nonexistent headers
9237 # can be detected and how.
9238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9239 /* end confdefs.h. */
9240 #include <ac_nonexistent.h>
9241 _ACEOF
9242 if ac_fn_c_try_cpp "$LINENO"; then :
9243 # Broken: success on invalid input.
9244 continue
9245 else
9246 # Passes both tests.
9247 ac_preproc_ok=:
9248 break
9249 fi
9250 rm -f conftest.err conftest.i conftest.$ac_ext
9251
9252 done
9253 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9254 rm -f conftest.i conftest.err conftest.$ac_ext
9255 if $ac_preproc_ok; then :
9256
9257 else
9258 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9260 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
9261 See \`config.log' for more details" "$LINENO" 5; }
9262 fi
9263
9264 ac_ext=c
9265 ac_cpp='$CPP $CPPFLAGS'
9266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9269
9270
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
9272 $as_echo_n "checking for ANSI C header files... " >&6; }
9273 if ${ac_cv_header_stdc+:} false; then :
9274 $as_echo_n "(cached) " >&6
9275 else
9276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9277 /* end confdefs.h. */
9278 #include <stdlib.h>
9279 #include <stdarg.h>
9280 #include <string.h>
9281 #include <float.h>
9282
9283 int
9284 main ()
9285 {
9286
9287 ;
9288 return 0;
9289 }
9290 _ACEOF
9291 if ac_fn_c_try_compile "$LINENO"; then :
9292 ac_cv_header_stdc=yes
9293 else
9294 ac_cv_header_stdc=no
9295 fi
9296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9297
9298 if test $ac_cv_header_stdc = yes; then
9299 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9301 /* end confdefs.h. */
9302 #include <string.h>
9303
9304 _ACEOF
9305 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9306 $EGREP "memchr" >/dev/null 2>&1; then :
9307
9308 else
9309 ac_cv_header_stdc=no
9310 fi
9311 rm -f conftest*
9312
9313 fi
9314
9315 if test $ac_cv_header_stdc = yes; then
9316 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9318 /* end confdefs.h. */
9319 #include <stdlib.h>
9320
9321 _ACEOF
9322 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9323 $EGREP "free" >/dev/null 2>&1; then :
9324
9325 else
9326 ac_cv_header_stdc=no
9327 fi
9328 rm -f conftest*
9329
9330 fi
9331
9332 if test $ac_cv_header_stdc = yes; then
9333 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9334 if test "$cross_compiling" = yes; then :
9335 :
9336 else
9337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9338 /* end confdefs.h. */
9339 #include <ctype.h>
9340 #include <stdlib.h>
9341 #if ((' ' & 0x0FF) == 0x020)
9342 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9343 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9344 #else
9345 # define ISLOWER(c) \
9346 (('a' <= (c) && (c) <= 'i') \
9347 || ('j' <= (c) && (c) <= 'r') \
9348 || ('s' <= (c) && (c) <= 'z'))
9349 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9350 #endif
9351
9352 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9353 int
9354 main ()
9355 {
9356 int i;
9357 for (i = 0; i < 256; i++)
9358 if (XOR (islower (i), ISLOWER (i))
9359 || toupper (i) != TOUPPER (i))
9360 return 2;
9361 return 0;
9362 }
9363 _ACEOF
9364 if ac_fn_c_try_run "$LINENO"; then :
9365
9366 else
9367 ac_cv_header_stdc=no
9368 fi
9369 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9370 conftest.$ac_objext conftest.beam conftest.$ac_ext
9371 fi
9372
9373 fi
9374 fi
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9376 $as_echo "$ac_cv_header_stdc" >&6; }
9377 if test $ac_cv_header_stdc = yes; then
9378
9379 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9380
9381 fi
9382
9383 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9384 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
9385 inttypes.h stdint.h unistd.h
9386 do :
9387 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9388 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9389 "
9390 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9391 cat >>confdefs.h <<_ACEOF
9392 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9393 _ACEOF
9394
9395 fi
9396
9397 done
9398
9399
9400 for ac_header in dlfcn.h
9401 do :
9402 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9403 "
9404 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9405 cat >>confdefs.h <<_ACEOF
9406 #define HAVE_DLFCN_H 1
9407 _ACEOF
9408
9409 fi
9410
9411 done
9412
9413
9414
9415 func_stripname_cnf ()
9416 {
9417 case $2 in
9418 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
9419 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
9420 esac
9421 } # func_stripname_cnf
9422
9423
9424
9425
9426
9427 # Set options
9428
9429
9430
9431 enable_dlopen=no
9432
9433
9434 enable_win32_dll=no
9435
9436
9437 # Check whether --enable-shared was given.
9438 if test "${enable_shared+set}" = set; then :
9439 enableval=$enable_shared; p=${PACKAGE-default}
9440 case $enableval in
9441 yes) enable_shared=yes ;;
9442 no) enable_shared=no ;;
9443 *)
9444 enable_shared=no
9445 # Look at the argument we got. We use all the common list separators.
9446 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9447 for pkg in $enableval; do
9448 IFS=$lt_save_ifs
9449 if test "X$pkg" = "X$p"; then
9450 enable_shared=yes
9451 fi
9452 done
9453 IFS=$lt_save_ifs
9454 ;;
9455 esac
9456 else
9457 enable_shared=yes
9458 fi
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468 # Check whether --enable-static was given.
9469 if test "${enable_static+set}" = set; then :
9470 enableval=$enable_static; p=${PACKAGE-default}
9471 case $enableval in
9472 yes) enable_static=yes ;;
9473 no) enable_static=no ;;
9474 *)
9475 enable_static=no
9476 # Look at the argument we got. We use all the common list separators.
9477 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9478 for pkg in $enableval; do
9479 IFS=$lt_save_ifs
9480 if test "X$pkg" = "X$p"; then
9481 enable_static=yes
9482 fi
9483 done
9484 IFS=$lt_save_ifs
9485 ;;
9486 esac
9487 else
9488 enable_static=yes
9489 fi
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500 # Check whether --with-pic was given.
9501 if test "${with_pic+set}" = set; then :
9502 withval=$with_pic; lt_p=${PACKAGE-default}
9503 case $withval in
9504 yes|no) pic_mode=$withval ;;
9505 *)
9506 pic_mode=default
9507 # Look at the argument we got. We use all the common list separators.
9508 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9509 for lt_pkg in $withval; do
9510 IFS=$lt_save_ifs
9511 if test "X$lt_pkg" = "X$lt_p"; then
9512 pic_mode=yes
9513 fi
9514 done
9515 IFS=$lt_save_ifs
9516 ;;
9517 esac
9518 else
9519 pic_mode=default
9520 fi
9521
9522
9523
9524
9525
9526
9527
9528
9529 # Check whether --enable-fast-install was given.
9530 if test "${enable_fast_install+set}" = set; then :
9531 enableval=$enable_fast_install; p=${PACKAGE-default}
9532 case $enableval in
9533 yes) enable_fast_install=yes ;;
9534 no) enable_fast_install=no ;;
9535 *)
9536 enable_fast_install=no
9537 # Look at the argument we got. We use all the common list separators.
9538 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9539 for pkg in $enableval; do
9540 IFS=$lt_save_ifs
9541 if test "X$pkg" = "X$p"; then
9542 enable_fast_install=yes
9543 fi
9544 done
9545 IFS=$lt_save_ifs
9546 ;;
9547 esac
9548 else
9549 enable_fast_install=yes
9550 fi
9551
9552
9553
9554
9555
9556
9557
9558
9559 shared_archive_member_spec=
9560 case $host,$enable_shared in
9561 power*-*-aix[5-9]*,yes)
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9563 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9564
9565 # Check whether --with-aix-soname was given.
9566 if test "${with_aix_soname+set}" = set; then :
9567 withval=$with_aix_soname; case $withval in
9568 aix|svr4|both)
9569 ;;
9570 *)
9571 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9572 ;;
9573 esac
9574 lt_cv_with_aix_soname=$with_aix_soname
9575 else
9576 if ${lt_cv_with_aix_soname+:} false; then :
9577 $as_echo_n "(cached) " >&6
9578 else
9579 lt_cv_with_aix_soname=aix
9580 fi
9581
9582 with_aix_soname=$lt_cv_with_aix_soname
9583 fi
9584
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9586 $as_echo "$with_aix_soname" >&6; }
9587 if test aix != "$with_aix_soname"; then
9588 # For the AIX way of multilib, we name the shared archive member
9589 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9590 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9591 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9592 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9593 if test 64 = "${OBJECT_MODE-32}"; then
9594 shared_archive_member_spec=shr_64
9595 else
9596 shared_archive_member_spec=shr
9597 fi
9598 fi
9599 ;;
9600 *)
9601 with_aix_soname=aix
9602 ;;
9603 esac
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614 # This can be used to rebuild libtool when needed
9615 LIBTOOL_DEPS=$ltmain
9616
9617 # Always use our own libtool.
9618 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649 test -z "$LN_S" && LN_S="ln -s"
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664 if test -n "${ZSH_VERSION+set}"; then
9665 setopt NO_GLOB_SUBST
9666 fi
9667
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9669 $as_echo_n "checking for objdir... " >&6; }
9670 if ${lt_cv_objdir+:} false; then :
9671 $as_echo_n "(cached) " >&6
9672 else
9673 rm -f .libs 2>/dev/null
9674 mkdir .libs 2>/dev/null
9675 if test -d .libs; then
9676 lt_cv_objdir=.libs
9677 else
9678 # MS-DOS does not allow filenames that begin with a dot.
9679 lt_cv_objdir=_libs
9680 fi
9681 rmdir .libs 2>/dev/null
9682 fi
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9684 $as_echo "$lt_cv_objdir" >&6; }
9685 objdir=$lt_cv_objdir
9686
9687
9688
9689
9690
9691 cat >>confdefs.h <<_ACEOF
9692 #define LT_OBJDIR "$lt_cv_objdir/"
9693 _ACEOF
9694
9695
9696
9697
9698 case $host_os in
9699 aix3*)
9700 # AIX sometimes has problems with the GCC collect2 program. For some
9701 # reason, if we set the COLLECT_NAMES environment variable, the problems
9702 # vanish in a puff of smoke.
9703 if test set != "${COLLECT_NAMES+set}"; then
9704 COLLECT_NAMES=
9705 export COLLECT_NAMES
9706 fi
9707 ;;
9708 esac
9709
9710 # Global variables:
9711 ofile=libtool
9712 can_build_shared=yes
9713
9714 # All known linkers require a '.a' archive for static linking (except MSVC,
9715 # which needs '.lib').
9716 libext=a
9717
9718 with_gnu_ld=$lt_cv_prog_gnu_ld
9719
9720 old_CC=$CC
9721 old_CFLAGS=$CFLAGS
9722
9723 # Set sane defaults for various variables
9724 test -z "$CC" && CC=cc
9725 test -z "$LTCC" && LTCC=$CC
9726 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9727 test -z "$LD" && LD=ld
9728 test -z "$ac_objext" && ac_objext=o
9729
9730 func_cc_basename $compiler
9731 cc_basename=$func_cc_basename_result
9732
9733
9734 # Only perform the check for file, if the check method requires it
9735 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9736 case $deplibs_check_method in
9737 file_magic*)
9738 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9740 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9741 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9742 $as_echo_n "(cached) " >&6
9743 else
9744 case $MAGIC_CMD in
9745 [\\/*] | ?:[\\/]*)
9746 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9747 ;;
9748 *)
9749 lt_save_MAGIC_CMD=$MAGIC_CMD
9750 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9751 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9752 for ac_dir in $ac_dummy; do
9753 IFS=$lt_save_ifs
9754 test -z "$ac_dir" && ac_dir=.
9755 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9756 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9757 if test -n "$file_magic_test_file"; then
9758 case $deplibs_check_method in
9759 "file_magic "*)
9760 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9761 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9762 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9763 $EGREP "$file_magic_regex" > /dev/null; then
9764 :
9765 else
9766 cat <<_LT_EOF 1>&2
9767
9768 *** Warning: the command libtool uses to detect shared libraries,
9769 *** $file_magic_cmd, produces output that libtool cannot recognize.
9770 *** The result is that libtool may fail to recognize shared libraries
9771 *** as such. This will affect the creation of libtool libraries that
9772 *** depend on shared libraries, but programs linked with such libtool
9773 *** libraries will work regardless of this problem. Nevertheless, you
9774 *** may want to report the problem to your system manager and/or to
9775 *** bug-libtool@gnu.org
9776
9777 _LT_EOF
9778 fi ;;
9779 esac
9780 fi
9781 break
9782 fi
9783 done
9784 IFS=$lt_save_ifs
9785 MAGIC_CMD=$lt_save_MAGIC_CMD
9786 ;;
9787 esac
9788 fi
9789
9790 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9791 if test -n "$MAGIC_CMD"; then
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9793 $as_echo "$MAGIC_CMD" >&6; }
9794 else
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9796 $as_echo "no" >&6; }
9797 fi
9798
9799
9800
9801
9802
9803 if test -z "$lt_cv_path_MAGIC_CMD"; then
9804 if test -n "$ac_tool_prefix"; then
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9806 $as_echo_n "checking for file... " >&6; }
9807 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9808 $as_echo_n "(cached) " >&6
9809 else
9810 case $MAGIC_CMD in
9811 [\\/*] | ?:[\\/]*)
9812 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9813 ;;
9814 *)
9815 lt_save_MAGIC_CMD=$MAGIC_CMD
9816 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9817 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9818 for ac_dir in $ac_dummy; do
9819 IFS=$lt_save_ifs
9820 test -z "$ac_dir" && ac_dir=.
9821 if test -f "$ac_dir/file"; then
9822 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9823 if test -n "$file_magic_test_file"; then
9824 case $deplibs_check_method in
9825 "file_magic "*)
9826 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9827 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9828 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9829 $EGREP "$file_magic_regex" > /dev/null; then
9830 :
9831 else
9832 cat <<_LT_EOF 1>&2
9833
9834 *** Warning: the command libtool uses to detect shared libraries,
9835 *** $file_magic_cmd, produces output that libtool cannot recognize.
9836 *** The result is that libtool may fail to recognize shared libraries
9837 *** as such. This will affect the creation of libtool libraries that
9838 *** depend on shared libraries, but programs linked with such libtool
9839 *** libraries will work regardless of this problem. Nevertheless, you
9840 *** may want to report the problem to your system manager and/or to
9841 *** bug-libtool@gnu.org
9842
9843 _LT_EOF
9844 fi ;;
9845 esac
9846 fi
9847 break
9848 fi
9849 done
9850 IFS=$lt_save_ifs
9851 MAGIC_CMD=$lt_save_MAGIC_CMD
9852 ;;
9853 esac
9854 fi
9855
9856 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9857 if test -n "$MAGIC_CMD"; then
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9859 $as_echo "$MAGIC_CMD" >&6; }
9860 else
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9862 $as_echo "no" >&6; }
9863 fi
9864
9865
9866 else
9867 MAGIC_CMD=:
9868 fi
9869 fi
9870
9871 fi
9872 ;;
9873 esac
9874
9875 # Use C for the default configuration in the libtool script
9876
9877 lt_save_CC=$CC
9878 ac_ext=c
9879 ac_cpp='$CPP $CPPFLAGS'
9880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9883
9884
9885 # Source file extension for C test sources.
9886 ac_ext=c
9887
9888 # Object file extension for compiled C test sources.
9889 objext=o
9890 objext=$objext
9891
9892 # Code to be used in simple compile tests
9893 lt_simple_compile_test_code="int some_variable = 0;"
9894
9895 # Code to be used in simple link tests
9896 lt_simple_link_test_code='int main(){return(0);}'
9897
9898
9899
9900
9901
9902
9903
9904 # If no C compiler was specified, use CC.
9905 LTCC=${LTCC-"$CC"}
9906
9907 # If no C compiler flags were specified, use CFLAGS.
9908 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9909
9910 # Allow CC to be a program name with arguments.
9911 compiler=$CC
9912
9913 # Save the default compiler, since it gets overwritten when the other
9914 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9915 compiler_DEFAULT=$CC
9916
9917 # save warnings/boilerplate of simple test code
9918 ac_outfile=conftest.$ac_objext
9919 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9920 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9921 _lt_compiler_boilerplate=`cat conftest.err`
9922 $RM conftest*
9923
9924 ac_outfile=conftest.$ac_objext
9925 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9926 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9927 _lt_linker_boilerplate=`cat conftest.err`
9928 $RM -r conftest*
9929
9930
9931 ## CAVEAT EMPTOR:
9932 ## There is no encapsulation within the following macros, do not change
9933 ## the running order or otherwise move them around unless you know exactly
9934 ## what you are doing...
9935 if test -n "$compiler"; then
9936
9937 lt_prog_compiler_no_builtin_flag=
9938
9939 if test yes = "$GCC"; then
9940 case $cc_basename in
9941 nvcc*)
9942 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9943 *)
9944 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9945 esac
9946
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9948 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9949 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9950 $as_echo_n "(cached) " >&6
9951 else
9952 lt_cv_prog_compiler_rtti_exceptions=no
9953 ac_outfile=conftest.$ac_objext
9954 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9955 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9956 # Insert the option either (1) after the last *FLAGS variable, or
9957 # (2) before a word containing "conftest.", or (3) at the end.
9958 # Note that $ac_compile itself does not contain backslashes and begins
9959 # with a dollar sign (not a hyphen), so the echo should work correctly.
9960 # The option is referenced via a variable to avoid confusing sed.
9961 lt_compile=`echo "$ac_compile" | $SED \
9962 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9963 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9964 -e 's:$: $lt_compiler_flag:'`
9965 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9966 (eval "$lt_compile" 2>conftest.err)
9967 ac_status=$?
9968 cat conftest.err >&5
9969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9970 if (exit $ac_status) && test -s "$ac_outfile"; then
9971 # The compiler can only warn and ignore the option if not recognized
9972 # So say no if there are warnings other than the usual output.
9973 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9974 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9975 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9976 lt_cv_prog_compiler_rtti_exceptions=yes
9977 fi
9978 fi
9979 $RM conftest*
9980
9981 fi
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9983 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9984
9985 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9986 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9987 else
9988 :
9989 fi
9990
9991 fi
9992
9993
9994
9995
9996
9997
9998 lt_prog_compiler_wl=
9999 lt_prog_compiler_pic=
10000 lt_prog_compiler_static=
10001
10002
10003 if test yes = "$GCC"; then
10004 lt_prog_compiler_wl='-Wl,'
10005 lt_prog_compiler_static='-static'
10006
10007 case $host_os in
10008 aix*)
10009 # All AIX code is PIC.
10010 if test ia64 = "$host_cpu"; then
10011 # AIX 5 now supports IA64 processor
10012 lt_prog_compiler_static='-Bstatic'
10013 fi
10014 lt_prog_compiler_pic='-fPIC'
10015 ;;
10016
10017 amigaos*)
10018 case $host_cpu in
10019 powerpc)
10020 # see comment about AmigaOS4 .so support
10021 lt_prog_compiler_pic='-fPIC'
10022 ;;
10023 m68k)
10024 # FIXME: we need at least 68020 code to build shared libraries, but
10025 # adding the '-m68020' flag to GCC prevents building anything better,
10026 # like '-m68040'.
10027 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10028 ;;
10029 esac
10030 ;;
10031
10032 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10033 # PIC is the default for these OSes.
10034 ;;
10035
10036 mingw* | cygwin* | pw32* | os2* | cegcc*)
10037 # This hack is so that the source file can tell whether it is being
10038 # built for inclusion in a dll (and should export symbols for example).
10039 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10040 # (--disable-auto-import) libraries
10041 lt_prog_compiler_pic='-DDLL_EXPORT'
10042 case $host_os in
10043 os2*)
10044 lt_prog_compiler_static='$wl-static'
10045 ;;
10046 esac
10047 ;;
10048
10049 darwin* | rhapsody*)
10050 # PIC is the default on this platform
10051 # Common symbols not allowed in MH_DYLIB files
10052 lt_prog_compiler_pic='-fno-common'
10053 ;;
10054
10055 haiku*)
10056 # PIC is the default for Haiku.
10057 # The "-static" flag exists, but is broken.
10058 lt_prog_compiler_static=
10059 ;;
10060
10061 hpux*)
10062 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10063 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10064 # sets the default TLS model and affects inlining.
10065 case $host_cpu in
10066 hppa*64*)
10067 # +Z the default
10068 ;;
10069 *)
10070 lt_prog_compiler_pic='-fPIC'
10071 ;;
10072 esac
10073 ;;
10074
10075 interix[3-9]*)
10076 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10077 # Instead, we relocate shared libraries at runtime.
10078 ;;
10079
10080 msdosdjgpp*)
10081 # Just because we use GCC doesn't mean we suddenly get shared libraries
10082 # on systems that don't support them.
10083 lt_prog_compiler_can_build_shared=no
10084 enable_shared=no
10085 ;;
10086
10087 *nto* | *qnx*)
10088 # QNX uses GNU C++, but need to define -shared option too, otherwise
10089 # it will coredump.
10090 lt_prog_compiler_pic='-fPIC -shared'
10091 ;;
10092
10093 sysv4*MP*)
10094 if test -d /usr/nec; then
10095 lt_prog_compiler_pic=-Kconform_pic
10096 fi
10097 ;;
10098
10099 *)
10100 lt_prog_compiler_pic='-fPIC'
10101 ;;
10102 esac
10103
10104 case $cc_basename in
10105 nvcc*) # Cuda Compiler Driver 2.2
10106 lt_prog_compiler_wl='-Xlinker '
10107 if test -n "$lt_prog_compiler_pic"; then
10108 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10109 fi
10110 ;;
10111 esac
10112 else
10113 # PORTME Check for flag to pass linker flags through the system compiler.
10114 case $host_os in
10115 aix*)
10116 lt_prog_compiler_wl='-Wl,'
10117 if test ia64 = "$host_cpu"; then
10118 # AIX 5 now supports IA64 processor
10119 lt_prog_compiler_static='-Bstatic'
10120 else
10121 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10122 fi
10123 ;;
10124
10125 darwin* | rhapsody*)
10126 # PIC is the default on this platform
10127 # Common symbols not allowed in MH_DYLIB files
10128 lt_prog_compiler_pic='-fno-common'
10129 case $cc_basename in
10130 nagfor*)
10131 # NAG Fortran compiler
10132 lt_prog_compiler_wl='-Wl,-Wl,,'
10133 lt_prog_compiler_pic='-PIC'
10134 lt_prog_compiler_static='-Bstatic'
10135 ;;
10136 esac
10137 ;;
10138
10139 mingw* | cygwin* | pw32* | os2* | cegcc*)
10140 # This hack is so that the source file can tell whether it is being
10141 # built for inclusion in a dll (and should export symbols for example).
10142 lt_prog_compiler_pic='-DDLL_EXPORT'
10143 case $host_os in
10144 os2*)
10145 lt_prog_compiler_static='$wl-static'
10146 ;;
10147 esac
10148 ;;
10149
10150 hpux9* | hpux10* | hpux11*)
10151 lt_prog_compiler_wl='-Wl,'
10152 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10153 # not for PA HP-UX.
10154 case $host_cpu in
10155 hppa*64*|ia64*)
10156 # +Z the default
10157 ;;
10158 *)
10159 lt_prog_compiler_pic='+Z'
10160 ;;
10161 esac
10162 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10163 lt_prog_compiler_static='$wl-a ${wl}archive'
10164 ;;
10165
10166 irix5* | irix6* | nonstopux*)
10167 lt_prog_compiler_wl='-Wl,'
10168 # PIC (with -KPIC) is the default.
10169 lt_prog_compiler_static='-non_shared'
10170 ;;
10171
10172 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10173 case $cc_basename in
10174 # old Intel for x86_64, which still supported -KPIC.
10175 ecc*)
10176 lt_prog_compiler_wl='-Wl,'
10177 lt_prog_compiler_pic='-KPIC'
10178 lt_prog_compiler_static='-static'
10179 ;;
10180 # icc used to be incompatible with GCC.
10181 # ICC 10 doesn't accept -KPIC any more.
10182 icc* | ifort*)
10183 lt_prog_compiler_wl='-Wl,'
10184 lt_prog_compiler_pic='-fPIC'
10185 lt_prog_compiler_static='-static'
10186 ;;
10187 # Lahey Fortran 8.1.
10188 lf95*)
10189 lt_prog_compiler_wl='-Wl,'
10190 lt_prog_compiler_pic='--shared'
10191 lt_prog_compiler_static='--static'
10192 ;;
10193 nagfor*)
10194 # NAG Fortran compiler
10195 lt_prog_compiler_wl='-Wl,-Wl,,'
10196 lt_prog_compiler_pic='-PIC'
10197 lt_prog_compiler_static='-Bstatic'
10198 ;;
10199 tcc*)
10200 # Fabrice Bellard et al's Tiny C Compiler
10201 lt_prog_compiler_wl='-Wl,'
10202 lt_prog_compiler_pic='-fPIC'
10203 lt_prog_compiler_static='-static'
10204 ;;
10205 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10206 # Portland Group compilers (*not* the Pentium gcc compiler,
10207 # which looks to be a dead project)
10208 lt_prog_compiler_wl='-Wl,'
10209 lt_prog_compiler_pic='-fpic'
10210 lt_prog_compiler_static='-Bstatic'
10211 ;;
10212 ccc*)
10213 lt_prog_compiler_wl='-Wl,'
10214 # All Alpha code is PIC.
10215 lt_prog_compiler_static='-non_shared'
10216 ;;
10217 xl* | bgxl* | bgf* | mpixl*)
10218 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10219 lt_prog_compiler_wl='-Wl,'
10220 lt_prog_compiler_pic='-qpic'
10221 lt_prog_compiler_static='-qstaticlink'
10222 ;;
10223 *)
10224 case `$CC -V 2>&1 | sed 5q` in
10225 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10226 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10227 lt_prog_compiler_pic='-KPIC'
10228 lt_prog_compiler_static='-Bstatic'
10229 lt_prog_compiler_wl=''
10230 ;;
10231 *Sun\ F* | *Sun*Fortran*)
10232 lt_prog_compiler_pic='-KPIC'
10233 lt_prog_compiler_static='-Bstatic'
10234 lt_prog_compiler_wl='-Qoption ld '
10235 ;;
10236 *Sun\ C*)
10237 # Sun C 5.9
10238 lt_prog_compiler_pic='-KPIC'
10239 lt_prog_compiler_static='-Bstatic'
10240 lt_prog_compiler_wl='-Wl,'
10241 ;;
10242 *Intel*\ [CF]*Compiler*)
10243 lt_prog_compiler_wl='-Wl,'
10244 lt_prog_compiler_pic='-fPIC'
10245 lt_prog_compiler_static='-static'
10246 ;;
10247 *Portland\ Group*)
10248 lt_prog_compiler_wl='-Wl,'
10249 lt_prog_compiler_pic='-fpic'
10250 lt_prog_compiler_static='-Bstatic'
10251 ;;
10252 esac
10253 ;;
10254 esac
10255 ;;
10256
10257 newsos6)
10258 lt_prog_compiler_pic='-KPIC'
10259 lt_prog_compiler_static='-Bstatic'
10260 ;;
10261
10262 *nto* | *qnx*)
10263 # QNX uses GNU C++, but need to define -shared option too, otherwise
10264 # it will coredump.
10265 lt_prog_compiler_pic='-fPIC -shared'
10266 ;;
10267
10268 osf3* | osf4* | osf5*)
10269 lt_prog_compiler_wl='-Wl,'
10270 # All OSF/1 code is PIC.
10271 lt_prog_compiler_static='-non_shared'
10272 ;;
10273
10274 rdos*)
10275 lt_prog_compiler_static='-non_shared'
10276 ;;
10277
10278 solaris*)
10279 lt_prog_compiler_pic='-KPIC'
10280 lt_prog_compiler_static='-Bstatic'
10281 case $cc_basename in
10282 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10283 lt_prog_compiler_wl='-Qoption ld ';;
10284 *)
10285 lt_prog_compiler_wl='-Wl,';;
10286 esac
10287 ;;
10288
10289 sunos4*)
10290 lt_prog_compiler_wl='-Qoption ld '
10291 lt_prog_compiler_pic='-PIC'
10292 lt_prog_compiler_static='-Bstatic'
10293 ;;
10294
10295 sysv4 | sysv4.2uw2* | sysv4.3*)
10296 lt_prog_compiler_wl='-Wl,'
10297 lt_prog_compiler_pic='-KPIC'
10298 lt_prog_compiler_static='-Bstatic'
10299 ;;
10300
10301 sysv4*MP*)
10302 if test -d /usr/nec; then
10303 lt_prog_compiler_pic='-Kconform_pic'
10304 lt_prog_compiler_static='-Bstatic'
10305 fi
10306 ;;
10307
10308 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10309 lt_prog_compiler_wl='-Wl,'
10310 lt_prog_compiler_pic='-KPIC'
10311 lt_prog_compiler_static='-Bstatic'
10312 ;;
10313
10314 unicos*)
10315 lt_prog_compiler_wl='-Wl,'
10316 lt_prog_compiler_can_build_shared=no
10317 ;;
10318
10319 uts4*)
10320 lt_prog_compiler_pic='-pic'
10321 lt_prog_compiler_static='-Bstatic'
10322 ;;
10323
10324 *)
10325 lt_prog_compiler_can_build_shared=no
10326 ;;
10327 esac
10328 fi
10329
10330 case $host_os in
10331 # For platforms that do not support PIC, -DPIC is meaningless:
10332 *djgpp*)
10333 lt_prog_compiler_pic=
10334 ;;
10335 *)
10336 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10337 ;;
10338 esac
10339
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10341 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10342 if ${lt_cv_prog_compiler_pic+:} false; then :
10343 $as_echo_n "(cached) " >&6
10344 else
10345 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10346 fi
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10348 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10349 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10350
10351 #
10352 # Check to make sure the PIC flag actually works.
10353 #
10354 if test -n "$lt_prog_compiler_pic"; then
10355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10356 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10357 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10358 $as_echo_n "(cached) " >&6
10359 else
10360 lt_cv_prog_compiler_pic_works=no
10361 ac_outfile=conftest.$ac_objext
10362 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10363 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
10364 # Insert the option either (1) after the last *FLAGS variable, or
10365 # (2) before a word containing "conftest.", or (3) at the end.
10366 # Note that $ac_compile itself does not contain backslashes and begins
10367 # with a dollar sign (not a hyphen), so the echo should work correctly.
10368 # The option is referenced via a variable to avoid confusing sed.
10369 lt_compile=`echo "$ac_compile" | $SED \
10370 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10371 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10372 -e 's:$: $lt_compiler_flag:'`
10373 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10374 (eval "$lt_compile" 2>conftest.err)
10375 ac_status=$?
10376 cat conftest.err >&5
10377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10378 if (exit $ac_status) && test -s "$ac_outfile"; then
10379 # The compiler can only warn and ignore the option if not recognized
10380 # So say no if there are warnings other than the usual output.
10381 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10382 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10383 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10384 lt_cv_prog_compiler_pic_works=yes
10385 fi
10386 fi
10387 $RM conftest*
10388
10389 fi
10390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10391 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10392
10393 if test yes = "$lt_cv_prog_compiler_pic_works"; then
10394 case $lt_prog_compiler_pic in
10395 "" | " "*) ;;
10396 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10397 esac
10398 else
10399 lt_prog_compiler_pic=
10400 lt_prog_compiler_can_build_shared=no
10401 fi
10402
10403 fi
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415 #
10416 # Check to make sure the static flag actually works.
10417 #
10418 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10420 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10421 if ${lt_cv_prog_compiler_static_works+:} false; then :
10422 $as_echo_n "(cached) " >&6
10423 else
10424 lt_cv_prog_compiler_static_works=no
10425 save_LDFLAGS=$LDFLAGS
10426 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10427 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10428 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10429 # The linker can only warn and ignore the option if not recognized
10430 # So say no if there are warnings
10431 if test -s conftest.err; then
10432 # Append any errors to the config.log.
10433 cat conftest.err 1>&5
10434 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10435 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10436 if diff conftest.exp conftest.er2 >/dev/null; then
10437 lt_cv_prog_compiler_static_works=yes
10438 fi
10439 else
10440 lt_cv_prog_compiler_static_works=yes
10441 fi
10442 fi
10443 $RM -r conftest*
10444 LDFLAGS=$save_LDFLAGS
10445
10446 fi
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10448 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10449
10450 if test yes = "$lt_cv_prog_compiler_static_works"; then
10451 :
10452 else
10453 lt_prog_compiler_static=
10454 fi
10455
10456
10457
10458
10459
10460
10461
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10463 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10464 if ${lt_cv_prog_compiler_c_o+:} false; then :
10465 $as_echo_n "(cached) " >&6
10466 else
10467 lt_cv_prog_compiler_c_o=no
10468 $RM -r conftest 2>/dev/null
10469 mkdir conftest
10470 cd conftest
10471 mkdir out
10472 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10473
10474 lt_compiler_flag="-o out/conftest2.$ac_objext"
10475 # Insert the option either (1) after the last *FLAGS variable, or
10476 # (2) before a word containing "conftest.", or (3) at the end.
10477 # Note that $ac_compile itself does not contain backslashes and begins
10478 # with a dollar sign (not a hyphen), so the echo should work correctly.
10479 lt_compile=`echo "$ac_compile" | $SED \
10480 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10481 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10482 -e 's:$: $lt_compiler_flag:'`
10483 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10484 (eval "$lt_compile" 2>out/conftest.err)
10485 ac_status=$?
10486 cat out/conftest.err >&5
10487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10488 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10489 then
10490 # The compiler can only warn and ignore the option if not recognized
10491 # So say no if there are warnings
10492 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10493 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10494 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10495 lt_cv_prog_compiler_c_o=yes
10496 fi
10497 fi
10498 chmod u+w . 2>&5
10499 $RM conftest*
10500 # SGI C++ compiler will create directory out/ii_files/ for
10501 # template instantiation
10502 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10503 $RM out/* && rmdir out
10504 cd ..
10505 $RM -r conftest
10506 $RM conftest*
10507
10508 fi
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10510 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10511
10512
10513
10514
10515
10516
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10518 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10519 if ${lt_cv_prog_compiler_c_o+:} false; then :
10520 $as_echo_n "(cached) " >&6
10521 else
10522 lt_cv_prog_compiler_c_o=no
10523 $RM -r conftest 2>/dev/null
10524 mkdir conftest
10525 cd conftest
10526 mkdir out
10527 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10528
10529 lt_compiler_flag="-o out/conftest2.$ac_objext"
10530 # Insert the option either (1) after the last *FLAGS variable, or
10531 # (2) before a word containing "conftest.", or (3) at the end.
10532 # Note that $ac_compile itself does not contain backslashes and begins
10533 # with a dollar sign (not a hyphen), so the echo should work correctly.
10534 lt_compile=`echo "$ac_compile" | $SED \
10535 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10536 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10537 -e 's:$: $lt_compiler_flag:'`
10538 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10539 (eval "$lt_compile" 2>out/conftest.err)
10540 ac_status=$?
10541 cat out/conftest.err >&5
10542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10543 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10544 then
10545 # The compiler can only warn and ignore the option if not recognized
10546 # So say no if there are warnings
10547 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10548 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10549 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10550 lt_cv_prog_compiler_c_o=yes
10551 fi
10552 fi
10553 chmod u+w . 2>&5
10554 $RM conftest*
10555 # SGI C++ compiler will create directory out/ii_files/ for
10556 # template instantiation
10557 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10558 $RM out/* && rmdir out
10559 cd ..
10560 $RM -r conftest
10561 $RM conftest*
10562
10563 fi
10564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10565 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10566
10567
10568
10569
10570 hard_links=nottested
10571 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10572 # do not overwrite the value of need_locks provided by the user
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10574 $as_echo_n "checking if we can lock with hard links... " >&6; }
10575 hard_links=yes
10576 $RM conftest*
10577 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10578 touch conftest.a
10579 ln conftest.a conftest.b 2>&5 || hard_links=no
10580 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10582 $as_echo "$hard_links" >&6; }
10583 if test no = "$hard_links"; then
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10585 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10586 need_locks=warn
10587 fi
10588 else
10589 need_locks=no
10590 fi
10591
10592
10593
10594
10595
10596
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10598 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10599
10600 runpath_var=
10601 allow_undefined_flag=
10602 always_export_symbols=no
10603 archive_cmds=
10604 archive_expsym_cmds=
10605 compiler_needs_object=no
10606 enable_shared_with_static_runtimes=no
10607 export_dynamic_flag_spec=
10608 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10609 hardcode_automatic=no
10610 hardcode_direct=no
10611 hardcode_direct_absolute=no
10612 hardcode_libdir_flag_spec=
10613 hardcode_libdir_separator=
10614 hardcode_minus_L=no
10615 hardcode_shlibpath_var=unsupported
10616 inherit_rpath=no
10617 link_all_deplibs=unknown
10618 module_cmds=
10619 module_expsym_cmds=
10620 old_archive_from_new_cmds=
10621 old_archive_from_expsyms_cmds=
10622 thread_safe_flag_spec=
10623 whole_archive_flag_spec=
10624 # include_expsyms should be a list of space-separated symbols to be *always*
10625 # included in the symbol list
10626 include_expsyms=
10627 # exclude_expsyms can be an extended regexp of symbols to exclude
10628 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10629 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10630 # as well as any symbol that contains 'd'.
10631 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10632 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10633 # platforms (ab)use it in PIC code, but their linkers get confused if
10634 # the symbol is explicitly referenced. Since portable code cannot
10635 # rely on this symbol name, it's probably fine to never include it in
10636 # preloaded symbol tables.
10637 # Exclude shared library initialization/finalization symbols.
10638 extract_expsyms_cmds=
10639
10640 case $host_os in
10641 cygwin* | mingw* | pw32* | cegcc*)
10642 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10643 # When not using gcc, we currently assume that we are using
10644 # Microsoft Visual C++.
10645 if test yes != "$GCC"; then
10646 with_gnu_ld=no
10647 fi
10648 ;;
10649 interix*)
10650 # we just hope/assume this is gcc and not c89 (= MSVC++)
10651 with_gnu_ld=yes
10652 ;;
10653 openbsd* | bitrig*)
10654 with_gnu_ld=no
10655 ;;
10656 esac
10657
10658 ld_shlibs=yes
10659
10660 # On some targets, GNU ld is compatible enough with the native linker
10661 # that we're better off using the native interface for both.
10662 lt_use_gnu_ld_interface=no
10663 if test yes = "$with_gnu_ld"; then
10664 case $host_os in
10665 aix*)
10666 # The AIX port of GNU ld has always aspired to compatibility
10667 # with the native linker. However, as the warning in the GNU ld
10668 # block says, versions before 2.19.5* couldn't really create working
10669 # shared libraries, regardless of the interface used.
10670 case `$LD -v 2>&1` in
10671 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10672 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10673 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10674 *)
10675 lt_use_gnu_ld_interface=yes
10676 ;;
10677 esac
10678 ;;
10679 *)
10680 lt_use_gnu_ld_interface=yes
10681 ;;
10682 esac
10683 fi
10684
10685 if test yes = "$lt_use_gnu_ld_interface"; then
10686 # If archive_cmds runs LD, not CC, wlarc should be empty
10687 wlarc='$wl'
10688
10689 # Set some defaults for GNU ld with shared library support. These
10690 # are reset later if shared libraries are not supported. Putting them
10691 # here allows them to be overridden if necessary.
10692 runpath_var=LD_RUN_PATH
10693 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10694 export_dynamic_flag_spec='$wl--export-dynamic'
10695 # ancient GNU ld didn't support --whole-archive et. al.
10696 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10697 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10698 else
10699 whole_archive_flag_spec=
10700 fi
10701 supports_anon_versioning=no
10702 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10703 *GNU\ gold*) supports_anon_versioning=yes ;;
10704 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10705 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10706 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10707 *\ 2.11.*) ;; # other 2.11 versions
10708 *) supports_anon_versioning=yes ;;
10709 esac
10710
10711 # See if GNU ld supports shared libraries.
10712 case $host_os in
10713 aix[3-9]*)
10714 # On AIX/PPC, the GNU linker is very broken
10715 if test ia64 != "$host_cpu"; then
10716 ld_shlibs=no
10717 cat <<_LT_EOF 1>&2
10718
10719 *** Warning: the GNU linker, at least up to release 2.19, is reported
10720 *** to be unable to reliably create shared libraries on AIX.
10721 *** Therefore, libtool is disabling shared libraries support. If you
10722 *** really care for shared libraries, you may want to install binutils
10723 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10724 *** You will then need to restart the configuration process.
10725
10726 _LT_EOF
10727 fi
10728 ;;
10729
10730 amigaos*)
10731 case $host_cpu in
10732 powerpc)
10733 # see comment about AmigaOS4 .so support
10734 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10735 archive_expsym_cmds=''
10736 ;;
10737 m68k)
10738 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10739 hardcode_libdir_flag_spec='-L$libdir'
10740 hardcode_minus_L=yes
10741 ;;
10742 esac
10743 ;;
10744
10745 beos*)
10746 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10747 allow_undefined_flag=unsupported
10748 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10749 # support --undefined. This deserves some investigation. FIXME
10750 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10751 else
10752 ld_shlibs=no
10753 fi
10754 ;;
10755
10756 cygwin* | mingw* | pw32* | cegcc*)
10757 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10758 # as there is no search path for DLLs.
10759 hardcode_libdir_flag_spec='-L$libdir'
10760 export_dynamic_flag_spec='$wl--export-all-symbols'
10761 allow_undefined_flag=unsupported
10762 always_export_symbols=no
10763 enable_shared_with_static_runtimes=yes
10764 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
10765 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10766
10767 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10768 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10769 # If the export-symbols file already is a .def file, use it as
10770 # is; otherwise, prepend EXPORTS...
10771 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10772 cp $export_symbols $output_objdir/$soname.def;
10773 else
10774 echo EXPORTS > $output_objdir/$soname.def;
10775 cat $export_symbols >> $output_objdir/$soname.def;
10776 fi~
10777 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10778 else
10779 ld_shlibs=no
10780 fi
10781 ;;
10782
10783 haiku*)
10784 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10785 link_all_deplibs=yes
10786 ;;
10787
10788 os2*)
10789 hardcode_libdir_flag_spec='-L$libdir'
10790 hardcode_minus_L=yes
10791 allow_undefined_flag=unsupported
10792 shrext_cmds=.dll
10793 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10794 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10795 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10796 $ECHO EXPORTS >> $output_objdir/$libname.def~
10797 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10798 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10799 emximp -o $lib $output_objdir/$libname.def'
10800 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10801 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10802 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10803 $ECHO EXPORTS >> $output_objdir/$libname.def~
10804 prefix_cmds="$SED"~
10805 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10806 prefix_cmds="$prefix_cmds -e 1d";
10807 fi~
10808 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10809 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10810 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10811 emximp -o $lib $output_objdir/$libname.def'
10812 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10813 enable_shared_with_static_runtimes=yes
10814 ;;
10815
10816 interix[3-9]*)
10817 hardcode_direct=no
10818 hardcode_shlibpath_var=no
10819 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10820 export_dynamic_flag_spec='$wl-E'
10821 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10822 # Instead, shared libraries are loaded at an image base (0x10000000 by
10823 # default) and relocated if they conflict, which is a slow very memory
10824 # consuming and fragmenting process. To avoid this, we pick a random,
10825 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10826 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10827 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10828 archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10829 ;;
10830
10831 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10832 tmp_diet=no
10833 if test linux-dietlibc = "$host_os"; then
10834 case $cc_basename in
10835 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10836 esac
10837 fi
10838 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10839 && test no = "$tmp_diet"
10840 then
10841 tmp_addflag=' $pic_flag'
10842 tmp_sharedflag='-shared'
10843 case $cc_basename,$host_cpu in
10844 pgcc*) # Portland Group C compiler
10845 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
10846 tmp_addflag=' $pic_flag'
10847 ;;
10848 pgf77* | pgf90* | pgf95* | pgfortran*)
10849 # Portland Group f77 and f90 compilers
10850 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
10851 tmp_addflag=' $pic_flag -Mnomain' ;;
10852 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10853 tmp_addflag=' -i_dynamic' ;;
10854 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10855 tmp_addflag=' -i_dynamic -nofor_main' ;;
10856 ifc* | ifort*) # Intel Fortran compiler
10857 tmp_addflag=' -nofor_main' ;;
10858 lf95*) # Lahey Fortran 8.1
10859 whole_archive_flag_spec=
10860 tmp_sharedflag='--shared' ;;
10861 nagfor*) # NAGFOR 5.3
10862 tmp_sharedflag='-Wl,-shared' ;;
10863 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10864 tmp_sharedflag='-qmkshrobj'
10865 tmp_addflag= ;;
10866 nvcc*) # Cuda Compiler Driver 2.2
10867 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
10868 compiler_needs_object=yes
10869 ;;
10870 esac
10871 case `$CC -V 2>&1 | sed 5q` in
10872 *Sun\ C*) # Sun C 5.9
10873 whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
10874 compiler_needs_object=yes
10875 tmp_sharedflag='-G' ;;
10876 *Sun\ F*) # Sun Fortran 8.3
10877 tmp_sharedflag='-G' ;;
10878 esac
10879 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10880
10881 if test yes = "$supports_anon_versioning"; then
10882 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10883 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10884 echo "local: *; };" >> $output_objdir/$libname.ver~
10885 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10886 fi
10887
10888 case $cc_basename in
10889 tcc*)
10890 export_dynamic_flag_spec='-rdynamic'
10891 ;;
10892 xlf* | bgf* | bgxlf* | mpixlf*)
10893 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10894 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10895 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10896 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10897 if test yes = "$supports_anon_versioning"; then
10898 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10899 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10900 echo "local: *; };" >> $output_objdir/$libname.ver~
10901 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10902 fi
10903 ;;
10904 esac
10905 else
10906 ld_shlibs=no
10907 fi
10908 ;;
10909
10910 netbsd*)
10911 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10912 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10913 wlarc=
10914 else
10915 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10916 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10917 fi
10918 ;;
10919
10920 solaris*)
10921 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10922 ld_shlibs=no
10923 cat <<_LT_EOF 1>&2
10924
10925 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10926 *** create shared libraries on Solaris systems. Therefore, libtool
10927 *** is disabling shared libraries support. We urge you to upgrade GNU
10928 *** binutils to release 2.9.1 or newer. Another option is to modify
10929 *** your PATH or compiler configuration so that the native linker is
10930 *** used, and then restart.
10931
10932 _LT_EOF
10933 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10934 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10935 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10936 else
10937 ld_shlibs=no
10938 fi
10939 ;;
10940
10941 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10942 case `$LD -v 2>&1` in
10943 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10944 ld_shlibs=no
10945 cat <<_LT_EOF 1>&2
10946
10947 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10948 *** reliably create shared libraries on SCO systems. Therefore, libtool
10949 *** is disabling shared libraries support. We urge you to upgrade GNU
10950 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10951 *** your PATH or compiler configuration so that the native linker is
10952 *** used, and then restart.
10953
10954 _LT_EOF
10955 ;;
10956 *)
10957 # For security reasons, it is highly recommended that you always
10958 # use absolute paths for naming shared libraries, and exclude the
10959 # DT_RUNPATH tag from executables and libraries. But doing so
10960 # requires that you compile everything twice, which is a pain.
10961 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10962 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10963 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10964 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10965 else
10966 ld_shlibs=no
10967 fi
10968 ;;
10969 esac
10970 ;;
10971
10972 sunos4*)
10973 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10974 wlarc=
10975 hardcode_direct=yes
10976 hardcode_shlibpath_var=no
10977 ;;
10978
10979 *)
10980 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10981 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10982 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10983 else
10984 ld_shlibs=no
10985 fi
10986 ;;
10987 esac
10988
10989 if test no = "$ld_shlibs"; then
10990 runpath_var=
10991 hardcode_libdir_flag_spec=
10992 export_dynamic_flag_spec=
10993 whole_archive_flag_spec=
10994 fi
10995 else
10996 # PORTME fill in a description of your system's linker (not GNU ld)
10997 case $host_os in
10998 aix3*)
10999 allow_undefined_flag=unsupported
11000 always_export_symbols=yes
11001 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
11002 # Note: this linker hardcodes the directories in LIBPATH if there
11003 # are no directories specified by -L.
11004 hardcode_minus_L=yes
11005 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11006 # Neither direct hardcoding nor static linking is supported with a
11007 # broken collect2.
11008 hardcode_direct=unsupported
11009 fi
11010 ;;
11011
11012 aix[4-9]*)
11013 if test ia64 = "$host_cpu"; then
11014 # On IA64, the linker does run time linking by default, so we don't
11015 # have to do anything special.
11016 aix_use_runtimelinking=no
11017 exp_sym_flag='-Bexport'
11018 no_entry_flag=
11019 else
11020 # If we're using GNU nm, then we don't want the "-C" option.
11021 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
11022 # Without the "-l" option, or with the "-B" option, AIX nm treats
11023 # weak defined symbols like other global defined symbols, whereas
11024 # GNU nm marks them as "W".
11025 # While the 'weak' keyword is ignored in the Export File, we need
11026 # it in the Import File for the 'aix-soname' feature, so we have
11027 # to replace the "-B" option with "-P" for AIX nm.
11028 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11029 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
11030 else
11031 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
11032 fi
11033 aix_use_runtimelinking=no
11034
11035 # Test if we are trying to use run time linking or normal
11036 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11037 # have runtime linking enabled, and use it for executables.
11038 # For shared libraries, we enable/disable runtime linking
11039 # depending on the kind of the shared library created -
11040 # when "with_aix_soname,aix_use_runtimelinking" is:
11041 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
11042 # "aix,yes" lib.so shared, rtl:yes, for executables
11043 # lib.a static archive
11044 # "both,no" lib.so.V(shr.o) shared, rtl:yes
11045 # lib.a(lib.so.V) shared, rtl:no, for executables
11046 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11047 # lib.a(lib.so.V) shared, rtl:no
11048 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
11049 # lib.a static archive
11050 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11051 for ld_flag in $LDFLAGS; do
11052 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
11053 aix_use_runtimelinking=yes
11054 break
11055 fi
11056 done
11057 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
11058 # With aix-soname=svr4, we create the lib.so.V shared archives only,
11059 # so we don't have lib.a shared libs to link our executables.
11060 # We have to force runtime linking in this case.
11061 aix_use_runtimelinking=yes
11062 LDFLAGS="$LDFLAGS -Wl,-brtl"
11063 fi
11064 ;;
11065 esac
11066
11067 exp_sym_flag='-bexport'
11068 no_entry_flag='-bnoentry'
11069 fi
11070
11071 # When large executables or shared objects are built, AIX ld can
11072 # have problems creating the table of contents. If linking a library
11073 # or program results in "error TOC overflow" add -mminimal-toc to
11074 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11075 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11076
11077 archive_cmds=''
11078 hardcode_direct=yes
11079 hardcode_direct_absolute=yes
11080 hardcode_libdir_separator=':'
11081 link_all_deplibs=yes
11082 file_list_spec='$wl-f,'
11083 case $with_aix_soname,$aix_use_runtimelinking in
11084 aix,*) ;; # traditional, no import file
11085 svr4,* | *,yes) # use import file
11086 # The Import File defines what to hardcode.
11087 hardcode_direct=no
11088 hardcode_direct_absolute=no
11089 ;;
11090 esac
11091
11092 if test yes = "$GCC"; then
11093 case $host_os in aix4.[012]|aix4.[012].*)
11094 # We only want to do this on AIX 4.2 and lower, the check
11095 # below for broken collect2 doesn't work under 4.3+
11096 collect2name=`$CC -print-prog-name=collect2`
11097 if test -f "$collect2name" &&
11098 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11099 then
11100 # We have reworked collect2
11101 :
11102 else
11103 # We have old collect2
11104 hardcode_direct=unsupported
11105 # It fails to find uninstalled libraries when the uninstalled
11106 # path is not listed in the libpath. Setting hardcode_minus_L
11107 # to unsupported forces relinking
11108 hardcode_minus_L=yes
11109 hardcode_libdir_flag_spec='-L$libdir'
11110 hardcode_libdir_separator=
11111 fi
11112 ;;
11113 esac
11114 shared_flag='-shared'
11115 if test yes = "$aix_use_runtimelinking"; then
11116 shared_flag="$shared_flag "'$wl-G'
11117 fi
11118 # Need to ensure runtime linking is disabled for the traditional
11119 # shared library, or the linker may eventually find shared libraries
11120 # /with/ Import File - we do not want to mix them.
11121 shared_flag_aix='-shared'
11122 shared_flag_svr4='-shared $wl-G'
11123 else
11124 # not using gcc
11125 if test ia64 = "$host_cpu"; then
11126 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11127 # chokes on -Wl,-G. The following line is correct:
11128 shared_flag='-G'
11129 else
11130 if test yes = "$aix_use_runtimelinking"; then
11131 shared_flag='$wl-G'
11132 else
11133 shared_flag='$wl-bM:SRE'
11134 fi
11135 shared_flag_aix='$wl-bM:SRE'
11136 shared_flag_svr4='$wl-G'
11137 fi
11138 fi
11139
11140 export_dynamic_flag_spec='$wl-bexpall'
11141 # It seems that -bexpall does not export symbols beginning with
11142 # underscore (_), so it is better to generate a list of symbols to export.
11143 always_export_symbols=yes
11144 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11145 # Warning - without using the other runtime loading flags (-brtl),
11146 # -berok will link without error, but may produce a broken library.
11147 allow_undefined_flag='-berok'
11148 # Determine the default libpath from the value encoded in an
11149 # empty executable.
11150 if test set = "${lt_cv_aix_libpath+set}"; then
11151 aix_libpath=$lt_cv_aix_libpath
11152 else
11153 if ${lt_cv_aix_libpath_+:} false; then :
11154 $as_echo_n "(cached) " >&6
11155 else
11156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11157 /* end confdefs.h. */
11158
11159 int
11160 main ()
11161 {
11162
11163 ;
11164 return 0;
11165 }
11166 _ACEOF
11167 if ac_fn_c_try_link "$LINENO"; then :
11168
11169 lt_aix_libpath_sed='
11170 /Import File Strings/,/^$/ {
11171 /^0/ {
11172 s/^0 *\([^ ]*\) *$/\1/
11173 p
11174 }
11175 }'
11176 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11177 # Check for a 64-bit object if we didn't find anything.
11178 if test -z "$lt_cv_aix_libpath_"; then
11179 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11180 fi
11181 fi
11182 rm -f core conftest.err conftest.$ac_objext \
11183 conftest$ac_exeext conftest.$ac_ext
11184 if test -z "$lt_cv_aix_libpath_"; then
11185 lt_cv_aix_libpath_=/usr/lib:/lib
11186 fi
11187
11188 fi
11189
11190 aix_libpath=$lt_cv_aix_libpath_
11191 fi
11192
11193 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11194 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
11195 else
11196 if test ia64 = "$host_cpu"; then
11197 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11198 allow_undefined_flag="-z nodefs"
11199 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
11200 else
11201 # Determine the default libpath from the value encoded in an
11202 # empty executable.
11203 if test set = "${lt_cv_aix_libpath+set}"; then
11204 aix_libpath=$lt_cv_aix_libpath
11205 else
11206 if ${lt_cv_aix_libpath_+:} false; then :
11207 $as_echo_n "(cached) " >&6
11208 else
11209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11210 /* end confdefs.h. */
11211
11212 int
11213 main ()
11214 {
11215
11216 ;
11217 return 0;
11218 }
11219 _ACEOF
11220 if ac_fn_c_try_link "$LINENO"; then :
11221
11222 lt_aix_libpath_sed='
11223 /Import File Strings/,/^$/ {
11224 /^0/ {
11225 s/^0 *\([^ ]*\) *$/\1/
11226 p
11227 }
11228 }'
11229 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11230 # Check for a 64-bit object if we didn't find anything.
11231 if test -z "$lt_cv_aix_libpath_"; then
11232 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11233 fi
11234 fi
11235 rm -f core conftest.err conftest.$ac_objext \
11236 conftest$ac_exeext conftest.$ac_ext
11237 if test -z "$lt_cv_aix_libpath_"; then
11238 lt_cv_aix_libpath_=/usr/lib:/lib
11239 fi
11240
11241 fi
11242
11243 aix_libpath=$lt_cv_aix_libpath_
11244 fi
11245
11246 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11247 # Warning - without using the other run time loading flags,
11248 # -berok will link without error, but may produce a broken library.
11249 no_undefined_flag=' $wl-bernotok'
11250 allow_undefined_flag=' $wl-berok'
11251 if test yes = "$with_gnu_ld"; then
11252 # We only use this code for GNU lds that support --whole-archive.
11253 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11254 else
11255 # Exported symbols can be pulled into shared objects from archives
11256 whole_archive_flag_spec='$convenience'
11257 fi
11258 archive_cmds_need_lc=yes
11259 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11260 # -brtl affects multiple linker settings, -berok does not and is overridden later
11261 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11262 if test svr4 != "$with_aix_soname"; then
11263 # This is similar to how AIX traditionally builds its shared libraries.
11264 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
11265 fi
11266 if test aix != "$with_aix_soname"; then
11267 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
11268 else
11269 # used by -dlpreopen to get the symbols
11270 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
11271 fi
11272 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11273 fi
11274 fi
11275 ;;
11276
11277 amigaos*)
11278 case $host_cpu in
11279 powerpc)
11280 # see comment about AmigaOS4 .so support
11281 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11282 archive_expsym_cmds=''
11283 ;;
11284 m68k)
11285 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
11286 hardcode_libdir_flag_spec='-L$libdir'
11287 hardcode_minus_L=yes
11288 ;;
11289 esac
11290 ;;
11291
11292 bsdi[45]*)
11293 export_dynamic_flag_spec=-rdynamic
11294 ;;
11295
11296 cygwin* | mingw* | pw32* | cegcc*)
11297 # When not using gcc, we currently assume that we are using
11298 # Microsoft Visual C++.
11299 # hardcode_libdir_flag_spec is actually meaningless, as there is
11300 # no search path for DLLs.
11301 case $cc_basename in
11302 cl*)
11303 # Native MSVC
11304 hardcode_libdir_flag_spec=' '
11305 allow_undefined_flag=unsupported
11306 always_export_symbols=yes
11307 file_list_spec='@'
11308 # Tell ltmain to make .lib files, not .a files.
11309 libext=lib
11310 # Tell ltmain to make .dll files, not .so files.
11311 shrext_cmds=.dll
11312 # FIXME: Setting linknames here is a bad hack.
11313 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11314 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11315 cp "$export_symbols" "$output_objdir/$soname.def";
11316 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11317 else
11318 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11319 fi~
11320 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11321 linknames='
11322 # The linker will not automatically build a static lib if we build a DLL.
11323 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11324 enable_shared_with_static_runtimes=yes
11325 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11326 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11327 # Don't use ranlib
11328 old_postinstall_cmds='chmod 644 $oldlib'
11329 postlink_cmds='lt_outputfile="@OUTPUT@"~
11330 lt_tool_outputfile="@TOOL_OUTPUT@"~
11331 case $lt_outputfile in
11332 *.exe|*.EXE) ;;
11333 *)
11334 lt_outputfile=$lt_outputfile.exe
11335 lt_tool_outputfile=$lt_tool_outputfile.exe
11336 ;;
11337 esac~
11338 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11339 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11340 $RM "$lt_outputfile.manifest";
11341 fi'
11342 ;;
11343 *)
11344 # Assume MSVC wrapper
11345 hardcode_libdir_flag_spec=' '
11346 allow_undefined_flag=unsupported
11347 # Tell ltmain to make .lib files, not .a files.
11348 libext=lib
11349 # Tell ltmain to make .dll files, not .so files.
11350 shrext_cmds=.dll
11351 # FIXME: Setting linknames here is a bad hack.
11352 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11353 # The linker will automatically build a .lib file if we build a DLL.
11354 old_archive_from_new_cmds='true'
11355 # FIXME: Should let the user specify the lib program.
11356 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11357 enable_shared_with_static_runtimes=yes
11358 ;;
11359 esac
11360 ;;
11361
11362 darwin* | rhapsody*)
11363
11364
11365 archive_cmds_need_lc=no
11366 hardcode_direct=no
11367 hardcode_automatic=yes
11368 hardcode_shlibpath_var=unsupported
11369 if test yes = "$lt_cv_ld_force_load"; then
11370 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
11371
11372 else
11373 whole_archive_flag_spec=''
11374 fi
11375 link_all_deplibs=yes
11376 allow_undefined_flag=$_lt_dar_allow_undefined
11377 case $cc_basename in
11378 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11379 *) _lt_dar_can_shared=$GCC ;;
11380 esac
11381 if test yes = "$_lt_dar_can_shared"; then
11382 output_verbose_link_cmd=func_echo_all
11383 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11384 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11385 archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
11386 module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
11387
11388 else
11389 ld_shlibs=no
11390 fi
11391
11392 ;;
11393
11394 dgux*)
11395 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11396 hardcode_libdir_flag_spec='-L$libdir'
11397 hardcode_shlibpath_var=no
11398 ;;
11399
11400 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11401 # support. Future versions do this automatically, but an explicit c++rt0.o
11402 # does not break anything, and helps significantly (at the cost of a little
11403 # extra space).
11404 freebsd2.2*)
11405 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11406 hardcode_libdir_flag_spec='-R$libdir'
11407 hardcode_direct=yes
11408 hardcode_shlibpath_var=no
11409 ;;
11410
11411 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11412 freebsd2.*)
11413 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11414 hardcode_direct=yes
11415 hardcode_minus_L=yes
11416 hardcode_shlibpath_var=no
11417 ;;
11418
11419 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11420 freebsd* | dragonfly*)
11421 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11422 hardcode_libdir_flag_spec='-R$libdir'
11423 hardcode_direct=yes
11424 hardcode_shlibpath_var=no
11425 ;;
11426
11427 hpux9*)
11428 if test yes = "$GCC"; then
11429 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
11430 else
11431 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
11432 fi
11433 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11434 hardcode_libdir_separator=:
11435 hardcode_direct=yes
11436
11437 # hardcode_minus_L: Not really in the search PATH,
11438 # but as the default location of the library.
11439 hardcode_minus_L=yes
11440 export_dynamic_flag_spec='$wl-E'
11441 ;;
11442
11443 hpux10*)
11444 if test yes,no = "$GCC,$with_gnu_ld"; then
11445 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11446 else
11447 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11448 fi
11449 if test no = "$with_gnu_ld"; then
11450 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11451 hardcode_libdir_separator=:
11452 hardcode_direct=yes
11453 hardcode_direct_absolute=yes
11454 export_dynamic_flag_spec='$wl-E'
11455 # hardcode_minus_L: Not really in the search PATH,
11456 # but as the default location of the library.
11457 hardcode_minus_L=yes
11458 fi
11459 ;;
11460
11461 hpux11*)
11462 if test yes,no = "$GCC,$with_gnu_ld"; then
11463 case $host_cpu in
11464 hppa*64*)
11465 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11466 ;;
11467 ia64*)
11468 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11469 ;;
11470 *)
11471 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11472 ;;
11473 esac
11474 else
11475 case $host_cpu in
11476 hppa*64*)
11477 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11478 ;;
11479 ia64*)
11480 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11481 ;;
11482 *)
11483
11484 # Older versions of the 11.00 compiler do not understand -b yet
11485 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11487 $as_echo_n "checking if $CC understands -b... " >&6; }
11488 if ${lt_cv_prog_compiler__b+:} false; then :
11489 $as_echo_n "(cached) " >&6
11490 else
11491 lt_cv_prog_compiler__b=no
11492 save_LDFLAGS=$LDFLAGS
11493 LDFLAGS="$LDFLAGS -b"
11494 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11495 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11496 # The linker can only warn and ignore the option if not recognized
11497 # So say no if there are warnings
11498 if test -s conftest.err; then
11499 # Append any errors to the config.log.
11500 cat conftest.err 1>&5
11501 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11502 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11503 if diff conftest.exp conftest.er2 >/dev/null; then
11504 lt_cv_prog_compiler__b=yes
11505 fi
11506 else
11507 lt_cv_prog_compiler__b=yes
11508 fi
11509 fi
11510 $RM -r conftest*
11511 LDFLAGS=$save_LDFLAGS
11512
11513 fi
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11515 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11516
11517 if test yes = "$lt_cv_prog_compiler__b"; then
11518 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11519 else
11520 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11521 fi
11522
11523 ;;
11524 esac
11525 fi
11526 if test no = "$with_gnu_ld"; then
11527 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11528 hardcode_libdir_separator=:
11529
11530 case $host_cpu in
11531 hppa*64*|ia64*)
11532 hardcode_direct=no
11533 hardcode_shlibpath_var=no
11534 ;;
11535 *)
11536 hardcode_direct=yes
11537 hardcode_direct_absolute=yes
11538 export_dynamic_flag_spec='$wl-E'
11539
11540 # hardcode_minus_L: Not really in the search PATH,
11541 # but as the default location of the library.
11542 hardcode_minus_L=yes
11543 ;;
11544 esac
11545 fi
11546 ;;
11547
11548 irix5* | irix6* | nonstopux*)
11549 if test yes = "$GCC"; then
11550 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
11551 # Try to use the -exported_symbol ld option, if it does not
11552 # work, assume that -exports_file does not work either and
11553 # implicitly export all symbols.
11554 # This should be the same for all languages, so no per-tag cache variable.
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11556 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11557 if ${lt_cv_irix_exported_symbol+:} false; then :
11558 $as_echo_n "(cached) " >&6
11559 else
11560 save_LDFLAGS=$LDFLAGS
11561 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11563 /* end confdefs.h. */
11564 int foo (void) { return 0; }
11565 _ACEOF
11566 if ac_fn_c_try_link "$LINENO"; then :
11567 lt_cv_irix_exported_symbol=yes
11568 else
11569 lt_cv_irix_exported_symbol=no
11570 fi
11571 rm -f core conftest.err conftest.$ac_objext \
11572 conftest$ac_exeext conftest.$ac_ext
11573 LDFLAGS=$save_LDFLAGS
11574 fi
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11576 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11577 if test yes = "$lt_cv_irix_exported_symbol"; then
11578 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
11579 fi
11580 else
11581 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
11582 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
11583 fi
11584 archive_cmds_need_lc='no'
11585 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11586 hardcode_libdir_separator=:
11587 inherit_rpath=yes
11588 link_all_deplibs=yes
11589 ;;
11590
11591 linux*)
11592 case $cc_basename in
11593 tcc*)
11594 # Fabrice Bellard et al's Tiny C Compiler
11595 ld_shlibs=yes
11596 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11597 ;;
11598 esac
11599 ;;
11600
11601 netbsd*)
11602 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11603 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11604 else
11605 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11606 fi
11607 hardcode_libdir_flag_spec='-R$libdir'
11608 hardcode_direct=yes
11609 hardcode_shlibpath_var=no
11610 ;;
11611
11612 newsos6)
11613 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11614 hardcode_direct=yes
11615 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11616 hardcode_libdir_separator=:
11617 hardcode_shlibpath_var=no
11618 ;;
11619
11620 *nto* | *qnx*)
11621 ;;
11622
11623 openbsd* | bitrig*)
11624 if test -f /usr/libexec/ld.so; then
11625 hardcode_direct=yes
11626 hardcode_shlibpath_var=no
11627 hardcode_direct_absolute=yes
11628 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11629 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11630 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11631 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11632 export_dynamic_flag_spec='$wl-E'
11633 else
11634 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11635 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11636 fi
11637 else
11638 ld_shlibs=no
11639 fi
11640 ;;
11641
11642 os2*)
11643 hardcode_libdir_flag_spec='-L$libdir'
11644 hardcode_minus_L=yes
11645 allow_undefined_flag=unsupported
11646 shrext_cmds=.dll
11647 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11648 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11649 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11650 $ECHO EXPORTS >> $output_objdir/$libname.def~
11651 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11652 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11653 emximp -o $lib $output_objdir/$libname.def'
11654 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11655 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11656 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11657 $ECHO EXPORTS >> $output_objdir/$libname.def~
11658 prefix_cmds="$SED"~
11659 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11660 prefix_cmds="$prefix_cmds -e 1d";
11661 fi~
11662 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11663 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11664 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11665 emximp -o $lib $output_objdir/$libname.def'
11666 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11667 enable_shared_with_static_runtimes=yes
11668 ;;
11669
11670 osf3*)
11671 if test yes = "$GCC"; then
11672 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11673 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
11674 else
11675 allow_undefined_flag=' -expect_unresolved \*'
11676 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
11677 fi
11678 archive_cmds_need_lc='no'
11679 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11680 hardcode_libdir_separator=:
11681 ;;
11682
11683 osf4* | osf5*) # as osf3* with the addition of -msym flag
11684 if test yes = "$GCC"; then
11685 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11686 archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
11687 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11688 else
11689 allow_undefined_flag=' -expect_unresolved \*'
11690 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
11691 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
11692 $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
11693
11694 # Both c and cxx compiler support -rpath directly
11695 hardcode_libdir_flag_spec='-rpath $libdir'
11696 fi
11697 archive_cmds_need_lc='no'
11698 hardcode_libdir_separator=:
11699 ;;
11700
11701 solaris*)
11702 no_undefined_flag=' -z defs'
11703 if test yes = "$GCC"; then
11704 wlarc='$wl'
11705 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11706 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11707 $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11708 else
11709 case `$CC -V 2>&1` in
11710 *"Compilers 5.0"*)
11711 wlarc=''
11712 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11713 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11714 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11715 ;;
11716 *)
11717 wlarc='$wl'
11718 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11719 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11720 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11721 ;;
11722 esac
11723 fi
11724 hardcode_libdir_flag_spec='-R$libdir'
11725 hardcode_shlibpath_var=no
11726 case $host_os in
11727 solaris2.[0-5] | solaris2.[0-5].*) ;;
11728 *)
11729 # The compiler driver will combine and reorder linker options,
11730 # but understands '-z linker_flag'. GCC discards it without '$wl',
11731 # but is careful enough not to reorder.
11732 # Supported since Solaris 2.6 (maybe 2.5.1?)
11733 if test yes = "$GCC"; then
11734 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11735 else
11736 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11737 fi
11738 ;;
11739 esac
11740 link_all_deplibs=yes
11741 ;;
11742
11743 sunos4*)
11744 if test sequent = "$host_vendor"; then
11745 # Use $CC to link under sequent, because it throws in some extra .o
11746 # files that make .init and .fini sections work.
11747 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11748 else
11749 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11750 fi
11751 hardcode_libdir_flag_spec='-L$libdir'
11752 hardcode_direct=yes
11753 hardcode_minus_L=yes
11754 hardcode_shlibpath_var=no
11755 ;;
11756
11757 sysv4)
11758 case $host_vendor in
11759 sni)
11760 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11761 hardcode_direct=yes # is this really true???
11762 ;;
11763 siemens)
11764 ## LD is ld it makes a PLAMLIB
11765 ## CC just makes a GrossModule.
11766 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11767 reload_cmds='$CC -r -o $output$reload_objs'
11768 hardcode_direct=no
11769 ;;
11770 motorola)
11771 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11772 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11773 ;;
11774 esac
11775 runpath_var='LD_RUN_PATH'
11776 hardcode_shlibpath_var=no
11777 ;;
11778
11779 sysv4.3*)
11780 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11781 hardcode_shlibpath_var=no
11782 export_dynamic_flag_spec='-Bexport'
11783 ;;
11784
11785 sysv4*MP*)
11786 if test -d /usr/nec; then
11787 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11788 hardcode_shlibpath_var=no
11789 runpath_var=LD_RUN_PATH
11790 hardcode_runpath_var=yes
11791 ld_shlibs=yes
11792 fi
11793 ;;
11794
11795 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11796 no_undefined_flag='$wl-z,text'
11797 archive_cmds_need_lc=no
11798 hardcode_shlibpath_var=no
11799 runpath_var='LD_RUN_PATH'
11800
11801 if test yes = "$GCC"; then
11802 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11803 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11804 else
11805 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11806 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11807 fi
11808 ;;
11809
11810 sysv5* | sco3.2v5* | sco5v6*)
11811 # Note: We CANNOT use -z defs as we might desire, because we do not
11812 # link with -lc, and that would cause any symbols used from libc to
11813 # always be unresolved, which means just about no library would
11814 # ever link correctly. If we're not using GNU ld we use -z text
11815 # though, which does catch some bad symbols but isn't as heavy-handed
11816 # as -z defs.
11817 no_undefined_flag='$wl-z,text'
11818 allow_undefined_flag='$wl-z,nodefs'
11819 archive_cmds_need_lc=no
11820 hardcode_shlibpath_var=no
11821 hardcode_libdir_flag_spec='$wl-R,$libdir'
11822 hardcode_libdir_separator=':'
11823 link_all_deplibs=yes
11824 export_dynamic_flag_spec='$wl-Bexport'
11825 runpath_var='LD_RUN_PATH'
11826
11827 if test yes = "$GCC"; then
11828 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11829 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11830 else
11831 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11832 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11833 fi
11834 ;;
11835
11836 uts4*)
11837 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11838 hardcode_libdir_flag_spec='-L$libdir'
11839 hardcode_shlibpath_var=no
11840 ;;
11841
11842 *)
11843 ld_shlibs=no
11844 ;;
11845 esac
11846
11847 if test sni = "$host_vendor"; then
11848 case $host in
11849 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11850 export_dynamic_flag_spec='$wl-Blargedynsym'
11851 ;;
11852 esac
11853 fi
11854 fi
11855
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11857 $as_echo "$ld_shlibs" >&6; }
11858 test no = "$ld_shlibs" && can_build_shared=no
11859
11860 with_gnu_ld=$with_gnu_ld
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876 #
11877 # Do we need to explicitly link libc?
11878 #
11879 case "x$archive_cmds_need_lc" in
11880 x|xyes)
11881 # Assume -lc should be added
11882 archive_cmds_need_lc=yes
11883
11884 if test yes,yes = "$GCC,$enable_shared"; then
11885 case $archive_cmds in
11886 *'~'*)
11887 # FIXME: we may have to deal with multi-command sequences.
11888 ;;
11889 '$CC '*)
11890 # Test whether the compiler implicitly links with -lc since on some
11891 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11892 # to ld, don't add -lc before -lgcc.
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11894 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11895 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11896 $as_echo_n "(cached) " >&6
11897 else
11898 $RM conftest*
11899 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11900
11901 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11902 (eval $ac_compile) 2>&5
11903 ac_status=$?
11904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11905 test $ac_status = 0; } 2>conftest.err; then
11906 soname=conftest
11907 lib=conftest
11908 libobjs=conftest.$ac_objext
11909 deplibs=
11910 wl=$lt_prog_compiler_wl
11911 pic_flag=$lt_prog_compiler_pic
11912 compiler_flags=-v
11913 linker_flags=-v
11914 verstring=
11915 output_objdir=.
11916 libname=conftest
11917 lt_save_allow_undefined_flag=$allow_undefined_flag
11918 allow_undefined_flag=
11919 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11920 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11921 ac_status=$?
11922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11923 test $ac_status = 0; }
11924 then
11925 lt_cv_archive_cmds_need_lc=no
11926 else
11927 lt_cv_archive_cmds_need_lc=yes
11928 fi
11929 allow_undefined_flag=$lt_save_allow_undefined_flag
11930 else
11931 cat conftest.err 1>&5
11932 fi
11933 $RM conftest*
11934
11935 fi
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11937 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11938 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11939 ;;
11940 esac
11941 fi
11942 ;;
11943 esac
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12097 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12098
12099 if test yes = "$GCC"; then
12100 case $host_os in
12101 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
12102 *) lt_awk_arg='/^libraries:/' ;;
12103 esac
12104 case $host_os in
12105 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
12106 *) lt_sed_strip_eq='s|=/|/|g' ;;
12107 esac
12108 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12109 case $lt_search_path_spec in
12110 *\;*)
12111 # if the path contains ";" then we assume it to be the separator
12112 # otherwise default to the standard path separator (i.e. ":") - it is
12113 # assumed that no part of a normal pathname contains ";" but that should
12114 # okay in the real world where ";" in dirpaths is itself problematic.
12115 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12116 ;;
12117 *)
12118 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12119 ;;
12120 esac
12121 # Ok, now we have the path, separated by spaces, we can step through it
12122 # and add multilib dir if necessary...
12123 lt_tmp_lt_search_path_spec=
12124 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12125 # ...but if some path component already ends with the multilib dir we assume
12126 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12127 case "$lt_multi_os_dir; $lt_search_path_spec " in
12128 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
12129 lt_multi_os_dir=
12130 ;;
12131 esac
12132 for lt_sys_path in $lt_search_path_spec; do
12133 if test -d "$lt_sys_path$lt_multi_os_dir"; then
12134 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12135 elif test -n "$lt_multi_os_dir"; then
12136 test -d "$lt_sys_path" && \
12137 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12138 fi
12139 done
12140 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12141 BEGIN {RS = " "; FS = "/|\n";} {
12142 lt_foo = "";
12143 lt_count = 0;
12144 for (lt_i = NF; lt_i > 0; lt_i--) {
12145 if ($lt_i != "" && $lt_i != ".") {
12146 if ($lt_i == "..") {
12147 lt_count++;
12148 } else {
12149 if (lt_count == 0) {
12150 lt_foo = "/" $lt_i lt_foo;
12151 } else {
12152 lt_count--;
12153 }
12154 }
12155 }
12156 }
12157 if (lt_foo != "") { lt_freq[lt_foo]++; }
12158 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12159 }'`
12160 # AWK program above erroneously prepends '/' to C:/dos/paths
12161 # for these hosts.
12162 case $host_os in
12163 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12164 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12165 esac
12166 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12167 else
12168 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12169 fi
12170 library_names_spec=
12171 libname_spec='lib$name'
12172 soname_spec=
12173 shrext_cmds=.so
12174 postinstall_cmds=
12175 postuninstall_cmds=
12176 finish_cmds=
12177 finish_eval=
12178 shlibpath_var=
12179 shlibpath_overrides_runpath=unknown
12180 version_type=none
12181 dynamic_linker="$host_os ld.so"
12182 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12183 need_lib_prefix=unknown
12184 hardcode_into_libs=no
12185
12186 # when you set need_version to no, make sure it does not cause -set_version
12187 # flags to be left without arguments
12188 need_version=unknown
12189
12190
12191
12192 case $host_os in
12193 aix3*)
12194 version_type=linux # correct to gnu/linux during the next big refactor
12195 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12196 shlibpath_var=LIBPATH
12197
12198 # AIX 3 has no versioning support, so we append a major version to the name.
12199 soname_spec='$libname$release$shared_ext$major'
12200 ;;
12201
12202 aix[4-9]*)
12203 version_type=linux # correct to gnu/linux during the next big refactor
12204 need_lib_prefix=no
12205 need_version=no
12206 hardcode_into_libs=yes
12207 if test ia64 = "$host_cpu"; then
12208 # AIX 5 supports IA64
12209 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12210 shlibpath_var=LD_LIBRARY_PATH
12211 else
12212 # With GCC up to 2.95.x, collect2 would create an import file
12213 # for dependence libraries. The import file would start with
12214 # the line '#! .'. This would cause the generated library to
12215 # depend on '.', always an invalid library. This was fixed in
12216 # development snapshots of GCC prior to 3.0.
12217 case $host_os in
12218 aix4 | aix4.[01] | aix4.[01].*)
12219 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12220 echo ' yes '
12221 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12222 :
12223 else
12224 can_build_shared=no
12225 fi
12226 ;;
12227 esac
12228 # Using Import Files as archive members, it is possible to support
12229 # filename-based versioning of shared library archives on AIX. While
12230 # this would work for both with and without runtime linking, it will
12231 # prevent static linking of such archives. So we do filename-based
12232 # shared library versioning with .so extension only, which is used
12233 # when both runtime linking and shared linking is enabled.
12234 # Unfortunately, runtime linking may impact performance, so we do
12235 # not want this to be the default eventually. Also, we use the
12236 # versioned .so libs for executables only if there is the -brtl
12237 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12238 # To allow for filename-based versioning support, we need to create
12239 # libNAME.so.V as an archive file, containing:
12240 # *) an Import File, referring to the versioned filename of the
12241 # archive as well as the shared archive member, telling the
12242 # bitwidth (32 or 64) of that shared object, and providing the
12243 # list of exported symbols of that shared object, eventually
12244 # decorated with the 'weak' keyword
12245 # *) the shared object with the F_LOADONLY flag set, to really avoid
12246 # it being seen by the linker.
12247 # At run time we better use the real file rather than another symlink,
12248 # but for link time we create the symlink libNAME.so -> libNAME.so.V
12249
12250 case $with_aix_soname,$aix_use_runtimelinking in
12251 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12252 # soname into executable. Probably we can add versioning support to
12253 # collect2, so additional links can be useful in future.
12254 aix,yes) # traditional libtool
12255 dynamic_linker='AIX unversionable lib.so'
12256 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12257 # instead of lib<name>.a to let people know that these are not
12258 # typical AIX shared libraries.
12259 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12260 ;;
12261 aix,no) # traditional AIX only
12262 dynamic_linker='AIX lib.a(lib.so.V)'
12263 # We preserve .a as extension for shared libraries through AIX4.2
12264 # and later when we are not doing run time linking.
12265 library_names_spec='$libname$release.a $libname.a'
12266 soname_spec='$libname$release$shared_ext$major'
12267 ;;
12268 svr4,*) # full svr4 only
12269 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12270 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12271 # We do not specify a path in Import Files, so LIBPATH fires.
12272 shlibpath_overrides_runpath=yes
12273 ;;
12274 *,yes) # both, prefer svr4
12275 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12276 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12277 # unpreferred sharedlib libNAME.a needs extra handling
12278 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
12279 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
12280 # We do not specify a path in Import Files, so LIBPATH fires.
12281 shlibpath_overrides_runpath=yes
12282 ;;
12283 *,no) # both, prefer aix
12284 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12285 library_names_spec='$libname$release.a $libname.a'
12286 soname_spec='$libname$release$shared_ext$major'
12287 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12288 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
12289 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
12290 ;;
12291 esac
12292 shlibpath_var=LIBPATH
12293 fi
12294 ;;
12295
12296 amigaos*)
12297 case $host_cpu in
12298 powerpc)
12299 # Since July 2007 AmigaOS4 officially supports .so libraries.
12300 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12301 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12302 ;;
12303 m68k)
12304 library_names_spec='$libname.ixlibrary $libname.a'
12305 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12306 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
12307 ;;
12308 esac
12309 ;;
12310
12311 beos*)
12312 library_names_spec='$libname$shared_ext'
12313 dynamic_linker="$host_os ld.so"
12314 shlibpath_var=LIBRARY_PATH
12315 ;;
12316
12317 bsdi[45]*)
12318 version_type=linux # correct to gnu/linux during the next big refactor
12319 need_version=no
12320 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12321 soname_spec='$libname$release$shared_ext$major'
12322 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12323 shlibpath_var=LD_LIBRARY_PATH
12324 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12325 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12326 # the default ld.so.conf also contains /usr/contrib/lib and
12327 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12328 # libtool to hard-code these into programs
12329 ;;
12330
12331 cygwin* | mingw* | pw32* | cegcc*)
12332 version_type=windows
12333 shrext_cmds=.dll
12334 need_version=no
12335 need_lib_prefix=no
12336
12337 case $GCC,$cc_basename in
12338 yes,*)
12339 # gcc
12340 library_names_spec='$libname.dll.a'
12341 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12342 postinstall_cmds='base_file=`basename \$file`~
12343 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12344 dldir=$destdir/`dirname \$dlpath`~
12345 test -d \$dldir || mkdir -p \$dldir~
12346 $install_prog $dir/$dlname \$dldir/$dlname~
12347 chmod a+x \$dldir/$dlname~
12348 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12349 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12350 fi'
12351 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12352 dlpath=$dir/\$dldll~
12353 $RM \$dlpath'
12354 shlibpath_overrides_runpath=yes
12355
12356 case $host_os in
12357 cygwin*)
12358 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12359 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12360
12361 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12362 ;;
12363 mingw* | cegcc*)
12364 # MinGW DLLs use traditional 'lib' prefix
12365 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12366 ;;
12367 pw32*)
12368 # pw32 DLLs use 'pw' prefix rather than 'lib'
12369 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12370 ;;
12371 esac
12372 dynamic_linker='Win32 ld.exe'
12373 ;;
12374
12375 *,cl*)
12376 # Native MSVC
12377 libname_spec='$name'
12378 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12379 library_names_spec='$libname.dll.lib'
12380
12381 case $build_os in
12382 mingw*)
12383 sys_lib_search_path_spec=
12384 lt_save_ifs=$IFS
12385 IFS=';'
12386 for lt_path in $LIB
12387 do
12388 IFS=$lt_save_ifs
12389 # Let DOS variable expansion print the short 8.3 style file name.
12390 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12391 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12392 done
12393 IFS=$lt_save_ifs
12394 # Convert to MSYS style.
12395 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12396 ;;
12397 cygwin*)
12398 # Convert to unix form, then to dos form, then back to unix form
12399 # but this time dos style (no spaces!) so that the unix form looks
12400 # like /cygdrive/c/PROGRA~1:/cygdr...
12401 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12402 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12403 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12404 ;;
12405 *)
12406 sys_lib_search_path_spec=$LIB
12407 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12408 # It is most probably a Windows format PATH.
12409 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12410 else
12411 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12412 fi
12413 # FIXME: find the short name or the path components, as spaces are
12414 # common. (e.g. "Program Files" -> "PROGRA~1")
12415 ;;
12416 esac
12417
12418 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12419 postinstall_cmds='base_file=`basename \$file`~
12420 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12421 dldir=$destdir/`dirname \$dlpath`~
12422 test -d \$dldir || mkdir -p \$dldir~
12423 $install_prog $dir/$dlname \$dldir/$dlname'
12424 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12425 dlpath=$dir/\$dldll~
12426 $RM \$dlpath'
12427 shlibpath_overrides_runpath=yes
12428 dynamic_linker='Win32 link.exe'
12429 ;;
12430
12431 *)
12432 # Assume MSVC wrapper
12433 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12434 dynamic_linker='Win32 ld.exe'
12435 ;;
12436 esac
12437 # FIXME: first we should search . and the directory the executable is in
12438 shlibpath_var=PATH
12439 ;;
12440
12441 darwin* | rhapsody*)
12442 dynamic_linker="$host_os dyld"
12443 version_type=darwin
12444 need_lib_prefix=no
12445 need_version=no
12446 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12447 soname_spec='$libname$release$major$shared_ext'
12448 shlibpath_overrides_runpath=yes
12449 shlibpath_var=DYLD_LIBRARY_PATH
12450 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12451
12452 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12453 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12454 ;;
12455
12456 dgux*)
12457 version_type=linux # correct to gnu/linux during the next big refactor
12458 need_lib_prefix=no
12459 need_version=no
12460 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12461 soname_spec='$libname$release$shared_ext$major'
12462 shlibpath_var=LD_LIBRARY_PATH
12463 ;;
12464
12465 freebsd* | dragonfly*)
12466 # DragonFly does not have aout. When/if they implement a new
12467 # versioning mechanism, adjust this.
12468 if test -x /usr/bin/objformat; then
12469 objformat=`/usr/bin/objformat`
12470 else
12471 case $host_os in
12472 freebsd[23].*) objformat=aout ;;
12473 *) objformat=elf ;;
12474 esac
12475 fi
12476 version_type=freebsd-$objformat
12477 case $version_type in
12478 freebsd-elf*)
12479 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12480 soname_spec='$libname$release$shared_ext$major'
12481 need_version=no
12482 need_lib_prefix=no
12483 ;;
12484 freebsd-*)
12485 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12486 need_version=yes
12487 ;;
12488 esac
12489 shlibpath_var=LD_LIBRARY_PATH
12490 case $host_os in
12491 freebsd2.*)
12492 shlibpath_overrides_runpath=yes
12493 ;;
12494 freebsd3.[01]* | freebsdelf3.[01]*)
12495 shlibpath_overrides_runpath=yes
12496 hardcode_into_libs=yes
12497 ;;
12498 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12499 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12500 shlibpath_overrides_runpath=no
12501 hardcode_into_libs=yes
12502 ;;
12503 *) # from 4.6 on, and DragonFly
12504 shlibpath_overrides_runpath=yes
12505 hardcode_into_libs=yes
12506 ;;
12507 esac
12508 ;;
12509
12510 haiku*)
12511 version_type=linux # correct to gnu/linux during the next big refactor
12512 need_lib_prefix=no
12513 need_version=no
12514 dynamic_linker="$host_os runtime_loader"
12515 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12516 soname_spec='$libname$release$shared_ext$major'
12517 shlibpath_var=LIBRARY_PATH
12518 shlibpath_overrides_runpath=no
12519 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12520 hardcode_into_libs=yes
12521 ;;
12522
12523 hpux9* | hpux10* | hpux11*)
12524 # Give a soname corresponding to the major version so that dld.sl refuses to
12525 # link against other versions.
12526 version_type=sunos
12527 need_lib_prefix=no
12528 need_version=no
12529 case $host_cpu in
12530 ia64*)
12531 shrext_cmds='.so'
12532 hardcode_into_libs=yes
12533 dynamic_linker="$host_os dld.so"
12534 shlibpath_var=LD_LIBRARY_PATH
12535 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12536 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12537 soname_spec='$libname$release$shared_ext$major'
12538 if test 32 = "$HPUX_IA64_MODE"; then
12539 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12540 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12541 else
12542 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12543 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12544 fi
12545 ;;
12546 hppa*64*)
12547 shrext_cmds='.sl'
12548 hardcode_into_libs=yes
12549 dynamic_linker="$host_os dld.sl"
12550 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12551 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12552 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12553 soname_spec='$libname$release$shared_ext$major'
12554 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12555 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12556 ;;
12557 *)
12558 shrext_cmds='.sl'
12559 dynamic_linker="$host_os dld.sl"
12560 shlibpath_var=SHLIB_PATH
12561 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12562 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12563 soname_spec='$libname$release$shared_ext$major'
12564 ;;
12565 esac
12566 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12567 postinstall_cmds='chmod 555 $lib'
12568 # or fails outright, so override atomically:
12569 install_override_mode=555
12570 ;;
12571
12572 interix[3-9]*)
12573 version_type=linux # correct to gnu/linux during the next big refactor
12574 need_lib_prefix=no
12575 need_version=no
12576 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12577 soname_spec='$libname$release$shared_ext$major'
12578 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12579 shlibpath_var=LD_LIBRARY_PATH
12580 shlibpath_overrides_runpath=no
12581 hardcode_into_libs=yes
12582 ;;
12583
12584 irix5* | irix6* | nonstopux*)
12585 case $host_os in
12586 nonstopux*) version_type=nonstopux ;;
12587 *)
12588 if test yes = "$lt_cv_prog_gnu_ld"; then
12589 version_type=linux # correct to gnu/linux during the next big refactor
12590 else
12591 version_type=irix
12592 fi ;;
12593 esac
12594 need_lib_prefix=no
12595 need_version=no
12596 soname_spec='$libname$release$shared_ext$major'
12597 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12598 case $host_os in
12599 irix5* | nonstopux*)
12600 libsuff= shlibsuff=
12601 ;;
12602 *)
12603 case $LD in # libtool.m4 will add one of these switches to LD
12604 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12605 libsuff= shlibsuff= libmagic=32-bit;;
12606 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12607 libsuff=32 shlibsuff=N32 libmagic=N32;;
12608 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12609 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12610 *) libsuff= shlibsuff= libmagic=never-match;;
12611 esac
12612 ;;
12613 esac
12614 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12615 shlibpath_overrides_runpath=no
12616 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12617 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12618 hardcode_into_libs=yes
12619 ;;
12620
12621 # No shared lib support for Linux oldld, aout, or coff.
12622 linux*oldld* | linux*aout* | linux*coff*)
12623 dynamic_linker=no
12624 ;;
12625
12626 linux*android*)
12627 version_type=none # Android doesn't support versioned libraries.
12628 need_lib_prefix=no
12629 need_version=no
12630 library_names_spec='$libname$release$shared_ext'
12631 soname_spec='$libname$release$shared_ext'
12632 finish_cmds=
12633 shlibpath_var=LD_LIBRARY_PATH
12634 shlibpath_overrides_runpath=yes
12635
12636 # This implies no fast_install, which is unacceptable.
12637 # Some rework will be needed to allow for fast_install
12638 # before this can be enabled.
12639 hardcode_into_libs=yes
12640
12641 dynamic_linker='Android linker'
12642 # Don't embed -rpath directories since the linker doesn't support them.
12643 hardcode_libdir_flag_spec='-L$libdir'
12644 ;;
12645
12646 # This must be glibc/ELF.
12647 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12648 version_type=linux # correct to gnu/linux during the next big refactor
12649 need_lib_prefix=no
12650 need_version=no
12651 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12652 soname_spec='$libname$release$shared_ext$major'
12653 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12654 shlibpath_var=LD_LIBRARY_PATH
12655 shlibpath_overrides_runpath=no
12656
12657 # Some binutils ld are patched to set DT_RUNPATH
12658 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12659 $as_echo_n "(cached) " >&6
12660 else
12661 lt_cv_shlibpath_overrides_runpath=no
12662 save_LDFLAGS=$LDFLAGS
12663 save_libdir=$libdir
12664 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12665 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12667 /* end confdefs.h. */
12668
12669 int
12670 main ()
12671 {
12672
12673 ;
12674 return 0;
12675 }
12676 _ACEOF
12677 if ac_fn_c_try_link "$LINENO"; then :
12678 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12679 lt_cv_shlibpath_overrides_runpath=yes
12680 fi
12681 fi
12682 rm -f core conftest.err conftest.$ac_objext \
12683 conftest$ac_exeext conftest.$ac_ext
12684 LDFLAGS=$save_LDFLAGS
12685 libdir=$save_libdir
12686
12687 fi
12688
12689 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12690
12691 # This implies no fast_install, which is unacceptable.
12692 # Some rework will be needed to allow for fast_install
12693 # before this can be enabled.
12694 hardcode_into_libs=yes
12695
12696 # Add ABI-specific directories to the system library path.
12697 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
12698
12699 # Ideally, we could use ldconfig to report *all* directores which are
12700 # searched for libraries, however this is still not possible. Aside from not
12701 # being certain /sbin/ldconfig is available, command
12702 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12703 # even though it is searched at run-time. Try to do the best guess by
12704 # appending ld.so.conf contents (and includes) to the search path.
12705 if test -f /etc/ld.so.conf; then
12706 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
12707 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12708 fi
12709
12710 # We used to test for /lib/ld.so.1 and disable shared libraries on
12711 # powerpc, because MkLinux only supported shared libraries with the
12712 # GNU dynamic linker. Since this was broken with cross compilers,
12713 # most powerpc-linux boxes support dynamic linking these days and
12714 # people can always --disable-shared, the test was removed, and we
12715 # assume the GNU/Linux dynamic linker is in use.
12716 dynamic_linker='GNU/Linux ld.so'
12717 ;;
12718
12719 netbsd*)
12720 version_type=sunos
12721 need_lib_prefix=no
12722 need_version=no
12723 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12724 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12725 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12726 dynamic_linker='NetBSD (a.out) ld.so'
12727 else
12728 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12729 soname_spec='$libname$release$shared_ext$major'
12730 dynamic_linker='NetBSD ld.elf_so'
12731 fi
12732 shlibpath_var=LD_LIBRARY_PATH
12733 shlibpath_overrides_runpath=yes
12734 hardcode_into_libs=yes
12735 ;;
12736
12737 newsos6)
12738 version_type=linux # correct to gnu/linux during the next big refactor
12739 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12740 shlibpath_var=LD_LIBRARY_PATH
12741 shlibpath_overrides_runpath=yes
12742 ;;
12743
12744 *nto* | *qnx*)
12745 version_type=qnx
12746 need_lib_prefix=no
12747 need_version=no
12748 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12749 soname_spec='$libname$release$shared_ext$major'
12750 shlibpath_var=LD_LIBRARY_PATH
12751 shlibpath_overrides_runpath=no
12752 hardcode_into_libs=yes
12753 dynamic_linker='ldqnx.so'
12754 ;;
12755
12756 openbsd* | bitrig*)
12757 version_type=sunos
12758 sys_lib_dlsearch_path_spec=/usr/lib
12759 need_lib_prefix=no
12760 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12761 need_version=no
12762 else
12763 need_version=yes
12764 fi
12765 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12766 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12767 shlibpath_var=LD_LIBRARY_PATH
12768 shlibpath_overrides_runpath=yes
12769 ;;
12770
12771 os2*)
12772 libname_spec='$name'
12773 version_type=windows
12774 shrext_cmds=.dll
12775 need_version=no
12776 need_lib_prefix=no
12777 # OS/2 can only load a DLL with a base name of 8 characters or less.
12778 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12779 v=$($ECHO $release$versuffix | tr -d .-);
12780 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12781 $ECHO $n$v`$shared_ext'
12782 library_names_spec='${libname}_dll.$libext'
12783 dynamic_linker='OS/2 ld.exe'
12784 shlibpath_var=BEGINLIBPATH
12785 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12786 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12787 postinstall_cmds='base_file=`basename \$file`~
12788 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12789 dldir=$destdir/`dirname \$dlpath`~
12790 test -d \$dldir || mkdir -p \$dldir~
12791 $install_prog $dir/$dlname \$dldir/$dlname~
12792 chmod a+x \$dldir/$dlname~
12793 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12794 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12795 fi'
12796 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12797 dlpath=$dir/\$dldll~
12798 $RM \$dlpath'
12799 ;;
12800
12801 osf3* | osf4* | osf5*)
12802 version_type=osf
12803 need_lib_prefix=no
12804 need_version=no
12805 soname_spec='$libname$release$shared_ext$major'
12806 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12807 shlibpath_var=LD_LIBRARY_PATH
12808 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12809 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12810 ;;
12811
12812 rdos*)
12813 dynamic_linker=no
12814 ;;
12815
12816 solaris*)
12817 version_type=linux # correct to gnu/linux during the next big refactor
12818 need_lib_prefix=no
12819 need_version=no
12820 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12821 soname_spec='$libname$release$shared_ext$major'
12822 shlibpath_var=LD_LIBRARY_PATH
12823 shlibpath_overrides_runpath=yes
12824 hardcode_into_libs=yes
12825 # ldd complains unless libraries are executable
12826 postinstall_cmds='chmod +x $lib'
12827 ;;
12828
12829 sunos4*)
12830 version_type=sunos
12831 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12832 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12833 shlibpath_var=LD_LIBRARY_PATH
12834 shlibpath_overrides_runpath=yes
12835 if test yes = "$with_gnu_ld"; then
12836 need_lib_prefix=no
12837 fi
12838 need_version=yes
12839 ;;
12840
12841 sysv4 | sysv4.3*)
12842 version_type=linux # correct to gnu/linux during the next big refactor
12843 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12844 soname_spec='$libname$release$shared_ext$major'
12845 shlibpath_var=LD_LIBRARY_PATH
12846 case $host_vendor in
12847 sni)
12848 shlibpath_overrides_runpath=no
12849 need_lib_prefix=no
12850 runpath_var=LD_RUN_PATH
12851 ;;
12852 siemens)
12853 need_lib_prefix=no
12854 ;;
12855 motorola)
12856 need_lib_prefix=no
12857 need_version=no
12858 shlibpath_overrides_runpath=no
12859 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12860 ;;
12861 esac
12862 ;;
12863
12864 sysv4*MP*)
12865 if test -d /usr/nec; then
12866 version_type=linux # correct to gnu/linux during the next big refactor
12867 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12868 soname_spec='$libname$shared_ext.$major'
12869 shlibpath_var=LD_LIBRARY_PATH
12870 fi
12871 ;;
12872
12873 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12874 version_type=sco
12875 need_lib_prefix=no
12876 need_version=no
12877 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12878 soname_spec='$libname$release$shared_ext$major'
12879 shlibpath_var=LD_LIBRARY_PATH
12880 shlibpath_overrides_runpath=yes
12881 hardcode_into_libs=yes
12882 if test yes = "$with_gnu_ld"; then
12883 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12884 else
12885 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12886 case $host_os in
12887 sco3.2v5*)
12888 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12889 ;;
12890 esac
12891 fi
12892 sys_lib_dlsearch_path_spec='/usr/lib'
12893 ;;
12894
12895 tpf*)
12896 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12897 version_type=linux # correct to gnu/linux during the next big refactor
12898 need_lib_prefix=no
12899 need_version=no
12900 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12901 shlibpath_var=LD_LIBRARY_PATH
12902 shlibpath_overrides_runpath=no
12903 hardcode_into_libs=yes
12904 ;;
12905
12906 uts4*)
12907 version_type=linux # correct to gnu/linux during the next big refactor
12908 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12909 soname_spec='$libname$release$shared_ext$major'
12910 shlibpath_var=LD_LIBRARY_PATH
12911 ;;
12912
12913 *)
12914 dynamic_linker=no
12915 ;;
12916 esac
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12918 $as_echo "$dynamic_linker" >&6; }
12919 test no = "$dynamic_linker" && can_build_shared=no
12920
12921 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12922 if test yes = "$GCC"; then
12923 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12924 fi
12925
12926 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12927 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12928 fi
12929
12930 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12931 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12932 fi
12933
12934 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12935 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12936
12937 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12938 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12939
12940 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12941 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13040 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13041 hardcode_action=
13042 if test -n "$hardcode_libdir_flag_spec" ||
13043 test -n "$runpath_var" ||
13044 test yes = "$hardcode_automatic"; then
13045
13046 # We can hardcode non-existent directories.
13047 if test no != "$hardcode_direct" &&
13048 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13049 # have to relink, otherwise we might link with an installed library
13050 # when we should be linking with a yet-to-be-installed one
13051 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
13052 test no != "$hardcode_minus_L"; then
13053 # Linking always hardcodes the temporary library directory.
13054 hardcode_action=relink
13055 else
13056 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13057 hardcode_action=immediate
13058 fi
13059 else
13060 # We cannot hardcode anything, or else we can only hardcode existing
13061 # directories.
13062 hardcode_action=unsupported
13063 fi
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13065 $as_echo "$hardcode_action" >&6; }
13066
13067 if test relink = "$hardcode_action" ||
13068 test yes = "$inherit_rpath"; then
13069 # Fast installation is not supported
13070 enable_fast_install=no
13071 elif test yes = "$shlibpath_overrides_runpath" ||
13072 test no = "$enable_shared"; then
13073 # Fast installation is not necessary
13074 enable_fast_install=needless
13075 fi
13076
13077
13078
13079
13080
13081
13082 if test yes != "$enable_dlopen"; then
13083 enable_dlopen=unknown
13084 enable_dlopen_self=unknown
13085 enable_dlopen_self_static=unknown
13086 else
13087 lt_cv_dlopen=no
13088 lt_cv_dlopen_libs=
13089
13090 case $host_os in
13091 beos*)
13092 lt_cv_dlopen=load_add_on
13093 lt_cv_dlopen_libs=
13094 lt_cv_dlopen_self=yes
13095 ;;
13096
13097 mingw* | pw32* | cegcc*)
13098 lt_cv_dlopen=LoadLibrary
13099 lt_cv_dlopen_libs=
13100 ;;
13101
13102 cygwin*)
13103 lt_cv_dlopen=dlopen
13104 lt_cv_dlopen_libs=
13105 ;;
13106
13107 darwin*)
13108 # if libdl is installed we need to link against it
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13110 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13111 if ${ac_cv_lib_dl_dlopen+:} false; then :
13112 $as_echo_n "(cached) " >&6
13113 else
13114 ac_check_lib_save_LIBS=$LIBS
13115 LIBS="-ldl $LIBS"
13116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13117 /* end confdefs.h. */
13118
13119 /* Override any GCC internal prototype to avoid an error.
13120 Use char because int might match the return type of a GCC
13121 builtin and then its argument prototype would still apply. */
13122 #ifdef __cplusplus
13123 extern "C"
13124 #endif
13125 char dlopen ();
13126 int
13127 main ()
13128 {
13129 return dlopen ();
13130 ;
13131 return 0;
13132 }
13133 _ACEOF
13134 if ac_fn_c_try_link "$LINENO"; then :
13135 ac_cv_lib_dl_dlopen=yes
13136 else
13137 ac_cv_lib_dl_dlopen=no
13138 fi
13139 rm -f core conftest.err conftest.$ac_objext \
13140 conftest$ac_exeext conftest.$ac_ext
13141 LIBS=$ac_check_lib_save_LIBS
13142 fi
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13144 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13145 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13146 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13147 else
13148
13149 lt_cv_dlopen=dyld
13150 lt_cv_dlopen_libs=
13151 lt_cv_dlopen_self=yes
13152
13153 fi
13154
13155 ;;
13156
13157 tpf*)
13158 # Don't try to run any link tests for TPF. We know it's impossible
13159 # because TPF is a cross-compiler, and we know how we open DSOs.
13160 lt_cv_dlopen=dlopen
13161 lt_cv_dlopen_libs=
13162 lt_cv_dlopen_self=no
13163 ;;
13164
13165 *)
13166 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13167 if test "x$ac_cv_func_shl_load" = xyes; then :
13168 lt_cv_dlopen=shl_load
13169 else
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13171 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13172 if ${ac_cv_lib_dld_shl_load+:} false; then :
13173 $as_echo_n "(cached) " >&6
13174 else
13175 ac_check_lib_save_LIBS=$LIBS
13176 LIBS="-ldld $LIBS"
13177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13178 /* end confdefs.h. */
13179
13180 /* Override any GCC internal prototype to avoid an error.
13181 Use char because int might match the return type of a GCC
13182 builtin and then its argument prototype would still apply. */
13183 #ifdef __cplusplus
13184 extern "C"
13185 #endif
13186 char shl_load ();
13187 int
13188 main ()
13189 {
13190 return shl_load ();
13191 ;
13192 return 0;
13193 }
13194 _ACEOF
13195 if ac_fn_c_try_link "$LINENO"; then :
13196 ac_cv_lib_dld_shl_load=yes
13197 else
13198 ac_cv_lib_dld_shl_load=no
13199 fi
13200 rm -f core conftest.err conftest.$ac_objext \
13201 conftest$ac_exeext conftest.$ac_ext
13202 LIBS=$ac_check_lib_save_LIBS
13203 fi
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13205 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13206 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13207 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
13208 else
13209 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13210 if test "x$ac_cv_func_dlopen" = xyes; then :
13211 lt_cv_dlopen=dlopen
13212 else
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13214 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13215 if ${ac_cv_lib_dl_dlopen+:} false; then :
13216 $as_echo_n "(cached) " >&6
13217 else
13218 ac_check_lib_save_LIBS=$LIBS
13219 LIBS="-ldl $LIBS"
13220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13221 /* end confdefs.h. */
13222
13223 /* Override any GCC internal prototype to avoid an error.
13224 Use char because int might match the return type of a GCC
13225 builtin and then its argument prototype would still apply. */
13226 #ifdef __cplusplus
13227 extern "C"
13228 #endif
13229 char dlopen ();
13230 int
13231 main ()
13232 {
13233 return dlopen ();
13234 ;
13235 return 0;
13236 }
13237 _ACEOF
13238 if ac_fn_c_try_link "$LINENO"; then :
13239 ac_cv_lib_dl_dlopen=yes
13240 else
13241 ac_cv_lib_dl_dlopen=no
13242 fi
13243 rm -f core conftest.err conftest.$ac_objext \
13244 conftest$ac_exeext conftest.$ac_ext
13245 LIBS=$ac_check_lib_save_LIBS
13246 fi
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13248 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13249 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13250 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13251 else
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13253 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13254 if ${ac_cv_lib_svld_dlopen+:} false; then :
13255 $as_echo_n "(cached) " >&6
13256 else
13257 ac_check_lib_save_LIBS=$LIBS
13258 LIBS="-lsvld $LIBS"
13259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13260 /* end confdefs.h. */
13261
13262 /* Override any GCC internal prototype to avoid an error.
13263 Use char because int might match the return type of a GCC
13264 builtin and then its argument prototype would still apply. */
13265 #ifdef __cplusplus
13266 extern "C"
13267 #endif
13268 char dlopen ();
13269 int
13270 main ()
13271 {
13272 return dlopen ();
13273 ;
13274 return 0;
13275 }
13276 _ACEOF
13277 if ac_fn_c_try_link "$LINENO"; then :
13278 ac_cv_lib_svld_dlopen=yes
13279 else
13280 ac_cv_lib_svld_dlopen=no
13281 fi
13282 rm -f core conftest.err conftest.$ac_objext \
13283 conftest$ac_exeext conftest.$ac_ext
13284 LIBS=$ac_check_lib_save_LIBS
13285 fi
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13287 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13288 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13289 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
13290 else
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13292 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13293 if ${ac_cv_lib_dld_dld_link+:} false; then :
13294 $as_echo_n "(cached) " >&6
13295 else
13296 ac_check_lib_save_LIBS=$LIBS
13297 LIBS="-ldld $LIBS"
13298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13299 /* end confdefs.h. */
13300
13301 /* Override any GCC internal prototype to avoid an error.
13302 Use char because int might match the return type of a GCC
13303 builtin and then its argument prototype would still apply. */
13304 #ifdef __cplusplus
13305 extern "C"
13306 #endif
13307 char dld_link ();
13308 int
13309 main ()
13310 {
13311 return dld_link ();
13312 ;
13313 return 0;
13314 }
13315 _ACEOF
13316 if ac_fn_c_try_link "$LINENO"; then :
13317 ac_cv_lib_dld_dld_link=yes
13318 else
13319 ac_cv_lib_dld_dld_link=no
13320 fi
13321 rm -f core conftest.err conftest.$ac_objext \
13322 conftest$ac_exeext conftest.$ac_ext
13323 LIBS=$ac_check_lib_save_LIBS
13324 fi
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13326 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13327 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13328 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
13329 fi
13330
13331
13332 fi
13333
13334
13335 fi
13336
13337
13338 fi
13339
13340
13341 fi
13342
13343
13344 fi
13345
13346 ;;
13347 esac
13348
13349 if test no = "$lt_cv_dlopen"; then
13350 enable_dlopen=no
13351 else
13352 enable_dlopen=yes
13353 fi
13354
13355 case $lt_cv_dlopen in
13356 dlopen)
13357 save_CPPFLAGS=$CPPFLAGS
13358 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13359
13360 save_LDFLAGS=$LDFLAGS
13361 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13362
13363 save_LIBS=$LIBS
13364 LIBS="$lt_cv_dlopen_libs $LIBS"
13365
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13367 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13368 if ${lt_cv_dlopen_self+:} false; then :
13369 $as_echo_n "(cached) " >&6
13370 else
13371 if test yes = "$cross_compiling"; then :
13372 lt_cv_dlopen_self=cross
13373 else
13374 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13375 lt_status=$lt_dlunknown
13376 cat > conftest.$ac_ext <<_LT_EOF
13377 #line $LINENO "configure"
13378 #include "confdefs.h"
13379
13380 #if HAVE_DLFCN_H
13381 #include <dlfcn.h>
13382 #endif
13383
13384 #include <stdio.h>
13385
13386 #ifdef RTLD_GLOBAL
13387 # define LT_DLGLOBAL RTLD_GLOBAL
13388 #else
13389 # ifdef DL_GLOBAL
13390 # define LT_DLGLOBAL DL_GLOBAL
13391 # else
13392 # define LT_DLGLOBAL 0
13393 # endif
13394 #endif
13395
13396 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13397 find out it does not work in some platform. */
13398 #ifndef LT_DLLAZY_OR_NOW
13399 # ifdef RTLD_LAZY
13400 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13401 # else
13402 # ifdef DL_LAZY
13403 # define LT_DLLAZY_OR_NOW DL_LAZY
13404 # else
13405 # ifdef RTLD_NOW
13406 # define LT_DLLAZY_OR_NOW RTLD_NOW
13407 # else
13408 # ifdef DL_NOW
13409 # define LT_DLLAZY_OR_NOW DL_NOW
13410 # else
13411 # define LT_DLLAZY_OR_NOW 0
13412 # endif
13413 # endif
13414 # endif
13415 # endif
13416 #endif
13417
13418 /* When -fvisibility=hidden is used, assume the code has been annotated
13419 correspondingly for the symbols needed. */
13420 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13421 int fnord () __attribute__((visibility("default")));
13422 #endif
13423
13424 int fnord () { return 42; }
13425 int main ()
13426 {
13427 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13428 int status = $lt_dlunknown;
13429
13430 if (self)
13431 {
13432 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13433 else
13434 {
13435 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13436 else puts (dlerror ());
13437 }
13438 /* dlclose (self); */
13439 }
13440 else
13441 puts (dlerror ());
13442
13443 return status;
13444 }
13445 _LT_EOF
13446 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13447 (eval $ac_link) 2>&5
13448 ac_status=$?
13449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13450 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13451 (./conftest; exit; ) >&5 2>/dev/null
13452 lt_status=$?
13453 case x$lt_status in
13454 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13455 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13456 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13457 esac
13458 else :
13459 # compilation failed
13460 lt_cv_dlopen_self=no
13461 fi
13462 fi
13463 rm -fr conftest*
13464
13465
13466 fi
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13468 $as_echo "$lt_cv_dlopen_self" >&6; }
13469
13470 if test yes = "$lt_cv_dlopen_self"; then
13471 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13473 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13474 if ${lt_cv_dlopen_self_static+:} false; then :
13475 $as_echo_n "(cached) " >&6
13476 else
13477 if test yes = "$cross_compiling"; then :
13478 lt_cv_dlopen_self_static=cross
13479 else
13480 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13481 lt_status=$lt_dlunknown
13482 cat > conftest.$ac_ext <<_LT_EOF
13483 #line $LINENO "configure"
13484 #include "confdefs.h"
13485
13486 #if HAVE_DLFCN_H
13487 #include <dlfcn.h>
13488 #endif
13489
13490 #include <stdio.h>
13491
13492 #ifdef RTLD_GLOBAL
13493 # define LT_DLGLOBAL RTLD_GLOBAL
13494 #else
13495 # ifdef DL_GLOBAL
13496 # define LT_DLGLOBAL DL_GLOBAL
13497 # else
13498 # define LT_DLGLOBAL 0
13499 # endif
13500 #endif
13501
13502 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13503 find out it does not work in some platform. */
13504 #ifndef LT_DLLAZY_OR_NOW
13505 # ifdef RTLD_LAZY
13506 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13507 # else
13508 # ifdef DL_LAZY
13509 # define LT_DLLAZY_OR_NOW DL_LAZY
13510 # else
13511 # ifdef RTLD_NOW
13512 # define LT_DLLAZY_OR_NOW RTLD_NOW
13513 # else
13514 # ifdef DL_NOW
13515 # define LT_DLLAZY_OR_NOW DL_NOW
13516 # else
13517 # define LT_DLLAZY_OR_NOW 0
13518 # endif
13519 # endif
13520 # endif
13521 # endif
13522 #endif
13523
13524 /* When -fvisibility=hidden is used, assume the code has been annotated
13525 correspondingly for the symbols needed. */
13526 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13527 int fnord () __attribute__((visibility("default")));
13528 #endif
13529
13530 int fnord () { return 42; }
13531 int main ()
13532 {
13533 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13534 int status = $lt_dlunknown;
13535
13536 if (self)
13537 {
13538 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13539 else
13540 {
13541 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13542 else puts (dlerror ());
13543 }
13544 /* dlclose (self); */
13545 }
13546 else
13547 puts (dlerror ());
13548
13549 return status;
13550 }
13551 _LT_EOF
13552 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13553 (eval $ac_link) 2>&5
13554 ac_status=$?
13555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13556 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13557 (./conftest; exit; ) >&5 2>/dev/null
13558 lt_status=$?
13559 case x$lt_status in
13560 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13561 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13562 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13563 esac
13564 else :
13565 # compilation failed
13566 lt_cv_dlopen_self_static=no
13567 fi
13568 fi
13569 rm -fr conftest*
13570
13571
13572 fi
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13574 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13575 fi
13576
13577 CPPFLAGS=$save_CPPFLAGS
13578 LDFLAGS=$save_LDFLAGS
13579 LIBS=$save_LIBS
13580 ;;
13581 esac
13582
13583 case $lt_cv_dlopen_self in
13584 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13585 *) enable_dlopen_self=unknown ;;
13586 esac
13587
13588 case $lt_cv_dlopen_self_static in
13589 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13590 *) enable_dlopen_self_static=unknown ;;
13591 esac
13592 fi
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610 striplib=
13611 old_striplib=
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13613 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13614 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13615 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13616 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13618 $as_echo "yes" >&6; }
13619 else
13620 # FIXME - insert some real tests, host_os isn't really good enough
13621 case $host_os in
13622 darwin*)
13623 if test -n "$STRIP"; then
13624 striplib="$STRIP -x"
13625 old_striplib="$STRIP -S"
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13627 $as_echo "yes" >&6; }
13628 else
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13630 $as_echo "no" >&6; }
13631 fi
13632 ;;
13633 *)
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13635 $as_echo "no" >&6; }
13636 ;;
13637 esac
13638 fi
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651 # Report what library types will actually be built
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13653 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13655 $as_echo "$can_build_shared" >&6; }
13656
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13658 $as_echo_n "checking whether to build shared libraries... " >&6; }
13659 test no = "$can_build_shared" && enable_shared=no
13660
13661 # On AIX, shared libraries and static libraries use the same namespace, and
13662 # are all built from PIC.
13663 case $host_os in
13664 aix3*)
13665 test yes = "$enable_shared" && enable_static=no
13666 if test -n "$RANLIB"; then
13667 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13668 postinstall_cmds='$RANLIB $lib'
13669 fi
13670 ;;
13671
13672 aix[4-9]*)
13673 if test ia64 != "$host_cpu"; then
13674 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13675 yes,aix,yes) ;; # shared object as lib.so file only
13676 yes,svr4,*) ;; # shared object as lib.so archive member only
13677 yes,*) enable_static=no ;; # shared object in lib.a archive as well
13678 esac
13679 fi
13680 ;;
13681 esac
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13683 $as_echo "$enable_shared" >&6; }
13684
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13686 $as_echo_n "checking whether to build static libraries... " >&6; }
13687 # Make sure either enable_shared or enable_static is yes.
13688 test yes = "$enable_shared" || enable_static=yes
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13690 $as_echo "$enable_static" >&6; }
13691
13692
13693
13694
13695 fi
13696 ac_ext=c
13697 ac_cpp='$CPP $CPPFLAGS'
13698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13701
13702 CC=$lt_save_CC
13703
13704 if test -n "$CXX" && ( test no != "$CXX" &&
13705 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13706 (test g++ != "$CXX"))); then
13707 ac_ext=cpp
13708 ac_cpp='$CXXCPP $CPPFLAGS'
13709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13713 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13714 if test -z "$CXXCPP"; then
13715 if ${ac_cv_prog_CXXCPP+:} false; then :
13716 $as_echo_n "(cached) " >&6
13717 else
13718 # Double quotes because CXXCPP needs to be expanded
13719 for CXXCPP in "$CXX -E" "/lib/cpp"
13720 do
13721 ac_preproc_ok=false
13722 for ac_cxx_preproc_warn_flag in '' yes
13723 do
13724 # Use a header file that comes with gcc, so configuring glibc
13725 # with a fresh cross-compiler works.
13726 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13727 # <limits.h> exists even on freestanding compilers.
13728 # On the NeXT, cc -E runs the code through the compiler's parser,
13729 # not just through cpp. "Syntax error" is here to catch this case.
13730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13731 /* end confdefs.h. */
13732 #ifdef __STDC__
13733 # include <limits.h>
13734 #else
13735 # include <assert.h>
13736 #endif
13737 Syntax error
13738 _ACEOF
13739 if ac_fn_cxx_try_cpp "$LINENO"; then :
13740
13741 else
13742 # Broken: fails on valid input.
13743 continue
13744 fi
13745 rm -f conftest.err conftest.i conftest.$ac_ext
13746
13747 # OK, works on sane cases. Now check whether nonexistent headers
13748 # can be detected and how.
13749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13750 /* end confdefs.h. */
13751 #include <ac_nonexistent.h>
13752 _ACEOF
13753 if ac_fn_cxx_try_cpp "$LINENO"; then :
13754 # Broken: success on invalid input.
13755 continue
13756 else
13757 # Passes both tests.
13758 ac_preproc_ok=:
13759 break
13760 fi
13761 rm -f conftest.err conftest.i conftest.$ac_ext
13762
13763 done
13764 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13765 rm -f conftest.i conftest.err conftest.$ac_ext
13766 if $ac_preproc_ok; then :
13767 break
13768 fi
13769
13770 done
13771 ac_cv_prog_CXXCPP=$CXXCPP
13772
13773 fi
13774 CXXCPP=$ac_cv_prog_CXXCPP
13775 else
13776 ac_cv_prog_CXXCPP=$CXXCPP
13777 fi
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13779 $as_echo "$CXXCPP" >&6; }
13780 ac_preproc_ok=false
13781 for ac_cxx_preproc_warn_flag in '' yes
13782 do
13783 # Use a header file that comes with gcc, so configuring glibc
13784 # with a fresh cross-compiler works.
13785 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13786 # <limits.h> exists even on freestanding compilers.
13787 # On the NeXT, cc -E runs the code through the compiler's parser,
13788 # not just through cpp. "Syntax error" is here to catch this case.
13789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13790 /* end confdefs.h. */
13791 #ifdef __STDC__
13792 # include <limits.h>
13793 #else
13794 # include <assert.h>
13795 #endif
13796 Syntax error
13797 _ACEOF
13798 if ac_fn_cxx_try_cpp "$LINENO"; then :
13799
13800 else
13801 # Broken: fails on valid input.
13802 continue
13803 fi
13804 rm -f conftest.err conftest.i conftest.$ac_ext
13805
13806 # OK, works on sane cases. Now check whether nonexistent headers
13807 # can be detected and how.
13808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13809 /* end confdefs.h. */
13810 #include <ac_nonexistent.h>
13811 _ACEOF
13812 if ac_fn_cxx_try_cpp "$LINENO"; then :
13813 # Broken: success on invalid input.
13814 continue
13815 else
13816 # Passes both tests.
13817 ac_preproc_ok=:
13818 break
13819 fi
13820 rm -f conftest.err conftest.i conftest.$ac_ext
13821
13822 done
13823 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13824 rm -f conftest.i conftest.err conftest.$ac_ext
13825 if $ac_preproc_ok; then :
13826
13827 else
13828 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13829 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13830 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13831 See \`config.log' for more details" "$LINENO" 5; }
13832 fi
13833
13834 ac_ext=c
13835 ac_cpp='$CPP $CPPFLAGS'
13836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13839
13840 else
13841 _lt_caught_CXX_error=yes
13842 fi
13843
13844 ac_ext=cpp
13845 ac_cpp='$CXXCPP $CPPFLAGS'
13846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13849
13850 archive_cmds_need_lc_CXX=no
13851 allow_undefined_flag_CXX=
13852 always_export_symbols_CXX=no
13853 archive_expsym_cmds_CXX=
13854 compiler_needs_object_CXX=no
13855 export_dynamic_flag_spec_CXX=
13856 hardcode_direct_CXX=no
13857 hardcode_direct_absolute_CXX=no
13858 hardcode_libdir_flag_spec_CXX=
13859 hardcode_libdir_separator_CXX=
13860 hardcode_minus_L_CXX=no
13861 hardcode_shlibpath_var_CXX=unsupported
13862 hardcode_automatic_CXX=no
13863 inherit_rpath_CXX=no
13864 module_cmds_CXX=
13865 module_expsym_cmds_CXX=
13866 link_all_deplibs_CXX=unknown
13867 old_archive_cmds_CXX=$old_archive_cmds
13868 reload_flag_CXX=$reload_flag
13869 reload_cmds_CXX=$reload_cmds
13870 no_undefined_flag_CXX=
13871 whole_archive_flag_spec_CXX=
13872 enable_shared_with_static_runtimes_CXX=no
13873
13874 # Source file extension for C++ test sources.
13875 ac_ext=cpp
13876
13877 # Object file extension for compiled C++ test sources.
13878 objext=o
13879 objext_CXX=$objext
13880
13881 # No sense in running all these tests if we already determined that
13882 # the CXX compiler isn't working. Some variables (like enable_shared)
13883 # are currently assumed to apply to all compilers on this platform,
13884 # and will be corrupted by setting them based on a non-working compiler.
13885 if test yes != "$_lt_caught_CXX_error"; then
13886 # Code to be used in simple compile tests
13887 lt_simple_compile_test_code="int some_variable = 0;"
13888
13889 # Code to be used in simple link tests
13890 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13891
13892 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13893
13894
13895
13896
13897
13898
13899 # If no C compiler was specified, use CC.
13900 LTCC=${LTCC-"$CC"}
13901
13902 # If no C compiler flags were specified, use CFLAGS.
13903 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13904
13905 # Allow CC to be a program name with arguments.
13906 compiler=$CC
13907
13908
13909 # save warnings/boilerplate of simple test code
13910 ac_outfile=conftest.$ac_objext
13911 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13912 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13913 _lt_compiler_boilerplate=`cat conftest.err`
13914 $RM conftest*
13915
13916 ac_outfile=conftest.$ac_objext
13917 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13918 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13919 _lt_linker_boilerplate=`cat conftest.err`
13920 $RM -r conftest*
13921
13922
13923 # Allow CC to be a program name with arguments.
13924 lt_save_CC=$CC
13925 lt_save_CFLAGS=$CFLAGS
13926 lt_save_LD=$LD
13927 lt_save_GCC=$GCC
13928 GCC=$GXX
13929 lt_save_with_gnu_ld=$with_gnu_ld
13930 lt_save_path_LD=$lt_cv_path_LD
13931 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13932 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13933 else
13934 $as_unset lt_cv_prog_gnu_ld
13935 fi
13936 if test -n "${lt_cv_path_LDCXX+set}"; then
13937 lt_cv_path_LD=$lt_cv_path_LDCXX
13938 else
13939 $as_unset lt_cv_path_LD
13940 fi
13941 test -z "${LDCXX+set}" || LD=$LDCXX
13942 CC=${CXX-"c++"}
13943 CFLAGS=$CXXFLAGS
13944 compiler=$CC
13945 compiler_CXX=$CC
13946 func_cc_basename $compiler
13947 cc_basename=$func_cc_basename_result
13948
13949
13950 if test -n "$compiler"; then
13951 # We don't want -fno-exception when compiling C++ code, so set the
13952 # no_builtin_flag separately
13953 if test yes = "$GXX"; then
13954 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13955 else
13956 lt_prog_compiler_no_builtin_flag_CXX=
13957 fi
13958
13959 if test yes = "$GXX"; then
13960 # Set up default GNU C++ configuration
13961
13962
13963
13964 # Check whether --with-gnu-ld was given.
13965 if test "${with_gnu_ld+set}" = set; then :
13966 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
13967 else
13968 with_gnu_ld=no
13969 fi
13970
13971 ac_prog=ld
13972 if test yes = "$GCC"; then
13973 # Check if gcc -print-prog-name=ld gives a path.
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13975 $as_echo_n "checking for ld used by $CC... " >&6; }
13976 case $host in
13977 *-*-mingw*)
13978 # gcc leaves a trailing carriage return, which upsets mingw
13979 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13980 *)
13981 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13982 esac
13983 case $ac_prog in
13984 # Accept absolute paths.
13985 [\\/]* | ?:[\\/]*)
13986 re_direlt='/[^/][^/]*/\.\./'
13987 # Canonicalize the pathname of ld
13988 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13989 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13990 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13991 done
13992 test -z "$LD" && LD=$ac_prog
13993 ;;
13994 "")
13995 # If it fails, then pretend we aren't using GCC.
13996 ac_prog=ld
13997 ;;
13998 *)
13999 # If it is relative, then search for the first ld in PATH.
14000 with_gnu_ld=unknown
14001 ;;
14002 esac
14003 elif test yes = "$with_gnu_ld"; then
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14005 $as_echo_n "checking for GNU ld... " >&6; }
14006 else
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14008 $as_echo_n "checking for non-GNU ld... " >&6; }
14009 fi
14010 if ${lt_cv_path_LD+:} false; then :
14011 $as_echo_n "(cached) " >&6
14012 else
14013 if test -z "$LD"; then
14014 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
14015 for ac_dir in $PATH; do
14016 IFS=$lt_save_ifs
14017 test -z "$ac_dir" && ac_dir=.
14018 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14019 lt_cv_path_LD=$ac_dir/$ac_prog
14020 # Check to see if the program is GNU ld. I'd rather use --version,
14021 # but apparently some variants of GNU ld only accept -v.
14022 # Break only if it was the GNU/non-GNU ld that we prefer.
14023 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14024 *GNU* | *'with BFD'*)
14025 test no != "$with_gnu_ld" && break
14026 ;;
14027 *)
14028 test yes != "$with_gnu_ld" && break
14029 ;;
14030 esac
14031 fi
14032 done
14033 IFS=$lt_save_ifs
14034 else
14035 lt_cv_path_LD=$LD # Let the user override the test with a path.
14036 fi
14037 fi
14038
14039 LD=$lt_cv_path_LD
14040 if test -n "$LD"; then
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14042 $as_echo "$LD" >&6; }
14043 else
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14045 $as_echo "no" >&6; }
14046 fi
14047 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14049 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14050 if ${lt_cv_prog_gnu_ld+:} false; then :
14051 $as_echo_n "(cached) " >&6
14052 else
14053 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14054 case `$LD -v 2>&1 </dev/null` in
14055 *GNU* | *'with BFD'*)
14056 lt_cv_prog_gnu_ld=yes
14057 ;;
14058 *)
14059 lt_cv_prog_gnu_ld=no
14060 ;;
14061 esac
14062 fi
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14064 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14065 with_gnu_ld=$lt_cv_prog_gnu_ld
14066
14067
14068
14069
14070
14071
14072
14073 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14074 # archiving commands below assume that GNU ld is being used.
14075 if test yes = "$with_gnu_ld"; then
14076 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14077 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14078
14079 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14080 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14081
14082 # If archive_cmds runs LD, not CC, wlarc should be empty
14083 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14084 # investigate it a little bit more. (MM)
14085 wlarc='$wl'
14086
14087 # ancient GNU ld didn't support --whole-archive et. al.
14088 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14089 $GREP 'no-whole-archive' > /dev/null; then
14090 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14091 else
14092 whole_archive_flag_spec_CXX=
14093 fi
14094 else
14095 with_gnu_ld=no
14096 wlarc=
14097
14098 # A generic and very simple default shared library creation
14099 # command for GNU C++ for the case where it uses the native
14100 # linker, instead of GNU ld. If possible, this setting should
14101 # overridden to take advantage of the native linker features on
14102 # the platform it is being used on.
14103 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14104 fi
14105
14106 # Commands to make compiler produce verbose output that lists
14107 # what "hidden" libraries, object files and flags are used when
14108 # linking a shared library.
14109 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14110
14111 else
14112 GXX=no
14113 with_gnu_ld=no
14114 wlarc=
14115 fi
14116
14117 # PORTME: fill in a description of your system's C++ link characteristics
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14119 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14120 ld_shlibs_CXX=yes
14121 case $host_os in
14122 aix3*)
14123 # FIXME: insert proper C++ library support
14124 ld_shlibs_CXX=no
14125 ;;
14126 aix[4-9]*)
14127 if test ia64 = "$host_cpu"; then
14128 # On IA64, the linker does run time linking by default, so we don't
14129 # have to do anything special.
14130 aix_use_runtimelinking=no
14131 exp_sym_flag='-Bexport'
14132 no_entry_flag=
14133 else
14134 aix_use_runtimelinking=no
14135
14136 # Test if we are trying to use run time linking or normal
14137 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14138 # have runtime linking enabled, and use it for executables.
14139 # For shared libraries, we enable/disable runtime linking
14140 # depending on the kind of the shared library created -
14141 # when "with_aix_soname,aix_use_runtimelinking" is:
14142 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
14143 # "aix,yes" lib.so shared, rtl:yes, for executables
14144 # lib.a static archive
14145 # "both,no" lib.so.V(shr.o) shared, rtl:yes
14146 # lib.a(lib.so.V) shared, rtl:no, for executables
14147 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
14148 # lib.a(lib.so.V) shared, rtl:no
14149 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
14150 # lib.a static archive
14151 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14152 for ld_flag in $LDFLAGS; do
14153 case $ld_flag in
14154 *-brtl*)
14155 aix_use_runtimelinking=yes
14156 break
14157 ;;
14158 esac
14159 done
14160 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
14161 # With aix-soname=svr4, we create the lib.so.V shared archives only,
14162 # so we don't have lib.a shared libs to link our executables.
14163 # We have to force runtime linking in this case.
14164 aix_use_runtimelinking=yes
14165 LDFLAGS="$LDFLAGS -Wl,-brtl"
14166 fi
14167 ;;
14168 esac
14169
14170 exp_sym_flag='-bexport'
14171 no_entry_flag='-bnoentry'
14172 fi
14173
14174 # When large executables or shared objects are built, AIX ld can
14175 # have problems creating the table of contents. If linking a library
14176 # or program results in "error TOC overflow" add -mminimal-toc to
14177 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14178 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14179
14180 archive_cmds_CXX=''
14181 hardcode_direct_CXX=yes
14182 hardcode_direct_absolute_CXX=yes
14183 hardcode_libdir_separator_CXX=':'
14184 link_all_deplibs_CXX=yes
14185 file_list_spec_CXX='$wl-f,'
14186 case $with_aix_soname,$aix_use_runtimelinking in
14187 aix,*) ;; # no import file
14188 svr4,* | *,yes) # use import file
14189 # The Import File defines what to hardcode.
14190 hardcode_direct_CXX=no
14191 hardcode_direct_absolute_CXX=no
14192 ;;
14193 esac
14194
14195 if test yes = "$GXX"; then
14196 case $host_os in aix4.[012]|aix4.[012].*)
14197 # We only want to do this on AIX 4.2 and lower, the check
14198 # below for broken collect2 doesn't work under 4.3+
14199 collect2name=`$CC -print-prog-name=collect2`
14200 if test -f "$collect2name" &&
14201 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14202 then
14203 # We have reworked collect2
14204 :
14205 else
14206 # We have old collect2
14207 hardcode_direct_CXX=unsupported
14208 # It fails to find uninstalled libraries when the uninstalled
14209 # path is not listed in the libpath. Setting hardcode_minus_L
14210 # to unsupported forces relinking
14211 hardcode_minus_L_CXX=yes
14212 hardcode_libdir_flag_spec_CXX='-L$libdir'
14213 hardcode_libdir_separator_CXX=
14214 fi
14215 esac
14216 shared_flag='-shared'
14217 if test yes = "$aix_use_runtimelinking"; then
14218 shared_flag=$shared_flag' $wl-G'
14219 fi
14220 # Need to ensure runtime linking is disabled for the traditional
14221 # shared library, or the linker may eventually find shared libraries
14222 # /with/ Import File - we do not want to mix them.
14223 shared_flag_aix='-shared'
14224 shared_flag_svr4='-shared $wl-G'
14225 else
14226 # not using gcc
14227 if test ia64 = "$host_cpu"; then
14228 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14229 # chokes on -Wl,-G. The following line is correct:
14230 shared_flag='-G'
14231 else
14232 if test yes = "$aix_use_runtimelinking"; then
14233 shared_flag='$wl-G'
14234 else
14235 shared_flag='$wl-bM:SRE'
14236 fi
14237 shared_flag_aix='$wl-bM:SRE'
14238 shared_flag_svr4='$wl-G'
14239 fi
14240 fi
14241
14242 export_dynamic_flag_spec_CXX='$wl-bexpall'
14243 # It seems that -bexpall does not export symbols beginning with
14244 # underscore (_), so it is better to generate a list of symbols to
14245 # export.
14246 always_export_symbols_CXX=yes
14247 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
14248 # Warning - without using the other runtime loading flags (-brtl),
14249 # -berok will link without error, but may produce a broken library.
14250 # The "-G" linker flag allows undefined symbols.
14251 no_undefined_flag_CXX='-bernotok'
14252 # Determine the default libpath from the value encoded in an empty
14253 # executable.
14254 if test set = "${lt_cv_aix_libpath+set}"; then
14255 aix_libpath=$lt_cv_aix_libpath
14256 else
14257 if ${lt_cv_aix_libpath__CXX+:} false; then :
14258 $as_echo_n "(cached) " >&6
14259 else
14260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14261 /* end confdefs.h. */
14262
14263 int
14264 main ()
14265 {
14266
14267 ;
14268 return 0;
14269 }
14270 _ACEOF
14271 if ac_fn_cxx_try_link "$LINENO"; then :
14272
14273 lt_aix_libpath_sed='
14274 /Import File Strings/,/^$/ {
14275 /^0/ {
14276 s/^0 *\([^ ]*\) *$/\1/
14277 p
14278 }
14279 }'
14280 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14281 # Check for a 64-bit object if we didn't find anything.
14282 if test -z "$lt_cv_aix_libpath__CXX"; then
14283 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14284 fi
14285 fi
14286 rm -f core conftest.err conftest.$ac_objext \
14287 conftest$ac_exeext conftest.$ac_ext
14288 if test -z "$lt_cv_aix_libpath__CXX"; then
14289 lt_cv_aix_libpath__CXX=/usr/lib:/lib
14290 fi
14291
14292 fi
14293
14294 aix_libpath=$lt_cv_aix_libpath__CXX
14295 fi
14296
14297 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14298
14299 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
14300 else
14301 if test ia64 = "$host_cpu"; then
14302 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
14303 allow_undefined_flag_CXX="-z nodefs"
14304 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
14305 else
14306 # Determine the default libpath from the value encoded in an
14307 # empty executable.
14308 if test set = "${lt_cv_aix_libpath+set}"; then
14309 aix_libpath=$lt_cv_aix_libpath
14310 else
14311 if ${lt_cv_aix_libpath__CXX+:} false; then :
14312 $as_echo_n "(cached) " >&6
14313 else
14314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14315 /* end confdefs.h. */
14316
14317 int
14318 main ()
14319 {
14320
14321 ;
14322 return 0;
14323 }
14324 _ACEOF
14325 if ac_fn_cxx_try_link "$LINENO"; then :
14326
14327 lt_aix_libpath_sed='
14328 /Import File Strings/,/^$/ {
14329 /^0/ {
14330 s/^0 *\([^ ]*\) *$/\1/
14331 p
14332 }
14333 }'
14334 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14335 # Check for a 64-bit object if we didn't find anything.
14336 if test -z "$lt_cv_aix_libpath__CXX"; then
14337 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14338 fi
14339 fi
14340 rm -f core conftest.err conftest.$ac_objext \
14341 conftest$ac_exeext conftest.$ac_ext
14342 if test -z "$lt_cv_aix_libpath__CXX"; then
14343 lt_cv_aix_libpath__CXX=/usr/lib:/lib
14344 fi
14345
14346 fi
14347
14348 aix_libpath=$lt_cv_aix_libpath__CXX
14349 fi
14350
14351 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14352 # Warning - without using the other run time loading flags,
14353 # -berok will link without error, but may produce a broken library.
14354 no_undefined_flag_CXX=' $wl-bernotok'
14355 allow_undefined_flag_CXX=' $wl-berok'
14356 if test yes = "$with_gnu_ld"; then
14357 # We only use this code for GNU lds that support --whole-archive.
14358 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14359 else
14360 # Exported symbols can be pulled into shared objects from archives
14361 whole_archive_flag_spec_CXX='$convenience'
14362 fi
14363 archive_cmds_need_lc_CXX=yes
14364 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
14365 # -brtl affects multiple linker settings, -berok does not and is overridden later
14366 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
14367 if test svr4 != "$with_aix_soname"; then
14368 # This is similar to how AIX traditionally builds its shared
14369 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
14370 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
14371 fi
14372 if test aix != "$with_aix_soname"; then
14373 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
14374 else
14375 # used by -dlpreopen to get the symbols
14376 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
14377 fi
14378 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
14379 fi
14380 fi
14381 ;;
14382
14383 beos*)
14384 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14385 allow_undefined_flag_CXX=unsupported
14386 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14387 # support --undefined. This deserves some investigation. FIXME
14388 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14389 else
14390 ld_shlibs_CXX=no
14391 fi
14392 ;;
14393
14394 chorus*)
14395 case $cc_basename in
14396 *)
14397 # FIXME: insert proper C++ library support
14398 ld_shlibs_CXX=no
14399 ;;
14400 esac
14401 ;;
14402
14403 cygwin* | mingw* | pw32* | cegcc*)
14404 case $GXX,$cc_basename in
14405 ,cl* | no,cl*)
14406 # Native MSVC
14407 # hardcode_libdir_flag_spec is actually meaningless, as there is
14408 # no search path for DLLs.
14409 hardcode_libdir_flag_spec_CXX=' '
14410 allow_undefined_flag_CXX=unsupported
14411 always_export_symbols_CXX=yes
14412 file_list_spec_CXX='@'
14413 # Tell ltmain to make .lib files, not .a files.
14414 libext=lib
14415 # Tell ltmain to make .dll files, not .so files.
14416 shrext_cmds=.dll
14417 # FIXME: Setting linknames here is a bad hack.
14418 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
14419 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
14420 cp "$export_symbols" "$output_objdir/$soname.def";
14421 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
14422 else
14423 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
14424 fi~
14425 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14426 linknames='
14427 # The linker will not automatically build a static lib if we build a DLL.
14428 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14429 enable_shared_with_static_runtimes_CXX=yes
14430 # Don't use ranlib
14431 old_postinstall_cmds_CXX='chmod 644 $oldlib'
14432 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14433 lt_tool_outputfile="@TOOL_OUTPUT@"~
14434 case $lt_outputfile in
14435 *.exe|*.EXE) ;;
14436 *)
14437 lt_outputfile=$lt_outputfile.exe
14438 lt_tool_outputfile=$lt_tool_outputfile.exe
14439 ;;
14440 esac~
14441 func_to_tool_file "$lt_outputfile"~
14442 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
14443 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14444 $RM "$lt_outputfile.manifest";
14445 fi'
14446 ;;
14447 *)
14448 # g++
14449 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14450 # as there is no search path for DLLs.
14451 hardcode_libdir_flag_spec_CXX='-L$libdir'
14452 export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
14453 allow_undefined_flag_CXX=unsupported
14454 always_export_symbols_CXX=no
14455 enable_shared_with_static_runtimes_CXX=yes
14456
14457 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14458 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14459 # If the export-symbols file already is a .def file, use it as
14460 # is; otherwise, prepend EXPORTS...
14461 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
14462 cp $export_symbols $output_objdir/$soname.def;
14463 else
14464 echo EXPORTS > $output_objdir/$soname.def;
14465 cat $export_symbols >> $output_objdir/$soname.def;
14466 fi~
14467 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14468 else
14469 ld_shlibs_CXX=no
14470 fi
14471 ;;
14472 esac
14473 ;;
14474 darwin* | rhapsody*)
14475
14476
14477 archive_cmds_need_lc_CXX=no
14478 hardcode_direct_CXX=no
14479 hardcode_automatic_CXX=yes
14480 hardcode_shlibpath_var_CXX=unsupported
14481 if test yes = "$lt_cv_ld_force_load"; then
14482 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
14483
14484 else
14485 whole_archive_flag_spec_CXX=''
14486 fi
14487 link_all_deplibs_CXX=yes
14488 allow_undefined_flag_CXX=$_lt_dar_allow_undefined
14489 case $cc_basename in
14490 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
14491 *) _lt_dar_can_shared=$GCC ;;
14492 esac
14493 if test yes = "$_lt_dar_can_shared"; then
14494 output_verbose_link_cmd=func_echo_all
14495 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
14496 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
14497 archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
14498 module_expsym_cmds_CXX="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
14499 if test yes != "$lt_cv_apple_cc_single_mod"; then
14500 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
14501 archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
14502 fi
14503
14504 else
14505 ld_shlibs_CXX=no
14506 fi
14507
14508 ;;
14509
14510 os2*)
14511 hardcode_libdir_flag_spec_CXX='-L$libdir'
14512 hardcode_minus_L_CXX=yes
14513 allow_undefined_flag_CXX=unsupported
14514 shrext_cmds=.dll
14515 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14516 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14517 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14518 $ECHO EXPORTS >> $output_objdir/$libname.def~
14519 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14520 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14521 emximp -o $lib $output_objdir/$libname.def'
14522 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14523 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14524 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14525 $ECHO EXPORTS >> $output_objdir/$libname.def~
14526 prefix_cmds="$SED"~
14527 if test EXPORTS = "`$SED 1q $export_symbols`"; then
14528 prefix_cmds="$prefix_cmds -e 1d";
14529 fi~
14530 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14531 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14532 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14533 emximp -o $lib $output_objdir/$libname.def'
14534 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14535 enable_shared_with_static_runtimes_CXX=yes
14536 ;;
14537
14538 dgux*)
14539 case $cc_basename in
14540 ec++*)
14541 # FIXME: insert proper C++ library support
14542 ld_shlibs_CXX=no
14543 ;;
14544 ghcx*)
14545 # Green Hills C++ Compiler
14546 # FIXME: insert proper C++ library support
14547 ld_shlibs_CXX=no
14548 ;;
14549 *)
14550 # FIXME: insert proper C++ library support
14551 ld_shlibs_CXX=no
14552 ;;
14553 esac
14554 ;;
14555
14556 freebsd2.*)
14557 # C++ shared libraries reported to be fairly broken before
14558 # switch to ELF
14559 ld_shlibs_CXX=no
14560 ;;
14561
14562 freebsd-elf*)
14563 archive_cmds_need_lc_CXX=no
14564 ;;
14565
14566 freebsd* | dragonfly*)
14567 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14568 # conventions
14569 ld_shlibs_CXX=yes
14570 ;;
14571
14572 haiku*)
14573 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14574 link_all_deplibs_CXX=yes
14575 ;;
14576
14577 hpux9*)
14578 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14579 hardcode_libdir_separator_CXX=:
14580 export_dynamic_flag_spec_CXX='$wl-E'
14581 hardcode_direct_CXX=yes
14582 hardcode_minus_L_CXX=yes # Not in the search PATH,
14583 # but as the default
14584 # location of the library.
14585
14586 case $cc_basename in
14587 CC*)
14588 # FIXME: insert proper C++ library support
14589 ld_shlibs_CXX=no
14590 ;;
14591 aCC*)
14592 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14593 # Commands to make compiler produce verbose output that lists
14594 # what "hidden" libraries, object files and flags are used when
14595 # linking a shared library.
14596 #
14597 # There doesn't appear to be a way to prevent this compiler from
14598 # explicitly linking system object files so we need to strip them
14599 # from the output so that they don't get included in the library
14600 # dependencies.
14601 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14602 ;;
14603 *)
14604 if test yes = "$GXX"; then
14605 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14606 else
14607 # FIXME: insert proper C++ library support
14608 ld_shlibs_CXX=no
14609 fi
14610 ;;
14611 esac
14612 ;;
14613
14614 hpux10*|hpux11*)
14615 if test no = "$with_gnu_ld"; then
14616 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14617 hardcode_libdir_separator_CXX=:
14618
14619 case $host_cpu in
14620 hppa*64*|ia64*)
14621 ;;
14622 *)
14623 export_dynamic_flag_spec_CXX='$wl-E'
14624 ;;
14625 esac
14626 fi
14627 case $host_cpu in
14628 hppa*64*|ia64*)
14629 hardcode_direct_CXX=no
14630 hardcode_shlibpath_var_CXX=no
14631 ;;
14632 *)
14633 hardcode_direct_CXX=yes
14634 hardcode_direct_absolute_CXX=yes
14635 hardcode_minus_L_CXX=yes # Not in the search PATH,
14636 # but as the default
14637 # location of the library.
14638 ;;
14639 esac
14640
14641 case $cc_basename in
14642 CC*)
14643 # FIXME: insert proper C++ library support
14644 ld_shlibs_CXX=no
14645 ;;
14646 aCC*)
14647 case $host_cpu in
14648 hppa*64*)
14649 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14650 ;;
14651 ia64*)
14652 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14653 ;;
14654 *)
14655 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14656 ;;
14657 esac
14658 # Commands to make compiler produce verbose output that lists
14659 # what "hidden" libraries, object files and flags are used when
14660 # linking a shared library.
14661 #
14662 # There doesn't appear to be a way to prevent this compiler from
14663 # explicitly linking system object files so we need to strip them
14664 # from the output so that they don't get included in the library
14665 # dependencies.
14666 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14667 ;;
14668 *)
14669 if test yes = "$GXX"; then
14670 if test no = "$with_gnu_ld"; then
14671 case $host_cpu in
14672 hppa*64*)
14673 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14674 ;;
14675 ia64*)
14676 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14677 ;;
14678 *)
14679 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14680 ;;
14681 esac
14682 fi
14683 else
14684 # FIXME: insert proper C++ library support
14685 ld_shlibs_CXX=no
14686 fi
14687 ;;
14688 esac
14689 ;;
14690
14691 interix[3-9]*)
14692 hardcode_direct_CXX=no
14693 hardcode_shlibpath_var_CXX=no
14694 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14695 export_dynamic_flag_spec_CXX='$wl-E'
14696 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14697 # Instead, shared libraries are loaded at an image base (0x10000000 by
14698 # default) and relocated if they conflict, which is a slow very memory
14699 # consuming and fragmenting process. To avoid this, we pick a random,
14700 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14701 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14702 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14703 archive_expsym_cmds_CXX='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14704 ;;
14705 irix5* | irix6*)
14706 case $cc_basename in
14707 CC*)
14708 # SGI C++
14709 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
14710
14711 # Archives containing C++ object files must be created using
14712 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14713 # necessary to make sure instantiated templates are included
14714 # in the archive.
14715 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14716 ;;
14717 *)
14718 if test yes = "$GXX"; then
14719 if test no = "$with_gnu_ld"; then
14720 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
14721 else
14722 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
14723 fi
14724 fi
14725 link_all_deplibs_CXX=yes
14726 ;;
14727 esac
14728 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14729 hardcode_libdir_separator_CXX=:
14730 inherit_rpath_CXX=yes
14731 ;;
14732
14733 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14734 case $cc_basename in
14735 KCC*)
14736 # Kuck and Associates, Inc. (KAI) C++ Compiler
14737
14738 # KCC will only create a shared library if the output file
14739 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14740 # to its proper name (with version) after linking.
14741 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14742 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
14743 # Commands to make compiler produce verbose output that lists
14744 # what "hidden" libraries, object files and flags are used when
14745 # linking a shared library.
14746 #
14747 # There doesn't appear to be a way to prevent this compiler from
14748 # explicitly linking system object files so we need to strip them
14749 # from the output so that they don't get included in the library
14750 # dependencies.
14751 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14752
14753 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14754 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14755
14756 # Archives containing C++ object files must be created using
14757 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14758 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14759 ;;
14760 icpc* | ecpc* )
14761 # Intel C++
14762 with_gnu_ld=yes
14763 # version 8.0 and above of icpc choke on multiply defined symbols
14764 # if we add $predep_objects and $postdep_objects, however 7.1 and
14765 # earlier do not add the objects themselves.
14766 case `$CC -V 2>&1` in
14767 *"Version 7."*)
14768 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14769 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14770 ;;
14771 *) # Version 8.0 or newer
14772 tmp_idyn=
14773 case $host_cpu in
14774 ia64*) tmp_idyn=' -i_dynamic';;
14775 esac
14776 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14777 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14778 ;;
14779 esac
14780 archive_cmds_need_lc_CXX=no
14781 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14782 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14783 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14784 ;;
14785 pgCC* | pgcpp*)
14786 # Portland Group C++ compiler
14787 case `$CC -V` in
14788 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14789 prelink_cmds_CXX='tpldir=Template.dir~
14790 rm -rf $tpldir~
14791 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14792 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14793 old_archive_cmds_CXX='tpldir=Template.dir~
14794 rm -rf $tpldir~
14795 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14796 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14797 $RANLIB $oldlib'
14798 archive_cmds_CXX='tpldir=Template.dir~
14799 rm -rf $tpldir~
14800 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14801 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14802 archive_expsym_cmds_CXX='tpldir=Template.dir~
14803 rm -rf $tpldir~
14804 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14805 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14806 ;;
14807 *) # Version 6 and above use weak symbols
14808 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14809 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14810 ;;
14811 esac
14812
14813 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
14814 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14815 whole_archive_flag_spec_CXX='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
14816 ;;
14817 cxx*)
14818 # Compaq C++
14819 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14820 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols'
14821
14822 runpath_var=LD_RUN_PATH
14823 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14824 hardcode_libdir_separator_CXX=:
14825
14826 # Commands to make compiler produce verbose output that lists
14827 # what "hidden" libraries, object files and flags are used when
14828 # linking a shared library.
14829 #
14830 # There doesn't appear to be a way to prevent this compiler from
14831 # explicitly linking system object files so we need to strip them
14832 # from the output so that they don't get included in the library
14833 # dependencies.
14834 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
14835 ;;
14836 xl* | mpixl* | bgxl*)
14837 # IBM XL 8.0 on PPC, with GNU ld
14838 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14839 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14840 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14841 if test yes = "$supports_anon_versioning"; then
14842 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14843 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14844 echo "local: *; };" >> $output_objdir/$libname.ver~
14845 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14846 fi
14847 ;;
14848 *)
14849 case `$CC -V 2>&1 | sed 5q` in
14850 *Sun\ C*)
14851 # Sun C++ 5.9
14852 no_undefined_flag_CXX=' -zdefs'
14853 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14854 archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
14855 hardcode_libdir_flag_spec_CXX='-R$libdir'
14856 whole_archive_flag_spec_CXX='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
14857 compiler_needs_object_CXX=yes
14858
14859 # Not sure whether something based on
14860 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14861 # would be better.
14862 output_verbose_link_cmd='func_echo_all'
14863
14864 # Archives containing C++ object files must be created using
14865 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14866 # necessary to make sure instantiated templates are included
14867 # in the archive.
14868 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14869 ;;
14870 esac
14871 ;;
14872 esac
14873 ;;
14874
14875 lynxos*)
14876 # FIXME: insert proper C++ library support
14877 ld_shlibs_CXX=no
14878 ;;
14879
14880 m88k*)
14881 # FIXME: insert proper C++ library support
14882 ld_shlibs_CXX=no
14883 ;;
14884
14885 mvs*)
14886 case $cc_basename in
14887 cxx*)
14888 # FIXME: insert proper C++ library support
14889 ld_shlibs_CXX=no
14890 ;;
14891 *)
14892 # FIXME: insert proper C++ library support
14893 ld_shlibs_CXX=no
14894 ;;
14895 esac
14896 ;;
14897
14898 netbsd*)
14899 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14900 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14901 wlarc=
14902 hardcode_libdir_flag_spec_CXX='-R$libdir'
14903 hardcode_direct_CXX=yes
14904 hardcode_shlibpath_var_CXX=no
14905 fi
14906 # Workaround some broken pre-1.5 toolchains
14907 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14908 ;;
14909
14910 *nto* | *qnx*)
14911 ld_shlibs_CXX=yes
14912 ;;
14913
14914 openbsd* | bitrig*)
14915 if test -f /usr/libexec/ld.so; then
14916 hardcode_direct_CXX=yes
14917 hardcode_shlibpath_var_CXX=no
14918 hardcode_direct_absolute_CXX=yes
14919 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14920 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14921 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14922 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14923 export_dynamic_flag_spec_CXX='$wl-E'
14924 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14925 fi
14926 output_verbose_link_cmd=func_echo_all
14927 else
14928 ld_shlibs_CXX=no
14929 fi
14930 ;;
14931
14932 osf3* | osf4* | osf5*)
14933 case $cc_basename in
14934 KCC*)
14935 # Kuck and Associates, Inc. (KAI) C++ Compiler
14936
14937 # KCC will only create a shared library if the output file
14938 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14939 # to its proper name (with version) after linking.
14940 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14941
14942 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14943 hardcode_libdir_separator_CXX=:
14944
14945 # Archives containing C++ object files must be created using
14946 # the KAI C++ compiler.
14947 case $host in
14948 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14949 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14950 esac
14951 ;;
14952 RCC*)
14953 # Rational C++ 2.4.1
14954 # FIXME: insert proper C++ library support
14955 ld_shlibs_CXX=no
14956 ;;
14957 cxx*)
14958 case $host in
14959 osf3*)
14960 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14961 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
14962 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14963 ;;
14964 *)
14965 allow_undefined_flag_CXX=' -expect_unresolved \*'
14966 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
14967 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14968 echo "-hidden">> $lib.exp~
14969 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
14970 $RM $lib.exp'
14971 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14972 ;;
14973 esac
14974
14975 hardcode_libdir_separator_CXX=:
14976
14977 # Commands to make compiler produce verbose output that lists
14978 # what "hidden" libraries, object files and flags are used when
14979 # linking a shared library.
14980 #
14981 # There doesn't appear to be a way to prevent this compiler from
14982 # explicitly linking system object files so we need to strip them
14983 # from the output so that they don't get included in the library
14984 # dependencies.
14985 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14986 ;;
14987 *)
14988 if test yes,no = "$GXX,$with_gnu_ld"; then
14989 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14990 case $host in
14991 osf3*)
14992 archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
14993 ;;
14994 *)
14995 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
14996 ;;
14997 esac
14998
14999 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15000 hardcode_libdir_separator_CXX=:
15001
15002 # Commands to make compiler produce verbose output that lists
15003 # what "hidden" libraries, object files and flags are used when
15004 # linking a shared library.
15005 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15006
15007 else
15008 # FIXME: insert proper C++ library support
15009 ld_shlibs_CXX=no
15010 fi
15011 ;;
15012 esac
15013 ;;
15014
15015 psos*)
15016 # FIXME: insert proper C++ library support
15017 ld_shlibs_CXX=no
15018 ;;
15019
15020 sunos4*)
15021 case $cc_basename in
15022 CC*)
15023 # Sun C++ 4.x
15024 # FIXME: insert proper C++ library support
15025 ld_shlibs_CXX=no
15026 ;;
15027 lcc*)
15028 # Lucid
15029 # FIXME: insert proper C++ library support
15030 ld_shlibs_CXX=no
15031 ;;
15032 *)
15033 # FIXME: insert proper C++ library support
15034 ld_shlibs_CXX=no
15035 ;;
15036 esac
15037 ;;
15038
15039 solaris*)
15040 case $cc_basename in
15041 CC* | sunCC*)
15042 # Sun C++ 4.2, 5.x and Centerline C++
15043 archive_cmds_need_lc_CXX=yes
15044 no_undefined_flag_CXX=' -zdefs'
15045 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15046 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15047 $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15048
15049 hardcode_libdir_flag_spec_CXX='-R$libdir'
15050 hardcode_shlibpath_var_CXX=no
15051 case $host_os in
15052 solaris2.[0-5] | solaris2.[0-5].*) ;;
15053 *)
15054 # The compiler driver will combine and reorder linker options,
15055 # but understands '-z linker_flag'.
15056 # Supported since Solaris 2.6 (maybe 2.5.1?)
15057 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15058 ;;
15059 esac
15060 link_all_deplibs_CXX=yes
15061
15062 output_verbose_link_cmd='func_echo_all'
15063
15064 # Archives containing C++ object files must be created using
15065 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15066 # necessary to make sure instantiated templates are included
15067 # in the archive.
15068 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15069 ;;
15070 gcx*)
15071 # Green Hills C++ Compiler
15072 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15073
15074 # The C++ compiler must be used to create the archive.
15075 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15076 ;;
15077 *)
15078 # GNU C++ compiler with Solaris linker
15079 if test yes,no = "$GXX,$with_gnu_ld"; then
15080 no_undefined_flag_CXX=' $wl-z ${wl}defs'
15081 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15082 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15083 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15084 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15085
15086 # Commands to make compiler produce verbose output that lists
15087 # what "hidden" libraries, object files and flags are used when
15088 # linking a shared library.
15089 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15090 else
15091 # g++ 2.7 appears to require '-G' NOT '-shared' on this
15092 # platform.
15093 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15094 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15095 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15096
15097 # Commands to make compiler produce verbose output that lists
15098 # what "hidden" libraries, object files and flags are used when
15099 # linking a shared library.
15100 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15101 fi
15102
15103 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
15104 case $host_os in
15105 solaris2.[0-5] | solaris2.[0-5].*) ;;
15106 *)
15107 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
15108 ;;
15109 esac
15110 fi
15111 ;;
15112 esac
15113 ;;
15114
15115 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15116 no_undefined_flag_CXX='$wl-z,text'
15117 archive_cmds_need_lc_CXX=no
15118 hardcode_shlibpath_var_CXX=no
15119 runpath_var='LD_RUN_PATH'
15120
15121 case $cc_basename in
15122 CC*)
15123 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15124 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15125 ;;
15126 *)
15127 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15128 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15129 ;;
15130 esac
15131 ;;
15132
15133 sysv5* | sco3.2v5* | sco5v6*)
15134 # Note: We CANNOT use -z defs as we might desire, because we do not
15135 # link with -lc, and that would cause any symbols used from libc to
15136 # always be unresolved, which means just about no library would
15137 # ever link correctly. If we're not using GNU ld we use -z text
15138 # though, which does catch some bad symbols but isn't as heavy-handed
15139 # as -z defs.
15140 no_undefined_flag_CXX='$wl-z,text'
15141 allow_undefined_flag_CXX='$wl-z,nodefs'
15142 archive_cmds_need_lc_CXX=no
15143 hardcode_shlibpath_var_CXX=no
15144 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
15145 hardcode_libdir_separator_CXX=':'
15146 link_all_deplibs_CXX=yes
15147 export_dynamic_flag_spec_CXX='$wl-Bexport'
15148 runpath_var='LD_RUN_PATH'
15149
15150 case $cc_basename in
15151 CC*)
15152 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15153 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15154 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15155 '"$old_archive_cmds_CXX"
15156 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15157 '"$reload_cmds_CXX"
15158 ;;
15159 *)
15160 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15161 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15162 ;;
15163 esac
15164 ;;
15165
15166 tandem*)
15167 case $cc_basename in
15168 NCC*)
15169 # NonStop-UX NCC 3.20
15170 # FIXME: insert proper C++ library support
15171 ld_shlibs_CXX=no
15172 ;;
15173 *)
15174 # FIXME: insert proper C++ library support
15175 ld_shlibs_CXX=no
15176 ;;
15177 esac
15178 ;;
15179
15180 vxworks*)
15181 # FIXME: insert proper C++ library support
15182 ld_shlibs_CXX=no
15183 ;;
15184
15185 *)
15186 # FIXME: insert proper C++ library support
15187 ld_shlibs_CXX=no
15188 ;;
15189 esac
15190
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15192 $as_echo "$ld_shlibs_CXX" >&6; }
15193 test no = "$ld_shlibs_CXX" && can_build_shared=no
15194
15195 GCC_CXX=$GXX
15196 LD_CXX=$LD
15197
15198 ## CAVEAT EMPTOR:
15199 ## There is no encapsulation within the following macros, do not change
15200 ## the running order or otherwise move them around unless you know exactly
15201 ## what you are doing...
15202 # Dependencies to place before and after the object being linked:
15203 predep_objects_CXX=
15204 postdep_objects_CXX=
15205 predeps_CXX=
15206 postdeps_CXX=
15207 compiler_lib_search_path_CXX=
15208
15209 cat > conftest.$ac_ext <<_LT_EOF
15210 class Foo
15211 {
15212 public:
15213 Foo (void) { a = 0; }
15214 private:
15215 int a;
15216 };
15217 _LT_EOF
15218
15219
15220 _lt_libdeps_save_CFLAGS=$CFLAGS
15221 case "$CC $CFLAGS " in #(
15222 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15223 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15224 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
15225 esac
15226
15227 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15228 (eval $ac_compile) 2>&5
15229 ac_status=$?
15230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15231 test $ac_status = 0; }; then
15232 # Parse the compiler output and extract the necessary
15233 # objects, libraries and library flags.
15234
15235 # Sentinel used to keep track of whether or not we are before
15236 # the conftest object file.
15237 pre_test_object_deps_done=no
15238
15239 for p in `eval "$output_verbose_link_cmd"`; do
15240 case $prev$p in
15241
15242 -L* | -R* | -l*)
15243 # Some compilers place space between "-{L,R}" and the path.
15244 # Remove the space.
15245 if test x-L = "$p" ||
15246 test x-R = "$p"; then
15247 prev=$p
15248 continue
15249 fi
15250
15251 # Expand the sysroot to ease extracting the directories later.
15252 if test -z "$prev"; then
15253 case $p in
15254 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15255 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15256 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15257 esac
15258 fi
15259 case $p in
15260 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15261 esac
15262 if test no = "$pre_test_object_deps_done"; then
15263 case $prev in
15264 -L | -R)
15265 # Internal compiler library paths should come after those
15266 # provided the user. The postdeps already come after the
15267 # user supplied libs so there is no need to process them.
15268 if test -z "$compiler_lib_search_path_CXX"; then
15269 compiler_lib_search_path_CXX=$prev$p
15270 else
15271 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
15272 fi
15273 ;;
15274 # The "-l" case would never come before the object being
15275 # linked, so don't bother handling this case.
15276 esac
15277 else
15278 if test -z "$postdeps_CXX"; then
15279 postdeps_CXX=$prev$p
15280 else
15281 postdeps_CXX="${postdeps_CXX} $prev$p"
15282 fi
15283 fi
15284 prev=
15285 ;;
15286
15287 *.lto.$objext) ;; # Ignore GCC LTO objects
15288 *.$objext)
15289 # This assumes that the test object file only shows up
15290 # once in the compiler output.
15291 if test "$p" = "conftest.$objext"; then
15292 pre_test_object_deps_done=yes
15293 continue
15294 fi
15295
15296 if test no = "$pre_test_object_deps_done"; then
15297 if test -z "$predep_objects_CXX"; then
15298 predep_objects_CXX=$p
15299 else
15300 predep_objects_CXX="$predep_objects_CXX $p"
15301 fi
15302 else
15303 if test -z "$postdep_objects_CXX"; then
15304 postdep_objects_CXX=$p
15305 else
15306 postdep_objects_CXX="$postdep_objects_CXX $p"
15307 fi
15308 fi
15309 ;;
15310
15311 *) ;; # Ignore the rest.
15312
15313 esac
15314 done
15315
15316 # Clean up.
15317 rm -f a.out a.exe
15318 else
15319 echo "libtool.m4: error: problem compiling CXX test program"
15320 fi
15321
15322 $RM -f confest.$objext
15323 CFLAGS=$_lt_libdeps_save_CFLAGS
15324
15325 # PORTME: override above test on systems where it is broken
15326 case $host_os in
15327 interix[3-9]*)
15328 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15329 # hack all around it, let's just trust "g++" to DTRT.
15330 predep_objects_CXX=
15331 postdep_objects_CXX=
15332 postdeps_CXX=
15333 ;;
15334 esac
15335
15336
15337 case " $postdeps_CXX " in
15338 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15339 esac
15340 compiler_lib_search_dirs_CXX=
15341 if test -n "${compiler_lib_search_path_CXX}"; then
15342 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
15343 fi
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375 lt_prog_compiler_wl_CXX=
15376 lt_prog_compiler_pic_CXX=
15377 lt_prog_compiler_static_CXX=
15378
15379
15380 # C++ specific cases for pic, static, wl, etc.
15381 if test yes = "$GXX"; then
15382 lt_prog_compiler_wl_CXX='-Wl,'
15383 lt_prog_compiler_static_CXX='-static'
15384
15385 case $host_os in
15386 aix*)
15387 # All AIX code is PIC.
15388 if test ia64 = "$host_cpu"; then
15389 # AIX 5 now supports IA64 processor
15390 lt_prog_compiler_static_CXX='-Bstatic'
15391 fi
15392 lt_prog_compiler_pic_CXX='-fPIC'
15393 ;;
15394
15395 amigaos*)
15396 case $host_cpu in
15397 powerpc)
15398 # see comment about AmigaOS4 .so support
15399 lt_prog_compiler_pic_CXX='-fPIC'
15400 ;;
15401 m68k)
15402 # FIXME: we need at least 68020 code to build shared libraries, but
15403 # adding the '-m68020' flag to GCC prevents building anything better,
15404 # like '-m68040'.
15405 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15406 ;;
15407 esac
15408 ;;
15409
15410 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15411 # PIC is the default for these OSes.
15412 ;;
15413 mingw* | cygwin* | os2* | pw32* | cegcc*)
15414 # This hack is so that the source file can tell whether it is being
15415 # built for inclusion in a dll (and should export symbols for example).
15416 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15417 # (--disable-auto-import) libraries
15418 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15419 case $host_os in
15420 os2*)
15421 lt_prog_compiler_static_CXX='$wl-static'
15422 ;;
15423 esac
15424 ;;
15425 darwin* | rhapsody*)
15426 # PIC is the default on this platform
15427 # Common symbols not allowed in MH_DYLIB files
15428 lt_prog_compiler_pic_CXX='-fno-common'
15429 ;;
15430 *djgpp*)
15431 # DJGPP does not support shared libraries at all
15432 lt_prog_compiler_pic_CXX=
15433 ;;
15434 haiku*)
15435 # PIC is the default for Haiku.
15436 # The "-static" flag exists, but is broken.
15437 lt_prog_compiler_static_CXX=
15438 ;;
15439 interix[3-9]*)
15440 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15441 # Instead, we relocate shared libraries at runtime.
15442 ;;
15443 sysv4*MP*)
15444 if test -d /usr/nec; then
15445 lt_prog_compiler_pic_CXX=-Kconform_pic
15446 fi
15447 ;;
15448 hpux*)
15449 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15450 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15451 # sets the default TLS model and affects inlining.
15452 case $host_cpu in
15453 hppa*64*)
15454 ;;
15455 *)
15456 lt_prog_compiler_pic_CXX='-fPIC'
15457 ;;
15458 esac
15459 ;;
15460 *qnx* | *nto*)
15461 # QNX uses GNU C++, but need to define -shared option too, otherwise
15462 # it will coredump.
15463 lt_prog_compiler_pic_CXX='-fPIC -shared'
15464 ;;
15465 *)
15466 lt_prog_compiler_pic_CXX='-fPIC'
15467 ;;
15468 esac
15469 else
15470 case $host_os in
15471 aix[4-9]*)
15472 # All AIX code is PIC.
15473 if test ia64 = "$host_cpu"; then
15474 # AIX 5 now supports IA64 processor
15475 lt_prog_compiler_static_CXX='-Bstatic'
15476 else
15477 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15478 fi
15479 ;;
15480 chorus*)
15481 case $cc_basename in
15482 cxch68*)
15483 # Green Hills C++ Compiler
15484 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
15485 ;;
15486 esac
15487 ;;
15488 mingw* | cygwin* | os2* | pw32* | cegcc*)
15489 # This hack is so that the source file can tell whether it is being
15490 # built for inclusion in a dll (and should export symbols for example).
15491 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15492 ;;
15493 dgux*)
15494 case $cc_basename in
15495 ec++*)
15496 lt_prog_compiler_pic_CXX='-KPIC'
15497 ;;
15498 ghcx*)
15499 # Green Hills C++ Compiler
15500 lt_prog_compiler_pic_CXX='-pic'
15501 ;;
15502 *)
15503 ;;
15504 esac
15505 ;;
15506 freebsd* | dragonfly*)
15507 # FreeBSD uses GNU C++
15508 ;;
15509 hpux9* | hpux10* | hpux11*)
15510 case $cc_basename in
15511 CC*)
15512 lt_prog_compiler_wl_CXX='-Wl,'
15513 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15514 if test ia64 != "$host_cpu"; then
15515 lt_prog_compiler_pic_CXX='+Z'
15516 fi
15517 ;;
15518 aCC*)
15519 lt_prog_compiler_wl_CXX='-Wl,'
15520 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15521 case $host_cpu in
15522 hppa*64*|ia64*)
15523 # +Z the default
15524 ;;
15525 *)
15526 lt_prog_compiler_pic_CXX='+Z'
15527 ;;
15528 esac
15529 ;;
15530 *)
15531 ;;
15532 esac
15533 ;;
15534 interix*)
15535 # This is c89, which is MS Visual C++ (no shared libs)
15536 # Anyone wants to do a port?
15537 ;;
15538 irix5* | irix6* | nonstopux*)
15539 case $cc_basename in
15540 CC*)
15541 lt_prog_compiler_wl_CXX='-Wl,'
15542 lt_prog_compiler_static_CXX='-non_shared'
15543 # CC pic flag -KPIC is the default.
15544 ;;
15545 *)
15546 ;;
15547 esac
15548 ;;
15549 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15550 case $cc_basename in
15551 KCC*)
15552 # KAI C++ Compiler
15553 lt_prog_compiler_wl_CXX='--backend -Wl,'
15554 lt_prog_compiler_pic_CXX='-fPIC'
15555 ;;
15556 ecpc* )
15557 # old Intel C++ for x86_64, which still supported -KPIC.
15558 lt_prog_compiler_wl_CXX='-Wl,'
15559 lt_prog_compiler_pic_CXX='-KPIC'
15560 lt_prog_compiler_static_CXX='-static'
15561 ;;
15562 icpc* )
15563 # Intel C++, used to be incompatible with GCC.
15564 # ICC 10 doesn't accept -KPIC any more.
15565 lt_prog_compiler_wl_CXX='-Wl,'
15566 lt_prog_compiler_pic_CXX='-fPIC'
15567 lt_prog_compiler_static_CXX='-static'
15568 ;;
15569 pgCC* | pgcpp*)
15570 # Portland Group C++ compiler
15571 lt_prog_compiler_wl_CXX='-Wl,'
15572 lt_prog_compiler_pic_CXX='-fpic'
15573 lt_prog_compiler_static_CXX='-Bstatic'
15574 ;;
15575 cxx*)
15576 # Compaq C++
15577 # Make sure the PIC flag is empty. It appears that all Alpha
15578 # Linux and Compaq Tru64 Unix objects are PIC.
15579 lt_prog_compiler_pic_CXX=
15580 lt_prog_compiler_static_CXX='-non_shared'
15581 ;;
15582 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15583 # IBM XL 8.0, 9.0 on PPC and BlueGene
15584 lt_prog_compiler_wl_CXX='-Wl,'
15585 lt_prog_compiler_pic_CXX='-qpic'
15586 lt_prog_compiler_static_CXX='-qstaticlink'
15587 ;;
15588 *)
15589 case `$CC -V 2>&1 | sed 5q` in
15590 *Sun\ C*)
15591 # Sun C++ 5.9
15592 lt_prog_compiler_pic_CXX='-KPIC'
15593 lt_prog_compiler_static_CXX='-Bstatic'
15594 lt_prog_compiler_wl_CXX='-Qoption ld '
15595 ;;
15596 esac
15597 ;;
15598 esac
15599 ;;
15600 lynxos*)
15601 ;;
15602 m88k*)
15603 ;;
15604 mvs*)
15605 case $cc_basename in
15606 cxx*)
15607 lt_prog_compiler_pic_CXX='-W c,exportall'
15608 ;;
15609 *)
15610 ;;
15611 esac
15612 ;;
15613 netbsd*)
15614 ;;
15615 *qnx* | *nto*)
15616 # QNX uses GNU C++, but need to define -shared option too, otherwise
15617 # it will coredump.
15618 lt_prog_compiler_pic_CXX='-fPIC -shared'
15619 ;;
15620 osf3* | osf4* | osf5*)
15621 case $cc_basename in
15622 KCC*)
15623 lt_prog_compiler_wl_CXX='--backend -Wl,'
15624 ;;
15625 RCC*)
15626 # Rational C++ 2.4.1
15627 lt_prog_compiler_pic_CXX='-pic'
15628 ;;
15629 cxx*)
15630 # Digital/Compaq C++
15631 lt_prog_compiler_wl_CXX='-Wl,'
15632 # Make sure the PIC flag is empty. It appears that all Alpha
15633 # Linux and Compaq Tru64 Unix objects are PIC.
15634 lt_prog_compiler_pic_CXX=
15635 lt_prog_compiler_static_CXX='-non_shared'
15636 ;;
15637 *)
15638 ;;
15639 esac
15640 ;;
15641 psos*)
15642 ;;
15643 solaris*)
15644 case $cc_basename in
15645 CC* | sunCC*)
15646 # Sun C++ 4.2, 5.x and Centerline C++
15647 lt_prog_compiler_pic_CXX='-KPIC'
15648 lt_prog_compiler_static_CXX='-Bstatic'
15649 lt_prog_compiler_wl_CXX='-Qoption ld '
15650 ;;
15651 gcx*)
15652 # Green Hills C++ Compiler
15653 lt_prog_compiler_pic_CXX='-PIC'
15654 ;;
15655 *)
15656 ;;
15657 esac
15658 ;;
15659 sunos4*)
15660 case $cc_basename in
15661 CC*)
15662 # Sun C++ 4.x
15663 lt_prog_compiler_pic_CXX='-pic'
15664 lt_prog_compiler_static_CXX='-Bstatic'
15665 ;;
15666 lcc*)
15667 # Lucid
15668 lt_prog_compiler_pic_CXX='-pic'
15669 ;;
15670 *)
15671 ;;
15672 esac
15673 ;;
15674 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15675 case $cc_basename in
15676 CC*)
15677 lt_prog_compiler_wl_CXX='-Wl,'
15678 lt_prog_compiler_pic_CXX='-KPIC'
15679 lt_prog_compiler_static_CXX='-Bstatic'
15680 ;;
15681 esac
15682 ;;
15683 tandem*)
15684 case $cc_basename in
15685 NCC*)
15686 # NonStop-UX NCC 3.20
15687 lt_prog_compiler_pic_CXX='-KPIC'
15688 ;;
15689 *)
15690 ;;
15691 esac
15692 ;;
15693 vxworks*)
15694 ;;
15695 *)
15696 lt_prog_compiler_can_build_shared_CXX=no
15697 ;;
15698 esac
15699 fi
15700
15701 case $host_os in
15702 # For platforms that do not support PIC, -DPIC is meaningless:
15703 *djgpp*)
15704 lt_prog_compiler_pic_CXX=
15705 ;;
15706 *)
15707 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15708 ;;
15709 esac
15710
15711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15712 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15713 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15714 $as_echo_n "(cached) " >&6
15715 else
15716 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15717 fi
15718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15719 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15720 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15721
15722 #
15723 # Check to make sure the PIC flag actually works.
15724 #
15725 if test -n "$lt_prog_compiler_pic_CXX"; then
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15727 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15728 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15729 $as_echo_n "(cached) " >&6
15730 else
15731 lt_cv_prog_compiler_pic_works_CXX=no
15732 ac_outfile=conftest.$ac_objext
15733 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15734 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
15735 # Insert the option either (1) after the last *FLAGS variable, or
15736 # (2) before a word containing "conftest.", or (3) at the end.
15737 # Note that $ac_compile itself does not contain backslashes and begins
15738 # with a dollar sign (not a hyphen), so the echo should work correctly.
15739 # The option is referenced via a variable to avoid confusing sed.
15740 lt_compile=`echo "$ac_compile" | $SED \
15741 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15742 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15743 -e 's:$: $lt_compiler_flag:'`
15744 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15745 (eval "$lt_compile" 2>conftest.err)
15746 ac_status=$?
15747 cat conftest.err >&5
15748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749 if (exit $ac_status) && test -s "$ac_outfile"; then
15750 # The compiler can only warn and ignore the option if not recognized
15751 # So say no if there are warnings other than the usual output.
15752 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15753 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15754 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15755 lt_cv_prog_compiler_pic_works_CXX=yes
15756 fi
15757 fi
15758 $RM conftest*
15759
15760 fi
15761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15762 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15763
15764 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15765 case $lt_prog_compiler_pic_CXX in
15766 "" | " "*) ;;
15767 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15768 esac
15769 else
15770 lt_prog_compiler_pic_CXX=
15771 lt_prog_compiler_can_build_shared_CXX=no
15772 fi
15773
15774 fi
15775
15776
15777
15778
15779
15780 #
15781 # Check to make sure the static flag actually works.
15782 #
15783 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15785 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15786 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15787 $as_echo_n "(cached) " >&6
15788 else
15789 lt_cv_prog_compiler_static_works_CXX=no
15790 save_LDFLAGS=$LDFLAGS
15791 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15792 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15793 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15794 # The linker can only warn and ignore the option if not recognized
15795 # So say no if there are warnings
15796 if test -s conftest.err; then
15797 # Append any errors to the config.log.
15798 cat conftest.err 1>&5
15799 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15800 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15801 if diff conftest.exp conftest.er2 >/dev/null; then
15802 lt_cv_prog_compiler_static_works_CXX=yes
15803 fi
15804 else
15805 lt_cv_prog_compiler_static_works_CXX=yes
15806 fi
15807 fi
15808 $RM -r conftest*
15809 LDFLAGS=$save_LDFLAGS
15810
15811 fi
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15813 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15814
15815 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15816 :
15817 else
15818 lt_prog_compiler_static_CXX=
15819 fi
15820
15821
15822
15823
15824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15825 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15826 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15827 $as_echo_n "(cached) " >&6
15828 else
15829 lt_cv_prog_compiler_c_o_CXX=no
15830 $RM -r conftest 2>/dev/null
15831 mkdir conftest
15832 cd conftest
15833 mkdir out
15834 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15835
15836 lt_compiler_flag="-o out/conftest2.$ac_objext"
15837 # Insert the option either (1) after the last *FLAGS variable, or
15838 # (2) before a word containing "conftest.", or (3) at the end.
15839 # Note that $ac_compile itself does not contain backslashes and begins
15840 # with a dollar sign (not a hyphen), so the echo should work correctly.
15841 lt_compile=`echo "$ac_compile" | $SED \
15842 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15843 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15844 -e 's:$: $lt_compiler_flag:'`
15845 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15846 (eval "$lt_compile" 2>out/conftest.err)
15847 ac_status=$?
15848 cat out/conftest.err >&5
15849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15850 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15851 then
15852 # The compiler can only warn and ignore the option if not recognized
15853 # So say no if there are warnings
15854 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15855 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15856 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15857 lt_cv_prog_compiler_c_o_CXX=yes
15858 fi
15859 fi
15860 chmod u+w . 2>&5
15861 $RM conftest*
15862 # SGI C++ compiler will create directory out/ii_files/ for
15863 # template instantiation
15864 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15865 $RM out/* && rmdir out
15866 cd ..
15867 $RM -r conftest
15868 $RM conftest*
15869
15870 fi
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15872 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15873
15874
15875
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15877 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15878 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15879 $as_echo_n "(cached) " >&6
15880 else
15881 lt_cv_prog_compiler_c_o_CXX=no
15882 $RM -r conftest 2>/dev/null
15883 mkdir conftest
15884 cd conftest
15885 mkdir out
15886 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15887
15888 lt_compiler_flag="-o out/conftest2.$ac_objext"
15889 # Insert the option either (1) after the last *FLAGS variable, or
15890 # (2) before a word containing "conftest.", or (3) at the end.
15891 # Note that $ac_compile itself does not contain backslashes and begins
15892 # with a dollar sign (not a hyphen), so the echo should work correctly.
15893 lt_compile=`echo "$ac_compile" | $SED \
15894 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15895 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15896 -e 's:$: $lt_compiler_flag:'`
15897 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15898 (eval "$lt_compile" 2>out/conftest.err)
15899 ac_status=$?
15900 cat out/conftest.err >&5
15901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15902 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15903 then
15904 # The compiler can only warn and ignore the option if not recognized
15905 # So say no if there are warnings
15906 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15907 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15908 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15909 lt_cv_prog_compiler_c_o_CXX=yes
15910 fi
15911 fi
15912 chmod u+w . 2>&5
15913 $RM conftest*
15914 # SGI C++ compiler will create directory out/ii_files/ for
15915 # template instantiation
15916 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15917 $RM out/* && rmdir out
15918 cd ..
15919 $RM -r conftest
15920 $RM conftest*
15921
15922 fi
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15924 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15925
15926
15927
15928
15929 hard_links=nottested
15930 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
15931 # do not overwrite the value of need_locks provided by the user
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15933 $as_echo_n "checking if we can lock with hard links... " >&6; }
15934 hard_links=yes
15935 $RM conftest*
15936 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15937 touch conftest.a
15938 ln conftest.a conftest.b 2>&5 || hard_links=no
15939 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15941 $as_echo "$hard_links" >&6; }
15942 if test no = "$hard_links"; then
15943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15944 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
15945 need_locks=warn
15946 fi
15947 else
15948 need_locks=no
15949 fi
15950
15951
15952
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15954 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15955
15956 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15957 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15958 case $host_os in
15959 aix[4-9]*)
15960 # If we're using GNU nm, then we don't want the "-C" option.
15961 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
15962 # Without the "-l" option, or with the "-B" option, AIX nm treats
15963 # weak defined symbols like other global defined symbols, whereas
15964 # GNU nm marks them as "W".
15965 # While the 'weak' keyword is ignored in the Export File, we need
15966 # it in the Import File for the 'aix-soname' feature, so we have
15967 # to replace the "-B" option with "-P" for AIX nm.
15968 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15969 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
15970 else
15971 export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
15972 fi
15973 ;;
15974 pw32*)
15975 export_symbols_cmds_CXX=$ltdll_cmds
15976 ;;
15977 cygwin* | mingw* | cegcc*)
15978 case $cc_basename in
15979 cl*)
15980 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15981 ;;
15982 *)
15983 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
15984 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15985 ;;
15986 esac
15987 ;;
15988 *)
15989 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15990 ;;
15991 esac
15992
15993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15994 $as_echo "$ld_shlibs_CXX" >&6; }
15995 test no = "$ld_shlibs_CXX" && can_build_shared=no
15996
15997 with_gnu_ld_CXX=$with_gnu_ld
15998
15999
16000
16001
16002
16003
16004 #
16005 # Do we need to explicitly link libc?
16006 #
16007 case "x$archive_cmds_need_lc_CXX" in
16008 x|xyes)
16009 # Assume -lc should be added
16010 archive_cmds_need_lc_CXX=yes
16011
16012 if test yes,yes = "$GCC,$enable_shared"; then
16013 case $archive_cmds_CXX in
16014 *'~'*)
16015 # FIXME: we may have to deal with multi-command sequences.
16016 ;;
16017 '$CC '*)
16018 # Test whether the compiler implicitly links with -lc since on some
16019 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16020 # to ld, don't add -lc before -lgcc.
16021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16022 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16023 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
16024 $as_echo_n "(cached) " >&6
16025 else
16026 $RM conftest*
16027 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16028
16029 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16030 (eval $ac_compile) 2>&5
16031 ac_status=$?
16032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16033 test $ac_status = 0; } 2>conftest.err; then
16034 soname=conftest
16035 lib=conftest
16036 libobjs=conftest.$ac_objext
16037 deplibs=
16038 wl=$lt_prog_compiler_wl_CXX
16039 pic_flag=$lt_prog_compiler_pic_CXX
16040 compiler_flags=-v
16041 linker_flags=-v
16042 verstring=
16043 output_objdir=.
16044 libname=conftest
16045 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16046 allow_undefined_flag_CXX=
16047 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16048 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16049 ac_status=$?
16050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16051 test $ac_status = 0; }
16052 then
16053 lt_cv_archive_cmds_need_lc_CXX=no
16054 else
16055 lt_cv_archive_cmds_need_lc_CXX=yes
16056 fi
16057 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16058 else
16059 cat conftest.err 1>&5
16060 fi
16061 $RM conftest*
16062
16063 fi
16064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16065 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16066 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16067 ;;
16068 esac
16069 fi
16070 ;;
16071 esac
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16135 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16136
16137 library_names_spec=
16138 libname_spec='lib$name'
16139 soname_spec=
16140 shrext_cmds=.so
16141 postinstall_cmds=
16142 postuninstall_cmds=
16143 finish_cmds=
16144 finish_eval=
16145 shlibpath_var=
16146 shlibpath_overrides_runpath=unknown
16147 version_type=none
16148 dynamic_linker="$host_os ld.so"
16149 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16150 need_lib_prefix=unknown
16151 hardcode_into_libs=no
16152
16153 # when you set need_version to no, make sure it does not cause -set_version
16154 # flags to be left without arguments
16155 need_version=unknown
16156
16157
16158
16159 case $host_os in
16160 aix3*)
16161 version_type=linux # correct to gnu/linux during the next big refactor
16162 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
16163 shlibpath_var=LIBPATH
16164
16165 # AIX 3 has no versioning support, so we append a major version to the name.
16166 soname_spec='$libname$release$shared_ext$major'
16167 ;;
16168
16169 aix[4-9]*)
16170 version_type=linux # correct to gnu/linux during the next big refactor
16171 need_lib_prefix=no
16172 need_version=no
16173 hardcode_into_libs=yes
16174 if test ia64 = "$host_cpu"; then
16175 # AIX 5 supports IA64
16176 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
16177 shlibpath_var=LD_LIBRARY_PATH
16178 else
16179 # With GCC up to 2.95.x, collect2 would create an import file
16180 # for dependence libraries. The import file would start with
16181 # the line '#! .'. This would cause the generated library to
16182 # depend on '.', always an invalid library. This was fixed in
16183 # development snapshots of GCC prior to 3.0.
16184 case $host_os in
16185 aix4 | aix4.[01] | aix4.[01].*)
16186 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16187 echo ' yes '
16188 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
16189 :
16190 else
16191 can_build_shared=no
16192 fi
16193 ;;
16194 esac
16195 # Using Import Files as archive members, it is possible to support
16196 # filename-based versioning of shared library archives on AIX. While
16197 # this would work for both with and without runtime linking, it will
16198 # prevent static linking of such archives. So we do filename-based
16199 # shared library versioning with .so extension only, which is used
16200 # when both runtime linking and shared linking is enabled.
16201 # Unfortunately, runtime linking may impact performance, so we do
16202 # not want this to be the default eventually. Also, we use the
16203 # versioned .so libs for executables only if there is the -brtl
16204 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
16205 # To allow for filename-based versioning support, we need to create
16206 # libNAME.so.V as an archive file, containing:
16207 # *) an Import File, referring to the versioned filename of the
16208 # archive as well as the shared archive member, telling the
16209 # bitwidth (32 or 64) of that shared object, and providing the
16210 # list of exported symbols of that shared object, eventually
16211 # decorated with the 'weak' keyword
16212 # *) the shared object with the F_LOADONLY flag set, to really avoid
16213 # it being seen by the linker.
16214 # At run time we better use the real file rather than another symlink,
16215 # but for link time we create the symlink libNAME.so -> libNAME.so.V
16216
16217 case $with_aix_soname,$aix_use_runtimelinking in
16218 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
16219 # soname into executable. Probably we can add versioning support to
16220 # collect2, so additional links can be useful in future.
16221 aix,yes) # traditional libtool
16222 dynamic_linker='AIX unversionable lib.so'
16223 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16224 # instead of lib<name>.a to let people know that these are not
16225 # typical AIX shared libraries.
16226 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16227 ;;
16228 aix,no) # traditional AIX only
16229 dynamic_linker='AIX lib.a(lib.so.V)'
16230 # We preserve .a as extension for shared libraries through AIX4.2
16231 # and later when we are not doing run time linking.
16232 library_names_spec='$libname$release.a $libname.a'
16233 soname_spec='$libname$release$shared_ext$major'
16234 ;;
16235 svr4,*) # full svr4 only
16236 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
16237 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16238 # We do not specify a path in Import Files, so LIBPATH fires.
16239 shlibpath_overrides_runpath=yes
16240 ;;
16241 *,yes) # both, prefer svr4
16242 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
16243 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16244 # unpreferred sharedlib libNAME.a needs extra handling
16245 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
16246 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
16247 # We do not specify a path in Import Files, so LIBPATH fires.
16248 shlibpath_overrides_runpath=yes
16249 ;;
16250 *,no) # both, prefer aix
16251 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
16252 library_names_spec='$libname$release.a $libname.a'
16253 soname_spec='$libname$release$shared_ext$major'
16254 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
16255 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
16256 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
16257 ;;
16258 esac
16259 shlibpath_var=LIBPATH
16260 fi
16261 ;;
16262
16263 amigaos*)
16264 case $host_cpu in
16265 powerpc)
16266 # Since July 2007 AmigaOS4 officially supports .so libraries.
16267 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16268 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16269 ;;
16270 m68k)
16271 library_names_spec='$libname.ixlibrary $libname.a'
16272 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16273 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
16274 ;;
16275 esac
16276 ;;
16277
16278 beos*)
16279 library_names_spec='$libname$shared_ext'
16280 dynamic_linker="$host_os ld.so"
16281 shlibpath_var=LIBRARY_PATH
16282 ;;
16283
16284 bsdi[45]*)
16285 version_type=linux # correct to gnu/linux during the next big refactor
16286 need_version=no
16287 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16288 soname_spec='$libname$release$shared_ext$major'
16289 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16290 shlibpath_var=LD_LIBRARY_PATH
16291 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16292 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16293 # the default ld.so.conf also contains /usr/contrib/lib and
16294 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16295 # libtool to hard-code these into programs
16296 ;;
16297
16298 cygwin* | mingw* | pw32* | cegcc*)
16299 version_type=windows
16300 shrext_cmds=.dll
16301 need_version=no
16302 need_lib_prefix=no
16303
16304 case $GCC,$cc_basename in
16305 yes,*)
16306 # gcc
16307 library_names_spec='$libname.dll.a'
16308 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16309 postinstall_cmds='base_file=`basename \$file`~
16310 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16311 dldir=$destdir/`dirname \$dlpath`~
16312 test -d \$dldir || mkdir -p \$dldir~
16313 $install_prog $dir/$dlname \$dldir/$dlname~
16314 chmod a+x \$dldir/$dlname~
16315 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16316 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16317 fi'
16318 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16319 dlpath=$dir/\$dldll~
16320 $RM \$dlpath'
16321 shlibpath_overrides_runpath=yes
16322
16323 case $host_os in
16324 cygwin*)
16325 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16326 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16327
16328 ;;
16329 mingw* | cegcc*)
16330 # MinGW DLLs use traditional 'lib' prefix
16331 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16332 ;;
16333 pw32*)
16334 # pw32 DLLs use 'pw' prefix rather than 'lib'
16335 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16336 ;;
16337 esac
16338 dynamic_linker='Win32 ld.exe'
16339 ;;
16340
16341 *,cl*)
16342 # Native MSVC
16343 libname_spec='$name'
16344 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16345 library_names_spec='$libname.dll.lib'
16346
16347 case $build_os in
16348 mingw*)
16349 sys_lib_search_path_spec=
16350 lt_save_ifs=$IFS
16351 IFS=';'
16352 for lt_path in $LIB
16353 do
16354 IFS=$lt_save_ifs
16355 # Let DOS variable expansion print the short 8.3 style file name.
16356 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16357 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16358 done
16359 IFS=$lt_save_ifs
16360 # Convert to MSYS style.
16361 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16362 ;;
16363 cygwin*)
16364 # Convert to unix form, then to dos form, then back to unix form
16365 # but this time dos style (no spaces!) so that the unix form looks
16366 # like /cygdrive/c/PROGRA~1:/cygdr...
16367 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16368 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16369 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16370 ;;
16371 *)
16372 sys_lib_search_path_spec=$LIB
16373 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16374 # It is most probably a Windows format PATH.
16375 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16376 else
16377 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16378 fi
16379 # FIXME: find the short name or the path components, as spaces are
16380 # common. (e.g. "Program Files" -> "PROGRA~1")
16381 ;;
16382 esac
16383
16384 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16385 postinstall_cmds='base_file=`basename \$file`~
16386 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16387 dldir=$destdir/`dirname \$dlpath`~
16388 test -d \$dldir || mkdir -p \$dldir~
16389 $install_prog $dir/$dlname \$dldir/$dlname'
16390 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16391 dlpath=$dir/\$dldll~
16392 $RM \$dlpath'
16393 shlibpath_overrides_runpath=yes
16394 dynamic_linker='Win32 link.exe'
16395 ;;
16396
16397 *)
16398 # Assume MSVC wrapper
16399 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
16400 dynamic_linker='Win32 ld.exe'
16401 ;;
16402 esac
16403 # FIXME: first we should search . and the directory the executable is in
16404 shlibpath_var=PATH
16405 ;;
16406
16407 darwin* | rhapsody*)
16408 dynamic_linker="$host_os dyld"
16409 version_type=darwin
16410 need_lib_prefix=no
16411 need_version=no
16412 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
16413 soname_spec='$libname$release$major$shared_ext'
16414 shlibpath_overrides_runpath=yes
16415 shlibpath_var=DYLD_LIBRARY_PATH
16416 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16417
16418 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16419 ;;
16420
16421 dgux*)
16422 version_type=linux # correct to gnu/linux during the next big refactor
16423 need_lib_prefix=no
16424 need_version=no
16425 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16426 soname_spec='$libname$release$shared_ext$major'
16427 shlibpath_var=LD_LIBRARY_PATH
16428 ;;
16429
16430 freebsd* | dragonfly*)
16431 # DragonFly does not have aout. When/if they implement a new
16432 # versioning mechanism, adjust this.
16433 if test -x /usr/bin/objformat; then
16434 objformat=`/usr/bin/objformat`
16435 else
16436 case $host_os in
16437 freebsd[23].*) objformat=aout ;;
16438 *) objformat=elf ;;
16439 esac
16440 fi
16441 version_type=freebsd-$objformat
16442 case $version_type in
16443 freebsd-elf*)
16444 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16445 soname_spec='$libname$release$shared_ext$major'
16446 need_version=no
16447 need_lib_prefix=no
16448 ;;
16449 freebsd-*)
16450 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16451 need_version=yes
16452 ;;
16453 esac
16454 shlibpath_var=LD_LIBRARY_PATH
16455 case $host_os in
16456 freebsd2.*)
16457 shlibpath_overrides_runpath=yes
16458 ;;
16459 freebsd3.[01]* | freebsdelf3.[01]*)
16460 shlibpath_overrides_runpath=yes
16461 hardcode_into_libs=yes
16462 ;;
16463 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16464 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16465 shlibpath_overrides_runpath=no
16466 hardcode_into_libs=yes
16467 ;;
16468 *) # from 4.6 on, and DragonFly
16469 shlibpath_overrides_runpath=yes
16470 hardcode_into_libs=yes
16471 ;;
16472 esac
16473 ;;
16474
16475 haiku*)
16476 version_type=linux # correct to gnu/linux during the next big refactor
16477 need_lib_prefix=no
16478 need_version=no
16479 dynamic_linker="$host_os runtime_loader"
16480 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16481 soname_spec='$libname$release$shared_ext$major'
16482 shlibpath_var=LIBRARY_PATH
16483 shlibpath_overrides_runpath=no
16484 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16485 hardcode_into_libs=yes
16486 ;;
16487
16488 hpux9* | hpux10* | hpux11*)
16489 # Give a soname corresponding to the major version so that dld.sl refuses to
16490 # link against other versions.
16491 version_type=sunos
16492 need_lib_prefix=no
16493 need_version=no
16494 case $host_cpu in
16495 ia64*)
16496 shrext_cmds='.so'
16497 hardcode_into_libs=yes
16498 dynamic_linker="$host_os dld.so"
16499 shlibpath_var=LD_LIBRARY_PATH
16500 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16501 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16502 soname_spec='$libname$release$shared_ext$major'
16503 if test 32 = "$HPUX_IA64_MODE"; then
16504 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16505 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
16506 else
16507 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16508 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
16509 fi
16510 ;;
16511 hppa*64*)
16512 shrext_cmds='.sl'
16513 hardcode_into_libs=yes
16514 dynamic_linker="$host_os dld.sl"
16515 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16516 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16517 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16518 soname_spec='$libname$release$shared_ext$major'
16519 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16520 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16521 ;;
16522 *)
16523 shrext_cmds='.sl'
16524 dynamic_linker="$host_os dld.sl"
16525 shlibpath_var=SHLIB_PATH
16526 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16527 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16528 soname_spec='$libname$release$shared_ext$major'
16529 ;;
16530 esac
16531 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16532 postinstall_cmds='chmod 555 $lib'
16533 # or fails outright, so override atomically:
16534 install_override_mode=555
16535 ;;
16536
16537 interix[3-9]*)
16538 version_type=linux # correct to gnu/linux during the next big refactor
16539 need_lib_prefix=no
16540 need_version=no
16541 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16542 soname_spec='$libname$release$shared_ext$major'
16543 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16544 shlibpath_var=LD_LIBRARY_PATH
16545 shlibpath_overrides_runpath=no
16546 hardcode_into_libs=yes
16547 ;;
16548
16549 irix5* | irix6* | nonstopux*)
16550 case $host_os in
16551 nonstopux*) version_type=nonstopux ;;
16552 *)
16553 if test yes = "$lt_cv_prog_gnu_ld"; then
16554 version_type=linux # correct to gnu/linux during the next big refactor
16555 else
16556 version_type=irix
16557 fi ;;
16558 esac
16559 need_lib_prefix=no
16560 need_version=no
16561 soname_spec='$libname$release$shared_ext$major'
16562 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16563 case $host_os in
16564 irix5* | nonstopux*)
16565 libsuff= shlibsuff=
16566 ;;
16567 *)
16568 case $LD in # libtool.m4 will add one of these switches to LD
16569 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16570 libsuff= shlibsuff= libmagic=32-bit;;
16571 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16572 libsuff=32 shlibsuff=N32 libmagic=N32;;
16573 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16574 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16575 *) libsuff= shlibsuff= libmagic=never-match;;
16576 esac
16577 ;;
16578 esac
16579 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16580 shlibpath_overrides_runpath=no
16581 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16582 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
16583 hardcode_into_libs=yes
16584 ;;
16585
16586 # No shared lib support for Linux oldld, aout, or coff.
16587 linux*oldld* | linux*aout* | linux*coff*)
16588 dynamic_linker=no
16589 ;;
16590
16591 linux*android*)
16592 version_type=none # Android doesn't support versioned libraries.
16593 need_lib_prefix=no
16594 need_version=no
16595 library_names_spec='$libname$release$shared_ext'
16596 soname_spec='$libname$release$shared_ext'
16597 finish_cmds=
16598 shlibpath_var=LD_LIBRARY_PATH
16599 shlibpath_overrides_runpath=yes
16600
16601 # This implies no fast_install, which is unacceptable.
16602 # Some rework will be needed to allow for fast_install
16603 # before this can be enabled.
16604 hardcode_into_libs=yes
16605
16606 dynamic_linker='Android linker'
16607 # Don't embed -rpath directories since the linker doesn't support them.
16608 hardcode_libdir_flag_spec_CXX='-L$libdir'
16609 ;;
16610
16611 # This must be glibc/ELF.
16612 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16613 version_type=linux # correct to gnu/linux during the next big refactor
16614 need_lib_prefix=no
16615 need_version=no
16616 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16617 soname_spec='$libname$release$shared_ext$major'
16618 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16619 shlibpath_var=LD_LIBRARY_PATH
16620 shlibpath_overrides_runpath=no
16621
16622 # Some binutils ld are patched to set DT_RUNPATH
16623 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16624 $as_echo_n "(cached) " >&6
16625 else
16626 lt_cv_shlibpath_overrides_runpath=no
16627 save_LDFLAGS=$LDFLAGS
16628 save_libdir=$libdir
16629 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16630 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16632 /* end confdefs.h. */
16633
16634 int
16635 main ()
16636 {
16637
16638 ;
16639 return 0;
16640 }
16641 _ACEOF
16642 if ac_fn_cxx_try_link "$LINENO"; then :
16643 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16644 lt_cv_shlibpath_overrides_runpath=yes
16645 fi
16646 fi
16647 rm -f core conftest.err conftest.$ac_objext \
16648 conftest$ac_exeext conftest.$ac_ext
16649 LDFLAGS=$save_LDFLAGS
16650 libdir=$save_libdir
16651
16652 fi
16653
16654 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16655
16656 # This implies no fast_install, which is unacceptable.
16657 # Some rework will be needed to allow for fast_install
16658 # before this can be enabled.
16659 hardcode_into_libs=yes
16660
16661 # Add ABI-specific directories to the system library path.
16662 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
16663
16664 # Ideally, we could use ldconfig to report *all* directores which are
16665 # searched for libraries, however this is still not possible. Aside from not
16666 # being certain /sbin/ldconfig is available, command
16667 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16668 # even though it is searched at run-time. Try to do the best guess by
16669 # appending ld.so.conf contents (and includes) to the search path.
16670 if test -f /etc/ld.so.conf; then
16671 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
16672 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
16673 fi
16674
16675 # We used to test for /lib/ld.so.1 and disable shared libraries on
16676 # powerpc, because MkLinux only supported shared libraries with the
16677 # GNU dynamic linker. Since this was broken with cross compilers,
16678 # most powerpc-linux boxes support dynamic linking these days and
16679 # people can always --disable-shared, the test was removed, and we
16680 # assume the GNU/Linux dynamic linker is in use.
16681 dynamic_linker='GNU/Linux ld.so'
16682 ;;
16683
16684 netbsd*)
16685 version_type=sunos
16686 need_lib_prefix=no
16687 need_version=no
16688 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16689 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16690 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16691 dynamic_linker='NetBSD (a.out) ld.so'
16692 else
16693 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16694 soname_spec='$libname$release$shared_ext$major'
16695 dynamic_linker='NetBSD ld.elf_so'
16696 fi
16697 shlibpath_var=LD_LIBRARY_PATH
16698 shlibpath_overrides_runpath=yes
16699 hardcode_into_libs=yes
16700 ;;
16701
16702 newsos6)
16703 version_type=linux # correct to gnu/linux during the next big refactor
16704 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16705 shlibpath_var=LD_LIBRARY_PATH
16706 shlibpath_overrides_runpath=yes
16707 ;;
16708
16709 *nto* | *qnx*)
16710 version_type=qnx
16711 need_lib_prefix=no
16712 need_version=no
16713 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16714 soname_spec='$libname$release$shared_ext$major'
16715 shlibpath_var=LD_LIBRARY_PATH
16716 shlibpath_overrides_runpath=no
16717 hardcode_into_libs=yes
16718 dynamic_linker='ldqnx.so'
16719 ;;
16720
16721 openbsd* | bitrig*)
16722 version_type=sunos
16723 sys_lib_dlsearch_path_spec=/usr/lib
16724 need_lib_prefix=no
16725 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16726 need_version=no
16727 else
16728 need_version=yes
16729 fi
16730 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16731 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16732 shlibpath_var=LD_LIBRARY_PATH
16733 shlibpath_overrides_runpath=yes
16734 ;;
16735
16736 os2*)
16737 libname_spec='$name'
16738 version_type=windows
16739 shrext_cmds=.dll
16740 need_version=no
16741 need_lib_prefix=no
16742 # OS/2 can only load a DLL with a base name of 8 characters or less.
16743 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
16744 v=$($ECHO $release$versuffix | tr -d .-);
16745 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16746 $ECHO $n$v`$shared_ext'
16747 library_names_spec='${libname}_dll.$libext'
16748 dynamic_linker='OS/2 ld.exe'
16749 shlibpath_var=BEGINLIBPATH
16750 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16751 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16752 postinstall_cmds='base_file=`basename \$file`~
16753 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16754 dldir=$destdir/`dirname \$dlpath`~
16755 test -d \$dldir || mkdir -p \$dldir~
16756 $install_prog $dir/$dlname \$dldir/$dlname~
16757 chmod a+x \$dldir/$dlname~
16758 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16759 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16760 fi'
16761 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16762 dlpath=$dir/\$dldll~
16763 $RM \$dlpath'
16764 ;;
16765
16766 osf3* | osf4* | osf5*)
16767 version_type=osf
16768 need_lib_prefix=no
16769 need_version=no
16770 soname_spec='$libname$release$shared_ext$major'
16771 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16772 shlibpath_var=LD_LIBRARY_PATH
16773 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16774 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16775 ;;
16776
16777 rdos*)
16778 dynamic_linker=no
16779 ;;
16780
16781 solaris*)
16782 version_type=linux # correct to gnu/linux during the next big refactor
16783 need_lib_prefix=no
16784 need_version=no
16785 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16786 soname_spec='$libname$release$shared_ext$major'
16787 shlibpath_var=LD_LIBRARY_PATH
16788 shlibpath_overrides_runpath=yes
16789 hardcode_into_libs=yes
16790 # ldd complains unless libraries are executable
16791 postinstall_cmds='chmod +x $lib'
16792 ;;
16793
16794 sunos4*)
16795 version_type=sunos
16796 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16797 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16798 shlibpath_var=LD_LIBRARY_PATH
16799 shlibpath_overrides_runpath=yes
16800 if test yes = "$with_gnu_ld"; then
16801 need_lib_prefix=no
16802 fi
16803 need_version=yes
16804 ;;
16805
16806 sysv4 | sysv4.3*)
16807 version_type=linux # correct to gnu/linux during the next big refactor
16808 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16809 soname_spec='$libname$release$shared_ext$major'
16810 shlibpath_var=LD_LIBRARY_PATH
16811 case $host_vendor in
16812 sni)
16813 shlibpath_overrides_runpath=no
16814 need_lib_prefix=no
16815 runpath_var=LD_RUN_PATH
16816 ;;
16817 siemens)
16818 need_lib_prefix=no
16819 ;;
16820 motorola)
16821 need_lib_prefix=no
16822 need_version=no
16823 shlibpath_overrides_runpath=no
16824 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16825 ;;
16826 esac
16827 ;;
16828
16829 sysv4*MP*)
16830 if test -d /usr/nec; then
16831 version_type=linux # correct to gnu/linux during the next big refactor
16832 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16833 soname_spec='$libname$shared_ext.$major'
16834 shlibpath_var=LD_LIBRARY_PATH
16835 fi
16836 ;;
16837
16838 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16839 version_type=sco
16840 need_lib_prefix=no
16841 need_version=no
16842 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16843 soname_spec='$libname$release$shared_ext$major'
16844 shlibpath_var=LD_LIBRARY_PATH
16845 shlibpath_overrides_runpath=yes
16846 hardcode_into_libs=yes
16847 if test yes = "$with_gnu_ld"; then
16848 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16849 else
16850 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16851 case $host_os in
16852 sco3.2v5*)
16853 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16854 ;;
16855 esac
16856 fi
16857 sys_lib_dlsearch_path_spec='/usr/lib'
16858 ;;
16859
16860 tpf*)
16861 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16862 version_type=linux # correct to gnu/linux during the next big refactor
16863 need_lib_prefix=no
16864 need_version=no
16865 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16866 shlibpath_var=LD_LIBRARY_PATH
16867 shlibpath_overrides_runpath=no
16868 hardcode_into_libs=yes
16869 ;;
16870
16871 uts4*)
16872 version_type=linux # correct to gnu/linux during the next big refactor
16873 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16874 soname_spec='$libname$release$shared_ext$major'
16875 shlibpath_var=LD_LIBRARY_PATH
16876 ;;
16877
16878 *)
16879 dynamic_linker=no
16880 ;;
16881 esac
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16883 $as_echo "$dynamic_linker" >&6; }
16884 test no = "$dynamic_linker" && can_build_shared=no
16885
16886 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16887 if test yes = "$GCC"; then
16888 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16889 fi
16890
16891 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16892 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
16893 fi
16894
16895 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16896 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
16897 fi
16898
16899 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16900 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
16901
16902 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16903 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
16904
16905 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16906 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16948 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16949 hardcode_action_CXX=
16950 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16951 test -n "$runpath_var_CXX" ||
16952 test yes = "$hardcode_automatic_CXX"; then
16953
16954 # We can hardcode non-existent directories.
16955 if test no != "$hardcode_direct_CXX" &&
16956 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16957 # have to relink, otherwise we might link with an installed library
16958 # when we should be linking with a yet-to-be-installed one
16959 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16960 test no != "$hardcode_minus_L_CXX"; then
16961 # Linking always hardcodes the temporary library directory.
16962 hardcode_action_CXX=relink
16963 else
16964 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16965 hardcode_action_CXX=immediate
16966 fi
16967 else
16968 # We cannot hardcode anything, or else we can only hardcode existing
16969 # directories.
16970 hardcode_action_CXX=unsupported
16971 fi
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16973 $as_echo "$hardcode_action_CXX" >&6; }
16974
16975 if test relink = "$hardcode_action_CXX" ||
16976 test yes = "$inherit_rpath_CXX"; then
16977 # Fast installation is not supported
16978 enable_fast_install=no
16979 elif test yes = "$shlibpath_overrides_runpath" ||
16980 test no = "$enable_shared"; then
16981 # Fast installation is not necessary
16982 enable_fast_install=needless
16983 fi
16984
16985
16986
16987
16988
16989
16990
16991 fi # test -n "$compiler"
16992
16993 CC=$lt_save_CC
16994 CFLAGS=$lt_save_CFLAGS
16995 LDCXX=$LD
16996 LD=$lt_save_LD
16997 GCC=$lt_save_GCC
16998 with_gnu_ld=$lt_save_with_gnu_ld
16999 lt_cv_path_LDCXX=$lt_cv_path_LD
17000 lt_cv_path_LD=$lt_save_path_LD
17001 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17002 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17003 fi # test yes != "$_lt_caught_CXX_error"
17004
17005 ac_ext=c
17006 ac_cpp='$CPP $CPPFLAGS'
17007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025 ac_config_commands="$ac_config_commands libtool"
17026
17027
17028
17029
17030 # Only expand once:
17031
17032
17033
17034 if test -n "$ac_tool_prefix"; then
17035 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
17036 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17038 $as_echo_n "checking for $ac_word... " >&6; }
17039 if ${ac_cv_prog_RANLIB+:} false; then :
17040 $as_echo_n "(cached) " >&6
17041 else
17042 if test -n "$RANLIB"; then
17043 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
17044 else
17045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17046 for as_dir in $PATH
17047 do
17048 IFS=$as_save_IFS
17049 test -z "$as_dir" && as_dir=.
17050 for ac_exec_ext in '' $ac_executable_extensions; do
17051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17052 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
17053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17054 break 2
17055 fi
17056 done
17057 done
17058 IFS=$as_save_IFS
17059
17060 fi
17061 fi
17062 RANLIB=$ac_cv_prog_RANLIB
17063 if test -n "$RANLIB"; then
17064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
17065 $as_echo "$RANLIB" >&6; }
17066 else
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17068 $as_echo "no" >&6; }
17069 fi
17070
17071
17072 fi
17073 if test -z "$ac_cv_prog_RANLIB"; then
17074 ac_ct_RANLIB=$RANLIB
17075 # Extract the first word of "ranlib", so it can be a program name with args.
17076 set dummy ranlib; ac_word=$2
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17078 $as_echo_n "checking for $ac_word... " >&6; }
17079 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
17080 $as_echo_n "(cached) " >&6
17081 else
17082 if test -n "$ac_ct_RANLIB"; then
17083 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
17084 else
17085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17086 for as_dir in $PATH
17087 do
17088 IFS=$as_save_IFS
17089 test -z "$as_dir" && as_dir=.
17090 for ac_exec_ext in '' $ac_executable_extensions; do
17091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17092 ac_cv_prog_ac_ct_RANLIB="ranlib"
17093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17094 break 2
17095 fi
17096 done
17097 done
17098 IFS=$as_save_IFS
17099
17100 fi
17101 fi
17102 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
17103 if test -n "$ac_ct_RANLIB"; then
17104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
17105 $as_echo "$ac_ct_RANLIB" >&6; }
17106 else
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17108 $as_echo "no" >&6; }
17109 fi
17110
17111 if test "x$ac_ct_RANLIB" = x; then
17112 RANLIB=":"
17113 else
17114 case $cross_compiling:$ac_tool_warned in
17115 yes:)
17116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17118 ac_tool_warned=yes ;;
17119 esac
17120 RANLIB=$ac_ct_RANLIB
17121 fi
17122 else
17123 RANLIB="$ac_cv_prog_RANLIB"
17124 fi
17125
17126 ac_ext=c
17127 ac_cpp='$CPP $CPPFLAGS'
17128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17131
17132
17133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wmismatched-tags -Wno-mismatched-tags" >&5
17134 $as_echo_n "checking whether C compiler accepts -Wmismatched-tags -Wno-mismatched-tags... " >&6; }
17135 if ${ax_cv_check_cflags___Wmismatched_tags__Wno_mismatched_tags+:} false; then :
17136 $as_echo_n "(cached) " >&6
17137 else
17138
17139 ax_check_save_flags=$CFLAGS
17140 CFLAGS="$CFLAGS -Wmismatched-tags -Wno-mismatched-tags"
17141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17142 /* end confdefs.h. */
17143
17144 int
17145 main ()
17146 {
17147
17148 ;
17149 return 0;
17150 }
17151 _ACEOF
17152 if ac_fn_c_try_compile "$LINENO"; then :
17153 ax_cv_check_cflags___Wmismatched_tags__Wno_mismatched_tags=yes
17154 else
17155 ax_cv_check_cflags___Wmismatched_tags__Wno_mismatched_tags=no
17156 fi
17157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17158 CFLAGS=$ax_check_save_flags
17159 fi
17160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Wmismatched_tags__Wno_mismatched_tags" >&5
17161 $as_echo "$ax_cv_check_cflags___Wmismatched_tags__Wno_mismatched_tags" >&6; }
17162 if test "x$ax_cv_check_cflags___Wmismatched_tags__Wno_mismatched_tags" = xyes; then :
17163 CXXFLAGS="$CXXFLAGS -Wno-mismatched-tags"
17164 else
17165 :
17166 fi
17167
17168 for ac_header in sys/time.h sys/timeb.h xlocale.h
17169 do :
17170 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17171 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17172 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17173 cat >>confdefs.h <<_ACEOF
17174 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17175 _ACEOF
17176
17177 fi
17178
17179 done
17180
17181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether termios.h defines TIOCGWINSZ" >&5
17182 $as_echo_n "checking whether termios.h defines TIOCGWINSZ... " >&6; }
17183 if ${ac_cv_sys_tiocgwinsz_in_termios_h+:} false; then :
17184 $as_echo_n "(cached) " >&6
17185 else
17186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17187 /* end confdefs.h. */
17188 #include <sys/types.h>
17189 #include <termios.h>
17190 #ifdef TIOCGWINSZ
17191 yes
17192 #endif
17193
17194 _ACEOF
17195 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17196 $EGREP "yes" >/dev/null 2>&1; then :
17197 ac_cv_sys_tiocgwinsz_in_termios_h=yes
17198 else
17199 ac_cv_sys_tiocgwinsz_in_termios_h=no
17200 fi
17201 rm -f conftest*
17202
17203 fi
17204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5
17205 $as_echo "$ac_cv_sys_tiocgwinsz_in_termios_h" >&6; }
17206
17207 if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then
17208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5
17209 $as_echo_n "checking whether sys/ioctl.h defines TIOCGWINSZ... " >&6; }
17210 if ${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+:} false; then :
17211 $as_echo_n "(cached) " >&6
17212 else
17213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17214 /* end confdefs.h. */
17215 #include <sys/types.h>
17216 #include <sys/ioctl.h>
17217 #ifdef TIOCGWINSZ
17218 yes
17219 #endif
17220
17221 _ACEOF
17222 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17223 $EGREP "yes" >/dev/null 2>&1; then :
17224 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h=yes
17225 else
17226 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h=no
17227 fi
17228 rm -f conftest*
17229
17230 fi
17231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5
17232 $as_echo "$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6; }
17233
17234 if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then
17235
17236 $as_echo "#define GWINSZ_IN_SYS_IOCTL 1" >>confdefs.h
17237
17238 fi
17239 fi
17240
17241
17242 CPPFLAGS_SAVE="$CPPFLAGS"
17243 CFLAGS_SAVE="$CFLAGS"
17244 LDFLAGS_SAVE="$LDFLAGS"
17245
17246 # Check availability and usability of the kpathsea library
17247
17248
17249
17250
17251 # Check whether --with-kpathsea was given.
17252 if test "${with_kpathsea+set}" = set; then :
17253 withval=$with_kpathsea; with_kpathsea="$withval"
17254 else
17255 with_kpathsea=yes
17256 fi
17257
17258
17259 if test "x$with_kpathsea" != "xyes"; then :
17260 KPSE_CFLAGS="-I$with_kpathsea/include" KPSE_LIBS="-L$with_kpathsea/lib"
17261 CPPFLAGS="$CPPFLAGS $KPSE_CFLAGS" CFLAGS="$CFLAGS $KPSE_CFLAGS" LDFLAGS="$LDFLAGS $KPSE_LIBS"
17262 fi
17263
17264 ac_fn_c_check_header_mongrel "$LINENO" "kpathsea/kpathsea.h" "ac_cv_header_kpathsea_kpathsea_h" "$ac_includes_default"
17265 if test "x$ac_cv_header_kpathsea_kpathsea_h" = xyes; then :
17266
17267 else
17268 as_fn_error $? "please install the kpathsea development package" "$LINENO" 5
17269 fi
17270
17271
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kpse_find_file in -lkpathsea" >&5
17273 $as_echo_n "checking for kpse_find_file in -lkpathsea... " >&6; }
17274 if ${ac_cv_lib_kpathsea_kpse_find_file+:} false; then :
17275 $as_echo_n "(cached) " >&6
17276 else
17277 ac_check_lib_save_LIBS=$LIBS
17278 LIBS="-lkpathsea $LIBS"
17279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17280 /* end confdefs.h. */
17281
17282 /* Override any GCC internal prototype to avoid an error.
17283 Use char because int might match the return type of a GCC
17284 builtin and then its argument prototype would still apply. */
17285 #ifdef __cplusplus
17286 extern "C"
17287 #endif
17288 char kpse_find_file ();
17289 int
17290 main ()
17291 {
17292 return kpse_find_file ();
17293 ;
17294 return 0;
17295 }
17296 _ACEOF
17297 if ac_fn_c_try_link "$LINENO"; then :
17298 ac_cv_lib_kpathsea_kpse_find_file=yes
17299 else
17300 ac_cv_lib_kpathsea_kpse_find_file=no
17301 fi
17302 rm -f core conftest.err conftest.$ac_objext \
17303 conftest$ac_exeext conftest.$ac_ext
17304 LIBS=$ac_check_lib_save_LIBS
17305 fi
17306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kpathsea_kpse_find_file" >&5
17307 $as_echo "$ac_cv_lib_kpathsea_kpse_find_file" >&6; }
17308 if test "x$ac_cv_lib_kpathsea_kpse_find_file" = xyes; then :
17309 cat >>confdefs.h <<_ACEOF
17310 #define HAVE_LIBKPATHSEA 1
17311 _ACEOF
17312
17313 LIBS="-lkpathsea $LIBS"
17314
17315 else
17316 as_fn_error $? "libkpathsea not found, please install the corresponding package first" "$LINENO" 5
17317 fi
17318
17319
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kpathsea version" >&5
17321 $as_echo_n "checking kpathsea version... " >&6; }
17322 if test "$cross_compiling" = yes; then :
17323 kpseversion=unknown
17324 else
17325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17326 /* end confdefs.h. */
17327 #include <stdio.h>
17328 #include <kpathsea/kpathsea.h>
17329 int main() {
17330 FILE *f;
17331 f = fopen("kpseversion", "w");
17332 if(!f) exit(1);
17333 fprintf(f, "%s\n", KPSEVERSION);
17334 fclose(f);
17335 exit(0);
17336 }
17337 _ACEOF
17338 if ac_fn_c_try_run "$LINENO"; then :
17339 kpseversion=`cat kpseversion|sed 's/kpathsea version //'`
17340 else
17341 kpseversion=
17342 fi
17343 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17344 conftest.$ac_objext conftest.beam conftest.$ac_ext
17345 fi
17346
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$kpseversion\"" >&5
17348 $as_echo "\"$kpseversion\"" >&6; }
17349 rm -f kpseversion
17350 if test -z "$kpseversion"; then :
17351 as_fn_error $? "Could not compile a simple kpathsea program -- check your installation" "$LINENO" 5
17352 fi
17353
17354
17355
17356 # Check how to link Ghostscript
17357 have_libgs=yes
17358 ac_fn_c_check_header_mongrel "$LINENO" "ghostscript/iapi.h" "ac_cv_header_ghostscript_iapi_h" "$ac_includes_default"
17359 if test "x$ac_cv_header_ghostscript_iapi_h" = xyes; then :
17360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gsapi_revision in -lgs" >&5
17361 $as_echo_n "checking for gsapi_revision in -lgs... " >&6; }
17362 if ${ac_cv_lib_gs_gsapi_revision+:} false; then :
17363 $as_echo_n "(cached) " >&6
17364 else
17365 ac_check_lib_save_LIBS=$LIBS
17366 LIBS="-lgs $LIBS"
17367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17368 /* end confdefs.h. */
17369
17370 /* Override any GCC internal prototype to avoid an error.
17371 Use char because int might match the return type of a GCC
17372 builtin and then its argument prototype would still apply. */
17373 #ifdef __cplusplus
17374 extern "C"
17375 #endif
17376 char gsapi_revision ();
17377 int
17378 main ()
17379 {
17380 return gsapi_revision ();
17381 ;
17382 return 0;
17383 }
17384 _ACEOF
17385 if ac_fn_c_try_link "$LINENO"; then :
17386 ac_cv_lib_gs_gsapi_revision=yes
17387 else
17388 ac_cv_lib_gs_gsapi_revision=no
17389 fi
17390 rm -f core conftest.err conftest.$ac_objext \
17391 conftest$ac_exeext conftest.$ac_ext
17392 LIBS=$ac_check_lib_save_LIBS
17393 fi
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gs_gsapi_revision" >&5
17395 $as_echo "$ac_cv_lib_gs_gsapi_revision" >&6; }
17396 if test "x$ac_cv_lib_gs_gsapi_revision" = xyes; then :
17397 cat >>confdefs.h <<_ACEOF
17398 #define HAVE_LIBGS 1
17399 _ACEOF
17400
17401 LIBS="-lgs $LIBS"
17402
17403 else
17404 have_libgs=no
17405 fi
17406
17407 else
17408 have_libgs=no
17409 fi
17410
17411
17412 if test "x$have_libgs" = "xno"; then :
17413 # Ghostscript not found, check for dlopen
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17415 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17416 if ${ac_cv_lib_dl_dlopen+:} false; then :
17417 $as_echo_n "(cached) " >&6
17418 else
17419 ac_check_lib_save_LIBS=$LIBS
17420 LIBS="-ldl $LIBS"
17421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17422 /* end confdefs.h. */
17423
17424 /* Override any GCC internal prototype to avoid an error.
17425 Use char because int might match the return type of a GCC
17426 builtin and then its argument prototype would still apply. */
17427 #ifdef __cplusplus
17428 extern "C"
17429 #endif
17430 char dlopen ();
17431 int
17432 main ()
17433 {
17434 return dlopen ();
17435 ;
17436 return 0;
17437 }
17438 _ACEOF
17439 if ac_fn_c_try_link "$LINENO"; then :
17440 ac_cv_lib_dl_dlopen=yes
17441 else
17442 ac_cv_lib_dl_dlopen=no
17443 fi
17444 rm -f core conftest.err conftest.$ac_objext \
17445 conftest$ac_exeext conftest.$ac_ext
17446 LIBS=$ac_check_lib_save_LIBS
17447 fi
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17449 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17450 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17451 cat >>confdefs.h <<_ACEOF
17452 #define HAVE_LIBDL 1
17453 _ACEOF
17454
17455 LIBS="-ldl $LIBS"
17456
17457 else
17458
17459 $as_echo "#define DISABLE_GS 1" >>confdefs.h
17460
17461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PostScript support disabled" >&5
17462 $as_echo "$as_me: WARNING: PostScript support disabled" >&2;}
17463 fi
17464
17465 fi
17466
17467 # Check for pkg-config
17468
17469
17470
17471
17472
17473
17474
17475 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17476 if test -n "$ac_tool_prefix"; then
17477 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17478 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17480 $as_echo_n "checking for $ac_word... " >&6; }
17481 if ${ac_cv_path_PKG_CONFIG+:} false; then :
17482 $as_echo_n "(cached) " >&6
17483 else
17484 case $PKG_CONFIG in
17485 [\\/]* | ?:[\\/]*)
17486 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17487 ;;
17488 *)
17489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17490 for as_dir in $PATH
17491 do
17492 IFS=$as_save_IFS
17493 test -z "$as_dir" && as_dir=.
17494 for ac_exec_ext in '' $ac_executable_extensions; do
17495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17496 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17498 break 2
17499 fi
17500 done
17501 done
17502 IFS=$as_save_IFS
17503
17504 ;;
17505 esac
17506 fi
17507 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17508 if test -n "$PKG_CONFIG"; then
17509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17510 $as_echo "$PKG_CONFIG" >&6; }
17511 else
17512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17513 $as_echo "no" >&6; }
17514 fi
17515
17516
17517 fi
17518 if test -z "$ac_cv_path_PKG_CONFIG"; then
17519 ac_pt_PKG_CONFIG=$PKG_CONFIG
17520 # Extract the first word of "pkg-config", so it can be a program name with args.
17521 set dummy pkg-config; ac_word=$2
17522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17523 $as_echo_n "checking for $ac_word... " >&6; }
17524 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
17525 $as_echo_n "(cached) " >&6
17526 else
17527 case $ac_pt_PKG_CONFIG in
17528 [\\/]* | ?:[\\/]*)
17529 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17530 ;;
17531 *)
17532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17533 for as_dir in $PATH
17534 do
17535 IFS=$as_save_IFS
17536 test -z "$as_dir" && as_dir=.
17537 for ac_exec_ext in '' $ac_executable_extensions; do
17538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17539 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17541 break 2
17542 fi
17543 done
17544 done
17545 IFS=$as_save_IFS
17546
17547 ;;
17548 esac
17549 fi
17550 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17551 if test -n "$ac_pt_PKG_CONFIG"; then
17552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17553 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
17554 else
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17556 $as_echo "no" >&6; }
17557 fi
17558
17559 if test "x$ac_pt_PKG_CONFIG" = x; then
17560 PKG_CONFIG=""
17561 else
17562 case $cross_compiling:$ac_tool_warned in
17563 yes:)
17564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17565 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17566 ac_tool_warned=yes ;;
17567 esac
17568 PKG_CONFIG=$ac_pt_PKG_CONFIG
17569 fi
17570 else
17571 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17572 fi
17573
17574 fi
17575 if test -n "$PKG_CONFIG"; then
17576 _pkg_min_version=0.9.0
17577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17578 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17579 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17581 $as_echo "yes" >&6; }
17582 else
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17584 $as_echo "no" >&6; }
17585 PKG_CONFIG=""
17586 fi
17587 fi
17588
17589 # Check for libraries.
17590
17591 pkg_failed=no
17592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
17593 $as_echo_n "checking for FREETYPE... " >&6; }
17594
17595 if test -n "$FREETYPE_CFLAGS"; then
17596 pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
17597 elif test -n "$PKG_CONFIG"; then
17598 if test -n "$PKG_CONFIG" && \
17599 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
17600 ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
17601 ac_status=$?
17602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17603 test $ac_status = 0; }; then
17604 pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null`
17605 test "x$?" != "x0" && pkg_failed=yes
17606 else
17607 pkg_failed=yes
17608 fi
17609 else
17610 pkg_failed=untried
17611 fi
17612 if test -n "$FREETYPE_LIBS"; then
17613 pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
17614 elif test -n "$PKG_CONFIG"; then
17615 if test -n "$PKG_CONFIG" && \
17616 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
17617 ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
17618 ac_status=$?
17619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17620 test $ac_status = 0; }; then
17621 pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null`
17622 test "x$?" != "x0" && pkg_failed=yes
17623 else
17624 pkg_failed=yes
17625 fi
17626 else
17627 pkg_failed=untried
17628 fi
17629
17630
17631
17632 if test $pkg_failed = yes; then
17633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17634 $as_echo "no" >&6; }
17635
17636 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17637 _pkg_short_errors_supported=yes
17638 else
17639 _pkg_short_errors_supported=no
17640 fi
17641 if test $_pkg_short_errors_supported = yes; then
17642 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freetype2" 2>&1`
17643 else
17644 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "freetype2" 2>&1`
17645 fi
17646 # Put the nasty error message in config.log where it belongs
17647 echo "$FREETYPE_PKG_ERRORS" >&5
17648
17649 as_fn_error $? "Package requirements (freetype2) were not met:
17650
17651 $FREETYPE_PKG_ERRORS
17652
17653 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17654 installed software in a non-standard prefix.
17655
17656 Alternatively, you may set the environment variables FREETYPE_CFLAGS
17657 and FREETYPE_LIBS to avoid the need to call pkg-config.
17658 See the pkg-config man page for more details." "$LINENO" 5
17659 elif test $pkg_failed = untried; then
17660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17661 $as_echo "no" >&6; }
17662 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17664 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17665 is in your PATH or set the PKG_CONFIG environment variable to the full
17666 path to pkg-config.
17667
17668 Alternatively, you may set the environment variables FREETYPE_CFLAGS
17669 and FREETYPE_LIBS to avoid the need to call pkg-config.
17670 See the pkg-config man page for more details.
17671
17672 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17673 See \`config.log' for more details" "$LINENO" 5; }
17674 else
17675 FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
17676 FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
17677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17678 $as_echo "yes" >&6; }
17679
17680 fi
17681
17682 # Check whether --enable-woff was given.
17683 if test "${enable_woff+set}" = set; then :
17684 enableval=$enable_woff;
17685 else
17686 enable_woff=yes
17687 fi
17688
17689 if test "x$enable_woff" = "xyes"; then
17690 ENABLE_WOFF_TRUE=
17691 ENABLE_WOFF_FALSE='#'
17692 else
17693 ENABLE_WOFF_TRUE='#'
17694 ENABLE_WOFF_FALSE=
17695 fi
17696
17697
17698
17699 # Check whether --with-ttfautohint was given.
17700 if test "${with_ttfautohint+set}" = set; then :
17701 withval=$with_ttfautohint; with_ttfautohint="$withval"
17702 else
17703 with_ttfautohint=no
17704 fi
17705
17706
17707 # Add option to enable linking of bundled libraries (brotli, potrace, woff2, xxhash).
17708 # Check whether --enable-bundled-libs was given.
17709 if test "${enable_bundled_libs+set}" = set; then :
17710 enableval=$enable_bundled_libs;
17711 fi
17712
17713 if test "x$enable_bundled_libs" = "xyes"; then
17714 USE_BUNDLED_LIBS_TRUE=
17715 USE_BUNDLED_LIBS_FALSE='#'
17716 else
17717 USE_BUNDLED_LIBS_TRUE='#'
17718 USE_BUNDLED_LIBS_FALSE=
17719 fi
17720
17721
17722 # If option --enable-bundled-libs is not given, look for system libraries of brotli, potrace, woff2, and xxhash.
17723 if test "x$enable_bundled_libs" != "xyes"; then :
17724 ac_fn_c_check_header_mongrel "$LINENO" "potracelib.h" "ac_cv_header_potracelib_h" "$ac_includes_default"
17725 if test "x$ac_cv_header_potracelib_h" = xyes; then :
17726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing potrace_trace" >&5
17727 $as_echo_n "checking for library containing potrace_trace... " >&6; }
17728 if ${ac_cv_search_potrace_trace+:} false; then :
17729 $as_echo_n "(cached) " >&6
17730 else
17731 ac_func_search_save_LIBS=$LIBS
17732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17733 /* end confdefs.h. */
17734
17735 /* Override any GCC internal prototype to avoid an error.
17736 Use char because int might match the return type of a GCC
17737 builtin and then its argument prototype would still apply. */
17738 #ifdef __cplusplus
17739 extern "C"
17740 #endif
17741 char potrace_trace ();
17742 int
17743 main ()
17744 {
17745 return potrace_trace ();
17746 ;
17747 return 0;
17748 }
17749 _ACEOF
17750 for ac_lib in '' potrace; do
17751 if test -z "$ac_lib"; then
17752 ac_res="none required"
17753 else
17754 ac_res=-l$ac_lib
17755 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17756 fi
17757 if ac_fn_c_try_link "$LINENO"; then :
17758 ac_cv_search_potrace_trace=$ac_res
17759 fi
17760 rm -f core conftest.err conftest.$ac_objext \
17761 conftest$ac_exeext
17762 if ${ac_cv_search_potrace_trace+:} false; then :
17763 break
17764 fi
17765 done
17766 if ${ac_cv_search_potrace_trace+:} false; then :
17767
17768 else
17769 ac_cv_search_potrace_trace=no
17770 fi
17771 rm conftest.$ac_ext
17772 LIBS=$ac_func_search_save_LIBS
17773 fi
17774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_potrace_trace" >&5
17775 $as_echo "$ac_cv_search_potrace_trace" >&6; }
17776 ac_res=$ac_cv_search_potrace_trace
17777 if test "$ac_res" != no; then :
17778 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17779 have_potrace=yes
17780 fi
17781
17782 fi
17783
17784
17785 ac_fn_c_check_header_mongrel "$LINENO" "xxhash.h" "ac_cv_header_xxhash_h" "$ac_includes_default"
17786 if test "x$ac_cv_header_xxhash_h" = xyes; then :
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing XXH32" >&5
17788 $as_echo_n "checking for library containing XXH32... " >&6; }
17789 if ${ac_cv_search_XXH32+:} false; then :
17790 $as_echo_n "(cached) " >&6
17791 else
17792 ac_func_search_save_LIBS=$LIBS
17793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17794 /* end confdefs.h. */
17795
17796 /* Override any GCC internal prototype to avoid an error.
17797 Use char because int might match the return type of a GCC
17798 builtin and then its argument prototype would still apply. */
17799 #ifdef __cplusplus
17800 extern "C"
17801 #endif
17802 char XXH32 ();
17803 int
17804 main ()
17805 {
17806 return XXH32 ();
17807 ;
17808 return 0;
17809 }
17810 _ACEOF
17811 for ac_lib in '' xxhash; do
17812 if test -z "$ac_lib"; then
17813 ac_res="none required"
17814 else
17815 ac_res=-l$ac_lib
17816 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17817 fi
17818 if ac_fn_c_try_link "$LINENO"; then :
17819 ac_cv_search_XXH32=$ac_res
17820 fi
17821 rm -f core conftest.err conftest.$ac_objext \
17822 conftest$ac_exeext
17823 if ${ac_cv_search_XXH32+:} false; then :
17824 break
17825 fi
17826 done
17827 if ${ac_cv_search_XXH32+:} false; then :
17828
17829 else
17830 ac_cv_search_XXH32=no
17831 fi
17832 rm conftest.$ac_ext
17833 LIBS=$ac_func_search_save_LIBS
17834 fi
17835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_XXH32" >&5
17836 $as_echo "$ac_cv_search_XXH32" >&6; }
17837 ac_res=$ac_cv_search_XXH32
17838 if test "$ac_res" != no; then :
17839 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17840 have_xxhash=yes
17841 fi
17842
17843 fi
17844
17845
17846 if test "x$enable_woff" = "xyes"; then :
17847
17848 pkg_failed=no
17849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BROTLI" >&5
17850 $as_echo_n "checking for BROTLI... " >&6; }
17851
17852 if test -n "$BROTLI_CFLAGS"; then
17853 pkg_cv_BROTLI_CFLAGS="$BROTLI_CFLAGS"
17854 elif test -n "$PKG_CONFIG"; then
17855 if test -n "$PKG_CONFIG" && \
17856 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbrotlienc\""; } >&5
17857 ($PKG_CONFIG --exists --print-errors "libbrotlienc") 2>&5
17858 ac_status=$?
17859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17860 test $ac_status = 0; }; then
17861 pkg_cv_BROTLI_CFLAGS=`$PKG_CONFIG --cflags "libbrotlienc" 2>/dev/null`
17862 test "x$?" != "x0" && pkg_failed=yes
17863 else
17864 pkg_failed=yes
17865 fi
17866 else
17867 pkg_failed=untried
17868 fi
17869 if test -n "$BROTLI_LIBS"; then
17870 pkg_cv_BROTLI_LIBS="$BROTLI_LIBS"
17871 elif test -n "$PKG_CONFIG"; then
17872 if test -n "$PKG_CONFIG" && \
17873 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbrotlienc\""; } >&5
17874 ($PKG_CONFIG --exists --print-errors "libbrotlienc") 2>&5
17875 ac_status=$?
17876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17877 test $ac_status = 0; }; then
17878 pkg_cv_BROTLI_LIBS=`$PKG_CONFIG --libs "libbrotlienc" 2>/dev/null`
17879 test "x$?" != "x0" && pkg_failed=yes
17880 else
17881 pkg_failed=yes
17882 fi
17883 else
17884 pkg_failed=untried
17885 fi
17886
17887
17888
17889 if test $pkg_failed = yes; then
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17891 $as_echo "no" >&6; }
17892
17893 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17894 _pkg_short_errors_supported=yes
17895 else
17896 _pkg_short_errors_supported=no
17897 fi
17898 if test $_pkg_short_errors_supported = yes; then
17899 BROTLI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libbrotlienc" 2>&1`
17900 else
17901 BROTLI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libbrotlienc" 2>&1`
17902 fi
17903 # Put the nasty error message in config.log where it belongs
17904 echo "$BROTLI_PKG_ERRORS" >&5
17905
17906 as_fn_error $? "Package requirements (libbrotlienc) were not met:
17907
17908 $BROTLI_PKG_ERRORS
17909
17910 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17911 installed software in a non-standard prefix.
17912
17913 Alternatively, you may set the environment variables BROTLI_CFLAGS
17914 and BROTLI_LIBS to avoid the need to call pkg-config.
17915 See the pkg-config man page for more details." "$LINENO" 5
17916 elif test $pkg_failed = untried; then
17917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17918 $as_echo "no" >&6; }
17919 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17920 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17921 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17922 is in your PATH or set the PKG_CONFIG environment variable to the full
17923 path to pkg-config.
17924
17925 Alternatively, you may set the environment variables BROTLI_CFLAGS
17926 and BROTLI_LIBS to avoid the need to call pkg-config.
17927 See the pkg-config man page for more details.
17928
17929 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17930 See \`config.log' for more details" "$LINENO" 5; }
17931 else
17932 BROTLI_CFLAGS=$pkg_cv_BROTLI_CFLAGS
17933 BROTLI_LIBS=$pkg_cv_BROTLI_LIBS
17934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17935 $as_echo "yes" >&6; }
17936 have_brotli=yes
17937 fi
17938
17939 pkg_failed=no
17940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WOFF2" >&5
17941 $as_echo_n "checking for WOFF2... " >&6; }
17942
17943 if test -n "$WOFF2_CFLAGS"; then
17944 pkg_cv_WOFF2_CFLAGS="$WOFF2_CFLAGS"
17945 elif test -n "$PKG_CONFIG"; then
17946 if test -n "$PKG_CONFIG" && \
17947 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libwoff2enc\""; } >&5
17948 ($PKG_CONFIG --exists --print-errors "libwoff2enc") 2>&5
17949 ac_status=$?
17950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17951 test $ac_status = 0; }; then
17952 pkg_cv_WOFF2_CFLAGS=`$PKG_CONFIG --cflags "libwoff2enc" 2>/dev/null`
17953 test "x$?" != "x0" && pkg_failed=yes
17954 else
17955 pkg_failed=yes
17956 fi
17957 else
17958 pkg_failed=untried
17959 fi
17960 if test -n "$WOFF2_LIBS"; then
17961 pkg_cv_WOFF2_LIBS="$WOFF2_LIBS"
17962 elif test -n "$PKG_CONFIG"; then
17963 if test -n "$PKG_CONFIG" && \
17964 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libwoff2enc\""; } >&5
17965 ($PKG_CONFIG --exists --print-errors "libwoff2enc") 2>&5
17966 ac_status=$?
17967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17968 test $ac_status = 0; }; then
17969 pkg_cv_WOFF2_LIBS=`$PKG_CONFIG --libs "libwoff2enc" 2>/dev/null`
17970 test "x$?" != "x0" && pkg_failed=yes
17971 else
17972 pkg_failed=yes
17973 fi
17974 else
17975 pkg_failed=untried
17976 fi
17977
17978
17979
17980 if test $pkg_failed = yes; then
17981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17982 $as_echo "no" >&6; }
17983
17984 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17985 _pkg_short_errors_supported=yes
17986 else
17987 _pkg_short_errors_supported=no
17988 fi
17989 if test $_pkg_short_errors_supported = yes; then
17990 WOFF2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libwoff2enc" 2>&1`
17991 else
17992 WOFF2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libwoff2enc" 2>&1`
17993 fi
17994 # Put the nasty error message in config.log where it belongs
17995 echo "$WOFF2_PKG_ERRORS" >&5
17996
17997 as_fn_error $? "Package requirements (libwoff2enc) were not met:
17998
17999 $WOFF2_PKG_ERRORS
18000
18001 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18002 installed software in a non-standard prefix.
18003
18004 Alternatively, you may set the environment variables WOFF2_CFLAGS
18005 and WOFF2_LIBS to avoid the need to call pkg-config.
18006 See the pkg-config man page for more details." "$LINENO" 5
18007 elif test $pkg_failed = untried; then
18008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18009 $as_echo "no" >&6; }
18010 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18012 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18013 is in your PATH or set the PKG_CONFIG environment variable to the full
18014 path to pkg-config.
18015
18016 Alternatively, you may set the environment variables WOFF2_CFLAGS
18017 and WOFF2_LIBS to avoid the need to call pkg-config.
18018 See the pkg-config man page for more details.
18019
18020 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18021 See \`config.log' for more details" "$LINENO" 5; }
18022 else
18023 WOFF2_CFLAGS=$pkg_cv_WOFF2_CFLAGS
18024 WOFF2_LIBS=$pkg_cv_WOFF2_LIBS
18025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18026 $as_echo "yes" >&6; }
18027 have_woff2=yes
18028 fi
18029 fi
18030 fi
18031 if test "x$have_potrace" = "xyes"; then
18032 HAVE_POTRACE_TRUE=
18033 HAVE_POTRACE_FALSE='#'
18034 else
18035 HAVE_POTRACE_TRUE='#'
18036 HAVE_POTRACE_FALSE=
18037 fi
18038
18039 if test "x$have_brotli" = "xyes"; then
18040 HAVE_BROTLI_TRUE=
18041 HAVE_BROTLI_FALSE='#'
18042 else
18043 HAVE_BROTLI_TRUE='#'
18044 HAVE_BROTLI_FALSE=
18045 fi
18046
18047 if test "x$have_woff2" = "xyes"; then
18048 HAVE_WOFF2_TRUE=
18049 HAVE_WOFF2_FALSE='#'
18050 else
18051 HAVE_WOFF2_TRUE='#'
18052 HAVE_WOFF2_FALSE=
18053 fi
18054
18055 if test "x$have_xxhash" = "xyes"; then
18056 HAVE_XXHASH_TRUE=
18057 HAVE_XXHASH_FALSE='#'
18058 else
18059 HAVE_XXHASH_TRUE='#'
18060 HAVE_XXHASH_FALSE=
18061 fi
18062
18063
18064 if test "x$enable_woff" != "xyes"; then :
18065
18066 $as_echo "#define DISABLE_WOFF 1" >>confdefs.h
18067
18068 else
18069 if test "x$with_ttfautohint" != "xno"; then :
18070 if test "x$with_ttfautohint" = "xyes"; then :
18071 # --with-ttfautohint without path => check via pkg-config
18072
18073 pkg_failed=no
18074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TTFAUTOHINT" >&5
18075 $as_echo_n "checking for TTFAUTOHINT... " >&6; }
18076
18077 if test -n "$TTFAUTOHINT_CFLAGS"; then
18078 pkg_cv_TTFAUTOHINT_CFLAGS="$TTFAUTOHINT_CFLAGS"
18079 elif test -n "$PKG_CONFIG"; then
18080 if test -n "$PKG_CONFIG" && \
18081 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ttfautohint\""; } >&5
18082 ($PKG_CONFIG --exists --print-errors "ttfautohint") 2>&5
18083 ac_status=$?
18084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18085 test $ac_status = 0; }; then
18086 pkg_cv_TTFAUTOHINT_CFLAGS=`$PKG_CONFIG --cflags "ttfautohint" 2>/dev/null`
18087 test "x$?" != "x0" && pkg_failed=yes
18088 else
18089 pkg_failed=yes
18090 fi
18091 else
18092 pkg_failed=untried
18093 fi
18094 if test -n "$TTFAUTOHINT_LIBS"; then
18095 pkg_cv_TTFAUTOHINT_LIBS="$TTFAUTOHINT_LIBS"
18096 elif test -n "$PKG_CONFIG"; then
18097 if test -n "$PKG_CONFIG" && \
18098 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ttfautohint\""; } >&5
18099 ($PKG_CONFIG --exists --print-errors "ttfautohint") 2>&5
18100 ac_status=$?
18101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18102 test $ac_status = 0; }; then
18103 pkg_cv_TTFAUTOHINT_LIBS=`$PKG_CONFIG --libs "ttfautohint" 2>/dev/null`
18104 test "x$?" != "x0" && pkg_failed=yes
18105 else
18106 pkg_failed=yes
18107 fi
18108 else
18109 pkg_failed=untried
18110 fi
18111
18112
18113
18114 if test $pkg_failed = yes; then
18115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18116 $as_echo "no" >&6; }
18117
18118 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18119 _pkg_short_errors_supported=yes
18120 else
18121 _pkg_short_errors_supported=no
18122 fi
18123 if test $_pkg_short_errors_supported = yes; then
18124 TTFAUTOHINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ttfautohint" 2>&1`
18125 else
18126 TTFAUTOHINT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ttfautohint" 2>&1`
18127 fi
18128 # Put the nasty error message in config.log where it belongs
18129 echo "$TTFAUTOHINT_PKG_ERRORS" >&5
18130
18131 as_fn_error $? "can't locate ttfautohint, use \"--with-ttfautohint=path\" to specify its location" "$LINENO" 5
18132 elif test $pkg_failed = untried; then
18133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18134 $as_echo "no" >&6; }
18135 as_fn_error $? "can't locate ttfautohint, use \"--with-ttfautohint=path\" to specify its location" "$LINENO" 5
18136 else
18137 TTFAUTOHINT_CFLAGS=$pkg_cv_TTFAUTOHINT_CFLAGS
18138 TTFAUTOHINT_LIBS=$pkg_cv_TTFAUTOHINT_LIBS
18139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18140 $as_echo "yes" >&6; }
18141
18142 fi
18143 else
18144 # --with-ttfautohint=/path/ttfautohint given
18145 TTFAUTOHINT_CFLAGS="-I$with_ttfautohint/include"
18146 TTFAUTOHINT_LIBS="-L$with_ttfautohint/lib"
18147 fi
18148 CPPFLAGS="$CPPFLAGS $TTFAUTOHINT_CFLAGS" CFLAGS="$CFLAGS $TTFAUTOHINT_CFLAGS" LDFLAGS="$LDFLAGS $TTFAUTOHINT_LIBS"
18149 for ac_header in ttfautohint.h
18150 do :
18151 ac_fn_c_check_header_mongrel "$LINENO" "ttfautohint.h" "ac_cv_header_ttfautohint_h" "$ac_includes_default"
18152 if test "x$ac_cv_header_ttfautohint_h" = xyes; then :
18153 cat >>confdefs.h <<_ACEOF
18154 #define HAVE_TTFAUTOHINT_H 1
18155 _ACEOF
18156
18157 else
18158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ttfautohint.h not found" >&5
18159 $as_echo "$as_me: WARNING: ttfautohint.h not found" >&2;}
18160 fi
18161
18162 done
18163
18164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TTF_autohint in -lttfautohint" >&5
18165 $as_echo_n "checking for TTF_autohint in -lttfautohint... " >&6; }
18166 if ${ac_cv_lib_ttfautohint_TTF_autohint+:} false; then :
18167 $as_echo_n "(cached) " >&6
18168 else
18169 ac_check_lib_save_LIBS=$LIBS
18170 LIBS="-lttfautohint $LIBS"
18171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18172 /* end confdefs.h. */
18173
18174 /* Override any GCC internal prototype to avoid an error.
18175 Use char because int might match the return type of a GCC
18176 builtin and then its argument prototype would still apply. */
18177 #ifdef __cplusplus
18178 extern "C"
18179 #endif
18180 char TTF_autohint ();
18181 int
18182 main ()
18183 {
18184 return TTF_autohint ();
18185 ;
18186 return 0;
18187 }
18188 _ACEOF
18189 if ac_fn_c_try_link "$LINENO"; then :
18190 ac_cv_lib_ttfautohint_TTF_autohint=yes
18191 else
18192 ac_cv_lib_ttfautohint_TTF_autohint=no
18193 fi
18194 rm -f core conftest.err conftest.$ac_objext \
18195 conftest$ac_exeext conftest.$ac_ext
18196 LIBS=$ac_check_lib_save_LIBS
18197 fi
18198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ttfautohint_TTF_autohint" >&5
18199 $as_echo "$ac_cv_lib_ttfautohint_TTF_autohint" >&6; }
18200 if test "x$ac_cv_lib_ttfautohint_TTF_autohint" = xyes; then :
18201 cat >>confdefs.h <<_ACEOF
18202 #define HAVE_LIBTTFAUTOHINT 1
18203 _ACEOF
18204
18205 LIBS="-lttfautohint $LIBS"
18206
18207 else
18208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no working ttfautohint library found" >&5
18209 $as_echo "$as_me: WARNING: no working ttfautohint library found" >&2;}
18210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
18211 $as_echo_n "checking for dlopen in -ldl... " >&6; }
18212 if ${ac_cv_lib_dl_dlopen+:} false; then :
18213 $as_echo_n "(cached) " >&6
18214 else
18215 ac_check_lib_save_LIBS=$LIBS
18216 LIBS="-ldl $LIBS"
18217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18218 /* end confdefs.h. */
18219
18220 /* Override any GCC internal prototype to avoid an error.
18221 Use char because int might match the return type of a GCC
18222 builtin and then its argument prototype would still apply. */
18223 #ifdef __cplusplus
18224 extern "C"
18225 #endif
18226 char dlopen ();
18227 int
18228 main ()
18229 {
18230 return dlopen ();
18231 ;
18232 return 0;
18233 }
18234 _ACEOF
18235 if ac_fn_c_try_link "$LINENO"; then :
18236 ac_cv_lib_dl_dlopen=yes
18237 else
18238 ac_cv_lib_dl_dlopen=no
18239 fi
18240 rm -f core conftest.err conftest.$ac_objext \
18241 conftest$ac_exeext conftest.$ac_ext
18242 LIBS=$ac_check_lib_save_LIBS
18243 fi
18244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
18245 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
18246 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
18247 { $as_echo "$as_me:${as_lineno-$LINENO}: enabled dynamic loading of ttfautohint" >&5
18248 $as_echo "$as_me: enabled dynamic loading of ttfautohint" >&6;}
18249 else
18250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabled ttfautohint support" >&5
18251 $as_echo "$as_me: WARNING: disabled ttfautohint support" >&2;}
18252 fi
18253
18254 fi
18255
18256
18257 fi
18258 fi
18259
18260 for ac_header in openssl/md5.h
18261 do :
18262 ac_fn_c_check_header_mongrel "$LINENO" "openssl/md5.h" "ac_cv_header_openssl_md5_h" "$ac_includes_default"
18263 if test "x$ac_cv_header_openssl_md5_h" = xyes; then :
18264 cat >>confdefs.h <<_ACEOF
18265 #define HAVE_OPENSSL_MD5_H 1
18266 _ACEOF
18267
18268 fi
18269
18270 done
18271
18272
18273 pkg_failed=no
18274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCRYPTO" >&5
18275 $as_echo_n "checking for LIBCRYPTO... " >&6; }
18276
18277 if test -n "$LIBCRYPTO_CFLAGS"; then
18278 pkg_cv_LIBCRYPTO_CFLAGS="$LIBCRYPTO_CFLAGS"
18279 elif test -n "$PKG_CONFIG"; then
18280 if test -n "$PKG_CONFIG" && \
18281 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto\""; } >&5
18282 ($PKG_CONFIG --exists --print-errors "libcrypto") 2>&5
18283 ac_status=$?
18284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18285 test $ac_status = 0; }; then
18286 pkg_cv_LIBCRYPTO_CFLAGS=`$PKG_CONFIG --cflags "libcrypto" 2>/dev/null`
18287 test "x$?" != "x0" && pkg_failed=yes
18288 else
18289 pkg_failed=yes
18290 fi
18291 else
18292 pkg_failed=untried
18293 fi
18294 if test -n "$LIBCRYPTO_LIBS"; then
18295 pkg_cv_LIBCRYPTO_LIBS="$LIBCRYPTO_LIBS"
18296 elif test -n "$PKG_CONFIG"; then
18297 if test -n "$PKG_CONFIG" && \
18298 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto\""; } >&5
18299 ($PKG_CONFIG --exists --print-errors "libcrypto") 2>&5
18300 ac_status=$?
18301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18302 test $ac_status = 0; }; then
18303 pkg_cv_LIBCRYPTO_LIBS=`$PKG_CONFIG --libs "libcrypto" 2>/dev/null`
18304 test "x$?" != "x0" && pkg_failed=yes
18305 else
18306 pkg_failed=yes
18307 fi
18308 else
18309 pkg_failed=untried
18310 fi
18311
18312
18313
18314 if test $pkg_failed = yes; then
18315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18316 $as_echo "no" >&6; }
18317
18318 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18319 _pkg_short_errors_supported=yes
18320 else
18321 _pkg_short_errors_supported=no
18322 fi
18323 if test $_pkg_short_errors_supported = yes; then
18324 LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcrypto" 2>&1`
18325 else
18326 LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcrypto" 2>&1`
18327 fi
18328 # Put the nasty error message in config.log where it belongs
18329 echo "$LIBCRYPTO_PKG_ERRORS" >&5
18330
18331 HAVE_LIBCRYPTO=0
18332 elif test $pkg_failed = untried; then
18333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18334 $as_echo "no" >&6; }
18335 HAVE_LIBCRYPTO=0
18336 else
18337 LIBCRYPTO_CFLAGS=$pkg_cv_LIBCRYPTO_CFLAGS
18338 LIBCRYPTO_LIBS=$pkg_cv_LIBCRYPTO_LIBS
18339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18340 $as_echo "yes" >&6; }
18341 HAVE_LIBCRYPTO=1
18342 fi
18343 if test "$HAVE_LIBCRYPTO" -eq 0; then
18344 USE_BUNDLED_MD5_TRUE=
18345 USE_BUNDLED_MD5_FALSE='#'
18346 else
18347 USE_BUNDLED_MD5_TRUE='#'
18348 USE_BUNDLED_MD5_FALSE=
18349 fi
18350
18351
18352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzopen in -lz" >&5
18353 $as_echo_n "checking for gzopen in -lz... " >&6; }
18354 if ${ac_cv_lib_z_gzopen+:} false; then :
18355 $as_echo_n "(cached) " >&6
18356 else
18357 ac_check_lib_save_LIBS=$LIBS
18358 LIBS="-lz $LIBS"
18359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18360 /* end confdefs.h. */
18361
18362 /* Override any GCC internal prototype to avoid an error.
18363 Use char because int might match the return type of a GCC
18364 builtin and then its argument prototype would still apply. */
18365 #ifdef __cplusplus
18366 extern "C"
18367 #endif
18368 char gzopen ();
18369 int
18370 main ()
18371 {
18372 return gzopen ();
18373 ;
18374 return 0;
18375 }
18376 _ACEOF
18377 if ac_fn_c_try_link "$LINENO"; then :
18378 ac_cv_lib_z_gzopen=yes
18379 else
18380 ac_cv_lib_z_gzopen=no
18381 fi
18382 rm -f core conftest.err conftest.$ac_objext \
18383 conftest$ac_exeext conftest.$ac_ext
18384 LIBS=$ac_check_lib_save_LIBS
18385 fi
18386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzopen" >&5
18387 $as_echo "$ac_cv_lib_z_gzopen" >&6; }
18388 if test "x$ac_cv_lib_z_gzopen" = xyes; then :
18389 cat >>confdefs.h <<_ACEOF
18390 #define HAVE_LIBZ 1
18391 _ACEOF
18392
18393 LIBS="-lz $LIBS"
18394
18395 fi
18396
18397
18398 # Check for header files.
18399 ac_header_dirent=no
18400 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
18401 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
18402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
18403 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
18404 if eval \${$as_ac_Header+:} false; then :
18405 $as_echo_n "(cached) " >&6
18406 else
18407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18408 /* end confdefs.h. */
18409 #include <sys/types.h>
18410 #include <$ac_hdr>
18411
18412 int
18413 main ()
18414 {
18415 if ((DIR *) 0)
18416 return 0;
18417 ;
18418 return 0;
18419 }
18420 _ACEOF
18421 if ac_fn_c_try_compile "$LINENO"; then :
18422 eval "$as_ac_Header=yes"
18423 else
18424 eval "$as_ac_Header=no"
18425 fi
18426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18427 fi
18428 eval ac_res=\$$as_ac_Header
18429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18430 $as_echo "$ac_res" >&6; }
18431 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18432 cat >>confdefs.h <<_ACEOF
18433 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
18434 _ACEOF
18435
18436 ac_header_dirent=$ac_hdr; break
18437 fi
18438
18439 done
18440 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
18441 if test $ac_header_dirent = dirent.h; then
18442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
18443 $as_echo_n "checking for library containing opendir... " >&6; }
18444 if ${ac_cv_search_opendir+:} false; then :
18445 $as_echo_n "(cached) " >&6
18446 else
18447 ac_func_search_save_LIBS=$LIBS
18448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18449 /* end confdefs.h. */
18450
18451 /* Override any GCC internal prototype to avoid an error.
18452 Use char because int might match the return type of a GCC
18453 builtin and then its argument prototype would still apply. */
18454 #ifdef __cplusplus
18455 extern "C"
18456 #endif
18457 char opendir ();
18458 int
18459 main ()
18460 {
18461 return opendir ();
18462 ;
18463 return 0;
18464 }
18465 _ACEOF
18466 for ac_lib in '' dir; do
18467 if test -z "$ac_lib"; then
18468 ac_res="none required"
18469 else
18470 ac_res=-l$ac_lib
18471 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18472 fi
18473 if ac_fn_c_try_link "$LINENO"; then :
18474 ac_cv_search_opendir=$ac_res
18475 fi
18476 rm -f core conftest.err conftest.$ac_objext \
18477 conftest$ac_exeext
18478 if ${ac_cv_search_opendir+:} false; then :
18479 break
18480 fi
18481 done
18482 if ${ac_cv_search_opendir+:} false; then :
18483
18484 else
18485 ac_cv_search_opendir=no
18486 fi
18487 rm conftest.$ac_ext
18488 LIBS=$ac_func_search_save_LIBS
18489 fi
18490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
18491 $as_echo "$ac_cv_search_opendir" >&6; }
18492 ac_res=$ac_cv_search_opendir
18493 if test "$ac_res" != no; then :
18494 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18495
18496 fi
18497
18498 else
18499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
18500 $as_echo_n "checking for library containing opendir... " >&6; }
18501 if ${ac_cv_search_opendir+:} false; then :
18502 $as_echo_n "(cached) " >&6
18503 else
18504 ac_func_search_save_LIBS=$LIBS
18505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18506 /* end confdefs.h. */
18507
18508 /* Override any GCC internal prototype to avoid an error.
18509 Use char because int might match the return type of a GCC
18510 builtin and then its argument prototype would still apply. */
18511 #ifdef __cplusplus
18512 extern "C"
18513 #endif
18514 char opendir ();
18515 int
18516 main ()
18517 {
18518 return opendir ();
18519 ;
18520 return 0;
18521 }
18522 _ACEOF
18523 for ac_lib in '' x; do
18524 if test -z "$ac_lib"; then
18525 ac_res="none required"
18526 else
18527 ac_res=-l$ac_lib
18528 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18529 fi
18530 if ac_fn_c_try_link "$LINENO"; then :
18531 ac_cv_search_opendir=$ac_res
18532 fi
18533 rm -f core conftest.err conftest.$ac_objext \
18534 conftest$ac_exeext
18535 if ${ac_cv_search_opendir+:} false; then :
18536 break
18537 fi
18538 done
18539 if ${ac_cv_search_opendir+:} false; then :
18540
18541 else
18542 ac_cv_search_opendir=no
18543 fi
18544 rm conftest.$ac_ext
18545 LIBS=$ac_func_search_save_LIBS
18546 fi
18547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
18548 $as_echo "$ac_cv_search_opendir" >&6; }
18549 ac_res=$ac_cv_search_opendir
18550 if test "$ac_res" != no; then :
18551 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18552
18553 fi
18554
18555 fi
18556
18557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
18558 $as_echo_n "checking for ANSI C header files... " >&6; }
18559 if ${ac_cv_header_stdc+:} false; then :
18560 $as_echo_n "(cached) " >&6
18561 else
18562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18563 /* end confdefs.h. */
18564 #include <stdlib.h>
18565 #include <stdarg.h>
18566 #include <string.h>
18567 #include <float.h>
18568
18569 int
18570 main ()
18571 {
18572
18573 ;
18574 return 0;
18575 }
18576 _ACEOF
18577 if ac_fn_c_try_compile "$LINENO"; then :
18578 ac_cv_header_stdc=yes
18579 else
18580 ac_cv_header_stdc=no
18581 fi
18582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18583
18584 if test $ac_cv_header_stdc = yes; then
18585 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18587 /* end confdefs.h. */
18588 #include <string.h>
18589
18590 _ACEOF
18591 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18592 $EGREP "memchr" >/dev/null 2>&1; then :
18593
18594 else
18595 ac_cv_header_stdc=no
18596 fi
18597 rm -f conftest*
18598
18599 fi
18600
18601 if test $ac_cv_header_stdc = yes; then
18602 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18604 /* end confdefs.h. */
18605 #include <stdlib.h>
18606
18607 _ACEOF
18608 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18609 $EGREP "free" >/dev/null 2>&1; then :
18610
18611 else
18612 ac_cv_header_stdc=no
18613 fi
18614 rm -f conftest*
18615
18616 fi
18617
18618 if test $ac_cv_header_stdc = yes; then
18619 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18620 if test "$cross_compiling" = yes; then :
18621 :
18622 else
18623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18624 /* end confdefs.h. */
18625 #include <ctype.h>
18626 #include <stdlib.h>
18627 #if ((' ' & 0x0FF) == 0x020)
18628 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18629 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18630 #else
18631 # define ISLOWER(c) \
18632 (('a' <= (c) && (c) <= 'i') \
18633 || ('j' <= (c) && (c) <= 'r') \
18634 || ('s' <= (c) && (c) <= 'z'))
18635 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18636 #endif
18637
18638 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18639 int
18640 main ()
18641 {
18642 int i;
18643 for (i = 0; i < 256; i++)
18644 if (XOR (islower (i), ISLOWER (i))
18645 || toupper (i) != TOUPPER (i))
18646 return 2;
18647 return 0;
18648 }
18649 _ACEOF
18650 if ac_fn_c_try_run "$LINENO"; then :
18651
18652 else
18653 ac_cv_header_stdc=no
18654 fi
18655 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18656 conftest.$ac_objext conftest.beam conftest.$ac_ext
18657 fi
18658
18659 fi
18660 fi
18661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
18662 $as_echo "$ac_cv_header_stdc" >&6; }
18663 if test $ac_cv_header_stdc = yes; then
18664
18665 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
18666
18667 fi
18668
18669
18670
18671
18672 for ac_header in $ac_header_list
18673 do :
18674 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18675 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
18676 "
18677 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18678 cat >>confdefs.h <<_ACEOF
18679 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18680 _ACEOF
18681
18682 fi
18683
18684 done
18685
18686
18687
18688
18689
18690
18691
18692
18693
18694
18695
18696
18697
18698 # Check for typedefs, structures, and compiler characteristics.
18699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
18700 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
18701 if ${ac_cv_header_stdbool_h+:} false; then :
18702 $as_echo_n "(cached) " >&6
18703 else
18704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18705 /* end confdefs.h. */
18706
18707 #include <stdbool.h>
18708 #ifndef bool
18709 "error: bool is not defined"
18710 #endif
18711 #ifndef false
18712 "error: false is not defined"
18713 #endif
18714 #if false
18715 "error: false is not 0"
18716 #endif
18717 #ifndef true
18718 "error: true is not defined"
18719 #endif
18720 #if true != 1
18721 "error: true is not 1"
18722 #endif
18723 #ifndef __bool_true_false_are_defined
18724 "error: __bool_true_false_are_defined is not defined"
18725 #endif
18726
18727 struct s { _Bool s: 1; _Bool t; } s;
18728
18729 char a[true == 1 ? 1 : -1];
18730 char b[false == 0 ? 1 : -1];
18731 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
18732 char d[(bool) 0.5 == true ? 1 : -1];
18733 /* See body of main program for 'e'. */
18734 char f[(_Bool) 0.0 == false ? 1 : -1];
18735 char g[true];
18736 char h[sizeof (_Bool)];
18737 char i[sizeof s.t];
18738 enum { j = false, k = true, l = false * true, m = true * 256 };
18739 /* The following fails for
18740 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
18741 _Bool n[m];
18742 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
18743 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
18744 /* Catch a bug in an HP-UX C compiler. See
18745 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
18746 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
18747 */
18748 _Bool q = true;
18749 _Bool *pq = &q;
18750
18751 int
18752 main ()
18753 {
18754
18755 bool e = &s;
18756 *pq |= q;
18757 *pq |= ! q;
18758 /* Refer to every declared value, to avoid compiler optimizations. */
18759 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
18760 + !m + !n + !o + !p + !q + !pq);
18761
18762 ;
18763 return 0;
18764 }
18765 _ACEOF
18766 if ac_fn_c_try_compile "$LINENO"; then :
18767 ac_cv_header_stdbool_h=yes
18768 else
18769 ac_cv_header_stdbool_h=no
18770 fi
18771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18772 fi
18773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
18774 $as_echo "$ac_cv_header_stdbool_h" >&6; }
18775 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
18776 if test "x$ac_cv_type__Bool" = xyes; then :
18777
18778 cat >>confdefs.h <<_ACEOF
18779 #define HAVE__BOOL 1
18780 _ACEOF
18781
18782
18783 fi
18784
18785
18786 if test $ac_cv_header_stdbool_h = yes; then
18787
18788 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
18789
18790 fi
18791
18792 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
18793 if test "x$ac_cv_type_size_t" = xyes; then :
18794
18795 else
18796
18797 cat >>confdefs.h <<_ACEOF
18798 #define size_t unsigned int
18799 _ACEOF
18800
18801 fi
18802
18803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
18804 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
18805 if ${ac_cv_struct_tm+:} false; then :
18806 $as_echo_n "(cached) " >&6
18807 else
18808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18809 /* end confdefs.h. */
18810 #include <sys/types.h>
18811 #include <time.h>
18812
18813 int
18814 main ()
18815 {
18816 struct tm tm;
18817 int *p = &tm.tm_sec;
18818 return !p;
18819 ;
18820 return 0;
18821 }
18822 _ACEOF
18823 if ac_fn_c_try_compile "$LINENO"; then :
18824 ac_cv_struct_tm=time.h
18825 else
18826 ac_cv_struct_tm=sys/time.h
18827 fi
18828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18829 fi
18830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
18831 $as_echo "$ac_cv_struct_tm" >&6; }
18832 if test $ac_cv_struct_tm = sys/time.h; then
18833
18834 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
18835
18836 fi
18837
18838
18839 # Check for library functions.
18840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
18841 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
18842 if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
18843 $as_echo_n "(cached) " >&6
18844 else
18845 rm -f conftest.sym conftest.file
18846 echo >conftest.file
18847 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
18848 if test "$cross_compiling" = yes; then :
18849 ac_cv_func_lstat_dereferences_slashed_symlink=no
18850 else
18851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18852 /* end confdefs.h. */
18853 $ac_includes_default
18854 int
18855 main ()
18856 {
18857 struct stat sbuf;
18858 /* Linux will dereference the symlink and fail, as required by POSIX.
18859 That is better in the sense that it means we will not
18860 have to compile and use the lstat wrapper. */
18861 return lstat ("conftest.sym/", &sbuf) == 0;
18862 ;
18863 return 0;
18864 }
18865 _ACEOF
18866 if ac_fn_c_try_run "$LINENO"; then :
18867 ac_cv_func_lstat_dereferences_slashed_symlink=yes
18868 else
18869 ac_cv_func_lstat_dereferences_slashed_symlink=no
18870 fi
18871 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18872 conftest.$ac_objext conftest.beam conftest.$ac_ext
18873 fi
18874
18875 else
18876 # If the `ln -s' command failed, then we probably don't even
18877 # have an lstat function.
18878 ac_cv_func_lstat_dereferences_slashed_symlink=no
18879 fi
18880 rm -f conftest.sym conftest.file
18881
18882 fi
18883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
18884 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
18885
18886 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
18887
18888 cat >>confdefs.h <<_ACEOF
18889 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
18890 _ACEOF
18891
18892
18893 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
18894 case " $LIBOBJS " in
18895 *" lstat.$ac_objext "* ) ;;
18896 *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
18897 ;;
18898 esac
18899
18900 fi
18901
18902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
18903 $as_echo_n "checking whether stat accepts an empty string... " >&6; }
18904 if ${ac_cv_func_stat_empty_string_bug+:} false; then :
18905 $as_echo_n "(cached) " >&6
18906 else
18907 if test "$cross_compiling" = yes; then :
18908 ac_cv_func_stat_empty_string_bug=yes
18909 else
18910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18911 /* end confdefs.h. */
18912 $ac_includes_default
18913 int
18914 main ()
18915 {
18916 struct stat sbuf;
18917 return stat ("", &sbuf) == 0;
18918 ;
18919 return 0;
18920 }
18921 _ACEOF
18922 if ac_fn_c_try_run "$LINENO"; then :
18923 ac_cv_func_stat_empty_string_bug=no
18924 else
18925 ac_cv_func_stat_empty_string_bug=yes
18926 fi
18927 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18928 conftest.$ac_objext conftest.beam conftest.$ac_ext
18929 fi
18930
18931 fi
18932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
18933 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
18934 if test $ac_cv_func_stat_empty_string_bug = yes; then
18935 case " $LIBOBJS " in
18936 *" stat.$ac_objext "* ) ;;
18937 *) LIBOBJS="$LIBOBJS stat.$ac_objext"
18938 ;;
18939 esac
18940
18941
18942 cat >>confdefs.h <<_ACEOF
18943 #define HAVE_STAT_EMPTY_STRING_BUG 1
18944 _ACEOF
18945
18946 fi
18947
18948
18949
18950
18951 for ac_func in $ac_func_list
18952 do :
18953 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18954 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18955 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18956 cat >>confdefs.h <<_ACEOF
18957 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18958 _ACEOF
18959
18960 fi
18961 done
18962
18963
18964
18965
18966
18967
18968
18969
18970
18971
18972
18973
18974
18975 # add options for selection of "optional" library locations
18976 # currently these libraries are mandatory; the --with-foo options
18977 # are used to specify the locations explicitely
18978
18979
18980 # Check whether --with-zlib was given.
18981 if test "${with_zlib+set}" = set; then :
18982 withval=$with_zlib; if test "x$withval" != "xno"; then :
18983 if test "x$withval" != "xyes"; then :
18984 ZLIB_DIR=$withval
18985 fi
18986 if test -n "$ZLIB_DIR"; then :
18987 ZLIB_CFLAGS="-I$ZLIB_DIR -I$ZLIB_DIR/include"
18988 ZLIB_LIBS="-L$ZLIB_DIR/lib" -lz
18989 fi
18990 fi
18991 fi
18992
18993
18994
18995
18996
18997 # Check if the kpathsea headers are C++ safe
18998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the kpathsea headers are C++ safe" >&5
18999 $as_echo_n "checking if the kpathsea headers are C++ safe... " >&6; }
19000 ac_ext=cpp
19001 ac_cpp='$CXXCPP $CPPFLAGS'
19002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19005
19006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19007 /* end confdefs.h. */
19008 #include <kpathsea/kpathsea.h>
19009 int
19010 main ()
19011 {
19012 printf("%s\n", concat("one", "two"))
19013 ;
19014 return 0;
19015 }
19016 _ACEOF
19017 if ac_fn_cxx_try_link "$LINENO"; then :
19018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19019 $as_echo "yes" >&6; }
19020 else
19021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19022 $as_echo "no" >&6; }
19023
19024 $as_echo "#define KPSE_CXX_UNSAFE 1" >>confdefs.h
19025
19026 fi
19027 rm -f core conftest.err conftest.$ac_objext \
19028 conftest$ac_exeext conftest.$ac_ext
19029 ac_ext=c
19030 ac_cpp='$CPP $CPPFLAGS'
19031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19034
19035
19036 CPPFLAGS="$CPPFLAGS_SAVE"
19037 CFLAGS="$CFLAGS_SAVE"
19038 LDFLAGS="$LDFLAGS_SAVE"
19039
19040 # Check whether --enable-manpage was given.
19041 if test "${enable_manpage+set}" = set; then :
19042 enableval=$enable_manpage;
19043 fi
19044
19045 if test "x$enable_manpage" != "xno"; then :
19046
19047 enable_manpage="no"
19048 # Check for utilities required to build the manpage
19049 # Extract the first word of "asciidoc", so it can be a program name with args.
19050 set dummy asciidoc; ac_word=$2
19051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19052 $as_echo_n "checking for $ac_word... " >&6; }
19053 if ${ac_cv_prog_ASCIIDOC+:} false; then :
19054 $as_echo_n "(cached) " >&6
19055 else
19056 if test -n "$ASCIIDOC"; then
19057 ac_cv_prog_ASCIIDOC="$ASCIIDOC" # Let the user override the test.
19058 else
19059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19060 for as_dir in $PATH
19061 do
19062 IFS=$as_save_IFS
19063 test -z "$as_dir" && as_dir=.
19064 for ac_exec_ext in '' $ac_executable_extensions; do
19065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19066 ac_cv_prog_ASCIIDOC="yes"
19067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19068 break 2
19069 fi
19070 done
19071 done
19072 IFS=$as_save_IFS
19073
19074 fi
19075 fi
19076 ASCIIDOC=$ac_cv_prog_ASCIIDOC
19077 if test -n "$ASCIIDOC"; then
19078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ASCIIDOC" >&5
19079 $as_echo "$ASCIIDOC" >&6; }
19080 else
19081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19082 $as_echo "no" >&6; }
19083 fi
19084
19085
19086 if test "x$ASCIIDOC" = "xyes"; then :
19087
19088 # Extract the first word of "xmlto", so it can be a program name with args.
19089 set dummy xmlto; ac_word=$2
19090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19091 $as_echo_n "checking for $ac_word... " >&6; }
19092 if ${ac_cv_prog_XMLTO+:} false; then :
19093 $as_echo_n "(cached) " >&6
19094 else
19095 if test -n "$XMLTO"; then
19096 ac_cv_prog_XMLTO="$XMLTO" # Let the user override the test.
19097 else
19098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19099 for as_dir in $PATH
19100 do
19101 IFS=$as_save_IFS
19102 test -z "$as_dir" && as_dir=.
19103 for ac_exec_ext in '' $ac_executable_extensions; do
19104 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19105 ac_cv_prog_XMLTO="yes"
19106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19107 break 2
19108 fi
19109 done
19110 done
19111 IFS=$as_save_IFS
19112
19113 fi
19114 fi
19115 XMLTO=$ac_cv_prog_XMLTO
19116 if test -n "$XMLTO"; then
19117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
19118 $as_echo "$XMLTO" >&6; }
19119 else
19120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19121 $as_echo "no" >&6; }
19122 fi
19123
19124
19125 if test "x$XMLTO" = "xyes"; then :
19126
19127 # Extract the first word of "xsltproc", so it can be a program name with args.
19128 set dummy xsltproc; ac_word=$2
19129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19130 $as_echo_n "checking for $ac_word... " >&6; }
19131 if ${ac_cv_prog_XSLTPROC+:} false; then :
19132 $as_echo_n "(cached) " >&6
19133 else
19134 if test -n "$XSLTPROC"; then
19135 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
19136 else
19137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19138 for as_dir in $PATH
19139 do
19140 IFS=$as_save_IFS
19141 test -z "$as_dir" && as_dir=.
19142 for ac_exec_ext in '' $ac_executable_extensions; do
19143 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19144 ac_cv_prog_XSLTPROC="yes"
19145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19146 break 2
19147 fi
19148 done
19149 done
19150 IFS=$as_save_IFS
19151
19152 fi
19153 fi
19154 XSLTPROC=$ac_cv_prog_XSLTPROC
19155 if test -n "$XSLTPROC"; then
19156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
19157 $as_echo "$XSLTPROC" >&6; }
19158 else
19159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19160 $as_echo "no" >&6; }
19161 fi
19162
19163
19164 if test "x$XSLTPROC" = "xyes"; then :
19165 enable_manpage="yes"
19166 fi
19167 fi
19168 fi
19169 fi
19170 if test "x$enable_manpage" != "xyes"; then :
19171 { $as_echo "$as_me:${as_lineno-$LINENO}: generation of manual page has been disabled" >&5
19172 $as_echo "$as_me: generation of manual page has been disabled" >&6;}
19173 fi
19174 if test "x$enable_manpage" = "xyes"; then
19175 BUILD_MANPAGE_TRUE=
19176 BUILD_MANPAGE_FALSE='#'
19177 else
19178 BUILD_MANPAGE_TRUE='#'
19179 BUILD_MANPAGE_FALSE=
19180 fi
19181
19182
19183
19184
19185
19186 # allow to override gcov location
19187
19188 # Check whether --with-gcov was given.
19189 if test "${with_gcov+set}" = set; then :
19190 withval=$with_gcov; _AX_CODE_COVERAGE_GCOV_PROG_WITH=$with_gcov
19191 else
19192 _AX_CODE_COVERAGE_GCOV_PROG_WITH=gcov
19193 fi
19194
19195
19196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with code coverage support" >&5
19197 $as_echo_n "checking whether to build with code coverage support... " >&6; }
19198 # Check whether --enable-code-coverage was given.
19199 if test "${enable_code_coverage+set}" = set; then :
19200 enableval=$enable_code_coverage;
19201 else
19202 enable_code_coverage=no
19203 fi
19204
19205
19206 if test x$enable_code_coverage = xyes; then
19207 CODE_COVERAGE_ENABLED_TRUE=
19208 CODE_COVERAGE_ENABLED_FALSE='#'
19209 else
19210 CODE_COVERAGE_ENABLED_TRUE='#'
19211 CODE_COVERAGE_ENABLED_FALSE=
19212 fi
19213
19214 CODE_COVERAGE_ENABLED=$enable_code_coverage
19215
19216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_code_coverage" >&5
19217 $as_echo "$enable_code_coverage" >&6; }
19218
19219 if test "$enable_code_coverage" = "yes" ; then :
19220
19221 # check for gcov
19222 if test -n "$ac_tool_prefix"; then
19223 # Extract the first word of "${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH", so it can be a program name with args.
19224 set dummy ${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH; ac_word=$2
19225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19226 $as_echo_n "checking for $ac_word... " >&6; }
19227 if ${ac_cv_prog_GCOV+:} false; then :
19228 $as_echo_n "(cached) " >&6
19229 else
19230 if test -n "$GCOV"; then
19231 ac_cv_prog_GCOV="$GCOV" # Let the user override the test.
19232 else
19233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19234 for as_dir in $PATH
19235 do
19236 IFS=$as_save_IFS
19237 test -z "$as_dir" && as_dir=.
19238 for ac_exec_ext in '' $ac_executable_extensions; do
19239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19240 ac_cv_prog_GCOV="${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH"
19241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19242 break 2
19243 fi
19244 done
19245 done
19246 IFS=$as_save_IFS
19247
19248 fi
19249 fi
19250 GCOV=$ac_cv_prog_GCOV
19251 if test -n "$GCOV"; then
19252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5
19253 $as_echo "$GCOV" >&6; }
19254 else
19255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19256 $as_echo "no" >&6; }
19257 fi
19258
19259
19260 fi
19261 if test -z "$ac_cv_prog_GCOV"; then
19262 ac_ct_GCOV=$GCOV
19263 # Extract the first word of "$_AX_CODE_COVERAGE_GCOV_PROG_WITH", so it can be a program name with args.
19264 set dummy $_AX_CODE_COVERAGE_GCOV_PROG_WITH; ac_word=$2
19265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19266 $as_echo_n "checking for $ac_word... " >&6; }
19267 if ${ac_cv_prog_ac_ct_GCOV+:} false; then :
19268 $as_echo_n "(cached) " >&6
19269 else
19270 if test -n "$ac_ct_GCOV"; then
19271 ac_cv_prog_ac_ct_GCOV="$ac_ct_GCOV" # Let the user override the test.
19272 else
19273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19274 for as_dir in $PATH
19275 do
19276 IFS=$as_save_IFS
19277 test -z "$as_dir" && as_dir=.
19278 for ac_exec_ext in '' $ac_executable_extensions; do
19279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19280 ac_cv_prog_ac_ct_GCOV="$_AX_CODE_COVERAGE_GCOV_PROG_WITH"
19281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19282 break 2
19283 fi
19284 done
19285 done
19286 IFS=$as_save_IFS
19287
19288 fi
19289 fi
19290 ac_ct_GCOV=$ac_cv_prog_ac_ct_GCOV
19291 if test -n "$ac_ct_GCOV"; then
19292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCOV" >&5
19293 $as_echo "$ac_ct_GCOV" >&6; }
19294 else
19295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19296 $as_echo "no" >&6; }
19297 fi
19298
19299 if test "x$ac_ct_GCOV" = x; then
19300 GCOV=":"
19301 else
19302 case $cross_compiling:$ac_tool_warned in
19303 yes:)
19304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19306 ac_tool_warned=yes ;;
19307 esac
19308 GCOV=$ac_ct_GCOV
19309 fi
19310 else
19311 GCOV="$ac_cv_prog_GCOV"
19312 fi
19313
19314 if test "X$GCOV" = "X:"; then :
19315 as_fn_error $? "gcov is needed to do coverage" "$LINENO" 5
19316 fi
19317
19318
19319 if test "$GCC" = "no" ; then :
19320
19321 as_fn_error $? "not compiling with gcc, which is required for gcov code coverage" "$LINENO" 5
19322
19323 fi
19324
19325 # Extract the first word of "lcov", so it can be a program name with args.
19326 set dummy lcov; ac_word=$2
19327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19328 $as_echo_n "checking for $ac_word... " >&6; }
19329 if ${ac_cv_prog_LCOV+:} false; then :
19330 $as_echo_n "(cached) " >&6
19331 else
19332 if test -n "$LCOV"; then
19333 ac_cv_prog_LCOV="$LCOV" # Let the user override the test.
19334 else
19335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19336 for as_dir in $PATH
19337 do
19338 IFS=$as_save_IFS
19339 test -z "$as_dir" && as_dir=.
19340 for ac_exec_ext in '' $ac_executable_extensions; do
19341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19342 ac_cv_prog_LCOV="lcov"
19343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19344 break 2
19345 fi
19346 done
19347 done
19348 IFS=$as_save_IFS
19349
19350 fi
19351 fi
19352 LCOV=$ac_cv_prog_LCOV
19353 if test -n "$LCOV"; then
19354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
19355 $as_echo "$LCOV" >&6; }
19356 else
19357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19358 $as_echo "no" >&6; }
19359 fi
19360
19361
19362 # Extract the first word of "genhtml", so it can be a program name with args.
19363 set dummy genhtml; ac_word=$2
19364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19365 $as_echo_n "checking for $ac_word... " >&6; }
19366 if ${ac_cv_prog_GENHTML+:} false; then :
19367 $as_echo_n "(cached) " >&6
19368 else
19369 if test -n "$GENHTML"; then
19370 ac_cv_prog_GENHTML="$GENHTML" # Let the user override the test.
19371 else
19372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19373 for as_dir in $PATH
19374 do
19375 IFS=$as_save_IFS
19376 test -z "$as_dir" && as_dir=.
19377 for ac_exec_ext in '' $ac_executable_extensions; do
19378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19379 ac_cv_prog_GENHTML="genhtml"
19380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19381 break 2
19382 fi
19383 done
19384 done
19385 IFS=$as_save_IFS
19386
19387 fi
19388 fi
19389 GENHTML=$ac_cv_prog_GENHTML
19390 if test -n "$GENHTML"; then
19391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
19392 $as_echo "$GENHTML" >&6; }
19393 else
19394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19395 $as_echo "no" >&6; }
19396 fi
19397
19398
19399
19400 if test -z "$LCOV" ; then :
19401
19402 as_fn_error $? "To enable code coverage reporting you must have lcov installed" "$LINENO" 5
19403
19404 fi
19405
19406 if test -z "$GENHTML" ; then :
19407
19408 as_fn_error $? "Could not find genhtml from the lcov package" "$LINENO" 5
19409
19410 fi
19411
19412 CODE_COVERAGE_CPPFLAGS="-DNDEBUG"
19413 CODE_COVERAGE_CFLAGS="-O0 -g -fprofile-arcs -ftest-coverage"
19414 CODE_COVERAGE_CXXFLAGS="-O0 -g -fprofile-arcs -ftest-coverage"
19415 CODE_COVERAGE_LIBS="-lgcov"
19416 CODE_COVERAGE_LDFLAGS="$CODE_COVERAGE_LIBS"
19417
19418
19419
19420
19421
19422
19423
19424 CODE_COVERAGE_RULES_CHECK='
19425 -$(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) -k check
19426 $(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) code-coverage-capture
19427 '
19428 CODE_COVERAGE_RULES_CAPTURE='
19429 $(code_coverage_v_lcov_cap)$(LCOV) $(code_coverage_quiet) $(addprefix --directory ,$(CODE_COVERAGE_DIRECTORY)) --capture --output-file "$(CODE_COVERAGE_OUTPUT_FILE).tmp" --test-name "$(call code_coverage_sanitize,$(PACKAGE_NAME)-$(PACKAGE_VERSION))" --no-checksum --compat-libtool $(CODE_COVERAGE_LCOV_SHOPTS) $(CODE_COVERAGE_LCOV_OPTIONS)
19430 $(code_coverage_v_lcov_ign)$(LCOV) $(code_coverage_quiet) $(addprefix --directory ,$(CODE_COVERAGE_DIRECTORY)) --remove "$(CODE_COVERAGE_OUTPUT_FILE).tmp" "/tmp/*" $(CODE_COVERAGE_IGNORE_PATTERN) --output-file "$(CODE_COVERAGE_OUTPUT_FILE)" $(CODE_COVERAGE_LCOV_SHOPTS) $(CODE_COVERAGE_LCOV_RMOPTS)
19431 -@rm -f $(CODE_COVERAGE_OUTPUT_FILE).tmp
19432 $(code_coverage_v_genhtml)LANG=C $(GENHTML) $(code_coverage_quiet) $(addprefix --prefix ,$(CODE_COVERAGE_DIRECTORY)) --output-directory "$(CODE_COVERAGE_OUTPUT_DIRECTORY)" --title "$(PACKAGE_NAME)-$(PACKAGE_VERSION) Code Coverage" --legend --show-details "$(CODE_COVERAGE_OUTPUT_FILE)" $(CODE_COVERAGE_GENHTML_OPTIONS)
19433 @echo "file://$(abs_builddir)/$(CODE_COVERAGE_OUTPUT_DIRECTORY)/index.html"
19434 '
19435 CODE_COVERAGE_RULES_CLEAN='
19436 clean: code-coverage-clean
19437 distclean: code-coverage-clean
19438 code-coverage-clean:
19439 -$(LCOV) --directory $(top_builddir) -z
19440 -rm -rf $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_FILE).tmp $(CODE_COVERAGE_OUTPUT_DIRECTORY)
19441 -find . \( -name "*.gcda" -o -name "*.gcno" -o -name "*.gcov" \) -delete
19442 '
19443
19444 else
19445
19446 CODE_COVERAGE_RULES_CHECK='
19447 @echo "Need to reconfigure with --enable-code-coverage"
19448 '
19449 CODE_COVERAGE_RULES_CAPTURE="$CODE_COVERAGE_RULES_CHECK"
19450 CODE_COVERAGE_RULES_CLEAN=''
19451
19452 fi
19453
19454 CODE_COVERAGE_RULES='
19455 # Code coverage
19456 #
19457 # Optional:
19458 # - CODE_COVERAGE_DIRECTORY: Top-level directory for code coverage reporting.
19459 # Multiple directories may be specified, separated by whitespace.
19460 # (Default: $(top_builddir))
19461 # - CODE_COVERAGE_OUTPUT_FILE: Filename and path for the .info file generated
19462 # by lcov for code coverage. (Default:
19463 # $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info)
19464 # - CODE_COVERAGE_OUTPUT_DIRECTORY: Directory for generated code coverage
19465 # reports to be created. (Default:
19466 # $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage)
19467 # - CODE_COVERAGE_BRANCH_COVERAGE: Set to 1 to enforce branch coverage,
19468 # set to 0 to disable it and leave empty to stay with the default.
19469 # (Default: empty)
19470 # - CODE_COVERAGE_LCOV_SHOPTS_DEFAULT: Extra options shared between both lcov
19471 # instances. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE)
19472 # - CODE_COVERAGE_LCOV_SHOPTS: Extra options to shared between both lcov
19473 # instances. (Default: $CODE_COVERAGE_LCOV_SHOPTS_DEFAULT)
19474 # - CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH: --gcov-tool pathtogcov
19475 # - CODE_COVERAGE_LCOV_OPTIONS_DEFAULT: Extra options to pass to the
19476 # collecting lcov instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH)
19477 # - CODE_COVERAGE_LCOV_OPTIONS: Extra options to pass to the collecting lcov
19478 # instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_DEFAULT)
19479 # - CODE_COVERAGE_LCOV_RMOPTS_DEFAULT: Extra options to pass to the filtering
19480 # lcov instance. (Default: empty)
19481 # - CODE_COVERAGE_LCOV_RMOPTS: Extra options to pass to the filtering lcov
19482 # instance. (Default: $CODE_COVERAGE_LCOV_RMOPTS_DEFAULT)
19483 # - CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT: Extra options to pass to the
19484 # genhtml instance. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE)
19485 # - CODE_COVERAGE_GENHTML_OPTIONS: Extra options to pass to the genhtml
19486 # instance. (Default: $CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT)
19487 # - CODE_COVERAGE_IGNORE_PATTERN: Extra glob pattern of files to ignore
19488 #
19489 # The generated report will be titled using the $(PACKAGE_NAME) and
19490 # $(PACKAGE_VERSION). In order to add the current git hash to the title,
19491 # use the git-version-gen script, available online.
19492
19493 # Optional variables
19494 CODE_COVERAGE_DIRECTORY ?= $(top_builddir)
19495 CODE_COVERAGE_OUTPUT_FILE ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info
19496 CODE_COVERAGE_OUTPUT_DIRECTORY ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage
19497 CODE_COVERAGE_BRANCH_COVERAGE ?=
19498 CODE_COVERAGE_LCOV_SHOPTS_DEFAULT ?= $(if $(CODE_COVERAGE_BRANCH_COVERAGE),\
19499 --rc lcov_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE))
19500 CODE_COVERAGE_LCOV_SHOPTS ?= $(CODE_COVERAGE_LCOV_SHOPTS_DEFAULT)
19501 CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH ?= --gcov-tool "$(GCOV)"
19502 CODE_COVERAGE_LCOV_OPTIONS_DEFAULT ?= $(CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH)
19503 CODE_COVERAGE_LCOV_OPTIONS ?= $(CODE_COVERAGE_LCOV_OPTIONS_DEFAULT)
19504 CODE_COVERAGE_LCOV_RMOPTS_DEFAULT ?=
19505 CODE_COVERAGE_LCOV_RMOPTS ?= $(CODE_COVERAGE_LCOV_RMOPTS_DEFAULT)
19506 CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT ?=\
19507 $(if $(CODE_COVERAGE_BRANCH_COVERAGE),\
19508 --rc genhtml_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE))
19509 CODE_COVERAGE_GENHTML_OPTIONS ?= $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT)
19510 CODE_COVERAGE_IGNORE_PATTERN ?=
19511
19512 GITIGNOREFILES ?=
19513 GITIGNOREFILES += $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_DIRECTORY)
19514
19515 code_coverage_v_lcov_cap = $(code_coverage_v_lcov_cap_$(V))
19516 code_coverage_v_lcov_cap_ = $(code_coverage_v_lcov_cap_$(AM_DEFAULT_VERBOSITY))
19517 code_coverage_v_lcov_cap_0 = @echo " LCOV --capture"\
19518 $(CODE_COVERAGE_OUTPUT_FILE);
19519 code_coverage_v_lcov_ign = $(code_coverage_v_lcov_ign_$(V))
19520 code_coverage_v_lcov_ign_ = $(code_coverage_v_lcov_ign_$(AM_DEFAULT_VERBOSITY))
19521 code_coverage_v_lcov_ign_0 = @echo " LCOV --remove /tmp/*"\
19522 $(CODE_COVERAGE_IGNORE_PATTERN);
19523 code_coverage_v_genhtml = $(code_coverage_v_genhtml_$(V))
19524 code_coverage_v_genhtml_ = $(code_coverage_v_genhtml_$(AM_DEFAULT_VERBOSITY))
19525 code_coverage_v_genhtml_0 = @echo " GEN " $(CODE_COVERAGE_OUTPUT_DIRECTORY);
19526 code_coverage_quiet = $(code_coverage_quiet_$(V))
19527 code_coverage_quiet_ = $(code_coverage_quiet_$(AM_DEFAULT_VERBOSITY))
19528 code_coverage_quiet_0 = --quiet
19529
19530 # sanitizes the test-name: replaces with underscores: dashes and dots
19531 code_coverage_sanitize = $(subst -,_,$(subst .,_,$(1)))
19532
19533 # Use recursive makes in order to ignore errors during check
19534 check-code-coverage:'"$CODE_COVERAGE_RULES_CHECK"'
19535
19536 # Capture code coverage data
19537 code-coverage-capture: code-coverage-capture-hook'"$CODE_COVERAGE_RULES_CAPTURE"'
19538
19539 # Hook rule executed before code-coverage-capture, overridable by the user
19540 code-coverage-capture-hook:
19541
19542 '"$CODE_COVERAGE_RULES_CLEAN"'
19543
19544 A''M_DISTCHECK_CONFIGURE_FLAGS ?=
19545 A''M_DISTCHECK_CONFIGURE_FLAGS += --disable-code-coverage
19546
19547 .PHONY: check-code-coverage code-coverage-capture code-coverage-capture-hook code-coverage-clean
19548 '
19549
19550
19551
19552
19553 if test "$enable_code_coverage" = "yes" ; then :
19554
19555 # disable optimization
19556
19557 CFLAGS=`echo $CFLAGS | sed 's/-O[1-9s]//g'`
19558 CXXFLAGS=`echo $CXXFLAGS | sed 's/-O[1-9s]//g'`
19559
19560
19561 fi
19562
19563 dvisvgm_srcdir='$(top_srcdir)'
19564
19565
19566
19567
19568 ac_config_files="$ac_config_files Makefile libs/Makefile libs/brotli/Makefile libs/clipper/Makefile libs/ff-woff/Makefile libs/md5/Makefile libs/potrace/Makefile libs/variant/Makefile libs/woff2/Makefile libs/xxHash/Makefile m4/Makefile src/Makefile src/version.hpp src/optimizer/Makefile tests/Makefile tests/data/Makefile doc/Makefile"
19569
19570 cat >confcache <<\_ACEOF
19571 # This file is a shell script that caches the results of configure
19572 # tests run on this system so they can be shared between configure
19573 # scripts and configure runs, see configure's option --config-cache.
19574 # It is not useful on other systems. If it contains results you don't
19575 # want to keep, you may remove or edit it.
19576 #
19577 # config.status only pays attention to the cache file if you give it
19578 # the --recheck option to rerun configure.
19579 #
19580 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19581 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19582 # following values.
19583
19584 _ACEOF
19585
19586 # The following way of writing the cache mishandles newlines in values,
19587 # but we know of no workaround that is simple, portable, and efficient.
19588 # So, we kill variables containing newlines.
19589 # Ultrix sh set writes to stderr and can't be redirected directly,
19590 # and sets the high bit in the cache file unless we assign to the vars.
19591 (
19592 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19593 eval ac_val=\$$ac_var
19594 case $ac_val in #(
19595 *${as_nl}*)
19596 case $ac_var in #(
19597 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19598 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19599 esac
19600 case $ac_var in #(
19601 _ | IFS | as_nl) ;; #(
19602 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19603 *) { eval $ac_var=; unset $ac_var;} ;;
19604 esac ;;
19605 esac
19606 done
19607
19608 (set) 2>&1 |
19609 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19610 *${as_nl}ac_space=\ *)
19611 # `set' does not quote correctly, so add quotes: double-quote
19612 # substitution turns \\\\ into \\, and sed turns \\ into \.
19613 sed -n \
19614 "s/'/'\\\\''/g;
19615 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19616 ;; #(
19617 *)
19618 # `set' quotes correctly as required by POSIX, so do not add quotes.
19619 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19620 ;;
19621 esac |
19622 sort
19623 ) |
19624 sed '
19625 /^ac_cv_env_/b end
19626 t clear
19627 :clear
19628 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19629 t end
19630 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19631 :end' >>confcache
19632 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19633 if test -w "$cache_file"; then
19634 if test "x$cache_file" != "x/dev/null"; then
19635 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19636 $as_echo "$as_me: updating cache $cache_file" >&6;}
19637 if test ! -f "$cache_file" || test -h "$cache_file"; then
19638 cat confcache >"$cache_file"
19639 else
19640 case $cache_file in #(
19641 */* | ?:*)
19642 mv -f confcache "$cache_file"$$ &&
19643 mv -f "$cache_file"$$ "$cache_file" ;; #(
19644 *)
19645 mv -f confcache "$cache_file" ;;
19646 esac
19647 fi
19648 fi
19649 else
19650 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19651 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19652 fi
19653 fi
19654 rm -f confcache
19655
19656 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19657 # Let make expand exec_prefix.
19658 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19659
19660 DEFS=-DHAVE_CONFIG_H
19661
19662 ac_libobjs=
19663 ac_ltlibobjs=
19664 U=
19665 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19666 # 1. Remove the extension, and $U if already installed.
19667 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19668 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19669 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19670 # will be set to the directory where LIBOBJS objects are built.
19671 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19672 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19673 done
19674 LIBOBJS=$ac_libobjs
19675
19676 LTLIBOBJS=$ac_ltlibobjs
19677
19678
19679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
19680 $as_echo_n "checking that generated files are newer than configure... " >&6; }
19681 if test -n "$am_sleep_pid"; then
19682 # Hide warnings about reused PIDs.
19683 wait $am_sleep_pid 2>/dev/null
19684 fi
19685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
19686 $as_echo "done" >&6; }
19687 if test -n "$EXEEXT"; then
19688 am__EXEEXT_TRUE=
19689 am__EXEEXT_FALSE='#'
19690 else
19691 am__EXEEXT_TRUE='#'
19692 am__EXEEXT_FALSE=
19693 fi
19694
19695 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19696 as_fn_error $? "conditional \"AMDEP\" was never defined.
19697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19698 fi
19699 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19700 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19702 fi
19703 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19704 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19706 fi
19707 if test -z "${ENABLE_WOFF_TRUE}" && test -z "${ENABLE_WOFF_FALSE}"; then
19708 as_fn_error $? "conditional \"ENABLE_WOFF\" was never defined.
19709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19710 fi
19711 if test -z "${USE_BUNDLED_LIBS_TRUE}" && test -z "${USE_BUNDLED_LIBS_FALSE}"; then
19712 as_fn_error $? "conditional \"USE_BUNDLED_LIBS\" was never defined.
19713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19714 fi
19715 if test -z "${HAVE_POTRACE_TRUE}" && test -z "${HAVE_POTRACE_FALSE}"; then
19716 as_fn_error $? "conditional \"HAVE_POTRACE\" was never defined.
19717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19718 fi
19719 if test -z "${HAVE_BROTLI_TRUE}" && test -z "${HAVE_BROTLI_FALSE}"; then
19720 as_fn_error $? "conditional \"HAVE_BROTLI\" was never defined.
19721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19722 fi
19723 if test -z "${HAVE_WOFF2_TRUE}" && test -z "${HAVE_WOFF2_FALSE}"; then
19724 as_fn_error $? "conditional \"HAVE_WOFF2\" was never defined.
19725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19726 fi
19727 if test -z "${HAVE_XXHASH_TRUE}" && test -z "${HAVE_XXHASH_FALSE}"; then
19728 as_fn_error $? "conditional \"HAVE_XXHASH\" was never defined.
19729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19730 fi
19731 if test -z "${USE_BUNDLED_MD5_TRUE}" && test -z "${USE_BUNDLED_MD5_FALSE}"; then
19732 as_fn_error $? "conditional \"USE_BUNDLED_MD5\" was never defined.
19733 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19734 fi
19735 if test -z "${BUILD_MANPAGE_TRUE}" && test -z "${BUILD_MANPAGE_FALSE}"; then
19736 as_fn_error $? "conditional \"BUILD_MANPAGE\" was never defined.
19737 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19738 fi
19739 if test -z "${CODE_COVERAGE_ENABLED_TRUE}" && test -z "${CODE_COVERAGE_ENABLED_FALSE}"; then
19740 as_fn_error $? "conditional \"CODE_COVERAGE_ENABLED\" was never defined.
19741 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19742 fi
19743
19744 : "${CONFIG_STATUS=./config.status}"
19745 ac_write_fail=0
19746 ac_clean_files_save=$ac_clean_files
19747 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19748 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19749 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19750 as_write_fail=0
19751 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19752 #! $SHELL
19753 # Generated by $as_me.
19754 # Run this file to recreate the current configuration.
19755 # Compiler output produced by configure, useful for debugging
19756 # configure, is in config.log if it exists.
19757
19758 debug=false
19759 ac_cs_recheck=false
19760 ac_cs_silent=false
19761
19762 SHELL=\${CONFIG_SHELL-$SHELL}
19763 export SHELL
19764 _ASEOF
19765 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19766 ## -------------------- ##
19767 ## M4sh Initialization. ##
19768 ## -------------------- ##
19769
19770 # Be more Bourne compatible
19771 DUALCASE=1; export DUALCASE # for MKS sh
19772 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19773 emulate sh
19774 NULLCMD=:
19775 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19776 # is contrary to our usage. Disable this feature.
19777 alias -g '${1+"$@"}'='"$@"'
19778 setopt NO_GLOB_SUBST
19779 else
19780 case `(set -o) 2>/dev/null` in #(
19781 *posix*) :
19782 set -o posix ;; #(
19783 *) :
19784 ;;
19785 esac
19786 fi
19787
19788
19789 as_nl='
19790 '
19791 export as_nl
19792 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19793 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19794 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19795 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19796 # Prefer a ksh shell builtin over an external printf program on Solaris,
19797 # but without wasting forks for bash or zsh.
19798 if test -z "$BASH_VERSION$ZSH_VERSION" \
19799 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19800 as_echo='print -r --'
19801 as_echo_n='print -rn --'
19802 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19803 as_echo='printf %s\n'
19804 as_echo_n='printf %s'
19805 else
19806 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19807 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19808 as_echo_n='/usr/ucb/echo -n'
19809 else
19810 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19811 as_echo_n_body='eval
19812 arg=$1;
19813 case $arg in #(
19814 *"$as_nl"*)
19815 expr "X$arg" : "X\\(.*\\)$as_nl";
19816 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19817 esac;
19818 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19819 '
19820 export as_echo_n_body
19821 as_echo_n='sh -c $as_echo_n_body as_echo'
19822 fi
19823 export as_echo_body
19824 as_echo='sh -c $as_echo_body as_echo'
19825 fi
19826
19827 # The user is always right.
19828 if test "${PATH_SEPARATOR+set}" != set; then
19829 PATH_SEPARATOR=:
19830 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19831 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19832 PATH_SEPARATOR=';'
19833 }
19834 fi
19835
19836
19837 # IFS
19838 # We need space, tab and new line, in precisely that order. Quoting is
19839 # there to prevent editors from complaining about space-tab.
19840 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19841 # splitting by setting IFS to empty value.)
19842 IFS=" "" $as_nl"
19843
19844 # Find who we are. Look in the path if we contain no directory separator.
19845 as_myself=
19846 case $0 in #((
19847 *[\\/]* ) as_myself=$0 ;;
19848 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19849 for as_dir in $PATH
19850 do
19851 IFS=$as_save_IFS
19852 test -z "$as_dir" && as_dir=.
19853 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19854 done
19855 IFS=$as_save_IFS
19856
19857 ;;
19858 esac
19859 # We did not find ourselves, most probably we were run as `sh COMMAND'
19860 # in which case we are not to be found in the path.
19861 if test "x$as_myself" = x; then
19862 as_myself=$0
19863 fi
19864 if test ! -f "$as_myself"; then
19865 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19866 exit 1
19867 fi
19868
19869 # Unset variables that we do not need and which cause bugs (e.g. in
19870 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19871 # suppresses any "Segmentation fault" message there. '((' could
19872 # trigger a bug in pdksh 5.2.14.
19873 for as_var in BASH_ENV ENV MAIL MAILPATH
19874 do eval test x\${$as_var+set} = xset \
19875 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19876 done
19877 PS1='$ '
19878 PS2='> '
19879 PS4='+ '
19880
19881 # NLS nuisances.
19882 LC_ALL=C
19883 export LC_ALL
19884 LANGUAGE=C
19885 export LANGUAGE
19886
19887 # CDPATH.
19888 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19889
19890
19891 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19892 # ----------------------------------------
19893 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19894 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19895 # script with STATUS, using 1 if that was 0.
19896 as_fn_error ()
19897 {
19898 as_status=$1; test $as_status -eq 0 && as_status=1
19899 if test "$4"; then
19900 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19901 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19902 fi
19903 $as_echo "$as_me: error: $2" >&2
19904 as_fn_exit $as_status
19905 } # as_fn_error
19906
19907
19908 # as_fn_set_status STATUS
19909 # -----------------------
19910 # Set $? to STATUS, without forking.
19911 as_fn_set_status ()
19912 {
19913 return $1
19914 } # as_fn_set_status
19915
19916 # as_fn_exit STATUS
19917 # -----------------
19918 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19919 as_fn_exit ()
19920 {
19921 set +e
19922 as_fn_set_status $1
19923 exit $1
19924 } # as_fn_exit
19925
19926 # as_fn_unset VAR
19927 # ---------------
19928 # Portably unset VAR.
19929 as_fn_unset ()
19930 {
19931 { eval $1=; unset $1;}
19932 }
19933 as_unset=as_fn_unset
19934 # as_fn_append VAR VALUE
19935 # ----------------------
19936 # Append the text in VALUE to the end of the definition contained in VAR. Take
19937 # advantage of any shell optimizations that allow amortized linear growth over
19938 # repeated appends, instead of the typical quadratic growth present in naive
19939 # implementations.
19940 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19941 eval 'as_fn_append ()
19942 {
19943 eval $1+=\$2
19944 }'
19945 else
19946 as_fn_append ()
19947 {
19948 eval $1=\$$1\$2
19949 }
19950 fi # as_fn_append
19951
19952 # as_fn_arith ARG...
19953 # ------------------
19954 # Perform arithmetic evaluation on the ARGs, and store the result in the
19955 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19956 # must be portable across $(()) and expr.
19957 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19958 eval 'as_fn_arith ()
19959 {
19960 as_val=$(( $* ))
19961 }'
19962 else
19963 as_fn_arith ()
19964 {
19965 as_val=`expr "$@" || test $? -eq 1`
19966 }
19967 fi # as_fn_arith
19968
19969
19970 if expr a : '\(a\)' >/dev/null 2>&1 &&
19971 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19972 as_expr=expr
19973 else
19974 as_expr=false
19975 fi
19976
19977 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19978 as_basename=basename
19979 else
19980 as_basename=false
19981 fi
19982
19983 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19984 as_dirname=dirname
19985 else
19986 as_dirname=false
19987 fi
19988
19989 as_me=`$as_basename -- "$0" ||
19990 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19991 X"$0" : 'X\(//\)$' \| \
19992 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19993 $as_echo X/"$0" |
19994 sed '/^.*\/\([^/][^/]*\)\/*$/{
19995 s//\1/
19996 q
19997 }
19998 /^X\/\(\/\/\)$/{
19999 s//\1/
20000 q
20001 }
20002 /^X\/\(\/\).*/{
20003 s//\1/
20004 q
20005 }
20006 s/.*/./; q'`
20007
20008 # Avoid depending upon Character Ranges.
20009 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20010 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20011 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20012 as_cr_digits='0123456789'
20013 as_cr_alnum=$as_cr_Letters$as_cr_digits
20014
20015 ECHO_C= ECHO_N= ECHO_T=
20016 case `echo -n x` in #(((((
20017 -n*)
20018 case `echo 'xy\c'` in
20019 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20020 xy) ECHO_C='\c';;
20021 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20022 ECHO_T=' ';;
20023 esac;;
20024 *)
20025 ECHO_N='-n';;
20026 esac
20027
20028 rm -f conf$$ conf$$.exe conf$$.file
20029 if test -d conf$$.dir; then
20030 rm -f conf$$.dir/conf$$.file
20031 else
20032 rm -f conf$$.dir
20033 mkdir conf$$.dir 2>/dev/null
20034 fi
20035 if (echo >conf$$.file) 2>/dev/null; then
20036 if ln -s conf$$.file conf$$ 2>/dev/null; then
20037 as_ln_s='ln -s'
20038 # ... but there are two gotchas:
20039 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20040 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20041 # In both cases, we have to default to `cp -pR'.
20042 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20043 as_ln_s='cp -pR'
20044 elif ln conf$$.file conf$$ 2>/dev/null; then
20045 as_ln_s=ln
20046 else
20047 as_ln_s='cp -pR'
20048 fi
20049 else
20050 as_ln_s='cp -pR'
20051 fi
20052 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20053 rmdir conf$$.dir 2>/dev/null
20054
20055
20056 # as_fn_mkdir_p
20057 # -------------
20058 # Create "$as_dir" as a directory, including parents if necessary.
20059 as_fn_mkdir_p ()
20060 {
20061
20062 case $as_dir in #(
20063 -*) as_dir=./$as_dir;;
20064 esac
20065 test -d "$as_dir" || eval $as_mkdir_p || {
20066 as_dirs=
20067 while :; do
20068 case $as_dir in #(
20069 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20070 *) as_qdir=$as_dir;;
20071 esac
20072 as_dirs="'$as_qdir' $as_dirs"
20073 as_dir=`$as_dirname -- "$as_dir" ||
20074 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20075 X"$as_dir" : 'X\(//\)[^/]' \| \
20076 X"$as_dir" : 'X\(//\)$' \| \
20077 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20078 $as_echo X"$as_dir" |
20079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20080 s//\1/
20081 q
20082 }
20083 /^X\(\/\/\)[^/].*/{
20084 s//\1/
20085 q
20086 }
20087 /^X\(\/\/\)$/{
20088 s//\1/
20089 q
20090 }
20091 /^X\(\/\).*/{
20092 s//\1/
20093 q
20094 }
20095 s/.*/./; q'`
20096 test -d "$as_dir" && break
20097 done
20098 test -z "$as_dirs" || eval "mkdir $as_dirs"
20099 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20100
20101
20102 } # as_fn_mkdir_p
20103 if mkdir -p . 2>/dev/null; then
20104 as_mkdir_p='mkdir -p "$as_dir"'
20105 else
20106 test -d ./-p && rmdir ./-p
20107 as_mkdir_p=false
20108 fi
20109
20110
20111 # as_fn_executable_p FILE
20112 # -----------------------
20113 # Test if FILE is an executable regular file.
20114 as_fn_executable_p ()
20115 {
20116 test -f "$1" && test -x "$1"
20117 } # as_fn_executable_p
20118 as_test_x='test -x'
20119 as_executable_p=as_fn_executable_p
20120
20121 # Sed expression to map a string onto a valid CPP name.
20122 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20123
20124 # Sed expression to map a string onto a valid variable name.
20125 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20126
20127
20128 exec 6>&1
20129 ## ----------------------------------- ##
20130 ## Main body of $CONFIG_STATUS script. ##
20131 ## ----------------------------------- ##
20132 _ASEOF
20133 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20134
20135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20136 # Save the log message, to keep $0 and so on meaningful, and to
20137 # report actual input values of CONFIG_FILES etc. instead of their
20138 # values after options handling.
20139 ac_log="
20140 This file was extended by dvisvgm $as_me 2.10.1, which was
20141 generated by GNU Autoconf 2.69. Invocation command line was
20142
20143 CONFIG_FILES = $CONFIG_FILES
20144 CONFIG_HEADERS = $CONFIG_HEADERS
20145 CONFIG_LINKS = $CONFIG_LINKS
20146 CONFIG_COMMANDS = $CONFIG_COMMANDS
20147 $ $0 $@
20148
20149 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20150 "
20151
20152 _ACEOF
20153
20154 case $ac_config_files in *"
20155 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20156 esac
20157
20158 case $ac_config_headers in *"
20159 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20160 esac
20161
20162
20163 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20164 # Files that config.status was made for.
20165 config_files="$ac_config_files"
20166 config_headers="$ac_config_headers"
20167 config_commands="$ac_config_commands"
20168
20169 _ACEOF
20170
20171 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20172 ac_cs_usage="\
20173 \`$as_me' instantiates files and other configuration actions
20174 from templates according to the current configuration. Unless the files
20175 and actions are specified as TAGs, all are instantiated by default.
20176
20177 Usage: $0 [OPTION]... [TAG]...
20178
20179 -h, --help print this help, then exit
20180 -V, --version print version number and configuration settings, then exit
20181 --config print configuration, then exit
20182 -q, --quiet, --silent
20183 do not print progress messages
20184 -d, --debug don't remove temporary files
20185 --recheck update $as_me by reconfiguring in the same conditions
20186 --file=FILE[:TEMPLATE]
20187 instantiate the configuration file FILE
20188 --header=FILE[:TEMPLATE]
20189 instantiate the configuration header FILE
20190
20191 Configuration files:
20192 $config_files
20193
20194 Configuration headers:
20195 $config_headers
20196
20197 Configuration commands:
20198 $config_commands
20199
20200 Report bugs to <martin.gieseking@uos.de>."
20201
20202 _ACEOF
20203 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20204 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20205 ac_cs_version="\\
20206 dvisvgm config.status 2.10.1
20207 configured by $0, generated by GNU Autoconf 2.69,
20208 with options \\"\$ac_cs_config\\"
20209
20210 Copyright (C) 2012 Free Software Foundation, Inc.
20211 This config.status script is free software; the Free Software Foundation
20212 gives unlimited permission to copy, distribute and modify it."
20213
20214 ac_pwd='$ac_pwd'
20215 srcdir='$srcdir'
20216 INSTALL='$INSTALL'
20217 MKDIR_P='$MKDIR_P'
20218 AWK='$AWK'
20219 test -n "\$AWK" || AWK=awk
20220 _ACEOF
20221
20222 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20223 # The default lists apply if the user does not specify any file.
20224 ac_need_defaults=:
20225 while test $# != 0
20226 do
20227 case $1 in
20228 --*=?*)
20229 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20230 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20231 ac_shift=:
20232 ;;
20233 --*=)
20234 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20235 ac_optarg=
20236 ac_shift=:
20237 ;;
20238 *)
20239 ac_option=$1
20240 ac_optarg=$2
20241 ac_shift=shift
20242 ;;
20243 esac
20244
20245 case $ac_option in
20246 # Handling of the options.
20247 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20248 ac_cs_recheck=: ;;
20249 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20250 $as_echo "$ac_cs_version"; exit ;;
20251 --config | --confi | --conf | --con | --co | --c )
20252 $as_echo "$ac_cs_config"; exit ;;
20253 --debug | --debu | --deb | --de | --d | -d )
20254 debug=: ;;
20255 --file | --fil | --fi | --f )
20256 $ac_shift
20257 case $ac_optarg in
20258 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20259 '') as_fn_error $? "missing file argument" ;;
20260 esac
20261 as_fn_append CONFIG_FILES " '$ac_optarg'"
20262 ac_need_defaults=false;;
20263 --header | --heade | --head | --hea )
20264 $ac_shift
20265 case $ac_optarg in
20266 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20267 esac
20268 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20269 ac_need_defaults=false;;
20270 --he | --h)
20271 # Conflict between --help and --header
20272 as_fn_error $? "ambiguous option: \`$1'
20273 Try \`$0 --help' for more information.";;
20274 --help | --hel | -h )
20275 $as_echo "$ac_cs_usage"; exit ;;
20276 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20277 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20278 ac_cs_silent=: ;;
20279
20280 # This is an error.
20281 -*) as_fn_error $? "unrecognized option: \`$1'
20282 Try \`$0 --help' for more information." ;;
20283
20284 *) as_fn_append ac_config_targets " $1"
20285 ac_need_defaults=false ;;
20286
20287 esac
20288 shift
20289 done
20290
20291 ac_configure_extra_args=
20292
20293 if $ac_cs_silent; then
20294 exec 6>/dev/null
20295 ac_configure_extra_args="$ac_configure_extra_args --silent"
20296 fi
20297
20298 _ACEOF
20299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20300 if \$ac_cs_recheck; then
20301 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20302 shift
20303 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20304 CONFIG_SHELL='$SHELL'
20305 export CONFIG_SHELL
20306 exec "\$@"
20307 fi
20308
20309 _ACEOF
20310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20311 exec 5>>config.log
20312 {
20313 echo
20314 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20315 ## Running $as_me. ##
20316 _ASBOX
20317 $as_echo "$ac_log"
20318 } >&5
20319
20320 _ACEOF
20321 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20322 #
20323 # INIT-COMMANDS
20324 #
20325 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
20326
20327
20328 # The HP-UX ksh and POSIX shell print the target directory to stdout
20329 # if CDPATH is set.
20330 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20331
20332 sed_quote_subst='$sed_quote_subst'
20333 double_quote_subst='$double_quote_subst'
20334 delay_variable_subst='$delay_variable_subst'
20335 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20336 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20337 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20338 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20339 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20340 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20341 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
20342 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20343 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20344 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
20345 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20346 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20347 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20348 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20349 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20350 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20351 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20352 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20353 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20354 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20355 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20356 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20357 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20358 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20359 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20360 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20361 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20362 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20363 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20364 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20365 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20366 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20367 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20368 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20369 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20370 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20371 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20372 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20373 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20374 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20375 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20376 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20377 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20378 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20379 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20380 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20381 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20382 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20383 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20384 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20385 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20386 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20387 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20388 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20389 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20390 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20391 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
20392 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20393 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
20394 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
20395 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20396 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20397 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
20398 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20399 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20400 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20401 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20402 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20403 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20404 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20405 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20406 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20407 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20408 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20409 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20410 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20411 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20412 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20413 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20414 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20415 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20416 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20417 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20418 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20419 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20420 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20421 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20422 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20423 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20424 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20425 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20426 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20427 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20428 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20429 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20430 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20431 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20432 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20433 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20434 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20435 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20436 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20437 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20438 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20439 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20440 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20441 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20442 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20443 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20444 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20445 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20446 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20447 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20448 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20449 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20450 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20451 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20452 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20453 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20454 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20455 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20456 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20457 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20458 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20459 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20460 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20461 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20462 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
20463 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
20464 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20465 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20466 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20467 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20468 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20469 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20470 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20471 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20472 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20473 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20474 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20475 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20476 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20477 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20478 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20479 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20480 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20481 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20482 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20483 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20484 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20485 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20486 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20487 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20488 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20489 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20490 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20491 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20492 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20493 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20494 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20495 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20496 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20497 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20498 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20499 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20500 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20501 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20502 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20503 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20504 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20505 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20506 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20507 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20508 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20509 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20510 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20511 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20512 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20513 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20514 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20515 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20516 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20517 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20518 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20519 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20520 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20521 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20522 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20523 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20524
20525 LTCC='$LTCC'
20526 LTCFLAGS='$LTCFLAGS'
20527 compiler='$compiler_DEFAULT'
20528
20529 # A function that is used when there is no print builtin or printf.
20530 func_fallback_echo ()
20531 {
20532 eval 'cat <<_LTECHO_EOF
20533 \$1
20534 _LTECHO_EOF'
20535 }
20536
20537 # Quote evaled strings.
20538 for var in SHELL \
20539 ECHO \
20540 PATH_SEPARATOR \
20541 SED \
20542 GREP \
20543 EGREP \
20544 FGREP \
20545 LD \
20546 NM \
20547 LN_S \
20548 lt_SP2NL \
20549 lt_NL2SP \
20550 reload_flag \
20551 OBJDUMP \
20552 deplibs_check_method \
20553 file_magic_cmd \
20554 file_magic_glob \
20555 want_nocaseglob \
20556 DLLTOOL \
20557 sharedlib_from_linklib_cmd \
20558 AR \
20559 AR_FLAGS \
20560 archiver_list_spec \
20561 STRIP \
20562 RANLIB \
20563 CC \
20564 CFLAGS \
20565 compiler \
20566 lt_cv_sys_global_symbol_pipe \
20567 lt_cv_sys_global_symbol_to_cdecl \
20568 lt_cv_sys_global_symbol_to_import \
20569 lt_cv_sys_global_symbol_to_c_name_address \
20570 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20571 lt_cv_nm_interface \
20572 nm_file_list_spec \
20573 lt_cv_truncate_bin \
20574 lt_prog_compiler_no_builtin_flag \
20575 lt_prog_compiler_pic \
20576 lt_prog_compiler_wl \
20577 lt_prog_compiler_static \
20578 lt_cv_prog_compiler_c_o \
20579 need_locks \
20580 MANIFEST_TOOL \
20581 DSYMUTIL \
20582 NMEDIT \
20583 LIPO \
20584 OTOOL \
20585 OTOOL64 \
20586 shrext_cmds \
20587 export_dynamic_flag_spec \
20588 whole_archive_flag_spec \
20589 compiler_needs_object \
20590 with_gnu_ld \
20591 allow_undefined_flag \
20592 no_undefined_flag \
20593 hardcode_libdir_flag_spec \
20594 hardcode_libdir_separator \
20595 exclude_expsyms \
20596 include_expsyms \
20597 file_list_spec \
20598 variables_saved_for_relink \
20599 libname_spec \
20600 library_names_spec \
20601 soname_spec \
20602 install_override_mode \
20603 finish_eval \
20604 old_striplib \
20605 striplib \
20606 compiler_lib_search_dirs \
20607 predep_objects \
20608 postdep_objects \
20609 predeps \
20610 postdeps \
20611 compiler_lib_search_path \
20612 LD_CXX \
20613 reload_flag_CXX \
20614 compiler_CXX \
20615 lt_prog_compiler_no_builtin_flag_CXX \
20616 lt_prog_compiler_pic_CXX \
20617 lt_prog_compiler_wl_CXX \
20618 lt_prog_compiler_static_CXX \
20619 lt_cv_prog_compiler_c_o_CXX \
20620 export_dynamic_flag_spec_CXX \
20621 whole_archive_flag_spec_CXX \
20622 compiler_needs_object_CXX \
20623 with_gnu_ld_CXX \
20624 allow_undefined_flag_CXX \
20625 no_undefined_flag_CXX \
20626 hardcode_libdir_flag_spec_CXX \
20627 hardcode_libdir_separator_CXX \
20628 exclude_expsyms_CXX \
20629 include_expsyms_CXX \
20630 file_list_spec_CXX \
20631 compiler_lib_search_dirs_CXX \
20632 predep_objects_CXX \
20633 postdep_objects_CXX \
20634 predeps_CXX \
20635 postdeps_CXX \
20636 compiler_lib_search_path_CXX; do
20637 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20638 *[\\\\\\\`\\"\\\$]*)
20639 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
20640 ;;
20641 *)
20642 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20643 ;;
20644 esac
20645 done
20646
20647 # Double-quote double-evaled strings.
20648 for var in reload_cmds \
20649 old_postinstall_cmds \
20650 old_postuninstall_cmds \
20651 old_archive_cmds \
20652 extract_expsyms_cmds \
20653 old_archive_from_new_cmds \
20654 old_archive_from_expsyms_cmds \
20655 archive_cmds \
20656 archive_expsym_cmds \
20657 module_cmds \
20658 module_expsym_cmds \
20659 export_symbols_cmds \
20660 prelink_cmds \
20661 postlink_cmds \
20662 postinstall_cmds \
20663 postuninstall_cmds \
20664 finish_cmds \
20665 sys_lib_search_path_spec \
20666 configure_time_dlsearch_path \
20667 configure_time_lt_sys_library_path \
20668 reload_cmds_CXX \
20669 old_archive_cmds_CXX \
20670 old_archive_from_new_cmds_CXX \
20671 old_archive_from_expsyms_cmds_CXX \
20672 archive_cmds_CXX \
20673 archive_expsym_cmds_CXX \
20674 module_cmds_CXX \
20675 module_expsym_cmds_CXX \
20676 export_symbols_cmds_CXX \
20677 prelink_cmds_CXX \
20678 postlink_cmds_CXX; do
20679 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20680 *[\\\\\\\`\\"\\\$]*)
20681 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
20682 ;;
20683 *)
20684 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20685 ;;
20686 esac
20687 done
20688
20689 ac_aux_dir='$ac_aux_dir'
20690
20691 # See if we are running on zsh, and set the options that allow our
20692 # commands through without removal of \ escapes INIT.
20693 if test -n "\${ZSH_VERSION+set}"; then
20694 setopt NO_GLOB_SUBST
20695 fi
20696
20697
20698 PACKAGE='$PACKAGE'
20699 VERSION='$VERSION'
20700 RM='$RM'
20701 ofile='$ofile'
20702
20703
20704
20705
20706
20707
20708 _ACEOF
20709
20710 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20711
20712 # Handling of arguments.
20713 for ac_config_target in $ac_config_targets
20714 do
20715 case $ac_config_target in
20716 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20717 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20718 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20719 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20720 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
20721 "libs/brotli/Makefile") CONFIG_FILES="$CONFIG_FILES libs/brotli/Makefile" ;;
20722 "libs/clipper/Makefile") CONFIG_FILES="$CONFIG_FILES libs/clipper/Makefile" ;;
20723 "libs/ff-woff/Makefile") CONFIG_FILES="$CONFIG_FILES libs/ff-woff/Makefile" ;;
20724 "libs/md5/Makefile") CONFIG_FILES="$CONFIG_FILES libs/md5/Makefile" ;;
20725 "libs/potrace/Makefile") CONFIG_FILES="$CONFIG_FILES libs/potrace/Makefile" ;;
20726 "libs/variant/Makefile") CONFIG_FILES="$CONFIG_FILES libs/variant/Makefile" ;;
20727 "libs/woff2/Makefile") CONFIG_FILES="$CONFIG_FILES libs/woff2/Makefile" ;;
20728 "libs/xxHash/Makefile") CONFIG_FILES="$CONFIG_FILES libs/xxHash/Makefile" ;;
20729 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
20730 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
20731 "src/version.hpp") CONFIG_FILES="$CONFIG_FILES src/version.hpp" ;;
20732 "src/optimizer/Makefile") CONFIG_FILES="$CONFIG_FILES src/optimizer/Makefile" ;;
20733 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
20734 "tests/data/Makefile") CONFIG_FILES="$CONFIG_FILES tests/data/Makefile" ;;
20735 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20736
20737 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20738 esac
20739 done
20740
20741
20742 # If the user did not use the arguments to specify the items to instantiate,
20743 # then the envvar interface is used. Set only those that are not.
20744 # We use the long form for the default assignment because of an extremely
20745 # bizarre bug on SunOS 4.1.3.
20746 if $ac_need_defaults; then
20747 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20748 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20749 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20750 fi
20751
20752 # Have a temporary directory for convenience. Make it in the build tree
20753 # simply because there is no reason against having it here, and in addition,
20754 # creating and moving files from /tmp can sometimes cause problems.
20755 # Hook for its removal unless debugging.
20756 # Note that there is a small window in which the directory will not be cleaned:
20757 # after its creation but before its name has been assigned to `$tmp'.
20758 $debug ||
20759 {
20760 tmp= ac_tmp=
20761 trap 'exit_status=$?
20762 : "${ac_tmp:=$tmp}"
20763 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20764 ' 0
20765 trap 'as_fn_exit 1' 1 2 13 15
20766 }
20767 # Create a (secure) tmp directory for tmp files.
20768
20769 {
20770 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20771 test -d "$tmp"
20772 } ||
20773 {
20774 tmp=./conf$$-$RANDOM
20775 (umask 077 && mkdir "$tmp")
20776 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20777 ac_tmp=$tmp
20778
20779 # Set up the scripts for CONFIG_FILES section.
20780 # No need to generate them if there are no CONFIG_FILES.
20781 # This happens for instance with `./config.status config.h'.
20782 if test -n "$CONFIG_FILES"; then
20783
20784
20785 ac_cr=`echo X | tr X '\015'`
20786 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20787 # But we know of no other shell where ac_cr would be empty at this
20788 # point, so we can use a bashism as a fallback.
20789 if test "x$ac_cr" = x; then
20790 eval ac_cr=\$\'\\r\'
20791 fi
20792 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20793 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20794 ac_cs_awk_cr='\\r'
20795 else
20796 ac_cs_awk_cr=$ac_cr
20797 fi
20798
20799 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20800 _ACEOF
20801
20802
20803 {
20804 echo "cat >conf$$subs.awk <<_ACEOF" &&
20805 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20806 echo "_ACEOF"
20807 } >conf$$subs.sh ||
20808 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20809 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20810 ac_delim='%!_!# '
20811 for ac_last_try in false false false false false :; do
20812 . ./conf$$subs.sh ||
20813 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20814
20815 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20816 if test $ac_delim_n = $ac_delim_num; then
20817 break
20818 elif $ac_last_try; then
20819 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20820 else
20821 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20822 fi
20823 done
20824 rm -f conf$$subs.sh
20825
20826 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20827 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20828 _ACEOF
20829 sed -n '
20830 h
20831 s/^/S["/; s/!.*/"]=/
20832 p
20833 g
20834 s/^[^!]*!//
20835 :repl
20836 t repl
20837 s/'"$ac_delim"'$//
20838 t delim
20839 :nl
20840 h
20841 s/\(.\{148\}\)..*/\1/
20842 t more1
20843 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20844 p
20845 n
20846 b repl
20847 :more1
20848 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20849 p
20850 g
20851 s/.\{148\}//
20852 t nl
20853 :delim
20854 h
20855 s/\(.\{148\}\)..*/\1/
20856 t more2
20857 s/["\\]/\\&/g; s/^/"/; s/$/"/
20858 p
20859 b
20860 :more2
20861 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20862 p
20863 g
20864 s/.\{148\}//
20865 t delim
20866 ' <conf$$subs.awk | sed '
20867 /^[^""]/{
20868 N
20869 s/\n//
20870 }
20871 ' >>$CONFIG_STATUS || ac_write_fail=1
20872 rm -f conf$$subs.awk
20873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20874 _ACAWK
20875 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20876 for (key in S) S_is_set[key] = 1
20877 FS = ""
20878
20879 }
20880 {
20881 line = $ 0
20882 nfields = split(line, field, "@")
20883 substed = 0
20884 len = length(field[1])
20885 for (i = 2; i < nfields; i++) {
20886 key = field[i]
20887 keylen = length(key)
20888 if (S_is_set[key]) {
20889 value = S[key]
20890 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20891 len += length(value) + length(field[++i])
20892 substed = 1
20893 } else
20894 len += 1 + keylen
20895 }
20896
20897 print line
20898 }
20899
20900 _ACAWK
20901 _ACEOF
20902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20903 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20904 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20905 else
20906 cat
20907 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20908 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20909 _ACEOF
20910
20911 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20912 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20913 # trailing colons and then remove the whole line if VPATH becomes empty
20914 # (actually we leave an empty line to preserve line numbers).
20915 if test "x$srcdir" = x.; then
20916 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20917 h
20918 s///
20919 s/^/:/
20920 s/[ ]*$/:/
20921 s/:\$(srcdir):/:/g
20922 s/:\${srcdir}:/:/g
20923 s/:@srcdir@:/:/g
20924 s/^:*//
20925 s/:*$//
20926 x
20927 s/\(=[ ]*\).*/\1/
20928 G
20929 s/\n//
20930 s/^[^=]*=[ ]*$//
20931 }'
20932 fi
20933
20934 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20935 fi # test -n "$CONFIG_FILES"
20936
20937 # Set up the scripts for CONFIG_HEADERS section.
20938 # No need to generate them if there are no CONFIG_HEADERS.
20939 # This happens for instance with `./config.status Makefile'.
20940 if test -n "$CONFIG_HEADERS"; then
20941 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20942 BEGIN {
20943 _ACEOF
20944
20945 # Transform confdefs.h into an awk script `defines.awk', embedded as
20946 # here-document in config.status, that substitutes the proper values into
20947 # config.h.in to produce config.h.
20948
20949 # Create a delimiter string that does not exist in confdefs.h, to ease
20950 # handling of long lines.
20951 ac_delim='%!_!# '
20952 for ac_last_try in false false :; do
20953 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20954 if test -z "$ac_tt"; then
20955 break
20956 elif $ac_last_try; then
20957 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20958 else
20959 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20960 fi
20961 done
20962
20963 # For the awk script, D is an array of macro values keyed by name,
20964 # likewise P contains macro parameters if any. Preserve backslash
20965 # newline sequences.
20966
20967 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20968 sed -n '
20969 s/.\{148\}/&'"$ac_delim"'/g
20970 t rset
20971 :rset
20972 s/^[ ]*#[ ]*define[ ][ ]*/ /
20973 t def
20974 d
20975 :def
20976 s/\\$//
20977 t bsnl
20978 s/["\\]/\\&/g
20979 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20980 D["\1"]=" \3"/p
20981 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20982 d
20983 :bsnl
20984 s/["\\]/\\&/g
20985 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20986 D["\1"]=" \3\\\\\\n"\\/p
20987 t cont
20988 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20989 t cont
20990 d
20991 :cont
20992 n
20993 s/.\{148\}/&'"$ac_delim"'/g
20994 t clear
20995 :clear
20996 s/\\$//
20997 t bsnlc
20998 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20999 d
21000 :bsnlc
21001 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21002 b cont
21003 ' <confdefs.h | sed '
21004 s/'"$ac_delim"'/"\\\
21005 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21006
21007 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21008 for (key in D) D_is_set[key] = 1
21009 FS = ""
21010 }
21011 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21012 line = \$ 0
21013 split(line, arg, " ")
21014 if (arg[1] == "#") {
21015 defundef = arg[2]
21016 mac1 = arg[3]
21017 } else {
21018 defundef = substr(arg[1], 2)
21019 mac1 = arg[2]
21020 }
21021 split(mac1, mac2, "(") #)
21022 macro = mac2[1]
21023 prefix = substr(line, 1, index(line, defundef) - 1)
21024 if (D_is_set[macro]) {
21025 # Preserve the white space surrounding the "#".
21026 print prefix "define", macro P[macro] D[macro]
21027 next
21028 } else {
21029 # Replace #undef with comments. This is necessary, for example,
21030 # in the case of _POSIX_SOURCE, which is predefined and required
21031 # on some systems where configure will not decide to define it.
21032 if (defundef == "undef") {
21033 print "/*", prefix defundef, macro, "*/"
21034 next
21035 }
21036 }
21037 }
21038 { print }
21039 _ACAWK
21040 _ACEOF
21041 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21042 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21043 fi # test -n "$CONFIG_HEADERS"
21044
21045
21046 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21047 shift
21048 for ac_tag
21049 do
21050 case $ac_tag in
21051 :[FHLC]) ac_mode=$ac_tag; continue;;
21052 esac
21053 case $ac_mode$ac_tag in
21054 :[FHL]*:*);;
21055 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21056 :[FH]-) ac_tag=-:-;;
21057 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21058 esac
21059 ac_save_IFS=$IFS
21060 IFS=:
21061 set x $ac_tag
21062 IFS=$ac_save_IFS
21063 shift
21064 ac_file=$1
21065 shift
21066
21067 case $ac_mode in
21068 :L) ac_source=$1;;
21069 :[FH])
21070 ac_file_inputs=
21071 for ac_f
21072 do
21073 case $ac_f in
21074 -) ac_f="$ac_tmp/stdin";;
21075 *) # Look for the file first in the build tree, then in the source tree
21076 # (if the path is not absolute). The absolute path cannot be DOS-style,
21077 # because $ac_f cannot contain `:'.
21078 test -f "$ac_f" ||
21079 case $ac_f in
21080 [\\/$]*) false;;
21081 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21082 esac ||
21083 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21084 esac
21085 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21086 as_fn_append ac_file_inputs " '$ac_f'"
21087 done
21088
21089 # Let's still pretend it is `configure' which instantiates (i.e., don't
21090 # use $as_me), people would be surprised to read:
21091 # /* config.h. Generated by config.status. */
21092 configure_input='Generated from '`
21093 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21094 `' by configure.'
21095 if test x"$ac_file" != x-; then
21096 configure_input="$ac_file. $configure_input"
21097 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21098 $as_echo "$as_me: creating $ac_file" >&6;}
21099 fi
21100 # Neutralize special characters interpreted by sed in replacement strings.
21101 case $configure_input in #(
21102 *\&* | *\|* | *\\* )
21103 ac_sed_conf_input=`$as_echo "$configure_input" |
21104 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21105 *) ac_sed_conf_input=$configure_input;;
21106 esac
21107
21108 case $ac_tag in
21109 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21110 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21111 esac
21112 ;;
21113 esac
21114
21115 ac_dir=`$as_dirname -- "$ac_file" ||
21116 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21117 X"$ac_file" : 'X\(//\)[^/]' \| \
21118 X"$ac_file" : 'X\(//\)$' \| \
21119 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21120 $as_echo X"$ac_file" |
21121 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21122 s//\1/
21123 q
21124 }
21125 /^X\(\/\/\)[^/].*/{
21126 s//\1/
21127 q
21128 }
21129 /^X\(\/\/\)$/{
21130 s//\1/
21131 q
21132 }
21133 /^X\(\/\).*/{
21134 s//\1/
21135 q
21136 }
21137 s/.*/./; q'`
21138 as_dir="$ac_dir"; as_fn_mkdir_p
21139 ac_builddir=.
21140
21141 case "$ac_dir" in
21142 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21143 *)
21144 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21145 # A ".." for each directory in $ac_dir_suffix.
21146 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21147 case $ac_top_builddir_sub in
21148 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21149 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21150 esac ;;
21151 esac
21152 ac_abs_top_builddir=$ac_pwd
21153 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21154 # for backward compatibility:
21155 ac_top_builddir=$ac_top_build_prefix
21156
21157 case $srcdir in
21158 .) # We are building in place.
21159 ac_srcdir=.
21160 ac_top_srcdir=$ac_top_builddir_sub
21161 ac_abs_top_srcdir=$ac_pwd ;;
21162 [\\/]* | ?:[\\/]* ) # Absolute name.
21163 ac_srcdir=$srcdir$ac_dir_suffix;
21164 ac_top_srcdir=$srcdir
21165 ac_abs_top_srcdir=$srcdir ;;
21166 *) # Relative name.
21167 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21168 ac_top_srcdir=$ac_top_build_prefix$srcdir
21169 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21170 esac
21171 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21172
21173
21174 case $ac_mode in
21175 :F)
21176 #
21177 # CONFIG_FILE
21178 #
21179
21180 case $INSTALL in
21181 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21182 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21183 esac
21184 ac_MKDIR_P=$MKDIR_P
21185 case $MKDIR_P in
21186 [\\/$]* | ?:[\\/]* ) ;;
21187 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
21188 esac
21189 _ACEOF
21190
21191 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21192 # If the template does not know about datarootdir, expand it.
21193 # FIXME: This hack should be removed a few years after 2.60.
21194 ac_datarootdir_hack=; ac_datarootdir_seen=
21195 ac_sed_dataroot='
21196 /datarootdir/ {
21197 p
21198 q
21199 }
21200 /@datadir@/p
21201 /@docdir@/p
21202 /@infodir@/p
21203 /@localedir@/p
21204 /@mandir@/p'
21205 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21206 *datarootdir*) ac_datarootdir_seen=yes;;
21207 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21209 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21210 _ACEOF
21211 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21212 ac_datarootdir_hack='
21213 s&@datadir@&$datadir&g
21214 s&@docdir@&$docdir&g
21215 s&@infodir@&$infodir&g
21216 s&@localedir@&$localedir&g
21217 s&@mandir@&$mandir&g
21218 s&\\\${datarootdir}&$datarootdir&g' ;;
21219 esac
21220 _ACEOF
21221
21222 # Neutralize VPATH when `$srcdir' = `.'.
21223 # Shell code in configure.ac might set extrasub.
21224 # FIXME: do we really want to maintain this feature?
21225 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21226 ac_sed_extra="$ac_vpsub
21227 $extrasub
21228 _ACEOF
21229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21230 :t
21231 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21232 s|@configure_input@|$ac_sed_conf_input|;t t
21233 s&@top_builddir@&$ac_top_builddir_sub&;t t
21234 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21235 s&@srcdir@&$ac_srcdir&;t t
21236 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21237 s&@top_srcdir@&$ac_top_srcdir&;t t
21238 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21239 s&@builddir@&$ac_builddir&;t t
21240 s&@abs_builddir@&$ac_abs_builddir&;t t
21241 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21242 s&@INSTALL@&$ac_INSTALL&;t t
21243 s&@MKDIR_P@&$ac_MKDIR_P&;t t
21244 $ac_datarootdir_hack
21245 "
21246 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21247 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21248
21249 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21250 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21251 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21252 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21254 which seems to be undefined. Please make sure it is defined" >&5
21255 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21256 which seems to be undefined. Please make sure it is defined" >&2;}
21257
21258 rm -f "$ac_tmp/stdin"
21259 case $ac_file in
21260 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21261 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21262 esac \
21263 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21264 ;;
21265 :H)
21266 #
21267 # CONFIG_HEADER
21268 #
21269 if test x"$ac_file" != x-; then
21270 {
21271 $as_echo "/* $configure_input */" \
21272 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21273 } >"$ac_tmp/config.h" \
21274 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21275 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21276 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21277 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21278 else
21279 rm -f "$ac_file"
21280 mv "$ac_tmp/config.h" "$ac_file" \
21281 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21282 fi
21283 else
21284 $as_echo "/* $configure_input */" \
21285 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21286 || as_fn_error $? "could not create -" "$LINENO" 5
21287 fi
21288 # Compute "$ac_file"'s index in $config_headers.
21289 _am_arg="$ac_file"
21290 _am_stamp_count=1
21291 for _am_header in $config_headers :; do
21292 case $_am_header in
21293 $_am_arg | $_am_arg:* )
21294 break ;;
21295 * )
21296 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21297 esac
21298 done
21299 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21300 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21301 X"$_am_arg" : 'X\(//\)[^/]' \| \
21302 X"$_am_arg" : 'X\(//\)$' \| \
21303 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21304 $as_echo X"$_am_arg" |
21305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21306 s//\1/
21307 q
21308 }
21309 /^X\(\/\/\)[^/].*/{
21310 s//\1/
21311 q
21312 }
21313 /^X\(\/\/\)$/{
21314 s//\1/
21315 q
21316 }
21317 /^X\(\/\).*/{
21318 s//\1/
21319 q
21320 }
21321 s/.*/./; q'`/stamp-h$_am_stamp_count
21322 ;;
21323
21324 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21325 $as_echo "$as_me: executing $ac_file commands" >&6;}
21326 ;;
21327 esac
21328
21329
21330 case $ac_file$ac_mode in
21331 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
21332 # Older Autoconf quotes --file arguments for eval, but not when files
21333 # are listed without --file. Let's play safe and only enable the eval
21334 # if we detect the quoting.
21335 # TODO: see whether this extra hack can be removed once we start
21336 # requiring Autoconf 2.70 or later.
21337 case $CONFIG_FILES in #(
21338 *\'*) :
21339 eval set x "$CONFIG_FILES" ;; #(
21340 *) :
21341 set x $CONFIG_FILES ;; #(
21342 *) :
21343 ;;
21344 esac
21345 shift
21346 # Used to flag and report bootstrapping failures.
21347 am_rc=0
21348 for am_mf
21349 do
21350 # Strip MF so we end up with the name of the file.
21351 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
21352 # Check whether this is an Automake generated Makefile which includes
21353 # dependency-tracking related rules and includes.
21354 # Grep'ing the whole file directly is not great: AIX grep has a line
21355 # limit of 2048, but all sed's we know have understand at least 4000.
21356 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
21357 || continue
21358 am_dirpart=`$as_dirname -- "$am_mf" ||
21359 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21360 X"$am_mf" : 'X\(//\)[^/]' \| \
21361 X"$am_mf" : 'X\(//\)$' \| \
21362 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
21363 $as_echo X"$am_mf" |
21364 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21365 s//\1/
21366 q
21367 }
21368 /^X\(\/\/\)[^/].*/{
21369 s//\1/
21370 q
21371 }
21372 /^X\(\/\/\)$/{
21373 s//\1/
21374 q
21375 }
21376 /^X\(\/\).*/{
21377 s//\1/
21378 q
21379 }
21380 s/.*/./; q'`
21381 am_filepart=`$as_basename -- "$am_mf" ||
21382 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
21383 X"$am_mf" : 'X\(//\)$' \| \
21384 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
21385 $as_echo X/"$am_mf" |
21386 sed '/^.*\/\([^/][^/]*\)\/*$/{
21387 s//\1/
21388 q
21389 }
21390 /^X\/\(\/\/\)$/{
21391 s//\1/
21392 q
21393 }
21394 /^X\/\(\/\).*/{
21395 s//\1/
21396 q
21397 }
21398 s/.*/./; q'`
21399 { echo "$as_me:$LINENO: cd "$am_dirpart" \
21400 && sed -e '/# am--include-marker/d' "$am_filepart" \
21401 | $MAKE -f - am--depfiles" >&5
21402 (cd "$am_dirpart" \
21403 && sed -e '/# am--include-marker/d' "$am_filepart" \
21404 | $MAKE -f - am--depfiles) >&5 2>&5
21405 ac_status=$?
21406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21407 (exit $ac_status); } || am_rc=$?
21408 done
21409 if test $am_rc -ne 0; then
21410 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21412 as_fn_error $? "Something went wrong bootstrapping makefile fragments
21413 for automatic dependency tracking. Try re-running configure with the
21414 '--disable-dependency-tracking' option to at least be able to build
21415 the package (albeit without support for automatic dependency tracking).
21416 See \`config.log' for more details" "$LINENO" 5; }
21417 fi
21418 { am_dirpart=; unset am_dirpart;}
21419 { am_filepart=; unset am_filepart;}
21420 { am_mf=; unset am_mf;}
21421 { am_rc=; unset am_rc;}
21422 rm -f conftest-deps.mk
21423 }
21424 ;;
21425 "libtool":C)
21426
21427 # See if we are running on zsh, and set the options that allow our
21428 # commands through without removal of \ escapes.
21429 if test -n "${ZSH_VERSION+set}"; then
21430 setopt NO_GLOB_SUBST
21431 fi
21432
21433 cfgfile=${ofile}T
21434 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21435 $RM "$cfgfile"
21436
21437 cat <<_LT_EOF >> "$cfgfile"
21438 #! $SHELL
21439 # Generated automatically by $as_me ($PACKAGE) $VERSION
21440 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21441 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21442
21443 # Provide generalized library-building support services.
21444 # Written by Gordon Matzigkeit, 1996
21445
21446 # Copyright (C) 2014 Free Software Foundation, Inc.
21447 # This is free software; see the source for copying conditions. There is NO
21448 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21449
21450 # GNU Libtool is free software; you can redistribute it and/or modify
21451 # it under the terms of the GNU General Public License as published by
21452 # the Free Software Foundation; either version 2 of of the License, or
21453 # (at your option) any later version.
21454 #
21455 # As a special exception to the GNU General Public License, if you
21456 # distribute this file as part of a program or library that is built
21457 # using GNU Libtool, you may include this file under the same
21458 # distribution terms that you use for the rest of that program.
21459 #
21460 # GNU Libtool is distributed in the hope that it will be useful, but
21461 # WITHOUT ANY WARRANTY; without even the implied warranty of
21462 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21463 # GNU General Public License for more details.
21464 #
21465 # You should have received a copy of the GNU General Public License
21466 # along with this program. If not, see <http://www.gnu.org/licenses/>.
21467
21468
21469 # The names of the tagged configurations supported by this script.
21470 available_tags='CXX '
21471
21472 # Configured defaults for sys_lib_dlsearch_path munging.
21473 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
21474
21475 # ### BEGIN LIBTOOL CONFIG
21476
21477 # Which release of libtool.m4 was used?
21478 macro_version=$macro_version
21479 macro_revision=$macro_revision
21480
21481 # Whether or not to build shared libraries.
21482 build_libtool_libs=$enable_shared
21483
21484 # Whether or not to build static libraries.
21485 build_old_libs=$enable_static
21486
21487 # What type of objects to build.
21488 pic_mode=$pic_mode
21489
21490 # Whether or not to optimize for fast installation.
21491 fast_install=$enable_fast_install
21492
21493 # Shared archive member basename,for filename based shared library versioning on AIX.
21494 shared_archive_member_spec=$shared_archive_member_spec
21495
21496 # Shell to use when invoking shell scripts.
21497 SHELL=$lt_SHELL
21498
21499 # An echo program that protects backslashes.
21500 ECHO=$lt_ECHO
21501
21502 # The PATH separator for the build system.
21503 PATH_SEPARATOR=$lt_PATH_SEPARATOR
21504
21505 # The host system.
21506 host_alias=$host_alias
21507 host=$host
21508 host_os=$host_os
21509
21510 # The build system.
21511 build_alias=$build_alias
21512 build=$build
21513 build_os=$build_os
21514
21515 # A sed program that does not truncate output.
21516 SED=$lt_SED
21517
21518 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21519 Xsed="\$SED -e 1s/^X//"
21520
21521 # A grep program that handles long lines.
21522 GREP=$lt_GREP
21523
21524 # An ERE matcher.
21525 EGREP=$lt_EGREP
21526
21527 # A literal string matcher.
21528 FGREP=$lt_FGREP
21529
21530 # A BSD- or MS-compatible name lister.
21531 NM=$lt_NM
21532
21533 # Whether we need soft or hard links.
21534 LN_S=$lt_LN_S
21535
21536 # What is the maximum length of a command?
21537 max_cmd_len=$max_cmd_len
21538
21539 # Object file suffix (normally "o").
21540 objext=$ac_objext
21541
21542 # Executable file suffix (normally "").
21543 exeext=$exeext
21544
21545 # whether the shell understands "unset".
21546 lt_unset=$lt_unset
21547
21548 # turn spaces into newlines.
21549 SP2NL=$lt_lt_SP2NL
21550
21551 # turn newlines into spaces.
21552 NL2SP=$lt_lt_NL2SP
21553
21554 # convert \$build file names to \$host format.
21555 to_host_file_cmd=$lt_cv_to_host_file_cmd
21556
21557 # convert \$build files to toolchain format.
21558 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21559
21560 # An object symbol dumper.
21561 OBJDUMP=$lt_OBJDUMP
21562
21563 # Method to check whether dependent libraries are shared objects.
21564 deplibs_check_method=$lt_deplibs_check_method
21565
21566 # Command to use when deplibs_check_method = "file_magic".
21567 file_magic_cmd=$lt_file_magic_cmd
21568
21569 # How to find potential files when deplibs_check_method = "file_magic".
21570 file_magic_glob=$lt_file_magic_glob
21571
21572 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21573 want_nocaseglob=$lt_want_nocaseglob
21574
21575 # DLL creation program.
21576 DLLTOOL=$lt_DLLTOOL
21577
21578 # Command to associate shared and link libraries.
21579 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21580
21581 # The archiver.
21582 AR=$lt_AR
21583
21584 # Flags to create an archive.
21585 AR_FLAGS=$lt_AR_FLAGS
21586
21587 # How to feed a file listing to the archiver.
21588 archiver_list_spec=$lt_archiver_list_spec
21589
21590 # A symbol stripping program.
21591 STRIP=$lt_STRIP
21592
21593 # Commands used to install an old-style archive.
21594 RANLIB=$lt_RANLIB
21595 old_postinstall_cmds=$lt_old_postinstall_cmds
21596 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21597
21598 # Whether to use a lock for old archive extraction.
21599 lock_old_archive_extraction=$lock_old_archive_extraction
21600
21601 # A C compiler.
21602 LTCC=$lt_CC
21603
21604 # LTCC compiler flags.
21605 LTCFLAGS=$lt_CFLAGS
21606
21607 # Take the output of nm and produce a listing of raw symbols and C names.
21608 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21609
21610 # Transform the output of nm in a proper C declaration.
21611 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21612
21613 # Transform the output of nm into a list of symbols to manually relocate.
21614 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
21615
21616 # Transform the output of nm in a C name address pair.
21617 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21618
21619 # Transform the output of nm in a C name address pair when lib prefix is needed.
21620 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21621
21622 # The name lister interface.
21623 nm_interface=$lt_lt_cv_nm_interface
21624
21625 # Specify filename containing input files for \$NM.
21626 nm_file_list_spec=$lt_nm_file_list_spec
21627
21628 # The root where to search for dependent libraries,and where our libraries should be installed.
21629 lt_sysroot=$lt_sysroot
21630
21631 # Command to truncate a binary pipe.
21632 lt_truncate_bin=$lt_lt_cv_truncate_bin
21633
21634 # The name of the directory that contains temporary libtool files.
21635 objdir=$objdir
21636
21637 # Used to examine libraries when file_magic_cmd begins with "file".
21638 MAGIC_CMD=$MAGIC_CMD
21639
21640 # Must we lock files when doing compilation?
21641 need_locks=$lt_need_locks
21642
21643 # Manifest tool.
21644 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21645
21646 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21647 DSYMUTIL=$lt_DSYMUTIL
21648
21649 # Tool to change global to local symbols on Mac OS X.
21650 NMEDIT=$lt_NMEDIT
21651
21652 # Tool to manipulate fat objects and archives on Mac OS X.
21653 LIPO=$lt_LIPO
21654
21655 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21656 OTOOL=$lt_OTOOL
21657
21658 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21659 OTOOL64=$lt_OTOOL64
21660
21661 # Old archive suffix (normally "a").
21662 libext=$libext
21663
21664 # Shared library suffix (normally ".so").
21665 shrext_cmds=$lt_shrext_cmds
21666
21667 # The commands to extract the exported symbol list from a shared archive.
21668 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21669
21670 # Variables whose values should be saved in libtool wrapper scripts and
21671 # restored at link time.
21672 variables_saved_for_relink=$lt_variables_saved_for_relink
21673
21674 # Do we need the "lib" prefix for modules?
21675 need_lib_prefix=$need_lib_prefix
21676
21677 # Do we need a version for libraries?
21678 need_version=$need_version
21679
21680 # Library versioning type.
21681 version_type=$version_type
21682
21683 # Shared library runtime path variable.
21684 runpath_var=$runpath_var
21685
21686 # Shared library path variable.
21687 shlibpath_var=$shlibpath_var
21688
21689 # Is shlibpath searched before the hard-coded library search path?
21690 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21691
21692 # Format of library name prefix.
21693 libname_spec=$lt_libname_spec
21694
21695 # List of archive names. First name is the real one, the rest are links.
21696 # The last name is the one that the linker finds with -lNAME
21697 library_names_spec=$lt_library_names_spec
21698
21699 # The coded name of the library, if different from the real name.
21700 soname_spec=$lt_soname_spec
21701
21702 # Permission mode override for installation of shared libraries.
21703 install_override_mode=$lt_install_override_mode
21704
21705 # Command to use after installation of a shared archive.
21706 postinstall_cmds=$lt_postinstall_cmds
21707
21708 # Command to use after uninstallation of a shared archive.
21709 postuninstall_cmds=$lt_postuninstall_cmds
21710
21711 # Commands used to finish a libtool library installation in a directory.
21712 finish_cmds=$lt_finish_cmds
21713
21714 # As "finish_cmds", except a single script fragment to be evaled but
21715 # not shown.
21716 finish_eval=$lt_finish_eval
21717
21718 # Whether we should hardcode library paths into libraries.
21719 hardcode_into_libs=$hardcode_into_libs
21720
21721 # Compile-time system search path for libraries.
21722 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21723
21724 # Detected run-time system search path for libraries.
21725 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
21726
21727 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
21728 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
21729
21730 # Whether dlopen is supported.
21731 dlopen_support=$enable_dlopen
21732
21733 # Whether dlopen of programs is supported.
21734 dlopen_self=$enable_dlopen_self
21735
21736 # Whether dlopen of statically linked programs is supported.
21737 dlopen_self_static=$enable_dlopen_self_static
21738
21739 # Commands to strip libraries.
21740 old_striplib=$lt_old_striplib
21741 striplib=$lt_striplib
21742
21743
21744 # The linker used to build libraries.
21745 LD=$lt_LD
21746
21747 # How to create reloadable object files.
21748 reload_flag=$lt_reload_flag
21749 reload_cmds=$lt_reload_cmds
21750
21751 # Commands used to build an old-style archive.
21752 old_archive_cmds=$lt_old_archive_cmds
21753
21754 # A language specific compiler.
21755 CC=$lt_compiler
21756
21757 # Is the compiler the GNU compiler?
21758 with_gcc=$GCC
21759
21760 # Compiler flag to turn off builtin functions.
21761 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21762
21763 # Additional compiler flags for building library objects.
21764 pic_flag=$lt_lt_prog_compiler_pic
21765
21766 # How to pass a linker flag through the compiler.
21767 wl=$lt_lt_prog_compiler_wl
21768
21769 # Compiler flag to prevent dynamic linking.
21770 link_static_flag=$lt_lt_prog_compiler_static
21771
21772 # Does compiler simultaneously support -c and -o options?
21773 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21774
21775 # Whether or not to add -lc for building shared libraries.
21776 build_libtool_need_lc=$archive_cmds_need_lc
21777
21778 # Whether or not to disallow shared libs when runtime libs are static.
21779 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21780
21781 # Compiler flag to allow reflexive dlopens.
21782 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21783
21784 # Compiler flag to generate shared objects directly from archives.
21785 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21786
21787 # Whether the compiler copes with passing no objects directly.
21788 compiler_needs_object=$lt_compiler_needs_object
21789
21790 # Create an old-style archive from a shared archive.
21791 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21792
21793 # Create a temporary old-style archive to link instead of a shared archive.
21794 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21795
21796 # Commands used to build a shared archive.
21797 archive_cmds=$lt_archive_cmds
21798 archive_expsym_cmds=$lt_archive_expsym_cmds
21799
21800 # Commands used to build a loadable module if different from building
21801 # a shared archive.
21802 module_cmds=$lt_module_cmds
21803 module_expsym_cmds=$lt_module_expsym_cmds
21804
21805 # Whether we are building with GNU ld or not.
21806 with_gnu_ld=$lt_with_gnu_ld
21807
21808 # Flag that allows shared libraries with undefined symbols to be built.
21809 allow_undefined_flag=$lt_allow_undefined_flag
21810
21811 # Flag that enforces no undefined symbols.
21812 no_undefined_flag=$lt_no_undefined_flag
21813
21814 # Flag to hardcode \$libdir into a binary during linking.
21815 # This must work even if \$libdir does not exist
21816 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21817
21818 # Whether we need a single "-rpath" flag with a separated argument.
21819 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21820
21821 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
21822 # DIR into the resulting binary.
21823 hardcode_direct=$hardcode_direct
21824
21825 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
21826 # DIR into the resulting binary and the resulting library dependency is
21827 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
21828 # library is relocated.
21829 hardcode_direct_absolute=$hardcode_direct_absolute
21830
21831 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21832 # into the resulting binary.
21833 hardcode_minus_L=$hardcode_minus_L
21834
21835 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21836 # into the resulting binary.
21837 hardcode_shlibpath_var=$hardcode_shlibpath_var
21838
21839 # Set to "yes" if building a shared library automatically hardcodes DIR
21840 # into the library and all subsequent libraries and executables linked
21841 # against it.
21842 hardcode_automatic=$hardcode_automatic
21843
21844 # Set to yes if linker adds runtime paths of dependent libraries
21845 # to runtime path list.
21846 inherit_rpath=$inherit_rpath
21847
21848 # Whether libtool must link a program against all its dependency libraries.
21849 link_all_deplibs=$link_all_deplibs
21850
21851 # Set to "yes" if exported symbols are required.
21852 always_export_symbols=$always_export_symbols
21853
21854 # The commands to list exported symbols.
21855 export_symbols_cmds=$lt_export_symbols_cmds
21856
21857 # Symbols that should not be listed in the preloaded symbols.
21858 exclude_expsyms=$lt_exclude_expsyms
21859
21860 # Symbols that must always be exported.
21861 include_expsyms=$lt_include_expsyms
21862
21863 # Commands necessary for linking programs (against libraries) with templates.
21864 prelink_cmds=$lt_prelink_cmds
21865
21866 # Commands necessary for finishing linking programs.
21867 postlink_cmds=$lt_postlink_cmds
21868
21869 # Specify filename containing input files.
21870 file_list_spec=$lt_file_list_spec
21871
21872 # How to hardcode a shared library path into an executable.
21873 hardcode_action=$hardcode_action
21874
21875 # The directories searched by this compiler when creating a shared library.
21876 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21877
21878 # Dependencies to place before and after the objects being linked to
21879 # create a shared library.
21880 predep_objects=$lt_predep_objects
21881 postdep_objects=$lt_postdep_objects
21882 predeps=$lt_predeps
21883 postdeps=$lt_postdeps
21884
21885 # The library search path used internally by the compiler when linking
21886 # a shared library.
21887 compiler_lib_search_path=$lt_compiler_lib_search_path
21888
21889 # ### END LIBTOOL CONFIG
21890
21891 _LT_EOF
21892
21893 cat <<'_LT_EOF' >> "$cfgfile"
21894
21895 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
21896
21897 # func_munge_path_list VARIABLE PATH
21898 # -----------------------------------
21899 # VARIABLE is name of variable containing _space_ separated list of
21900 # directories to be munged by the contents of PATH, which is string
21901 # having a format:
21902 # "DIR[:DIR]:"
21903 # string "DIR[ DIR]" will be prepended to VARIABLE
21904 # ":DIR[:DIR]"
21905 # string "DIR[ DIR]" will be appended to VARIABLE
21906 # "DIRP[:DIRP]::[DIRA:]DIRA"
21907 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
21908 # "DIRA[ DIRA]" will be appended to VARIABLE
21909 # "DIR[:DIR]"
21910 # VARIABLE will be replaced by "DIR[ DIR]"
21911 func_munge_path_list ()
21912 {
21913 case x$2 in
21914 x)
21915 ;;
21916 *:)
21917 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
21918 ;;
21919 x:*)
21920 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
21921 ;;
21922 *::*)
21923 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
21924 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
21925 ;;
21926 *)
21927 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
21928 ;;
21929 esac
21930 }
21931
21932
21933 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
21934 func_cc_basename ()
21935 {
21936 for cc_temp in $*""; do
21937 case $cc_temp in
21938 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
21939 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
21940 \-*) ;;
21941 *) break;;
21942 esac
21943 done
21944 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
21945 }
21946
21947
21948 # ### END FUNCTIONS SHARED WITH CONFIGURE
21949
21950 _LT_EOF
21951
21952 case $host_os in
21953 aix3*)
21954 cat <<\_LT_EOF >> "$cfgfile"
21955 # AIX sometimes has problems with the GCC collect2 program. For some
21956 # reason, if we set the COLLECT_NAMES environment variable, the problems
21957 # vanish in a puff of smoke.
21958 if test set != "${COLLECT_NAMES+set}"; then
21959 COLLECT_NAMES=
21960 export COLLECT_NAMES
21961 fi
21962 _LT_EOF
21963 ;;
21964 esac
21965
21966
21967 ltmain=$ac_aux_dir/ltmain.sh
21968
21969
21970 # We use sed instead of cat because bash on DJGPP gets confused if
21971 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21972 # text mode, it properly converts lines to CR/LF. This bash problem
21973 # is reportedly fixed, but why not run on old versions too?
21974 sed '$q' "$ltmain" >> "$cfgfile" \
21975 || (rm -f "$cfgfile"; exit 1)
21976
21977 mv -f "$cfgfile" "$ofile" ||
21978 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21979 chmod +x "$ofile"
21980
21981
21982 cat <<_LT_EOF >> "$ofile"
21983
21984 # ### BEGIN LIBTOOL TAG CONFIG: CXX
21985
21986 # The linker used to build libraries.
21987 LD=$lt_LD_CXX
21988
21989 # How to create reloadable object files.
21990 reload_flag=$lt_reload_flag_CXX
21991 reload_cmds=$lt_reload_cmds_CXX
21992
21993 # Commands used to build an old-style archive.
21994 old_archive_cmds=$lt_old_archive_cmds_CXX
21995
21996 # A language specific compiler.
21997 CC=$lt_compiler_CXX
21998
21999 # Is the compiler the GNU compiler?
22000 with_gcc=$GCC_CXX
22001
22002 # Compiler flag to turn off builtin functions.
22003 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22004
22005 # Additional compiler flags for building library objects.
22006 pic_flag=$lt_lt_prog_compiler_pic_CXX
22007
22008 # How to pass a linker flag through the compiler.
22009 wl=$lt_lt_prog_compiler_wl_CXX
22010
22011 # Compiler flag to prevent dynamic linking.
22012 link_static_flag=$lt_lt_prog_compiler_static_CXX
22013
22014 # Does compiler simultaneously support -c and -o options?
22015 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22016
22017 # Whether or not to add -lc for building shared libraries.
22018 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22019
22020 # Whether or not to disallow shared libs when runtime libs are static.
22021 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22022
22023 # Compiler flag to allow reflexive dlopens.
22024 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22025
22026 # Compiler flag to generate shared objects directly from archives.
22027 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22028
22029 # Whether the compiler copes with passing no objects directly.
22030 compiler_needs_object=$lt_compiler_needs_object_CXX
22031
22032 # Create an old-style archive from a shared archive.
22033 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22034
22035 # Create a temporary old-style archive to link instead of a shared archive.
22036 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22037
22038 # Commands used to build a shared archive.
22039 archive_cmds=$lt_archive_cmds_CXX
22040 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22041
22042 # Commands used to build a loadable module if different from building
22043 # a shared archive.
22044 module_cmds=$lt_module_cmds_CXX
22045 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22046
22047 # Whether we are building with GNU ld or not.
22048 with_gnu_ld=$lt_with_gnu_ld_CXX
22049
22050 # Flag that allows shared libraries with undefined symbols to be built.
22051 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22052
22053 # Flag that enforces no undefined symbols.
22054 no_undefined_flag=$lt_no_undefined_flag_CXX
22055
22056 # Flag to hardcode \$libdir into a binary during linking.
22057 # This must work even if \$libdir does not exist
22058 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22059
22060 # Whether we need a single "-rpath" flag with a separated argument.
22061 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22062
22063 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22064 # DIR into the resulting binary.
22065 hardcode_direct=$hardcode_direct_CXX
22066
22067 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22068 # DIR into the resulting binary and the resulting library dependency is
22069 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
22070 # library is relocated.
22071 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22072
22073 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22074 # into the resulting binary.
22075 hardcode_minus_L=$hardcode_minus_L_CXX
22076
22077 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22078 # into the resulting binary.
22079 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22080
22081 # Set to "yes" if building a shared library automatically hardcodes DIR
22082 # into the library and all subsequent libraries and executables linked
22083 # against it.
22084 hardcode_automatic=$hardcode_automatic_CXX
22085
22086 # Set to yes if linker adds runtime paths of dependent libraries
22087 # to runtime path list.
22088 inherit_rpath=$inherit_rpath_CXX
22089
22090 # Whether libtool must link a program against all its dependency libraries.
22091 link_all_deplibs=$link_all_deplibs_CXX
22092
22093 # Set to "yes" if exported symbols are required.
22094 always_export_symbols=$always_export_symbols_CXX
22095
22096 # The commands to list exported symbols.
22097 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22098
22099 # Symbols that should not be listed in the preloaded symbols.
22100 exclude_expsyms=$lt_exclude_expsyms_CXX
22101
22102 # Symbols that must always be exported.
22103 include_expsyms=$lt_include_expsyms_CXX
22104
22105 # Commands necessary for linking programs (against libraries) with templates.
22106 prelink_cmds=$lt_prelink_cmds_CXX
22107
22108 # Commands necessary for finishing linking programs.
22109 postlink_cmds=$lt_postlink_cmds_CXX
22110
22111 # Specify filename containing input files.
22112 file_list_spec=$lt_file_list_spec_CXX
22113
22114 # How to hardcode a shared library path into an executable.
22115 hardcode_action=$hardcode_action_CXX
22116
22117 # The directories searched by this compiler when creating a shared library.
22118 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22119
22120 # Dependencies to place before and after the objects being linked to
22121 # create a shared library.
22122 predep_objects=$lt_predep_objects_CXX
22123 postdep_objects=$lt_postdep_objects_CXX
22124 predeps=$lt_predeps_CXX
22125 postdeps=$lt_postdeps_CXX
22126
22127 # The library search path used internally by the compiler when linking
22128 # a shared library.
22129 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22130
22131 # ### END LIBTOOL TAG CONFIG: CXX
22132 _LT_EOF
22133
22134 ;;
22135
22136 esac
22137 done # for ac_tag
22138
22139
22140 as_fn_exit 0
22141 _ACEOF
22142 ac_clean_files=$ac_clean_files_save
22143
22144 test $ac_write_fail = 0 ||
22145 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22146
22147
22148 # configure is writing to config.log, and then calls config.status.
22149 # config.status does its own redirection, appending to config.log.
22150 # Unfortunately, on DOS this fails, as config.log is still kept open
22151 # by configure, so config.status won't be able to write to it; its
22152 # output is simply discarded. So we exec the FD to /dev/null,
22153 # effectively closing config.log, so it can be properly (re)opened and
22154 # appended to by config.status. When coming back to configure, we
22155 # need to make the FD available again.
22156 if test "$no_create" != yes; then
22157 ac_cs_success=:
22158 ac_config_status_args=
22159 test "$silent" = yes &&
22160 ac_config_status_args="$ac_config_status_args --quiet"
22161 exec 5>/dev/null
22162 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22163 exec 5>>config.log
22164 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22165 # would make configure fail if this is the last instruction.
22166 $ac_cs_success || as_fn_exit 1
22167 fi
22168 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22170 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22171 fi
22172
33 # Process this file with autoconf to produce a configure script.
44
55 AC_PREREQ(2.59)
6 AC_INIT([dvisvgm],[2.10.1],[martin.gieseking@uos.de])
7 DATE="September 2020"
6 AC_INIT([dvisvgm],[2.11],[martin.gieseking@uos.de])
7 DATE="November 2020"
88 AC_CONFIG_SRCDIR(src)
99 AC_CONFIG_HEADERS([config.h])
1010 AC_CONFIG_MACRO_DIR([m4])
+0
-791
depcomp less more
0 #! /bin/sh
1 # depcomp - compile a program generating dependencies as side-effects
2
3 scriptversion=2018-03-07.03; # UTC
4
5 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
6
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2, or (at your option)
10 # any later version.
11
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16
17 # You should have received a copy of the GNU General Public License
18 # along with this program. If not, see <https://www.gnu.org/licenses/>.
19
20 # As a special exception to the GNU General Public License, if you
21 # distribute this file as part of a program that contains a
22 # configuration script generated by Autoconf, you may include it under
23 # the same distribution terms that you use for the rest of that program.
24
25 # Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
26
27 case $1 in
28 '')
29 echo "$0: No command. Try '$0 --help' for more information." 1>&2
30 exit 1;
31 ;;
32 -h | --h*)
33 cat <<\EOF
34 Usage: depcomp [--help] [--version] PROGRAM [ARGS]
35
36 Run PROGRAMS ARGS to compile a file, generating dependencies
37 as side-effects.
38
39 Environment variables:
40 depmode Dependency tracking mode.
41 source Source file read by 'PROGRAMS ARGS'.
42 object Object file output by 'PROGRAMS ARGS'.
43 DEPDIR directory where to store dependencies.
44 depfile Dependency file to output.
45 tmpdepfile Temporary file to use when outputting dependencies.
46 libtool Whether libtool is used (yes/no).
47
48 Report bugs to <bug-automake@gnu.org>.
49 EOF
50 exit $?
51 ;;
52 -v | --v*)
53 echo "depcomp $scriptversion"
54 exit $?
55 ;;
56 esac
57
58 # Get the directory component of the given path, and save it in the
59 # global variables '$dir'. Note that this directory component will
60 # be either empty or ending with a '/' character. This is deliberate.
61 set_dir_from ()
62 {
63 case $1 in
64 */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
65 *) dir=;;
66 esac
67 }
68
69 # Get the suffix-stripped basename of the given path, and save it the
70 # global variable '$base'.
71 set_base_from ()
72 {
73 base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'`
74 }
75
76 # If no dependency file was actually created by the compiler invocation,
77 # we still have to create a dummy depfile, to avoid errors with the
78 # Makefile "include basename.Plo" scheme.
79 make_dummy_depfile ()
80 {
81 echo "#dummy" > "$depfile"
82 }
83
84 # Factor out some common post-processing of the generated depfile.
85 # Requires the auxiliary global variable '$tmpdepfile' to be set.
86 aix_post_process_depfile ()
87 {
88 # If the compiler actually managed to produce a dependency file,
89 # post-process it.
90 if test -f "$tmpdepfile"; then
91 # Each line is of the form 'foo.o: dependency.h'.
92 # Do two passes, one to just change these to
93 # $object: dependency.h
94 # and one to simply output
95 # dependency.h:
96 # which is needed to avoid the deleted-header problem.
97 { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile"
98 sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile"
99 } > "$depfile"
100 rm -f "$tmpdepfile"
101 else
102 make_dummy_depfile
103 fi
104 }
105
106 # A tabulation character.
107 tab=' '
108 # A newline character.
109 nl='
110 '
111 # Character ranges might be problematic outside the C locale.
112 # These definitions help.
113 upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ
114 lower=abcdefghijklmnopqrstuvwxyz
115 digits=0123456789
116 alpha=${upper}${lower}
117
118 if test -z "$depmode" || test -z "$source" || test -z "$object"; then
119 echo "depcomp: Variables source, object and depmode must be set" 1>&2
120 exit 1
121 fi
122
123 # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
124 depfile=${depfile-`echo "$object" |
125 sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
126 tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
127
128 rm -f "$tmpdepfile"
129
130 # Avoid interferences from the environment.
131 gccflag= dashmflag=
132
133 # Some modes work just like other modes, but use different flags. We
134 # parameterize here, but still list the modes in the big case below,
135 # to make depend.m4 easier to write. Note that we *cannot* use a case
136 # here, because this file can only contain one case statement.
137 if test "$depmode" = hp; then
138 # HP compiler uses -M and no extra arg.
139 gccflag=-M
140 depmode=gcc
141 fi
142
143 if test "$depmode" = dashXmstdout; then
144 # This is just like dashmstdout with a different argument.
145 dashmflag=-xM
146 depmode=dashmstdout
147 fi
148
149 cygpath_u="cygpath -u -f -"
150 if test "$depmode" = msvcmsys; then
151 # This is just like msvisualcpp but w/o cygpath translation.
152 # Just convert the backslash-escaped backslashes to single forward
153 # slashes to satisfy depend.m4
154 cygpath_u='sed s,\\\\,/,g'
155 depmode=msvisualcpp
156 fi
157
158 if test "$depmode" = msvc7msys; then
159 # This is just like msvc7 but w/o cygpath translation.
160 # Just convert the backslash-escaped backslashes to single forward
161 # slashes to satisfy depend.m4
162 cygpath_u='sed s,\\\\,/,g'
163 depmode=msvc7
164 fi
165
166 if test "$depmode" = xlc; then
167 # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information.
168 gccflag=-qmakedep=gcc,-MF
169 depmode=gcc
170 fi
171
172 case "$depmode" in
173 gcc3)
174 ## gcc 3 implements dependency tracking that does exactly what
175 ## we want. Yay! Note: for some reason libtool 1.4 doesn't like
176 ## it if -MD -MP comes after the -MF stuff. Hmm.
177 ## Unfortunately, FreeBSD c89 acceptance of flags depends upon
178 ## the command line argument order; so add the flags where they
179 ## appear in depend2.am. Note that the slowdown incurred here
180 ## affects only configure: in makefiles, %FASTDEP% shortcuts this.
181 for arg
182 do
183 case $arg in
184 -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
185 *) set fnord "$@" "$arg" ;;
186 esac
187 shift # fnord
188 shift # $arg
189 done
190 "$@"
191 stat=$?
192 if test $stat -ne 0; then
193 rm -f "$tmpdepfile"
194 exit $stat
195 fi
196 mv "$tmpdepfile" "$depfile"
197 ;;
198
199 gcc)
200 ## Note that this doesn't just cater to obsosete pre-3.x GCC compilers.
201 ## but also to in-use compilers like IMB xlc/xlC and the HP C compiler.
202 ## (see the conditional assignment to $gccflag above).
203 ## There are various ways to get dependency output from gcc. Here's
204 ## why we pick this rather obscure method:
205 ## - Don't want to use -MD because we'd like the dependencies to end
206 ## up in a subdir. Having to rename by hand is ugly.
207 ## (We might end up doing this anyway to support other compilers.)
208 ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
209 ## -MM, not -M (despite what the docs say). Also, it might not be
210 ## supported by the other compilers which use the 'gcc' depmode.
211 ## - Using -M directly means running the compiler twice (even worse
212 ## than renaming).
213 if test -z "$gccflag"; then
214 gccflag=-MD,
215 fi
216 "$@" -Wp,"$gccflag$tmpdepfile"
217 stat=$?
218 if test $stat -ne 0; then
219 rm -f "$tmpdepfile"
220 exit $stat
221 fi
222 rm -f "$depfile"
223 echo "$object : \\" > "$depfile"
224 # The second -e expression handles DOS-style file names with drive
225 # letters.
226 sed -e 's/^[^:]*: / /' \
227 -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
228 ## This next piece of magic avoids the "deleted header file" problem.
229 ## The problem is that when a header file which appears in a .P file
230 ## is deleted, the dependency causes make to die (because there is
231 ## typically no way to rebuild the header). We avoid this by adding
232 ## dummy dependencies for each header file. Too bad gcc doesn't do
233 ## this for us directly.
234 ## Some versions of gcc put a space before the ':'. On the theory
235 ## that the space means something, we add a space to the output as
236 ## well. hp depmode also adds that space, but also prefixes the VPATH
237 ## to the object. Take care to not repeat it in the output.
238 ## Some versions of the HPUX 10.20 sed can't process this invocation
239 ## correctly. Breaking it into two sed invocations is a workaround.
240 tr ' ' "$nl" < "$tmpdepfile" \
241 | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
242 | sed -e 's/$/ :/' >> "$depfile"
243 rm -f "$tmpdepfile"
244 ;;
245
246 hp)
247 # This case exists only to let depend.m4 do its work. It works by
248 # looking at the text of this script. This case will never be run,
249 # since it is checked for above.
250 exit 1
251 ;;
252
253 sgi)
254 if test "$libtool" = yes; then
255 "$@" "-Wp,-MDupdate,$tmpdepfile"
256 else
257 "$@" -MDupdate "$tmpdepfile"
258 fi
259 stat=$?
260 if test $stat -ne 0; then
261 rm -f "$tmpdepfile"
262 exit $stat
263 fi
264 rm -f "$depfile"
265
266 if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
267 echo "$object : \\" > "$depfile"
268 # Clip off the initial element (the dependent). Don't try to be
269 # clever and replace this with sed code, as IRIX sed won't handle
270 # lines with more than a fixed number of characters (4096 in
271 # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
272 # the IRIX cc adds comments like '#:fec' to the end of the
273 # dependency line.
274 tr ' ' "$nl" < "$tmpdepfile" \
275 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \
276 | tr "$nl" ' ' >> "$depfile"
277 echo >> "$depfile"
278 # The second pass generates a dummy entry for each header file.
279 tr ' ' "$nl" < "$tmpdepfile" \
280 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
281 >> "$depfile"
282 else
283 make_dummy_depfile
284 fi
285 rm -f "$tmpdepfile"
286 ;;
287
288 xlc)
289 # This case exists only to let depend.m4 do its work. It works by
290 # looking at the text of this script. This case will never be run,
291 # since it is checked for above.
292 exit 1
293 ;;
294
295 aix)
296 # The C for AIX Compiler uses -M and outputs the dependencies
297 # in a .u file. In older versions, this file always lives in the
298 # current directory. Also, the AIX compiler puts '$object:' at the
299 # start of each line; $object doesn't have directory information.
300 # Version 6 uses the directory in both cases.
301 set_dir_from "$object"
302 set_base_from "$object"
303 if test "$libtool" = yes; then
304 tmpdepfile1=$dir$base.u
305 tmpdepfile2=$base.u
306 tmpdepfile3=$dir.libs/$base.u
307 "$@" -Wc,-M
308 else
309 tmpdepfile1=$dir$base.u
310 tmpdepfile2=$dir$base.u
311 tmpdepfile3=$dir$base.u
312 "$@" -M
313 fi
314 stat=$?
315 if test $stat -ne 0; then
316 rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
317 exit $stat
318 fi
319
320 for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
321 do
322 test -f "$tmpdepfile" && break
323 done
324 aix_post_process_depfile
325 ;;
326
327 tcc)
328 # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26
329 # FIXME: That version still under development at the moment of writing.
330 # Make that this statement remains true also for stable, released
331 # versions.
332 # It will wrap lines (doesn't matter whether long or short) with a
333 # trailing '\', as in:
334 #
335 # foo.o : \
336 # foo.c \
337 # foo.h \
338 #
339 # It will put a trailing '\' even on the last line, and will use leading
340 # spaces rather than leading tabs (at least since its commit 0394caf7
341 # "Emit spaces for -MD").
342 "$@" -MD -MF "$tmpdepfile"
343 stat=$?
344 if test $stat -ne 0; then
345 rm -f "$tmpdepfile"
346 exit $stat
347 fi
348 rm -f "$depfile"
349 # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'.
350 # We have to change lines of the first kind to '$object: \'.
351 sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile"
352 # And for each line of the second kind, we have to emit a 'dep.h:'
353 # dummy dependency, to avoid the deleted-header problem.
354 sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile"
355 rm -f "$tmpdepfile"
356 ;;
357
358 ## The order of this option in the case statement is important, since the
359 ## shell code in configure will try each of these formats in the order
360 ## listed in this file. A plain '-MD' option would be understood by many
361 ## compilers, so we must ensure this comes after the gcc and icc options.
362 pgcc)
363 # Portland's C compiler understands '-MD'.
364 # Will always output deps to 'file.d' where file is the root name of the
365 # source file under compilation, even if file resides in a subdirectory.
366 # The object file name does not affect the name of the '.d' file.
367 # pgcc 10.2 will output
368 # foo.o: sub/foo.c sub/foo.h
369 # and will wrap long lines using '\' :
370 # foo.o: sub/foo.c ... \
371 # sub/foo.h ... \
372 # ...
373 set_dir_from "$object"
374 # Use the source, not the object, to determine the base name, since
375 # that's sadly what pgcc will do too.
376 set_base_from "$source"
377 tmpdepfile=$base.d
378
379 # For projects that build the same source file twice into different object
380 # files, the pgcc approach of using the *source* file root name can cause
381 # problems in parallel builds. Use a locking strategy to avoid stomping on
382 # the same $tmpdepfile.
383 lockdir=$base.d-lock
384 trap "
385 echo '$0: caught signal, cleaning up...' >&2
386 rmdir '$lockdir'
387 exit 1
388 " 1 2 13 15
389 numtries=100
390 i=$numtries
391 while test $i -gt 0; do
392 # mkdir is a portable test-and-set.
393 if mkdir "$lockdir" 2>/dev/null; then
394 # This process acquired the lock.
395 "$@" -MD
396 stat=$?
397 # Release the lock.
398 rmdir "$lockdir"
399 break
400 else
401 # If the lock is being held by a different process, wait
402 # until the winning process is done or we timeout.
403 while test -d "$lockdir" && test $i -gt 0; do
404 sleep 1
405 i=`expr $i - 1`
406 done
407 fi
408 i=`expr $i - 1`
409 done
410 trap - 1 2 13 15
411 if test $i -le 0; then
412 echo "$0: failed to acquire lock after $numtries attempts" >&2
413 echo "$0: check lockdir '$lockdir'" >&2
414 exit 1
415 fi
416
417 if test $stat -ne 0; then
418 rm -f "$tmpdepfile"
419 exit $stat
420 fi
421 rm -f "$depfile"
422 # Each line is of the form `foo.o: dependent.h',
423 # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
424 # Do two passes, one to just change these to
425 # `$object: dependent.h' and one to simply `dependent.h:'.
426 sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
427 # Some versions of the HPUX 10.20 sed can't process this invocation
428 # correctly. Breaking it into two sed invocations is a workaround.
429 sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \
430 | sed -e 's/$/ :/' >> "$depfile"
431 rm -f "$tmpdepfile"
432 ;;
433
434 hp2)
435 # The "hp" stanza above does not work with aCC (C++) and HP's ia64
436 # compilers, which have integrated preprocessors. The correct option
437 # to use with these is +Maked; it writes dependencies to a file named
438 # 'foo.d', which lands next to the object file, wherever that
439 # happens to be.
440 # Much of this is similar to the tru64 case; see comments there.
441 set_dir_from "$object"
442 set_base_from "$object"
443 if test "$libtool" = yes; then
444 tmpdepfile1=$dir$base.d
445 tmpdepfile2=$dir.libs/$base.d
446 "$@" -Wc,+Maked
447 else
448 tmpdepfile1=$dir$base.d
449 tmpdepfile2=$dir$base.d
450 "$@" +Maked
451 fi
452 stat=$?
453 if test $stat -ne 0; then
454 rm -f "$tmpdepfile1" "$tmpdepfile2"
455 exit $stat
456 fi
457
458 for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
459 do
460 test -f "$tmpdepfile" && break
461 done
462 if test -f "$tmpdepfile"; then
463 sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile"
464 # Add 'dependent.h:' lines.
465 sed -ne '2,${
466 s/^ *//
467 s/ \\*$//
468 s/$/:/
469 p
470 }' "$tmpdepfile" >> "$depfile"
471 else
472 make_dummy_depfile
473 fi
474 rm -f "$tmpdepfile" "$tmpdepfile2"
475 ;;
476
477 tru64)
478 # The Tru64 compiler uses -MD to generate dependencies as a side
479 # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'.
480 # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
481 # dependencies in 'foo.d' instead, so we check for that too.
482 # Subdirectories are respected.
483 set_dir_from "$object"
484 set_base_from "$object"
485
486 if test "$libtool" = yes; then
487 # Libtool generates 2 separate objects for the 2 libraries. These
488 # two compilations output dependencies in $dir.libs/$base.o.d and
489 # in $dir$base.o.d. We have to check for both files, because
490 # one of the two compilations can be disabled. We should prefer
491 # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
492 # automatically cleaned when .libs/ is deleted, while ignoring
493 # the former would cause a distcleancheck panic.
494 tmpdepfile1=$dir$base.o.d # libtool 1.5
495 tmpdepfile2=$dir.libs/$base.o.d # Likewise.
496 tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504
497 "$@" -Wc,-MD
498 else
499 tmpdepfile1=$dir$base.d
500 tmpdepfile2=$dir$base.d
501 tmpdepfile3=$dir$base.d
502 "$@" -MD
503 fi
504
505 stat=$?
506 if test $stat -ne 0; then
507 rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
508 exit $stat
509 fi
510
511 for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
512 do
513 test -f "$tmpdepfile" && break
514 done
515 # Same post-processing that is required for AIX mode.
516 aix_post_process_depfile
517 ;;
518
519 msvc7)
520 if test "$libtool" = yes; then
521 showIncludes=-Wc,-showIncludes
522 else
523 showIncludes=-showIncludes
524 fi
525 "$@" $showIncludes > "$tmpdepfile"
526 stat=$?
527 grep -v '^Note: including file: ' "$tmpdepfile"
528 if test $stat -ne 0; then
529 rm -f "$tmpdepfile"
530 exit $stat
531 fi
532 rm -f "$depfile"
533 echo "$object : \\" > "$depfile"
534 # The first sed program below extracts the file names and escapes
535 # backslashes for cygpath. The second sed program outputs the file
536 # name when reading, but also accumulates all include files in the
537 # hold buffer in order to output them again at the end. This only
538 # works with sed implementations that can handle large buffers.
539 sed < "$tmpdepfile" -n '
540 /^Note: including file: *\(.*\)/ {
541 s//\1/
542 s/\\/\\\\/g
543 p
544 }' | $cygpath_u | sort -u | sed -n '
545 s/ /\\ /g
546 s/\(.*\)/'"$tab"'\1 \\/p
547 s/.\(.*\) \\/\1:/
548 H
549 $ {
550 s/.*/'"$tab"'/
551 G
552 p
553 }' >> "$depfile"
554 echo >> "$depfile" # make sure the fragment doesn't end with a backslash
555 rm -f "$tmpdepfile"
556 ;;
557
558 msvc7msys)
559 # This case exists only to let depend.m4 do its work. It works by
560 # looking at the text of this script. This case will never be run,
561 # since it is checked for above.
562 exit 1
563 ;;
564
565 #nosideeffect)
566 # This comment above is used by automake to tell side-effect
567 # dependency tracking mechanisms from slower ones.
568
569 dashmstdout)
570 # Important note: in order to support this mode, a compiler *must*
571 # always write the preprocessed file to stdout, regardless of -o.
572 "$@" || exit $?
573
574 # Remove the call to Libtool.
575 if test "$libtool" = yes; then
576 while test "X$1" != 'X--mode=compile'; do
577 shift
578 done
579 shift
580 fi
581
582 # Remove '-o $object'.
583 IFS=" "
584 for arg
585 do
586 case $arg in
587 -o)
588 shift
589 ;;
590 $object)
591 shift
592 ;;
593 *)
594 set fnord "$@" "$arg"
595 shift # fnord
596 shift # $arg
597 ;;
598 esac
599 done
600
601 test -z "$dashmflag" && dashmflag=-M
602 # Require at least two characters before searching for ':'
603 # in the target name. This is to cope with DOS-style filenames:
604 # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise.
605 "$@" $dashmflag |
606 sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile"
607 rm -f "$depfile"
608 cat < "$tmpdepfile" > "$depfile"
609 # Some versions of the HPUX 10.20 sed can't process this sed invocation
610 # correctly. Breaking it into two sed invocations is a workaround.
611 tr ' ' "$nl" < "$tmpdepfile" \
612 | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
613 | sed -e 's/$/ :/' >> "$depfile"
614 rm -f "$tmpdepfile"
615 ;;
616
617 dashXmstdout)
618 # This case only exists to satisfy depend.m4. It is never actually
619 # run, as this mode is specially recognized in the preamble.
620 exit 1
621 ;;
622
623 makedepend)
624 "$@" || exit $?
625 # Remove any Libtool call
626 if test "$libtool" = yes; then
627 while test "X$1" != 'X--mode=compile'; do
628 shift
629 done
630 shift
631 fi
632 # X makedepend
633 shift
634 cleared=no eat=no
635 for arg
636 do
637 case $cleared in
638 no)
639 set ""; shift
640 cleared=yes ;;
641 esac
642 if test $eat = yes; then
643 eat=no
644 continue
645 fi
646 case "$arg" in
647 -D*|-I*)
648 set fnord "$@" "$arg"; shift ;;
649 # Strip any option that makedepend may not understand. Remove
650 # the object too, otherwise makedepend will parse it as a source file.
651 -arch)
652 eat=yes ;;
653 -*|$object)
654 ;;
655 *)
656 set fnord "$@" "$arg"; shift ;;
657 esac
658 done
659 obj_suffix=`echo "$object" | sed 's/^.*\././'`
660 touch "$tmpdepfile"
661 ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
662 rm -f "$depfile"
663 # makedepend may prepend the VPATH from the source file name to the object.
664 # No need to regex-escape $object, excess matching of '.' is harmless.
665 sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
666 # Some versions of the HPUX 10.20 sed can't process the last invocation
667 # correctly. Breaking it into two sed invocations is a workaround.
668 sed '1,2d' "$tmpdepfile" \
669 | tr ' ' "$nl" \
670 | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
671 | sed -e 's/$/ :/' >> "$depfile"
672 rm -f "$tmpdepfile" "$tmpdepfile".bak
673 ;;
674
675 cpp)
676 # Important note: in order to support this mode, a compiler *must*
677 # always write the preprocessed file to stdout.
678 "$@" || exit $?
679
680 # Remove the call to Libtool.
681 if test "$libtool" = yes; then
682 while test "X$1" != 'X--mode=compile'; do
683 shift
684 done
685 shift
686 fi
687
688 # Remove '-o $object'.
689 IFS=" "
690 for arg
691 do
692 case $arg in
693 -o)
694 shift
695 ;;
696 $object)
697 shift
698 ;;
699 *)
700 set fnord "$@" "$arg"
701 shift # fnord
702 shift # $arg
703 ;;
704 esac
705 done
706
707 "$@" -E \
708 | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
709 -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
710 | sed '$ s: \\$::' > "$tmpdepfile"
711 rm -f "$depfile"
712 echo "$object : \\" > "$depfile"
713 cat < "$tmpdepfile" >> "$depfile"
714 sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
715 rm -f "$tmpdepfile"
716 ;;
717
718 msvisualcpp)
719 # Important note: in order to support this mode, a compiler *must*
720 # always write the preprocessed file to stdout.
721 "$@" || exit $?
722
723 # Remove the call to Libtool.
724 if test "$libtool" = yes; then
725 while test "X$1" != 'X--mode=compile'; do
726 shift
727 done
728 shift
729 fi
730
731 IFS=" "
732 for arg
733 do
734 case "$arg" in
735 -o)
736 shift
737 ;;
738 $object)
739 shift
740 ;;
741 "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
742 set fnord "$@"
743 shift
744 shift
745 ;;
746 *)
747 set fnord "$@" "$arg"
748 shift
749 shift
750 ;;
751 esac
752 done
753 "$@" -E 2>/dev/null |
754 sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
755 rm -f "$depfile"
756 echo "$object : \\" > "$depfile"
757 sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile"
758 echo "$tab" >> "$depfile"
759 sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
760 rm -f "$tmpdepfile"
761 ;;
762
763 msvcmsys)
764 # This case exists only to let depend.m4 do its work. It works by
765 # looking at the text of this script. This case will never be run,
766 # since it is checked for above.
767 exit 1
768 ;;
769
770 none)
771 exec "$@"
772 ;;
773
774 *)
775 echo "Unknown depmode $depmode" 1>&2
776 exit 1
777 ;;
778 esac
779
780 exit 0
781
782 # Local Variables:
783 # mode: shell-script
784 # sh-indentation: 2
785 # eval: (add-hook 'before-save-hook 'time-stamp)
786 # time-stamp-start: "scriptversion="
787 # time-stamp-format: "%:y-%02m-%02d.%02H"
788 # time-stamp-time-zone: "UTC0"
789 # time-stamp-end: "; # UTC"
790 # End:
+0
-658
doc/Makefile.in less more
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 # Don't try to install the manpage file if it can't be built due to missing utilities.
17 # However, the distribution tarball should always contain a recent manpage. We ensure
18 # this by adding a dist-hook rule below.
19 VPATH = @srcdir@
20 am__is_gnu_make = { \
21 if test -z '$(MAKELEVEL)'; then \
22 false; \
23 elif test -n '$(MAKE_HOST)'; then \
24 true; \
25 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
26 true; \
27 else \
28 false; \
29 fi; \
30 }
31 am__make_running_with_option = \
32 case $${target_option-} in \
33 ?) ;; \
34 *) echo "am__make_running_with_option: internal error: invalid" \
35 "target option '$${target_option-}' specified" >&2; \
36 exit 1;; \
37 esac; \
38 has_opt=no; \
39 sane_makeflags=$$MAKEFLAGS; \
40 if $(am__is_gnu_make); then \
41 sane_makeflags=$$MFLAGS; \
42 else \
43 case $$MAKEFLAGS in \
44 *\\[\ \ ]*) \
45 bs=\\; \
46 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
47 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
48 esac; \
49 fi; \
50 skip_next=no; \
51 strip_trailopt () \
52 { \
53 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
54 }; \
55 for flg in $$sane_makeflags; do \
56 test $$skip_next = yes && { skip_next=no; continue; }; \
57 case $$flg in \
58 *=*|--*) continue;; \
59 -*I) strip_trailopt 'I'; skip_next=yes;; \
60 -*I?*) strip_trailopt 'I';; \
61 -*O) strip_trailopt 'O'; skip_next=yes;; \
62 -*O?*) strip_trailopt 'O';; \
63 -*l) strip_trailopt 'l'; skip_next=yes;; \
64 -*l?*) strip_trailopt 'l';; \
65 -[dEDm]) skip_next=yes;; \
66 -[JT]) skip_next=yes;; \
67 esac; \
68 case $$flg in \
69 *$$target_option*) has_opt=yes; break;; \
70 esac; \
71 done; \
72 test $$has_opt = yes
73 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
74 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
75 pkgdatadir = $(datadir)/@PACKAGE@
76 pkgincludedir = $(includedir)/@PACKAGE@
77 pkglibdir = $(libdir)/@PACKAGE@
78 pkglibexecdir = $(libexecdir)/@PACKAGE@
79 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
80 install_sh_DATA = $(install_sh) -c -m 644
81 install_sh_PROGRAM = $(install_sh) -c
82 install_sh_SCRIPT = $(install_sh) -c
83 INSTALL_HEADER = $(INSTALL_DATA)
84 transform = $(program_transform_name)
85 NORMAL_INSTALL = :
86 PRE_INSTALL = :
87 POST_INSTALL = :
88 NORMAL_UNINSTALL = :
89 PRE_UNINSTALL = :
90 POST_UNINSTALL = :
91 build_triplet = @build@
92 host_triplet = @host@
93 target_triplet = @target@
94 subdir = doc
95 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
96 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
97 $(top_srcdir)/m4/ax_code_coverage.m4 \
98 $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \
99 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
100 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
101 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
102 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
103 $(ACLOCAL_M4)
104 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
105 mkinstalldirs = $(install_sh) -d
106 CONFIG_HEADER = $(top_builddir)/config.h
107 CONFIG_CLEAN_FILES =
108 CONFIG_CLEAN_VPATH_FILES =
109 AM_V_P = $(am__v_P_@AM_V@)
110 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
111 am__v_P_0 = false
112 am__v_P_1 = :
113 AM_V_GEN = $(am__v_GEN_@AM_V@)
114 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
115 am__v_GEN_0 = @echo " GEN " $@;
116 am__v_GEN_1 =
117 AM_V_at = $(am__v_at_@AM_V@)
118 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
119 am__v_at_0 = @
120 am__v_at_1 =
121 SOURCES =
122 DIST_SOURCES =
123 am__can_run_installinfo = \
124 case $$AM_UPDATE_INFO_DIR in \
125 n|no|NO) false;; \
126 *) (install-info --version) >/dev/null 2>&1;; \
127 esac
128 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
129 am__vpath_adj = case $$p in \
130 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
131 *) f=$$p;; \
132 esac;
133 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
134 am__install_max = 40
135 am__nobase_strip_setup = \
136 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
137 am__nobase_strip = \
138 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
139 am__nobase_list = $(am__nobase_strip_setup); \
140 for p in $$list; do echo "$$p $$p"; done | \
141 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
142 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
143 if (++n[$$2] == $(am__install_max)) \
144 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
145 END { for (dir in files) print dir, files[dir] }'
146 am__base_list = \
147 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
148 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
149 am__uninstall_files_from_dir = { \
150 test -z "$$files" \
151 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
152 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
153 $(am__cd) "$$dir" && rm -f $$files; }; \
154 }
155 man1dir = $(mandir)/man1
156 am__installdirs = "$(DESTDIR)$(man1dir)"
157 NROFF = nroff
158 MANS = $(man_MANS)
159 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
160 am__DIST_COMMON = $(srcdir)/Makefile.in
161 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
162 ACLOCAL = @ACLOCAL@
163 AMTAR = @AMTAR@
164 AM_CPPFLAGS = @AM_CPPFLAGS@
165 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
166 AM_LDFLAGS = @AM_LDFLAGS@
167 AR = @AR@
168 ASCIIDOC = @ASCIIDOC@
169 AUTOCONF = @AUTOCONF@
170 AUTOHEADER = @AUTOHEADER@
171 AUTOMAKE = @AUTOMAKE@
172 AWK = @AWK@
173 BROTLI_CFLAGS = @BROTLI_CFLAGS@
174 BROTLI_LIBS = @BROTLI_LIBS@
175 CC = @CC@
176 CCDEPMODE = @CCDEPMODE@
177 CFLAGS = @CFLAGS@
178 CODE_COVERAGE_CFLAGS = @CODE_COVERAGE_CFLAGS@
179 CODE_COVERAGE_CPPFLAGS = @CODE_COVERAGE_CPPFLAGS@
180 CODE_COVERAGE_CXXFLAGS = @CODE_COVERAGE_CXXFLAGS@
181 CODE_COVERAGE_ENABLED = @CODE_COVERAGE_ENABLED@
182 CODE_COVERAGE_LDFLAGS = @CODE_COVERAGE_LDFLAGS@
183 CODE_COVERAGE_LIBS = @CODE_COVERAGE_LIBS@
184 CPP = @CPP@
185 CPPFLAGS = @CPPFLAGS@
186 CXX = @CXX@
187 CXXCPP = @CXXCPP@
188 CXXDEPMODE = @CXXDEPMODE@
189 CXXFLAGS = @CXXFLAGS@
190 CYGPATH_W = @CYGPATH_W@
191 DATE = @DATE@
192 DEFS = @DEFS@
193 DEPDIR = @DEPDIR@
194 DLLTOOL = @DLLTOOL@
195 DSYMUTIL = @DSYMUTIL@
196 DUMPBIN = @DUMPBIN@
197 ECHO_C = @ECHO_C@
198 ECHO_N = @ECHO_N@
199 ECHO_T = @ECHO_T@
200 EGREP = @EGREP@
201 EXEEXT = @EXEEXT@
202 FGREP = @FGREP@
203 FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
204 FREETYPE_LIBS = @FREETYPE_LIBS@
205 GCOV = @GCOV@
206 GENHTML = @GENHTML@
207 GREP = @GREP@
208 HAVE_CXX11 = @HAVE_CXX11@
209 INSTALL = @INSTALL@
210 INSTALL_DATA = @INSTALL_DATA@
211 INSTALL_PROGRAM = @INSTALL_PROGRAM@
212 INSTALL_SCRIPT = @INSTALL_SCRIPT@
213 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
214 KPSE_CFLAGS = @KPSE_CFLAGS@
215 KPSE_LIBS = @KPSE_LIBS@
216 LCOV = @LCOV@
217 LD = @LD@
218 LDFLAGS = @LDFLAGS@
219 LIBCRYPTO_CFLAGS = @LIBCRYPTO_CFLAGS@
220 LIBCRYPTO_LIBS = @LIBCRYPTO_LIBS@
221 LIBOBJS = @LIBOBJS@
222 LIBS = @LIBS@
223 LIBTOOL = @LIBTOOL@
224 LIPO = @LIPO@
225 LN_S = @LN_S@
226 LTLIBOBJS = @LTLIBOBJS@
227 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
228 MAKEINFO = @MAKEINFO@
229 MANIFEST_TOOL = @MANIFEST_TOOL@
230 MKDIR_P = @MKDIR_P@
231 NM = @NM@
232 NMEDIT = @NMEDIT@
233 OBJDUMP = @OBJDUMP@
234 OBJEXT = @OBJEXT@
235 OTOOL = @OTOOL@
236 OTOOL64 = @OTOOL64@
237 PACKAGE = @PACKAGE@
238 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
239 PACKAGE_NAME = @PACKAGE_NAME@
240 PACKAGE_STRING = @PACKAGE_STRING@
241 PACKAGE_TARNAME = @PACKAGE_TARNAME@
242 PACKAGE_URL = @PACKAGE_URL@
243 PACKAGE_VERSION = @PACKAGE_VERSION@
244 PATH_SEPARATOR = @PATH_SEPARATOR@
245 PKG_CONFIG = @PKG_CONFIG@
246 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
247 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
248 RANLIB = @RANLIB@
249 SED = @SED@
250 SET_MAKE = @SET_MAKE@
251 SHELL = @SHELL@
252 STRIP = @STRIP@
253 TTFAUTOHINT_CFLAGS = @TTFAUTOHINT_CFLAGS@
254 TTFAUTOHINT_LIBS = @TTFAUTOHINT_LIBS@
255 VERSION = @VERSION@
256 WOFF2_CFLAGS = @WOFF2_CFLAGS@
257 WOFF2_LIBS = @WOFF2_LIBS@
258 XMLTO = @XMLTO@
259 XSLTPROC = @XSLTPROC@
260 ZLIB_CFLAGS = @ZLIB_CFLAGS@
261 ZLIB_LIBS = @ZLIB_LIBS@
262 abs_builddir = @abs_builddir@
263 abs_srcdir = @abs_srcdir@
264 abs_top_builddir = @abs_top_builddir@
265 abs_top_srcdir = @abs_top_srcdir@
266 ac_ct_AR = @ac_ct_AR@
267 ac_ct_CC = @ac_ct_CC@
268 ac_ct_CXX = @ac_ct_CXX@
269 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
270 am__include = @am__include@
271 am__leading_dot = @am__leading_dot@
272 am__quote = @am__quote@
273 am__tar = @am__tar@
274 am__untar = @am__untar@
275 bindir = @bindir@
276 build = @build@
277 build_alias = @build_alias@
278 build_cpu = @build_cpu@
279 build_os = @build_os@
280 build_vendor = @build_vendor@
281 builddir = @builddir@
282 datadir = @datadir@
283 datarootdir = @datarootdir@
284 docdir = @docdir@
285 dvidir = @dvidir@
286 dvisvgm_srcdir = @dvisvgm_srcdir@
287 exec_prefix = @exec_prefix@
288 host = @host@
289 host_alias = @host_alias@
290 host_cpu = @host_cpu@
291 host_os = @host_os@
292 host_vendor = @host_vendor@
293 htmldir = @htmldir@
294 includedir = @includedir@
295 infodir = @infodir@
296 install_sh = @install_sh@
297 libdir = @libdir@
298 libexecdir = @libexecdir@
299 localedir = @localedir@
300 localstatedir = @localstatedir@
301 mandir = @mandir@
302 mkdir_p = @mkdir_p@
303 oldincludedir = @oldincludedir@
304 pdfdir = @pdfdir@
305 prefix = @prefix@
306 program_transform_name = @program_transform_name@
307 psdir = @psdir@
308 sbindir = @sbindir@
309 sharedstatedir = @sharedstatedir@
310 srcdir = @srcdir@
311 sysconfdir = @sysconfdir@
312 target = @target@
313 target_alias = @target_alias@
314 target_cpu = @target_cpu@
315 target_os = @target_os@
316 target_vendor = @target_vendor@
317 top_build_prefix = @top_build_prefix@
318 top_builddir = @top_builddir@
319 top_srcdir = @top_srcdir@
320 man_MANS = dvisvgm.1
321 EXTRA_DIST = $(man_MANS) \
322 conf-dblatex-man.xsl \
323 conf-dblatex-pdf.xsl \
324 dvisvgm.txt.in \
325 generate-dvisvgm-sty.xsl \
326 tweak-dblatex-pdf.xsl \
327 tweak-dblatex-tex.py \
328 tweak-db-refentry.xsl
329
330 @BUILD_MANPAGE_TRUE@CONF_DBLATEX_MAN = $(dvisvgm_srcdir)/doc/conf-dblatex-man.xsl
331 @BUILD_MANPAGE_TRUE@CONF_DBLATEX_PDF = $(dvisvgm_srcdir)/doc/conf-dblatex-pdf.xsl
332 @BUILD_MANPAGE_TRUE@TWEAK_DBLATEX_PDF = $(dvisvgm_srcdir)/doc/tweak-dblatex-pdf.xsl
333 @BUILD_MANPAGE_TRUE@TWEAK_DBLATEX_TEX = $(dvisvgm_srcdir)/doc/tweak-dblatex-tex.py
334 @BUILD_MANPAGE_TRUE@TWEAK_DB_ARTICLE = $(dvisvgm_srcdir)/doc/tweak-db-article.xsl
335 @BUILD_MANPAGE_TRUE@TWEAK_DB_REFENTRY = $(dvisvgm_srcdir)/doc/tweak-db-refentry.xsl
336 @BUILD_MANPAGE_TRUE@GEN_DBLATEX_STY = $(dvisvgm_srcdir)/doc/generate-dvisvgm-sty.xsl
337 @BUILD_MANPAGE_TRUE@DB_VARS = man.endnotes.list.enabled=0 man.endnotes.are.numbered=0 man.authors.section.enabled=0
338 all: all-am
339
340 .SUFFIXES:
341 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
342 @for dep in $?; do \
343 case '$(am__configure_deps)' in \
344 *$$dep*) \
345 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
346 && { if test -f $@; then exit 0; else break; fi; }; \
347 exit 1;; \
348 esac; \
349 done; \
350 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile'; \
351 $(am__cd) $(top_srcdir) && \
352 $(AUTOMAKE) --foreign doc/Makefile
353 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
354 @case '$?' in \
355 *config.status*) \
356 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
357 *) \
358 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
359 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
360 esac;
361
362 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
363 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
364
365 $(top_srcdir)/configure: $(am__configure_deps)
366 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
367 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
368 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
369 $(am__aclocal_m4_deps):
370
371 mostlyclean-libtool:
372 -rm -f *.lo
373
374 clean-libtool:
375 -rm -rf .libs _libs
376 install-man1: $(man_MANS)
377 @$(NORMAL_INSTALL)
378 @list1=''; \
379 list2='$(man_MANS)'; \
380 test -n "$(man1dir)" \
381 && test -n "`echo $$list1$$list2`" \
382 || exit 0; \
383 echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
384 $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
385 { for i in $$list1; do echo "$$i"; done; \
386 if test -n "$$list2"; then \
387 for i in $$list2; do echo "$$i"; done \
388 | sed -n '/\.1[a-z]*$$/p'; \
389 fi; \
390 } | while read p; do \
391 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
392 echo "$$d$$p"; echo "$$p"; \
393 done | \
394 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
395 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
396 sed 'N;N;s,\n, ,g' | { \
397 list=; while read file base inst; do \
398 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
399 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
400 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
401 fi; \
402 done; \
403 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
404 while read files; do \
405 test -z "$$files" || { \
406 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
407 $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
408 done; }
409
410 uninstall-man1:
411 @$(NORMAL_UNINSTALL)
412 @list=''; test -n "$(man1dir)" || exit 0; \
413 files=`{ for i in $$list; do echo "$$i"; done; \
414 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
415 sed -n '/\.1[a-z]*$$/p'; \
416 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
417 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
418 dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
419 tags TAGS:
420
421 ctags CTAGS:
422
423 cscope cscopelist:
424
425 @BUILD_MANPAGE_TRUE@dist-hook:
426
427 distdir: $(BUILT_SOURCES)
428 $(MAKE) $(AM_MAKEFLAGS) distdir-am
429
430 distdir-am: $(DISTFILES)
431 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
432 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
433 list='$(DISTFILES)'; \
434 dist_files=`for file in $$list; do echo $$file; done | \
435 sed -e "s|^$$srcdirstrip/||;t" \
436 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
437 case $$dist_files in \
438 */*) $(MKDIR_P) `echo "$$dist_files" | \
439 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
440 sort -u` ;; \
441 esac; \
442 for file in $$dist_files; do \
443 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
444 if test -d $$d/$$file; then \
445 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
446 if test -d "$(distdir)/$$file"; then \
447 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
448 fi; \
449 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
450 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
451 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
452 fi; \
453 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
454 else \
455 test -f "$(distdir)/$$file" \
456 || cp -p $$d/$$file "$(distdir)/$$file" \
457 || exit 1; \
458 fi; \
459 done
460 $(MAKE) $(AM_MAKEFLAGS) \
461 top_distdir="$(top_distdir)" distdir="$(distdir)" \
462 dist-hook
463 check-am: all-am
464 check: check-am
465 all-am: Makefile $(MANS)
466 installdirs:
467 for dir in "$(DESTDIR)$(man1dir)"; do \
468 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
469 done
470 install: install-am
471 install-exec: install-exec-am
472 install-data: install-data-am
473 uninstall: uninstall-am
474
475 install-am: all-am
476 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
477
478 installcheck: installcheck-am
479 install-strip:
480 if test -z '$(STRIP)'; then \
481 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
482 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
483 install; \
484 else \
485 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
486 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
487 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
488 fi
489 mostlyclean-generic:
490
491 clean-generic:
492
493 distclean-generic:
494 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
495 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
496
497 maintainer-clean-generic:
498 @echo "This command is intended for maintainers to use"
499 @echo "it deletes files that may require special tools to rebuild."
500 clean-am: clean-generic clean-libtool mostlyclean-am
501
502 distclean: distclean-am
503 -rm -f Makefile
504 distclean-am: clean-am distclean-generic distclean-local
505
506 dvi: dvi-am
507
508 dvi-am:
509
510 @BUILD_MANPAGE_FALSE@html: html-am
511
512 html-am:
513
514 info: info-am
515
516 info-am:
517
518 install-data-am: install-man
519
520 install-dvi: install-dvi-am
521
522 install-dvi-am:
523
524 install-exec-am:
525
526 install-html: install-html-am
527
528 install-html-am:
529
530 install-info: install-info-am
531
532 install-info-am:
533
534 install-man: install-man1
535
536 install-pdf: install-pdf-am
537
538 install-pdf-am:
539
540 install-ps: install-ps-am
541
542 install-ps-am:
543
544 installcheck-am:
545
546 maintainer-clean: maintainer-clean-am
547 -rm -f Makefile
548 maintainer-clean-am: distclean-am maintainer-clean-generic
549
550 mostlyclean: mostlyclean-am
551
552 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
553
554 @BUILD_MANPAGE_FALSE@pdf: pdf-am
555
556 pdf-am:
557
558 ps: ps-am
559
560 ps-am:
561
562 uninstall-am: uninstall-man
563
564 uninstall-man: uninstall-man1
565
566 .MAKE: install-am install-strip
567
568 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
569 cscopelist-am ctags-am dist-hook distclean distclean-generic \
570 distclean-libtool distclean-local distdir dvi dvi-am html \
571 html-am info info-am install install-am install-data \
572 install-data-am install-dvi install-dvi-am install-exec \
573 install-exec-am install-html install-html-am install-info \
574 install-info-am install-man install-man1 install-pdf \
575 install-pdf-am install-ps install-ps-am install-strip \
576 installcheck installcheck-am installdirs maintainer-clean \
577 maintainer-clean-generic mostlyclean mostlyclean-generic \
578 mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
579 uninstall-am uninstall-man uninstall-man1
580
581 .PRECIOUS: Makefile
582
583
584 @BUILD_MANPAGE_TRUE@dvisvgm.1: dvisvgm-man.xml $(CONF_DBLATEX_MAN)
585 @BUILD_MANPAGE_TRUE@ xmlto -m $(CONF_DBLATEX_MAN) $(addprefix --stringparam , $(DB_VARS)) man $<
586
587 @BUILD_MANPAGE_TRUE@dvisvgm.pdf: dvisvgm-man.xml dvisvgm.sty $(CONF_DBLATEX_PDF) $(TWEAK_DBLATEX_PDF) $(TWEAK_DBLATEX_TEX)
588 @BUILD_MANPAGE_TRUE@ mv $< $<.tmp
589 @BUILD_MANPAGE_TRUE@ xsltproc -o $< $(TWEAK_DBLATEX_PDF) $<.tmp
590 @BUILD_MANPAGE_TRUE@ dblatex -bxetex --texstyle=./dvisvgm.sty -p $(CONF_DBLATEX_PDF) -r plugin:$(basename $(TWEAK_DBLATEX_TEX)) $<
591 @BUILD_MANPAGE_TRUE@ mv $<.tmp $<
592 @BUILD_MANPAGE_TRUE@ mv $(basename $<).pdf $@
593
594 @BUILD_MANPAGE_TRUE@dvi-pdf: dvisvgm.dvi
595 @BUILD_MANPAGE_TRUE@ dvipdfm $<
596 @BUILD_MANPAGE_TRUE@ rm -f $<
597
598 @BUILD_MANPAGE_TRUE@dvisvgm.dvi: dvisvgm.1
599 @BUILD_MANPAGE_TRUE@ groff -Tdvi -mandoc ./$< >$@
600
601 @BUILD_MANPAGE_TRUE@dvisvgm.html: dvisvgm-man.xml db2html.xsl
602 @BUILD_MANPAGE_TRUE@ xsltproc -o $@ db2html.xsl $<
603
604 @BUILD_MANPAGE_TRUE@dvisvgm.md: dvisvgm-man.xml db2md.xsl
605 @BUILD_MANPAGE_TRUE@ xsltproc -o $@ db2md.xsl $<
606
607 @BUILD_MANPAGE_TRUE@dvisvgm.epub: dvisvgm-article.xml
608 @BUILD_MANPAGE_TRUE@ a2x -darticle -fepub -L --icons --icons-dir=. $<
609 @BUILD_MANPAGE_TRUE@ mv $(basename $<).epub $@
610
611 @BUILD_MANPAGE_TRUE@.SECONDARY: dvisvgm-article.xml dvisvgm-man.xml dvisvgm.sty
612
613 @BUILD_MANPAGE_TRUE@dvisvgm-man.xml: dvisvgm.txt $(TWEAK_DB_REFENTRY)
614 @BUILD_MANPAGE_TRUE@ asciidoc -a icons -a 'iconsdir=.' -a badges -a 'revnumber=@VERSION@' --unsafe -bdocbook -dmanpage -o $@.tmp $<
615 @BUILD_MANPAGE_TRUE@ xsltproc -o $@ $(TWEAK_DB_REFENTRY) $@.tmp
616 @BUILD_MANPAGE_TRUE@ rm $@.tmp
617
618 @BUILD_MANPAGE_TRUE@dvisvgm-article.xml: dvisvgm.txt $(TWEAK_DB_ARTICLE)
619 @BUILD_MANPAGE_TRUE@ asciidoc -a icons -a 'iconsdir=.' -a badges -a 'revnumber=@VERSION@' --unsafe -bdocbook -darticle -o $@.tmp $<
620 @BUILD_MANPAGE_TRUE@ xsltproc -o $@ $(TWEAK_DB_ARTICLE) $@.tmp
621 @BUILD_MANPAGE_TRUE@ rm $@.tmp
622 @BUILD_MANPAGE_TRUE@ sed -i "s/{VERSION}/@VERSION@/" $@
623
624 @BUILD_MANPAGE_TRUE@dvisvgm.sty: dvisvgm-man.xml $(GEN_DBLATEX_STY)
625 @BUILD_MANPAGE_TRUE@ xsltproc -o dvisvgm.sty $(GEN_DBLATEX_STY) $<
626
627 @BUILD_MANPAGE_TRUE@dvisvgm.txt: dvisvgm.txt.in ../configure.ac
628 @BUILD_MANPAGE_TRUE@ sed -e 's/@VERSION[@]/@VERSION@/g' -e 's/@PACKAGE_BUGREPORT[@]/@PACKAGE_BUGREPORT@/g' $< >$@
629 @BUILD_MANPAGE_TRUE@ if [ $< -nt ../configure.ac ]; \
630 @BUILD_MANPAGE_TRUE@ then touch -r $< $@; \
631 @BUILD_MANPAGE_TRUE@ else touch -r ../configure.ac $@; \
632 @BUILD_MANPAGE_TRUE@ fi
633
634 @BUILD_MANPAGE_TRUE@epub: dvisvgm.epub
635 @BUILD_MANPAGE_TRUE@html: dvisvgm.html
636 @BUILD_MANPAGE_TRUE@man: dvisvgm.1
637 @BUILD_MANPAGE_TRUE@md: dvisvgm.md
638 @BUILD_MANPAGE_TRUE@pdf: dvisvgm.pdf
639
640 clean:
641 rm -f dvisvgm.pdf dvisvgm.html dvisvgm.md dvisvgm-man.xml dvisvgm-article.xml dvisvgm.txt dvisvgm.sty dvisvgm.dvi dvisvgm.epub
642
643 distclean-local:
644 rm -f dvisvgm.pdf dvisvgm.html dvisvgm.md dvisvgm-man.xml dvisvgm-article.xml dvisvgm.txt dvisvgm.sty dvisvgm.dvi dvisvgm.epub dvisvgm.1
645
646 # Ensure that distribution tarballs always contain a recent manpage, i.e.
647 # let "make dist" and "make distcheck" fail if dvisvgm.1 can't be built.
648 @BUILD_MANPAGE_FALSE@dist-hook:
649 @BUILD_MANPAGE_FALSE@ @echo "----------------------------------------------------------------"; \
650 @BUILD_MANPAGE_FALSE@ echo "manpage file dvisvgm.1 could not be built because one or more of"; \
651 @BUILD_MANPAGE_FALSE@ echo "the following utilities are missing: asciidoc, xmlto, xsltproc "; \
652 @BUILD_MANPAGE_FALSE@ echo "----------------------------------------------------------------"; \
653 @BUILD_MANPAGE_FALSE@ false;
654
655 # Tell versions [3.59,3.63) of GNU make to not export all variables.
656 # Otherwise a system limit (for SysV at least) may be exceeded.
657 .NOEXPORT:
Binary diff not shown
0 <?xml version="1.0" encoding="UTF-8"?>
1 <!-- This file is part of dvisvgm -->
2 <!-- Copyright (C) 2015-2020 Martin Gieseking <martin.gieseking@uos.de> -->
3 <xsl:stylesheet version="1.0"
4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5 xmlns:exsl="http://exslt.org/common"
6 xmlns:func="http://exslt.org/functions"
7 xmlns:my="my-namespace"
8 extension-element-prefixes="exsl func">
9
10 <xsl:output method="html"/>
11 <xsl:strip-space elements="*"/>
12 <xsl:preserve-space elements="term"/>
13
14 <xsl:template match="/">
15 <html>
16 <head>
17 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8"/>
18 <link rel="stylesheet" href="dvisvgm.css"/>
19 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"/>
20 <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"/>
21 </head>
22 <body>
23 <xsl:apply-templates/>
24 <hr/>
25 <div class="row">
26 <div class="col-md-6">
27 <xsl:text>Version </xsl:text>
28 <xsl:value-of select="*/refmeta/refmiscinfo[@class='version']"/>
29 </div>
30 <div class="col-md-6">
31 <span class="pull-right" style="padding-bottom:1em">
32 <xsl:text>Last updated: </xsl:text>
33 <xsl:value-of select="*/refmeta/refmiscinfo[@class='date']"/>
34 </span>
35 </div>
36 </div>
37 </body>
38 </html>
39 </xsl:template>
40
41 <xsl:template match="refnamediv">
42 <section id="_name">
43 <h2 style="display:inline"><i class="fa fa-tag fa-fw"/> Name</h2>
44 <div class="rfloat frame">
45 <a href="{refname}.epub"><i class="fa fa-book"/> EPUB version</a>
46 </div>
47 <div class="rfloat frame">
48 <a href="{refname}.pdf"><i class="fa fa-file-pdf-o"/> PDF version</a>
49 </div>
50 <div class="sectionbody">
51 <xsl:value-of select="concat(refname, ' &#8211; ', refpurpose)"/>
52 </div>
53 </section>
54 </xsl:template>
55
56 <xsl:template match="refsynopsisdiv">
57 <xsl:if test="@id">
58 <span class="linktarget" id="{@id}"/>
59 </xsl:if>
60 <section>
61 <h2><i class="fa fa-terminal fa-fw"/> Synopsis</h2>
62 <div class="sectionbody">
63 <xsl:apply-templates/>
64 </div>
65 </section>
66 </xsl:template>
67
68 <xsl:template match="refsect1">
69 <xsl:if test="@id">
70 <span class="linktarget" id="{@id}"/>
71 </xsl:if>
72 <section>
73 <h2>
74 <xsl:copy-of select="my:add-section-icon(title)"/>
75 </h2>
76 <div class="sectionbody">
77 <xsl:apply-templates/>
78 </div>
79 </section>
80 </xsl:template>
81
82 <xsl:template match="variablelist">
83 <dl>
84 <xsl:apply-templates/>
85 </dl>
86 </xsl:template>
87
88 <xsl:template match="varlistentry">
89 <xsl:variable name="id">
90 <xsl:choose>
91 <xsl:when test="substring-after(term/emphasis, '--')">
92 <xsl:value-of select="concat('opt-', substring-after(term/emphasis, '--'))"/>
93 </xsl:when>
94 <xsl:when test="term/emphasis">
95 <xsl:if test="ancestor::refsect1/@id[not(starts-with(., '_'))]">
96 <xsl:value-of select="concat(ancestor::refsect1/@id, '-')"/>
97 </xsl:if>
98 <xsl:value-of select="term/emphasis"/>
99 </xsl:when>
100 </xsl:choose>
101 </xsl:variable>
102 <xsl:if test="normalize-space($id)">
103 <a name="{normalize-space($id)}" class="linktarget"/>
104 </xsl:if>
105 <div class="hdlist1">
106 <xsl:apply-templates/>
107 </div>
108 </xsl:template>
109
110 <xsl:template match="varlistentry/term">
111 <dt><xsl:apply-templates/></dt>
112 </xsl:template>
113
114 <xsl:template match="varlistentry/listitem">
115 <dd><xsl:apply-templates/></dd>
116 </xsl:template>
117
118 <xsl:template match="programlisting|screen">
119 <pre><code><xsl:apply-templates/></code></pre>
120 </xsl:template>
121
122 <xsl:template match="caution|note">
123 <div class="admonitionblock">
124 <table>
125 <tr>
126 <td class="icon">
127 <img src="./{local-name()}.png" alt="{local-name()}"/>
128 </td>
129 <td class="content">
130 <xsl:apply-templates/>
131 </td>
132 </tr>
133 </table>
134 </div>
135 </xsl:template>
136
137 <xsl:template match="informaltable">
138 <xsl:if test="@id">
139 <span class="linktarget" id="{@id}"/>
140 </xsl:if>
141 <table>
142 <xsl:apply-templates/>
143 </table>
144 </xsl:template>
145
146 <xsl:template match="row">
147 <tr>
148 <xsl:apply-templates/>
149 </tr>
150 </xsl:template>
151
152 <xsl:template match="row/entry">
153 <td style="padding-right:10px">
154 <xsl:apply-templates/>
155 </td>
156 </xsl:template>
157
158 <xsl:template match="ulink">
159 <a href="{@url}"><xsl:apply-templates/></a>
160 </xsl:template>
161
162 <xsl:template match="link[@linkend]">
163 <a href="#{@linkend}"><xsl:apply-templates/></a>
164 </xsl:template>
165
166 <xsl:template match="emphasis[@role='strong']">
167 <strong><xsl:apply-templates/></strong>
168 </xsl:template>
169
170 <xsl:template match="emphasis">
171 <em><xsl:apply-templates/></em>
172 </xsl:template>
173
174 <xsl:template match="literal">
175 <code><xsl:apply-templates/></code>
176 </xsl:template>
177
178 <xsl:template match="simpara">
179 <xsl:if test="@id">
180 <span class="linktarget" id="{@id}"/>
181 </xsl:if>
182 <p><xsl:apply-templates/></p>
183 </xsl:template>
184
185 <xsl:template match="title|refentryinfo|refmeta"/>
186
187 <func:function name="my:add-section-icon">
188 <xsl:param name="title"/>
189 <xsl:variable name="sections">
190 <section icon="info-circle">Description</section>
191 <section icon="sliders">Options</section>
192 <section icon="plug">Supported Specials</section>
193 <section icon="keyboard-o">Examples</section>
194 <section icon="globe">Environment</section>
195 <section icon="files-o">Files</section>
196 <section icon="mail-forward">See also</section>
197 <section icon="link">Resources</section>
198 <section icon="bug">Bugs</section>
199 <section icon="user">Author</section>
200 <section icon="gavel">Copying</section>
201 </xsl:variable>
202 <xsl:variable name="section" select="exsl:node-set($sections)/section[.=$title]"/>
203 <func:result>
204 <xsl:if test="$section/@icon">
205 <i class="fa fa-{$section/@icon} fa-fw"/>
206 <xsl:text> </xsl:text>
207 </xsl:if>
208 <xsl:value-of select="$title"/>
209 </func:result>
210 </func:function>
211 </xsl:stylesheet>
33 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
44 .\" Date: 2020-08-23
55 .\" Manual: dvisvgm Manual
6 .\" Source: dvisvgm 2.10.1
6 .\" Source: dvisvgm 2.11
77 .\" Language: English
88 .\"
9 .TH "DVISVGM" "1" "2020\-08\-23" "dvisvgm 2\&.10\&.1" "dvisvgm Manual"
9 .TH "DVISVGM" "1" "2020\-08\-23" "dvisvgm 2\&.11" "dvisvgm Manual"
1010 .\" -----------------------------------------------------------------
1111 .\" * Define some portability stuff
1212 .\" -----------------------------------------------------------------
0 div.admonitionblock .content {
1 border-left: 2px solid silver;
2 padding-left: 0.5em;
3 }
4
5 div.admonitionblock .icon {
6 vertical-align: top;
7 padding-right: 0.5em;
8 }
9
10 dd {
11 padding-left: 2em;
12 }
13
14 p {
15 text-align: justify;
16 }
17
18 .footer {
19 border-top: 2pt solid silver;
20 margin-top: 20px;
21 padding-top: 10px;
22 }
23
24 .rfloat {
25 float: right;
26 margin-left: 0.5em;
27 }
28
29 .frame {
30 background-color: #f9f9f9;
31 border: 1px solid #cccccc;
32 padding: 4px;
33 margin-top: 5px;
34 }
0 <?xml version="1.0" encoding="UTF-8"?>
1 <project version="18.1">
2 <meta>
3 <filters directoryPatterns="" filePatterns="" positiveFilePatterns="" showHiddenFiles="false"/>
4 <options>
5 <serialized version="18.1" xml:space="preserve">
6 <serializableOrderedMap>
7 <entry>
8 <String>enable.project.master.files.support</String>
9 <Boolean>true</Boolean>
10 </entry>
11 </serializableOrderedMap>
12 </serialized>
13 </options>
14 </meta>
15 <projectTree name="dvisvgm.xpr">
16 <file name="conf-dblatex-man.xsl"/>
17 <file name="conf-dblatex-pdf.xsl"/>
18 <file name="db2html.xsl"/>
19 <file name="dvisvgm.css"/>
20 <file name="dvisvgm.sty"/>
21 <file name="dvisvgm.xml"/>
22 <file name="tweak-db-article.xsl"/>
23 <file name="tweak-dblatex-pdf.xsl"/>
24 </projectTree>
25 </project>
Binary diff not shown
0 <?xml version="1.0"?>
1 <!-- This file is part of dvisvgm -->
2 <!-- Copyright (C) 2015-2020 Martin Gieseking <martin.gieseking@uos.de> -->
3 <xsl:stylesheet version="1.0"
4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5 xmlns:my="my-namespace"
6 exclude-result-prefixes="my">
7
8 <xsl:import href="tweak-db-refentry.xsl"/>
9 <xsl:output doctype-public="-//OASIS//DTD DocBook XML V4.5//EN" doctype-system="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"/>
10
11 <!-- add subtitle -->
12 <xsl:template match="articleinfo">
13 <xsl:copy>
14 <title>dvisvgm {VERSION} Manual</title>
15 <subtitle>A fast DVI to SVG converter</subtitle>
16 <xsl:apply-templates select="*[not(self::title)]"/>
17 </xsl:copy>
18 </xsl:template>
19
20 <!-- adapt ISO date created by keyword expansion -->
21 <xsl:template match="articleinfo/date | revision[1]/date">
22 <date>
23 <xsl:value-of select="my:extract-date(.)"/>
24 </date>
25 </xsl:template>
26
27 <!-- drop redundant section 'Name' -->
28 <xsl:template match="section[@id='_name']"/>
29 </xsl:stylesheet>
+0
-518
install-sh less more
0 #!/bin/sh
1 # install - install a program, script, or datafile
2
3 scriptversion=2018-03-11.20; # UTC
4
5 # This originates from X11R5 (mit/util/scripts/install.sh), which was
6 # later released in X11R6 (xc/config/util/install.sh) with the
7 # following copyright and license.
8 #
9 # Copyright (C) 1994 X Consortium
10 #
11 # Permission is hereby granted, free of charge, to any person obtaining a copy
12 # of this software and associated documentation files (the "Software"), to
13 # deal in the Software without restriction, including without limitation the
14 # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
15 # sell copies of the Software, and to permit persons to whom the Software is
16 # furnished to do so, subject to the following conditions:
17 #
18 # The above copyright notice and this permission notice shall be included in
19 # all copies or substantial portions of the Software.
20 #
21 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24 # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
25 # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
26 # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27 #
28 # Except as contained in this notice, the name of the X Consortium shall not
29 # be used in advertising or otherwise to promote the sale, use or other deal-
30 # ings in this Software without prior written authorization from the X Consor-
31 # tium.
32 #
33 #
34 # FSF changes to this file are in the public domain.
35 #
36 # Calling this script install-sh is preferred over install.sh, to prevent
37 # 'make' implicit rules from creating a file called install from it
38 # when there is no Makefile.
39 #
40 # This script is compatible with the BSD install script, but was written
41 # from scratch.
42
43 tab=' '
44 nl='
45 '
46 IFS=" $tab$nl"
47
48 # Set DOITPROG to "echo" to test this script.
49
50 doit=${DOITPROG-}
51 doit_exec=${doit:-exec}
52
53 # Put in absolute file names if you don't have them in your path;
54 # or use environment vars.
55
56 chgrpprog=${CHGRPPROG-chgrp}
57 chmodprog=${CHMODPROG-chmod}
58 chownprog=${CHOWNPROG-chown}
59 cmpprog=${CMPPROG-cmp}
60 cpprog=${CPPROG-cp}
61 mkdirprog=${MKDIRPROG-mkdir}
62 mvprog=${MVPROG-mv}
63 rmprog=${RMPROG-rm}
64 stripprog=${STRIPPROG-strip}
65
66 posix_mkdir=
67
68 # Desired mode of installed file.
69 mode=0755
70
71 chgrpcmd=
72 chmodcmd=$chmodprog
73 chowncmd=
74 mvcmd=$mvprog
75 rmcmd="$rmprog -f"
76 stripcmd=
77
78 src=
79 dst=
80 dir_arg=
81 dst_arg=
82
83 copy_on_change=false
84 is_target_a_directory=possibly
85
86 usage="\
87 Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
88 or: $0 [OPTION]... SRCFILES... DIRECTORY
89 or: $0 [OPTION]... -t DIRECTORY SRCFILES...
90 or: $0 [OPTION]... -d DIRECTORIES...
91
92 In the 1st form, copy SRCFILE to DSTFILE.
93 In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
94 In the 4th, create DIRECTORIES.
95
96 Options:
97 --help display this help and exit.
98 --version display version info and exit.
99
100 -c (ignored)
101 -C install only if different (preserve the last data modification time)
102 -d create directories instead of installing files.
103 -g GROUP $chgrpprog installed files to GROUP.
104 -m MODE $chmodprog installed files to MODE.
105 -o USER $chownprog installed files to USER.
106 -s $stripprog installed files.
107 -t DIRECTORY install into DIRECTORY.
108 -T report an error if DSTFILE is a directory.
109
110 Environment variables override the default commands:
111 CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
112 RMPROG STRIPPROG
113 "
114
115 while test $# -ne 0; do
116 case $1 in
117 -c) ;;
118
119 -C) copy_on_change=true;;
120
121 -d) dir_arg=true;;
122
123 -g) chgrpcmd="$chgrpprog $2"
124 shift;;
125
126 --help) echo "$usage"; exit $?;;
127
128 -m) mode=$2
129 case $mode in
130 *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*)
131 echo "$0: invalid mode: $mode" >&2
132 exit 1;;
133 esac
134 shift;;
135
136 -o) chowncmd="$chownprog $2"
137 shift;;
138
139 -s) stripcmd=$stripprog;;
140
141 -t)
142 is_target_a_directory=always
143 dst_arg=$2
144 # Protect names problematic for 'test' and other utilities.
145 case $dst_arg in
146 -* | [=\(\)!]) dst_arg=./$dst_arg;;
147 esac
148 shift;;
149
150 -T) is_target_a_directory=never;;
151
152 --version) echo "$0 $scriptversion"; exit $?;;
153
154 --) shift
155 break;;
156
157 -*) echo "$0: invalid option: $1" >&2
158 exit 1;;
159
160 *) break;;
161 esac
162 shift
163 done
164
165 # We allow the use of options -d and -T together, by making -d
166 # take the precedence; this is for compatibility with GNU install.
167
168 if test -n "$dir_arg"; then
169 if test -n "$dst_arg"; then
170 echo "$0: target directory not allowed when installing a directory." >&2
171 exit 1
172 fi
173 fi
174
175 if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
176 # When -d is used, all remaining arguments are directories to create.
177 # When -t is used, the destination is already specified.
178 # Otherwise, the last argument is the destination. Remove it from $@.
179 for arg
180 do
181 if test -n "$dst_arg"; then
182 # $@ is not empty: it contains at least $arg.
183 set fnord "$@" "$dst_arg"
184 shift # fnord
185 fi
186 shift # arg
187 dst_arg=$arg
188 # Protect names problematic for 'test' and other utilities.
189 case $dst_arg in
190 -* | [=\(\)!]) dst_arg=./$dst_arg;;
191 esac
192 done
193 fi
194
195 if test $# -eq 0; then
196 if test -z "$dir_arg"; then
197 echo "$0: no input file specified." >&2
198 exit 1
199 fi
200 # It's OK to call 'install-sh -d' without argument.
201 # This can happen when creating conditional directories.
202 exit 0
203 fi
204
205 if test -z "$dir_arg"; then
206 if test $# -gt 1 || test "$is_target_a_directory" = always; then
207 if test ! -d "$dst_arg"; then
208 echo "$0: $dst_arg: Is not a directory." >&2
209 exit 1
210 fi
211 fi
212 fi
213
214 if test -z "$dir_arg"; then
215 do_exit='(exit $ret); exit $ret'
216 trap "ret=129; $do_exit" 1
217 trap "ret=130; $do_exit" 2
218 trap "ret=141; $do_exit" 13
219 trap "ret=143; $do_exit" 15
220
221 # Set umask so as not to create temps with too-generous modes.
222 # However, 'strip' requires both read and write access to temps.
223 case $mode in
224 # Optimize common cases.
225 *644) cp_umask=133;;
226 *755) cp_umask=22;;
227
228 *[0-7])
229 if test -z "$stripcmd"; then
230 u_plus_rw=
231 else
232 u_plus_rw='% 200'
233 fi
234 cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
235 *)
236 if test -z "$stripcmd"; then
237 u_plus_rw=
238 else
239 u_plus_rw=,u+rw
240 fi
241 cp_umask=$mode$u_plus_rw;;
242 esac
243 fi
244
245 for src
246 do
247 # Protect names problematic for 'test' and other utilities.
248 case $src in
249 -* | [=\(\)!]) src=./$src;;
250 esac
251
252 if test -n "$dir_arg"; then
253 dst=$src
254 dstdir=$dst
255 test -d "$dstdir"
256 dstdir_status=$?
257 else
258
259 # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
260 # might cause directories to be created, which would be especially bad
261 # if $src (and thus $dsttmp) contains '*'.
262 if test ! -f "$src" && test ! -d "$src"; then
263 echo "$0: $src does not exist." >&2
264 exit 1
265 fi
266
267 if test -z "$dst_arg"; then
268 echo "$0: no destination specified." >&2
269 exit 1
270 fi
271 dst=$dst_arg
272
273 # If destination is a directory, append the input filename.
274 if test -d "$dst"; then
275 if test "$is_target_a_directory" = never; then
276 echo "$0: $dst_arg: Is a directory" >&2
277 exit 1
278 fi
279 dstdir=$dst
280 dstbase=`basename "$src"`
281 case $dst in
282 */) dst=$dst$dstbase;;
283 *) dst=$dst/$dstbase;;
284 esac
285 dstdir_status=0
286 else
287 dstdir=`dirname "$dst"`
288 test -d "$dstdir"
289 dstdir_status=$?
290 fi
291 fi
292
293 case $dstdir in
294 */) dstdirslash=$dstdir;;
295 *) dstdirslash=$dstdir/;;
296 esac
297
298 obsolete_mkdir_used=false
299
300 if test $dstdir_status != 0; then
301 case $posix_mkdir in
302 '')
303 # Create intermediate dirs using mode 755 as modified by the umask.
304 # This is like FreeBSD 'install' as of 1997-10-28.
305 umask=`umask`
306 case $stripcmd.$umask in
307 # Optimize common cases.
308 *[2367][2367]) mkdir_umask=$umask;;
309 .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
310
311 *[0-7])
312 mkdir_umask=`expr $umask + 22 \
313 - $umask % 100 % 40 + $umask % 20 \
314 - $umask % 10 % 4 + $umask % 2
315 `;;
316 *) mkdir_umask=$umask,go-w;;
317 esac
318
319 # With -d, create the new directory with the user-specified mode.
320 # Otherwise, rely on $mkdir_umask.
321 if test -n "$dir_arg"; then
322 mkdir_mode=-m$mode
323 else
324 mkdir_mode=
325 fi
326
327 posix_mkdir=false
328 case $umask in
329 *[123567][0-7][0-7])
330 # POSIX mkdir -p sets u+wx bits regardless of umask, which
331 # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
332 ;;
333 *)
334 # Note that $RANDOM variable is not portable (e.g. dash); Use it
335 # here however when possible just to lower collision chance.
336 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
337
338 trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0
339
340 # Because "mkdir -p" follows existing symlinks and we likely work
341 # directly in world-writeable /tmp, make sure that the '$tmpdir'
342 # directory is successfully created first before we actually test
343 # 'mkdir -p' feature.
344 if (umask $mkdir_umask &&
345 $mkdirprog $mkdir_mode "$tmpdir" &&
346 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
347 then
348 if test -z "$dir_arg" || {
349 # Check for POSIX incompatibilities with -m.
350 # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
351 # other-writable bit of parent directory when it shouldn't.
352 # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
353 test_tmpdir="$tmpdir/a"
354 ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
355 case $ls_ld_tmpdir in
356 d????-?r-*) different_mode=700;;
357 d????-?--*) different_mode=755;;
358 *) false;;
359 esac &&
360 $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
361 ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
362 test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
363 }
364 }
365 then posix_mkdir=:
366 fi
367 rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
368 else
369 # Remove any dirs left behind by ancient mkdir implementations.
370 rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
371 fi
372 trap '' 0;;
373 esac;;
374 esac
375
376 if
377 $posix_mkdir && (
378 umask $mkdir_umask &&
379 $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
380 )
381 then :
382 else
383
384 # The umask is ridiculous, or mkdir does not conform to POSIX,
385 # or it failed possibly due to a race condition. Create the
386 # directory the slow way, step by step, checking for races as we go.
387
388 case $dstdir in
389 /*) prefix='/';;
390 [-=\(\)!]*) prefix='./';;
391 *) prefix='';;
392 esac
393
394 oIFS=$IFS
395 IFS=/
396 set -f
397 set fnord $dstdir
398 shift
399 set +f
400 IFS=$oIFS
401
402 prefixes=
403
404 for d
405 do
406 test X"$d" = X && continue
407
408 prefix=$prefix$d
409 if test -d "$prefix"; then
410 prefixes=
411 else
412 if $posix_mkdir; then
413 (umask=$mkdir_umask &&
414 $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
415 # Don't fail if two instances are running concurrently.
416 test -d "$prefix" || exit 1
417 else
418 case $prefix in
419 *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
420 *) qprefix=$prefix;;
421 esac
422 prefixes="$prefixes '$qprefix'"
423 fi
424 fi
425 prefix=$prefix/
426 done
427
428 if test -n "$prefixes"; then
429 # Don't fail if two instances are running concurrently.
430 (umask $mkdir_umask &&
431 eval "\$doit_exec \$mkdirprog $prefixes") ||
432 test -d "$dstdir" || exit 1
433 obsolete_mkdir_used=true
434 fi
435 fi
436 fi
437
438 if test -n "$dir_arg"; then
439 { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
440 { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
441 { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
442 test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
443 else
444
445 # Make a couple of temp file names in the proper directory.
446 dsttmp=${dstdirslash}_inst.$$_
447 rmtmp=${dstdirslash}_rm.$$_
448
449 # Trap to clean up those temp files at exit.
450 trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
451
452 # Copy the file name to the temp name.
453 (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
454
455 # and set any options; do chmod last to preserve setuid bits.
456 #
457 # If any of these fail, we abort the whole thing. If we want to
458 # ignore errors from any of these, just make sure not to ignore
459 # errors from the above "$doit $cpprog $src $dsttmp" command.
460 #
461 { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
462 { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
463 { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
464 { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
465
466 # If -C, don't bother to copy if it wouldn't change the file.
467 if $copy_on_change &&
468 old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
469 new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
470 set -f &&
471 set X $old && old=:$2:$4:$5:$6 &&
472 set X $new && new=:$2:$4:$5:$6 &&
473 set +f &&
474 test "$old" = "$new" &&
475 $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
476 then
477 rm -f "$dsttmp"
478 else
479 # Rename the file to the real destination.
480 $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
481
482 # The rename failed, perhaps because mv can't rename something else
483 # to itself, or perhaps because mv is so ancient that it does not
484 # support -f.
485 {
486 # Now remove or move aside any old file at destination location.
487 # We try this two ways since rm can't unlink itself on some
488 # systems and the destination file might be busy for other
489 # reasons. In this case, the final cleanup might fail but the new
490 # file should still install successfully.
491 {
492 test ! -f "$dst" ||
493 $doit $rmcmd -f "$dst" 2>/dev/null ||
494 { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
495 { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
496 } ||
497 { echo "$0: cannot unlink or rename $dst" >&2
498 (exit 1); exit 1
499 }
500 } &&
501
502 # Now rename the file to the real destination.
503 $doit $mvcmd "$dsttmp" "$dst"
504 }
505 fi || exit 1
506
507 trap '' 0
508 fi
509 done
510
511 # Local variables:
512 # eval: (add-hook 'before-save-hook 'time-stamp)
513 # time-stamp-start: "scriptversion="
514 # time-stamp-format: "%:y-%02m-%02d.%02H"
515 # time-stamp-time-zone: "UTC0"
516 # time-stamp-end: "; # UTC"
517 # End:
+0
-665
libs/Makefile.in less more
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15 VPATH = @srcdir@
16 am__is_gnu_make = { \
17 if test -z '$(MAKELEVEL)'; then \
18 false; \
19 elif test -n '$(MAKE_HOST)'; then \
20 true; \
21 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
22 true; \
23 else \
24 false; \
25 fi; \
26 }
27 am__make_running_with_option = \
28 case $${target_option-} in \
29 ?) ;; \
30 *) echo "am__make_running_with_option: internal error: invalid" \
31 "target option '$${target_option-}' specified" >&2; \
32 exit 1;; \
33 esac; \
34 has_opt=no; \
35 sane_makeflags=$$MAKEFLAGS; \
36 if $(am__is_gnu_make); then \
37 sane_makeflags=$$MFLAGS; \
38 else \
39 case $$MAKEFLAGS in \
40 *\\[\ \ ]*) \
41 bs=\\; \
42 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
43 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
44 esac; \
45 fi; \
46 skip_next=no; \
47 strip_trailopt () \
48 { \
49 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
50 }; \
51 for flg in $$sane_makeflags; do \
52 test $$skip_next = yes && { skip_next=no; continue; }; \
53 case $$flg in \
54 *=*|--*) continue;; \
55 -*I) strip_trailopt 'I'; skip_next=yes;; \
56 -*I?*) strip_trailopt 'I';; \
57 -*O) strip_trailopt 'O'; skip_next=yes;; \
58 -*O?*) strip_trailopt 'O';; \
59 -*l) strip_trailopt 'l'; skip_next=yes;; \
60 -*l?*) strip_trailopt 'l';; \
61 -[dEDm]) skip_next=yes;; \
62 -[JT]) skip_next=yes;; \
63 esac; \
64 case $$flg in \
65 *$$target_option*) has_opt=yes; break;; \
66 esac; \
67 done; \
68 test $$has_opt = yes
69 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
70 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
71 pkgdatadir = $(datadir)/@PACKAGE@
72 pkgincludedir = $(includedir)/@PACKAGE@
73 pkglibdir = $(libdir)/@PACKAGE@
74 pkglibexecdir = $(libexecdir)/@PACKAGE@
75 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
76 install_sh_DATA = $(install_sh) -c -m 644
77 install_sh_PROGRAM = $(install_sh) -c
78 install_sh_SCRIPT = $(install_sh) -c
79 INSTALL_HEADER = $(INSTALL_DATA)
80 transform = $(program_transform_name)
81 NORMAL_INSTALL = :
82 PRE_INSTALL = :
83 POST_INSTALL = :
84 NORMAL_UNINSTALL = :
85 PRE_UNINSTALL = :
86 POST_UNINSTALL = :
87 build_triplet = @build@
88 host_triplet = @host@
89 target_triplet = @target@
90 @ENABLE_WOFF_TRUE@am__append_1 = brotli ff-woff woff2
91 subdir = libs
92 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
93 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
94 $(top_srcdir)/m4/ax_code_coverage.m4 \
95 $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \
96 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
97 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
98 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
99 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
100 $(ACLOCAL_M4)
101 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
102 mkinstalldirs = $(install_sh) -d
103 CONFIG_HEADER = $(top_builddir)/config.h
104 CONFIG_CLEAN_FILES =
105 CONFIG_CLEAN_VPATH_FILES =
106 AM_V_P = $(am__v_P_@AM_V@)
107 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
108 am__v_P_0 = false
109 am__v_P_1 = :
110 AM_V_GEN = $(am__v_GEN_@AM_V@)
111 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
112 am__v_GEN_0 = @echo " GEN " $@;
113 am__v_GEN_1 =
114 AM_V_at = $(am__v_at_@AM_V@)
115 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
116 am__v_at_0 = @
117 am__v_at_1 =
118 SOURCES =
119 DIST_SOURCES =
120 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
121 ctags-recursive dvi-recursive html-recursive info-recursive \
122 install-data-recursive install-dvi-recursive \
123 install-exec-recursive install-html-recursive \
124 install-info-recursive install-pdf-recursive \
125 install-ps-recursive install-recursive installcheck-recursive \
126 installdirs-recursive pdf-recursive ps-recursive \
127 tags-recursive uninstall-recursive
128 am__can_run_installinfo = \
129 case $$AM_UPDATE_INFO_DIR in \
130 n|no|NO) false;; \
131 *) (install-info --version) >/dev/null 2>&1;; \
132 esac
133 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
134 distclean-recursive maintainer-clean-recursive
135 am__recursive_targets = \
136 $(RECURSIVE_TARGETS) \
137 $(RECURSIVE_CLEAN_TARGETS) \
138 $(am__extra_recursive_targets)
139 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
140 distdir distdir-am
141 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
142 # Read a list of newline-separated strings from the standard input,
143 # and print each of them once, without duplicates. Input order is
144 # *not* preserved.
145 am__uniquify_input = $(AWK) '\
146 BEGIN { nonempty = 0; } \
147 { items[$$0] = 1; nonempty = 1; } \
148 END { if (nonempty) { for (i in items) print i; }; } \
149 '
150 # Make sure the list of sources is unique. This is necessary because,
151 # e.g., the same source file might be shared among _SOURCES variables
152 # for different programs/libraries.
153 am__define_uniq_tagged_files = \
154 list='$(am__tagged_files)'; \
155 unique=`for i in $$list; do \
156 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
157 done | $(am__uniquify_input)`
158 ETAGS = etags
159 CTAGS = ctags
160 DIST_SUBDIRS = clipper md5 potrace variant xxHash brotli ff-woff woff2
161 am__DIST_COMMON = $(srcdir)/Makefile.in
162 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
163 am__relativize = \
164 dir0=`pwd`; \
165 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
166 sed_rest='s,^[^/]*/*,,'; \
167 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
168 sed_butlast='s,/*[^/]*$$,,'; \
169 while test -n "$$dir1"; do \
170 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
171 if test "$$first" != "."; then \
172 if test "$$first" = ".."; then \
173 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
174 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
175 else \
176 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
177 if test "$$first2" = "$$first"; then \
178 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
179 else \
180 dir2="../$$dir2"; \
181 fi; \
182 dir0="$$dir0"/"$$first"; \
183 fi; \
184 fi; \
185 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
186 done; \
187 reldir="$$dir2"
188 ACLOCAL = @ACLOCAL@
189 AMTAR = @AMTAR@
190 AM_CPPFLAGS = @AM_CPPFLAGS@
191 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
192 AM_LDFLAGS = @AM_LDFLAGS@
193 AR = @AR@
194 ASCIIDOC = @ASCIIDOC@
195 AUTOCONF = @AUTOCONF@
196 AUTOHEADER = @AUTOHEADER@
197 AUTOMAKE = @AUTOMAKE@
198 AWK = @AWK@
199 BROTLI_CFLAGS = @BROTLI_CFLAGS@
200 BROTLI_LIBS = @BROTLI_LIBS@
201 CC = @CC@
202 CCDEPMODE = @CCDEPMODE@
203 CFLAGS = @CFLAGS@
204 CODE_COVERAGE_CFLAGS = @CODE_COVERAGE_CFLAGS@
205 CODE_COVERAGE_CPPFLAGS = @CODE_COVERAGE_CPPFLAGS@
206 CODE_COVERAGE_CXXFLAGS = @CODE_COVERAGE_CXXFLAGS@
207 CODE_COVERAGE_ENABLED = @CODE_COVERAGE_ENABLED@
208 CODE_COVERAGE_LDFLAGS = @CODE_COVERAGE_LDFLAGS@
209 CODE_COVERAGE_LIBS = @CODE_COVERAGE_LIBS@
210 CPP = @CPP@
211 CPPFLAGS = @CPPFLAGS@
212 CXX = @CXX@
213 CXXCPP = @CXXCPP@
214 CXXDEPMODE = @CXXDEPMODE@
215 CXXFLAGS = @CXXFLAGS@
216 CYGPATH_W = @CYGPATH_W@
217 DATE = @DATE@
218 DEFS = @DEFS@
219 DEPDIR = @DEPDIR@
220 DLLTOOL = @DLLTOOL@
221 DSYMUTIL = @DSYMUTIL@
222 DUMPBIN = @DUMPBIN@
223 ECHO_C = @ECHO_C@
224 ECHO_N = @ECHO_N@
225 ECHO_T = @ECHO_T@
226 EGREP = @EGREP@
227 EXEEXT = @EXEEXT@
228 FGREP = @FGREP@
229 FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
230 FREETYPE_LIBS = @FREETYPE_LIBS@
231 GCOV = @GCOV@
232 GENHTML = @GENHTML@
233 GREP = @GREP@
234 HAVE_CXX11 = @HAVE_CXX11@
235 INSTALL = @INSTALL@
236 INSTALL_DATA = @INSTALL_DATA@
237 INSTALL_PROGRAM = @INSTALL_PROGRAM@
238 INSTALL_SCRIPT = @INSTALL_SCRIPT@
239 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
240 KPSE_CFLAGS = @KPSE_CFLAGS@
241 KPSE_LIBS = @KPSE_LIBS@
242 LCOV = @LCOV@
243 LD = @LD@
244 LDFLAGS = @LDFLAGS@
245 LIBCRYPTO_CFLAGS = @LIBCRYPTO_CFLAGS@
246 LIBCRYPTO_LIBS = @LIBCRYPTO_LIBS@
247 LIBOBJS = @LIBOBJS@
248 LIBS = @LIBS@
249 LIBTOOL = @LIBTOOL@
250 LIPO = @LIPO@
251 LN_S = @LN_S@
252 LTLIBOBJS = @LTLIBOBJS@
253 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
254 MAKEINFO = @MAKEINFO@
255 MANIFEST_TOOL = @MANIFEST_TOOL@
256 MKDIR_P = @MKDIR_P@
257 NM = @NM@
258 NMEDIT = @NMEDIT@
259 OBJDUMP = @OBJDUMP@
260 OBJEXT = @OBJEXT@
261 OTOOL = @OTOOL@
262 OTOOL64 = @OTOOL64@
263 PACKAGE = @PACKAGE@
264 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
265 PACKAGE_NAME = @PACKAGE_NAME@
266 PACKAGE_STRING = @PACKAGE_STRING@
267 PACKAGE_TARNAME = @PACKAGE_TARNAME@
268 PACKAGE_URL = @PACKAGE_URL@
269 PACKAGE_VERSION = @PACKAGE_VERSION@
270 PATH_SEPARATOR = @PATH_SEPARATOR@
271 PKG_CONFIG = @PKG_CONFIG@
272 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
273 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
274 RANLIB = @RANLIB@
275 SED = @SED@
276 SET_MAKE = @SET_MAKE@
277 SHELL = @SHELL@
278 STRIP = @STRIP@
279 TTFAUTOHINT_CFLAGS = @TTFAUTOHINT_CFLAGS@
280 TTFAUTOHINT_LIBS = @TTFAUTOHINT_LIBS@
281 VERSION = @VERSION@
282 WOFF2_CFLAGS = @WOFF2_CFLAGS@
283 WOFF2_LIBS = @WOFF2_LIBS@
284 XMLTO = @XMLTO@
285 XSLTPROC = @XSLTPROC@
286 ZLIB_CFLAGS = @ZLIB_CFLAGS@
287 ZLIB_LIBS = @ZLIB_LIBS@
288 abs_builddir = @abs_builddir@
289 abs_srcdir = @abs_srcdir@
290 abs_top_builddir = @abs_top_builddir@
291 abs_top_srcdir = @abs_top_srcdir@
292 ac_ct_AR = @ac_ct_AR@
293 ac_ct_CC = @ac_ct_CC@
294 ac_ct_CXX = @ac_ct_CXX@
295 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
296 am__include = @am__include@
297 am__leading_dot = @am__leading_dot@
298 am__quote = @am__quote@
299 am__tar = @am__tar@
300 am__untar = @am__untar@
301 bindir = @bindir@
302 build = @build@
303 build_alias = @build_alias@
304 build_cpu = @build_cpu@
305 build_os = @build_os@
306 build_vendor = @build_vendor@
307 builddir = @builddir@
308 datadir = @datadir@
309 datarootdir = @datarootdir@
310 docdir = @docdir@
311 dvidir = @dvidir@
312 dvisvgm_srcdir = @dvisvgm_srcdir@
313 exec_prefix = @exec_prefix@
314 host = @host@
315 host_alias = @host_alias@
316 host_cpu = @host_cpu@
317 host_os = @host_os@
318 host_vendor = @host_vendor@
319 htmldir = @htmldir@
320 includedir = @includedir@
321 infodir = @infodir@
322 install_sh = @install_sh@
323 libdir = @libdir@
324 libexecdir = @libexecdir@
325 localedir = @localedir@
326 localstatedir = @localstatedir@
327 mandir = @mandir@
328 mkdir_p = @mkdir_p@
329 oldincludedir = @oldincludedir@
330 pdfdir = @pdfdir@
331 prefix = @prefix@
332 program_transform_name = @program_transform_name@
333 psdir = @psdir@
334 sbindir = @sbindir@
335 sharedstatedir = @sharedstatedir@
336 srcdir = @srcdir@
337 sysconfdir = @sysconfdir@
338 target = @target@
339 target_alias = @target_alias@
340 target_cpu = @target_cpu@
341 target_os = @target_os@
342 target_vendor = @target_vendor@
343 top_build_prefix = @top_build_prefix@
344 top_builddir = @top_builddir@
345 top_srcdir = @top_srcdir@
346 SUBDIRS = clipper md5 potrace variant xxHash $(am__append_1)
347 all: all-recursive
348
349 .SUFFIXES:
350 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
351 @for dep in $?; do \
352 case '$(am__configure_deps)' in \
353 *$$dep*) \
354 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
355 && { if test -f $@; then exit 0; else break; fi; }; \
356 exit 1;; \
357 esac; \
358 done; \
359 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign libs/Makefile'; \
360 $(am__cd) $(top_srcdir) && \
361 $(AUTOMAKE) --foreign libs/Makefile
362 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
363 @case '$?' in \
364 *config.status*) \
365 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
366 *) \
367 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
368 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
369 esac;
370
371 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
372 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
373
374 $(top_srcdir)/configure: $(am__configure_deps)
375 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
376 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
377 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
378 $(am__aclocal_m4_deps):
379
380 mostlyclean-libtool:
381 -rm -f *.lo
382
383 clean-libtool:
384 -rm -rf .libs _libs
385
386 # This directory's subdirectories are mostly independent; you can cd
387 # into them and run 'make' without going through this Makefile.
388 # To change the values of 'make' variables: instead of editing Makefiles,
389 # (1) if the variable is set in 'config.status', edit 'config.status'
390 # (which will cause the Makefiles to be regenerated when you run 'make');
391 # (2) otherwise, pass the desired values on the 'make' command line.
392 $(am__recursive_targets):
393 @fail=; \
394 if $(am__make_keepgoing); then \
395 failcom='fail=yes'; \
396 else \
397 failcom='exit 1'; \
398 fi; \
399 dot_seen=no; \
400 target=`echo $@ | sed s/-recursive//`; \
401 case "$@" in \
402 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
403 *) list='$(SUBDIRS)' ;; \
404 esac; \
405 for subdir in $$list; do \
406 echo "Making $$target in $$subdir"; \
407 if test "$$subdir" = "."; then \
408 dot_seen=yes; \
409 local_target="$$target-am"; \
410 else \
411 local_target="$$target"; \
412 fi; \
413 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
414 || eval $$failcom; \
415 done; \
416 if test "$$dot_seen" = "no"; then \
417 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
418 fi; test -z "$$fail"
419
420 ID: $(am__tagged_files)
421 $(am__define_uniq_tagged_files); mkid -fID $$unique
422 tags: tags-recursive
423 TAGS: tags
424
425 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
426 set x; \
427 here=`pwd`; \
428 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
429 include_option=--etags-include; \
430 empty_fix=.; \
431 else \
432 include_option=--include; \
433 empty_fix=; \
434 fi; \
435 list='$(SUBDIRS)'; for subdir in $$list; do \
436 if test "$$subdir" = .; then :; else \
437 test ! -f $$subdir/TAGS || \
438 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
439 fi; \
440 done; \
441 $(am__define_uniq_tagged_files); \
442 shift; \
443 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
444 test -n "$$unique" || unique=$$empty_fix; \
445 if test $$# -gt 0; then \
446 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
447 "$$@" $$unique; \
448 else \
449 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
450 $$unique; \
451 fi; \
452 fi
453 ctags: ctags-recursive
454
455 CTAGS: ctags
456 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
457 $(am__define_uniq_tagged_files); \
458 test -z "$(CTAGS_ARGS)$$unique" \
459 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
460 $$unique
461
462 GTAGS:
463 here=`$(am__cd) $(top_builddir) && pwd` \
464 && $(am__cd) $(top_srcdir) \
465 && gtags -i $(GTAGS_ARGS) "$$here"
466 cscopelist: cscopelist-recursive
467
468 cscopelist-am: $(am__tagged_files)
469 list='$(am__tagged_files)'; \
470 case "$(srcdir)" in \
471 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
472 *) sdir=$(subdir)/$(srcdir) ;; \
473 esac; \
474 for i in $$list; do \
475 if test -f "$$i"; then \
476 echo "$(subdir)/$$i"; \
477 else \
478 echo "$$sdir/$$i"; \
479 fi; \
480 done >> $(top_builddir)/cscope.files
481
482 distclean-tags:
483 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
484
485 distdir: $(BUILT_SOURCES)
486 $(MAKE) $(AM_MAKEFLAGS) distdir-am
487
488 distdir-am: $(DISTFILES)
489 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
490 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
491 list='$(DISTFILES)'; \
492 dist_files=`for file in $$list; do echo $$file; done | \
493 sed -e "s|^$$srcdirstrip/||;t" \
494 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
495 case $$dist_files in \
496 */*) $(MKDIR_P) `echo "$$dist_files" | \
497 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
498 sort -u` ;; \
499 esac; \
500 for file in $$dist_files; do \
501 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
502 if test -d $$d/$$file; then \
503 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
504 if test -d "$(distdir)/$$file"; then \
505 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
506 fi; \
507 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
508 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
509 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
510 fi; \
511 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
512 else \
513 test -f "$(distdir)/$$file" \
514 || cp -p $$d/$$file "$(distdir)/$$file" \
515 || exit 1; \
516 fi; \
517 done
518 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
519 if test "$$subdir" = .; then :; else \
520 $(am__make_dryrun) \
521 || test -d "$(distdir)/$$subdir" \
522 || $(MKDIR_P) "$(distdir)/$$subdir" \
523 || exit 1; \
524 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
525 $(am__relativize); \
526 new_distdir=$$reldir; \
527 dir1=$$subdir; dir2="$(top_distdir)"; \
528 $(am__relativize); \
529 new_top_distdir=$$reldir; \
530 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
531 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
532 ($(am__cd) $$subdir && \
533 $(MAKE) $(AM_MAKEFLAGS) \
534 top_distdir="$$new_top_distdir" \
535 distdir="$$new_distdir" \
536 am__remove_distdir=: \
537 am__skip_length_check=: \
538 am__skip_mode_fix=: \
539 distdir) \
540 || exit 1; \
541 fi; \
542 done
543 check-am: all-am
544 check: check-recursive
545 all-am: Makefile
546 installdirs: installdirs-recursive
547 installdirs-am:
548 install: install-recursive
549 install-exec: install-exec-recursive
550 install-data: install-data-recursive
551 uninstall: uninstall-recursive
552
553 install-am: all-am
554 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
555
556 installcheck: installcheck-recursive
557 install-strip:
558 if test -z '$(STRIP)'; then \
559 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
560 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
561 install; \
562 else \
563 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
564 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
565 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
566 fi
567 mostlyclean-generic:
568
569 clean-generic:
570
571 distclean-generic:
572 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
573 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
574
575 maintainer-clean-generic:
576 @echo "This command is intended for maintainers to use"
577 @echo "it deletes files that may require special tools to rebuild."
578 clean: clean-recursive
579
580 clean-am: clean-generic clean-libtool mostlyclean-am
581
582 distclean: distclean-recursive
583 -rm -f Makefile
584 distclean-am: clean-am distclean-generic distclean-tags
585
586 dvi: dvi-recursive
587
588 dvi-am:
589
590 html: html-recursive
591
592 html-am:
593
594 info: info-recursive
595
596 info-am:
597
598 install-data-am:
599
600 install-dvi: install-dvi-recursive
601
602 install-dvi-am:
603
604 install-exec-am:
605
606 install-html: install-html-recursive
607
608 install-html-am:
609
610 install-info: install-info-recursive
611
612 install-info-am:
613
614 install-man:
615
616 install-pdf: install-pdf-recursive
617
618 install-pdf-am:
619
620 install-ps: install-ps-recursive
621
622 install-ps-am:
623
624 installcheck-am:
625
626 maintainer-clean: maintainer-clean-recursive
627 -rm -f Makefile
628 maintainer-clean-am: distclean-am maintainer-clean-generic
629
630 mostlyclean: mostlyclean-recursive
631
632 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
633
634 pdf: pdf-recursive
635
636 pdf-am:
637
638 ps: ps-recursive
639
640 ps-am:
641
642 uninstall-am:
643
644 .MAKE: $(am__recursive_targets) install-am install-strip
645
646 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
647 check-am clean clean-generic clean-libtool cscopelist-am ctags \
648 ctags-am distclean distclean-generic distclean-libtool \
649 distclean-tags distdir dvi dvi-am html html-am info info-am \
650 install install-am install-data install-data-am install-dvi \
651 install-dvi-am install-exec install-exec-am install-html \
652 install-html-am install-info install-info-am install-man \
653 install-pdf install-pdf-am install-ps install-ps-am \
654 install-strip installcheck installcheck-am installdirs \
655 installdirs-am maintainer-clean maintainer-clean-generic \
656 mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
657 ps ps-am tags tags-am uninstall uninstall-am
658
659 .PRECIOUS: Makefile
660
661
662 # Tell versions [3.59,3.63) of GNU make to not export all variables.
663 # Otherwise a system limit (for SysV at least) may be exceeded.
664 .NOEXPORT:
+0
-935
libs/brotli/Makefile.in less more
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 VPATH = @srcdir@
17 am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
27 }
28 am__make_running_with_option = \
29 case $${target_option-} in \
30 ?) ;; \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
33 exit 1;; \
34 esac; \
35 has_opt=no; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
39 else \
40 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \
42 bs=\\; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 esac; \
46 fi; \
47 skip_next=no; \
48 strip_trailopt () \
49 { \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 }; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
54 case $$flg in \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
59 -*O?*) strip_trailopt 'O';; \
60 -*l) strip_trailopt 'l'; skip_next=yes;; \
61 -*l?*) strip_trailopt 'l';; \
62 -[dEDm]) skip_next=yes;; \
63 -[JT]) skip_next=yes;; \
64 esac; \
65 case $$flg in \
66 *$$target_option*) has_opt=yes; break;; \
67 esac; \
68 done; \
69 test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
72 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
74 pkglibdir = $(libdir)/@PACKAGE@
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
76 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77 install_sh_DATA = $(install_sh) -c -m 644
78 install_sh_PROGRAM = $(install_sh) -c
79 install_sh_SCRIPT = $(install_sh) -c
80 INSTALL_HEADER = $(INSTALL_DATA)
81 transform = $(program_transform_name)
82 NORMAL_INSTALL = :
83 PRE_INSTALL = :
84 POST_INSTALL = :
85 NORMAL_UNINSTALL = :
86 PRE_UNINSTALL = :
87 POST_UNINSTALL = :
88 build_triplet = @build@
89 host_triplet = @host@
90 target_triplet = @target@
91 subdir = libs/brotli
92 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
93 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
94 $(top_srcdir)/m4/ax_code_coverage.m4 \
95 $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \
96 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
97 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
98 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
99 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
100 $(ACLOCAL_M4)
101 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
102 mkinstalldirs = $(install_sh) -d
103 CONFIG_HEADER = $(top_builddir)/config.h
104 CONFIG_CLEAN_FILES =
105 CONFIG_CLEAN_VPATH_FILES =
106 LIBRARIES = $(noinst_LIBRARIES)
107 ARFLAGS = cru
108 AM_V_AR = $(am__v_AR_@AM_V@)
109 am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
110 am__v_AR_0 = @echo " AR " $@;
111 am__v_AR_1 =
112 libbrotli_a_AR = $(AR) $(ARFLAGS)
113 libbrotli_a_LIBADD =
114 am__libbrotli_a_SOURCES_DIST = common/constants.c common/constants.h \
115 common/context.c common/context.h common/dictionary.c \
116 common/dictionary.h common/platform.c common/platform.h \
117 common/transform.c common/transform.h common/version.h \
118 enc/backward_references.c enc/backward_references.h \
119 enc/backward_references_hq.c enc/backward_references_hq.h \
120 enc/backward_references_inc.h enc/bit_cost.c enc/bit_cost.h \
121 enc/bit_cost_inc.h enc/block_encoder_inc.h \
122 enc/block_splitter.c enc/block_splitter.h \
123 enc/block_splitter_inc.h enc/brotli_bit_stream.c \
124 enc/brotli_bit_stream.h enc/cluster.c enc/cluster.h \
125 enc/cluster_inc.h enc/command.c enc/command.h \
126 enc/compress_fragment.c enc/compress_fragment.h \
127 enc/compress_fragment_two_pass.c \
128 enc/compress_fragment_two_pass.h enc/dictionary_hash.c \
129 enc/dictionary_hash.h enc/encode.c enc/encoder_dict.c \
130 enc/encoder_dict.h enc/entropy_encode.c enc/entropy_encode.h \
131 enc/entropy_encode_static.h enc/fast_log.c enc/fast_log.h \
132 enc/find_match_length.h enc/hash_composite_inc.h \
133 enc/hash_forgetful_chain_inc.h enc/hash.h \
134 enc/hash_longest_match64_inc.h enc/hash_longest_match_inc.h \
135 enc/hash_longest_match_quickly_inc.h enc/hash_rolling_inc.h \
136 enc/hash_to_binary_tree_inc.h enc/histogram.c enc/histogram.h \
137 enc/histogram_inc.h enc/literal_cost.c enc/literal_cost.h \
138 enc/memory.c enc/memory.h enc/metablock.c enc/metablock.h \
139 enc/metablock_inc.h enc/params.h enc/prefix.h enc/quality.h \
140 enc/ringbuffer.h enc/static_dict.c enc/static_dict.h \
141 enc/static_dict_lut.h enc/utf8_util.c enc/utf8_util.h \
142 enc/write_bits.h include/brotli/decode.h \
143 include/brotli/encode.h include/brotli/port.h \
144 include/brotli/types.h
145 am__dirstamp = $(am__leading_dot)dirstamp
146 @HAVE_BROTLI_FALSE@am_libbrotli_a_OBJECTS = \
147 @HAVE_BROTLI_FALSE@ common/constants.$(OBJEXT) \
148 @HAVE_BROTLI_FALSE@ common/context.$(OBJEXT) \
149 @HAVE_BROTLI_FALSE@ common/dictionary.$(OBJEXT) \
150 @HAVE_BROTLI_FALSE@ common/platform.$(OBJEXT) \
151 @HAVE_BROTLI_FALSE@ common/transform.$(OBJEXT) \
152 @HAVE_BROTLI_FALSE@ enc/backward_references.$(OBJEXT) \
153 @HAVE_BROTLI_FALSE@ enc/backward_references_hq.$(OBJEXT) \
154 @HAVE_BROTLI_FALSE@ enc/bit_cost.$(OBJEXT) \
155 @HAVE_BROTLI_FALSE@ enc/block_splitter.$(OBJEXT) \
156 @HAVE_BROTLI_FALSE@ enc/brotli_bit_stream.$(OBJEXT) \
157 @HAVE_BROTLI_FALSE@ enc/cluster.$(OBJEXT) enc/command.$(OBJEXT) \
158 @HAVE_BROTLI_FALSE@ enc/compress_fragment.$(OBJEXT) \
159 @HAVE_BROTLI_FALSE@ enc/compress_fragment_two_pass.$(OBJEXT) \
160 @HAVE_BROTLI_FALSE@ enc/dictionary_hash.$(OBJEXT) \
161 @HAVE_BROTLI_FALSE@ enc/encode.$(OBJEXT) \
162 @HAVE_BROTLI_FALSE@ enc/encoder_dict.$(OBJEXT) \
163 @HAVE_BROTLI_FALSE@ enc/entropy_encode.$(OBJEXT) \
164 @HAVE_BROTLI_FALSE@ enc/fast_log.$(OBJEXT) \
165 @HAVE_BROTLI_FALSE@ enc/histogram.$(OBJEXT) \
166 @HAVE_BROTLI_FALSE@ enc/literal_cost.$(OBJEXT) \
167 @HAVE_BROTLI_FALSE@ enc/memory.$(OBJEXT) \
168 @HAVE_BROTLI_FALSE@ enc/metablock.$(OBJEXT) \
169 @HAVE_BROTLI_FALSE@ enc/static_dict.$(OBJEXT) \
170 @HAVE_BROTLI_FALSE@ enc/utf8_util.$(OBJEXT)
171 libbrotli_a_OBJECTS = $(am_libbrotli_a_OBJECTS)
172 AM_V_P = $(am__v_P_@AM_V@)
173 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
174 am__v_P_0 = false
175 am__v_P_1 = :
176 AM_V_GEN = $(am__v_GEN_@AM_V@)
177 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
178 am__v_GEN_0 = @echo " GEN " $@;
179 am__v_GEN_1 =
180 AM_V_at = $(am__v_at_@AM_V@)
181 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
182 am__v_at_0 = @
183 am__v_at_1 =
184 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
185 depcomp = $(SHELL) $(top_srcdir)/depcomp
186 am__maybe_remake_depfiles = depfiles
187 am__depfiles_remade = common/$(DEPDIR)/constants.Po \
188 common/$(DEPDIR)/context.Po common/$(DEPDIR)/dictionary.Po \
189 common/$(DEPDIR)/platform.Po common/$(DEPDIR)/transform.Po \
190 enc/$(DEPDIR)/backward_references.Po \
191 enc/$(DEPDIR)/backward_references_hq.Po \
192 enc/$(DEPDIR)/bit_cost.Po enc/$(DEPDIR)/block_splitter.Po \
193 enc/$(DEPDIR)/brotli_bit_stream.Po enc/$(DEPDIR)/cluster.Po \
194 enc/$(DEPDIR)/command.Po enc/$(DEPDIR)/compress_fragment.Po \
195 enc/$(DEPDIR)/compress_fragment_two_pass.Po \
196 enc/$(DEPDIR)/dictionary_hash.Po enc/$(DEPDIR)/encode.Po \
197 enc/$(DEPDIR)/encoder_dict.Po enc/$(DEPDIR)/entropy_encode.Po \
198 enc/$(DEPDIR)/fast_log.Po enc/$(DEPDIR)/histogram.Po \
199 enc/$(DEPDIR)/literal_cost.Po enc/$(DEPDIR)/memory.Po \
200 enc/$(DEPDIR)/metablock.Po enc/$(DEPDIR)/static_dict.Po \
201 enc/$(DEPDIR)/utf8_util.Po
202 am__mv = mv -f
203 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
204 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
205 AM_V_lt = $(am__v_lt_@AM_V@)
206 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
207 am__v_lt_0 = --silent
208 am__v_lt_1 =
209 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
210 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
211 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
212 $(AM_CFLAGS) $(CFLAGS)
213 AM_V_CC = $(am__v_CC_@AM_V@)
214 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
215 am__v_CC_0 = @echo " CC " $@;
216 am__v_CC_1 =
217 CCLD = $(CC)
218 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
219 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
220 $(AM_LDFLAGS) $(LDFLAGS) -o $@
221 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
222 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
223 am__v_CCLD_0 = @echo " CCLD " $@;
224 am__v_CCLD_1 =
225 SOURCES = $(libbrotli_a_SOURCES)
226 DIST_SOURCES = $(am__libbrotli_a_SOURCES_DIST)
227 am__can_run_installinfo = \
228 case $$AM_UPDATE_INFO_DIR in \
229 n|no|NO) false;; \
230 *) (install-info --version) >/dev/null 2>&1;; \
231 esac
232 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
233 # Read a list of newline-separated strings from the standard input,
234 # and print each of them once, without duplicates. Input order is
235 # *not* preserved.
236 am__uniquify_input = $(AWK) '\
237 BEGIN { nonempty = 0; } \
238 { items[$$0] = 1; nonempty = 1; } \
239 END { if (nonempty) { for (i in items) print i; }; } \
240 '
241 # Make sure the list of sources is unique. This is necessary because,
242 # e.g., the same source file might be shared among _SOURCES variables
243 # for different programs/libraries.
244 am__define_uniq_tagged_files = \
245 list='$(am__tagged_files)'; \
246 unique=`for i in $$list; do \
247 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
248 done | $(am__uniquify_input)`
249 ETAGS = etags
250 CTAGS = ctags
251 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp
252 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
253 ACLOCAL = @ACLOCAL@
254 AMTAR = @AMTAR@
255 AM_CPPFLAGS = @AM_CPPFLAGS@
256 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
257 AM_LDFLAGS = @AM_LDFLAGS@
258 AR = @AR@
259 ASCIIDOC = @ASCIIDOC@
260 AUTOCONF = @AUTOCONF@
261 AUTOHEADER = @AUTOHEADER@
262 AUTOMAKE = @AUTOMAKE@
263 AWK = @AWK@
264 BROTLI_CFLAGS = @BROTLI_CFLAGS@
265 BROTLI_LIBS = @BROTLI_LIBS@
266 CC = @CC@
267 CCDEPMODE = @CCDEPMODE@
268 CFLAGS = @CFLAGS@
269 CODE_COVERAGE_CFLAGS = @CODE_COVERAGE_CFLAGS@
270 CODE_COVERAGE_CPPFLAGS = @CODE_COVERAGE_CPPFLAGS@
271 CODE_COVERAGE_CXXFLAGS = @CODE_COVERAGE_CXXFLAGS@
272 CODE_COVERAGE_ENABLED = @CODE_COVERAGE_ENABLED@
273 CODE_COVERAGE_LDFLAGS = @CODE_COVERAGE_LDFLAGS@
274 CODE_COVERAGE_LIBS = @CODE_COVERAGE_LIBS@
275 CPP = @CPP@
276 CPPFLAGS = @CPPFLAGS@
277 CXX = @CXX@
278 CXXCPP = @CXXCPP@
279 CXXDEPMODE = @CXXDEPMODE@
280 CXXFLAGS = @CXXFLAGS@
281 CYGPATH_W = @CYGPATH_W@
282 DATE = @DATE@
283 DEFS = @DEFS@
284 DEPDIR = @DEPDIR@
285 DLLTOOL = @DLLTOOL@
286 DSYMUTIL = @DSYMUTIL@
287 DUMPBIN = @DUMPBIN@
288 ECHO_C = @ECHO_C@
289 ECHO_N = @ECHO_N@
290 ECHO_T = @ECHO_T@
291 EGREP = @EGREP@
292 EXEEXT = @EXEEXT@
293 FGREP = @FGREP@
294 FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
295 FREETYPE_LIBS = @FREETYPE_LIBS@
296 GCOV = @GCOV@
297 GENHTML = @GENHTML@
298 GREP = @GREP@
299 HAVE_CXX11 = @HAVE_CXX11@
300 INSTALL = @INSTALL@
301 INSTALL_DATA = @INSTALL_DATA@
302 INSTALL_PROGRAM = @INSTALL_PROGRAM@
303 INSTALL_SCRIPT = @INSTALL_SCRIPT@
304 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
305 KPSE_CFLAGS = @KPSE_CFLAGS@
306 KPSE_LIBS = @KPSE_LIBS@
307 LCOV = @LCOV@
308 LD = @LD@
309 LDFLAGS = @LDFLAGS@
310 LIBCRYPTO_CFLAGS = @LIBCRYPTO_CFLAGS@
311 LIBCRYPTO_LIBS = @LIBCRYPTO_LIBS@
312 LIBOBJS = @LIBOBJS@
313 LIBS = @LIBS@
314 LIBTOOL = @LIBTOOL@
315 LIPO = @LIPO@
316 LN_S = @LN_S@
317 LTLIBOBJS = @LTLIBOBJS@
318 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
319 MAKEINFO = @MAKEINFO@
320 MANIFEST_TOOL = @MANIFEST_TOOL@
321 MKDIR_P = @MKDIR_P@
322 NM = @NM@
323 NMEDIT = @NMEDIT@
324 OBJDUMP = @OBJDUMP@
325 OBJEXT = @OBJEXT@
326 OTOOL = @OTOOL@
327 OTOOL64 = @OTOOL64@
328 PACKAGE = @PACKAGE@
329 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
330 PACKAGE_NAME = @PACKAGE_NAME@
331 PACKAGE_STRING = @PACKAGE_STRING@
332 PACKAGE_TARNAME = @PACKAGE_TARNAME@
333 PACKAGE_URL = @PACKAGE_URL@
334 PACKAGE_VERSION = @PACKAGE_VERSION@
335 PATH_SEPARATOR = @PATH_SEPARATOR@
336 PKG_CONFIG = @PKG_CONFIG@
337 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
338 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
339 RANLIB = @RANLIB@
340 SED = @SED@
341 SET_MAKE = @SET_MAKE@
342 SHELL = @SHELL@
343 STRIP = @STRIP@
344 TTFAUTOHINT_CFLAGS = @TTFAUTOHINT_CFLAGS@
345 TTFAUTOHINT_LIBS = @TTFAUTOHINT_LIBS@
346 VERSION = @VERSION@
347 WOFF2_CFLAGS = @WOFF2_CFLAGS@
348 WOFF2_LIBS = @WOFF2_LIBS@
349 XMLTO = @XMLTO@
350 XSLTPROC = @XSLTPROC@
351 ZLIB_CFLAGS = @ZLIB_CFLAGS@
352 ZLIB_LIBS = @ZLIB_LIBS@
353 abs_builddir = @abs_builddir@
354 abs_srcdir = @abs_srcdir@
355 abs_top_builddir = @abs_top_builddir@
356 abs_top_srcdir = @abs_top_srcdir@
357 ac_ct_AR = @ac_ct_AR@
358 ac_ct_CC = @ac_ct_CC@
359 ac_ct_CXX = @ac_ct_CXX@
360 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
361 am__include = @am__include@
362 am__leading_dot = @am__leading_dot@
363 am__quote = @am__quote@
364 am__tar = @am__tar@
365 am__untar = @am__untar@
366 bindir = @bindir@
367 build = @build@
368 build_alias = @build_alias@
369 build_cpu = @build_cpu@
370 build_os = @build_os@
371 build_vendor = @build_vendor@
372 builddir = @builddir@
373 datadir = @datadir@
374 datarootdir = @datarootdir@
375 docdir = @docdir@
376 dvidir = @dvidir@
377 dvisvgm_srcdir = @dvisvgm_srcdir@
378 exec_prefix = @exec_prefix@
379 host = @host@
380 host_alias = @host_alias@
381 host_cpu = @host_cpu@
382 host_os = @host_os@
383 host_vendor = @host_vendor@
384 htmldir = @htmldir@
385 includedir = @includedir@
386 infodir = @infodir@
387 install_sh = @install_sh@
388 libdir = @libdir@
389 libexecdir = @libexecdir@
390 localedir = @localedir@
391 localstatedir = @localstatedir@
392 mandir = @mandir@
393 mkdir_p = @mkdir_p@
394 oldincludedir = @oldincludedir@
395 pdfdir = @pdfdir@
396 prefix = @prefix@
397 program_transform_name = @program_transform_name@
398 psdir = @psdir@
399 sbindir = @sbindir@
400 sharedstatedir = @sharedstatedir@
401 srcdir = @srcdir@
402 sysconfdir = @sysconfdir@
403 target = @target@
404 target_alias = @target_alias@
405 target_cpu = @target_cpu@
406 target_os = @target_os@
407 target_vendor = @target_vendor@
408 top_build_prefix = @top_build_prefix@
409 top_builddir = @top_builddir@
410 top_srcdir = @top_srcdir@
411 @HAVE_BROTLI_FALSE@noinst_LIBRARIES = libbrotli.a
412 @HAVE_BROTLI_FALSE@libbrotli_a_SOURCES = \
413 @HAVE_BROTLI_FALSE@ common/constants.c \
414 @HAVE_BROTLI_FALSE@ common/constants.h \
415 @HAVE_BROTLI_FALSE@ common/context.c \
416 @HAVE_BROTLI_FALSE@ common/context.h \
417 @HAVE_BROTLI_FALSE@ common/dictionary.c \
418 @HAVE_BROTLI_FALSE@ common/dictionary.h \
419 @HAVE_BROTLI_FALSE@ common/platform.c \
420 @HAVE_BROTLI_FALSE@ common/platform.h \
421 @HAVE_BROTLI_FALSE@ common/transform.c \
422 @HAVE_BROTLI_FALSE@ common/transform.h \
423 @HAVE_BROTLI_FALSE@ common/version.h \
424 @HAVE_BROTLI_FALSE@ enc/backward_references.c \
425 @HAVE_BROTLI_FALSE@ enc/backward_references.h \
426 @HAVE_BROTLI_FALSE@ enc/backward_references_hq.c \
427 @HAVE_BROTLI_FALSE@ enc/backward_references_hq.h \
428 @HAVE_BROTLI_FALSE@ enc/backward_references_inc.h \
429 @HAVE_BROTLI_FALSE@ enc/bit_cost.c \
430 @HAVE_BROTLI_FALSE@ enc/bit_cost.h \
431 @HAVE_BROTLI_FALSE@ enc/bit_cost_inc.h \
432 @HAVE_BROTLI_FALSE@ enc/block_encoder_inc.h \
433 @HAVE_BROTLI_FALSE@ enc/block_splitter.c \
434 @HAVE_BROTLI_FALSE@ enc/block_splitter.h \
435 @HAVE_BROTLI_FALSE@ enc/block_splitter_inc.h \
436 @HAVE_BROTLI_FALSE@ enc/brotli_bit_stream.c \
437 @HAVE_BROTLI_FALSE@ enc/brotli_bit_stream.h \
438 @HAVE_BROTLI_FALSE@ enc/cluster.c \
439 @HAVE_BROTLI_FALSE@ enc/cluster.h \
440 @HAVE_BROTLI_FALSE@ enc/cluster_inc.h \
441 @HAVE_BROTLI_FALSE@ enc/command.c \
442 @HAVE_BROTLI_FALSE@ enc/command.h \
443 @HAVE_BROTLI_FALSE@ enc/compress_fragment.c \
444 @HAVE_BROTLI_FALSE@ enc/compress_fragment.h \
445 @HAVE_BROTLI_FALSE@ enc/compress_fragment_two_pass.c \
446 @HAVE_BROTLI_FALSE@ enc/compress_fragment_two_pass.h \
447 @HAVE_BROTLI_FALSE@ enc/dictionary_hash.c \
448 @HAVE_BROTLI_FALSE@ enc/dictionary_hash.h \
449 @HAVE_BROTLI_FALSE@ enc/encode.c \
450 @HAVE_BROTLI_FALSE@ enc/encoder_dict.c \
451 @HAVE_BROTLI_FALSE@ enc/encoder_dict.h \
452 @HAVE_BROTLI_FALSE@ enc/entropy_encode.c \
453 @HAVE_BROTLI_FALSE@ enc/entropy_encode.h \
454 @HAVE_BROTLI_FALSE@ enc/entropy_encode_static.h \
455 @HAVE_BROTLI_FALSE@ enc/fast_log.c \
456 @HAVE_BROTLI_FALSE@ enc/fast_log.h \
457 @HAVE_BROTLI_FALSE@ enc/find_match_length.h \
458 @HAVE_BROTLI_FALSE@ enc/hash_composite_inc.h \
459 @HAVE_BROTLI_FALSE@ enc/hash_forgetful_chain_inc.h \
460 @HAVE_BROTLI_FALSE@ enc/hash.h \
461 @HAVE_BROTLI_FALSE@ enc/hash_longest_match64_inc.h \
462 @HAVE_BROTLI_FALSE@ enc/hash_longest_match_inc.h \
463 @HAVE_BROTLI_FALSE@ enc/hash_longest_match_quickly_inc.h \
464 @HAVE_BROTLI_FALSE@ enc/hash_rolling_inc.h \
465 @HAVE_BROTLI_FALSE@ enc/hash_to_binary_tree_inc.h \
466 @HAVE_BROTLI_FALSE@ enc/histogram.c \
467 @HAVE_BROTLI_FALSE@ enc/histogram.h \
468 @HAVE_BROTLI_FALSE@ enc/histogram_inc.h \
469 @HAVE_BROTLI_FALSE@ enc/literal_cost.c \
470 @HAVE_BROTLI_FALSE@ enc/literal_cost.h \
471 @HAVE_BROTLI_FALSE@ enc/memory.c \
472 @HAVE_BROTLI_FALSE@ enc/memory.h \
473 @HAVE_BROTLI_FALSE@ enc/metablock.c \
474 @HAVE_BROTLI_FALSE@ enc/metablock.h \
475 @HAVE_BROTLI_FALSE@ enc/metablock_inc.h \
476 @HAVE_BROTLI_FALSE@ enc/params.h \
477 @HAVE_BROTLI_FALSE@ enc/prefix.h \
478 @HAVE_BROTLI_FALSE@ enc/quality.h \
479 @HAVE_BROTLI_FALSE@ enc/ringbuffer.h \
480 @HAVE_BROTLI_FALSE@ enc/static_dict.c \
481 @HAVE_BROTLI_FALSE@ enc/static_dict.h \
482 @HAVE_BROTLI_FALSE@ enc/static_dict_lut.h \
483 @HAVE_BROTLI_FALSE@ enc/utf8_util.c \
484 @HAVE_BROTLI_FALSE@ enc/utf8_util.h \
485 @HAVE_BROTLI_FALSE@ enc/write_bits.h \
486 @HAVE_BROTLI_FALSE@ include/brotli/decode.h \
487 @HAVE_BROTLI_FALSE@ include/brotli/encode.h \
488 @HAVE_BROTLI_FALSE@ include/brotli/port.h \
489 @HAVE_BROTLI_FALSE@ include/brotli/types.h
490
491 @HAVE_BROTLI_FALSE@AM_CFLAGS = -Wall -I$(srcdir)/include
492 EXTRA_DIST = LICENSE
493 CLEANFILES = *.gcda *.gcno
494 all: all-am
495
496 .SUFFIXES:
497 .SUFFIXES: .c .lo .o .obj
498 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
499 @for dep in $?; do \
500 case '$(am__configure_deps)' in \
501 *$$dep*) \
502 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
503 && { if test -f $@; then exit 0; else break; fi; }; \
504 exit 1;; \
505 esac; \
506 done; \
507 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign libs/brotli/Makefile'; \
508 $(am__cd) $(top_srcdir) && \
509 $(AUTOMAKE) --foreign libs/brotli/Makefile
510 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
511 @case '$?' in \
512 *config.status*) \
513 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
514 *) \
515 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
516 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
517 esac;
518
519 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
520 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
521
522 $(top_srcdir)/configure: $(am__configure_deps)
523 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
524 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
525 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
526 $(am__aclocal_m4_deps):
527
528 clean-noinstLIBRARIES:
529 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
530 common/$(am__dirstamp):
531 @$(MKDIR_P) common
532 @: > common/$(am__dirstamp)
533 common/$(DEPDIR)/$(am__dirstamp):
534 @$(MKDIR_P) common/$(DEPDIR)
535 @: > common/$(DEPDIR)/$(am__dirstamp)
536 common/constants.$(OBJEXT): common/$(am__dirstamp) \
537 common/$(DEPDIR)/$(am__dirstamp)
538 common/context.$(OBJEXT): common/$(am__dirstamp) \
539 common/$(DEPDIR)/$(am__dirstamp)
540 common/dictionary.$(OBJEXT): common/$(am__dirstamp) \
541 common/$(DEPDIR)/$(am__dirstamp)
542 common/platform.$(OBJEXT): common/$(am__dirstamp) \
543 common/$(DEPDIR)/$(am__dirstamp)
544 common/transform.$(OBJEXT): common/$(am__dirstamp) \
545 common/$(DEPDIR)/$(am__dirstamp)
546 enc/$(am__dirstamp):
547 @$(MKDIR_P) enc
548 @: > enc/$(am__dirstamp)
549 enc/$(DEPDIR)/$(am__dirstamp):
550 @$(MKDIR_P) enc/$(DEPDIR)
551 @: > enc/$(DEPDIR)/$(am__dirstamp)
552 enc/backward_references.$(OBJEXT): enc/$(am__dirstamp) \
553 enc/$(DEPDIR)/$(am__dirstamp)
554 enc/backward_references_hq.$(OBJEXT): enc/$(am__dirstamp) \
555 enc/$(DEPDIR)/$(am__dirstamp)
556 enc/bit_cost.$(OBJEXT): enc/$(am__dirstamp) \
557 enc/$(DEPDIR)/$(am__dirstamp)
558 enc/block_splitter.$(OBJEXT): enc/$(am__dirstamp) \
559 enc/$(DEPDIR)/$(am__dirstamp)
560 enc/brotli_bit_stream.$(OBJEXT): enc/$(am__dirstamp) \
561 enc/$(DEPDIR)/$(am__dirstamp)
562 enc/cluster.$(OBJEXT): enc/$(am__dirstamp) \
563 enc/$(DEPDIR)/$(am__dirstamp)
564 enc/command.$(OBJEXT): enc/$(am__dirstamp) \
565 enc/$(DEPDIR)/$(am__dirstamp)
566 enc/compress_fragment.$(OBJEXT): enc/$(am__dirstamp) \
567 enc/$(DEPDIR)/$(am__dirstamp)
568 enc/compress_fragment_two_pass.$(OBJEXT): enc/$(am__dirstamp) \
569 enc/$(DEPDIR)/$(am__dirstamp)
570 enc/dictionary_hash.$(OBJEXT): enc/$(am__dirstamp) \
571 enc/$(DEPDIR)/$(am__dirstamp)
572 enc/encode.$(OBJEXT): enc/$(am__dirstamp) \
573 enc/$(DEPDIR)/$(am__dirstamp)
574 enc/encoder_dict.$(OBJEXT): enc/$(am__dirstamp) \
575 enc/$(DEPDIR)/$(am__dirstamp)
576 enc/entropy_encode.$(OBJEXT): enc/$(am__dirstamp) \
577 enc/$(DEPDIR)/$(am__dirstamp)
578 enc/fast_log.$(OBJEXT): enc/$(am__dirstamp) \
579 enc/$(DEPDIR)/$(am__dirstamp)
580 enc/histogram.$(OBJEXT): enc/$(am__dirstamp) \
581 enc/$(DEPDIR)/$(am__dirstamp)
582 enc/literal_cost.$(OBJEXT): enc/$(am__dirstamp) \
583 enc/$(DEPDIR)/$(am__dirstamp)
584 enc/memory.$(OBJEXT): enc/$(am__dirstamp) \
585 enc/$(DEPDIR)/$(am__dirstamp)
586 enc/metablock.$(OBJEXT): enc/$(am__dirstamp) \
587 enc/$(DEPDIR)/$(am__dirstamp)
588 enc/static_dict.$(OBJEXT): enc/$(am__dirstamp) \
589 enc/$(DEPDIR)/$(am__dirstamp)
590 enc/utf8_util.$(OBJEXT): enc/$(am__dirstamp) \
591 enc/$(DEPDIR)/$(am__dirstamp)
592
593 libbrotli.a: $(libbrotli_a_OBJECTS) $(libbrotli_a_DEPENDENCIES) $(EXTRA_libbrotli_a_DEPENDENCIES)
594 $(AM_V_at)-rm -f libbrotli.a
595 $(AM_V_AR)$(libbrotli_a_AR) libbrotli.a $(libbrotli_a_OBJECTS) $(libbrotli_a_LIBADD)
596 $(AM_V_at)$(RANLIB) libbrotli.a
597
598 mostlyclean-compile:
599 -rm -f *.$(OBJEXT)
600 -rm -f common/*.$(OBJEXT)
601 -rm -f enc/*.$(OBJEXT)
602
603 distclean-compile:
604 -rm -f *.tab.c
605
606 @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/constants.Po@am__quote@ # am--include-marker
607 @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/context.Po@am__quote@ # am--include-marker
608 @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/dictionary.Po@am__quote@ # am--include-marker
609 @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/platform.Po@am__quote@ # am--include-marker
610 @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/transform.Po@am__quote@ # am--include-marker
611 @AMDEP_TRUE@@am__include@ @am__quote@enc/$(DEPDIR)/backward_references.Po@am__quote@ # am--include-marker
612 @AMDEP_TRUE@@am__include@ @am__quote@enc/$(DEPDIR)/backward_references_hq.Po@am__quote@ # am--include-marker
613 @AMDEP_TRUE@@am__include@ @am__quote@enc/$(DEPDIR)/bit_cost.Po@am__quote@ # am--include-marker
614 @AMDEP_TRUE@@am__include@ @am__quote@enc/$(DEPDIR)/block_splitter.Po@am__quote@ # am--include-marker
615 @AMDEP_TRUE@@am__include@ @am__quote@enc/$(DEPDIR)/brotli_bit_stream.Po@am__quote@ # am--include-marker
616 @AMDEP_TRUE@@am__include@ @am__quote@enc/$(DEPDIR)/cluster.Po@am__quote@ # am--include-marker
617 @AMDEP_TRUE@@am__include@ @am__quote@enc/$(DEPDIR)/command.Po@am__quote@ # am--include-marker
618 @AMDEP_TRUE@@am__include@ @am__quote@enc/$(DEPDIR)/compress_fragment.Po@am__quote@ # am--include-marker
619 @AMDEP_TRUE@@am__include@ @am__quote@enc/$(DEPDIR)/compress_fragment_two_pass.Po@am__quote@ # am--include-marker
620 @AMDEP_TRUE@@am__include@ @am__quote@enc/$(DEPDIR)/dictionary_hash.Po@am__quote@ # am--include-marker
621 @AMDEP_TRUE@@am__include@ @am__quote@enc/$(DEPDIR)/encode.Po@am__quote@ # am--include-marker
622 @AMDEP_TRUE@@am__include@ @am__quote@enc/$(DEPDIR)/encoder_dict.Po@am__quote@ # am--include-marker
623 @AMDEP_TRUE@@am__include@ @am__quote@enc/$(DEPDIR)/entropy_encode.Po@am__quote@ # am--include-marker
624 @AMDEP_TRUE@@am__include@ @am__quote@enc/$(DEPDIR)/fast_log.Po@am__quote@ # am--include-marker
625 @AMDEP_TRUE@@am__include@ @am__quote@enc/$(DEPDIR)/histogram.Po@am__quote@ # am--include-marker
626 @AMDEP_TRUE@@am__include@ @am__quote@enc/$(DEPDIR)/literal_cost.Po@am__quote@ # am--include-marker
627 @AMDEP_TRUE@@am__include@ @am__quote@enc/$(DEPDIR)/memory.Po@am__quote@ # am--include-marker
628 @AMDEP_TRUE@@am__include@ @am__quote@enc/$(DEPDIR)/metablock.Po@am__quote@ # am--include-marker
629 @AMDEP_TRUE@@am__include@ @am__quote@enc/$(DEPDIR)/static_dict.Po@am__quote@ # am--include-marker
630 @AMDEP_TRUE@@am__include@ @am__quote@enc/$(DEPDIR)/utf8_util.Po@am__quote@ # am--include-marker
631
632 $(am__depfiles_remade):
633 @$(MKDIR_P) $(@D)
634 @echo '# dummy' >$@-t && $(am__mv) $@-t $@
635
636 am--depfiles: $(am__depfiles_remade)
637
638 .c.o:
639 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
640 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
641 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
642 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
643 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
644 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
645
646 .c.obj:
647 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
648 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
649 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
650 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
651 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
652 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
653
654 .c.lo:
655 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
656 @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
657 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
658 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
659 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
660 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
661
662 mostlyclean-libtool:
663 -rm -f *.lo
664
665 clean-libtool:
666 -rm -rf .libs _libs
667
668 ID: $(am__tagged_files)
669 $(am__define_uniq_tagged_files); mkid -fID $$unique
670 tags: tags-am
671 TAGS: tags
672
673 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
674 set x; \
675 here=`pwd`; \
676 $(am__define_uniq_tagged_files); \
677 shift; \
678 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
679 test -n "$$unique" || unique=$$empty_fix; \
680 if test $$# -gt 0; then \
681 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
682 "$$@" $$unique; \
683 else \
684 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
685 $$unique; \
686 fi; \
687 fi
688 ctags: ctags-am
689
690 CTAGS: ctags
691 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
692 $(am__define_uniq_tagged_files); \
693 test -z "$(CTAGS_ARGS)$$unique" \
694 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
695 $$unique
696
697 GTAGS:
698 here=`$(am__cd) $(top_builddir) && pwd` \
699 && $(am__cd) $(top_srcdir) \
700 && gtags -i $(GTAGS_ARGS) "$$here"
701 cscopelist: cscopelist-am
702
703 cscopelist-am: $(am__tagged_files)
704 list='$(am__tagged_files)'; \
705 case "$(srcdir)" in \
706 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
707 *) sdir=$(subdir)/$(srcdir) ;; \
708 esac; \
709 for i in $$list; do \
710 if test -f "$$i"; then \
711 echo "$(subdir)/$$i"; \
712 else \
713 echo "$$sdir/$$i"; \
714 fi; \
715 done >> $(top_builddir)/cscope.files
716
717 distclean-tags:
718 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
719
720 distdir: $(BUILT_SOURCES)
721 $(MAKE) $(AM_MAKEFLAGS) distdir-am
722
723 distdir-am: $(DISTFILES)
724 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
725 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
726 list='$(DISTFILES)'; \
727 dist_files=`for file in $$list; do echo $$file; done | \
728 sed -e "s|^$$srcdirstrip/||;t" \
729 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
730 case $$dist_files in \
731 */*) $(MKDIR_P) `echo "$$dist_files" | \
732 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
733 sort -u` ;; \
734 esac; \
735 for file in $$dist_files; do \
736 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
737 if test -d $$d/$$file; then \
738 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
739 if test -d "$(distdir)/$$file"; then \
740 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
741 fi; \
742 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
743 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
744 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
745 fi; \
746 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
747 else \
748 test -f "$(distdir)/$$file" \
749 || cp -p $$d/$$file "$(distdir)/$$file" \
750 || exit 1; \
751 fi; \
752 done
753 check-am: all-am
754 check: check-am
755 all-am: Makefile $(LIBRARIES)
756 installdirs:
757 install: install-am
758 install-exec: install-exec-am
759 install-data: install-data-am
760 uninstall: uninstall-am
761
762 install-am: all-am
763 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
764
765 installcheck: installcheck-am
766 install-strip:
767 if test -z '$(STRIP)'; then \
768 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
769 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
770 install; \
771 else \
772 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
773 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
774 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
775 fi
776 mostlyclean-generic:
777
778 clean-generic:
779 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
780
781 distclean-generic:
782 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
783 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
784 -rm -f common/$(DEPDIR)/$(am__dirstamp)
785 -rm -f common/$(am__dirstamp)
786 -rm -f enc/$(DEPDIR)/$(am__dirstamp)
787 -rm -f enc/$(am__dirstamp)
788
789 maintainer-clean-generic:
790 @echo "This command is intended for maintainers to use"
791 @echo "it deletes files that may require special tools to rebuild."
792 clean: clean-am
793
794 clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \
795 mostlyclean-am
796
797 distclean: distclean-am
798 -rm -f common/$(DEPDIR)/constants.Po
799 -rm -f common/$(DEPDIR)/context.Po
800 -rm -f common/$(DEPDIR)/dictionary.Po
801 -rm -f common/$(DEPDIR)/platform.Po
802 -rm -f common/$(DEPDIR)/transform.Po
803 -rm -f enc/$(DEPDIR)/backward_references.Po
804 -rm -f enc/$(DEPDIR)/backward_references_hq.Po
805 -rm -f enc/$(DEPDIR)/bit_cost.Po
806 -rm -f enc/$(DEPDIR)/block_splitter.Po
807 -rm -f enc/$(DEPDIR)/brotli_bit_stream.Po
808 -rm -f enc/$(DEPDIR)/cluster.Po
809 -rm -f enc/$(DEPDIR)/command.Po
810 -rm -f enc/$(DEPDIR)/compress_fragment.Po
811 -rm -f enc/$(DEPDIR)/compress_fragment_two_pass.Po
812 -rm -f enc/$(DEPDIR)/dictionary_hash.Po
813 -rm -f enc/$(DEPDIR)/encode.Po
814 -rm -f enc/$(DEPDIR)/encoder_dict.Po
815 -rm -f enc/$(DEPDIR)/entropy_encode.Po
816 -rm -f enc/$(DEPDIR)/fast_log.Po
817 -rm -f enc/$(DEPDIR)/histogram.Po
818 -rm -f enc/$(DEPDIR)/literal_cost.Po
819 -rm -f enc/$(DEPDIR)/memory.Po
820 -rm -f enc/$(DEPDIR)/metablock.Po
821 -rm -f enc/$(DEPDIR)/static_dict.Po
822 -rm -f enc/$(DEPDIR)/utf8_util.Po
823 -rm -f Makefile
824 distclean-am: clean-am distclean-compile distclean-generic \
825 distclean-tags
826
827 dvi: dvi-am
828
829 dvi-am:
830
831 html: html-am
832
833 html-am:
834
835 info: info-am
836
837 info-am:
838
839 install-data-am:
840
841 install-dvi: install-dvi-am
842
843 install-dvi-am:
844
845 install-exec-am:
846
847 install-html: install-html-am
848
849 install-html-am:
850
851 install-info: install-info-am
852
853 install-info-am:
854
855 install-man:
856
857 install-pdf: install-pdf-am
858
859 install-pdf-am:
860
861 install-ps: install-ps-am
862
863 install-ps-am:
864
865 installcheck-am:
866
867 maintainer-clean: maintainer-clean-am
868 -rm -f common/$(DEPDIR)/constants.Po
869 -rm -f common/$(DEPDIR)/context.Po
870 -rm -f common/$(DEPDIR)/dictionary.Po
871 -rm -f common/$(DEPDIR)/platform.Po
872 -rm -f common/$(DEPDIR)/transform.Po
873 -rm -f enc/$(DEPDIR)/backward_references.Po
874 -rm -f enc/$(DEPDIR)/backward_references_hq.Po
875 -rm -f enc/$(DEPDIR)/bit_cost.Po
876 -rm -f enc/$(DEPDIR)/block_splitter.Po
877 -rm -f enc/$(DEPDIR)/brotli_bit_stream.Po
878 -rm -f enc/$(DEPDIR)/cluster.Po
879 -rm -f enc/$(DEPDIR)/command.Po
880 -rm -f enc/$(DEPDIR)/compress_fragment.Po
881 -rm -f enc/$(DEPDIR)/compress_fragment_two_pass.Po
882 -rm -f enc/$(DEPDIR)/dictionary_hash.Po
883 -rm -f enc/$(DEPDIR)/encode.Po
884 -rm -f enc/$(DEPDIR)/encoder_dict.Po
885 -rm -f enc/$(DEPDIR)/entropy_encode.Po
886 -rm -f enc/$(DEPDIR)/fast_log.Po
887 -rm -f enc/$(DEPDIR)/histogram.Po
888 -rm -f enc/$(DEPDIR)/literal_cost.Po
889 -rm -f enc/$(DEPDIR)/memory.Po
890 -rm -f enc/$(DEPDIR)/metablock.Po
891 -rm -f enc/$(DEPDIR)/static_dict.Po
892 -rm -f enc/$(DEPDIR)/utf8_util.Po
893 -rm -f Makefile
894 maintainer-clean-am: distclean-am maintainer-clean-generic
895
896 mostlyclean: mostlyclean-am
897
898 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
899 mostlyclean-libtool
900
901 pdf: pdf-am
902
903 pdf-am:
904
905 ps: ps-am
906
907 ps-am:
908
909 uninstall-am:
910
911 .MAKE: install-am install-strip
912
913 .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
914 clean-generic clean-libtool clean-noinstLIBRARIES \
915 cscopelist-am ctags ctags-am distclean distclean-compile \
916 distclean-generic distclean-libtool distclean-tags distdir dvi \
917 dvi-am html html-am info info-am install install-am \
918 install-data install-data-am install-dvi install-dvi-am \
919 install-exec install-exec-am install-html install-html-am \
920 install-info install-info-am install-man install-pdf \
921 install-pdf-am install-ps install-ps-am install-strip \
922 installcheck installcheck-am installdirs maintainer-clean \
923 maintainer-clean-generic mostlyclean mostlyclean-compile \
924 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
925 tags tags-am uninstall uninstall-am
926
927 .PRECIOUS: Makefile
928
929
930 @HAVE_BROTLI_FALSE@@CODE_COVERAGE_RULES@
931
932 # Tell versions [3.59,3.63) of GNU make to not export all variables.
933 # Otherwise a system limit (for SysV at least) may be exceeded.
934 .NOEXPORT:
+0
-667
libs/clipper/Makefile.in less more
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 VPATH = @srcdir@
17 am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
27 }
28 am__make_running_with_option = \
29 case $${target_option-} in \
30 ?) ;; \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
33 exit 1;; \
34 esac; \
35 has_opt=no; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
39 else \
40 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \
42 bs=\\; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 esac; \
46 fi; \
47 skip_next=no; \
48 strip_trailopt () \
49 { \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 }; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
54 case $$flg in \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
59 -*O?*) strip_trailopt 'O';; \
60 -*l) strip_trailopt 'l'; skip_next=yes;; \
61 -*l?*) strip_trailopt 'l';; \
62 -[dEDm]) skip_next=yes;; \
63 -[JT]) skip_next=yes;; \
64 esac; \
65 case $$flg in \
66 *$$target_option*) has_opt=yes; break;; \
67 esac; \
68 done; \
69 test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
72 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
74 pkglibdir = $(libdir)/@PACKAGE@
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
76 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77 install_sh_DATA = $(install_sh) -c -m 644
78 install_sh_PROGRAM = $(install_sh) -c
79 install_sh_SCRIPT = $(install_sh) -c
80 INSTALL_HEADER = $(INSTALL_DATA)
81 transform = $(program_transform_name)
82 NORMAL_INSTALL = :
83 PRE_INSTALL = :
84 POST_INSTALL = :
85 NORMAL_UNINSTALL = :
86 PRE_UNINSTALL = :
87 POST_UNINSTALL = :
88 build_triplet = @build@
89 host_triplet = @host@
90 target_triplet = @target@
91 subdir = libs/clipper
92 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
93 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
94 $(top_srcdir)/m4/ax_code_coverage.m4 \
95 $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \
96 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
97 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
98 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
99 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
100 $(ACLOCAL_M4)
101 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
102 mkinstalldirs = $(install_sh) -d
103 CONFIG_HEADER = $(top_builddir)/config.h
104 CONFIG_CLEAN_FILES =
105 CONFIG_CLEAN_VPATH_FILES =
106 LIBRARIES = $(noinst_LIBRARIES)
107 ARFLAGS = cru
108 AM_V_AR = $(am__v_AR_@AM_V@)
109 am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
110 am__v_AR_0 = @echo " AR " $@;
111 am__v_AR_1 =
112 libclipper_a_AR = $(AR) $(ARFLAGS)
113 libclipper_a_LIBADD =
114 am_libclipper_a_OBJECTS = clipper.$(OBJEXT)
115 libclipper_a_OBJECTS = $(am_libclipper_a_OBJECTS)
116 AM_V_P = $(am__v_P_@AM_V@)
117 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
118 am__v_P_0 = false
119 am__v_P_1 = :
120 AM_V_GEN = $(am__v_GEN_@AM_V@)
121 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
122 am__v_GEN_0 = @echo " GEN " $@;
123 am__v_GEN_1 =
124 AM_V_at = $(am__v_at_@AM_V@)
125 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
126 am__v_at_0 = @
127 am__v_at_1 =
128 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
129 depcomp = $(SHELL) $(top_srcdir)/depcomp
130 am__maybe_remake_depfiles = depfiles
131 am__depfiles_remade = ./$(DEPDIR)/clipper.Po
132 am__mv = mv -f
133 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
134 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
135 AM_V_lt = $(am__v_lt_@AM_V@)
136 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
137 am__v_lt_0 = --silent
138 am__v_lt_1 =
139 LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
140 $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \
141 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
142 $(AM_CXXFLAGS) $(CXXFLAGS)
143 AM_V_CXX = $(am__v_CXX_@AM_V@)
144 am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
145 am__v_CXX_0 = @echo " CXX " $@;
146 am__v_CXX_1 =
147 CXXLD = $(CXX)
148 CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
149 $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
150 $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
151 AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
152 am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
153 am__v_CXXLD_0 = @echo " CXXLD " $@;
154 am__v_CXXLD_1 =
155 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
156 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
157 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
158 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
159 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
160 $(AM_CFLAGS) $(CFLAGS)
161 AM_V_CC = $(am__v_CC_@AM_V@)
162 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
163 am__v_CC_0 = @echo " CC " $@;
164 am__v_CC_1 =
165 CCLD = $(CC)
166 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
167 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
168 $(AM_LDFLAGS) $(LDFLAGS) -o $@
169 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
170 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
171 am__v_CCLD_0 = @echo " CCLD " $@;
172 am__v_CCLD_1 =
173 SOURCES = $(libclipper_a_SOURCES)
174 DIST_SOURCES = $(libclipper_a_SOURCES)
175 am__can_run_installinfo = \
176 case $$AM_UPDATE_INFO_DIR in \
177 n|no|NO) false;; \
178 *) (install-info --version) >/dev/null 2>&1;; \
179 esac
180 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
181 # Read a list of newline-separated strings from the standard input,
182 # and print each of them once, without duplicates. Input order is
183 # *not* preserved.
184 am__uniquify_input = $(AWK) '\
185 BEGIN { nonempty = 0; } \
186 { items[$$0] = 1; nonempty = 1; } \
187 END { if (nonempty) { for (i in items) print i; }; } \
188 '
189 # Make sure the list of sources is unique. This is necessary because,
190 # e.g., the same source file might be shared among _SOURCES variables
191 # for different programs/libraries.
192 am__define_uniq_tagged_files = \
193 list='$(am__tagged_files)'; \
194 unique=`for i in $$list; do \
195 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
196 done | $(am__uniquify_input)`
197 ETAGS = etags
198 CTAGS = ctags
199 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp
200 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
201 ACLOCAL = @ACLOCAL@
202 AMTAR = @AMTAR@
203 AM_CPPFLAGS = @AM_CPPFLAGS@
204 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
205 AM_LDFLAGS = @AM_LDFLAGS@
206 AR = @AR@
207 ASCIIDOC = @ASCIIDOC@
208 AUTOCONF = @AUTOCONF@
209 AUTOHEADER = @AUTOHEADER@
210 AUTOMAKE = @AUTOMAKE@
211 AWK = @AWK@
212 BROTLI_CFLAGS = @BROTLI_CFLAGS@
213 BROTLI_LIBS = @BROTLI_LIBS@
214 CC = @CC@
215 CCDEPMODE = @CCDEPMODE@
216 CFLAGS = @CFLAGS@
217 CODE_COVERAGE_CFLAGS = @CODE_COVERAGE_CFLAGS@
218 CODE_COVERAGE_CPPFLAGS = @CODE_COVERAGE_CPPFLAGS@
219 CODE_COVERAGE_CXXFLAGS = @CODE_COVERAGE_CXXFLAGS@
220 CODE_COVERAGE_ENABLED = @CODE_COVERAGE_ENABLED@
221 CODE_COVERAGE_LDFLAGS = @CODE_COVERAGE_LDFLAGS@
222 CODE_COVERAGE_LIBS = @CODE_COVERAGE_LIBS@
223 CPP = @CPP@
224 CPPFLAGS = @CPPFLAGS@
225 CXX = @CXX@
226 CXXCPP = @CXXCPP@
227 CXXDEPMODE = @CXXDEPMODE@
228 CXXFLAGS = @CXXFLAGS@
229 CYGPATH_W = @CYGPATH_W@
230 DATE = @DATE@
231 DEFS = @DEFS@
232 DEPDIR = @DEPDIR@
233 DLLTOOL = @DLLTOOL@
234 DSYMUTIL = @DSYMUTIL@
235 DUMPBIN = @DUMPBIN@
236 ECHO_C = @ECHO_C@
237 ECHO_N = @ECHO_N@
238 ECHO_T = @ECHO_T@
239 EGREP = @EGREP@
240 EXEEXT = @EXEEXT@
241 FGREP = @FGREP@
242 FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
243 FREETYPE_LIBS = @FREETYPE_LIBS@
244 GCOV = @GCOV@
245 GENHTML = @GENHTML@
246 GREP = @GREP@
247 HAVE_CXX11 = @HAVE_CXX11@
248 INSTALL = @INSTALL@
249 INSTALL_DATA = @INSTALL_DATA@
250 INSTALL_PROGRAM = @INSTALL_PROGRAM@
251 INSTALL_SCRIPT = @INSTALL_SCRIPT@
252 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
253 KPSE_CFLAGS = @KPSE_CFLAGS@
254 KPSE_LIBS = @KPSE_LIBS@
255 LCOV = @LCOV@
256 LD = @LD@
257 LDFLAGS = @LDFLAGS@
258 LIBCRYPTO_CFLAGS = @LIBCRYPTO_CFLAGS@
259 LIBCRYPTO_LIBS = @LIBCRYPTO_LIBS@
260 LIBOBJS = @LIBOBJS@
261 LIBS = @LIBS@
262 LIBTOOL = @LIBTOOL@
263 LIPO = @LIPO@
264 LN_S = @LN_S@
265 LTLIBOBJS = @LTLIBOBJS@
266 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
267 MAKEINFO = @MAKEINFO@
268 MANIFEST_TOOL = @MANIFEST_TOOL@
269 MKDIR_P = @MKDIR_P@
270 NM = @NM@
271 NMEDIT = @NMEDIT@
272 OBJDUMP = @OBJDUMP@
273 OBJEXT = @OBJEXT@
274 OTOOL = @OTOOL@
275 OTOOL64 = @OTOOL64@
276 PACKAGE = @PACKAGE@
277 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
278 PACKAGE_NAME = @PACKAGE_NAME@
279 PACKAGE_STRING = @PACKAGE_STRING@
280 PACKAGE_TARNAME = @PACKAGE_TARNAME@
281 PACKAGE_URL = @PACKAGE_URL@
282 PACKAGE_VERSION = @PACKAGE_VERSION@
283 PATH_SEPARATOR = @PATH_SEPARATOR@
284 PKG_CONFIG = @PKG_CONFIG@
285 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
286 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
287 RANLIB = @RANLIB@
288 SED = @SED@
289 SET_MAKE = @SET_MAKE@
290 SHELL = @SHELL@
291 STRIP = @STRIP@
292 TTFAUTOHINT_CFLAGS = @TTFAUTOHINT_CFLAGS@
293 TTFAUTOHINT_LIBS = @TTFAUTOHINT_LIBS@
294 VERSION = @VERSION@
295 WOFF2_CFLAGS = @WOFF2_CFLAGS@
296 WOFF2_LIBS = @WOFF2_LIBS@
297 XMLTO = @XMLTO@
298 XSLTPROC = @XSLTPROC@
299 ZLIB_CFLAGS = @ZLIB_CFLAGS@
300 ZLIB_LIBS = @ZLIB_LIBS@
301 abs_builddir = @abs_builddir@
302 abs_srcdir = @abs_srcdir@
303 abs_top_builddir = @abs_top_builddir@
304 abs_top_srcdir = @abs_top_srcdir@
305 ac_ct_AR = @ac_ct_AR@
306 ac_ct_CC = @ac_ct_CC@
307 ac_ct_CXX = @ac_ct_CXX@
308 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
309 am__include = @am__include@
310 am__leading_dot = @am__leading_dot@
311 am__quote = @am__quote@
312 am__tar = @am__tar@
313 am__untar = @am__untar@
314 bindir = @bindir@
315 build = @build@
316 build_alias = @build_alias@
317 build_cpu = @build_cpu@
318 build_os = @build_os@
319 build_vendor = @build_vendor@
320 builddir = @builddir@
321 datadir = @datadir@
322 datarootdir = @datarootdir@
323 docdir = @docdir@
324 dvidir = @dvidir@
325 dvisvgm_srcdir = @dvisvgm_srcdir@
326 exec_prefix = @exec_prefix@
327 host = @host@
328 host_alias = @host_alias@
329 host_cpu = @host_cpu@
330 host_os = @host_os@
331 host_vendor = @host_vendor@
332 htmldir = @htmldir@
333 includedir = @includedir@
334 infodir = @infodir@
335 install_sh = @install_sh@
336 libdir = @libdir@
337 libexecdir = @libexecdir@
338 localedir = @localedir@
339 localstatedir = @localstatedir@
340 mandir = @mandir@
341 mkdir_p = @mkdir_p@
342 oldincludedir = @oldincludedir@
343 pdfdir = @pdfdir@
344 prefix = @prefix@
345 program_transform_name = @program_transform_name@
346 psdir = @psdir@
347 sbindir = @sbindir@
348 sharedstatedir = @sharedstatedir@
349 srcdir = @srcdir@
350 sysconfdir = @sysconfdir@
351 target = @target@
352 target_alias = @target_alias@
353 target_cpu = @target_cpu@
354 target_os = @target_os@
355 target_vendor = @target_vendor@
356 top_build_prefix = @top_build_prefix@
357 top_builddir = @top_builddir@
358 top_srcdir = @top_srcdir@
359 noinst_LIBRARIES = libclipper.a
360 libclipper_a_SOURCES = clipper.cpp clipper.hpp
361 EXTRA_DIST = License.txt
362 AM_CXXFLAGS = -Wall
363 CLEANFILES = *.gcda *.gcno
364 all: all-am
365
366 .SUFFIXES:
367 .SUFFIXES: .cpp .lo .o .obj
368 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
369 @for dep in $?; do \
370 case '$(am__configure_deps)' in \
371 *$$dep*) \
372 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
373 && { if test -f $@; then exit 0; else break; fi; }; \
374 exit 1;; \
375 esac; \
376 done; \
377 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign libs/clipper/Makefile'; \
378 $(am__cd) $(top_srcdir) && \
379 $(AUTOMAKE) --foreign libs/clipper/Makefile
380 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
381 @case '$?' in \
382 *config.status*) \
383 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
384 *) \
385 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
386 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
387 esac;
388
389 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
390 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
391
392 $(top_srcdir)/configure: $(am__configure_deps)
393 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
394 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
395 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
396 $(am__aclocal_m4_deps):
397
398 clean-noinstLIBRARIES:
399 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
400
401 libclipper.a: $(libclipper_a_OBJECTS) $(libclipper_a_DEPENDENCIES) $(EXTRA_libclipper_a_DEPENDENCIES)
402 $(AM_V_at)-rm -f libclipper.a
403 $(AM_V_AR)$(libclipper_a_AR) libclipper.a $(libclipper_a_OBJECTS) $(libclipper_a_LIBADD)
404 $(AM_V_at)$(RANLIB) libclipper.a
405
406 mostlyclean-compile:
407 -rm -f *.$(OBJEXT)
408
409 distclean-compile:
410 -rm -f *.tab.c
411
412 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/clipper.Po@am__quote@ # am--include-marker
413
414 $(am__depfiles_remade):
415 @$(MKDIR_P) $(@D)
416 @echo '# dummy' >$@-t && $(am__mv) $@-t $@
417
418 am--depfiles: $(am__depfiles_remade)
419
420 .cpp.o:
421 @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
422 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
423 @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
424 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
425 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
426 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $<
427
428 .cpp.obj:
429 @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
430 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
431 @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
432 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
433 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
434 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
435
436 .cpp.lo:
437 @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
438 @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
439 @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
440 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
441 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
442 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $<
443
444 mostlyclean-libtool:
445 -rm -f *.lo
446
447 clean-libtool:
448 -rm -rf .libs _libs
449
450 ID: $(am__tagged_files)
451 $(am__define_uniq_tagged_files); mkid -fID $$unique
452 tags: tags-am
453 TAGS: tags
454
455 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
456 set x; \
457 here=`pwd`; \
458 $(am__define_uniq_tagged_files); \
459 shift; \
460 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
461 test -n "$$unique" || unique=$$empty_fix; \
462 if test $$# -gt 0; then \
463 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
464 "$$@" $$unique; \
465 else \
466 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
467 $$unique; \
468 fi; \
469 fi
470 ctags: ctags-am
471
472 CTAGS: ctags
473 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
474 $(am__define_uniq_tagged_files); \
475 test -z "$(CTAGS_ARGS)$$unique" \
476 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
477 $$unique
478
479 GTAGS:
480 here=`$(am__cd) $(top_builddir) && pwd` \
481 && $(am__cd) $(top_srcdir) \
482 && gtags -i $(GTAGS_ARGS) "$$here"
483 cscopelist: cscopelist-am
484
485 cscopelist-am: $(am__tagged_files)
486 list='$(am__tagged_files)'; \
487 case "$(srcdir)" in \
488 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
489 *) sdir=$(subdir)/$(srcdir) ;; \
490 esac; \
491 for i in $$list; do \
492 if test -f "$$i"; then \
493 echo "$(subdir)/$$i"; \
494 else \
495 echo "$$sdir/$$i"; \
496 fi; \
497 done >> $(top_builddir)/cscope.files
498
499 distclean-tags:
500 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
501
502 distdir: $(BUILT_SOURCES)
503 $(MAKE) $(AM_MAKEFLAGS) distdir-am
504
505 distdir-am: $(DISTFILES)
506 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
507 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
508 list='$(DISTFILES)'; \
509 dist_files=`for file in $$list; do echo $$file; done | \
510 sed -e "s|^$$srcdirstrip/||;t" \
511 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
512 case $$dist_files in \
513 */*) $(MKDIR_P) `echo "$$dist_files" | \
514 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
515 sort -u` ;; \
516 esac; \
517 for file in $$dist_files; do \
518 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
519 if test -d $$d/$$file; then \
520 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
521 if test -d "$(distdir)/$$file"; then \
522 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
523 fi; \
524 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
525 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
526 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
527 fi; \
528 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
529 else \
530 test -f "$(distdir)/$$file" \
531 || cp -p $$d/$$file "$(distdir)/$$file" \
532 || exit 1; \
533 fi; \
534 done
535 check-am: all-am
536 check: check-am
537 all-am: Makefile $(LIBRARIES)
538 installdirs:
539 install: install-am
540 install-exec: install-exec-am
541 install-data: install-data-am
542 uninstall: uninstall-am
543
544 install-am: all-am
545 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
546
547 installcheck: installcheck-am
548 install-strip:
549 if test -z '$(STRIP)'; then \
550 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
551 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
552 install; \
553 else \
554 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
555 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
556 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
557 fi
558 mostlyclean-generic:
559
560 clean-generic:
561 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
562
563 distclean-generic:
564 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
565 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
566
567 maintainer-clean-generic:
568 @echo "This command is intended for maintainers to use"
569 @echo "it deletes files that may require special tools to rebuild."
570 clean: clean-am
571
572 clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \
573 mostlyclean-am
574
575 distclean: distclean-am
576 -rm -f ./$(DEPDIR)/clipper.Po
577 -rm -f Makefile
578 distclean-am: clean-am distclean-compile distclean-generic \
579 distclean-tags
580
581 dvi: dvi-am
582
583 dvi-am:
584
585 html: html-am
586
587 html-am:
588
589 info: info-am
590
591 info-am:
592
593 install-data-am:
594
595 install-dvi: install-dvi-am
596
597 install-dvi-am:
598
599 install-exec-am:
600
601 install-html: install-html-am
602
603 install-html-am:
604
605 install-info: install-info-am
606
607 install-info-am:
608
609 install-man:
610
611 install-pdf: install-pdf-am
612
613 install-pdf-am:
614
615 install-ps: install-ps-am
616
617 install-ps-am:
618
619 installcheck-am:
620
621 maintainer-clean: maintainer-clean-am
622 -rm -f ./$(DEPDIR)/clipper.Po
623 -rm -f Makefile
624 maintainer-clean-am: distclean-am maintainer-clean-generic
625
626 mostlyclean: mostlyclean-am
627
628 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
629 mostlyclean-libtool
630
631 pdf: pdf-am
632
633 pdf-am:
634
635 ps: ps-am
636
637 ps-am:
638
639 uninstall-am:
640
641 .MAKE: install-am install-strip
642
643 .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
644 clean-generic clean-libtool clean-noinstLIBRARIES \
645 cscopelist-am ctags ctags-am distclean distclean-compile \
646 distclean-generic distclean-libtool distclean-tags distdir dvi \
647 dvi-am html html-am info info-am install install-am \
648 install-data install-data-am install-dvi install-dvi-am \
649 install-exec install-exec-am install-html install-html-am \
650 install-info install-info-am install-man install-pdf \
651 install-pdf-am install-ps install-ps-am install-strip \
652 installcheck installcheck-am installdirs maintainer-clean \
653 maintainer-clean-generic mostlyclean mostlyclean-compile \
654 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
655 tags tags-am uninstall uninstall-am
656
657 .PRECIOUS: Makefile
658
659
660 clipper.cpp: clipper.hpp
661
662 @CODE_COVERAGE_RULES@
663
664 # Tell versions [3.59,3.63) of GNU make to not export all variables.
665 # Otherwise a system limit (for SysV at least) may be exceeded.
666 .NOEXPORT:
+0
-1084
libs/ff-woff/Makefile.in less more
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 VPATH = @srcdir@
17 am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
27 }
28 am__make_running_with_option = \
29 case $${target_option-} in \
30 ?) ;; \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
33 exit 1;; \
34 esac; \
35 has_opt=no; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
39 else \
40 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \
42 bs=\\; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 esac; \
46 fi; \
47 skip_next=no; \
48 strip_trailopt () \
49 { \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 }; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
54 case $$flg in \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
59 -*O?*) strip_trailopt 'O';; \
60 -*l) strip_trailopt 'l'; skip_next=yes;; \
61 -*l?*) strip_trailopt 'l';; \
62 -[dEDm]) skip_next=yes;; \
63 -[JT]) skip_next=yes;; \
64 esac; \
65 case $$flg in \
66 *$$target_option*) has_opt=yes; break;; \
67 esac; \
68 done; \
69 test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
72 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
74 pkglibdir = $(libdir)/@PACKAGE@
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
76 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77 install_sh_DATA = $(install_sh) -c -m 644
78 install_sh_PROGRAM = $(install_sh) -c
79 install_sh_SCRIPT = $(install_sh) -c
80 INSTALL_HEADER = $(INSTALL_DATA)
81 transform = $(program_transform_name)
82 NORMAL_INSTALL = :
83 PRE_INSTALL = :
84 POST_INSTALL = :
85 NORMAL_UNINSTALL = :
86 PRE_UNINSTALL = :
87 POST_UNINSTALL = :
88 build_triplet = @build@
89 host_triplet = @host@
90 target_triplet = @target@
91 subdir = libs/ff-woff
92 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
93 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
94 $(top_srcdir)/m4/ax_code_coverage.m4 \
95 $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \
96 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
97 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
98 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
99 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
100 $(ACLOCAL_M4)
101 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
102 mkinstalldirs = $(install_sh) -d
103 CONFIG_HEADER = $(top_builddir)/config.h
104 CONFIG_CLEAN_FILES =
105 CONFIG_CLEAN_VPATH_FILES =
106 LIBRARIES = $(noinst_LIBRARIES)
107 ARFLAGS = cru
108 AM_V_AR = $(am__v_AR_@AM_V@)
109 am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
110 am__v_AR_0 = @echo " AR " $@;
111 am__v_AR_1 =
112 libfontforge_a_AR = $(AR) $(ARFLAGS)
113 libfontforge_a_LIBADD =
114 am__dirstamp = $(am__leading_dot)dirstamp
115 am_libfontforge_a_OBJECTS = fontforge/alphabet.$(OBJEXT) \
116 fontforge/asmfpst.$(OBJEXT) fontforge/autohint.$(OBJEXT) \
117 fontforge/char.$(OBJEXT) fontforge/cjk.$(OBJEXT) \
118 fontforge/cvundoes.$(OBJEXT) fontforge/dumppfa.$(OBJEXT) \
119 fontforge/encoding.$(OBJEXT) fontforge/fflocale.$(OBJEXT) \
120 fontforge/fvfonts.$(OBJEXT) fontforge/gwwiconv.$(OBJEXT) \
121 fontforge/lookups.$(OBJEXT) fontforge/macbinary.$(OBJEXT) \
122 fontforge/macenc.$(OBJEXT) fontforge/mathconstants.$(OBJEXT) \
123 fontforge/memory.$(OBJEXT) fontforge/mm.$(OBJEXT) \
124 fontforge/namelist.$(OBJEXT) fontforge/nouiutil.$(OBJEXT) \
125 fontforge/nowakowskittfinstr.$(OBJEXT) \
126 fontforge/parsepfa.$(OBJEXT) fontforge/parsettf.$(OBJEXT) \
127 fontforge/parsettfatt.$(OBJEXT) fontforge/psread.$(OBJEXT) \
128 fontforge/pua.$(OBJEXT) fontforge/sfd.$(OBJEXT) \
129 fontforge/sfd1.$(OBJEXT) fontforge/splinechar.$(OBJEXT) \
130 fontforge/splinefont.$(OBJEXT) \
131 fontforge/splineorder2.$(OBJEXT) \
132 fontforge/splineoverlap.$(OBJEXT) \
133 fontforge/splinerefigure.$(OBJEXT) \
134 fontforge/splinesave.$(OBJEXT) \
135 fontforge/splinesaveafm.$(OBJEXT) \
136 fontforge/splineutil.$(OBJEXT) fontforge/splineutil2.$(OBJEXT) \
137 fontforge/start.$(OBJEXT) fontforge/stemdb.$(OBJEXT) \
138 fontforge/tmpfile2.$(OBJEXT) fontforge/tottf.$(OBJEXT) \
139 fontforge/tottfaat.$(OBJEXT) fontforge/tottfgpos.$(OBJEXT) \
140 fontforge/tottfvar.$(OBJEXT) fontforge/ttfinstrs.$(OBJEXT) \
141 fontforge/ttfspecial.$(OBJEXT) fontforge/unialt.$(OBJEXT) \
142 fontforge/ustring.$(OBJEXT) fontforge/utype.$(OBJEXT) \
143 fontforge/woff.$(OBJEXT)
144 libfontforge_a_OBJECTS = $(am_libfontforge_a_OBJECTS)
145 AM_V_P = $(am__v_P_@AM_V@)
146 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
147 am__v_P_0 = false
148 am__v_P_1 = :
149 AM_V_GEN = $(am__v_GEN_@AM_V@)
150 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
151 am__v_GEN_0 = @echo " GEN " $@;
152 am__v_GEN_1 =
153 AM_V_at = $(am__v_at_@AM_V@)
154 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
155 am__v_at_0 = @
156 am__v_at_1 =
157 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
158 depcomp = $(SHELL) $(top_srcdir)/depcomp
159 am__maybe_remake_depfiles = depfiles
160 am__depfiles_remade = fontforge/$(DEPDIR)/alphabet.Po \
161 fontforge/$(DEPDIR)/asmfpst.Po fontforge/$(DEPDIR)/autohint.Po \
162 fontforge/$(DEPDIR)/char.Po fontforge/$(DEPDIR)/cjk.Po \
163 fontforge/$(DEPDIR)/cvundoes.Po fontforge/$(DEPDIR)/dumppfa.Po \
164 fontforge/$(DEPDIR)/encoding.Po \
165 fontforge/$(DEPDIR)/fflocale.Po fontforge/$(DEPDIR)/fvfonts.Po \
166 fontforge/$(DEPDIR)/gwwiconv.Po fontforge/$(DEPDIR)/lookups.Po \
167 fontforge/$(DEPDIR)/macbinary.Po fontforge/$(DEPDIR)/macenc.Po \
168 fontforge/$(DEPDIR)/mathconstants.Po \
169 fontforge/$(DEPDIR)/memory.Po fontforge/$(DEPDIR)/mm.Po \
170 fontforge/$(DEPDIR)/namelist.Po \
171 fontforge/$(DEPDIR)/nouiutil.Po \
172 fontforge/$(DEPDIR)/nowakowskittfinstr.Po \
173 fontforge/$(DEPDIR)/parsepfa.Po \
174 fontforge/$(DEPDIR)/parsettf.Po \
175 fontforge/$(DEPDIR)/parsettfatt.Po \
176 fontforge/$(DEPDIR)/psread.Po fontforge/$(DEPDIR)/pua.Po \
177 fontforge/$(DEPDIR)/sfd.Po fontforge/$(DEPDIR)/sfd1.Po \
178 fontforge/$(DEPDIR)/splinechar.Po \
179 fontforge/$(DEPDIR)/splinefont.Po \
180 fontforge/$(DEPDIR)/splineorder2.Po \
181 fontforge/$(DEPDIR)/splineoverlap.Po \
182 fontforge/$(DEPDIR)/splinerefigure.Po \
183 fontforge/$(DEPDIR)/splinesave.Po \
184 fontforge/$(DEPDIR)/splinesaveafm.Po \
185 fontforge/$(DEPDIR)/splineutil.Po \
186 fontforge/$(DEPDIR)/splineutil2.Po \
187 fontforge/$(DEPDIR)/start.Po fontforge/$(DEPDIR)/stemdb.Po \
188 fontforge/$(DEPDIR)/tmpfile2.Po fontforge/$(DEPDIR)/tottf.Po \
189 fontforge/$(DEPDIR)/tottfaat.Po \
190 fontforge/$(DEPDIR)/tottfgpos.Po \
191 fontforge/$(DEPDIR)/tottfvar.Po \
192 fontforge/$(DEPDIR)/ttfinstrs.Po \
193 fontforge/$(DEPDIR)/ttfspecial.Po \
194 fontforge/$(DEPDIR)/unialt.Po fontforge/$(DEPDIR)/ustring.Po \
195 fontforge/$(DEPDIR)/utype.Po fontforge/$(DEPDIR)/woff.Po
196 am__mv = mv -f
197 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
198 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
199 AM_V_lt = $(am__v_lt_@AM_V@)
200 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
201 am__v_lt_0 = --silent
202 am__v_lt_1 =
203 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
204 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
205 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
206 $(AM_CFLAGS) $(CFLAGS)
207 AM_V_CC = $(am__v_CC_@AM_V@)
208 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
209 am__v_CC_0 = @echo " CC " $@;
210 am__v_CC_1 =
211 CCLD = $(CC)
212 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
213 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
214 $(AM_LDFLAGS) $(LDFLAGS) -o $@
215 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
216 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
217 am__v_CCLD_0 = @echo " CCLD " $@;
218 am__v_CCLD_1 =
219 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
220 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
221 LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
222 $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \
223 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
224 $(AM_CXXFLAGS) $(CXXFLAGS)
225 AM_V_CXX = $(am__v_CXX_@AM_V@)
226 am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
227 am__v_CXX_0 = @echo " CXX " $@;
228 am__v_CXX_1 =
229 CXXLD = $(CXX)
230 CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
231 $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
232 $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
233 AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
234 am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
235 am__v_CXXLD_0 = @echo " CXXLD " $@;
236 am__v_CXXLD_1 =
237 SOURCES = $(libfontforge_a_SOURCES)
238 DIST_SOURCES = $(libfontforge_a_SOURCES)
239 am__can_run_installinfo = \
240 case $$AM_UPDATE_INFO_DIR in \
241 n|no|NO) false;; \
242 *) (install-info --version) >/dev/null 2>&1;; \
243 esac
244 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
245 # Read a list of newline-separated strings from the standard input,
246 # and print each of them once, without duplicates. Input order is
247 # *not* preserved.
248 am__uniquify_input = $(AWK) '\
249 BEGIN { nonempty = 0; } \
250 { items[$$0] = 1; nonempty = 1; } \
251 END { if (nonempty) { for (i in items) print i; }; } \
252 '
253 # Make sure the list of sources is unique. This is necessary because,
254 # e.g., the same source file might be shared among _SOURCES variables
255 # for different programs/libraries.
256 am__define_uniq_tagged_files = \
257 list='$(am__tagged_files)'; \
258 unique=`for i in $$list; do \
259 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
260 done | $(am__uniquify_input)`
261 ETAGS = etags
262 CTAGS = ctags
263 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp
264 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
265 ACLOCAL = @ACLOCAL@
266 AMTAR = @AMTAR@
267 AM_CPPFLAGS = @AM_CPPFLAGS@
268 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
269 AM_LDFLAGS = @AM_LDFLAGS@
270 AR = @AR@
271 ASCIIDOC = @ASCIIDOC@
272 AUTOCONF = @AUTOCONF@
273 AUTOHEADER = @AUTOHEADER@
274 AUTOMAKE = @AUTOMAKE@
275 AWK = @AWK@
276 BROTLI_CFLAGS = @BROTLI_CFLAGS@
277 BROTLI_LIBS = @BROTLI_LIBS@
278 CC = @CC@
279 CCDEPMODE = @CCDEPMODE@
280 CFLAGS = @CFLAGS@
281 CODE_COVERAGE_CFLAGS = @CODE_COVERAGE_CFLAGS@
282 CODE_COVERAGE_CPPFLAGS = @CODE_COVERAGE_CPPFLAGS@
283 CODE_COVERAGE_CXXFLAGS = @CODE_COVERAGE_CXXFLAGS@
284 CODE_COVERAGE_ENABLED = @CODE_COVERAGE_ENABLED@
285 CODE_COVERAGE_LDFLAGS = @CODE_COVERAGE_LDFLAGS@
286 CODE_COVERAGE_LIBS = @CODE_COVERAGE_LIBS@
287 CPP = @CPP@
288 CPPFLAGS = @CPPFLAGS@
289 CXX = @CXX@
290 CXXCPP = @CXXCPP@
291 CXXDEPMODE = @CXXDEPMODE@
292 CXXFLAGS = @CXXFLAGS@
293 CYGPATH_W = @CYGPATH_W@
294 DATE = @DATE@
295 DEFS = @DEFS@
296 DEPDIR = @DEPDIR@
297 DLLTOOL = @DLLTOOL@
298 DSYMUTIL = @DSYMUTIL@
299 DUMPBIN = @DUMPBIN@
300 ECHO_C = @ECHO_C@
301 ECHO_N = @ECHO_N@
302 ECHO_T = @ECHO_T@
303 EGREP = @EGREP@
304 EXEEXT = @EXEEXT@
305 FGREP = @FGREP@
306 FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
307 FREETYPE_LIBS = @FREETYPE_LIBS@
308 GCOV = @GCOV@
309 GENHTML = @GENHTML@
310 GREP = @GREP@
311 HAVE_CXX11 = @HAVE_CXX11@
312 INSTALL = @INSTALL@
313 INSTALL_DATA = @INSTALL_DATA@
314 INSTALL_PROGRAM = @INSTALL_PROGRAM@
315 INSTALL_SCRIPT = @INSTALL_SCRIPT@
316 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
317 KPSE_CFLAGS = @KPSE_CFLAGS@
318 KPSE_LIBS = @KPSE_LIBS@
319 LCOV = @LCOV@
320 LD = @LD@
321 LDFLAGS = @LDFLAGS@
322 LIBCRYPTO_CFLAGS = @LIBCRYPTO_CFLAGS@
323 LIBCRYPTO_LIBS = @LIBCRYPTO_LIBS@
324 LIBOBJS = @LIBOBJS@
325 LIBS = @LIBS@
326 LIBTOOL = @LIBTOOL@
327 LIPO = @LIPO@
328 LN_S = @LN_S@
329 LTLIBOBJS = @LTLIBOBJS@
330 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
331 MAKEINFO = @MAKEINFO@
332 MANIFEST_TOOL = @MANIFEST_TOOL@
333 MKDIR_P = @MKDIR_P@
334 NM = @NM@
335 NMEDIT = @NMEDIT@
336 OBJDUMP = @OBJDUMP@
337 OBJEXT = @OBJEXT@
338 OTOOL = @OTOOL@
339 OTOOL64 = @OTOOL64@
340 PACKAGE = @PACKAGE@
341 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
342 PACKAGE_NAME = @PACKAGE_NAME@
343 PACKAGE_STRING = @PACKAGE_STRING@
344 PACKAGE_TARNAME = @PACKAGE_TARNAME@
345 PACKAGE_URL = @PACKAGE_URL@
346 PACKAGE_VERSION = @PACKAGE_VERSION@
347 PATH_SEPARATOR = @PATH_SEPARATOR@
348 PKG_CONFIG = @PKG_CONFIG@
349 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
350 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
351 RANLIB = @RANLIB@
352 SED = @SED@
353 SET_MAKE = @SET_MAKE@
354 SHELL = @SHELL@
355 STRIP = @STRIP@
356 TTFAUTOHINT_CFLAGS = @TTFAUTOHINT_CFLAGS@
357 TTFAUTOHINT_LIBS = @TTFAUTOHINT_LIBS@
358 VERSION = @VERSION@
359 WOFF2_CFLAGS = @WOFF2_CFLAGS@
360 WOFF2_LIBS = @WOFF2_LIBS@
361 XMLTO = @XMLTO@
362 XSLTPROC = @XSLTPROC@
363 ZLIB_CFLAGS = @ZLIB_CFLAGS@
364 ZLIB_LIBS = @ZLIB_LIBS@
365 abs_builddir = @abs_builddir@
366 abs_srcdir = @abs_srcdir@
367 abs_top_builddir = @abs_top_builddir@
368 abs_top_srcdir = @abs_top_srcdir@
369 ac_ct_AR = @ac_ct_AR@
370 ac_ct_CC = @ac_ct_CC@
371 ac_ct_CXX = @ac_ct_CXX@
372 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
373 am__include = @am__include@
374 am__leading_dot = @am__leading_dot@
375 am__quote = @am__quote@
376 am__tar = @am__tar@
377 am__untar = @am__untar@
378 bindir = @bindir@
379 build = @build@
380 build_alias = @build_alias@
381 build_cpu = @build_cpu@
382 build_os = @build_os@
383 build_vendor = @build_vendor@
384 builddir = @builddir@
385 datadir = @datadir@
386 datarootdir = @datarootdir@
387 docdir = @docdir@
388 dvidir = @dvidir@
389 dvisvgm_srcdir = @dvisvgm_srcdir@
390 exec_prefix = @exec_prefix@
391 host = @host@
392 host_alias = @host_alias@
393 host_cpu = @host_cpu@
394 host_os = @host_os@
395 host_vendor = @host_vendor@
396 htmldir = @htmldir@
397 includedir = @includedir@
398 infodir = @infodir@
399 install_sh = @install_sh@
400 libdir = @libdir@
401 libexecdir = @libexecdir@
402 localedir = @localedir@
403 localstatedir = @localstatedir@
404 mandir = @mandir@
405 mkdir_p = @mkdir_p@
406 oldincludedir = @oldincludedir@
407 pdfdir = @pdfdir@
408 prefix = @prefix@
409 program_transform_name = @program_transform_name@
410 psdir = @psdir@
411 sbindir = @sbindir@
412 sharedstatedir = @sharedstatedir@
413 srcdir = @srcdir@
414 sysconfdir = @sysconfdir@
415 target = @target@
416 target_alias = @target_alias@
417 target_cpu = @target_cpu@
418 target_os = @target_os@
419 target_vendor = @target_vendor@
420 top_build_prefix = @top_build_prefix@
421 top_builddir = @top_builddir@
422 top_srcdir = @top_srcdir@
423 noinst_LIBRARIES = libfontforge.a
424 libfontforge_a_SOURCES = \
425 fontforge/PfEd.h \
426 fontforge/alphabet.c \
427 fontforge/asmfpst.c \
428 fontforge/autohint.c \
429 fontforge/char.c \
430 fontforge/cjk.c \
431 fontforge/configure-fontforge.h \
432 fontforge/cvundoes.c \
433 fontforge/dumppfa.c \
434 fontforge/edgelist.h \
435 fontforge/edgelist2.h \
436 fontforge/encoding.c \
437 fontforge/encoding.h \
438 fontforge/fflocale.c \
439 fontforge/fflocale.h \
440 fontforge/fontforge-config.h \
441 fontforge/fontforge.h \
442 fontforge/fontforgevw.h \
443 fontforge/fvfonts.c \
444 fontforge/gwwiconv.c \
445 fontforge/libffstamp.h \
446 fontforge/lookups.c \
447 fontforge/macbinary.c \
448 fontforge/macenc.c \
449 fontforge/mathconstants.c \
450 fontforge/memory.c \
451 fontforge/mm.c \
452 fontforge/namehash.h \
453 fontforge/namelist.c \
454 fontforge/nouiutil.c \
455 fontforge/nowakowskittfinstr.c \
456 fontforge/parsepfa.c \
457 fontforge/parsettf.c \
458 fontforge/parsettfatt.c \
459 fontforge/psfont.h \
460 fontforge/psread.c \
461 fontforge/pua.c \
462 fontforge/sd.h \
463 fontforge/sfd.c \
464 fontforge/sfd1.c \
465 fontforge/sfd1.h \
466 fontforge/splinechar.c \
467 fontforge/splinefont.c \
468 fontforge/splinefont.h \
469 fontforge/splineorder2.c \
470 fontforge/splineoverlap.c \
471 fontforge/splinerefigure.c \
472 fontforge/splinesave.c \
473 fontforge/splinesaveafm.c \
474 fontforge/splineutil.c \
475 fontforge/splineutil2.c \
476 fontforge/start.c \
477 fontforge/stemdb.c \
478 fontforge/stemdb.h \
479 fontforge/tables.h \
480 fontforge/tmpfile2.cpp \
481 fontforge/tottf.c \
482 fontforge/tottfaat.c \
483 fontforge/tottfgpos.c \
484 fontforge/tottfvar.c \
485 fontforge/ttf.h \
486 fontforge/ttfinstrs.c \
487 fontforge/ttfinstrs.h \
488 fontforge/ttfspecial.c \
489 fontforge/uiinterface.h \
490 fontforge/unialt.c \
491 fontforge/ustring.c \
492 fontforge/utype.c \
493 fontforge/woff.c \
494 inc/basics.h \
495 inc/chardata.h \
496 inc/charset.h \
497 inc/dlist.h \
498 inc/ffintl.h \
499 inc/gimage.h \
500 inc/gnetwork.h \
501 inc/gwwiconv.h \
502 inc/ustring.h \
503 inc/utype.h
504
505 EXTRA_DIST = LICENSE
506 AM_CFLAGS = -I$(srcdir)/inc -I$(srcdir)/fontforge $(ZLIB_CFLAGS)
507 CLEANFILES = *.gcda *.gcno
508 all: all-am
509
510 .SUFFIXES:
511 .SUFFIXES: .c .cpp .lo .o .obj
512 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
513 @for dep in $?; do \
514 case '$(am__configure_deps)' in \
515 *$$dep*) \
516 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
517 && { if test -f $@; then exit 0; else break; fi; }; \
518 exit 1;; \
519 esac; \
520 done; \
521 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign libs/ff-woff/Makefile'; \
522 $(am__cd) $(top_srcdir) && \
523 $(AUTOMAKE) --foreign libs/ff-woff/Makefile
524 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
525 @case '$?' in \
526 *config.status*) \
527 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
528 *) \
529 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
530 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
531 esac;
532
533 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
534 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
535
536 $(top_srcdir)/configure: $(am__configure_deps)
537 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
538 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
539 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
540 $(am__aclocal_m4_deps):
541
542 clean-noinstLIBRARIES:
543 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
544 fontforge/$(am__dirstamp):
545 @$(MKDIR_P) fontforge
546 @: > fontforge/$(am__dirstamp)
547 fontforge/$(DEPDIR)/$(am__dirstamp):
548 @$(MKDIR_P) fontforge/$(DEPDIR)
549 @: > fontforge/$(DEPDIR)/$(am__dirstamp)
550 fontforge/alphabet.$(OBJEXT): fontforge/$(am__dirstamp) \
551 fontforge/$(DEPDIR)/$(am__dirstamp)
552 fontforge/asmfpst.$(OBJEXT): fontforge/$(am__dirstamp) \
553 fontforge/$(DEPDIR)/$(am__dirstamp)
554 fontforge/autohint.$(OBJEXT): fontforge/$(am__dirstamp) \
555 fontforge/$(DEPDIR)/$(am__dirstamp)
556 fontforge/char.$(OBJEXT): fontforge/$(am__dirstamp) \
557 fontforge/$(DEPDIR)/$(am__dirstamp)
558 fontforge/cjk.$(OBJEXT): fontforge/$(am__dirstamp) \
559 fontforge/$(DEPDIR)/$(am__dirstamp)
560 fontforge/cvundoes.$(OBJEXT): fontforge/$(am__dirstamp) \
561 fontforge/$(DEPDIR)/$(am__dirstamp)
562 fontforge/dumppfa.$(OBJEXT): fontforge/$(am__dirstamp) \
563 fontforge/$(DEPDIR)/$(am__dirstamp)
564 fontforge/encoding.$(OBJEXT): fontforge/$(am__dirstamp) \
565 fontforge/$(DEPDIR)/$(am__dirstamp)
566 fontforge/fflocale.$(OBJEXT): fontforge/$(am__dirstamp) \
567 fontforge/$(DEPDIR)/$(am__dirstamp)
568 fontforge/fvfonts.$(OBJEXT): fontforge/$(am__dirstamp) \
569 fontforge/$(DEPDIR)/$(am__dirstamp)
570 fontforge/gwwiconv.$(OBJEXT): fontforge/$(am__dirstamp) \
571 fontforge/$(DEPDIR)/$(am__dirstamp)
572 fontforge/lookups.$(OBJEXT): fontforge/$(am__dirstamp) \
573 fontforge/$(DEPDIR)/$(am__dirstamp)
574 fontforge/macbinary.$(OBJEXT): fontforge/$(am__dirstamp) \
575 fontforge/$(DEPDIR)/$(am__dirstamp)
576 fontforge/macenc.$(OBJEXT): fontforge/$(am__dirstamp) \
577 fontforge/$(DEPDIR)/$(am__dirstamp)
578 fontforge/mathconstants.$(OBJEXT): fontforge/$(am__dirstamp) \
579 fontforge/$(DEPDIR)/$(am__dirstamp)
580 fontforge/memory.$(OBJEXT): fontforge/$(am__dirstamp) \
581 fontforge/$(DEPDIR)/$(am__dirstamp)
582 fontforge/mm.$(OBJEXT): fontforge/$(am__dirstamp) \
583 fontforge/$(DEPDIR)/$(am__dirstamp)
584 fontforge/namelist.$(OBJEXT): fontforge/$(am__dirstamp) \
585 fontforge/$(DEPDIR)/$(am__dirstamp)
586 fontforge/nouiutil.$(OBJEXT): fontforge/$(am__dirstamp) \
587 fontforge/$(DEPDIR)/$(am__dirstamp)
588 fontforge/nowakowskittfinstr.$(OBJEXT): fontforge/$(am__dirstamp) \
589 fontforge/$(DEPDIR)/$(am__dirstamp)
590 fontforge/parsepfa.$(OBJEXT): fontforge/$(am__dirstamp) \
591 fontforge/$(DEPDIR)/$(am__dirstamp)
592 fontforge/parsettf.$(OBJEXT): fontforge/$(am__dirstamp) \
593 fontforge/$(DEPDIR)/$(am__dirstamp)
594 fontforge/parsettfatt.$(OBJEXT): fontforge/$(am__dirstamp) \
595 fontforge/$(DEPDIR)/$(am__dirstamp)
596 fontforge/psread.$(OBJEXT): fontforge/$(am__dirstamp) \
597 fontforge/$(DEPDIR)/$(am__dirstamp)
598 fontforge/pua.$(OBJEXT): fontforge/$(am__dirstamp) \
599 fontforge/$(DEPDIR)/$(am__dirstamp)
600 fontforge/sfd.$(OBJEXT): fontforge/$(am__dirstamp) \
601 fontforge/$(DEPDIR)/$(am__dirstamp)
602 fontforge/sfd1.$(OBJEXT): fontforge/$(am__dirstamp) \
603 fontforge/$(DEPDIR)/$(am__dirstamp)
604 fontforge/splinechar.$(OBJEXT): fontforge/$(am__dirstamp) \
605 fontforge/$(DEPDIR)/$(am__dirstamp)
606 fontforge/splinefont.$(OBJEXT): fontforge/$(am__dirstamp) \
607 fontforge/$(DEPDIR)/$(am__dirstamp)
608 fontforge/splineorder2.$(OBJEXT): fontforge/$(am__dirstamp) \
609 fontforge/$(DEPDIR)/$(am__dirstamp)
610 fontforge/splineoverlap.$(OBJEXT): fontforge/$(am__dirstamp) \
611 fontforge/$(DEPDIR)/$(am__dirstamp)
612 fontforge/splinerefigure.$(OBJEXT): fontforge/$(am__dirstamp) \
613 fontforge/$(DEPDIR)/$(am__dirstamp)
614 fontforge/splinesave.$(OBJEXT): fontforge/$(am__dirstamp) \
615 fontforge/$(DEPDIR)/$(am__dirstamp)
616 fontforge/splinesaveafm.$(OBJEXT): fontforge/$(am__dirstamp) \
617 fontforge/$(DEPDIR)/$(am__dirstamp)
618 fontforge/splineutil.$(OBJEXT): fontforge/$(am__dirstamp) \
619 fontforge/$(DEPDIR)/$(am__dirstamp)
620 fontforge/splineutil2.$(OBJEXT): fontforge/$(am__dirstamp) \
621 fontforge/$(DEPDIR)/$(am__dirstamp)
622 fontforge/start.$(OBJEXT): fontforge/$(am__dirstamp) \
623 fontforge/$(DEPDIR)/$(am__dirstamp)
624 fontforge/stemdb.$(OBJEXT): fontforge/$(am__dirstamp) \
625 fontforge/$(DEPDIR)/$(am__dirstamp)
626 fontforge/tmpfile2.$(OBJEXT): fontforge/$(am__dirstamp) \
627 fontforge/$(DEPDIR)/$(am__dirstamp)
628 fontforge/tottf.$(OBJEXT): fontforge/$(am__dirstamp) \
629 fontforge/$(DEPDIR)/$(am__dirstamp)
630 fontforge/tottfaat.$(OBJEXT): fontforge/$(am__dirstamp) \
631 fontforge/$(DEPDIR)/$(am__dirstamp)
632 fontforge/tottfgpos.$(OBJEXT): fontforge/$(am__dirstamp) \
633 fontforge/$(DEPDIR)/$(am__dirstamp)
634 fontforge/tottfvar.$(OBJEXT): fontforge/$(am__dirstamp) \
635 fontforge/$(DEPDIR)/$(am__dirstamp)
636 fontforge/ttfinstrs.$(OBJEXT): fontforge/$(am__dirstamp) \
637 fontforge/$(DEPDIR)/$(am__dirstamp)
638 fontforge/ttfspecial.$(OBJEXT): fontforge/$(am__dirstamp) \
639 fontforge/$(DEPDIR)/$(am__dirstamp)
640 fontforge/unialt.$(OBJEXT): fontforge/$(am__dirstamp) \
641 fontforge/$(DEPDIR)/$(am__dirstamp)
642 fontforge/ustring.$(OBJEXT): fontforge/$(am__dirstamp) \
643 fontforge/$(DEPDIR)/$(am__dirstamp)
644 fontforge/utype.$(OBJEXT): fontforge/$(am__dirstamp) \
645 fontforge/$(DEPDIR)/$(am__dirstamp)
646 fontforge/woff.$(OBJEXT): fontforge/$(am__dirstamp) \
647 fontforge/$(DEPDIR)/$(am__dirstamp)
648
649 libfontforge.a: $(libfontforge_a_OBJECTS) $(libfontforge_a_DEPENDENCIES) $(EXTRA_libfontforge_a_DEPENDENCIES)
650 $(AM_V_at)-rm -f libfontforge.a
651 $(AM_V_AR)$(libfontforge_a_AR) libfontforge.a $(libfontforge_a_OBJECTS) $(libfontforge_a_LIBADD)
652 $(AM_V_at)$(RANLIB) libfontforge.a
653
654 mostlyclean-compile:
655 -rm -f *.$(OBJEXT)
656 -rm -f fontforge/*.$(OBJEXT)
657
658 distclean-compile:
659 -rm -f *.tab.c
660
661 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/alphabet.Po@am__quote@ # am--include-marker
662 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/asmfpst.Po@am__quote@ # am--include-marker
663 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/autohint.Po@am__quote@ # am--include-marker
664 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/char.Po@am__quote@ # am--include-marker
665 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/cjk.Po@am__quote@ # am--include-marker
666 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/cvundoes.Po@am__quote@ # am--include-marker
667 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/dumppfa.Po@am__quote@ # am--include-marker
668 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/encoding.Po@am__quote@ # am--include-marker
669 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/fflocale.Po@am__quote@ # am--include-marker
670 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/fvfonts.Po@am__quote@ # am--include-marker
671 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/gwwiconv.Po@am__quote@ # am--include-marker
672 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/lookups.Po@am__quote@ # am--include-marker
673 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/macbinary.Po@am__quote@ # am--include-marker
674 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/macenc.Po@am__quote@ # am--include-marker
675 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/mathconstants.Po@am__quote@ # am--include-marker
676 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/memory.Po@am__quote@ # am--include-marker
677 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/mm.Po@am__quote@ # am--include-marker
678 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/namelist.Po@am__quote@ # am--include-marker
679 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/nouiutil.Po@am__quote@ # am--include-marker
680 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/nowakowskittfinstr.Po@am__quote@ # am--include-marker
681 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/parsepfa.Po@am__quote@ # am--include-marker
682 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/parsettf.Po@am__quote@ # am--include-marker
683 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/parsettfatt.Po@am__quote@ # am--include-marker
684 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/psread.Po@am__quote@ # am--include-marker
685 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/pua.Po@am__quote@ # am--include-marker
686 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/sfd.Po@am__quote@ # am--include-marker
687 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/sfd1.Po@am__quote@ # am--include-marker
688 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/splinechar.Po@am__quote@ # am--include-marker
689 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/splinefont.Po@am__quote@ # am--include-marker
690 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/splineorder2.Po@am__quote@ # am--include-marker
691 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/splineoverlap.Po@am__quote@ # am--include-marker
692 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/splinerefigure.Po@am__quote@ # am--include-marker
693 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/splinesave.Po@am__quote@ # am--include-marker
694 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/splinesaveafm.Po@am__quote@ # am--include-marker
695 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/splineutil.Po@am__quote@ # am--include-marker
696 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/splineutil2.Po@am__quote@ # am--include-marker
697 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/start.Po@am__quote@ # am--include-marker
698 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/stemdb.Po@am__quote@ # am--include-marker
699 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/tmpfile2.Po@am__quote@ # am--include-marker
700 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/tottf.Po@am__quote@ # am--include-marker
701 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/tottfaat.Po@am__quote@ # am--include-marker
702 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/tottfgpos.Po@am__quote@ # am--include-marker
703 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/tottfvar.Po@am__quote@ # am--include-marker
704 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/ttfinstrs.Po@am__quote@ # am--include-marker
705 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/ttfspecial.Po@am__quote@ # am--include-marker
706 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/unialt.Po@am__quote@ # am--include-marker
707 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/ustring.Po@am__quote@ # am--include-marker
708 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/utype.Po@am__quote@ # am--include-marker
709 @AMDEP_TRUE@@am__include@ @am__quote@fontforge/$(DEPDIR)/woff.Po@am__quote@ # am--include-marker
710
711 $(am__depfiles_remade):
712 @$(MKDIR_P) $(@D)
713 @echo '# dummy' >$@-t && $(am__mv) $@-t $@
714
715 am--depfiles: $(am__depfiles_remade)
716
717 .c.o:
718 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
719 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
720 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
721 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
722 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
723 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
724
725 .c.obj:
726 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
727 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
728 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
729 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
730 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
731 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
732
733 .c.lo:
734 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
735 @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
736 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
737 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
738 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
739 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
740
741 .cpp.o:
742 @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
743 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
744 @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
745 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
746 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
747 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $<
748
749 .cpp.obj:
750 @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
751 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
752 @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
753 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
754 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
755 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
756
757 .cpp.lo:
758 @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
759 @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
760 @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
761 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
762 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
763 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $<
764
765 mostlyclean-libtool:
766 -rm -f *.lo
767
768 clean-libtool:
769 -rm -rf .libs _libs
770
771 ID: $(am__tagged_files)
772 $(am__define_uniq_tagged_files); mkid -fID $$unique
773 tags: tags-am
774 TAGS: tags
775
776 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
777 set x; \
778 here=`pwd`; \
779 $(am__define_uniq_tagged_files); \
780 shift; \
781 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
782 test -n "$$unique" || unique=$$empty_fix; \
783 if test $$# -gt 0; then \
784 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
785 "$$@" $$unique; \
786 else \
787 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
788 $$unique; \
789 fi; \
790 fi
791 ctags: ctags-am
792
793 CTAGS: ctags
794 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
795 $(am__define_uniq_tagged_files); \
796 test -z "$(CTAGS_ARGS)$$unique" \
797 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
798 $$unique
799
800 GTAGS:
801 here=`$(am__cd) $(top_builddir) && pwd` \
802 && $(am__cd) $(top_srcdir) \
803 && gtags -i $(GTAGS_ARGS) "$$here"
804 cscopelist: cscopelist-am
805
806 cscopelist-am: $(am__tagged_files)
807 list='$(am__tagged_files)'; \
808 case "$(srcdir)" in \
809 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
810 *) sdir=$(subdir)/$(srcdir) ;; \
811 esac; \
812 for i in $$list; do \
813 if test -f "$$i"; then \
814 echo "$(subdir)/$$i"; \
815 else \
816 echo "$$sdir/$$i"; \
817 fi; \
818 done >> $(top_builddir)/cscope.files
819
820 distclean-tags:
821 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
822
823 distdir: $(BUILT_SOURCES)
824 $(MAKE) $(AM_MAKEFLAGS) distdir-am
825
826 distdir-am: $(DISTFILES)
827 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
828 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
829 list='$(DISTFILES)'; \
830 dist_files=`for file in $$list; do echo $$file; done | \
831 sed -e "s|^$$srcdirstrip/||;t" \
832 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
833 case $$dist_files in \
834 */*) $(MKDIR_P) `echo "$$dist_files" | \
835 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
836 sort -u` ;; \
837 esac; \
838 for file in $$dist_files; do \
839 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
840 if test -d $$d/$$file; then \
841 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
842 if test -d "$(distdir)/$$file"; then \
843 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
844 fi; \
845 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
846 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
847 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
848 fi; \
849 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
850 else \
851 test -f "$(distdir)/$$file" \
852 || cp -p $$d/$$file "$(distdir)/$$file" \
853 || exit 1; \
854 fi; \
855 done
856 check-am: all-am
857 check: check-am
858 all-am: Makefile $(LIBRARIES)
859 installdirs:
860 install: install-am
861 install-exec: install-exec-am
862 install-data: install-data-am
863 uninstall: uninstall-am
864
865 install-am: all-am
866 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
867
868 installcheck: installcheck-am
869 install-strip:
870 if test -z '$(STRIP)'; then \
871 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
872 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
873 install; \
874 else \
875 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
876 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
877 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
878 fi
879 mostlyclean-generic:
880
881 clean-generic:
882 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
883
884 distclean-generic:
885 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
886 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
887 -rm -f fontforge/$(DEPDIR)/$(am__dirstamp)
888 -rm -f fontforge/$(am__dirstamp)
889
890 maintainer-clean-generic:
891 @echo "This command is intended for maintainers to use"
892 @echo "it deletes files that may require special tools to rebuild."
893 clean: clean-am
894
895 clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \
896 mostlyclean-am
897
898 distclean: distclean-am
899 -rm -f fontforge/$(DEPDIR)/alphabet.Po
900 -rm -f fontforge/$(DEPDIR)/asmfpst.Po
901 -rm -f fontforge/$(DEPDIR)/autohint.Po
902 -rm -f fontforge/$(DEPDIR)/char.Po
903 -rm -f fontforge/$(DEPDIR)/cjk.Po
904 -rm -f fontforge/$(DEPDIR)/cvundoes.Po
905 -rm -f fontforge/$(DEPDIR)/dumppfa.Po
906 -rm -f fontforge/$(DEPDIR)/encoding.Po
907 -rm -f fontforge/$(DEPDIR)/fflocale.Po
908 -rm -f fontforge/$(DEPDIR)/fvfonts.Po
909 -rm -f fontforge/$(DEPDIR)/gwwiconv.Po
910 -rm -f fontforge/$(DEPDIR)/lookups.Po
911 -rm -f fontforge/$(DEPDIR)/macbinary.Po
912 -rm -f fontforge/$(DEPDIR)/macenc.Po
913 -rm -f fontforge/$(DEPDIR)/mathconstants.Po
914 -rm -f fontforge/$(DEPDIR)/memory.Po
915 -rm -f fontforge/$(DEPDIR)/mm.Po
916 -rm -f fontforge/$(DEPDIR)/namelist.Po
917 -rm -f fontforge/$(DEPDIR)/nouiutil.Po
918 -rm -f fontforge/$(DEPDIR)/nowakowskittfinstr.Po
919 -rm -f fontforge/$(DEPDIR)/parsepfa.Po
920 -rm -f fontforge/$(DEPDIR)/parsettf.Po
921 -rm -f fontforge/$(DEPDIR)/parsettfatt.Po
922 -rm -f fontforge/$(DEPDIR)/psread.Po
923 -rm -f fontforge/$(DEPDIR)/pua.Po
924 -rm -f fontforge/$(DEPDIR)/sfd.Po
925 -rm -f fontforge/$(DEPDIR)/sfd1.Po
926 -rm -f fontforge/$(DEPDIR)/splinechar.Po
927 -rm -f fontforge/$(DEPDIR)/splinefont.Po
928 -rm -f fontforge/$(DEPDIR)/splineorder2.Po
929 -rm -f fontforge/$(DEPDIR)/splineoverlap.Po
930 -rm -f fontforge/$(DEPDIR)/splinerefigure.Po
931 -rm -f fontforge/$(DEPDIR)/splinesave.Po
932 -rm -f fontforge/$(DEPDIR)/splinesaveafm.Po
933 -rm -f fontforge/$(DEPDIR)/splineutil.Po
934 -rm -f fontforge/$(DEPDIR)/splineutil2.Po
935 -rm -f fontforge/$(DEPDIR)/start.Po
936 -rm -f fontforge/$(DEPDIR)/stemdb.Po
937 -rm -f fontforge/$(DEPDIR)/tmpfile2.Po
938 -rm -f fontforge/$(DEPDIR)/tottf.Po
939 -rm -f fontforge/$(DEPDIR)/tottfaat.Po
940 -rm -f fontforge/$(DEPDIR)/tottfgpos.Po
941 -rm -f fontforge/$(DEPDIR)/tottfvar.Po
942 -rm -f fontforge/$(DEPDIR)/ttfinstrs.Po
943 -rm -f fontforge/$(DEPDIR)/ttfspecial.Po
944 -rm -f fontforge/$(DEPDIR)/unialt.Po
945 -rm -f fontforge/$(DEPDIR)/ustring.Po
946 -rm -f fontforge/$(DEPDIR)/utype.Po
947 -rm -f fontforge/$(DEPDIR)/woff.Po
948 -rm -f Makefile
949 distclean-am: clean-am distclean-compile distclean-generic \
950 distclean-tags
951
952 dvi: dvi-am
953
954 dvi-am:
955
956 html: html-am
957
958 html-am:
959
960 info: info-am
961
962 info-am:
963
964 install-data-am:
965
966 install-dvi: install-dvi-am
967
968 install-dvi-am:
969
970 install-exec-am:
971
972 install-html: install-html-am
973
974 install-html-am:
975
976 install-info: install-info-am
977
978 install-info-am:
979
980 install-man:
981
982 install-pdf: install-pdf-am
983
984 install-pdf-am:
985
986 install-ps: install-ps-am
987
988 install-ps-am:
989
990 installcheck-am:
991
992 maintainer-clean: maintainer-clean-am
993 -rm -f fontforge/$(DEPDIR)/alphabet.Po
994 -rm -f fontforge/$(DEPDIR)/asmfpst.Po
995 -rm -f fontforge/$(DEPDIR)/autohint.Po
996 -rm -f fontforge/$(DEPDIR)/char.Po
997 -rm -f fontforge/$(DEPDIR)/cjk.Po
998 -rm -f fontforge/$(DEPDIR)/cvundoes.Po
999 -rm -f fontforge/$(DEPDIR)/dumppfa.Po
1000 -rm -f fontforge/$(DEPDIR)/encoding.Po
1001 -rm -f fontforge/$(DEPDIR)/fflocale.Po
1002 -rm -f fontforge/$(DEPDIR)/fvfonts.Po
1003 -rm -f fontforge/$(DEPDIR)/gwwiconv.Po
1004 -rm -f fontforge/$(DEPDIR)/lookups.Po
1005 -rm -f fontforge/$(DEPDIR)/macbinary.Po
1006 -rm -f fontforge/$(DEPDIR)/macenc.Po
1007 -rm -f fontforge/$(DEPDIR)/mathconstants.Po
1008 -rm -f fontforge/$(DEPDIR)/memory.Po
1009 -rm -f fontforge/$(DEPDIR)/mm.Po
1010 -rm -f fontforge/$(DEPDIR)/namelist.Po
1011 -rm -f fontforge/$(DEPDIR)/nouiutil.Po
1012 -rm -f fontforge/$(DEPDIR)/nowakowskittfinstr.Po
1013 -rm -f fontforge/$(DEPDIR)/parsepfa.Po
1014 -rm -f fontforge/$(DEPDIR)/parsettf.Po
1015 -rm -f fontforge/$(DEPDIR)/parsettfatt.Po
1016 -rm -f fontforge/$(DEPDIR)/psread.Po
1017 -rm -f fontforge/$(DEPDIR)/pua.Po
1018 -rm -f fontforge/$(DEPDIR)/sfd.Po
1019 -rm -f fontforge/$(DEPDIR)/sfd1.Po
1020 -rm -f fontforge/$(DEPDIR)/splinechar.Po
1021 -rm -f fontforge/$(DEPDIR)/splinefont.Po
1022 -rm -f fontforge/$(DEPDIR)/splineorder2.Po
1023 -rm -f fontforge/$(DEPDIR)/splineoverlap.Po
1024 -rm -f fontforge/$(DEPDIR)/splinerefigure.Po
1025 -rm -f fontforge/$(DEPDIR)/splinesave.Po
1026 -rm -f fontforge/$(DEPDIR)/splinesaveafm.Po
1027 -rm -f fontforge/$(DEPDIR)/splineutil.Po
1028 -rm -f fontforge/$(DEPDIR)/splineutil2.Po
1029 -rm -f fontforge/$(DEPDIR)/start.Po
1030 -rm -f fontforge/$(DEPDIR)/stemdb.Po
1031 -rm -f fontforge/$(DEPDIR)/tmpfile2.Po
1032 -rm -f fontforge/$(DEPDIR)/tottf.Po
1033 -rm -f fontforge/$(DEPDIR)/tottfaat.Po
1034 -rm -f fontforge/$(DEPDIR)/tottfgpos.Po
1035 -rm -f fontforge/$(DEPDIR)/tottfvar.Po
1036 -rm -f fontforge/$(DEPDIR)/ttfinstrs.Po
1037 -rm -f fontforge/$(DEPDIR)/ttfspecial.Po
1038 -rm -f fontforge/$(DEPDIR)/unialt.Po
1039 -rm -f fontforge/$(DEPDIR)/ustring.Po
1040 -rm -f fontforge/$(DEPDIR)/utype.Po
1041 -rm -f fontforge/$(DEPDIR)/woff.Po
1042 -rm -f Makefile
1043 maintainer-clean-am: distclean-am maintainer-clean-generic
1044
1045 mostlyclean: mostlyclean-am
1046
1047 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1048 mostlyclean-libtool
1049
1050 pdf: pdf-am
1051
1052 pdf-am:
1053
1054 ps: ps-am
1055
1056 ps-am:
1057
1058 uninstall-am:
1059
1060 .MAKE: install-am install-strip
1061
1062 .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
1063 clean-generic clean-libtool clean-noinstLIBRARIES \
1064 cscopelist-am ctags ctags-am distclean distclean-compile \
1065 distclean-generic distclean-libtool distclean-tags distdir dvi \
1066 dvi-am html html-am info info-am install install-am \
1067 install-data install-data-am install-dvi install-dvi-am \
1068 install-exec install-exec-am install-html install-html-am \
1069 install-info install-info-am install-man install-pdf \
1070 install-pdf-am install-ps install-ps-am install-strip \
1071 installcheck installcheck-am installdirs maintainer-clean \
1072 maintainer-clean-generic mostlyclean mostlyclean-compile \
1073 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1074 tags tags-am uninstall uninstall-am
1075
1076 .PRECIOUS: Makefile
1077
1078
1079 @CODE_COVERAGE_RULES@
1080
1081 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1082 # Otherwise a system limit (for SysV at least) may be exceeded.
1083 .NOEXPORT:
0 # Reduced FontForge library for dvisvgm
1
2 This is a radically reduced version of the [FontForge](http://fontforge.org) library required to natively
3 build [dvisvgm](https://dvisvgm.de) on Windows. Most of the code not needed to create autohinted
4 TrueType and WOFF fonts from [SFD](https://fontforge.github.io/sfdformat.html) files has been removed.
5
6 The reduced library depends on [zlib](http://www.zlib.net).
7
8 ---
9 Thanks to George Williams and the FontForge project contributors for developing this great font editor and for
10 providing it as open source.
+0
-649
libs/md5/Makefile.in less more
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 VPATH = @srcdir@
17 am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
27 }
28 am__make_running_with_option = \
29 case $${target_option-} in \
30 ?) ;; \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
33 exit 1;; \
34 esac; \
35 has_opt=no; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
39 else \
40 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \
42 bs=\\; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 esac; \
46 fi; \
47 skip_next=no; \
48 strip_trailopt () \
49 { \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 }; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
54 case $$flg in \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
59 -*O?*) strip_trailopt 'O';; \
60 -*l) strip_trailopt 'l'; skip_next=yes;; \
61 -*l?*) strip_trailopt 'l';; \
62 -[dEDm]) skip_next=yes;; \
63 -[JT]) skip_next=yes;; \
64 esac; \
65 case $$flg in \
66 *$$target_option*) has_opt=yes; break;; \
67 esac; \
68 done; \
69 test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
72 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
74 pkglibdir = $(libdir)/@PACKAGE@
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
76 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77 install_sh_DATA = $(install_sh) -c -m 644
78 install_sh_PROGRAM = $(install_sh) -c
79 install_sh_SCRIPT = $(install_sh) -c
80 INSTALL_HEADER = $(INSTALL_DATA)
81 transform = $(program_transform_name)
82 NORMAL_INSTALL = :
83 PRE_INSTALL = :
84 POST_INSTALL = :
85 NORMAL_UNINSTALL = :
86 PRE_UNINSTALL = :
87 POST_UNINSTALL = :
88 build_triplet = @build@
89 host_triplet = @host@
90 target_triplet = @target@
91 subdir = libs/md5
92 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
93 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
94 $(top_srcdir)/m4/ax_code_coverage.m4 \
95 $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \
96 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
97 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
98 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
99 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
100 $(ACLOCAL_M4)
101 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
102 mkinstalldirs = $(install_sh) -d
103 CONFIG_HEADER = $(top_builddir)/config.h
104 CONFIG_CLEAN_FILES =
105 CONFIG_CLEAN_VPATH_FILES =
106 LIBRARIES = $(noinst_LIBRARIES)
107 ARFLAGS = cru
108 AM_V_AR = $(am__v_AR_@AM_V@)
109 am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
110 am__v_AR_0 = @echo " AR " $@;
111 am__v_AR_1 =
112 libmd5_a_AR = $(AR) $(ARFLAGS)
113 libmd5_a_LIBADD =
114 am__libmd5_a_SOURCES_DIST = md5.c md5.h
115 @USE_BUNDLED_MD5_TRUE@am_libmd5_a_OBJECTS = md5.$(OBJEXT)
116 libmd5_a_OBJECTS = $(am_libmd5_a_OBJECTS)
117 AM_V_P = $(am__v_P_@AM_V@)
118 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
119 am__v_P_0 = false
120 am__v_P_1 = :
121 AM_V_GEN = $(am__v_GEN_@AM_V@)
122 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
123 am__v_GEN_0 = @echo " GEN " $@;
124 am__v_GEN_1 =
125 AM_V_at = $(am__v_at_@AM_V@)
126 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
127 am__v_at_0 = @
128 am__v_at_1 =
129 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
130 depcomp = $(SHELL) $(top_srcdir)/depcomp
131 am__maybe_remake_depfiles = depfiles
132 am__depfiles_remade = ./$(DEPDIR)/md5.Po
133 am__mv = mv -f
134 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
135 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
136 AM_V_lt = $(am__v_lt_@AM_V@)
137 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
138 am__v_lt_0 = --silent
139 am__v_lt_1 =
140 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
141 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
142 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
143 $(AM_CFLAGS) $(CFLAGS)
144 AM_V_CC = $(am__v_CC_@AM_V@)
145 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
146 am__v_CC_0 = @echo " CC " $@;
147 am__v_CC_1 =
148 CCLD = $(CC)
149 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
150 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
151 $(AM_LDFLAGS) $(LDFLAGS) -o $@
152 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
153 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
154 am__v_CCLD_0 = @echo " CCLD " $@;
155 am__v_CCLD_1 =
156 SOURCES = $(libmd5_a_SOURCES)
157 DIST_SOURCES = $(am__libmd5_a_SOURCES_DIST)
158 am__can_run_installinfo = \
159 case $$AM_UPDATE_INFO_DIR in \
160 n|no|NO) false;; \
161 *) (install-info --version) >/dev/null 2>&1;; \
162 esac
163 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
164 # Read a list of newline-separated strings from the standard input,
165 # and print each of them once, without duplicates. Input order is
166 # *not* preserved.
167 am__uniquify_input = $(AWK) '\
168 BEGIN { nonempty = 0; } \
169 { items[$$0] = 1; nonempty = 1; } \
170 END { if (nonempty) { for (i in items) print i; }; } \
171 '
172 # Make sure the list of sources is unique. This is necessary because,
173 # e.g., the same source file might be shared among _SOURCES variables
174 # for different programs/libraries.
175 am__define_uniq_tagged_files = \
176 list='$(am__tagged_files)'; \
177 unique=`for i in $$list; do \
178 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
179 done | $(am__uniquify_input)`
180 ETAGS = etags
181 CTAGS = ctags
182 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp
183 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
184 ACLOCAL = @ACLOCAL@
185 AMTAR = @AMTAR@
186 AM_CPPFLAGS = @AM_CPPFLAGS@
187 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
188 AM_LDFLAGS = @AM_LDFLAGS@
189 AR = @AR@
190 ASCIIDOC = @ASCIIDOC@
191 AUTOCONF = @AUTOCONF@
192 AUTOHEADER = @AUTOHEADER@
193 AUTOMAKE = @AUTOMAKE@
194 AWK = @AWK@
195 BROTLI_CFLAGS = @BROTLI_CFLAGS@
196 BROTLI_LIBS = @BROTLI_LIBS@
197 CC = @CC@
198 CCDEPMODE = @CCDEPMODE@
199 CFLAGS = @CFLAGS@
200 CODE_COVERAGE_CFLAGS = @CODE_COVERAGE_CFLAGS@
201 CODE_COVERAGE_CPPFLAGS = @CODE_COVERAGE_CPPFLAGS@
202 CODE_COVERAGE_CXXFLAGS = @CODE_COVERAGE_CXXFLAGS@
203 CODE_COVERAGE_ENABLED = @CODE_COVERAGE_ENABLED@
204 CODE_COVERAGE_LDFLAGS = @CODE_COVERAGE_LDFLAGS@
205 CODE_COVERAGE_LIBS = @CODE_COVERAGE_LIBS@
206 CPP = @CPP@
207 CPPFLAGS = @CPPFLAGS@
208 CXX = @CXX@
209 CXXCPP = @CXXCPP@
210 CXXDEPMODE = @CXXDEPMODE@
211 CXXFLAGS = @CXXFLAGS@
212 CYGPATH_W = @CYGPATH_W@
213 DATE = @DATE@
214 DEFS = @DEFS@
215 DEPDIR = @DEPDIR@
216 DLLTOOL = @DLLTOOL@
217 DSYMUTIL = @DSYMUTIL@
218 DUMPBIN = @DUMPBIN@
219 ECHO_C = @ECHO_C@
220 ECHO_N = @ECHO_N@
221 ECHO_T = @ECHO_T@
222 EGREP = @EGREP@
223 EXEEXT = @EXEEXT@
224 FGREP = @FGREP@
225 FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
226 FREETYPE_LIBS = @FREETYPE_LIBS@
227 GCOV = @GCOV@
228 GENHTML = @GENHTML@
229 GREP = @GREP@
230 HAVE_CXX11 = @HAVE_CXX11@
231 INSTALL = @INSTALL@
232 INSTALL_DATA = @INSTALL_DATA@
233 INSTALL_PROGRAM = @INSTALL_PROGRAM@
234 INSTALL_SCRIPT = @INSTALL_SCRIPT@
235 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
236 KPSE_CFLAGS = @KPSE_CFLAGS@
237 KPSE_LIBS = @KPSE_LIBS@
238 LCOV = @LCOV@
239 LD = @LD@
240 LDFLAGS = @LDFLAGS@
241 LIBCRYPTO_CFLAGS = @LIBCRYPTO_CFLAGS@
242 LIBCRYPTO_LIBS = @LIBCRYPTO_LIBS@
243 LIBOBJS = @LIBOBJS@
244 LIBS = @LIBS@
245 LIBTOOL = @LIBTOOL@
246 LIPO = @LIPO@
247 LN_S = @LN_S@
248 LTLIBOBJS = @LTLIBOBJS@
249 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
250 MAKEINFO = @MAKEINFO@
251 MANIFEST_TOOL = @MANIFEST_TOOL@
252 MKDIR_P = @MKDIR_P@
253 NM = @NM@
254 NMEDIT = @NMEDIT@
255 OBJDUMP = @OBJDUMP@
256 OBJEXT = @OBJEXT@
257 OTOOL = @OTOOL@
258 OTOOL64 = @OTOOL64@
259 PACKAGE = @PACKAGE@
260 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
261 PACKAGE_NAME = @PACKAGE_NAME@
262 PACKAGE_STRING = @PACKAGE_STRING@
263 PACKAGE_TARNAME = @PACKAGE_TARNAME@
264 PACKAGE_URL = @PACKAGE_URL@
265 PACKAGE_VERSION = @PACKAGE_VERSION@
266 PATH_SEPARATOR = @PATH_SEPARATOR@
267 PKG_CONFIG = @PKG_CONFIG@
268 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
269 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
270 RANLIB = @RANLIB@
271 SED = @SED@
272 SET_MAKE = @SET_MAKE@
273 SHELL = @SHELL@
274 STRIP = @STRIP@
275 TTFAUTOHINT_CFLAGS = @TTFAUTOHINT_CFLAGS@
276 TTFAUTOHINT_LIBS = @TTFAUTOHINT_LIBS@
277 VERSION = @VERSION@
278 WOFF2_CFLAGS = @WOFF2_CFLAGS@
279 WOFF2_LIBS = @WOFF2_LIBS@
280 XMLTO = @XMLTO@
281 XSLTPROC = @XSLTPROC@
282 ZLIB_CFLAGS = @ZLIB_CFLAGS@
283 ZLIB_LIBS = @ZLIB_LIBS@
284 abs_builddir = @abs_builddir@
285 abs_srcdir = @abs_srcdir@
286 abs_top_builddir = @abs_top_builddir@
287 abs_top_srcdir = @abs_top_srcdir@
288 ac_ct_AR = @ac_ct_AR@
289 ac_ct_CC = @ac_ct_CC@
290 ac_ct_CXX = @ac_ct_CXX@
291 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
292 am__include = @am__include@
293 am__leading_dot = @am__leading_dot@
294 am__quote = @am__quote@
295 am__tar = @am__tar@
296 am__untar = @am__untar@
297 bindir = @bindir@
298 build = @build@
299 build_alias = @build_alias@
300 build_cpu = @build_cpu@
301 build_os = @build_os@
302 build_vendor = @build_vendor@
303 builddir = @builddir@
304 datadir = @datadir@
305 datarootdir = @datarootdir@
306 docdir = @docdir@
307 dvidir = @dvidir@
308 dvisvgm_srcdir = @dvisvgm_srcdir@
309 exec_prefix = @exec_prefix@
310 host = @host@
311 host_alias = @host_alias@
312 host_cpu = @host_cpu@
313 host_os = @host_os@
314 host_vendor = @host_vendor@
315 htmldir = @htmldir@
316 includedir = @includedir@
317 infodir = @infodir@
318 install_sh = @install_sh@
319 libdir = @libdir@
320 libexecdir = @libexecdir@
321 localedir = @localedir@
322 localstatedir = @localstatedir@
323 mandir = @mandir@
324 mkdir_p = @mkdir_p@
325 oldincludedir = @oldincludedir@
326 pdfdir = @pdfdir@
327 prefix = @prefix@
328 program_transform_name = @program_transform_name@
329 psdir = @psdir@
330 sbindir = @sbindir@
331 sharedstatedir = @sharedstatedir@
332 srcdir = @srcdir@
333 sysconfdir = @sysconfdir@
334 target = @target@
335 target_alias = @target_alias@
336 target_cpu = @target_cpu@
337 target_os = @target_os@
338 target_vendor = @target_vendor@
339 top_build_prefix = @top_build_prefix@
340 top_builddir = @top_builddir@
341 top_srcdir = @top_srcdir@
342 @USE_BUNDLED_MD5_TRUE@noinst_LIBRARIES = libmd5.a
343 @USE_BUNDLED_MD5_TRUE@libmd5_a_SOURCES = md5.c md5.h
344 @USE_BUNDLED_MD5_TRUE@AM_CXXFLAGS = -Wall
345 CLEANFILES = *.gcda *.gcno
346 all: all-am
347
348 .SUFFIXES:
349 .SUFFIXES: .c .lo .o .obj
350 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
351 @for dep in $?; do \
352 case '$(am__configure_deps)' in \
353 *$$dep*) \
354 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
355 && { if test -f $@; then exit 0; else break; fi; }; \
356 exit 1;; \
357 esac; \
358 done; \
359 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign libs/md5/Makefile'; \
360 $(am__cd) $(top_srcdir) && \
361 $(AUTOMAKE) --foreign libs/md5/Makefile
362 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
363 @case '$?' in \
364 *config.status*) \
365 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
366 *) \
367 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
368 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
369 esac;
370
371 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
372 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
373
374 $(top_srcdir)/configure: $(am__configure_deps)
375 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
376 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
377 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
378 $(am__aclocal_m4_deps):
379
380 clean-noinstLIBRARIES:
381 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
382
383 libmd5.a: $(libmd5_a_OBJECTS) $(libmd5_a_DEPENDENCIES) $(EXTRA_libmd5_a_DEPENDENCIES)
384 $(AM_V_at)-rm -f libmd5.a
385 $(AM_V_AR)$(libmd5_a_AR) libmd5.a $(libmd5_a_OBJECTS) $(libmd5_a_LIBADD)
386 $(AM_V_at)$(RANLIB) libmd5.a
387
388 mostlyclean-compile:
389 -rm -f *.$(OBJEXT)
390
391 distclean-compile:
392 -rm -f *.tab.c
393
394 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/md5.Po@am__quote@ # am--include-marker
395
396 $(am__depfiles_remade):
397 @$(MKDIR_P) $(@D)
398 @echo '# dummy' >$@-t && $(am__mv) $@-t $@
399
400 am--depfiles: $(am__depfiles_remade)
401
402 .c.o:
403 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
404 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
405 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
406 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
407 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
408 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
409
410 .c.obj:
411 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
412 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
413 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
414 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
415 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
416 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
417
418 .c.lo:
419 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
420 @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
421 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
422 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
423 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
424 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
425
426 mostlyclean-libtool:
427 -rm -f *.lo
428
429 clean-libtool:
430 -rm -rf .libs _libs
431
432 ID: $(am__tagged_files)
433 $(am__define_uniq_tagged_files); mkid -fID $$unique
434 tags: tags-am
435 TAGS: tags
436
437 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
438 set x; \
439 here=`pwd`; \
440 $(am__define_uniq_tagged_files); \
441 shift; \
442 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
443 test -n "$$unique" || unique=$$empty_fix; \
444 if test $$# -gt 0; then \
445 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
446 "$$@" $$unique; \
447 else \
448 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
449 $$unique; \
450 fi; \
451 fi
452 ctags: ctags-am
453
454 CTAGS: ctags
455 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
456 $(am__define_uniq_tagged_files); \
457 test -z "$(CTAGS_ARGS)$$unique" \
458 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
459 $$unique
460
461 GTAGS:
462 here=`$(am__cd) $(top_builddir) && pwd` \
463 && $(am__cd) $(top_srcdir) \
464 && gtags -i $(GTAGS_ARGS) "$$here"
465 cscopelist: cscopelist-am
466
467 cscopelist-am: $(am__tagged_files)
468 list='$(am__tagged_files)'; \
469 case "$(srcdir)" in \
470 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
471 *) sdir=$(subdir)/$(srcdir) ;; \
472 esac; \
473 for i in $$list; do \
474 if test -f "$$i"; then \
475 echo "$(subdir)/$$i"; \
476 else \
477 echo "$$sdir/$$i"; \
478 fi; \
479 done >> $(top_builddir)/cscope.files
480
481 distclean-tags:
482 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
483
484 distdir: $(BUILT_SOURCES)
485 $(MAKE) $(AM_MAKEFLAGS) distdir-am
486
487 distdir-am: $(DISTFILES)
488 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
489 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
490 list='$(DISTFILES)'; \
491 dist_files=`for file in $$list; do echo $$file; done | \
492 sed -e "s|^$$srcdirstrip/||;t" \
493 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
494 case $$dist_files in \
495 */*) $(MKDIR_P) `echo "$$dist_files" | \
496 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
497 sort -u` ;; \
498 esac; \
499 for file in $$dist_files; do \
500 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
501 if test -d $$d/$$file; then \
502 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
503 if test -d "$(distdir)/$$file"; then \
504 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
505 fi; \
506 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
507 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
508 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
509 fi; \
510 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
511 else \
512 test -f "$(distdir)/$$file" \
513 || cp -p $$d/$$file "$(distdir)/$$file" \
514 || exit 1; \
515 fi; \
516 done
517 check-am: all-am
518 check: check-am
519 all-am: Makefile $(LIBRARIES)
520 installdirs:
521 install: install-am
522 install-exec: install-exec-am
523 install-data: install-data-am
524 uninstall: uninstall-am
525
526 install-am: all-am
527 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
528
529 installcheck: installcheck-am
530 install-strip:
531 if test -z '$(STRIP)'; then \
532 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
533 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
534 install; \
535 else \
536 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
537 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
538 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
539 fi
540 mostlyclean-generic:
541
542 clean-generic:
543 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
544
545 distclean-generic:
546 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
547 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
548
549 maintainer-clean-generic:
550 @echo "This command is intended for maintainers to use"
551 @echo "it deletes files that may require special tools to rebuild."
552 clean: clean-am
553
554 clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \
555 mostlyclean-am
556
557 distclean: distclean-am
558 -rm -f ./$(DEPDIR)/md5.Po
559 -rm -f Makefile
560 distclean-am: clean-am distclean-compile distclean-generic \
561 distclean-tags
562
563 dvi: dvi-am
564
565 dvi-am:
566
567 html: html-am
568
569 html-am:
570
571 info: info-am
572
573 info-am:
574
575 install-data-am:
576
577 install-dvi: install-dvi-am
578
579 install-dvi-am:
580
581 install-exec-am:
582
583 install-html: install-html-am
584
585 install-html-am:
586
587 install-info: install-info-am
588
589 install-info-am:
590
591 install-man:
592
593 install-pdf: install-pdf-am
594
595 install-pdf-am:
596
597 install-ps: install-ps-am
598
599 install-ps-am:
600
601 installcheck-am:
602
603 maintainer-clean: maintainer-clean-am
604 -rm -f ./$(DEPDIR)/md5.Po
605 -rm -f Makefile
606 maintainer-clean-am: distclean-am maintainer-clean-generic
607
608 mostlyclean: mostlyclean-am
609
610 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
611 mostlyclean-libtool
612
613 pdf: pdf-am
614
615 pdf-am:
616
617 ps: ps-am
618
619 ps-am:
620
621 uninstall-am:
622
623 .MAKE: install-am install-strip
624
625 .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
626 clean-generic clean-libtool clean-noinstLIBRARIES \
627 cscopelist-am ctags ctags-am distclean distclean-compile \
628 distclean-generic distclean-libtool distclean-tags distdir dvi \
629 dvi-am html html-am info info-am install install-am \
630 install-data install-data-am install-dvi install-dvi-am \
631 install-exec install-exec-am install-html install-html-am \
632 install-info install-info-am install-man install-pdf \
633 install-pdf-am install-ps install-ps-am install-strip \
634 installcheck installcheck-am installdirs maintainer-clean \
635 maintainer-clean-generic mostlyclean mostlyclean-compile \
636 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
637 tags tags-am uninstall uninstall-am
638
639 .PRECIOUS: Makefile
640
641
642 @USE_BUNDLED_MD5_TRUE@md5.c: md5.h
643
644 @USE_BUNDLED_MD5_TRUE@@CODE_COVERAGE_RULES@
645
646 # Tell versions [3.59,3.63) of GNU make to not export all variables.
647 # Otherwise a system limit (for SysV at least) may be exceeded.
648 .NOEXPORT:
+0
-675
libs/potrace/Makefile.in less more
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 VPATH = @srcdir@
17 am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
27 }
28 am__make_running_with_option = \
29 case $${target_option-} in \
30 ?) ;; \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
33 exit 1;; \
34 esac; \
35 has_opt=no; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
39 else \
40 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \
42 bs=\\; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 esac; \
46 fi; \
47 skip_next=no; \
48 strip_trailopt () \
49 { \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 }; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
54 case $$flg in \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
59 -*O?*) strip_trailopt 'O';; \
60 -*l) strip_trailopt 'l'; skip_next=yes;; \
61 -*l?*) strip_trailopt 'l';; \
62 -[dEDm]) skip_next=yes;; \
63 -[JT]) skip_next=yes;; \
64 esac; \
65 case $$flg in \
66 *$$target_option*) has_opt=yes; break;; \
67 esac; \
68 done; \
69 test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
72 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
74 pkglibdir = $(libdir)/@PACKAGE@
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
76 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77 install_sh_DATA = $(install_sh) -c -m 644
78 install_sh_PROGRAM = $(install_sh) -c
79 install_sh_SCRIPT = $(install_sh) -c
80 INSTALL_HEADER = $(INSTALL_DATA)
81 transform = $(program_transform_name)
82 NORMAL_INSTALL = :
83 PRE_INSTALL = :
84 POST_INSTALL = :
85 NORMAL_UNINSTALL = :
86 PRE_UNINSTALL = :
87 POST_UNINSTALL = :
88 build_triplet = @build@
89 host_triplet = @host@
90 target_triplet = @target@
91 subdir = libs/potrace
92 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
93 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
94 $(top_srcdir)/m4/ax_code_coverage.m4 \
95 $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \
96 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
97 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
98 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
99 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
100 $(ACLOCAL_M4)
101 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
102 mkinstalldirs = $(install_sh) -d
103 CONFIG_HEADER = $(top_builddir)/config.h
104 CONFIG_CLEAN_FILES =
105 CONFIG_CLEAN_VPATH_FILES =
106 LIBRARIES = $(noinst_LIBRARIES)
107 ARFLAGS = cru
108 AM_V_AR = $(am__v_AR_@AM_V@)
109 am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
110 am__v_AR_0 = @echo " AR " $@;
111 am__v_AR_1 =
112 libpotrace_a_AR = $(AR) $(ARFLAGS)
113 libpotrace_a_LIBADD =
114 am__libpotrace_a_SOURCES_DIST = auxiliary.h bitmap.h config.h curve.c \
115 curve.h decompose.c decompose.h lists.h potracelib.c \
116 potracelib.h progress.h trace.c trace.h
117 @HAVE_POTRACE_FALSE@am_libpotrace_a_OBJECTS = curve.$(OBJEXT) \
118 @HAVE_POTRACE_FALSE@ decompose.$(OBJEXT) potracelib.$(OBJEXT) \
119 @HAVE_POTRACE_FALSE@ trace.$(OBJEXT)
120 libpotrace_a_OBJECTS = $(am_libpotrace_a_OBJECTS)
121 AM_V_P = $(am__v_P_@AM_V@)
122 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
123 am__v_P_0 = false
124 am__v_P_1 = :
125 AM_V_GEN = $(am__v_GEN_@AM_V@)
126 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
127 am__v_GEN_0 = @echo " GEN " $@;
128 am__v_GEN_1 =
129 AM_V_at = $(am__v_at_@AM_V@)
130 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
131 am__v_at_0 = @
132 am__v_at_1 =
133 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
134 depcomp = $(SHELL) $(top_srcdir)/depcomp
135 am__maybe_remake_depfiles = depfiles
136 am__depfiles_remade = ./$(DEPDIR)/curve.Po ./$(DEPDIR)/decompose.Po \
137 ./$(DEPDIR)/potracelib.Po ./$(DEPDIR)/trace.Po
138 am__mv = mv -f
139 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
140 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
141 AM_V_lt = $(am__v_lt_@AM_V@)
142 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
143 am__v_lt_0 = --silent
144 am__v_lt_1 =
145 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
146 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
147 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
148 $(AM_CFLAGS) $(CFLAGS)
149 AM_V_CC = $(am__v_CC_@AM_V@)
150 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
151 am__v_CC_0 = @echo " CC " $@;
152 am__v_CC_1 =
153 CCLD = $(CC)
154 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
155 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
156 $(AM_LDFLAGS) $(LDFLAGS) -o $@
157 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
158 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
159 am__v_CCLD_0 = @echo " CCLD " $@;
160 am__v_CCLD_1 =
161 SOURCES = $(libpotrace_a_SOURCES)
162 DIST_SOURCES = $(am__libpotrace_a_SOURCES_DIST)
163 am__can_run_installinfo = \
164 case $$AM_UPDATE_INFO_DIR in \
165 n|no|NO) false;; \
166 *) (install-info --version) >/dev/null 2>&1;; \
167 esac
168 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
169 # Read a list of newline-separated strings from the standard input,
170 # and print each of them once, without duplicates. Input order is
171 # *not* preserved.
172 am__uniquify_input = $(AWK) '\
173 BEGIN { nonempty = 0; } \
174 { items[$$0] = 1; nonempty = 1; } \
175 END { if (nonempty) { for (i in items) print i; }; } \
176 '
177 # Make sure the list of sources is unique. This is necessary because,
178 # e.g., the same source file might be shared among _SOURCES variables
179 # for different programs/libraries.
180 am__define_uniq_tagged_files = \
181 list='$(am__tagged_files)'; \
182 unique=`for i in $$list; do \
183 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
184 done | $(am__uniquify_input)`
185 ETAGS = etags
186 CTAGS = ctags
187 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp
188 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
189 ACLOCAL = @ACLOCAL@
190 AMTAR = @AMTAR@
191 AM_CPPFLAGS = @AM_CPPFLAGS@
192 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
193 AM_LDFLAGS = @AM_LDFLAGS@
194 AR = @AR@
195 ASCIIDOC = @ASCIIDOC@
196 AUTOCONF = @AUTOCONF@
197 AUTOHEADER = @AUTOHEADER@
198 AUTOMAKE = @AUTOMAKE@
199 AWK = @AWK@
200 BROTLI_CFLAGS = @BROTLI_CFLAGS@
201 BROTLI_LIBS = @BROTLI_LIBS@
202 CC = @CC@
203 CCDEPMODE = @CCDEPMODE@
204 CFLAGS = @CFLAGS@
205 CODE_COVERAGE_CFLAGS = @CODE_COVERAGE_CFLAGS@
206 CODE_COVERAGE_CPPFLAGS = @CODE_COVERAGE_CPPFLAGS@
207 CODE_COVERAGE_CXXFLAGS = @CODE_COVERAGE_CXXFLAGS@
208 CODE_COVERAGE_ENABLED = @CODE_COVERAGE_ENABLED@
209 CODE_COVERAGE_LDFLAGS = @CODE_COVERAGE_LDFLAGS@
210 CODE_COVERAGE_LIBS = @CODE_COVERAGE_LIBS@
211 CPP = @CPP@
212 CPPFLAGS = @CPPFLAGS@
213 CXX = @CXX@
214 CXXCPP = @CXXCPP@
215 CXXDEPMODE = @CXXDEPMODE@
216 CXXFLAGS = @CXXFLAGS@
217 CYGPATH_W = @CYGPATH_W@
218 DATE = @DATE@
219 DEFS = @DEFS@
220 DEPDIR = @DEPDIR@
221 DLLTOOL = @DLLTOOL@
222 DSYMUTIL = @DSYMUTIL@
223 DUMPBIN = @DUMPBIN@
224 ECHO_C = @ECHO_C@
225 ECHO_N = @ECHO_N@
226 ECHO_T = @ECHO_T@
227 EGREP = @EGREP@
228 EXEEXT = @EXEEXT@
229 FGREP = @FGREP@
230 FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
231 FREETYPE_LIBS = @FREETYPE_LIBS@
232 GCOV = @GCOV@
233 GENHTML = @GENHTML@
234 GREP = @GREP@
235 HAVE_CXX11 = @HAVE_CXX11@
236 INSTALL = @INSTALL@
237 INSTALL_DATA = @INSTALL_DATA@
238 INSTALL_PROGRAM = @INSTALL_PROGRAM@
239 INSTALL_SCRIPT = @INSTALL_SCRIPT@
240 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
241 KPSE_CFLAGS = @KPSE_CFLAGS@
242 KPSE_LIBS = @KPSE_LIBS@
243 LCOV = @LCOV@
244 LD = @LD@
245 LDFLAGS = @LDFLAGS@
246 LIBCRYPTO_CFLAGS = @LIBCRYPTO_CFLAGS@
247 LIBCRYPTO_LIBS = @LIBCRYPTO_LIBS@
248 LIBOBJS = @LIBOBJS@
249 LIBS = @LIBS@
250 LIBTOOL = @LIBTOOL@
251 LIPO = @LIPO@
252 LN_S = @LN_S@
253 LTLIBOBJS = @LTLIBOBJS@
254 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
255 MAKEINFO = @MAKEINFO@
256 MANIFEST_TOOL = @MANIFEST_TOOL@
257 MKDIR_P = @MKDIR_P@
258 NM = @NM@
259 NMEDIT = @NMEDIT@
260 OBJDUMP = @OBJDUMP@
261 OBJEXT = @OBJEXT@
262 OTOOL = @OTOOL@
263 OTOOL64 = @OTOOL64@
264 PACKAGE = @PACKAGE@
265 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
266 PACKAGE_NAME = @PACKAGE_NAME@
267 PACKAGE_STRING = @PACKAGE_STRING@
268 PACKAGE_TARNAME = @PACKAGE_TARNAME@
269 PACKAGE_URL = @PACKAGE_URL@
270 PACKAGE_VERSION = @PACKAGE_VERSION@
271 PATH_SEPARATOR = @PATH_SEPARATOR@
272 PKG_CONFIG = @PKG_CONFIG@
273 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
274 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
275 RANLIB = @RANLIB@
276 SED = @SED@
277 SET_MAKE = @SET_MAKE@
278 SHELL = @SHELL@
279 STRIP = @STRIP@
280 TTFAUTOHINT_CFLAGS = @TTFAUTOHINT_CFLAGS@
281 TTFAUTOHINT_LIBS = @TTFAUTOHINT_LIBS@
282 VERSION = @VERSION@
283 WOFF2_CFLAGS = @WOFF2_CFLAGS@
284 WOFF2_LIBS = @WOFF2_LIBS@
285 XMLTO = @XMLTO@
286 XSLTPROC = @XSLTPROC@
287 ZLIB_CFLAGS = @ZLIB_CFLAGS@
288 ZLIB_LIBS = @ZLIB_LIBS@
289 abs_builddir = @abs_builddir@
290 abs_srcdir = @abs_srcdir@
291 abs_top_builddir = @abs_top_builddir@
292 abs_top_srcdir = @abs_top_srcdir@
293 ac_ct_AR = @ac_ct_AR@
294 ac_ct_CC = @ac_ct_CC@
295 ac_ct_CXX = @ac_ct_CXX@
296 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
297 am__include = @am__include@
298 am__leading_dot = @am__leading_dot@
299 am__quote = @am__quote@
300 am__tar = @am__tar@
301 am__untar = @am__untar@
302 bindir = @bindir@
303 build = @build@
304 build_alias = @build_alias@
305 build_cpu = @build_cpu@
306 build_os = @build_os@
307 build_vendor = @build_vendor@
308 builddir = @builddir@
309 datadir = @datadir@
310 datarootdir = @datarootdir@
311 docdir = @docdir@
312 dvidir = @dvidir@
313 dvisvgm_srcdir = @dvisvgm_srcdir@
314 exec_prefix = @exec_prefix@
315 host = @host@
316 host_alias = @host_alias@
317 host_cpu = @host_cpu@
318 host_os = @host_os@
319 host_vendor = @host_vendor@
320 htmldir = @htmldir@
321 includedir = @includedir@
322 infodir = @infodir@
323 install_sh = @install_sh@
324 libdir = @libdir@
325 libexecdir = @libexecdir@
326 localedir = @localedir@
327 localstatedir = @localstatedir@
328 mandir = @mandir@
329 mkdir_p = @mkdir_p@
330 oldincludedir = @oldincludedir@
331 pdfdir = @pdfdir@
332 prefix = @prefix@
333 program_transform_name = @program_transform_name@
334 psdir = @psdir@
335 sbindir = @sbindir@
336 sharedstatedir = @sharedstatedir@
337 srcdir = @srcdir@
338 sysconfdir = @sysconfdir@
339 target = @target@
340 target_alias = @target_alias@
341 target_cpu = @target_cpu@
342 target_os = @target_os@
343 target_vendor = @target_vendor@
344 top_build_prefix = @top_build_prefix@
345 top_builddir = @top_builddir@
346 top_srcdir = @top_srcdir@
347 @HAVE_POTRACE_FALSE@noinst_LIBRARIES = libpotrace.a
348 @HAVE_POTRACE_FALSE@libpotrace_a_SOURCES = \
349 @HAVE_POTRACE_FALSE@ auxiliary.h \
350 @HAVE_POTRACE_FALSE@ bitmap.h \
351 @HAVE_POTRACE_FALSE@ config.h \
352 @HAVE_POTRACE_FALSE@ curve.c \
353 @HAVE_POTRACE_FALSE@ curve.h \
354 @HAVE_POTRACE_FALSE@ decompose.c \
355 @HAVE_POTRACE_FALSE@ decompose.h \
356 @HAVE_POTRACE_FALSE@ lists.h \
357 @HAVE_POTRACE_FALSE@ potracelib.c \
358 @HAVE_POTRACE_FALSE@ potracelib.h \
359 @HAVE_POTRACE_FALSE@ progress.h \
360 @HAVE_POTRACE_FALSE@ trace.c \
361 @HAVE_POTRACE_FALSE@ trace.h
362
363 @HAVE_POTRACE_FALSE@AM_CFLAGS = -Wall -I$(srcdir)
364 CLEANFILES = *.gcda *.gcno
365 all: all-am
366
367 .SUFFIXES:
368 .SUFFIXES: .c .lo .o .obj
369 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
370 @for dep in $?; do \
371 case '$(am__configure_deps)' in \
372 *$$dep*) \
373 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
374 && { if test -f $@; then exit 0; else break; fi; }; \
375 exit 1;; \
376 esac; \
377 done; \
378 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign libs/potrace/Makefile'; \
379 $(am__cd) $(top_srcdir) && \
380 $(AUTOMAKE) --foreign libs/potrace/Makefile
381 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
382 @case '$?' in \
383 *config.status*) \
384 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
385 *) \
386 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
387 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
388 esac;
389
390 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
391 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
392
393 $(top_srcdir)/configure: $(am__configure_deps)
394 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
395 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
396 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
397 $(am__aclocal_m4_deps):
398
399 clean-noinstLIBRARIES:
400 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
401
402 libpotrace.a: $(libpotrace_a_OBJECTS) $(libpotrace_a_DEPENDENCIES) $(EXTRA_libpotrace_a_DEPENDENCIES)
403 $(AM_V_at)-rm -f libpotrace.a
404 $(AM_V_AR)$(libpotrace_a_AR) libpotrace.a $(libpotrace_a_OBJECTS) $(libpotrace_a_LIBADD)
405 $(AM_V_at)$(RANLIB) libpotrace.a
406
407 mostlyclean-compile:
408 -rm -f *.$(OBJEXT)
409
410 distclean-compile:
411 -rm -f *.tab.c
412
413 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/curve.Po@am__quote@ # am--include-marker
414 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/decompose.Po@am__quote@ # am--include-marker
415 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/potracelib.Po@am__quote@ # am--include-marker
416 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/trace.Po@am__quote@ # am--include-marker
417
418 $(am__depfiles_remade):
419 @$(MKDIR_P) $(@D)
420 @echo '# dummy' >$@-t && $(am__mv) $@-t $@
421
422 am--depfiles: $(am__depfiles_remade)
423
424 .c.o:
425 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
426 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
427 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
428 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
429 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
430 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
431
432 .c.obj:
433 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
434 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
435 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
436 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
437 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
438 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
439
440 .c.lo:
441 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
442 @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
443 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
444 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
445 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
446 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
447
448 mostlyclean-libtool:
449 -rm -f *.lo
450
451 clean-libtool:
452 -rm -rf .libs _libs
453
454 ID: $(am__tagged_files)
455 $(am__define_uniq_tagged_files); mkid -fID $$unique
456 tags: tags-am
457 TAGS: tags
458
459 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
460 set x; \
461 here=`pwd`; \
462 $(am__define_uniq_tagged_files); \
463 shift; \
464 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
465 test -n "$$unique" || unique=$$empty_fix; \
466 if test $$# -gt 0; then \
467 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
468 "$$@" $$unique; \
469 else \
470 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
471 $$unique; \
472 fi; \
473 fi
474 ctags: ctags-am
475
476 CTAGS: ctags
477 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
478 $(am__define_uniq_tagged_files); \
479 test -z "$(CTAGS_ARGS)$$unique" \
480 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
481 $$unique
482
483 GTAGS:
484 here=`$(am__cd) $(top_builddir) && pwd` \
485 && $(am__cd) $(top_srcdir) \
486 && gtags -i $(GTAGS_ARGS) "$$here"
487 cscopelist: cscopelist-am
488
489 cscopelist-am: $(am__tagged_files)
490 list='$(am__tagged_files)'; \
491 case "$(srcdir)" in \
492 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
493 *) sdir=$(subdir)/$(srcdir) ;; \
494 esac; \
495 for i in $$list; do \
496 if test -f "$$i"; then \
497 echo "$(subdir)/$$i"; \
498 else \
499 echo "$$sdir/$$i"; \
500 fi; \
501 done >> $(top_builddir)/cscope.files
502
503 distclean-tags:
504 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
505
506 distdir: $(BUILT_SOURCES)
507 $(MAKE) $(AM_MAKEFLAGS) distdir-am
508
509 distdir-am: $(DISTFILES)
510 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
511 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
512 list='$(DISTFILES)'; \
513 dist_files=`for file in $$list; do echo $$file; done | \
514 sed -e "s|^$$srcdirstrip/||;t" \
515 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
516 case $$dist_files in \
517 */*) $(MKDIR_P) `echo "$$dist_files" | \
518 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
519 sort -u` ;; \
520 esac; \
521 for file in $$dist_files; do \
522 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
523 if test -d $$d/$$file; then \
524 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
525 if test -d "$(distdir)/$$file"; then \
526 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
527 fi; \
528 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
529 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
530 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
531 fi; \
532 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
533 else \
534 test -f "$(distdir)/$$file" \
535 || cp -p $$d/$$file "$(distdir)/$$file" \
536 || exit 1; \
537 fi; \
538 done
539 check-am: all-am
540 check: check-am
541 all-am: Makefile $(LIBRARIES)
542 installdirs:
543 install: install-am
544 install-exec: install-exec-am
545 install-data: install-data-am
546 uninstall: uninstall-am
547
548 install-am: all-am
549 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
550
551 installcheck: installcheck-am
552 install-strip:
553 if test -z '$(STRIP)'; then \
554 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
555 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
556 install; \
557 else \
558 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
559 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
560 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
561 fi
562 mostlyclean-generic:
563
564 clean-generic:
565 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
566
567 distclean-generic:
568 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
569 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
570
571 maintainer-clean-generic:
572 @echo "This command is intended for maintainers to use"
573 @echo "it deletes files that may require special tools to rebuild."
574 clean: clean-am
575
576 clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \
577 mostlyclean-am
578
579 distclean: distclean-am
580 -rm -f ./$(DEPDIR)/curve.Po
581 -rm -f ./$(DEPDIR)/decompose.Po
582 -rm -f ./$(DEPDIR)/potracelib.Po
583 -rm -f ./$(DEPDIR)/trace.Po
584 -rm -f Makefile
585 distclean-am: clean-am distclean-compile distclean-generic \
586 distclean-tags
587
588 dvi: dvi-am
589
590 dvi-am:
591
592 html: html-am
593
594 html-am:
595
596 info: info-am
597
598 info-am:
599
600 install-data-am:
601
602 install-dvi: install-dvi-am
603
604 install-dvi-am:
605
606 install-exec-am:
607
608 install-html: install-html-am
609
610 install-html-am:
611
612 install-info: install-info-am
613
614 install-info-am:
615
616 install-man:
617
618 install-pdf: install-pdf-am
619
620 install-pdf-am:
621
622 install-ps: install-ps-am
623
624 install-ps-am:
625
626 installcheck-am:
627
628 maintainer-clean: maintainer-clean-am
629 -rm -f ./$(DEPDIR)/curve.Po
630 -rm -f ./$(DEPDIR)/decompose.Po
631 -rm -f ./$(DEPDIR)/potracelib.Po
632 -rm -f ./$(DEPDIR)/trace.Po
633 -rm -f Makefile
634 maintainer-clean-am: distclean-am maintainer-clean-generic
635
636 mostlyclean: mostlyclean-am
637
638 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
639 mostlyclean-libtool
640
641 pdf: pdf-am
642
643 pdf-am:
644
645 ps: ps-am
646
647 ps-am:
648
649 uninstall-am:
650
651 .MAKE: install-am install-strip
652
653 .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
654 clean-generic clean-libtool clean-noinstLIBRARIES \
655 cscopelist-am ctags ctags-am distclean distclean-compile \
656 distclean-generic distclean-libtool distclean-tags distdir dvi \
657 dvi-am html html-am info info-am install install-am \
658 install-data install-data-am install-dvi install-dvi-am \
659 install-exec install-exec-am install-html install-html-am \
660 install-info install-info-am install-man install-pdf \
661 install-pdf-am install-ps install-ps-am install-strip \
662 installcheck installcheck-am installdirs maintainer-clean \
663 maintainer-clean-generic mostlyclean mostlyclean-compile \
664 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
665 tags tags-am uninstall uninstall-am
666
667 .PRECIOUS: Makefile
668
669
670 @HAVE_POTRACE_FALSE@@CODE_COVERAGE_RULES@
671
672 # Tell versions [3.59,3.63) of GNU make to not export all variables.
673 # Otherwise a system limit (for SysV at least) may be exceeded.
674 .NOEXPORT:
+0
-555
libs/variant/Makefile.in less more
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 VPATH = @srcdir@
17 am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
27 }
28 am__make_running_with_option = \
29 case $${target_option-} in \
30 ?) ;; \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
33 exit 1;; \
34 esac; \
35 has_opt=no; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
39 else \
40 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \
42 bs=\\; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 esac; \
46 fi; \
47 skip_next=no; \
48 strip_trailopt () \
49 { \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 }; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
54 case $$flg in \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
59 -*O?*) strip_trailopt 'O';; \
60 -*l) strip_trailopt 'l'; skip_next=yes;; \
61 -*l?*) strip_trailopt 'l';; \
62 -[dEDm]) skip_next=yes;; \
63 -[JT]) skip_next=yes;; \
64 esac; \
65 case $$flg in \
66 *$$target_option*) has_opt=yes; break;; \
67 esac; \
68 done; \
69 test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
72 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
74 pkglibdir = $(libdir)/@PACKAGE@
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
76 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77 install_sh_DATA = $(install_sh) -c -m 644
78 install_sh_PROGRAM = $(install_sh) -c
79 install_sh_SCRIPT = $(install_sh) -c
80 INSTALL_HEADER = $(INSTALL_DATA)
81 transform = $(program_transform_name)
82 NORMAL_INSTALL = :
83 PRE_INSTALL = :
84 POST_INSTALL = :
85 NORMAL_UNINSTALL = :
86 PRE_UNINSTALL = :
87 POST_UNINSTALL = :
88 build_triplet = @build@
89 host_triplet = @host@
90 target_triplet = @target@
91 subdir = libs/variant
92 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
93 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
94 $(top_srcdir)/m4/ax_code_coverage.m4 \
95 $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \
96 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
97 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
98 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
99 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
100 $(ACLOCAL_M4)
101 DIST_COMMON = $(srcdir)/Makefile.am $(noinst_HEADERS) \
102 $(am__DIST_COMMON)
103 mkinstalldirs = $(install_sh) -d
104 CONFIG_HEADER = $(top_builddir)/config.h
105 CONFIG_CLEAN_FILES =
106 CONFIG_CLEAN_VPATH_FILES =
107 AM_V_P = $(am__v_P_@AM_V@)
108 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
109 am__v_P_0 = false
110 am__v_P_1 = :
111 AM_V_GEN = $(am__v_GEN_@AM_V@)
112 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
113 am__v_GEN_0 = @echo " GEN " $@;
114 am__v_GEN_1 =
115 AM_V_at = $(am__v_at_@AM_V@)
116 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
117 am__v_at_0 = @
118 am__v_at_1 =
119 SOURCES =
120 DIST_SOURCES =
121 am__can_run_installinfo = \
122 case $$AM_UPDATE_INFO_DIR in \
123 n|no|NO) false;; \
124 *) (install-info --version) >/dev/null 2>&1;; \
125 esac
126 HEADERS = $(noinst_HEADERS)
127 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
128 # Read a list of newline-separated strings from the standard input,
129 # and print each of them once, without duplicates. Input order is
130 # *not* preserved.
131 am__uniquify_input = $(AWK) '\
132 BEGIN { nonempty = 0; } \
133 { items[$$0] = 1; nonempty = 1; } \
134 END { if (nonempty) { for (i in items) print i; }; } \
135 '
136 # Make sure the list of sources is unique. This is necessary because,
137 # e.g., the same source file might be shared among _SOURCES variables
138 # for different programs/libraries.
139 am__define_uniq_tagged_files = \
140 list='$(am__tagged_files)'; \
141 unique=`for i in $$list; do \
142 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
143 done | $(am__uniquify_input)`
144 ETAGS = etags
145 CTAGS = ctags
146 am__DIST_COMMON = $(srcdir)/Makefile.in
147 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
148 ACLOCAL = @ACLOCAL@
149 AMTAR = @AMTAR@
150 AM_CPPFLAGS = @AM_CPPFLAGS@
151 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
152 AM_LDFLAGS = @AM_LDFLAGS@
153 AR = @AR@
154 ASCIIDOC = @ASCIIDOC@
155 AUTOCONF = @AUTOCONF@
156 AUTOHEADER = @AUTOHEADER@
157 AUTOMAKE = @AUTOMAKE@
158 AWK = @AWK@
159 BROTLI_CFLAGS = @BROTLI_CFLAGS@
160 BROTLI_LIBS = @BROTLI_LIBS@
161 CC = @CC@
162 CCDEPMODE = @CCDEPMODE@
163 CFLAGS = @CFLAGS@
164 CODE_COVERAGE_CFLAGS = @CODE_COVERAGE_CFLAGS@
165 CODE_COVERAGE_CPPFLAGS = @CODE_COVERAGE_CPPFLAGS@
166 CODE_COVERAGE_CXXFLAGS = @CODE_COVERAGE_CXXFLAGS@
167 CODE_COVERAGE_ENABLED = @CODE_COVERAGE_ENABLED@
168 CODE_COVERAGE_LDFLAGS = @CODE_COVERAGE_LDFLAGS@
169 CODE_COVERAGE_LIBS = @CODE_COVERAGE_LIBS@
170 CPP = @CPP@
171 CPPFLAGS = @CPPFLAGS@
172 CXX = @CXX@
173 CXXCPP = @CXXCPP@
174 CXXDEPMODE = @CXXDEPMODE@
175 CXXFLAGS = @CXXFLAGS@
176 CYGPATH_W = @CYGPATH_W@
177 DATE = @DATE@
178 DEFS = @DEFS@
179 DEPDIR = @DEPDIR@
180 DLLTOOL = @DLLTOOL@
181 DSYMUTIL = @DSYMUTIL@
182 DUMPBIN = @DUMPBIN@
183 ECHO_C = @ECHO_C@
184 ECHO_N = @ECHO_N@
185 ECHO_T = @ECHO_T@
186 EGREP = @EGREP@
187 EXEEXT = @EXEEXT@
188 FGREP = @FGREP@
189 FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
190 FREETYPE_LIBS = @FREETYPE_LIBS@
191 GCOV = @GCOV@
192 GENHTML = @GENHTML@
193 GREP = @GREP@
194 HAVE_CXX11 = @HAVE_CXX11@
195 INSTALL = @INSTALL@
196 INSTALL_DATA = @INSTALL_DATA@
197 INSTALL_PROGRAM = @INSTALL_PROGRAM@
198 INSTALL_SCRIPT = @INSTALL_SCRIPT@
199 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
200 KPSE_CFLAGS = @KPSE_CFLAGS@
201 KPSE_LIBS = @KPSE_LIBS@
202 LCOV = @LCOV@
203 LD = @LD@
204 LDFLAGS = @LDFLAGS@
205 LIBCRYPTO_CFLAGS = @LIBCRYPTO_CFLAGS@
206 LIBCRYPTO_LIBS = @LIBCRYPTO_LIBS@
207 LIBOBJS = @LIBOBJS@
208 LIBS = @LIBS@
209 LIBTOOL = @LIBTOOL@
210 LIPO = @LIPO@
211 LN_S = @LN_S@
212 LTLIBOBJS = @LTLIBOBJS@
213 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
214 MAKEINFO = @MAKEINFO@
215 MANIFEST_TOOL = @MANIFEST_TOOL@
216 MKDIR_P = @MKDIR_P@
217 NM = @NM@
218 NMEDIT = @NMEDIT@
219 OBJDUMP = @OBJDUMP@
220 OBJEXT = @OBJEXT@
221 OTOOL = @OTOOL@
222 OTOOL64 = @OTOOL64@
223 PACKAGE = @PACKAGE@
224 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
225 PACKAGE_NAME = @PACKAGE_NAME@
226 PACKAGE_STRING = @PACKAGE_STRING@
227 PACKAGE_TARNAME = @PACKAGE_TARNAME@
228 PACKAGE_URL = @PACKAGE_URL@
229 PACKAGE_VERSION = @PACKAGE_VERSION@
230 PATH_SEPARATOR = @PATH_SEPARATOR@
231 PKG_CONFIG = @PKG_CONFIG@
232 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
233 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234 RANLIB = @RANLIB@
235 SED = @SED@
236 SET_MAKE = @SET_MAKE@
237 SHELL = @SHELL@
238 STRIP = @STRIP@
239 TTFAUTOHINT_CFLAGS = @TTFAUTOHINT_CFLAGS@
240 TTFAUTOHINT_LIBS = @TTFAUTOHINT_LIBS@
241 VERSION = @VERSION@
242 WOFF2_CFLAGS = @WOFF2_CFLAGS@
243 WOFF2_LIBS = @WOFF2_LIBS@
244 XMLTO = @XMLTO@
245 XSLTPROC = @XSLTPROC@
246 ZLIB_CFLAGS = @ZLIB_CFLAGS@
247 ZLIB_LIBS = @ZLIB_LIBS@
248 abs_builddir = @abs_builddir@
249 abs_srcdir = @abs_srcdir@
250 abs_top_builddir = @abs_top_builddir@
251 abs_top_srcdir = @abs_top_srcdir@
252 ac_ct_AR = @ac_ct_AR@
253 ac_ct_CC = @ac_ct_CC@
254 ac_ct_CXX = @ac_ct_CXX@
255 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
256 am__include = @am__include@
257 am__leading_dot = @am__leading_dot@
258 am__quote = @am__quote@
259 am__tar = @am__tar@
260 am__untar = @am__untar@
261 bindir = @bindir@
262 build = @build@
263 build_alias = @build_alias@
264 build_cpu = @build_cpu@
265 build_os = @build_os@
266 build_vendor = @build_vendor@
267 builddir = @builddir@
268 datadir = @datadir@
269 datarootdir = @datarootdir@
270 docdir = @docdir@
271 dvidir = @dvidir@
272 dvisvgm_srcdir = @dvisvgm_srcdir@
273 exec_prefix = @exec_prefix@
274 host = @host@
275 host_alias = @host_alias@
276 host_cpu = @host_cpu@
277 host_os = @host_os@
278 host_vendor = @host_vendor@
279 htmldir = @htmldir@
280 includedir = @includedir@
281 infodir = @infodir@
282 install_sh = @install_sh@
283 libdir = @libdir@
284 libexecdir = @libexecdir@
285 localedir = @localedir@
286 localstatedir = @localstatedir@
287 mandir = @mandir@
288 mkdir_p = @mkdir_p@
289 oldincludedir = @oldincludedir@
290 pdfdir = @pdfdir@
291 prefix = @prefix@
292 program_transform_name = @program_transform_name@
293 psdir = @psdir@
294 sbindir = @sbindir@
295 sharedstatedir = @sharedstatedir@
296 srcdir = @srcdir@
297 sysconfdir = @sysconfdir@
298 target = @target@
299 target_alias = @target_alias@
300 target_cpu = @target_cpu@
301 target_os = @target_os@
302 target_vendor = @target_vendor@
303 top_build_prefix = @top_build_prefix@
304 top_builddir = @top_builddir@
305 top_srcdir = @top_srcdir@
306 noinst_HEADERS = \
307 include/mpark/variant.hpp
308
309 EXTRA_DIST = LICENSE.md
310 all: all-am
311
312 .SUFFIXES:
313 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
314 @for dep in $?; do \
315 case '$(am__configure_deps)' in \
316 *$$dep*) \
317 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
318 && { if test -f $@; then exit 0; else break; fi; }; \
319 exit 1;; \
320 esac; \
321 done; \
322 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign libs/variant/Makefile'; \
323 $(am__cd) $(top_srcdir) && \
324 $(AUTOMAKE) --foreign libs/variant/Makefile
325 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
326 @case '$?' in \
327 *config.status*) \
328 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
329 *) \
330 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
331 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
332 esac;
333
334 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
335 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
336
337 $(top_srcdir)/configure: $(am__configure_deps)
338 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
339 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
340 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
341 $(am__aclocal_m4_deps):
342
343 mostlyclean-libtool:
344 -rm -f *.lo
345
346 clean-libtool:
347 -rm -rf .libs _libs
348
349 ID: $(am__tagged_files)
350 $(am__define_uniq_tagged_files); mkid -fID $$unique
351 tags: tags-am
352 TAGS: tags
353
354 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
355 set x; \
356 here=`pwd`; \
357 $(am__define_uniq_tagged_files); \
358 shift; \
359 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
360 test -n "$$unique" || unique=$$empty_fix; \
361 if test $$# -gt 0; then \
362 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
363 "$$@" $$unique; \
364 else \
365 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
366 $$unique; \
367 fi; \
368 fi
369 ctags: ctags-am
370
371 CTAGS: ctags
372 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
373 $(am__define_uniq_tagged_files); \
374 test -z "$(CTAGS_ARGS)$$unique" \
375 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
376 $$unique
377
378 GTAGS:
379 here=`$(am__cd) $(top_builddir) && pwd` \
380 && $(am__cd) $(top_srcdir) \
381 && gtags -i $(GTAGS_ARGS) "$$here"
382 cscopelist: cscopelist-am
383
384 cscopelist-am: $(am__tagged_files)
385 list='$(am__tagged_files)'; \
386 case "$(srcdir)" in \
387 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
388 *) sdir=$(subdir)/$(srcdir) ;; \
389 esac; \
390 for i in $$list; do \
391 if test -f "$$i"; then \
392 echo "$(subdir)/$$i"; \
393 else \
394 echo "$$sdir/$$i"; \
395 fi; \
396 done >> $(top_builddir)/cscope.files
397
398 distclean-tags:
399 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
400
401 distdir: $(BUILT_SOURCES)
402 $(MAKE) $(AM_MAKEFLAGS) distdir-am
403
404 distdir-am: $(DISTFILES)
405 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
406 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
407 list='$(DISTFILES)'; \
408 dist_files=`for file in $$list; do echo $$file; done | \
409 sed -e "s|^$$srcdirstrip/||;t" \
410 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
411 case $$dist_files in \
412 */*) $(MKDIR_P) `echo "$$dist_files" | \
413 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
414 sort -u` ;; \
415 esac; \
416 for file in $$dist_files; do \
417 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
418 if test -d $$d/$$file; then \
419 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
420 if test -d "$(distdir)/$$file"; then \
421 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
422 fi; \
423 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
424 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
425 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
426 fi; \
427 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
428 else \
429 test -f "$(distdir)/$$file" \
430 || cp -p $$d/$$file "$(distdir)/$$file" \
431 || exit 1; \
432 fi; \
433 done
434 check-am: all-am
435 check: check-am
436 all-am: Makefile $(HEADERS)
437 installdirs:
438 install: install-am
439 install-exec: install-exec-am
440 install-data: install-data-am
441 uninstall: uninstall-am
442
443 install-am: all-am
444 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
445
446 installcheck: installcheck-am
447 install-strip:
448 if test -z '$(STRIP)'; then \
449 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
450 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
451 install; \
452 else \
453 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
454 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
455 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
456 fi
457 mostlyclean-generic:
458
459 clean-generic:
460
461 distclean-generic:
462 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
463 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
464
465 maintainer-clean-generic:
466 @echo "This command is intended for maintainers to use"
467 @echo "it deletes files that may require special tools to rebuild."
468 clean: clean-am
469
470 clean-am: clean-generic clean-libtool mostlyclean-am
471
472 distclean: distclean-am
473 -rm -f Makefile
474 distclean-am: clean-am distclean-generic distclean-tags
475
476 dvi: dvi-am
477
478 dvi-am:
479
480 html: html-am
481
482 html-am:
483
484 info: info-am
485
486 info-am:
487
488 install-data-am:
489
490 install-dvi: install-dvi-am
491
492 install-dvi-am:
493
494 install-exec-am:
495
496 install-html: install-html-am
497
498 install-html-am:
499
500 install-info: install-info-am
501
502 install-info-am:
503
504 install-man:
505
506 install-pdf: install-pdf-am
507
508 install-pdf-am:
509
510 install-ps: install-ps-am
511
512 install-ps-am:
513
514 installcheck-am:
515
516 maintainer-clean: maintainer-clean-am
517 -rm -f Makefile
518 maintainer-clean-am: distclean-am maintainer-clean-generic
519
520 mostlyclean: mostlyclean-am
521
522 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
523
524 pdf: pdf-am
525
526 pdf-am:
527
528 ps: ps-am
529
530 ps-am:
531
532 uninstall-am:
533
534 .MAKE: install-am install-strip
535
536 .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
537 clean-libtool cscopelist-am ctags ctags-am distclean \
538 distclean-generic distclean-libtool distclean-tags distdir dvi \
539 dvi-am html html-am info info-am install install-am \
540 install-data install-data-am install-dvi install-dvi-am \
541 install-exec install-exec-am install-html install-html-am \
542 install-info install-info-am install-man install-pdf \
543 install-pdf-am install-ps install-ps-am install-strip \
544 installcheck installcheck-am installdirs maintainer-clean \
545 maintainer-clean-generic mostlyclean mostlyclean-generic \
546 mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
547 uninstall-am
548
549 .PRECIOUS: Makefile
550
551
552 # Tell versions [3.59,3.63) of GNU make to not export all variables.
553 # Otherwise a system limit (for SysV at least) may be exceeded.
554 .NOEXPORT:
+0
-760
libs/woff2/Makefile.in less more
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 VPATH = @srcdir@
17 am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
27 }
28 am__make_running_with_option = \
29 case $${target_option-} in \
30 ?) ;; \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
33 exit 1;; \
34 esac; \
35 has_opt=no; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
39 else \
40 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \
42 bs=\\; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 esac; \
46 fi; \
47 skip_next=no; \
48 strip_trailopt () \
49 { \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 }; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
54 case $$flg in \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
59 -*O?*) strip_trailopt 'O';; \
60 -*l) strip_trailopt 'l'; skip_next=yes;; \
61 -*l?*) strip_trailopt 'l';; \
62 -[dEDm]) skip_next=yes;; \
63 -[JT]) skip_next=yes;; \
64 esac; \
65 case $$flg in \
66 *$$target_option*) has_opt=yes; break;; \
67 esac; \
68 done; \
69 test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
72 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
74 pkglibdir = $(libdir)/@PACKAGE@
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
76 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77 install_sh_DATA = $(install_sh) -c -m 644
78 install_sh_PROGRAM = $(install_sh) -c
79 install_sh_SCRIPT = $(install_sh) -c
80 INSTALL_HEADER = $(INSTALL_DATA)
81 transform = $(program_transform_name)
82 NORMAL_INSTALL = :
83 PRE_INSTALL = :
84 POST_INSTALL = :
85 NORMAL_UNINSTALL = :
86 PRE_UNINSTALL = :
87 POST_UNINSTALL = :
88 build_triplet = @build@
89 host_triplet = @host@
90 target_triplet = @target@
91 subdir = libs/woff2
92 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
93 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
94 $(top_srcdir)/m4/ax_code_coverage.m4 \
95 $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \
96 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
97 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
98 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
99 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
100 $(ACLOCAL_M4)
101 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
102 mkinstalldirs = $(install_sh) -d
103 CONFIG_HEADER = $(top_builddir)/config.h
104 CONFIG_CLEAN_FILES =
105 CONFIG_CLEAN_VPATH_FILES =
106 LIBRARIES = $(noinst_LIBRARIES)
107 ARFLAGS = cru
108 AM_V_AR = $(am__v_AR_@AM_V@)
109 am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
110 am__v_AR_0 = @echo " AR " $@;
111 am__v_AR_1 =
112 libwoff2_a_AR = $(AR) $(ARFLAGS)
113 libwoff2_a_LIBADD =
114 am__libwoff2_a_SOURCES_DIST = include/woff2/decode.h \
115 include/woff2/encode.h include/woff2/output.h \
116 include/woff2/version.h src/buffer.h src/font.cc src/font.h \
117 src/glyph.cc src/glyph.h src/normalize.cc src/normalize.h \
118 src/port.h src/round.h src/store_bytes.h src/table_tags.cc \
119 src/table_tags.h src/transform.cc src/transform.h \
120 src/variable_length.cc src/variable_length.h \
121 src/woff2_common.cc src/woff2_common.h src/woff2_enc.cc \
122 src/woff2_out.cc
123 am__dirstamp = $(am__leading_dot)dirstamp
124 @HAVE_WOFF2_FALSE@am_libwoff2_a_OBJECTS = src/font.$(OBJEXT) \
125 @HAVE_WOFF2_FALSE@ src/glyph.$(OBJEXT) src/normalize.$(OBJEXT) \
126 @HAVE_WOFF2_FALSE@ src/table_tags.$(OBJEXT) \
127 @HAVE_WOFF2_FALSE@ src/transform.$(OBJEXT) \
128 @HAVE_WOFF2_FALSE@ src/variable_length.$(OBJEXT) \
129 @HAVE_WOFF2_FALSE@ src/woff2_common.$(OBJEXT) \
130 @HAVE_WOFF2_FALSE@ src/woff2_enc.$(OBJEXT) \
131 @HAVE_WOFF2_FALSE@ src/woff2_out.$(OBJEXT)
132 libwoff2_a_OBJECTS = $(am_libwoff2_a_OBJECTS)
133 AM_V_P = $(am__v_P_@AM_V@)
134 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
135 am__v_P_0 = false
136 am__v_P_1 = :
137 AM_V_GEN = $(am__v_GEN_@AM_V@)
138 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
139 am__v_GEN_0 = @echo " GEN " $@;
140 am__v_GEN_1 =
141 AM_V_at = $(am__v_at_@AM_V@)
142 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
143 am__v_at_0 = @
144 am__v_at_1 =
145 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
146 depcomp = $(SHELL) $(top_srcdir)/depcomp
147 am__maybe_remake_depfiles = depfiles
148 am__depfiles_remade = src/$(DEPDIR)/font.Po src/$(DEPDIR)/glyph.Po \
149 src/$(DEPDIR)/normalize.Po src/$(DEPDIR)/table_tags.Po \
150 src/$(DEPDIR)/transform.Po src/$(DEPDIR)/variable_length.Po \
151 src/$(DEPDIR)/woff2_common.Po src/$(DEPDIR)/woff2_enc.Po \
152 src/$(DEPDIR)/woff2_out.Po
153 am__mv = mv -f
154 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
155 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
156 AM_V_lt = $(am__v_lt_@AM_V@)
157 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
158 am__v_lt_0 = --silent
159 am__v_lt_1 =
160 LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
161 $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \
162 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
163 $(AM_CXXFLAGS) $(CXXFLAGS)
164 AM_V_CXX = $(am__v_CXX_@AM_V@)
165 am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
166 am__v_CXX_0 = @echo " CXX " $@;
167 am__v_CXX_1 =
168 CXXLD = $(CXX)
169 CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
170 $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
171 $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
172 AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
173 am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
174 am__v_CXXLD_0 = @echo " CXXLD " $@;
175 am__v_CXXLD_1 =
176 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
177 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
178 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
179 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
180 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
181 $(AM_CFLAGS) $(CFLAGS)
182 AM_V_CC = $(am__v_CC_@AM_V@)
183 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
184 am__v_CC_0 = @echo " CC " $@;
185 am__v_CC_1 =
186 CCLD = $(CC)
187 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
188 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
189 $(AM_LDFLAGS) $(LDFLAGS) -o $@
190 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
191 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
192 am__v_CCLD_0 = @echo " CCLD " $@;
193 am__v_CCLD_1 =
194 SOURCES = $(libwoff2_a_SOURCES)
195 DIST_SOURCES = $(am__libwoff2_a_SOURCES_DIST)
196 am__can_run_installinfo = \
197 case $$AM_UPDATE_INFO_DIR in \
198 n|no|NO) false;; \
199 *) (install-info --version) >/dev/null 2>&1;; \
200 esac
201 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
202 # Read a list of newline-separated strings from the standard input,
203 # and print each of them once, without duplicates. Input order is
204 # *not* preserved.
205 am__uniquify_input = $(AWK) '\
206 BEGIN { nonempty = 0; } \
207 { items[$$0] = 1; nonempty = 1; } \
208 END { if (nonempty) { for (i in items) print i; }; } \
209 '
210 # Make sure the list of sources is unique. This is necessary because,
211 # e.g., the same source file might be shared among _SOURCES variables
212 # for different programs/libraries.
213 am__define_uniq_tagged_files = \
214 list='$(am__tagged_files)'; \
215 unique=`for i in $$list; do \
216 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
217 done | $(am__uniquify_input)`
218 ETAGS = etags
219 CTAGS = ctags
220 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp
221 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
222 ACLOCAL = @ACLOCAL@
223 AMTAR = @AMTAR@
224 AM_CPPFLAGS = @AM_CPPFLAGS@
225 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
226 AM_LDFLAGS = @AM_LDFLAGS@
227 AR = @AR@
228 ASCIIDOC = @ASCIIDOC@
229 AUTOCONF = @AUTOCONF@
230 AUTOHEADER = @AUTOHEADER@
231 AUTOMAKE = @AUTOMAKE@
232 AWK = @AWK@
233 BROTLI_CFLAGS = @BROTLI_CFLAGS@
234 BROTLI_LIBS = @BROTLI_LIBS@
235 CC = @CC@
236 CCDEPMODE = @CCDEPMODE@
237 CFLAGS = @CFLAGS@
238 CODE_COVERAGE_CFLAGS = @CODE_COVERAGE_CFLAGS@
239 CODE_COVERAGE_CPPFLAGS = @CODE_COVERAGE_CPPFLAGS@
240 CODE_COVERAGE_CXXFLAGS = @CODE_COVERAGE_CXXFLAGS@
241 CODE_COVERAGE_ENABLED = @CODE_COVERAGE_ENABLED@
242 CODE_COVERAGE_LDFLAGS = @CODE_COVERAGE_LDFLAGS@
243 CODE_COVERAGE_LIBS = @CODE_COVERAGE_LIBS@
244 CPP = @CPP@
245 CPPFLAGS = @CPPFLAGS@
246 CXX = @CXX@
247 CXXCPP = @CXXCPP@
248 CXXDEPMODE = @CXXDEPMODE@
249 CXXFLAGS = @CXXFLAGS@
250 CYGPATH_W = @CYGPATH_W@
251 DATE = @DATE@
252 DEFS = @DEFS@
253 DEPDIR = @DEPDIR@
254 DLLTOOL = @DLLTOOL@
255 DSYMUTIL = @DSYMUTIL@
256 DUMPBIN = @DUMPBIN@
257 ECHO_C = @ECHO_C@
258 ECHO_N = @ECHO_N@
259 ECHO_T = @ECHO_T@
260 EGREP = @EGREP@
261 EXEEXT = @EXEEXT@
262 FGREP = @FGREP@
263 FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
264 FREETYPE_LIBS = @FREETYPE_LIBS@
265 GCOV = @GCOV@
266 GENHTML = @GENHTML@
267 GREP = @GREP@
268 HAVE_CXX11 = @HAVE_CXX11@
269 INSTALL = @INSTALL@
270 INSTALL_DATA = @INSTALL_DATA@
271 INSTALL_PROGRAM = @INSTALL_PROGRAM@
272 INSTALL_SCRIPT = @INSTALL_SCRIPT@
273 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
274 KPSE_CFLAGS = @KPSE_CFLAGS@
275 KPSE_LIBS = @KPSE_LIBS@
276 LCOV = @LCOV@
277 LD = @LD@
278 LDFLAGS = @LDFLAGS@
279 LIBCRYPTO_CFLAGS = @LIBCRYPTO_CFLAGS@
280 LIBCRYPTO_LIBS = @LIBCRYPTO_LIBS@
281 LIBOBJS = @LIBOBJS@
282 LIBS = @LIBS@
283 LIBTOOL = @LIBTOOL@
284 LIPO = @LIPO@
285 LN_S = @LN_S@
286 LTLIBOBJS = @LTLIBOBJS@
287 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
288 MAKEINFO = @MAKEINFO@
289 MANIFEST_TOOL = @MANIFEST_TOOL@
290 MKDIR_P = @MKDIR_P@
291 NM = @NM@
292 NMEDIT = @NMEDIT@
293 OBJDUMP = @OBJDUMP@
294 OBJEXT = @OBJEXT@
295 OTOOL = @OTOOL@
296 OTOOL64 = @OTOOL64@
297 PACKAGE = @PACKAGE@
298 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
299 PACKAGE_NAME = @PACKAGE_NAME@
300 PACKAGE_STRING = @PACKAGE_STRING@
301 PACKAGE_TARNAME = @PACKAGE_TARNAME@
302 PACKAGE_URL = @PACKAGE_URL@
303 PACKAGE_VERSION = @PACKAGE_VERSION@
304 PATH_SEPARATOR = @PATH_SEPARATOR@
305 PKG_CONFIG = @PKG_CONFIG@
306 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
307 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
308 RANLIB = @RANLIB@
309 SED = @SED@
310 SET_MAKE = @SET_MAKE@
311 SHELL = @SHELL@
312 STRIP = @STRIP@
313 TTFAUTOHINT_CFLAGS = @TTFAUTOHINT_CFLAGS@
314 TTFAUTOHINT_LIBS = @TTFAUTOHINT_LIBS@
315 VERSION = @VERSION@
316 WOFF2_CFLAGS = @WOFF2_CFLAGS@
317 WOFF2_LIBS = @WOFF2_LIBS@
318 XMLTO = @XMLTO@
319 XSLTPROC = @XSLTPROC@
320 ZLIB_CFLAGS = @ZLIB_CFLAGS@
321 ZLIB_LIBS = @ZLIB_LIBS@
322 abs_builddir = @abs_builddir@
323 abs_srcdir = @abs_srcdir@
324 abs_top_builddir = @abs_top_builddir@
325 abs_top_srcdir = @abs_top_srcdir@
326 ac_ct_AR = @ac_ct_AR@
327 ac_ct_CC = @ac_ct_CC@
328 ac_ct_CXX = @ac_ct_CXX@
329 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
330 am__include = @am__include@
331 am__leading_dot = @am__leading_dot@
332 am__quote = @am__quote@
333 am__tar = @am__tar@
334 am__untar = @am__untar@
335 bindir = @bindir@
336 build = @build@
337 build_alias = @build_alias@
338 build_cpu = @build_cpu@
339 build_os = @build_os@
340 build_vendor = @build_vendor@
341 builddir = @builddir@
342 datadir = @datadir@
343 datarootdir = @datarootdir@
344 docdir = @docdir@
345 dvidir = @dvidir@
346 dvisvgm_srcdir = @dvisvgm_srcdir@
347 exec_prefix = @exec_prefix@
348 host = @host@
349 host_alias = @host_alias@
350 host_cpu = @host_cpu@
351 host_os = @host_os@
352 host_vendor = @host_vendor@
353 htmldir = @htmldir@
354 includedir = @includedir@
355 infodir = @infodir@
356 install_sh = @install_sh@
357 libdir = @libdir@
358 libexecdir = @libexecdir@
359 localedir = @localedir@
360 localstatedir = @localstatedir@
361 mandir = @mandir@
362 mkdir_p = @mkdir_p@
363 oldincludedir = @oldincludedir@
364 pdfdir = @pdfdir@
365 prefix = @prefix@
366 program_transform_name = @program_transform_name@
367 psdir = @psdir@
368 sbindir = @sbindir@
369 sharedstatedir = @sharedstatedir@
370 srcdir = @srcdir@
371 sysconfdir = @sysconfdir@
372 target = @target@
373 target_alias = @target_alias@
374 target_cpu = @target_cpu@
375 target_os = @target_os@
376 target_vendor = @target_vendor@
377 top_build_prefix = @top_build_prefix@
378 top_builddir = @top_builddir@
379 top_srcdir = @top_srcdir@
380 @HAVE_WOFF2_FALSE@noinst_LIBRARIES = libwoff2.a
381 @HAVE_WOFF2_FALSE@libwoff2_a_SOURCES = \
382 @HAVE_WOFF2_FALSE@ include/woff2/decode.h \
383 @HAVE_WOFF2_FALSE@ include/woff2/encode.h \
384 @HAVE_WOFF2_FALSE@ include/woff2/output.h \
385 @HAVE_WOFF2_FALSE@ include/woff2/version.h \
386 @HAVE_WOFF2_FALSE@ src/buffer.h \
387 @HAVE_WOFF2_FALSE@ src/font.cc \
388 @HAVE_WOFF2_FALSE@ src/font.h \
389 @HAVE_WOFF2_FALSE@ src/glyph.cc \
390 @HAVE_WOFF2_FALSE@ src/glyph.h \
391 @HAVE_WOFF2_FALSE@ src/normalize.cc \
392 @HAVE_WOFF2_FALSE@ src/normalize.h \
393 @HAVE_WOFF2_FALSE@ src/port.h \
394 @HAVE_WOFF2_FALSE@ src/round.h \
395 @HAVE_WOFF2_FALSE@ src/store_bytes.h \
396 @HAVE_WOFF2_FALSE@ src/table_tags.cc \
397 @HAVE_WOFF2_FALSE@ src/table_tags.h \
398 @HAVE_WOFF2_FALSE@ src/transform.cc \
399 @HAVE_WOFF2_FALSE@ src/transform.h \
400 @HAVE_WOFF2_FALSE@ src/variable_length.cc \
401 @HAVE_WOFF2_FALSE@ src/variable_length.h \
402 @HAVE_WOFF2_FALSE@ src/woff2_common.cc \
403 @HAVE_WOFF2_FALSE@ src/woff2_common.h \
404 @HAVE_WOFF2_FALSE@ src/woff2_enc.cc \
405 @HAVE_WOFF2_FALSE@ src/woff2_out.cc
406
407 @HAVE_WOFF2_FALSE@AM_CXXFLAGS = -Wall -I$(srcdir)/include -I$(srcdir)/../brotli/include
408 EXTRA_DIST = LICENSE
409 CLEANFILES = *.gcda *.gcno
410 all: all-am
411
412 .SUFFIXES:
413 .SUFFIXES: .cc .lo .o .obj
414 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
415 @for dep in $?; do \
416 case '$(am__configure_deps)' in \
417 *$$dep*) \
418 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
419 && { if test -f $@; then exit 0; else break; fi; }; \
420 exit 1;; \
421 esac; \
422 done; \
423 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign libs/woff2/Makefile'; \
424 $(am__cd) $(top_srcdir) && \
425 $(AUTOMAKE) --foreign libs/woff2/Makefile
426 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
427 @case '$?' in \
428 *config.status*) \
429 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
430 *) \
431 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
432 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
433 esac;
434
435 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
436 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
437
438 $(top_srcdir)/configure: $(am__configure_deps)
439 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
440 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
441 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
442 $(am__aclocal_m4_deps):
443
444 clean-noinstLIBRARIES:
445 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
446 src/$(am__dirstamp):
447 @$(MKDIR_P) src
448 @: > src/$(am__dirstamp)
449 src/$(DEPDIR)/$(am__dirstamp):
450 @$(MKDIR_P) src/$(DEPDIR)
451 @: > src/$(DEPDIR)/$(am__dirstamp)
452 src/font.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
453 src/glyph.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
454 src/normalize.$(OBJEXT): src/$(am__dirstamp) \
455 src/$(DEPDIR)/$(am__dirstamp)
456 src/table_tags.$(OBJEXT): src/$(am__dirstamp) \
457 src/$(DEPDIR)/$(am__dirstamp)
458 src/transform.$(OBJEXT): src/$(am__dirstamp) \
459 src/$(DEPDIR)/$(am__dirstamp)
460 src/variable_length.$(OBJEXT): src/$(am__dirstamp) \
461 src/$(DEPDIR)/$(am__dirstamp)
462 src/woff2_common.$(OBJEXT): src/$(am__dirstamp) \
463 src/$(DEPDIR)/$(am__dirstamp)
464 src/woff2_enc.$(OBJEXT): src/$(am__dirstamp) \
465 src/$(DEPDIR)/$(am__dirstamp)
466 src/woff2_out.$(OBJEXT): src/$(am__dirstamp) \
467 src/$(DEPDIR)/$(am__dirstamp)
468
469 libwoff2.a: $(libwoff2_a_OBJECTS) $(libwoff2_a_DEPENDENCIES) $(EXTRA_libwoff2_a_DEPENDENCIES)
470 $(AM_V_at)-rm -f libwoff2.a
471 $(AM_V_AR)$(libwoff2_a_AR) libwoff2.a $(libwoff2_a_OBJECTS) $(libwoff2_a_LIBADD)
472 $(AM_V_at)$(RANLIB) libwoff2.a
473
474 mostlyclean-compile:
475 -rm -f *.$(OBJEXT)
476 -rm -f src/*.$(OBJEXT)
477
478 distclean-compile:
479 -rm -f *.tab.c
480
481 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/font.Po@am__quote@ # am--include-marker
482 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/glyph.Po@am__quote@ # am--include-marker
483 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/normalize.Po@am__quote@ # am--include-marker
484 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/table_tags.Po@am__quote@ # am--include-marker
485 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/transform.Po@am__quote@ # am--include-marker
486 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/variable_length.Po@am__quote@ # am--include-marker
487 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/woff2_common.Po@am__quote@ # am--include-marker
488 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/woff2_enc.Po@am__quote@ # am--include-marker
489 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/woff2_out.Po@am__quote@ # am--include-marker
490
491 $(am__depfiles_remade):
492 @$(MKDIR_P) $(@D)
493 @echo '# dummy' >$@-t && $(am__mv) $@-t $@
494
495 am--depfiles: $(am__depfiles_remade)
496
497 .cc.o:
498 @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
499 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
500 @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
501 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
502 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
503 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $<
504
505 .cc.obj:
506 @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
507 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
508 @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
509 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
510 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
511 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
512
513 .cc.lo:
514 @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
515 @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
516 @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
517 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
518 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
519 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $<
520
521 mostlyclean-libtool:
522 -rm -f *.lo
523
524 clean-libtool:
525 -rm -rf .libs _libs
526
527 ID: $(am__tagged_files)
528 $(am__define_uniq_tagged_files); mkid -fID $$unique
529 tags: tags-am
530 TAGS: tags
531
532 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
533 set x; \
534 here=`pwd`; \
535 $(am__define_uniq_tagged_files); \
536 shift; \
537 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
538 test -n "$$unique" || unique=$$empty_fix; \
539 if test $$# -gt 0; then \
540 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
541 "$$@" $$unique; \
542 else \
543 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
544 $$unique; \
545 fi; \
546 fi
547 ctags: ctags-am
548
549 CTAGS: ctags
550 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
551 $(am__define_uniq_tagged_files); \
552 test -z "$(CTAGS_ARGS)$$unique" \
553 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
554 $$unique
555
556 GTAGS:
557 here=`$(am__cd) $(top_builddir) && pwd` \
558 && $(am__cd) $(top_srcdir) \
559 && gtags -i $(GTAGS_ARGS) "$$here"
560 cscopelist: cscopelist-am
561
562 cscopelist-am: $(am__tagged_files)
563 list='$(am__tagged_files)'; \
564 case "$(srcdir)" in \
565 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
566 *) sdir=$(subdir)/$(srcdir) ;; \
567 esac; \
568 for i in $$list; do \
569 if test -f "$$i"; then \
570 echo "$(subdir)/$$i"; \
571 else \
572 echo "$$sdir/$$i"; \
573 fi; \
574 done >> $(top_builddir)/cscope.files
575
576 distclean-tags:
577 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
578
579 distdir: $(BUILT_SOURCES)
580 $(MAKE) $(AM_MAKEFLAGS) distdir-am
581
582 distdir-am: $(DISTFILES)
583 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
584 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
585 list='$(DISTFILES)'; \
586 dist_files=`for file in $$list; do echo $$file; done | \
587 sed -e "s|^$$srcdirstrip/||;t" \
588 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
589 case $$dist_files in \
590 */*) $(MKDIR_P) `echo "$$dist_files" | \
591 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
592 sort -u` ;; \
593 esac; \
594 for file in $$dist_files; do \
595 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
596 if test -d $$d/$$file; then \
597 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
598 if test -d "$(distdir)/$$file"; then \
599 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
600 fi; \
601 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
602 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
603 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
604 fi; \
605 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
606 else \
607 test -f "$(distdir)/$$file" \
608 || cp -p $$d/$$file "$(distdir)/$$file" \
609 || exit 1; \
610 fi; \
611 done
612 check-am: all-am
613 check: check-am
614 all-am: Makefile $(LIBRARIES)
615 installdirs:
616 install: install-am
617 install-exec: install-exec-am
618 install-data: install-data-am
619 uninstall: uninstall-am
620
621 install-am: all-am
622 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
623
624 installcheck: installcheck-am
625 install-strip:
626 if test -z '$(STRIP)'; then \
627 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
628 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
629 install; \
630 else \
631 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
632 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
633 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
634 fi
635 mostlyclean-generic:
636
637 clean-generic:
638 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
639
640 distclean-generic:
641 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
642 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
643 -rm -f src/$(DEPDIR)/$(am__dirstamp)
644 -rm -f src/$(am__dirstamp)
645
646 maintainer-clean-generic:
647 @echo "This command is intended for maintainers to use"
648 @echo "it deletes files that may require special tools to rebuild."
649 clean: clean-am
650
651 clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \
652 mostlyclean-am
653
654 distclean: distclean-am
655 -rm -f src/$(DEPDIR)/font.Po
656 -rm -f src/$(DEPDIR)/glyph.Po
657 -rm -f src/$(DEPDIR)/normalize.Po
658 -rm -f src/$(DEPDIR)/table_tags.Po
659 -rm -f src/$(DEPDIR)/transform.Po
660 -rm -f src/$(DEPDIR)/variable_length.Po
661 -rm -f src/$(DEPDIR)/woff2_common.Po
662 -rm -f src/$(DEPDIR)/woff2_enc.Po
663 -rm -f src/$(DEPDIR)/woff2_out.Po
664 -rm -f Makefile
665 distclean-am: clean-am distclean-compile distclean-generic \
666 distclean-tags
667
668 dvi: dvi-am
669
670 dvi-am:
671
672 html: html-am
673
674 html-am:
675
676 info: info-am
677
678 info-am:
679
680 install-data-am:
681
682 install-dvi: install-dvi-am
683
684 install-dvi-am:
685
686 install-exec-am:
687
688 install-html: install-html-am
689
690 install-html-am:
691
692 install-info: install-info-am
693
694 install-info-am:
695
696 install-man:
697
698 install-pdf: install-pdf-am
699
700 install-pdf-am:
701
702 install-ps: install-ps-am
703
704 install-ps-am:
705
706 installcheck-am:
707
708 maintainer-clean: maintainer-clean-am
709 -rm -f src/$(DEPDIR)/font.Po
710 -rm -f src/$(DEPDIR)/glyph.Po
711 -rm -f src/$(DEPDIR)/normalize.Po
712 -rm -f src/$(DEPDIR)/table_tags.Po
713 -rm -f src/$(DEPDIR)/transform.Po
714 -rm -f src/$(DEPDIR)/variable_length.Po
715 -rm -f src/$(DEPDIR)/woff2_common.Po
716 -rm -f src/$(DEPDIR)/woff2_enc.Po
717 -rm -f src/$(DEPDIR)/woff2_out.Po
718 -rm -f Makefile
719 maintainer-clean-am: distclean-am maintainer-clean-generic
720
721 mostlyclean: mostlyclean-am
722
723 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
724 mostlyclean-libtool
725
726 pdf: pdf-am
727
728 pdf-am:
729
730 ps: ps-am
731
732 ps-am:
733
734 uninstall-am:
735
736 .MAKE: install-am install-strip
737
738 .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
739 clean-generic clean-libtool clean-noinstLIBRARIES \
740 cscopelist-am ctags ctags-am distclean distclean-compile \
741 distclean-generic distclean-libtool distclean-tags distdir dvi \
742 dvi-am html html-am info info-am install install-am \
743 install-data install-data-am install-dvi install-dvi-am \
744 install-exec install-exec-am install-html install-html-am \
745 install-info install-info-am install-man install-pdf \
746 install-pdf-am install-ps install-ps-am install-strip \
747 installcheck installcheck-am installdirs maintainer-clean \
748 maintainer-clean-generic mostlyclean mostlyclean-compile \
749 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
750 tags tags-am uninstall uninstall-am
751
752 .PRECIOUS: Makefile
753
754
755 @HAVE_WOFF2_FALSE@@CODE_COVERAGE_RULES@
756
757 # Tell versions [3.59,3.63) of GNU make to not export all variables.
758 # Otherwise a system limit (for SysV at least) may be exceeded.
759 .NOEXPORT:
0 xxHash Library
1 Copyright (c) 2012-2014, Yann Collet
2 All rights reserved.
3
4 Redistribution and use in source and binary forms, with or without modification,
5 are permitted provided that the following conditions are met:
6
7 * Redistributions of source code must retain the above copyright notice, this
8 list of conditions and the following disclaimer.
9
10 * Redistributions in binary form must reproduce the above copyright notice, this
11 list of conditions and the following disclaimer in the documentation and/or
12 other materials provided with the distribution.
13
14 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
15 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
16 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
18 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
19 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
20 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
21 ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
23 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+0
-649
libs/xxHash/Makefile.in less more
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 VPATH = @srcdir@
17 am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
27 }
28 am__make_running_with_option = \
29 case $${target_option-} in \
30 ?) ;; \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
33 exit 1;; \
34 esac; \
35 has_opt=no; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
39 else \
40 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \
42 bs=\\; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 esac; \
46 fi; \
47 skip_next=no; \
48 strip_trailopt () \
49 { \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 }; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
54 case $$flg in \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
59 -*O?*) strip_trailopt 'O';; \
60 -*l) strip_trailopt 'l'; skip_next=yes;; \
61 -*l?*) strip_trailopt 'l';; \
62 -[dEDm]) skip_next=yes;; \
63 -[JT]) skip_next=yes;; \
64 esac; \
65 case $$flg in \
66 *$$target_option*) has_opt=yes; break;; \
67 esac; \
68 done; \
69 test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
72 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
74 pkglibdir = $(libdir)/@PACKAGE@
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
76 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77 install_sh_DATA = $(install_sh) -c -m 644
78 install_sh_PROGRAM = $(install_sh) -c
79 install_sh_SCRIPT = $(install_sh) -c
80 INSTALL_HEADER = $(INSTALL_DATA)
81 transform = $(program_transform_name)
82 NORMAL_INSTALL = :
83 PRE_INSTALL = :
84 POST_INSTALL = :
85 NORMAL_UNINSTALL = :
86 PRE_UNINSTALL = :
87 POST_UNINSTALL = :
88 build_triplet = @build@
89 host_triplet = @host@
90 target_triplet = @target@
91 subdir = libs/xxHash
92 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
93 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
94 $(top_srcdir)/m4/ax_code_coverage.m4 \
95 $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \
96 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
97 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
98 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
99 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
100 $(ACLOCAL_M4)
101 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
102 mkinstalldirs = $(install_sh) -d
103 CONFIG_HEADER = $(top_builddir)/config.h
104 CONFIG_CLEAN_FILES =
105 CONFIG_CLEAN_VPATH_FILES =
106 LIBRARIES = $(noinst_LIBRARIES)
107 ARFLAGS = cru
108 AM_V_AR = $(am__v_AR_@AM_V@)
109 am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
110 am__v_AR_0 = @echo " AR " $@;
111 am__v_AR_1 =
112 libxxhash_a_AR = $(AR) $(ARFLAGS)
113 libxxhash_a_LIBADD =
114 am__libxxhash_a_SOURCES_DIST = xxhash.c xxhash.h xxh3.h
115 @HAVE_XXHASH_FALSE@am_libxxhash_a_OBJECTS = xxhash.$(OBJEXT)
116 libxxhash_a_OBJECTS = $(am_libxxhash_a_OBJECTS)
117 AM_V_P = $(am__v_P_@AM_V@)
118 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
119 am__v_P_0 = false
120 am__v_P_1 = :
121 AM_V_GEN = $(am__v_GEN_@AM_V@)
122 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
123 am__v_GEN_0 = @echo " GEN " $@;
124 am__v_GEN_1 =
125 AM_V_at = $(am__v_at_@AM_V@)
126 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
127 am__v_at_0 = @
128 am__v_at_1 =
129 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
130 depcomp = $(SHELL) $(top_srcdir)/depcomp
131 am__maybe_remake_depfiles = depfiles
132 am__depfiles_remade = ./$(DEPDIR)/xxhash.Po
133 am__mv = mv -f
134 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
135 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
136 AM_V_lt = $(am__v_lt_@AM_V@)
137 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
138 am__v_lt_0 = --silent
139 am__v_lt_1 =
140 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
141 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
142 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
143 $(AM_CFLAGS) $(CFLAGS)
144 AM_V_CC = $(am__v_CC_@AM_V@)
145 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
146 am__v_CC_0 = @echo " CC " $@;
147 am__v_CC_1 =
148 CCLD = $(CC)
149 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
150 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
151 $(AM_LDFLAGS) $(LDFLAGS) -o $@
152 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
153 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
154 am__v_CCLD_0 = @echo " CCLD " $@;
155 am__v_CCLD_1 =
156 SOURCES = $(libxxhash_a_SOURCES)
157 DIST_SOURCES = $(am__libxxhash_a_SOURCES_DIST)
158 am__can_run_installinfo = \
159 case $$AM_UPDATE_INFO_DIR in \
160 n|no|NO) false;; \
161 *) (install-info --version) >/dev/null 2>&1;; \
162 esac
163 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
164 # Read a list of newline-separated strings from the standard input,
165 # and print each of them once, without duplicates. Input order is
166 # *not* preserved.
167 am__uniquify_input = $(AWK) '\
168 BEGIN { nonempty = 0; } \
169 { items[$$0] = 1; nonempty = 1; } \
170 END { if (nonempty) { for (i in items) print i; }; } \
171 '
172 # Make sure the list of sources is unique. This is necessary because,
173 # e.g., the same source file might be shared among _SOURCES variables
174 # for different programs/libraries.
175 am__define_uniq_tagged_files = \
176 list='$(am__tagged_files)'; \
177 unique=`for i in $$list; do \
178 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
179 done | $(am__uniquify_input)`
180 ETAGS = etags
181 CTAGS = ctags
182 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp
183 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
184 ACLOCAL = @ACLOCAL@
185 AMTAR = @AMTAR@
186 AM_CPPFLAGS = @AM_CPPFLAGS@
187 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
188 AM_LDFLAGS = @AM_LDFLAGS@
189 AR = @AR@
190 ASCIIDOC = @ASCIIDOC@
191 AUTOCONF = @AUTOCONF@
192 AUTOHEADER = @AUTOHEADER@
193 AUTOMAKE = @AUTOMAKE@
194 AWK = @AWK@
195 BROTLI_CFLAGS = @BROTLI_CFLAGS@
196 BROTLI_LIBS = @BROTLI_LIBS@
197 CC = @CC@
198 CCDEPMODE = @CCDEPMODE@
199 CFLAGS = @CFLAGS@
200 CODE_COVERAGE_CFLAGS = @CODE_COVERAGE_CFLAGS@
201 CODE_COVERAGE_CPPFLAGS = @CODE_COVERAGE_CPPFLAGS@
202 CODE_COVERAGE_CXXFLAGS = @CODE_COVERAGE_CXXFLAGS@
203 CODE_COVERAGE_ENABLED = @CODE_COVERAGE_ENABLED@
204 CODE_COVERAGE_LDFLAGS = @CODE_COVERAGE_LDFLAGS@
205 CODE_COVERAGE_LIBS = @CODE_COVERAGE_LIBS@
206 CPP = @CPP@
207 CPPFLAGS = @CPPFLAGS@
208 CXX = @CXX@
209 CXXCPP = @CXXCPP@
210 CXXDEPMODE = @CXXDEPMODE@
211 CXXFLAGS = @CXXFLAGS@
212 CYGPATH_W = @CYGPATH_W@
213 DATE = @DATE@
214 DEFS = @DEFS@
215 DEPDIR = @DEPDIR@
216 DLLTOOL = @DLLTOOL@
217 DSYMUTIL = @DSYMUTIL@
218 DUMPBIN = @DUMPBIN@
219 ECHO_C = @ECHO_C@
220 ECHO_N = @ECHO_N@
221 ECHO_T = @ECHO_T@
222 EGREP = @EGREP@
223 EXEEXT = @EXEEXT@
224 FGREP = @FGREP@
225 FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
226 FREETYPE_LIBS = @FREETYPE_LIBS@
227 GCOV = @GCOV@
228 GENHTML = @GENHTML@
229 GREP = @GREP@
230 HAVE_CXX11 = @HAVE_CXX11@
231 INSTALL = @INSTALL@
232 INSTALL_DATA = @INSTALL_DATA@
233 INSTALL_PROGRAM = @INSTALL_PROGRAM@
234 INSTALL_SCRIPT = @INSTALL_SCRIPT@
235 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
236 KPSE_CFLAGS = @KPSE_CFLAGS@
237 KPSE_LIBS = @KPSE_LIBS@
238 LCOV = @LCOV@
239 LD = @LD@
240 LDFLAGS = @LDFLAGS@
241 LIBCRYPTO_CFLAGS = @LIBCRYPTO_CFLAGS@
242 LIBCRYPTO_LIBS = @LIBCRYPTO_LIBS@
243 LIBOBJS = @LIBOBJS@
244 LIBS = @LIBS@
245 LIBTOOL = @LIBTOOL@
246 LIPO = @LIPO@
247 LN_S = @LN_S@
248 LTLIBOBJS = @LTLIBOBJS@
249 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
250 MAKEINFO = @MAKEINFO@
251 MANIFEST_TOOL = @MANIFEST_TOOL@
252 MKDIR_P = @MKDIR_P@
253 NM = @NM@
254 NMEDIT = @NMEDIT@
255 OBJDUMP = @OBJDUMP@
256 OBJEXT = @OBJEXT@
257 OTOOL = @OTOOL@
258 OTOOL64 = @OTOOL64@
259 PACKAGE = @PACKAGE@
260 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
261 PACKAGE_NAME = @PACKAGE_NAME@
262 PACKAGE_STRING = @PACKAGE_STRING@
263 PACKAGE_TARNAME = @PACKAGE_TARNAME@
264 PACKAGE_URL = @PACKAGE_URL@
265 PACKAGE_VERSION = @PACKAGE_VERSION@
266 PATH_SEPARATOR = @PATH_SEPARATOR@
267 PKG_CONFIG = @PKG_CONFIG@
268 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
269 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
270 RANLIB = @RANLIB@
271 SED = @SED@
272 SET_MAKE = @SET_MAKE@
273 SHELL = @SHELL@
274 STRIP = @STRIP@
275 TTFAUTOHINT_CFLAGS = @TTFAUTOHINT_CFLAGS@
276 TTFAUTOHINT_LIBS = @TTFAUTOHINT_LIBS@
277 VERSION = @VERSION@
278 WOFF2_CFLAGS = @WOFF2_CFLAGS@
279 WOFF2_LIBS = @WOFF2_LIBS@
280 XMLTO = @XMLTO@
281 XSLTPROC = @XSLTPROC@
282 ZLIB_CFLAGS = @ZLIB_CFLAGS@
283 ZLIB_LIBS = @ZLIB_LIBS@
284 abs_builddir = @abs_builddir@
285 abs_srcdir = @abs_srcdir@
286 abs_top_builddir = @abs_top_builddir@
287 abs_top_srcdir = @abs_top_srcdir@
288 ac_ct_AR = @ac_ct_AR@
289 ac_ct_CC = @ac_ct_CC@
290 ac_ct_CXX = @ac_ct_CXX@
291 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
292 am__include = @am__include@
293 am__leading_dot = @am__leading_dot@
294 am__quote = @am__quote@
295 am__tar = @am__tar@
296 am__untar = @am__untar@
297 bindir = @bindir@
298 build = @build@
299 build_alias = @build_alias@
300 build_cpu = @build_cpu@
301 build_os = @build_os@
302 build_vendor = @build_vendor@
303 builddir = @builddir@
304 datadir = @datadir@
305 datarootdir = @datarootdir@
306 docdir = @docdir@
307 dvidir = @dvidir@
308 dvisvgm_srcdir = @dvisvgm_srcdir@
309 exec_prefix = @exec_prefix@
310 host = @host@
311 host_alias = @host_alias@
312 host_cpu = @host_cpu@
313 host_os = @host_os@
314 host_vendor = @host_vendor@
315 htmldir = @htmldir@
316 includedir = @includedir@
317 infodir = @infodir@
318 install_sh = @install_sh@
319 libdir = @libdir@
320 libexecdir = @libexecdir@
321 localedir = @localedir@
322 localstatedir = @localstatedir@
323 mandir = @mandir@
324 mkdir_p = @mkdir_p@
325 oldincludedir = @oldincludedir@
326 pdfdir = @pdfdir@
327 prefix = @prefix@
328 program_transform_name = @program_transform_name@
329 psdir = @psdir@
330 sbindir = @sbindir@
331 sharedstatedir = @sharedstatedir@
332 srcdir = @srcdir@
333 sysconfdir = @sysconfdir@
334 target = @target@
335 target_alias = @target_alias@
336 target_cpu = @target_cpu@
337 target_os = @target_os@
338 target_vendor = @target_vendor@
339 top_build_prefix = @top_build_prefix@
340 top_builddir = @top_builddir@
341 top_srcdir = @top_srcdir@
342 @HAVE_XXHASH_FALSE@noinst_LIBRARIES = libxxhash.a
343 @HAVE_XXHASH_FALSE@libxxhash_a_SOURCES = xxhash.c xxhash.h xxh3.h
344 @HAVE_XXHASH_FALSE@AM_CXXFLAGS = -Wall
345 CLEANFILES = *.gcda *.gcno
346 all: all-am
347
348 .SUFFIXES:
349 .SUFFIXES: .c .lo .o .obj
350 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
351 @for dep in $?; do \
352 case '$(am__configure_deps)' in \
353 *$$dep*) \
354 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
355 && { if test -f $@; then exit 0; else break; fi; }; \
356 exit 1;; \
357 esac; \
358 done; \
359 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign libs/xxHash/Makefile'; \
360 $(am__cd) $(top_srcdir) && \
361 $(AUTOMAKE) --foreign libs/xxHash/Makefile
362 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
363 @case '$?' in \
364 *config.status*) \
365 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
366 *) \
367 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
368 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
369 esac;
370
371 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
372 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
373
374 $(top_srcdir)/configure: $(am__configure_deps)
375 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
376 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
377 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
378 $(am__aclocal_m4_deps):
379
380 clean-noinstLIBRARIES:
381 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
382
383 libxxhash.a: $(libxxhash_a_OBJECTS) $(libxxhash_a_DEPENDENCIES) $(EXTRA_libxxhash_a_DEPENDENCIES)
384 $(AM_V_at)-rm -f libxxhash.a
385 $(AM_V_AR)$(libxxhash_a_AR) libxxhash.a $(libxxhash_a_OBJECTS) $(libxxhash_a_LIBADD)
386 $(AM_V_at)$(RANLIB) libxxhash.a
387
388 mostlyclean-compile:
389 -rm -f *.$(OBJEXT)
390
391 distclean-compile:
392 -rm -f *.tab.c
393
394 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xxhash.Po@am__quote@ # am--include-marker
395
396 $(am__depfiles_remade):
397 @$(MKDIR_P) $(@D)
398 @echo '# dummy' >$@-t && $(am__mv) $@-t $@
399
400 am--depfiles: $(am__depfiles_remade)
401
402 .c.o:
403 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
404 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
405 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
406 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
407 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
408 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
409
410 .c.obj:
411 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
412 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
413 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
414 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
415 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
416 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
417
418 .c.lo:
419 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
420 @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
421 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
422 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
423 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
424 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
425
426 mostlyclean-libtool:
427 -rm -f *.lo
428
429 clean-libtool:
430 -rm -rf .libs _libs
431
432 ID: $(am__tagged_files)
433 $(am__define_uniq_tagged_files); mkid -fID $$unique
434 tags: tags-am
435 TAGS: tags
436
437 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
438 set x; \
439 here=`pwd`; \
440 $(am__define_uniq_tagged_files); \
441 shift; \
442 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
443 test -n "$$unique" || unique=$$empty_fix; \
444 if test $$# -gt 0; then \
445 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
446 "$$@" $$unique; \
447 else \
448 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
449 $$unique; \
450 fi; \
451 fi
452 ctags: ctags-am
453
454 CTAGS: ctags
455 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
456 $(am__define_uniq_tagged_files); \
457 test -z "$(CTAGS_ARGS)$$unique" \
458 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
459 $$unique
460
461 GTAGS:
462 here=`$(am__cd) $(top_builddir) && pwd` \
463 && $(am__cd) $(top_srcdir) \
464 && gtags -i $(GTAGS_ARGS) "$$here"
465 cscopelist: cscopelist-am
466
467 cscopelist-am: $(am__tagged_files)
468 list='$(am__tagged_files)'; \
469 case "$(srcdir)" in \
470 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
471 *) sdir=$(subdir)/$(srcdir) ;; \
472 esac; \
473 for i in $$list; do \
474 if test -f "$$i"; then \
475 echo "$(subdir)/$$i"; \
476 else \
477 echo "$$sdir/$$i"; \
478 fi; \
479 done >> $(top_builddir)/cscope.files
480
481 distclean-tags:
482 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
483
484 distdir: $(BUILT_SOURCES)
485 $(MAKE) $(AM_MAKEFLAGS) distdir-am
486
487 distdir-am: $(DISTFILES)
488 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
489 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
490 list='$(DISTFILES)'; \
491 dist_files=`for file in $$list; do echo $$file; done | \
492 sed -e "s|^$$srcdirstrip/||;t" \
493 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
494 case $$dist_files in \
495 */*) $(MKDIR_P) `echo "$$dist_files" | \
496 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
497 sort -u` ;; \
498 esac; \
499 for file in $$dist_files; do \
500 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
501 if test -d $$d/$$file; then \
502 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
503 if test -d "$(distdir)/$$file"; then \
504 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
505 fi; \
506 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
507 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
508 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
509 fi; \
510 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
511 else \
512 test -f "$(distdir)/$$file" \
513 || cp -p $$d/$$file "$(distdir)/$$file" \
514 || exit 1; \
515 fi; \
516 done
517 check-am: all-am
518 check: check-am
519 all-am: Makefile $(LIBRARIES)
520 installdirs:
521 install: install-am
522 install-exec: install-exec-am
523 install-data: install-data-am
524 uninstall: uninstall-am
525
526 install-am: all-am
527 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
528
529 installcheck: installcheck-am
530 install-strip:
531 if test -z '$(STRIP)'; then \
532 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
533 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
534 install; \
535 else \
536 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
537 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
538 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
539 fi
540 mostlyclean-generic:
541
542 clean-generic:
543 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
544
545 distclean-generic:
546 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
547 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
548
549 maintainer-clean-generic:
550 @echo "This command is intended for maintainers to use"
551 @echo "it deletes files that may require special tools to rebuild."
552 clean: clean-am
553
554 clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \
555 mostlyclean-am
556
557 distclean: distclean-am
558 -rm -f ./$(DEPDIR)/xxhash.Po
559 -rm -f Makefile
560 distclean-am: clean-am distclean-compile distclean-generic \
561 distclean-tags
562
563 dvi: dvi-am
564
565 dvi-am:
566
567 html: html-am
568
569 html-am:
570
571 info: info-am
572
573 info-am:
574
575 install-data-am:
576
577 install-dvi: install-dvi-am
578
579 install-dvi-am:
580
581 install-exec-am:
582
583 install-html: install-html-am
584
585 install-html-am:
586
587 install-info: install-info-am
588
589 install-info-am:
590
591 install-man:
592
593 install-pdf: install-pdf-am
594
595 install-pdf-am:
596
597 install-ps: install-ps-am
598
599 install-ps-am:
600
601 installcheck-am:
602
603 maintainer-clean: maintainer-clean-am
604 -rm -f ./$(DEPDIR)/xxhash.Po
605 -rm -f Makefile
606 maintainer-clean-am: distclean-am maintainer-clean-generic
607
608 mostlyclean: mostlyclean-am
609
610 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
611 mostlyclean-libtool
612
613 pdf: pdf-am
614
615 pdf-am:
616
617 ps: ps-am
618
619 ps-am:
620
621 uninstall-am:
622
623 .MAKE: install-am install-strip
624
625 .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
626 clean-generic clean-libtool clean-noinstLIBRARIES \
627 cscopelist-am ctags ctags-am distclean distclean-compile \
628 distclean-generic distclean-libtool distclean-tags distdir dvi \
629 dvi-am html html-am info info-am install install-am \
630 install-data install-data-am install-dvi install-dvi-am \
631 install-exec install-exec-am install-html install-html-am \
632 install-info install-info-am install-man install-pdf \
633 install-pdf-am install-ps install-ps-am install-strip \
634 installcheck installcheck-am installdirs maintainer-clean \
635 maintainer-clean-generic mostlyclean mostlyclean-compile \
636 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
637 tags tags-am uninstall uninstall-am
638
639 .PRECIOUS: Makefile
640
641
642 @HAVE_XXHASH_FALSE@xxhash.c: xxhash.h xxh3.h
643
644 @HAVE_XXHASH_FALSE@@CODE_COVERAGE_RULES@
645
646 # Tell versions [3.59,3.63) of GNU make to not export all variables.
647 # Otherwise a system limit (for SysV at least) may be exceeded.
648 .NOEXPORT:
+0
-11149
ltmain.sh less more
0 #! /bin/sh
1 ## DO NOT EDIT - This file generated from ./build-aux/ltmain.in
2 ## by inline-source v2014-01-03.01
3
4 # libtool (GNU libtool) 2.4.6
5 # Provide generalized library-building support services.
6 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
7
8 # Copyright (C) 1996-2015 Free Software Foundation, Inc.
9 # This is free software; see the source for copying conditions. There is NO
10 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11
12 # GNU Libtool is free software; you can redistribute it and/or modify
13 # it under the terms of the GNU General Public License as published by
14 # the Free Software Foundation; either version 2 of the License, or
15 # (at your option) any later version.
16 #
17 # As a special exception to the GNU General Public License,
18 # if you distribute this file as part of a program or library that
19 # is built using GNU Libtool, you may include this file under the
20 # same distribution terms that you use for the rest of that program.
21 #
22 # GNU Libtool is distributed in the hope that it will be useful, but
23 # WITHOUT ANY WARRANTY; without even the implied warranty of
24 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
25 # General Public License for more details.
26 #
27 # You should have received a copy of the GNU General Public License
28 # along with this program. If not, see <http://www.gnu.org/licenses/>.
29
30
31 PROGRAM=libtool
32 PACKAGE=libtool
33 VERSION=2.4.6
34 package_revision=2.4.6
35
36
37 ## ------ ##
38 ## Usage. ##
39 ## ------ ##
40
41 # Run './libtool --help' for help with using this script from the
42 # command line.
43
44
45 ## ------------------------------- ##
46 ## User overridable command paths. ##
47 ## ------------------------------- ##
48
49 # After configure completes, it has a better idea of some of the
50 # shell tools we need than the defaults used by the functions shared
51 # with bootstrap, so set those here where they can still be over-
52 # ridden by the user, but otherwise take precedence.
53
54 : ${AUTOCONF="autoconf"}
55 : ${AUTOMAKE="automake"}
56
57
58 ## -------------------------- ##
59 ## Source external libraries. ##
60 ## -------------------------- ##
61
62 # Much of our low-level functionality needs to be sourced from external
63 # libraries, which are installed to $pkgauxdir.
64
65 # Set a version string for this script.
66 scriptversion=2015-01-20.17; # UTC
67
68 # General shell script boiler plate, and helper functions.
69 # Written by Gary V. Vaughan, 2004
70
71 # Copyright (C) 2004-2015 Free Software Foundation, Inc.
72 # This is free software; see the source for copying conditions. There is NO
73 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
74
75 # This program is free software; you can redistribute it and/or modify
76 # it under the terms of the GNU General Public License as published by
77 # the Free Software Foundation; either version 3 of the License, or
78 # (at your option) any later version.
79
80 # As a special exception to the GNU General Public License, if you distribute
81 # this file as part of a program or library that is built using GNU Libtool,
82 # you may include this file under the same distribution terms that you use
83 # for the rest of that program.
84
85 # This program is distributed in the hope that it will be useful,
86 # but WITHOUT ANY WARRANTY; without even the implied warranty of
87 # MERCHANTABILITY or FITNES FOR A PARTICULAR PURPOSE. See the GNU
88 # General Public License for more details.
89
90 # You should have received a copy of the GNU General Public License
91 # along with this program. If not, see <http://www.gnu.org/licenses/>.
92
93 # Please report bugs or propose patches to gary@gnu.org.
94
95
96 ## ------ ##
97 ## Usage. ##
98 ## ------ ##
99
100 # Evaluate this file near the top of your script to gain access to
101 # the functions and variables defined here:
102 #
103 # . `echo "$0" | ${SED-sed} 's|[^/]*$||'`/build-aux/funclib.sh
104 #
105 # If you need to override any of the default environment variable
106 # settings, do that before evaluating this file.
107
108
109 ## -------------------- ##
110 ## Shell normalisation. ##
111 ## -------------------- ##
112
113 # Some shells need a little help to be as Bourne compatible as possible.
114 # Before doing anything else, make sure all that help has been provided!
115
116 DUALCASE=1; export DUALCASE # for MKS sh
117 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
118 emulate sh
119 NULLCMD=:
120 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
121 # is contrary to our usage. Disable this feature.
122 alias -g '${1+"$@"}'='"$@"'
123 setopt NO_GLOB_SUBST
124 else
125 case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac
126 fi
127
128 # NLS nuisances: We save the old values in case they are required later.
129 _G_user_locale=
130 _G_safe_locale=
131 for _G_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
132 do
133 eval "if test set = \"\${$_G_var+set}\"; then
134 save_$_G_var=\$$_G_var
135 $_G_var=C
136 export $_G_var
137 _G_user_locale=\"$_G_var=\\\$save_\$_G_var; \$_G_user_locale\"
138 _G_safe_locale=\"$_G_var=C; \$_G_safe_locale\"
139 fi"
140 done
141
142 # CDPATH.
143 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
144
145 # Make sure IFS has a sensible default
146 sp=' '
147 nl='
148 '
149 IFS="$sp $nl"
150
151 # There are apparently some retarded systems that use ';' as a PATH separator!
152 if test "${PATH_SEPARATOR+set}" != set; then
153 PATH_SEPARATOR=:
154 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
155 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
156 PATH_SEPARATOR=';'
157 }
158 fi
159
160
161
162 ## ------------------------- ##
163 ## Locate command utilities. ##
164 ## ------------------------- ##
165
166
167 # func_executable_p FILE
168 # ----------------------
169 # Check that FILE is an executable regular file.
170 func_executable_p ()
171 {
172 test -f "$1" && test -x "$1"
173 }
174
175
176 # func_path_progs PROGS_LIST CHECK_FUNC [PATH]
177 # --------------------------------------------
178 # Search for either a program that responds to --version with output
179 # containing "GNU", or else returned by CHECK_FUNC otherwise, by
180 # trying all the directories in PATH with each of the elements of
181 # PROGS_LIST.
182 #
183 # CHECK_FUNC should accept the path to a candidate program, and
184 # set $func_check_prog_result if it truncates its output less than
185 # $_G_path_prog_max characters.
186 func_path_progs ()
187 {
188 _G_progs_list=$1
189 _G_check_func=$2
190 _G_PATH=${3-"$PATH"}
191
192 _G_path_prog_max=0
193 _G_path_prog_found=false
194 _G_save_IFS=$IFS; IFS=${PATH_SEPARATOR-:}
195 for _G_dir in $_G_PATH; do
196 IFS=$_G_save_IFS
197 test -z "$_G_dir" && _G_dir=.
198 for _G_prog_name in $_G_progs_list; do
199 for _exeext in '' .EXE; do
200 _G_path_prog=$_G_dir/$_G_prog_name$_exeext
201 func_executable_p "$_G_path_prog" || continue
202 case `"$_G_path_prog" --version 2>&1` in
203 *GNU*) func_path_progs_result=$_G_path_prog _G_path_prog_found=: ;;
204 *) $_G_check_func $_G_path_prog
205 func_path_progs_result=$func_check_prog_result
206 ;;
207 esac
208 $_G_path_prog_found && break 3
209 done
210 done
211 done
212 IFS=$_G_save_IFS
213 test -z "$func_path_progs_result" && {
214 echo "no acceptable sed could be found in \$PATH" >&2
215 exit 1
216 }
217 }
218
219
220 # We want to be able to use the functions in this file before configure
221 # has figured out where the best binaries are kept, which means we have
222 # to search for them ourselves - except when the results are already set
223 # where we skip the searches.
224
225 # Unless the user overrides by setting SED, search the path for either GNU
226 # sed, or the sed that truncates its output the least.
227 test -z "$SED" && {
228 _G_sed_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
229 for _G_i in 1 2 3 4 5 6 7; do
230 _G_sed_script=$_G_sed_script$nl$_G_sed_script
231 done
232 echo "$_G_sed_script" 2>/dev/null | sed 99q >conftest.sed
233 _G_sed_script=
234
235 func_check_prog_sed ()
236 {
237 _G_path_prog=$1
238
239 _G_count=0
240 printf 0123456789 >conftest.in
241 while :
242 do
243 cat conftest.in conftest.in >conftest.tmp
244 mv conftest.tmp conftest.in
245 cp conftest.in conftest.nl
246 echo '' >> conftest.nl
247 "$_G_path_prog" -f conftest.sed <conftest.nl >conftest.out 2>/dev/null || break
248 diff conftest.out conftest.nl >/dev/null 2>&1 || break
249 _G_count=`expr $_G_count + 1`
250 if test "$_G_count" -gt "$_G_path_prog_max"; then
251 # Best one so far, save it but keep looking for a better one
252 func_check_prog_result=$_G_path_prog
253 _G_path_prog_max=$_G_count
254 fi
255 # 10*(2^10) chars as input seems more than enough
256 test 10 -lt "$_G_count" && break
257 done
258 rm -f conftest.in conftest.tmp conftest.nl conftest.out
259 }
260
261 func_path_progs "sed gsed" func_check_prog_sed $PATH:/usr/xpg4/bin
262 rm -f conftest.sed
263 SED=$func_path_progs_result
264 }
265
266
267 # Unless the user overrides by setting GREP, search the path for either GNU
268 # grep, or the grep that truncates its output the least.
269 test -z "$GREP" && {
270 func_check_prog_grep ()
271 {
272 _G_path_prog=$1
273
274 _G_count=0
275 _G_path_prog_max=0
276 printf 0123456789 >conftest.in
277 while :
278 do
279 cat conftest.in conftest.in >conftest.tmp
280 mv conftest.tmp conftest.in
281 cp conftest.in conftest.nl
282 echo 'GREP' >> conftest.nl
283 "$_G_path_prog" -e 'GREP$' -e '-(cannot match)-' <conftest.nl >conftest.out 2>/dev/null || break
284 diff conftest.out conftest.nl >/dev/null 2>&1 || break
285 _G_count=`expr $_G_count + 1`
286 if test "$_G_count" -gt "$_G_path_prog_max"; then
287 # Best one so far, save it but keep looking for a better one
288 func_check_prog_result=$_G_path_prog
289 _G_path_prog_max=$_G_count
290 fi
291 # 10*(2^10) chars as input seems more than enough
292 test 10 -lt "$_G_count" && break
293 done
294 rm -f conftest.in conftest.tmp conftest.nl conftest.out
295 }
296
297 func_path_progs "grep ggrep" func_check_prog_grep $PATH:/usr/xpg4/bin
298 GREP=$func_path_progs_result
299 }
300
301
302 ## ------------------------------- ##
303 ## User overridable command paths. ##
304 ## ------------------------------- ##
305
306 # All uppercase variable names are used for environment variables. These
307 # variables can be overridden by the user before calling a script that
308 # uses them if a suitable command of that name is not already available
309 # in the command search PATH.
310
311 : ${CP="cp -f"}
312 : ${ECHO="printf %s\n"}
313 : ${EGREP="$GREP -E"}
314 : ${FGREP="$GREP -F"}
315 : ${LN_S="ln -s"}
316 : ${MAKE="make"}
317 : ${MKDIR="mkdir"}
318 : ${MV="mv -f"}
319 : ${RM="rm -f"}
320 : ${SHELL="${CONFIG_SHELL-/bin/sh}"}
321
322
323 ## -------------------- ##
324 ## Useful sed snippets. ##
325 ## -------------------- ##
326
327 sed_dirname='s|/[^/]*$||'
328 sed_basename='s|^.*/||'
329
330 # Sed substitution that helps us do robust quoting. It backslashifies
331 # metacharacters that are still active within double-quoted strings.
332 sed_quote_subst='s|\([`"$\\]\)|\\\1|g'
333
334 # Same as above, but do not quote variable references.
335 sed_double_quote_subst='s/\(["`\\]\)/\\\1/g'
336
337 # Sed substitution that turns a string into a regex matching for the
338 # string literally.
339 sed_make_literal_regex='s|[].[^$\\*\/]|\\&|g'
340
341 # Sed substitution that converts a w32 file name or path
342 # that contains forward slashes, into one that contains
343 # (escaped) backslashes. A very naive implementation.
344 sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
345
346 # Re-'\' parameter expansions in output of sed_double_quote_subst that
347 # were '\'-ed in input to the same. If an odd number of '\' preceded a
348 # '$' in input to sed_double_quote_subst, that '$' was protected from
349 # expansion. Since each input '\' is now two '\'s, look for any number
350 # of runs of four '\'s followed by two '\'s and then a '$'. '\' that '$'.
351 _G_bs='\\'
352 _G_bs2='\\\\'
353 _G_bs4='\\\\\\\\'
354 _G_dollar='\$'
355 sed_double_backslash="\
356 s/$_G_bs4/&\\
357 /g
358 s/^$_G_bs2$_G_dollar/$_G_bs&/
359 s/\\([^$_G_bs]\\)$_G_bs2$_G_dollar/\\1$_G_bs2$_G_bs$_G_dollar/g
360 s/\n//g"
361
362
363 ## ----------------- ##
364 ## Global variables. ##
365 ## ----------------- ##
366
367 # Except for the global variables explicitly listed below, the following
368 # functions in the '^func_' namespace, and the '^require_' namespace
369 # variables initialised in the 'Resource management' section, sourcing
370 # this file will not pollute your global namespace with anything
371 # else. There's no portable way to scope variables in Bourne shell
372 # though, so actually running these functions will sometimes place
373 # results into a variable named after the function, and often use
374 # temporary variables in the '^_G_' namespace. If you are careful to
375 # avoid using those namespaces casually in your sourcing script, things
376 # should continue to work as you expect. And, of course, you can freely
377 # overwrite any of the functions or variables defined here before
378 # calling anything to customize them.
379
380 EXIT_SUCCESS=0
381 EXIT_FAILURE=1
382 EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing.
383 EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake.
384
385 # Allow overriding, eg assuming that you follow the convention of
386 # putting '$debug_cmd' at the start of all your functions, you can get
387 # bash to show function call trace with:
388 #
389 # debug_cmd='eval echo "${FUNCNAME[0]} $*" >&2' bash your-script-name
390 debug_cmd=${debug_cmd-":"}
391 exit_cmd=:
392
393 # By convention, finish your script with:
394 #
395 # exit $exit_status
396 #
397 # so that you can set exit_status to non-zero if you want to indicate
398 # something went wrong during execution without actually bailing out at
399 # the point of failure.
400 exit_status=$EXIT_SUCCESS
401
402 # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
403 # is ksh but when the shell is invoked as "sh" and the current value of
404 # the _XPG environment variable is not equal to 1 (one), the special
405 # positional parameter $0, within a function call, is the name of the
406 # function.
407 progpath=$0
408
409 # The name of this program.
410 progname=`$ECHO "$progpath" |$SED "$sed_basename"`
411
412 # Make sure we have an absolute progpath for reexecution:
413 case $progpath in
414 [\\/]*|[A-Za-z]:\\*) ;;
415 *[\\/]*)
416 progdir=`$ECHO "$progpath" |$SED "$sed_dirname"`
417 progdir=`cd "$progdir" && pwd`
418 progpath=$progdir/$progname
419 ;;
420 *)
421 _G_IFS=$IFS
422 IFS=${PATH_SEPARATOR-:}
423 for progdir in $PATH; do
424 IFS=$_G_IFS
425 test -x "$progdir/$progname" && break
426 done
427 IFS=$_G_IFS
428 test -n "$progdir" || progdir=`pwd`
429 progpath=$progdir/$progname
430 ;;
431 esac
432
433
434 ## ----------------- ##
435 ## Standard options. ##
436 ## ----------------- ##
437
438 # The following options affect the operation of the functions defined
439 # below, and should be set appropriately depending on run-time para-
440 # meters passed on the command line.
441
442 opt_dry_run=false
443 opt_quiet=false
444 opt_verbose=false
445
446 # Categories 'all' and 'none' are always available. Append any others
447 # you will pass as the first argument to func_warning from your own
448 # code.
449 warning_categories=
450
451 # By default, display warnings according to 'opt_warning_types'. Set
452 # 'warning_func' to ':' to elide all warnings, or func_fatal_error to
453 # treat the next displayed warning as a fatal error.
454 warning_func=func_warn_and_continue
455
456 # Set to 'all' to display all warnings, 'none' to suppress all
457 # warnings, or a space delimited list of some subset of
458 # 'warning_categories' to display only the listed warnings.
459 opt_warning_types=all
460
461
462 ## -------------------- ##
463 ## Resource management. ##
464 ## -------------------- ##
465
466 # This section contains definitions for functions that each ensure a
467 # particular resource (a file, or a non-empty configuration variable for
468 # example) is available, and if appropriate to extract default values
469 # from pertinent package files. Call them using their associated
470 # 'require_*' variable to ensure that they are executed, at most, once.
471 #
472 # It's entirely deliberate that calling these functions can set
473 # variables that don't obey the namespace limitations obeyed by the rest
474 # of this file, in order that that they be as useful as possible to
475 # callers.
476
477
478 # require_term_colors
479 # -------------------
480 # Allow display of bold text on terminals that support it.
481 require_term_colors=func_require_term_colors
482 func_require_term_colors ()
483 {
484 $debug_cmd
485
486 test -t 1 && {
487 # COLORTERM and USE_ANSI_COLORS environment variables take
488 # precedence, because most terminfo databases neglect to describe
489 # whether color sequences are supported.
490 test -n "${COLORTERM+set}" && : ${USE_ANSI_COLORS="1"}
491
492 if test 1 = "$USE_ANSI_COLORS"; then
493 # Standard ANSI escape sequences
494 tc_reset=''
495 tc_bold=''; tc_standout=''
496 tc_red=''; tc_green=''
497 tc_blue=''; tc_cyan=''
498 else
499 # Otherwise trust the terminfo database after all.
500 test -n "`tput sgr0 2>/dev/null`" && {
501 tc_reset=`tput sgr0`
502 test -n "`tput bold 2>/dev/null`" && tc_bold=`tput bold`
503 tc_standout=$tc_bold
504 test -n "`tput smso 2>/dev/null`" && tc_standout=`tput smso`
505 test -n "`tput setaf 1 2>/dev/null`" && tc_red=`tput setaf 1`
506 test -n "`tput setaf 2 2>/dev/null`" && tc_green=`tput setaf 2`
507 test -n "`tput setaf 4 2>/dev/null`" && tc_blue=`tput setaf 4`
508 test -n "`tput setaf 5 2>/dev/null`" && tc_cyan=`tput setaf 5`
509 }
510 fi
511 }
512
513 require_term_colors=:
514 }
515
516
517 ## ----------------- ##
518 ## Function library. ##
519 ## ----------------- ##
520
521 # This section contains a variety of useful functions to call in your
522 # scripts. Take note of the portable wrappers for features provided by
523 # some modern shells, which will fall back to slower equivalents on
524 # less featureful shells.
525
526
527 # func_append VAR VALUE
528 # ---------------------
529 # Append VALUE onto the existing contents of VAR.
530
531 # We should try to minimise forks, especially on Windows where they are
532 # unreasonably slow, so skip the feature probes when bash or zsh are
533 # being used:
534 if test set = "${BASH_VERSION+set}${ZSH_VERSION+set}"; then
535 : ${_G_HAVE_ARITH_OP="yes"}
536 : ${_G_HAVE_XSI_OPS="yes"}
537 # The += operator was introduced in bash 3.1
538 case $BASH_VERSION in
539 [12].* | 3.0 | 3.0*) ;;
540 *)
541 : ${_G_HAVE_PLUSEQ_OP="yes"}
542 ;;
543 esac
544 fi
545
546 # _G_HAVE_PLUSEQ_OP
547 # Can be empty, in which case the shell is probed, "yes" if += is
548 # useable or anything else if it does not work.
549 test -z "$_G_HAVE_PLUSEQ_OP" \
550 && (eval 'x=a; x+=" b"; test "a b" = "$x"') 2>/dev/null \
551 && _G_HAVE_PLUSEQ_OP=yes
552
553 if test yes = "$_G_HAVE_PLUSEQ_OP"
554 then
555 # This is an XSI compatible shell, allowing a faster implementation...
556 eval 'func_append ()
557 {
558 $debug_cmd
559
560 eval "$1+=\$2"
561 }'
562 else
563 # ...otherwise fall back to using expr, which is often a shell builtin.
564 func_append ()
565 {
566 $debug_cmd
567
568 eval "$1=\$$1\$2"
569 }
570 fi
571
572
573 # func_append_quoted VAR VALUE
574 # ----------------------------
575 # Quote VALUE and append to the end of shell variable VAR, separated
576 # by a space.
577 if test yes = "$_G_HAVE_PLUSEQ_OP"; then
578 eval 'func_append_quoted ()
579 {
580 $debug_cmd
581
582 func_quote_for_eval "$2"
583 eval "$1+=\\ \$func_quote_for_eval_result"
584 }'
585 else
586 func_append_quoted ()
587 {
588 $debug_cmd
589
590 func_quote_for_eval "$2"
591 eval "$1=\$$1\\ \$func_quote_for_eval_result"
592 }
593 fi
594
595
596 # func_append_uniq VAR VALUE
597 # --------------------------
598 # Append unique VALUE onto the existing contents of VAR, assuming
599 # entries are delimited by the first character of VALUE. For example:
600 #
601 # func_append_uniq options " --another-option option-argument"
602 #
603 # will only append to $options if " --another-option option-argument "
604 # is not already present somewhere in $options already (note spaces at
605 # each end implied by leading space in second argument).
606 func_append_uniq ()
607 {
608 $debug_cmd
609
610 eval _G_current_value='`$ECHO $'$1'`'
611 _G_delim=`expr "$2" : '\(.\)'`
612
613 case $_G_delim$_G_current_value$_G_delim in
614 *"$2$_G_delim"*) ;;
615 *) func_append "$@" ;;
616 esac
617 }
618
619
620 # func_arith TERM...
621 # ------------------
622 # Set func_arith_result to the result of evaluating TERMs.
623 test -z "$_G_HAVE_ARITH_OP" \
624 && (eval 'test 2 = $(( 1 + 1 ))') 2>/dev/null \
625 && _G_HAVE_ARITH_OP=yes
626
627 if test yes = "$_G_HAVE_ARITH_OP"; then
628 eval 'func_arith ()
629 {
630 $debug_cmd
631
632 func_arith_result=$(( $* ))
633 }'
634 else
635 func_arith ()
636 {
637 $debug_cmd
638
639 func_arith_result=`expr "$@"`
640 }
641 fi
642
643
644 # func_basename FILE
645 # ------------------
646 # Set func_basename_result to FILE with everything up to and including
647 # the last / stripped.
648 if test yes = "$_G_HAVE_XSI_OPS"; then
649 # If this shell supports suffix pattern removal, then use it to avoid
650 # forking. Hide the definitions single quotes in case the shell chokes
651 # on unsupported syntax...
652 _b='func_basename_result=${1##*/}'
653 _d='case $1 in
654 */*) func_dirname_result=${1%/*}$2 ;;
655 * ) func_dirname_result=$3 ;;
656 esac'
657
658 else
659 # ...otherwise fall back to using sed.
660 _b='func_basename_result=`$ECHO "$1" |$SED "$sed_basename"`'
661 _d='func_dirname_result=`$ECHO "$1" |$SED "$sed_dirname"`
662 if test "X$func_dirname_result" = "X$1"; then
663 func_dirname_result=$3
664 else
665 func_append func_dirname_result "$2"
666 fi'
667 fi
668
669 eval 'func_basename ()
670 {
671 $debug_cmd
672
673 '"$_b"'
674 }'
675
676
677 # func_dirname FILE APPEND NONDIR_REPLACEMENT
678 # -------------------------------------------
679 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
680 # otherwise set result to NONDIR_REPLACEMENT.
681 eval 'func_dirname ()
682 {
683 $debug_cmd
684
685 '"$_d"'
686 }'
687
688
689 # func_dirname_and_basename FILE APPEND NONDIR_REPLACEMENT
690 # --------------------------------------------------------
691 # Perform func_basename and func_dirname in a single function
692 # call:
693 # dirname: Compute the dirname of FILE. If nonempty,
694 # add APPEND to the result, otherwise set result
695 # to NONDIR_REPLACEMENT.
696 # value returned in "$func_dirname_result"
697 # basename: Compute filename of FILE.
698 # value retuned in "$func_basename_result"
699 # For efficiency, we do not delegate to the functions above but instead
700 # duplicate the functionality here.
701 eval 'func_dirname_and_basename ()
702 {
703 $debug_cmd
704
705 '"$_b"'
706 '"$_d"'
707 }'
708
709
710 # func_echo ARG...
711 # ----------------
712 # Echo program name prefixed message.
713 func_echo ()
714 {
715 $debug_cmd
716
717 _G_message=$*
718
719 func_echo_IFS=$IFS
720 IFS=$nl
721 for _G_line in $_G_message; do
722 IFS=$func_echo_IFS
723 $ECHO "$progname: $_G_line"
724 done
725 IFS=$func_echo_IFS
726 }
727
728
729 # func_echo_all ARG...
730 # --------------------
731 # Invoke $ECHO with all args, space-separated.
732 func_echo_all ()
733 {
734 $ECHO "$*"
735 }
736
737
738 # func_echo_infix_1 INFIX ARG...
739 # ------------------------------
740 # Echo program name, followed by INFIX on the first line, with any
741 # additional lines not showing INFIX.
742 func_echo_infix_1 ()
743 {
744 $debug_cmd
745
746 $require_term_colors
747
748 _G_infix=$1; shift
749 _G_indent=$_G_infix
750 _G_prefix="$progname: $_G_infix: "
751 _G_message=$*
752
753 # Strip color escape sequences before counting printable length
754 for _G_tc in "$tc_reset" "$tc_bold" "$tc_standout" "$tc_red" "$tc_green" "$tc_blue" "$tc_cyan"
755 do
756 test -n "$_G_tc" && {
757 _G_esc_tc=`$ECHO "$_G_tc" | $SED "$sed_make_literal_regex"`
758 _G_indent=`$ECHO "$_G_indent" | $SED "s|$_G_esc_tc||g"`
759 }
760 done
761 _G_indent="$progname: "`echo "$_G_indent" | $SED 's|.| |g'`" " ## exclude from sc_prohibit_nested_quotes
762
763 func_echo_infix_1_IFS=$IFS
764 IFS=$nl
765 for _G_line in $_G_message; do
766 IFS=$func_echo_infix_1_IFS
767 $ECHO "$_G_prefix$tc_bold$_G_line$tc_reset" >&2
768 _G_prefix=$_G_indent
769 done
770 IFS=$func_echo_infix_1_IFS
771 }
772
773
774 # func_error ARG...
775 # -----------------
776 # Echo program name prefixed message to standard error.
777 func_error ()
778 {
779 $debug_cmd
780
781 $require_term_colors
782
783 func_echo_infix_1 " $tc_standout${tc_red}error$tc_reset" "$*" >&2
784 }
785
786
787 # func_fatal_error ARG...
788 # -----------------------
789 # Echo program name prefixed message to standard error, and exit.
790 func_fatal_error ()
791 {
792 $debug_cmd
793
794 func_error "$*"
795 exit $EXIT_FAILURE
796 }
797
798
799 # func_grep EXPRESSION FILENAME
800 # -----------------------------
801 # Check whether EXPRESSION matches any line of FILENAME, without output.
802 func_grep ()
803 {
804 $debug_cmd
805
806 $GREP "$1" "$2" >/dev/null 2>&1
807 }
808
809
810 # func_len STRING
811 # ---------------
812 # Set func_len_result to the length of STRING. STRING may not
813 # start with a hyphen.
814 test -z "$_G_HAVE_XSI_OPS" \
815 && (eval 'x=a/b/c;
816 test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \
817 && _G_HAVE_XSI_OPS=yes
818
819 if test yes = "$_G_HAVE_XSI_OPS"; then
820 eval 'func_len ()
821 {
822 $debug_cmd
823
824 func_len_result=${#1}
825 }'
826 else
827 func_len ()
828 {
829 $debug_cmd
830
831 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
832 }
833 fi
834
835
836 # func_mkdir_p DIRECTORY-PATH
837 # ---------------------------
838 # Make sure the entire path to DIRECTORY-PATH is available.
839 func_mkdir_p ()
840 {
841 $debug_cmd
842
843 _G_directory_path=$1
844 _G_dir_list=
845
846 if test -n "$_G_directory_path" && test : != "$opt_dry_run"; then
847
848 # Protect directory names starting with '-'
849 case $_G_directory_path in
850 -*) _G_directory_path=./$_G_directory_path ;;
851 esac
852
853 # While some portion of DIR does not yet exist...
854 while test ! -d "$_G_directory_path"; do
855 # ...make a list in topmost first order. Use a colon delimited
856 # list incase some portion of path contains whitespace.
857 _G_dir_list=$_G_directory_path:$_G_dir_list
858
859 # If the last portion added has no slash in it, the list is done
860 case $_G_directory_path in */*) ;; *) break ;; esac
861
862 # ...otherwise throw away the child directory and loop
863 _G_directory_path=`$ECHO "$_G_directory_path" | $SED -e "$sed_dirname"`
864 done
865 _G_dir_list=`$ECHO "$_G_dir_list" | $SED 's|:*$||'`
866
867 func_mkdir_p_IFS=$IFS; IFS=:
868 for _G_dir in $_G_dir_list; do
869 IFS=$func_mkdir_p_IFS
870 # mkdir can fail with a 'File exist' error if two processes
871 # try to create one of the directories concurrently. Don't
872 # stop in that case!
873 $MKDIR "$_G_dir" 2>/dev/null || :
874 done
875 IFS=$func_mkdir_p_IFS
876
877 # Bail out if we (or some other process) failed to create a directory.
878 test -d "$_G_directory_path" || \
879 func_fatal_error "Failed to create '$1'"
880 fi
881 }
882
883
884 # func_mktempdir [BASENAME]
885 # -------------------------
886 # Make a temporary directory that won't clash with other running
887 # libtool processes, and avoids race conditions if possible. If
888 # given, BASENAME is the basename for that directory.
889 func_mktempdir ()
890 {
891 $debug_cmd
892
893 _G_template=${TMPDIR-/tmp}/${1-$progname}
894
895 if test : = "$opt_dry_run"; then
896 # Return a directory name, but don't create it in dry-run mode
897 _G_tmpdir=$_G_template-$$
898 else
899
900 # If mktemp works, use that first and foremost
901 _G_tmpdir=`mktemp -d "$_G_template-XXXXXXXX" 2>/dev/null`
902
903 if test ! -d "$_G_tmpdir"; then
904 # Failing that, at least try and use $RANDOM to avoid a race
905 _G_tmpdir=$_G_template-${RANDOM-0}$$
906
907 func_mktempdir_umask=`umask`
908 umask 0077
909 $MKDIR "$_G_tmpdir"
910 umask $func_mktempdir_umask
911 fi
912
913 # If we're not in dry-run mode, bomb out on failure
914 test -d "$_G_tmpdir" || \
915 func_fatal_error "cannot create temporary directory '$_G_tmpdir'"
916 fi
917
918 $ECHO "$_G_tmpdir"
919 }
920
921
922 # func_normal_abspath PATH
923 # ------------------------
924 # Remove doubled-up and trailing slashes, "." path components,
925 # and cancel out any ".." path components in PATH after making
926 # it an absolute path.
927 func_normal_abspath ()
928 {
929 $debug_cmd
930
931 # These SED scripts presuppose an absolute path with a trailing slash.
932 _G_pathcar='s|^/\([^/]*\).*$|\1|'
933 _G_pathcdr='s|^/[^/]*||'
934 _G_removedotparts=':dotsl
935 s|/\./|/|g
936 t dotsl
937 s|/\.$|/|'
938 _G_collapseslashes='s|/\{1,\}|/|g'
939 _G_finalslash='s|/*$|/|'
940
941 # Start from root dir and reassemble the path.
942 func_normal_abspath_result=
943 func_normal_abspath_tpath=$1
944 func_normal_abspath_altnamespace=
945 case $func_normal_abspath_tpath in
946 "")
947 # Empty path, that just means $cwd.
948 func_stripname '' '/' "`pwd`"
949 func_normal_abspath_result=$func_stripname_result
950 return
951 ;;
952 # The next three entries are used to spot a run of precisely
953 # two leading slashes without using negated character classes;
954 # we take advantage of case's first-match behaviour.
955 ///*)
956 # Unusual form of absolute path, do nothing.
957 ;;
958 //*)
959 # Not necessarily an ordinary path; POSIX reserves leading '//'
960 # and for example Cygwin uses it to access remote file shares
961 # over CIFS/SMB, so we conserve a leading double slash if found.
962 func_normal_abspath_altnamespace=/
963 ;;
964 /*)
965 # Absolute path, do nothing.
966 ;;
967 *)
968 # Relative path, prepend $cwd.
969 func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath
970 ;;
971 esac
972
973 # Cancel out all the simple stuff to save iterations. We also want
974 # the path to end with a slash for ease of parsing, so make sure
975 # there is one (and only one) here.
976 func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
977 -e "$_G_removedotparts" -e "$_G_collapseslashes" -e "$_G_finalslash"`
978 while :; do
979 # Processed it all yet?
980 if test / = "$func_normal_abspath_tpath"; then
981 # If we ascended to the root using ".." the result may be empty now.
982 if test -z "$func_normal_abspath_result"; then
983 func_normal_abspath_result=/
984 fi
985 break
986 fi
987 func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \
988 -e "$_G_pathcar"`
989 func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
990 -e "$_G_pathcdr"`
991 # Figure out what to do with it
992 case $func_normal_abspath_tcomponent in
993 "")
994 # Trailing empty path component, ignore it.
995 ;;
996 ..)
997 # Parent dir; strip last assembled component from result.
998 func_dirname "$func_normal_abspath_result"
999 func_normal_abspath_result=$func_dirname_result
1000 ;;
1001 *)
1002 # Actual path component, append it.
1003 func_append func_normal_abspath_result "/$func_normal_abspath_tcomponent"
1004 ;;
1005 esac
1006 done
1007 # Restore leading double-slash if one was found on entry.
1008 func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result
1009 }
1010
1011
1012 # func_notquiet ARG...
1013 # --------------------
1014 # Echo program name prefixed message only when not in quiet mode.
1015 func_notquiet ()
1016 {
1017 $debug_cmd
1018
1019 $opt_quiet || func_echo ${1+"$@"}
1020
1021 # A bug in bash halts the script if the last line of a function
1022 # fails when set -e is in force, so we need another command to
1023 # work around that:
1024 :
1025 }
1026
1027
1028 # func_relative_path SRCDIR DSTDIR
1029 # --------------------------------
1030 # Set func_relative_path_result to the relative path from SRCDIR to DSTDIR.
1031 func_relative_path ()
1032 {
1033 $debug_cmd
1034
1035 func_relative_path_result=
1036 func_normal_abspath "$1"
1037 func_relative_path_tlibdir=$func_normal_abspath_result
1038 func_normal_abspath "$2"
1039 func_relative_path_tbindir=$func_normal_abspath_result
1040
1041 # Ascend the tree starting from libdir
1042 while :; do
1043 # check if we have found a prefix of bindir
1044 case $func_relative_path_tbindir in
1045 $func_relative_path_tlibdir)
1046 # found an exact match
1047 func_relative_path_tcancelled=
1048 break
1049 ;;
1050 $func_relative_path_tlibdir*)
1051 # found a matching prefix
1052 func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir"
1053 func_relative_path_tcancelled=$func_stripname_result
1054 if test -z "$func_relative_path_result"; then
1055 func_relative_path_result=.
1056 fi
1057 break
1058 ;;
1059 *)
1060 func_dirname $func_relative_path_tlibdir
1061 func_relative_path_tlibdir=$func_dirname_result
1062 if test -z "$func_relative_path_tlibdir"; then
1063 # Have to descend all the way to the root!
1064 func_relative_path_result=../$func_relative_path_result
1065 func_relative_path_tcancelled=$func_relative_path_tbindir
1066 break
1067 fi
1068 func_relative_path_result=../$func_relative_path_result
1069 ;;
1070 esac
1071 done
1072
1073 # Now calculate path; take care to avoid doubling-up slashes.
1074 func_stripname '' '/' "$func_relative_path_result"
1075 func_relative_path_result=$func_stripname_result
1076 func_stripname '/' '/' "$func_relative_path_tcancelled"
1077 if test -n "$func_stripname_result"; then
1078 func_append func_relative_path_result "/$func_stripname_result"
1079 fi
1080
1081 # Normalisation. If bindir is libdir, return '.' else relative path.
1082 if test -n "$func_relative_path_result"; then
1083 func_stripname './' '' "$func_relative_path_result"
1084 func_relative_path_result=$func_stripname_result
1085 fi
1086
1087 test -n "$func_relative_path_result" || func_relative_path_result=.
1088
1089 :
1090 }
1091
1092
1093 # func_quote_for_eval ARG...
1094 # --------------------------
1095 # Aesthetically quote ARGs to be evaled later.
1096 # This function returns two values:
1097 # i) func_quote_for_eval_result
1098 # double-quoted, suitable for a subsequent eval
1099 # ii) func_quote_for_eval_unquoted_result
1100 # has all characters that are still active within double
1101 # quotes backslashified.
1102 func_quote_for_eval ()
1103 {
1104 $debug_cmd
1105
1106 func_quote_for_eval_unquoted_result=
1107 func_quote_for_eval_result=
1108 while test 0 -lt $#; do
1109 case $1 in
1110 *[\\\`\"\$]*)
1111 _G_unquoted_arg=`printf '%s\n' "$1" |$SED "$sed_quote_subst"` ;;
1112 *)
1113 _G_unquoted_arg=$1 ;;
1114 esac
1115 if test -n "$func_quote_for_eval_unquoted_result"; then
1116 func_append func_quote_for_eval_unquoted_result " $_G_unquoted_arg"
1117 else
1118 func_append func_quote_for_eval_unquoted_result "$_G_unquoted_arg"
1119 fi
1120
1121 case $_G_unquoted_arg in
1122 # Double-quote args containing shell metacharacters to delay
1123 # word splitting, command substitution and variable expansion
1124 # for a subsequent eval.
1125 # Many Bourne shells cannot handle close brackets correctly
1126 # in scan sets, so we specify it separately.
1127 *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
1128 _G_quoted_arg=\"$_G_unquoted_arg\"
1129 ;;
1130 *)
1131 _G_quoted_arg=$_G_unquoted_arg
1132 ;;
1133 esac
1134
1135 if test -n "$func_quote_for_eval_result"; then
1136 func_append func_quote_for_eval_result " $_G_quoted_arg"
1137 else
1138 func_append func_quote_for_eval_result "$_G_quoted_arg"
1139 fi
1140 shift
1141 done
1142 }
1143
1144
1145 # func_quote_for_expand ARG
1146 # -------------------------
1147 # Aesthetically quote ARG to be evaled later; same as above,
1148 # but do not quote variable references.
1149 func_quote_for_expand ()
1150 {
1151 $debug_cmd
1152
1153 case $1 in
1154 *[\\\`\"]*)
1155 _G_arg=`$ECHO "$1" | $SED \
1156 -e "$sed_double_quote_subst" -e "$sed_double_backslash"` ;;
1157 *)
1158 _G_arg=$1 ;;
1159 esac
1160
1161 case $_G_arg in
1162 # Double-quote args containing shell metacharacters to delay
1163 # word splitting and command substitution for a subsequent eval.
1164 # Many Bourne shells cannot handle close brackets correctly
1165 # in scan sets, so we specify it separately.
1166 *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
1167 _G_arg=\"$_G_arg\"
1168 ;;
1169 esac
1170
1171 func_quote_for_expand_result=$_G_arg
1172 }
1173
1174
1175 # func_stripname PREFIX SUFFIX NAME
1176 # ---------------------------------
1177 # strip PREFIX and SUFFIX from NAME, and store in func_stripname_result.
1178 # PREFIX and SUFFIX must not contain globbing or regex special
1179 # characters, hashes, percent signs, but SUFFIX may contain a leading
1180 # dot (in which case that matches only a dot).
1181 if test yes = "$_G_HAVE_XSI_OPS"; then
1182 eval 'func_stripname ()
1183 {
1184 $debug_cmd
1185
1186 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
1187 # positional parameters, so assign one to ordinary variable first.
1188 func_stripname_result=$3
1189 func_stripname_result=${func_stripname_result#"$1"}
1190 func_stripname_result=${func_stripname_result%"$2"}
1191 }'
1192 else
1193 func_stripname ()
1194 {
1195 $debug_cmd
1196
1197 case $2 in
1198 .*) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%\\\\$2\$%%"`;;
1199 *) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%$2\$%%"`;;
1200 esac
1201 }
1202 fi
1203
1204
1205 # func_show_eval CMD [FAIL_EXP]
1206 # -----------------------------
1207 # Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is
1208 # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP
1209 # is given, then evaluate it.
1210 func_show_eval ()
1211 {
1212 $debug_cmd
1213
1214 _G_cmd=$1
1215 _G_fail_exp=${2-':'}
1216
1217 func_quote_for_expand "$_G_cmd"
1218 eval "func_notquiet $func_quote_for_expand_result"
1219
1220 $opt_dry_run || {
1221 eval "$_G_cmd"
1222 _G_status=$?
1223 if test 0 -ne "$_G_status"; then
1224 eval "(exit $_G_status); $_G_fail_exp"
1225 fi
1226 }
1227 }
1228
1229
1230 # func_show_eval_locale CMD [FAIL_EXP]
1231 # ------------------------------------
1232 # Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is
1233 # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP
1234 # is given, then evaluate it. Use the saved locale for evaluation.
1235 func_show_eval_locale ()
1236 {
1237 $debug_cmd
1238
1239 _G_cmd=$1
1240 _G_fail_exp=${2-':'}
1241
1242 $opt_quiet || {
1243 func_quote_for_expand "$_G_cmd"
1244 eval "func_echo $func_quote_for_expand_result"
1245 }
1246
1247 $opt_dry_run || {
1248 eval "$_G_user_locale
1249 $_G_cmd"
1250 _G_status=$?
1251 eval "$_G_safe_locale"
1252 if test 0 -ne "$_G_status"; then
1253 eval "(exit $_G_status); $_G_fail_exp"
1254 fi
1255 }
1256 }
1257
1258
1259 # func_tr_sh
1260 # ----------
1261 # Turn $1 into a string suitable for a shell variable name.
1262 # Result is stored in $func_tr_sh_result. All characters
1263 # not in the set a-zA-Z0-9_ are replaced with '_'. Further,
1264 # if $1 begins with a digit, a '_' is prepended as well.
1265 func_tr_sh ()
1266 {
1267 $debug_cmd
1268
1269 case $1 in
1270 [0-9]* | *[!a-zA-Z0-9_]*)
1271 func_tr_sh_result=`$ECHO "$1" | $SED -e 's/^\([0-9]\)/_\1/' -e 's/[^a-zA-Z0-9_]/_/g'`
1272 ;;
1273 * )
1274 func_tr_sh_result=$1
1275 ;;
1276 esac
1277 }
1278
1279
1280 # func_verbose ARG...
1281 # -------------------
1282 # Echo program name prefixed message in verbose mode only.
1283 func_verbose ()
1284 {
1285 $debug_cmd
1286
1287 $opt_verbose && func_echo "$*"
1288
1289 :
1290 }
1291
1292
1293 # func_warn_and_continue ARG...
1294 # -----------------------------
1295 # Echo program name prefixed warning message to standard error.
1296 func_warn_and_continue ()
1297 {
1298 $debug_cmd
1299
1300 $require_term_colors
1301
1302 func_echo_infix_1 "${tc_red}warning$tc_reset" "$*" >&2
1303 }
1304
1305
1306 # func_warning CATEGORY ARG...
1307 # ----------------------------
1308 # Echo program name prefixed warning message to standard error. Warning
1309 # messages can be filtered according to CATEGORY, where this function
1310 # elides messages where CATEGORY is not listed in the global variable
1311 # 'opt_warning_types'.
1312 func_warning ()
1313 {
1314 $debug_cmd
1315
1316 # CATEGORY must be in the warning_categories list!
1317 case " $warning_categories " in
1318 *" $1 "*) ;;
1319 *) func_internal_error "invalid warning category '$1'" ;;
1320 esac
1321
1322 _G_category=$1
1323 shift
1324
1325 case " $opt_warning_types " in
1326 *" $_G_category "*) $warning_func ${1+"$@"} ;;
1327 esac
1328 }
1329
1330
1331 # func_sort_ver VER1 VER2
1332 # -----------------------
1333 # 'sort -V' is not generally available.
1334 # Note this deviates from the version comparison in automake
1335 # in that it treats 1.5 < 1.5.0, and treats 1.4.4a < 1.4-p3a
1336 # but this should suffice as we won't be specifying old
1337 # version formats or redundant trailing .0 in bootstrap.conf.
1338 # If we did want full compatibility then we should probably
1339 # use m4_version_compare from autoconf.
1340 func_sort_ver ()
1341 {
1342 $debug_cmd
1343
1344 printf '%s\n%s\n' "$1" "$2" \
1345 | sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n -k 5,5n -k 6,6n -k 7,7n -k 8,8n -k 9,9n
1346 }
1347
1348 # func_lt_ver PREV CURR
1349 # ---------------------
1350 # Return true if PREV and CURR are in the correct order according to
1351 # func_sort_ver, otherwise false. Use it like this:
1352 #
1353 # func_lt_ver "$prev_ver" "$proposed_ver" || func_fatal_error "..."
1354 func_lt_ver ()
1355 {
1356 $debug_cmd
1357
1358 test "x$1" = x`func_sort_ver "$1" "$2" | $SED 1q`
1359 }
1360
1361
1362 # Local variables:
1363 # mode: shell-script
1364 # sh-indentation: 2
1365 # eval: (add-hook 'before-save-hook 'time-stamp)
1366 # time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC"
1367 # time-stamp-time-zone: "UTC"
1368 # End:
1369 #! /bin/sh
1370
1371 # Set a version string for this script.
1372 scriptversion=2014-01-07.03; # UTC
1373
1374 # A portable, pluggable option parser for Bourne shell.
1375 # Written by Gary V. Vaughan, 2010
1376
1377 # Copyright (C) 2010-2015 Free Software Foundation, Inc.
1378 # This is free software; see the source for copying conditions. There is NO
1379 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1380
1381 # This program is free software: you can redistribute it and/or modify
1382 # it under the terms of the GNU General Public License as published by
1383 # the Free Software Foundation, either version 3 of the License, or
1384 # (at your option) any later version.
1385
1386 # This program is distributed in the hope that it will be useful,
1387 # but WITHOUT ANY WARRANTY; without even the implied warranty of
1388 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1389 # GNU General Public License for more details.
1390
1391 # You should have received a copy of the GNU General Public License
1392 # along with this program. If not, see <http://www.gnu.org/licenses/>.
1393
1394 # Please report bugs or propose patches to gary@gnu.org.
1395
1396
1397 ## ------ ##
1398 ## Usage. ##
1399 ## ------ ##
1400
1401 # This file is a library for parsing options in your shell scripts along
1402 # with assorted other useful supporting features that you can make use
1403 # of too.
1404 #
1405 # For the simplest scripts you might need only:
1406 #
1407 # #!/bin/sh
1408 # . relative/path/to/funclib.sh
1409 # . relative/path/to/options-parser
1410 # scriptversion=1.0
1411 # func_options ${1+"$@"}
1412 # eval set dummy "$func_options_result"; shift
1413 # ...rest of your script...
1414 #
1415 # In order for the '--version' option to work, you will need to have a
1416 # suitably formatted comment like the one at the top of this file
1417 # starting with '# Written by ' and ending with '# warranty; '.
1418 #
1419 # For '-h' and '--help' to work, you will also need a one line
1420 # description of your script's purpose in a comment directly above the
1421 # '# Written by ' line, like the one at the top of this file.
1422 #
1423 # The default options also support '--debug', which will turn on shell
1424 # execution tracing (see the comment above debug_cmd below for another
1425 # use), and '--verbose' and the func_verbose function to allow your script
1426 # to display verbose messages only when your user has specified
1427 # '--verbose'.
1428 #
1429 # After sourcing this file, you can plug processing for additional
1430 # options by amending the variables from the 'Configuration' section
1431 # below, and following the instructions in the 'Option parsing'
1432 # section further down.
1433
1434 ## -------------- ##
1435 ## Configuration. ##
1436 ## -------------- ##
1437
1438 # You should override these variables in your script after sourcing this
1439 # file so that they reflect the customisations you have added to the
1440 # option parser.
1441
1442 # The usage line for option parsing errors and the start of '-h' and
1443 # '--help' output messages. You can embed shell variables for delayed
1444 # expansion at the time the message is displayed, but you will need to
1445 # quote other shell meta-characters carefully to prevent them being
1446 # expanded when the contents are evaled.
1447 usage='$progpath [OPTION]...'
1448
1449 # Short help message in response to '-h' and '--help'. Add to this or
1450 # override it after sourcing this library to reflect the full set of
1451 # options your script accepts.
1452 usage_message="\
1453 --debug enable verbose shell tracing
1454 -W, --warnings=CATEGORY
1455 report the warnings falling in CATEGORY [all]
1456 -v, --verbose verbosely report processing
1457 --version print version information and exit
1458 -h, --help print short or long help message and exit
1459 "
1460
1461 # Additional text appended to 'usage_message' in response to '--help'.
1462 long_help_message="
1463 Warning categories include:
1464 'all' show all warnings
1465 'none' turn off all the warnings
1466 'error' warnings are treated as fatal errors"
1467
1468 # Help message printed before fatal option parsing errors.
1469 fatal_help="Try '\$progname --help' for more information."
1470
1471
1472
1473 ## ------------------------- ##
1474 ## Hook function management. ##
1475 ## ------------------------- ##
1476
1477 # This section contains functions for adding, removing, and running hooks
1478 # to the main code. A hook is just a named list of of function, that can
1479 # be run in order later on.
1480
1481 # func_hookable FUNC_NAME
1482 # -----------------------
1483 # Declare that FUNC_NAME will run hooks added with
1484 # 'func_add_hook FUNC_NAME ...'.
1485 func_hookable ()
1486 {
1487 $debug_cmd
1488
1489 func_append hookable_fns " $1"
1490 }
1491
1492
1493 # func_add_hook FUNC_NAME HOOK_FUNC
1494 # ---------------------------------
1495 # Request that FUNC_NAME call HOOK_FUNC before it returns. FUNC_NAME must
1496 # first have been declared "hookable" by a call to 'func_hookable'.
1497 func_add_hook ()
1498 {
1499 $debug_cmd
1500
1501 case " $hookable_fns " in
1502 *" $1 "*) ;;
1503 *) func_fatal_error "'$1' does not accept hook functions." ;;
1504 esac
1505
1506 eval func_append ${1}_hooks '" $2"'
1507 }
1508
1509
1510 # func_remove_hook FUNC_NAME HOOK_FUNC
1511 # ------------------------------------
1512 # Remove HOOK_FUNC from the list of functions called by FUNC_NAME.
1513 func_remove_hook ()
1514 {
1515 $debug_cmd
1516
1517 eval ${1}_hooks='`$ECHO "\$'$1'_hooks" |$SED "s| '$2'||"`'
1518 }
1519
1520
1521 # func_run_hooks FUNC_NAME [ARG]...
1522 # ---------------------------------
1523 # Run all hook functions registered to FUNC_NAME.
1524 # It is assumed that the list of hook functions contains nothing more
1525 # than a whitespace-delimited list of legal shell function names, and
1526 # no effort is wasted trying to catch shell meta-characters or preserve
1527 # whitespace.
1528 func_run_hooks ()
1529 {
1530 $debug_cmd
1531
1532 case " $hookable_fns " in
1533 *" $1 "*) ;;
1534 *) func_fatal_error "'$1' does not support hook funcions.n" ;;
1535 esac
1536
1537 eval _G_hook_fns=\$$1_hooks; shift
1538
1539 for _G_hook in $_G_hook_fns; do
1540 eval $_G_hook '"$@"'
1541
1542 # store returned options list back into positional
1543 # parameters for next 'cmd' execution.
1544 eval _G_hook_result=\$${_G_hook}_result
1545 eval set dummy "$_G_hook_result"; shift
1546 done
1547
1548 func_quote_for_eval ${1+"$@"}
1549 func_run_hooks_result=$func_quote_for_eval_result
1550 }
1551
1552
1553
1554 ## --------------- ##
1555 ## Option parsing. ##
1556 ## --------------- ##
1557
1558 # In order to add your own option parsing hooks, you must accept the
1559 # full positional parameter list in your hook function, remove any
1560 # options that you action, and then pass back the remaining unprocessed
1561 # options in '<hooked_function_name>_result', escaped suitably for
1562 # 'eval'. Like this:
1563 #
1564 # my_options_prep ()
1565 # {
1566 # $debug_cmd
1567 #
1568 # # Extend the existing usage message.
1569 # usage_message=$usage_message'
1570 # -s, --silent don'\''t print informational messages
1571 # '
1572 #
1573 # func_quote_for_eval ${1+"$@"}
1574 # my_options_prep_result=$func_quote_for_eval_result
1575 # }
1576 # func_add_hook func_options_prep my_options_prep
1577 #
1578 #
1579 # my_silent_option ()
1580 # {
1581 # $debug_cmd
1582 #
1583 # # Note that for efficiency, we parse as many options as we can
1584 # # recognise in a loop before passing the remainder back to the
1585 # # caller on the first unrecognised argument we encounter.
1586 # while test $# -gt 0; do
1587 # opt=$1; shift
1588 # case $opt in
1589 # --silent|-s) opt_silent=: ;;
1590 # # Separate non-argument short options:
1591 # -s*) func_split_short_opt "$_G_opt"
1592 # set dummy "$func_split_short_opt_name" \
1593 # "-$func_split_short_opt_arg" ${1+"$@"}
1594 # shift
1595 # ;;
1596 # *) set dummy "$_G_opt" "$*"; shift; break ;;
1597 # esac
1598 # done
1599 #
1600 # func_quote_for_eval ${1+"$@"}
1601 # my_silent_option_result=$func_quote_for_eval_result
1602 # }
1603 # func_add_hook func_parse_options my_silent_option
1604 #
1605 #
1606 # my_option_validation ()
1607 # {
1608 # $debug_cmd
1609 #
1610 # $opt_silent && $opt_verbose && func_fatal_help "\
1611 # '--silent' and '--verbose' options are mutually exclusive."
1612 #
1613 # func_quote_for_eval ${1+"$@"}
1614 # my_option_validation_result=$func_quote_for_eval_result
1615 # }
1616 # func_add_hook func_validate_options my_option_validation
1617 #
1618 # You'll alse need to manually amend $usage_message to reflect the extra
1619 # options you parse. It's preferable to append if you can, so that
1620 # multiple option parsing hooks can be added safely.
1621
1622
1623 # func_options [ARG]...
1624 # ---------------------
1625 # All the functions called inside func_options are hookable. See the
1626 # individual implementations for details.
1627 func_hookable func_options
1628 func_options ()
1629 {
1630 $debug_cmd
1631
1632 func_options_prep ${1+"$@"}
1633 eval func_parse_options \
1634 ${func_options_prep_result+"$func_options_prep_result"}
1635 eval func_validate_options \
1636 ${func_parse_options_result+"$func_parse_options_result"}
1637
1638 eval func_run_hooks func_options \
1639 ${func_validate_options_result+"$func_validate_options_result"}
1640
1641 # save modified positional parameters for caller
1642 func_options_result=$func_run_hooks_result
1643 }
1644
1645
1646 # func_options_prep [ARG]...
1647 # --------------------------
1648 # All initialisations required before starting the option parse loop.
1649 # Note that when calling hook functions, we pass through the list of
1650 # positional parameters. If a hook function modifies that list, and
1651 # needs to propogate that back to rest of this script, then the complete
1652 # modified list must be put in 'func_run_hooks_result' before
1653 # returning.
1654 func_hookable func_options_prep
1655 func_options_prep ()
1656 {
1657 $debug_cmd
1658
1659 # Option defaults:
1660 opt_verbose=false
1661 opt_warning_types=
1662
1663 func_run_hooks func_options_prep ${1+"$@"}
1664
1665 # save modified positional parameters for caller
1666 func_options_prep_result=$func_run_hooks_result
1667 }
1668
1669
1670 # func_parse_options [ARG]...
1671 # ---------------------------
1672 # The main option parsing loop.
1673 func_hookable func_parse_options
1674 func_parse_options ()
1675 {
1676 $debug_cmd
1677
1678 func_parse_options_result=
1679
1680 # this just eases exit handling
1681 while test $# -gt 0; do
1682 # Defer to hook functions for initial option parsing, so they
1683 # get priority in the event of reusing an option name.
1684 func_run_hooks func_parse_options ${1+"$@"}
1685
1686 # Adjust func_parse_options positional parameters to match
1687 eval set dummy "$func_run_hooks_result"; shift
1688
1689 # Break out of the loop if we already parsed every option.
1690 test $# -gt 0 || break
1691
1692 _G_opt=$1
1693 shift
1694 case $_G_opt in
1695 --debug|-x) debug_cmd='set -x'
1696 func_echo "enabling shell trace mode"
1697 $debug_cmd
1698 ;;
1699
1700 --no-warnings|--no-warning|--no-warn)
1701 set dummy --warnings none ${1+"$@"}
1702 shift
1703 ;;
1704
1705 --warnings|--warning|-W)
1706 test $# = 0 && func_missing_arg $_G_opt && break
1707 case " $warning_categories $1" in
1708 *" $1 "*)
1709 # trailing space prevents matching last $1 above
1710 func_append_uniq opt_warning_types " $1"
1711 ;;
1712 *all)
1713 opt_warning_types=$warning_categories
1714 ;;
1715 *none)
1716 opt_warning_types=none
1717 warning_func=:
1718 ;;
1719 *error)
1720 opt_warning_types=$warning_categories
1721 warning_func=func_fatal_error
1722 ;;
1723 *)
1724 func_fatal_error \
1725 "unsupported warning category: '$1'"
1726 ;;
1727 esac
1728 shift
1729 ;;
1730
1731 --verbose|-v) opt_verbose=: ;;
1732 --version) func_version ;;
1733 -\?|-h) func_usage ;;
1734 --help) func_help ;;
1735
1736 # Separate optargs to long options (plugins may need this):
1737 --*=*) func_split_equals "$_G_opt"
1738 set dummy "$func_split_equals_lhs" \
1739 "$func_split_equals_rhs" ${1+"$@"}
1740 shift
1741 ;;
1742
1743 # Separate optargs to short options:
1744 -W*)
1745 func_split_short_opt "$_G_opt"
1746 set dummy "$func_split_short_opt_name" \
1747 "$func_split_short_opt_arg" ${1+"$@"}
1748 shift
1749 ;;
1750
1751 # Separate non-argument short options:
1752 -\?*|-h*|-v*|-x*)
1753 func_split_short_opt "$_G_opt"
1754 set dummy "$func_split_short_opt_name" \
1755 "-$func_split_short_opt_arg" ${1+"$@"}
1756 shift
1757 ;;
1758
1759 --) break ;;
1760 -*) func_fatal_help "unrecognised option: '$_G_opt'" ;;
1761 *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
1762 esac
1763 done
1764
1765 # save modified positional parameters for caller
1766 func_quote_for_eval ${1+"$@"}
1767 func_parse_options_result=$func_quote_for_eval_result
1768 }
1769
1770
1771 # func_validate_options [ARG]...
1772 # ------------------------------
1773 # Perform any sanity checks on option settings and/or unconsumed
1774 # arguments.
1775 func_hookable func_validate_options
1776 func_validate_options ()
1777 {
1778 $debug_cmd
1779
1780 # Display all warnings if -W was not given.
1781 test -n "$opt_warning_types" || opt_warning_types=" $warning_categories"
1782
1783 func_run_hooks func_validate_options ${1+"$@"}
1784
1785 # Bail if the options were screwed!
1786 $exit_cmd $EXIT_FAILURE
1787
1788 # save modified positional parameters for caller
1789 func_validate_options_result=$func_run_hooks_result
1790 }
1791
1792
1793
1794 ## ----------------- ##
1795 ## Helper functions. ##
1796 ## ----------------- ##
1797
1798 # This section contains the helper functions used by the rest of the
1799 # hookable option parser framework in ascii-betical order.
1800
1801
1802 # func_fatal_help ARG...
1803 # ----------------------
1804 # Echo program name prefixed message to standard error, followed by
1805 # a help hint, and exit.
1806 func_fatal_help ()
1807 {
1808 $debug_cmd
1809
1810 eval \$ECHO \""Usage: $usage"\"
1811 eval \$ECHO \""$fatal_help"\"
1812 func_error ${1+"$@"}
1813 exit $EXIT_FAILURE
1814 }
1815
1816
1817 # func_help
1818 # ---------
1819 # Echo long help message to standard output and exit.
1820 func_help ()
1821 {
1822 $debug_cmd
1823
1824 func_usage_message
1825 $ECHO "$long_help_message"
1826 exit 0
1827 }
1828
1829
1830 # func_missing_arg ARGNAME
1831 # ------------------------
1832 # Echo program name prefixed message to standard error and set global
1833 # exit_cmd.
1834 func_missing_arg ()
1835 {
1836 $debug_cmd
1837
1838 func_error "Missing argument for '$1'."
1839 exit_cmd=exit
1840 }
1841
1842
1843 # func_split_equals STRING
1844 # ------------------------
1845 # Set func_split_equals_lhs and func_split_equals_rhs shell variables after
1846 # splitting STRING at the '=' sign.
1847 test -z "$_G_HAVE_XSI_OPS" \
1848 && (eval 'x=a/b/c;
1849 test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \
1850 && _G_HAVE_XSI_OPS=yes
1851
1852 if test yes = "$_G_HAVE_XSI_OPS"
1853 then
1854 # This is an XSI compatible shell, allowing a faster implementation...
1855 eval 'func_split_equals ()
1856 {
1857 $debug_cmd
1858
1859 func_split_equals_lhs=${1%%=*}
1860 func_split_equals_rhs=${1#*=}
1861 test "x$func_split_equals_lhs" = "x$1" \
1862 && func_split_equals_rhs=
1863 }'
1864 else
1865 # ...otherwise fall back to using expr, which is often a shell builtin.
1866 func_split_equals ()
1867 {
1868 $debug_cmd
1869
1870 func_split_equals_lhs=`expr "x$1" : 'x\([^=]*\)'`
1871 func_split_equals_rhs=
1872 test "x$func_split_equals_lhs" = "x$1" \
1873 || func_split_equals_rhs=`expr "x$1" : 'x[^=]*=\(.*\)$'`
1874 }
1875 fi #func_split_equals
1876
1877
1878 # func_split_short_opt SHORTOPT
1879 # -----------------------------
1880 # Set func_split_short_opt_name and func_split_short_opt_arg shell
1881 # variables after splitting SHORTOPT after the 2nd character.
1882 if test yes = "$_G_HAVE_XSI_OPS"
1883 then
1884 # This is an XSI compatible shell, allowing a faster implementation...
1885 eval 'func_split_short_opt ()
1886 {
1887 $debug_cmd
1888
1889 func_split_short_opt_arg=${1#??}
1890 func_split_short_opt_name=${1%"$func_split_short_opt_arg"}
1891 }'
1892 else
1893 # ...otherwise fall back to using expr, which is often a shell builtin.
1894 func_split_short_opt ()
1895 {
1896 $debug_cmd
1897
1898 func_split_short_opt_name=`expr "x$1" : 'x-\(.\)'`
1899 func_split_short_opt_arg=`expr "x$1" : 'x-.\(.*\)$'`
1900 }
1901 fi #func_split_short_opt
1902
1903
1904 # func_usage
1905 # ----------
1906 # Echo short help message to standard output and exit.
1907 func_usage ()
1908 {
1909 $debug_cmd
1910
1911 func_usage_message
1912 $ECHO "Run '$progname --help |${PAGER-more}' for full usage"
1913 exit 0
1914 }
1915
1916
1917 # func_usage_message
1918 # ------------------
1919 # Echo short help message to standard output.
1920 func_usage_message ()
1921 {
1922 $debug_cmd
1923
1924 eval \$ECHO \""Usage: $usage"\"
1925 echo
1926 $SED -n 's|^# ||
1927 /^Written by/{
1928 x;p;x
1929 }
1930 h
1931 /^Written by/q' < "$progpath"
1932 echo
1933 eval \$ECHO \""$usage_message"\"
1934 }
1935
1936
1937 # func_version
1938 # ------------
1939 # Echo version message to standard output and exit.
1940 func_version ()
1941 {
1942 $debug_cmd
1943
1944 printf '%s\n' "$progname $scriptversion"
1945 $SED -n '
1946 /(C)/!b go
1947 :more
1948 /\./!{
1949 N
1950 s|\n# | |
1951 b more
1952 }
1953 :go
1954 /^# Written by /,/# warranty; / {
1955 s|^# ||
1956 s|^# *$||
1957 s|\((C)\)[ 0-9,-]*[ ,-]\([1-9][0-9]* \)|\1 \2|
1958 p
1959 }
1960 /^# Written by / {
1961 s|^# ||
1962 p
1963 }
1964 /^warranty; /q' < "$progpath"
1965
1966 exit $?
1967 }
1968
1969
1970 # Local variables:
1971 # mode: shell-script
1972 # sh-indentation: 2
1973 # eval: (add-hook 'before-save-hook 'time-stamp)
1974 # time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC"
1975 # time-stamp-time-zone: "UTC"
1976 # End:
1977
1978 # Set a version string.
1979 scriptversion='(GNU libtool) 2.4.6'
1980
1981
1982 # func_echo ARG...
1983 # ----------------
1984 # Libtool also displays the current mode in messages, so override
1985 # funclib.sh func_echo with this custom definition.
1986 func_echo ()
1987 {
1988 $debug_cmd
1989
1990 _G_message=$*
1991
1992 func_echo_IFS=$IFS
1993 IFS=$nl
1994 for _G_line in $_G_message; do
1995 IFS=$func_echo_IFS
1996 $ECHO "$progname${opt_mode+: $opt_mode}: $_G_line"
1997 done
1998 IFS=$func_echo_IFS
1999 }
2000
2001
2002 # func_warning ARG...
2003 # -------------------
2004 # Libtool warnings are not categorized, so override funclib.sh
2005 # func_warning with this simpler definition.
2006 func_warning ()
2007 {
2008 $debug_cmd
2009
2010 $warning_func ${1+"$@"}
2011 }
2012
2013
2014 ## ---------------- ##
2015 ## Options parsing. ##
2016 ## ---------------- ##
2017
2018 # Hook in the functions to make sure our own options are parsed during
2019 # the option parsing loop.
2020
2021 usage='$progpath [OPTION]... [MODE-ARG]...'
2022
2023 # Short help message in response to '-h'.
2024 usage_message="Options:
2025 --config show all configuration variables
2026 --debug enable verbose shell tracing
2027 -n, --dry-run display commands without modifying any files
2028 --features display basic configuration information and exit
2029 --mode=MODE use operation mode MODE
2030 --no-warnings equivalent to '-Wnone'
2031 --preserve-dup-deps don't remove duplicate dependency libraries
2032 --quiet, --silent don't print informational messages
2033 --tag=TAG use configuration variables from tag TAG
2034 -v, --verbose print more informational messages than default
2035 --version print version information
2036 -W, --warnings=CATEGORY report the warnings falling in CATEGORY [all]
2037 -h, --help, --help-all print short, long, or detailed help message
2038 "
2039
2040 # Additional text appended to 'usage_message' in response to '--help'.
2041 func_help ()
2042 {
2043 $debug_cmd
2044
2045 func_usage_message
2046 $ECHO "$long_help_message
2047
2048 MODE must be one of the following:
2049
2050 clean remove files from the build directory
2051 compile compile a source file into a libtool object
2052 execute automatically set library path, then run a program
2053 finish complete the installation of libtool libraries
2054 install install libraries or executables
2055 link create a library or an executable
2056 uninstall remove libraries from an installed directory
2057
2058 MODE-ARGS vary depending on the MODE. When passed as first option,
2059 '--mode=MODE' may be abbreviated as 'MODE' or a unique abbreviation of that.
2060 Try '$progname --help --mode=MODE' for a more detailed description of MODE.
2061
2062 When reporting a bug, please describe a test case to reproduce it and
2063 include the following information:
2064
2065 host-triplet: $host
2066 shell: $SHELL
2067 compiler: $LTCC
2068 compiler flags: $LTCFLAGS
2069 linker: $LD (gnu? $with_gnu_ld)
2070 version: $progname (GNU libtool) 2.4.6
2071 automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q`
2072 autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q`
2073
2074 Report bugs to <bug-libtool@gnu.org>.
2075 GNU libtool home page: <http://www.gnu.org/software/libtool/>.
2076 General help using GNU software: <http://www.gnu.org/gethelp/>."
2077 exit 0
2078 }
2079
2080
2081 # func_lo2o OBJECT-NAME
2082 # ---------------------
2083 # Transform OBJECT-NAME from a '.lo' suffix to the platform specific
2084 # object suffix.
2085
2086 lo2o=s/\\.lo\$/.$objext/
2087 o2lo=s/\\.$objext\$/.lo/
2088
2089 if test yes = "$_G_HAVE_XSI_OPS"; then
2090 eval 'func_lo2o ()
2091 {
2092 case $1 in
2093 *.lo) func_lo2o_result=${1%.lo}.$objext ;;
2094 * ) func_lo2o_result=$1 ;;
2095 esac
2096 }'
2097
2098 # func_xform LIBOBJ-OR-SOURCE
2099 # ---------------------------
2100 # Transform LIBOBJ-OR-SOURCE from a '.o' or '.c' (or otherwise)
2101 # suffix to a '.lo' libtool-object suffix.
2102 eval 'func_xform ()
2103 {
2104 func_xform_result=${1%.*}.lo
2105 }'
2106 else
2107 # ...otherwise fall back to using sed.
2108 func_lo2o ()
2109 {
2110 func_lo2o_result=`$ECHO "$1" | $SED "$lo2o"`
2111 }
2112
2113 func_xform ()
2114 {
2115 func_xform_result=`$ECHO "$1" | $SED 's|\.[^.]*$|.lo|'`
2116 }
2117 fi
2118
2119
2120 # func_fatal_configuration ARG...
2121 # -------------------------------
2122 # Echo program name prefixed message to standard error, followed by
2123 # a configuration failure hint, and exit.
2124 func_fatal_configuration ()
2125 {
2126 func_fatal_error ${1+"$@"} \
2127 "See the $PACKAGE documentation for more information." \
2128 "Fatal configuration error."
2129 }
2130
2131
2132 # func_config
2133 # -----------
2134 # Display the configuration for all the tags in this script.
2135 func_config ()
2136 {
2137 re_begincf='^# ### BEGIN LIBTOOL'
2138 re_endcf='^# ### END LIBTOOL'
2139
2140 # Default configuration.
2141 $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
2142
2143 # Now print the configurations for the tags.
2144 for tagname in $taglist; do
2145 $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
2146 done
2147
2148 exit $?
2149 }
2150
2151
2152 # func_features
2153 # -------------
2154 # Display the features supported by this script.
2155 func_features ()
2156 {
2157 echo "host: $host"
2158 if test yes = "$build_libtool_libs"; then
2159 echo "enable shared libraries"
2160 else
2161 echo "disable shared libraries"
2162 fi
2163 if test yes = "$build_old_libs"; then
2164 echo "enable static libraries"
2165 else
2166 echo "disable static libraries"
2167 fi
2168
2169 exit $?
2170 }
2171
2172
2173 # func_enable_tag TAGNAME
2174 # -----------------------
2175 # Verify that TAGNAME is valid, and either flag an error and exit, or
2176 # enable the TAGNAME tag. We also add TAGNAME to the global $taglist
2177 # variable here.
2178 func_enable_tag ()
2179 {
2180 # Global variable:
2181 tagname=$1
2182
2183 re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$"
2184 re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$"
2185 sed_extractcf=/$re_begincf/,/$re_endcf/p
2186
2187 # Validate tagname.
2188 case $tagname in
2189 *[!-_A-Za-z0-9,/]*)
2190 func_fatal_error "invalid tag name: $tagname"
2191 ;;
2192 esac
2193
2194 # Don't test for the "default" C tag, as we know it's
2195 # there but not specially marked.
2196 case $tagname in
2197 CC) ;;
2198 *)
2199 if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then
2200 taglist="$taglist $tagname"
2201
2202 # Evaluate the configuration. Be careful to quote the path
2203 # and the sed script, to avoid splitting on whitespace, but
2204 # also don't use non-portable quotes within backquotes within
2205 # quotes we have to do it in 2 steps:
2206 extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"`
2207 eval "$extractedcf"
2208 else
2209 func_error "ignoring unknown tag $tagname"
2210 fi
2211 ;;
2212 esac
2213 }
2214
2215
2216 # func_check_version_match
2217 # ------------------------
2218 # Ensure that we are using m4 macros, and libtool script from the same
2219 # release of libtool.
2220 func_check_version_match ()
2221 {
2222 if test "$package_revision" != "$macro_revision"; then
2223 if test "$VERSION" != "$macro_version"; then
2224 if test -z "$macro_version"; then
2225 cat >&2 <<_LT_EOF
2226 $progname: Version mismatch error. This is $PACKAGE $VERSION, but the
2227 $progname: definition of this LT_INIT comes from an older release.
2228 $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
2229 $progname: and run autoconf again.
2230 _LT_EOF
2231 else
2232 cat >&2 <<_LT_EOF
2233 $progname: Version mismatch error. This is $PACKAGE $VERSION, but the
2234 $progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
2235 $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
2236 $progname: and run autoconf again.
2237 _LT_EOF
2238 fi
2239 else
2240 cat >&2 <<_LT_EOF
2241 $progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision,
2242 $progname: but the definition of this LT_INIT comes from revision $macro_revision.
2243 $progname: You should recreate aclocal.m4 with macros from revision $package_revision
2244 $progname: of $PACKAGE $VERSION and run autoconf again.
2245 _LT_EOF
2246 fi
2247
2248 exit $EXIT_MISMATCH
2249 fi
2250 }
2251
2252
2253 # libtool_options_prep [ARG]...
2254 # -----------------------------
2255 # Preparation for options parsed by libtool.
2256 libtool_options_prep ()
2257 {
2258 $debug_mode
2259
2260 # Option defaults:
2261 opt_config=false
2262 opt_dlopen=
2263 opt_dry_run=false
2264 opt_help=false
2265 opt_mode=
2266 opt_preserve_dup_deps=false
2267 opt_quiet=false
2268
2269 nonopt=
2270 preserve_args=
2271
2272 # Shorthand for --mode=foo, only valid as the first argument
2273 case $1 in
2274 clean|clea|cle|cl)
2275 shift; set dummy --mode clean ${1+"$@"}; shift
2276 ;;
2277 compile|compil|compi|comp|com|co|c)
2278 shift; set dummy --mode compile ${1+"$@"}; shift
2279 ;;
2280 execute|execut|execu|exec|exe|ex|e)
2281 shift; set dummy --mode execute ${1+"$@"}; shift
2282 ;;
2283 finish|finis|fini|fin|fi|f)
2284 shift; set dummy --mode finish ${1+"$@"}; shift
2285 ;;
2286 install|instal|insta|inst|ins|in|i)
2287 shift; set dummy --mode install ${1+"$@"}; shift
2288 ;;
2289 link|lin|li|l)
2290 shift; set dummy --mode link ${1+"$@"}; shift
2291 ;;
2292 uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
2293 shift; set dummy --mode uninstall ${1+"$@"}; shift
2294 ;;
2295 esac
2296
2297 # Pass back the list of options.
2298 func_quote_for_eval ${1+"$@"}
2299 libtool_options_prep_result=$func_quote_for_eval_result
2300 }
2301 func_add_hook func_options_prep libtool_options_prep
2302
2303
2304 # libtool_parse_options [ARG]...
2305 # ---------------------------------
2306 # Provide handling for libtool specific options.
2307 libtool_parse_options ()
2308 {
2309 $debug_cmd
2310
2311 # Perform our own loop to consume as many options as possible in
2312 # each iteration.
2313 while test $# -gt 0; do
2314 _G_opt=$1
2315 shift
2316 case $_G_opt in
2317 --dry-run|--dryrun|-n)
2318 opt_dry_run=:
2319 ;;
2320
2321 --config) func_config ;;
2322
2323 --dlopen|-dlopen)
2324 opt_dlopen="${opt_dlopen+$opt_dlopen
2325 }$1"
2326 shift
2327 ;;
2328
2329 --preserve-dup-deps)
2330 opt_preserve_dup_deps=: ;;
2331
2332 --features) func_features ;;
2333
2334 --finish) set dummy --mode finish ${1+"$@"}; shift ;;
2335
2336 --help) opt_help=: ;;
2337
2338 --help-all) opt_help=': help-all' ;;
2339
2340 --mode) test $# = 0 && func_missing_arg $_G_opt && break
2341 opt_mode=$1
2342 case $1 in
2343 # Valid mode arguments:
2344 clean|compile|execute|finish|install|link|relink|uninstall) ;;
2345
2346 # Catch anything else as an error
2347 *) func_error "invalid argument for $_G_opt"
2348 exit_cmd=exit
2349 break
2350 ;;
2351 esac
2352 shift
2353 ;;
2354
2355 --no-silent|--no-quiet)
2356 opt_quiet=false
2357 func_append preserve_args " $_G_opt"
2358 ;;
2359
2360 --no-warnings|--no-warning|--no-warn)
2361 opt_warning=false
2362 func_append preserve_args " $_G_opt"
2363 ;;
2364
2365 --no-verbose)
2366 opt_verbose=false
2367 func_append preserve_args " $_G_opt"
2368 ;;
2369
2370 --silent|--quiet)
2371 opt_quiet=:
2372 opt_verbose=false
2373 func_append preserve_args " $_G_opt"
2374 ;;
2375
2376 --tag) test $# = 0 && func_missing_arg $_G_opt && break
2377 opt_tag=$1
2378 func_append preserve_args " $_G_opt $1"
2379 func_enable_tag "$1"
2380 shift
2381 ;;
2382
2383 --verbose|-v) opt_quiet=false
2384 opt_verbose=:
2385 func_append preserve_args " $_G_opt"
2386 ;;
2387
2388 # An option not handled by this hook function:
2389 *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
2390 esac
2391 done
2392
2393
2394 # save modified positional parameters for caller
2395 func_quote_for_eval ${1+"$@"}
2396 libtool_parse_options_result=$func_quote_for_eval_result
2397 }
2398 func_add_hook func_parse_options libtool_parse_options
2399
2400
2401
2402 # libtool_validate_options [ARG]...
2403 # ---------------------------------
2404 # Perform any sanity checks on option settings and/or unconsumed
2405 # arguments.
2406 libtool_validate_options ()
2407 {
2408 # save first non-option argument
2409 if test 0 -lt $#; then
2410 nonopt=$1
2411 shift
2412 fi
2413
2414 # preserve --debug
2415 test : = "$debug_cmd" || func_append preserve_args " --debug"
2416
2417 case $host in
2418 # Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452
2419 # see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788
2420 *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* | *os2*)
2421 # don't eliminate duplications in $postdeps and $predeps
2422 opt_duplicate_compiler_generated_deps=:
2423 ;;
2424 *)
2425 opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps
2426 ;;
2427 esac
2428
2429 $opt_help || {
2430 # Sanity checks first:
2431 func_check_version_match
2432
2433 test yes != "$build_libtool_libs" \
2434 && test yes != "$build_old_libs" \
2435 && func_fatal_configuration "not configured to build any kind of library"
2436
2437 # Darwin sucks
2438 eval std_shrext=\"$shrext_cmds\"
2439
2440 # Only execute mode is allowed to have -dlopen flags.
2441 if test -n "$opt_dlopen" && test execute != "$opt_mode"; then
2442 func_error "unrecognized option '-dlopen'"
2443 $ECHO "$help" 1>&2
2444 exit $EXIT_FAILURE
2445 fi
2446
2447 # Change the help message to a mode-specific one.
2448 generic_help=$help
2449 help="Try '$progname --help --mode=$opt_mode' for more information."
2450 }
2451
2452 # Pass back the unparsed argument list
2453 func_quote_for_eval ${1+"$@"}
2454 libtool_validate_options_result=$func_quote_for_eval_result
2455 }
2456 func_add_hook func_validate_options libtool_validate_options
2457
2458
2459 # Process options as early as possible so that --help and --version
2460 # can return quickly.
2461 func_options ${1+"$@"}
2462 eval set dummy "$func_options_result"; shift
2463
2464
2465
2466 ## ----------- ##
2467 ## Main. ##
2468 ## ----------- ##
2469
2470 magic='%%%MAGIC variable%%%'
2471 magic_exe='%%%MAGIC EXE variable%%%'
2472
2473 # Global variables.
2474 extracted_archives=
2475 extracted_serial=0
2476
2477 # If this variable is set in any of the actions, the command in it
2478 # will be execed at the end. This prevents here-documents from being
2479 # left over by shells.
2480 exec_cmd=
2481
2482
2483 # A function that is used when there is no print builtin or printf.
2484 func_fallback_echo ()
2485 {
2486 eval 'cat <<_LTECHO_EOF
2487 $1
2488 _LTECHO_EOF'
2489 }
2490
2491 # func_generated_by_libtool
2492 # True iff stdin has been generated by Libtool. This function is only
2493 # a basic sanity check; it will hardly flush out determined imposters.
2494 func_generated_by_libtool_p ()
2495 {
2496 $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1
2497 }
2498
2499 # func_lalib_p file
2500 # True iff FILE is a libtool '.la' library or '.lo' object file.
2501 # This function is only a basic sanity check; it will hardly flush out
2502 # determined imposters.
2503 func_lalib_p ()
2504 {
2505 test -f "$1" &&
2506 $SED -e 4q "$1" 2>/dev/null | func_generated_by_libtool_p
2507 }
2508
2509 # func_lalib_unsafe_p file
2510 # True iff FILE is a libtool '.la' library or '.lo' object file.
2511 # This function implements the same check as func_lalib_p without
2512 # resorting to external programs. To this end, it redirects stdin and
2513 # closes it afterwards, without saving the original file descriptor.
2514 # As a safety measure, use it only where a negative result would be
2515 # fatal anyway. Works if 'file' does not exist.
2516 func_lalib_unsafe_p ()
2517 {
2518 lalib_p=no
2519 if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then
2520 for lalib_p_l in 1 2 3 4
2521 do
2522 read lalib_p_line
2523 case $lalib_p_line in
2524 \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;;
2525 esac
2526 done
2527 exec 0<&5 5<&-
2528 fi
2529 test yes = "$lalib_p"
2530 }
2531
2532 # func_ltwrapper_script_p file
2533 # True iff FILE is a libtool wrapper script
2534 # This function is only a basic sanity check; it will hardly flush out
2535 # determined imposters.
2536 func_ltwrapper_script_p ()
2537 {
2538 test -f "$1" &&
2539 $lt_truncate_bin < "$1" 2>/dev/null | func_generated_by_libtool_p
2540 }
2541
2542 # func_ltwrapper_executable_p file
2543 # True iff FILE is a libtool wrapper executable
2544 # This function is only a basic sanity check; it will hardly flush out
2545 # determined imposters.
2546 func_ltwrapper_executable_p ()
2547 {
2548 func_ltwrapper_exec_suffix=
2549 case $1 in
2550 *.exe) ;;
2551 *) func_ltwrapper_exec_suffix=.exe ;;
2552 esac
2553 $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1
2554 }
2555
2556 # func_ltwrapper_scriptname file
2557 # Assumes file is an ltwrapper_executable
2558 # uses $file to determine the appropriate filename for a
2559 # temporary ltwrapper_script.
2560 func_ltwrapper_scriptname ()
2561 {
2562 func_dirname_and_basename "$1" "" "."
2563 func_stripname '' '.exe' "$func_basename_result"
2564 func_ltwrapper_scriptname_result=$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper
2565 }
2566
2567 # func_ltwrapper_p file
2568 # True iff FILE is a libtool wrapper script or wrapper executable
2569 # This function is only a basic sanity check; it will hardly flush out
2570 # determined imposters.
2571 func_ltwrapper_p ()
2572 {
2573 func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1"
2574 }
2575
2576
2577 # func_execute_cmds commands fail_cmd
2578 # Execute tilde-delimited COMMANDS.
2579 # If FAIL_CMD is given, eval that upon failure.
2580 # FAIL_CMD may read-access the current command in variable CMD!
2581 func_execute_cmds ()
2582 {
2583 $debug_cmd
2584
2585 save_ifs=$IFS; IFS='~'
2586 for cmd in $1; do
2587 IFS=$sp$nl
2588 eval cmd=\"$cmd\"
2589 IFS=$save_ifs
2590 func_show_eval "$cmd" "${2-:}"
2591 done
2592 IFS=$save_ifs
2593 }
2594
2595
2596 # func_source file
2597 # Source FILE, adding directory component if necessary.
2598 # Note that it is not necessary on cygwin/mingw to append a dot to
2599 # FILE even if both FILE and FILE.exe exist: automatic-append-.exe
2600 # behavior happens only for exec(3), not for open(2)! Also, sourcing
2601 # 'FILE.' does not work on cygwin managed mounts.
2602 func_source ()
2603 {
2604 $debug_cmd
2605
2606 case $1 in
2607 */* | *\\*) . "$1" ;;
2608 *) . "./$1" ;;
2609 esac
2610 }
2611
2612
2613 # func_resolve_sysroot PATH
2614 # Replace a leading = in PATH with a sysroot. Store the result into
2615 # func_resolve_sysroot_result
2616 func_resolve_sysroot ()
2617 {
2618 func_resolve_sysroot_result=$1
2619 case $func_resolve_sysroot_result in
2620 =*)
2621 func_stripname '=' '' "$func_resolve_sysroot_result"
2622 func_resolve_sysroot_result=$lt_sysroot$func_stripname_result
2623 ;;
2624 esac
2625 }
2626
2627 # func_replace_sysroot PATH
2628 # If PATH begins with the sysroot, replace it with = and
2629 # store the result into func_replace_sysroot_result.
2630 func_replace_sysroot ()
2631 {
2632 case $lt_sysroot:$1 in
2633 ?*:"$lt_sysroot"*)
2634 func_stripname "$lt_sysroot" '' "$1"
2635 func_replace_sysroot_result='='$func_stripname_result
2636 ;;
2637 *)
2638 # Including no sysroot.
2639 func_replace_sysroot_result=$1
2640 ;;
2641 esac
2642 }
2643
2644 # func_infer_tag arg
2645 # Infer tagged configuration to use if any are available and
2646 # if one wasn't chosen via the "--tag" command line option.
2647 # Only attempt this if the compiler in the base compile
2648 # command doesn't match the default compiler.
2649 # arg is usually of the form 'gcc ...'
2650 func_infer_tag ()
2651 {
2652 $debug_cmd
2653
2654 if test -n "$available_tags" && test -z "$tagname"; then
2655 CC_quoted=
2656 for arg in $CC; do
2657 func_append_quoted CC_quoted "$arg"
2658 done
2659 CC_expanded=`func_echo_all $CC`
2660 CC_quoted_expanded=`func_echo_all $CC_quoted`
2661 case $@ in
2662 # Blanks in the command may have been stripped by the calling shell,
2663 # but not from the CC environment variable when configure was run.
2664 " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
2665 " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;;
2666 # Blanks at the start of $base_compile will cause this to fail
2667 # if we don't check for them as well.
2668 *)
2669 for z in $available_tags; do
2670 if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
2671 # Evaluate the configuration.
2672 eval "`$SED -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
2673 CC_quoted=
2674 for arg in $CC; do
2675 # Double-quote args containing other shell metacharacters.
2676 func_append_quoted CC_quoted "$arg"
2677 done
2678 CC_expanded=`func_echo_all $CC`
2679 CC_quoted_expanded=`func_echo_all $CC_quoted`
2680 case "$@ " in
2681 " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
2682 " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*)
2683 # The compiler in the base compile command matches
2684 # the one in the tagged configuration.
2685 # Assume this is the tagged configuration we want.
2686 tagname=$z
2687 break
2688 ;;
2689 esac
2690 fi
2691 done
2692 # If $tagname still isn't set, then no tagged configuration
2693 # was found and let the user know that the "--tag" command
2694 # line option must be used.
2695 if test -z "$tagname"; then
2696 func_echo "unable to infer tagged configuration"
2697 func_fatal_error "specify a tag with '--tag'"
2698 # else
2699 # func_verbose "using $tagname tagged configuration"
2700 fi
2701 ;;
2702 esac
2703 fi
2704 }
2705
2706
2707
2708 # func_write_libtool_object output_name pic_name nonpic_name
2709 # Create a libtool object file (analogous to a ".la" file),
2710 # but don't create it if we're doing a dry run.
2711 func_write_libtool_object ()
2712 {
2713 write_libobj=$1
2714 if test yes = "$build_libtool_libs"; then
2715 write_lobj=\'$2\'
2716 else
2717 write_lobj=none
2718 fi
2719
2720 if test yes = "$build_old_libs"; then
2721 write_oldobj=\'$3\'
2722 else
2723 write_oldobj=none
2724 fi
2725
2726 $opt_dry_run || {
2727 cat >${write_libobj}T <<EOF
2728 # $write_libobj - a libtool object file
2729 # Generated by $PROGRAM (GNU $PACKAGE) $VERSION
2730 #
2731 # Please DO NOT delete this file!
2732 # It is necessary for linking the library.
2733
2734 # Name of the PIC object.
2735 pic_object=$write_lobj
2736
2737 # Name of the non-PIC object
2738 non_pic_object=$write_oldobj
2739
2740 EOF
2741 $MV "${write_libobj}T" "$write_libobj"
2742 }
2743 }
2744
2745
2746 ##################################################
2747 # FILE NAME AND PATH CONVERSION HELPER FUNCTIONS #
2748 ##################################################
2749
2750 # func_convert_core_file_wine_to_w32 ARG
2751 # Helper function used by file name conversion functions when $build is *nix,
2752 # and $host is mingw, cygwin, or some other w32 environment. Relies on a
2753 # correctly configured wine environment available, with the winepath program
2754 # in $build's $PATH.
2755 #
2756 # ARG is the $build file name to be converted to w32 format.
2757 # Result is available in $func_convert_core_file_wine_to_w32_result, and will
2758 # be empty on error (or when ARG is empty)
2759 func_convert_core_file_wine_to_w32 ()
2760 {
2761 $debug_cmd
2762
2763 func_convert_core_file_wine_to_w32_result=$1
2764 if test -n "$1"; then
2765 # Unfortunately, winepath does not exit with a non-zero error code, so we
2766 # are forced to check the contents of stdout. On the other hand, if the
2767 # command is not found, the shell will set an exit code of 127 and print
2768 # *an error message* to stdout. So we must check for both error code of
2769 # zero AND non-empty stdout, which explains the odd construction:
2770 func_convert_core_file_wine_to_w32_tmp=`winepath -w "$1" 2>/dev/null`
2771 if test "$?" -eq 0 && test -n "$func_convert_core_file_wine_to_w32_tmp"; then
2772 func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" |
2773 $SED -e "$sed_naive_backslashify"`
2774 else
2775 func_convert_core_file_wine_to_w32_result=
2776 fi
2777 fi
2778 }
2779 # end: func_convert_core_file_wine_to_w32
2780
2781
2782 # func_convert_core_path_wine_to_w32 ARG
2783 # Helper function used by path conversion functions when $build is *nix, and
2784 # $host is mingw, cygwin, or some other w32 environment. Relies on a correctly
2785 # configured wine environment available, with the winepath program in $build's
2786 # $PATH. Assumes ARG has no leading or trailing path separator characters.
2787 #
2788 # ARG is path to be converted from $build format to win32.
2789 # Result is available in $func_convert_core_path_wine_to_w32_result.
2790 # Unconvertible file (directory) names in ARG are skipped; if no directory names
2791 # are convertible, then the result may be empty.
2792 func_convert_core_path_wine_to_w32 ()
2793 {
2794 $debug_cmd
2795
2796 # unfortunately, winepath doesn't convert paths, only file names
2797 func_convert_core_path_wine_to_w32_result=
2798 if test -n "$1"; then
2799 oldIFS=$IFS
2800 IFS=:
2801 for func_convert_core_path_wine_to_w32_f in $1; do
2802 IFS=$oldIFS
2803 func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f"
2804 if test -n "$func_convert_core_file_wine_to_w32_result"; then
2805 if test -z "$func_convert_core_path_wine_to_w32_result"; then
2806 func_convert_core_path_wine_to_w32_result=$func_convert_core_file_wine_to_w32_result
2807 else
2808 func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result"
2809 fi
2810 fi
2811 done
2812 IFS=$oldIFS
2813 fi
2814 }
2815 # end: func_convert_core_path_wine_to_w32
2816
2817
2818 # func_cygpath ARGS...
2819 # Wrapper around calling the cygpath program via LT_CYGPATH. This is used when
2820 # when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2)
2821 # $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or
2822 # (2), returns the Cygwin file name or path in func_cygpath_result (input
2823 # file name or path is assumed to be in w32 format, as previously converted
2824 # from $build's *nix or MSYS format). In case (3), returns the w32 file name
2825 # or path in func_cygpath_result (input file name or path is assumed to be in
2826 # Cygwin format). Returns an empty string on error.
2827 #
2828 # ARGS are passed to cygpath, with the last one being the file name or path to
2829 # be converted.
2830 #
2831 # Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH
2832 # environment variable; do not put it in $PATH.
2833 func_cygpath ()
2834 {
2835 $debug_cmd
2836
2837 if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then
2838 func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null`
2839 if test "$?" -ne 0; then
2840 # on failure, ensure result is empty
2841 func_cygpath_result=
2842 fi
2843 else
2844 func_cygpath_result=
2845 func_error "LT_CYGPATH is empty or specifies non-existent file: '$LT_CYGPATH'"
2846 fi
2847 }
2848 #end: func_cygpath
2849
2850
2851 # func_convert_core_msys_to_w32 ARG
2852 # Convert file name or path ARG from MSYS format to w32 format. Return
2853 # result in func_convert_core_msys_to_w32_result.
2854 func_convert_core_msys_to_w32 ()
2855 {
2856 $debug_cmd
2857
2858 # awkward: cmd appends spaces to result
2859 func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null |
2860 $SED -e 's/[ ]*$//' -e "$sed_naive_backslashify"`
2861 }
2862 #end: func_convert_core_msys_to_w32
2863
2864
2865 # func_convert_file_check ARG1 ARG2
2866 # Verify that ARG1 (a file name in $build format) was converted to $host
2867 # format in ARG2. Otherwise, emit an error message, but continue (resetting
2868 # func_to_host_file_result to ARG1).
2869 func_convert_file_check ()
2870 {
2871 $debug_cmd
2872
2873 if test -z "$2" && test -n "$1"; then
2874 func_error "Could not determine host file name corresponding to"
2875 func_error " '$1'"
2876 func_error "Continuing, but uninstalled executables may not work."
2877 # Fallback:
2878 func_to_host_file_result=$1
2879 fi
2880 }
2881 # end func_convert_file_check
2882
2883
2884 # func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH
2885 # Verify that FROM_PATH (a path in $build format) was converted to $host
2886 # format in TO_PATH. Otherwise, emit an error message, but continue, resetting
2887 # func_to_host_file_result to a simplistic fallback value (see below).
2888 func_convert_path_check ()
2889 {
2890 $debug_cmd
2891
2892 if test -z "$4" && test -n "$3"; then
2893 func_error "Could not determine the host path corresponding to"
2894 func_error " '$3'"
2895 func_error "Continuing, but uninstalled executables may not work."
2896 # Fallback. This is a deliberately simplistic "conversion" and
2897 # should not be "improved". See libtool.info.
2898 if test "x$1" != "x$2"; then
2899 lt_replace_pathsep_chars="s|$1|$2|g"
2900 func_to_host_path_result=`echo "$3" |
2901 $SED -e "$lt_replace_pathsep_chars"`
2902 else
2903 func_to_host_path_result=$3
2904 fi
2905 fi
2906 }
2907 # end func_convert_path_check
2908
2909
2910 # func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG
2911 # Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT
2912 # and appending REPL if ORIG matches BACKPAT.
2913 func_convert_path_front_back_pathsep ()
2914 {
2915 $debug_cmd
2916
2917 case $4 in
2918 $1 ) func_to_host_path_result=$3$func_to_host_path_result
2919 ;;
2920 esac
2921 case $4 in
2922 $2 ) func_append func_to_host_path_result "$3"
2923 ;;
2924 esac
2925 }
2926 # end func_convert_path_front_back_pathsep
2927
2928
2929 ##################################################
2930 # $build to $host FILE NAME CONVERSION FUNCTIONS #
2931 ##################################################
2932 # invoked via '$to_host_file_cmd ARG'
2933 #
2934 # In each case, ARG is the path to be converted from $build to $host format.
2935 # Result will be available in $func_to_host_file_result.
2936
2937
2938 # func_to_host_file ARG
2939 # Converts the file name ARG from $build format to $host format. Return result
2940 # in func_to_host_file_result.
2941 func_to_host_file ()
2942 {
2943 $debug_cmd
2944
2945 $to_host_file_cmd "$1"
2946 }
2947 # end func_to_host_file
2948
2949
2950 # func_to_tool_file ARG LAZY
2951 # converts the file name ARG from $build format to toolchain format. Return
2952 # result in func_to_tool_file_result. If the conversion in use is listed
2953 # in (the comma separated) LAZY, no conversion takes place.
2954 func_to_tool_file ()
2955 {
2956 $debug_cmd
2957
2958 case ,$2, in
2959 *,"$to_tool_file_cmd",*)
2960 func_to_tool_file_result=$1
2961 ;;
2962 *)
2963 $to_tool_file_cmd "$1"
2964 func_to_tool_file_result=$func_to_host_file_result
2965 ;;
2966 esac
2967 }
2968 # end func_to_tool_file
2969
2970
2971 # func_convert_file_noop ARG
2972 # Copy ARG to func_to_host_file_result.
2973 func_convert_file_noop ()
2974 {
2975 func_to_host_file_result=$1
2976 }
2977 # end func_convert_file_noop
2978
2979
2980 # func_convert_file_msys_to_w32 ARG
2981 # Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic
2982 # conversion to w32 is not available inside the cwrapper. Returns result in
2983 # func_to_host_file_result.
2984 func_convert_file_msys_to_w32 ()
2985 {
2986 $debug_cmd
2987
2988 func_to_host_file_result=$1
2989 if test -n "$1"; then
2990 func_convert_core_msys_to_w32 "$1"
2991 func_to_host_file_result=$func_convert_core_msys_to_w32_result
2992 fi
2993 func_convert_file_check "$1" "$func_to_host_file_result"
2994 }
2995 # end func_convert_file_msys_to_w32
2996
2997
2998 # func_convert_file_cygwin_to_w32 ARG
2999 # Convert file name ARG from Cygwin to w32 format. Returns result in
3000 # func_to_host_file_result.
3001 func_convert_file_cygwin_to_w32 ()
3002 {
3003 $debug_cmd
3004
3005 func_to_host_file_result=$1
3006 if test -n "$1"; then
3007 # because $build is cygwin, we call "the" cygpath in $PATH; no need to use
3008 # LT_CYGPATH in this case.
3009 func_to_host_file_result=`cygpath -m "$1"`
3010 fi
3011 func_convert_file_check "$1" "$func_to_host_file_result"
3012 }
3013 # end func_convert_file_cygwin_to_w32
3014
3015
3016 # func_convert_file_nix_to_w32 ARG
3017 # Convert file name ARG from *nix to w32 format. Requires a wine environment
3018 # and a working winepath. Returns result in func_to_host_file_result.
3019 func_convert_file_nix_to_w32 ()
3020 {
3021 $debug_cmd
3022
3023 func_to_host_file_result=$1
3024 if test -n "$1"; then
3025 func_convert_core_file_wine_to_w32 "$1"
3026 func_to_host_file_result=$func_convert_core_file_wine_to_w32_result
3027 fi
3028 func_convert_file_check "$1" "$func_to_host_file_result"
3029 }
3030 # end func_convert_file_nix_to_w32
3031
3032
3033 # func_convert_file_msys_to_cygwin ARG
3034 # Convert file name ARG from MSYS to Cygwin format. Requires LT_CYGPATH set.
3035 # Returns result in func_to_host_file_result.
3036 func_convert_file_msys_to_cygwin ()
3037 {
3038 $debug_cmd
3039
3040 func_to_host_file_result=$1
3041 if test -n "$1"; then
3042 func_convert_core_msys_to_w32 "$1"
3043 func_cygpath -u "$func_convert_core_msys_to_w32_result"
3044 func_to_host_file_result=$func_cygpath_result
3045 fi
3046 func_convert_file_check "$1" "$func_to_host_file_result"
3047 }
3048 # end func_convert_file_msys_to_cygwin
3049
3050
3051 # func_convert_file_nix_to_cygwin ARG
3052 # Convert file name ARG from *nix to Cygwin format. Requires Cygwin installed
3053 # in a wine environment, working winepath, and LT_CYGPATH set. Returns result
3054 # in func_to_host_file_result.
3055 func_convert_file_nix_to_cygwin ()
3056 {
3057 $debug_cmd
3058
3059 func_to_host_file_result=$1
3060 if test -n "$1"; then
3061 # convert from *nix to w32, then use cygpath to convert from w32 to cygwin.
3062 func_convert_core_file_wine_to_w32 "$1"
3063 func_cygpath -u "$func_convert_core_file_wine_to_w32_result"
3064 func_to_host_file_result=$func_cygpath_result
3065 fi
3066 func_convert_file_check "$1" "$func_to_host_file_result"
3067 }
3068 # end func_convert_file_nix_to_cygwin
3069
3070
3071 #############################################
3072 # $build to $host PATH CONVERSION FUNCTIONS #
3073 #############################################
3074 # invoked via '$to_host_path_cmd ARG'
3075 #
3076 # In each case, ARG is the path to be converted from $build to $host format.
3077 # The result will be available in $func_to_host_path_result.
3078 #
3079 # Path separators are also converted from $build format to $host format. If
3080 # ARG begins or ends with a path separator character, it is preserved (but
3081 # converted to $host format) on output.
3082 #
3083 # All path conversion functions are named using the following convention:
3084 # file name conversion function : func_convert_file_X_to_Y ()
3085 # path conversion function : func_convert_path_X_to_Y ()
3086 # where, for any given $build/$host combination the 'X_to_Y' value is the
3087 # same. If conversion functions are added for new $build/$host combinations,
3088 # the two new functions must follow this pattern, or func_init_to_host_path_cmd
3089 # will break.
3090
3091
3092 # func_init_to_host_path_cmd
3093 # Ensures that function "pointer" variable $to_host_path_cmd is set to the
3094 # appropriate value, based on the value of $to_host_file_cmd.
3095 to_host_path_cmd=
3096 func_init_to_host_path_cmd ()
3097 {
3098 $debug_cmd
3099
3100 if test -z "$to_host_path_cmd"; then
3101 func_stripname 'func_convert_file_' '' "$to_host_file_cmd"
3102 to_host_path_cmd=func_convert_path_$func_stripname_result
3103 fi
3104 }
3105
3106
3107 # func_to_host_path ARG
3108 # Converts the path ARG from $build format to $host format. Return result
3109 # in func_to_host_path_result.
3110 func_to_host_path ()
3111 {
3112 $debug_cmd
3113
3114 func_init_to_host_path_cmd
3115 $to_host_path_cmd "$1"
3116 }
3117 # end func_to_host_path
3118
3119
3120 # func_convert_path_noop ARG
3121 # Copy ARG to func_to_host_path_result.
3122 func_convert_path_noop ()
3123 {
3124 func_to_host_path_result=$1
3125 }
3126 # end func_convert_path_noop
3127
3128
3129 # func_convert_path_msys_to_w32 ARG
3130 # Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic
3131 # conversion to w32 is not available inside the cwrapper. Returns result in
3132 # func_to_host_path_result.
3133 func_convert_path_msys_to_w32 ()
3134 {
3135 $debug_cmd
3136
3137 func_to_host_path_result=$1
3138 if test -n "$1"; then
3139 # Remove leading and trailing path separator characters from ARG. MSYS
3140 # behavior is inconsistent here; cygpath turns them into '.;' and ';.';
3141 # and winepath ignores them completely.
3142 func_stripname : : "$1"
3143 func_to_host_path_tmp1=$func_stripname_result
3144 func_convert_core_msys_to_w32 "$func_to_host_path_tmp1"
3145 func_to_host_path_result=$func_convert_core_msys_to_w32_result
3146 func_convert_path_check : ";" \
3147 "$func_to_host_path_tmp1" "$func_to_host_path_result"
3148 func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
3149 fi
3150 }
3151 # end func_convert_path_msys_to_w32
3152
3153
3154 # func_convert_path_cygwin_to_w32 ARG
3155 # Convert path ARG from Cygwin to w32 format. Returns result in
3156 # func_to_host_file_result.
3157 func_convert_path_cygwin_to_w32 ()
3158 {
3159 $debug_cmd
3160
3161 func_to_host_path_result=$1
3162 if test -n "$1"; then
3163 # See func_convert_path_msys_to_w32:
3164 func_stripname : : "$1"
3165 func_to_host_path_tmp1=$func_stripname_result
3166 func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"`
3167 func_convert_path_check : ";" \
3168 "$func_to_host_path_tmp1" "$func_to_host_path_result"
3169 func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
3170 fi
3171 }
3172 # end func_convert_path_cygwin_to_w32
3173
3174
3175 # func_convert_path_nix_to_w32 ARG
3176 # Convert path ARG from *nix to w32 format. Requires a wine environment and
3177 # a working winepath. Returns result in func_to_host_file_result.
3178 func_convert_path_nix_to_w32 ()
3179 {
3180 $debug_cmd
3181
3182 func_to_host_path_result=$1
3183 if test -n "$1"; then
3184 # See func_convert_path_msys_to_w32:
3185 func_stripname : : "$1"
3186 func_to_host_path_tmp1=$func_stripname_result
3187 func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1"
3188 func_to_host_path_result=$func_convert_core_path_wine_to_w32_result
3189 func_convert_path_check : ";" \
3190 "$func_to_host_path_tmp1" "$func_to_host_path_result"
3191 func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
3192 fi
3193 }
3194 # end func_convert_path_nix_to_w32
3195
3196
3197 # func_convert_path_msys_to_cygwin ARG
3198 # Convert path ARG from MSYS to Cygwin format. Requires LT_CYGPATH set.
3199 # Returns result in func_to_host_file_result.
3200 func_convert_path_msys_to_cygwin ()
3201 {
3202 $debug_cmd
3203
3204 func_to_host_path_result=$1
3205 if test -n "$1"; then
3206 # See func_convert_path_msys_to_w32:
3207 func_stripname : : "$1"
3208 func_to_host_path_tmp1=$func_stripname_result
3209 func_convert_core_msys_to_w32 "$func_to_host_path_tmp1"
3210 func_cygpath -u -p "$func_convert_core_msys_to_w32_result"
3211 func_to_host_path_result=$func_cygpath_result
3212 func_convert_path_check : : \
3213 "$func_to_host_path_tmp1" "$func_to_host_path_result"
3214 func_convert_path_front_back_pathsep ":*" "*:" : "$1"
3215 fi
3216 }
3217 # end func_convert_path_msys_to_cygwin
3218
3219
3220 # func_convert_path_nix_to_cygwin ARG
3221 # Convert path ARG from *nix to Cygwin format. Requires Cygwin installed in a
3222 # a wine environment, working winepath, and LT_CYGPATH set. Returns result in
3223 # func_to_host_file_result.
3224 func_convert_path_nix_to_cygwin ()
3225 {
3226 $debug_cmd
3227
3228 func_to_host_path_result=$1
3229 if test -n "$1"; then
3230 # Remove leading and trailing path separator characters from
3231 # ARG. msys behavior is inconsistent here, cygpath turns them
3232 # into '.;' and ';.', and winepath ignores them completely.
3233 func_stripname : : "$1"
3234 func_to_host_path_tmp1=$func_stripname_result
3235 func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1"
3236 func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result"
3237 func_to_host_path_result=$func_cygpath_result
3238 func_convert_path_check : : \
3239 "$func_to_host_path_tmp1" "$func_to_host_path_result"
3240 func_convert_path_front_back_pathsep ":*" "*:" : "$1"
3241 fi
3242 }
3243 # end func_convert_path_nix_to_cygwin
3244
3245
3246 # func_dll_def_p FILE
3247 # True iff FILE is a Windows DLL '.def' file.
3248 # Keep in sync with _LT_DLL_DEF_P in libtool.m4
3249 func_dll_def_p ()
3250 {
3251 $debug_cmd
3252
3253 func_dll_def_p_tmp=`$SED -n \
3254 -e 's/^[ ]*//' \
3255 -e '/^\(;.*\)*$/d' \
3256 -e 's/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p' \
3257 -e q \
3258 "$1"`
3259 test DEF = "$func_dll_def_p_tmp"
3260 }
3261
3262
3263 # func_mode_compile arg...
3264 func_mode_compile ()
3265 {
3266 $debug_cmd
3267
3268 # Get the compilation command and the source file.
3269 base_compile=
3270 srcfile=$nonopt # always keep a non-empty value in "srcfile"
3271 suppress_opt=yes
3272 suppress_output=
3273 arg_mode=normal
3274 libobj=
3275 later=
3276 pie_flag=
3277
3278 for arg
3279 do
3280 case $arg_mode in
3281 arg )
3282 # do not "continue". Instead, add this to base_compile
3283 lastarg=$arg
3284 arg_mode=normal
3285 ;;
3286
3287 target )
3288 libobj=$arg
3289 arg_mode=normal
3290 continue
3291 ;;
3292
3293 normal )
3294 # Accept any command-line options.
3295 case $arg in
3296 -o)
3297 test -n "$libobj" && \
3298 func_fatal_error "you cannot specify '-o' more than once"
3299 arg_mode=target
3300 continue
3301 ;;
3302
3303 -pie | -fpie | -fPIE)
3304 func_append pie_flag " $arg"
3305 continue
3306 ;;
3307
3308 -shared | -static | -prefer-pic | -prefer-non-pic)
3309 func_append later " $arg"
3310 continue
3311 ;;
3312
3313 -no-suppress)
3314 suppress_opt=no
3315 continue
3316 ;;
3317
3318 -Xcompiler)
3319 arg_mode=arg # the next one goes into the "base_compile" arg list
3320 continue # The current "srcfile" will either be retained or
3321 ;; # replaced later. I would guess that would be a bug.
3322
3323 -Wc,*)
3324 func_stripname '-Wc,' '' "$arg"
3325 args=$func_stripname_result
3326 lastarg=
3327 save_ifs=$IFS; IFS=,
3328 for arg in $args; do
3329 IFS=$save_ifs
3330 func_append_quoted lastarg "$arg"
3331 done
3332 IFS=$save_ifs
3333 func_stripname ' ' '' "$lastarg"
3334 lastarg=$func_stripname_result
3335
3336 # Add the arguments to base_compile.
3337 func_append base_compile " $lastarg"
3338 continue
3339 ;;
3340
3341 *)
3342 # Accept the current argument as the source file.
3343 # The previous "srcfile" becomes the current argument.
3344 #
3345 lastarg=$srcfile
3346 srcfile=$arg
3347 ;;
3348 esac # case $arg
3349 ;;
3350 esac # case $arg_mode
3351
3352 # Aesthetically quote the previous argument.
3353 func_append_quoted base_compile "$lastarg"
3354 done # for arg
3355
3356 case $arg_mode in
3357 arg)
3358 func_fatal_error "you must specify an argument for -Xcompile"
3359 ;;
3360 target)
3361 func_fatal_error "you must specify a target with '-o'"
3362 ;;
3363 *)
3364 # Get the name of the library object.
3365 test -z "$libobj" && {
3366 func_basename "$srcfile"
3367 libobj=$func_basename_result
3368 }
3369 ;;
3370 esac
3371
3372 # Recognize several different file suffixes.
3373 # If the user specifies -o file.o, it is replaced with file.lo
3374 case $libobj in
3375 *.[cCFSifmso] | \
3376 *.ada | *.adb | *.ads | *.asm | \
3377 *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
3378 *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup)
3379 func_xform "$libobj"
3380 libobj=$func_xform_result
3381 ;;
3382 esac
3383
3384 case $libobj in
3385 *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;;
3386 *)
3387 func_fatal_error "cannot determine name of library object from '$libobj'"
3388 ;;
3389 esac
3390
3391 func_infer_tag $base_compile
3392
3393 for arg in $later; do
3394 case $arg in
3395 -shared)
3396 test yes = "$build_libtool_libs" \
3397 || func_fatal_configuration "cannot build a shared library"
3398 build_old_libs=no
3399 continue
3400 ;;
3401
3402 -static)
3403 build_libtool_libs=no
3404 build_old_libs=yes
3405 continue
3406 ;;
3407
3408 -prefer-pic)
3409 pic_mode=yes
3410 continue
3411 ;;
3412
3413 -prefer-non-pic)
3414 pic_mode=no
3415 continue
3416 ;;
3417 esac
3418 done
3419
3420 func_quote_for_eval "$libobj"
3421 test "X$libobj" != "X$func_quote_for_eval_result" \
3422 && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \
3423 && func_warning "libobj name '$libobj' may not contain shell special characters."
3424 func_dirname_and_basename "$obj" "/" ""
3425 objname=$func_basename_result
3426 xdir=$func_dirname_result
3427 lobj=$xdir$objdir/$objname
3428
3429 test -z "$base_compile" && \
3430 func_fatal_help "you must specify a compilation command"
3431
3432 # Delete any leftover library objects.
3433 if test yes = "$build_old_libs"; then
3434 removelist="$obj $lobj $libobj ${libobj}T"
3435 else
3436 removelist="$lobj $libobj ${libobj}T"
3437 fi
3438
3439 # On Cygwin there's no "real" PIC flag so we must build both object types
3440 case $host_os in
3441 cygwin* | mingw* | pw32* | os2* | cegcc*)
3442 pic_mode=default
3443 ;;
3444 esac
3445 if test no = "$pic_mode" && test pass_all != "$deplibs_check_method"; then
3446 # non-PIC code in shared libraries is not supported
3447 pic_mode=default
3448 fi
3449
3450 # Calculate the filename of the output object if compiler does
3451 # not support -o with -c
3452 if test no = "$compiler_c_o"; then
3453 output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.$objext
3454 lockfile=$output_obj.lock
3455 else
3456 output_obj=
3457 need_locks=no
3458 lockfile=
3459 fi
3460
3461 # Lock this critical section if it is needed
3462 # We use this script file to make the link, it avoids creating a new file
3463 if test yes = "$need_locks"; then
3464 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
3465 func_echo "Waiting for $lockfile to be removed"
3466 sleep 2
3467 done
3468 elif test warn = "$need_locks"; then
3469 if test -f "$lockfile"; then
3470 $ECHO "\
3471 *** ERROR, $lockfile exists and contains:
3472 `cat $lockfile 2>/dev/null`
3473
3474 This indicates that another process is trying to use the same
3475 temporary object file, and libtool could not work around it because
3476 your compiler does not support '-c' and '-o' together. If you
3477 repeat this compilation, it may succeed, by chance, but you had better
3478 avoid parallel builds (make -j) in this platform, or get a better
3479 compiler."
3480
3481 $opt_dry_run || $RM $removelist
3482 exit $EXIT_FAILURE
3483 fi
3484 func_append removelist " $output_obj"
3485 $ECHO "$srcfile" > "$lockfile"
3486 fi
3487
3488 $opt_dry_run || $RM $removelist
3489 func_append removelist " $lockfile"
3490 trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15
3491
3492 func_to_tool_file "$srcfile" func_convert_file_msys_to_w32
3493 srcfile=$func_to_tool_file_result
3494 func_quote_for_eval "$srcfile"
3495 qsrcfile=$func_quote_for_eval_result
3496
3497 # Only build a PIC object if we are building libtool libraries.
3498 if test yes = "$build_libtool_libs"; then
3499 # Without this assignment, base_compile gets emptied.
3500 fbsd_hideous_sh_bug=$base_compile
3501
3502 if test no != "$pic_mode"; then
3503 command="$base_compile $qsrcfile $pic_flag"
3504 else
3505 # Don't build PIC code
3506 command="$base_compile $qsrcfile"
3507 fi
3508
3509 func_mkdir_p "$xdir$objdir"
3510
3511 if test -z "$output_obj"; then
3512 # Place PIC objects in $objdir
3513 func_append command " -o $lobj"
3514 fi
3515
3516 func_show_eval_locale "$command" \
3517 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE'
3518
3519 if test warn = "$need_locks" &&
3520 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
3521 $ECHO "\
3522 *** ERROR, $lockfile contains:
3523 `cat $lockfile 2>/dev/null`
3524
3525 but it should contain:
3526 $srcfile
3527
3528 This indicates that another process is trying to use the same
3529 temporary object file, and libtool could not work around it because
3530 your compiler does not support '-c' and '-o' together. If you
3531 repeat this compilation, it may succeed, by chance, but you had better
3532 avoid parallel builds (make -j) in this platform, or get a better
3533 compiler."
3534
3535 $opt_dry_run || $RM $removelist
3536 exit $EXIT_FAILURE
3537 fi
3538
3539 # Just move the object if needed, then go on to compile the next one
3540 if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then
3541 func_show_eval '$MV "$output_obj" "$lobj"' \
3542 'error=$?; $opt_dry_run || $RM $removelist; exit $error'
3543 fi
3544
3545 # Allow error messages only from the first compilation.
3546 if test yes = "$suppress_opt"; then
3547 suppress_output=' >/dev/null 2>&1'
3548 fi
3549 fi
3550
3551 # Only build a position-dependent object if we build old libraries.
3552 if test yes = "$build_old_libs"; then
3553 if test yes != "$pic_mode"; then
3554 # Don't build PIC code
3555 command="$base_compile $qsrcfile$pie_flag"
3556 else
3557 command="$base_compile $qsrcfile $pic_flag"
3558 fi
3559 if test yes = "$compiler_c_o"; then
3560 func_append command " -o $obj"
3561 fi
3562
3563 # Suppress compiler output if we already did a PIC compilation.
3564 func_append command "$suppress_output"
3565 func_show_eval_locale "$command" \
3566 '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE'
3567
3568 if test warn = "$need_locks" &&
3569 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
3570 $ECHO "\
3571 *** ERROR, $lockfile contains:
3572 `cat $lockfile 2>/dev/null`
3573
3574 but it should contain:
3575 $srcfile
3576
3577 This indicates that another process is trying to use the same
3578 temporary object file, and libtool could not work around it because
3579 your compiler does not support '-c' and '-o' together. If you
3580 repeat this compilation, it may succeed, by chance, but you had better
3581 avoid parallel builds (make -j) in this platform, or get a better
3582 compiler."
3583
3584 $opt_dry_run || $RM $removelist
3585 exit $EXIT_FAILURE
3586 fi
3587
3588 # Just move the object if needed
3589 if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then
3590 func_show_eval '$MV "$output_obj" "$obj"' \
3591 'error=$?; $opt_dry_run || $RM $removelist; exit $error'
3592 fi
3593 fi
3594
3595 $opt_dry_run || {
3596 func_write_libtool_object "$libobj" "$objdir/$objname" "$objname"
3597
3598 # Unlock the critical section if it was locked
3599 if test no != "$need_locks"; then
3600 removelist=$lockfile
3601 $RM "$lockfile"
3602 fi
3603 }
3604
3605 exit $EXIT_SUCCESS
3606 }
3607
3608 $opt_help || {
3609 test compile = "$opt_mode" && func_mode_compile ${1+"$@"}
3610 }
3611
3612 func_mode_help ()
3613 {
3614 # We need to display help for each of the modes.
3615 case $opt_mode in
3616 "")
3617 # Generic help is extracted from the usage comments
3618 # at the start of this file.
3619 func_help
3620 ;;
3621
3622 clean)
3623 $ECHO \
3624 "Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
3625
3626 Remove files from the build directory.
3627
3628 RM is the name of the program to use to delete files associated with each FILE
3629 (typically '/bin/rm'). RM-OPTIONS are options (such as '-f') to be passed
3630 to RM.
3631
3632 If FILE is a libtool library, object or program, all the files associated
3633 with it are deleted. Otherwise, only FILE itself is deleted using RM."
3634 ;;
3635
3636 compile)
3637 $ECHO \
3638 "Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
3639
3640 Compile a source file into a libtool library object.
3641
3642 This mode accepts the following additional options:
3643
3644 -o OUTPUT-FILE set the output file name to OUTPUT-FILE
3645 -no-suppress do not suppress compiler output for multiple passes
3646 -prefer-pic try to build PIC objects only
3647 -prefer-non-pic try to build non-PIC objects only
3648 -shared do not build a '.o' file suitable for static linking
3649 -static only build a '.o' file suitable for static linking
3650 -Wc,FLAG pass FLAG directly to the compiler
3651
3652 COMPILE-COMMAND is a command to be used in creating a 'standard' object file
3653 from the given SOURCEFILE.
3654
3655 The output file name is determined by removing the directory component from
3656 SOURCEFILE, then substituting the C source code suffix '.c' with the
3657 library object suffix, '.lo'."
3658 ;;
3659
3660 execute)
3661 $ECHO \
3662 "Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]...
3663
3664 Automatically set library path, then run a program.
3665
3666 This mode accepts the following additional options:
3667
3668 -dlopen FILE add the directory containing FILE to the library path
3669
3670 This mode sets the library path environment variable according to '-dlopen'
3671 flags.
3672
3673 If any of the ARGS are libtool executable wrappers, then they are translated
3674 into their corresponding uninstalled binary, and any of their required library
3675 directories are added to the library path.
3676
3677 Then, COMMAND is executed, with ARGS as arguments."
3678 ;;
3679
3680 finish)
3681 $ECHO \
3682 "Usage: $progname [OPTION]... --mode=finish [LIBDIR]...
3683
3684 Complete the installation of libtool libraries.
3685
3686 Each LIBDIR is a directory that contains libtool libraries.
3687
3688 The commands that this mode executes may require superuser privileges. Use
3689 the '--dry-run' option if you just want to see what would be executed."
3690 ;;
3691
3692 install)
3693 $ECHO \
3694 "Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND...
3695
3696 Install executables or libraries.
3697
3698 INSTALL-COMMAND is the installation command. The first component should be
3699 either the 'install' or 'cp' program.
3700
3701 The following components of INSTALL-COMMAND are treated specially:
3702
3703 -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation
3704
3705 The rest of the components are interpreted as arguments to that command (only
3706 BSD-compatible install options are recognized)."
3707 ;;
3708
3709 link)
3710 $ECHO \
3711 "Usage: $progname [OPTION]... --mode=link LINK-COMMAND...
3712
3713 Link object files or libraries together to form another library, or to
3714 create an executable program.
3715
3716 LINK-COMMAND is a command using the C compiler that you would use to create
3717 a program from several object files.
3718
3719 The following components of LINK-COMMAND are treated specially:
3720
3721 -all-static do not do any dynamic linking at all
3722 -avoid-version do not add a version suffix if possible
3723 -bindir BINDIR specify path to binaries directory (for systems where
3724 libraries must be found in the PATH setting at runtime)
3725 -dlopen FILE '-dlpreopen' FILE if it cannot be dlopened at runtime
3726 -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
3727 -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
3728 -export-symbols SYMFILE
3729 try to export only the symbols listed in SYMFILE
3730 -export-symbols-regex REGEX
3731 try to export only the symbols matching REGEX
3732 -LLIBDIR search LIBDIR for required installed libraries
3733 -lNAME OUTPUT-FILE requires the installed library libNAME
3734 -module build a library that can dlopened
3735 -no-fast-install disable the fast-install mode
3736 -no-install link a not-installable executable
3737 -no-undefined declare that a library does not refer to external symbols
3738 -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
3739 -objectlist FILE use a list of object files found in FILE to specify objects
3740 -os2dllname NAME force a short DLL name on OS/2 (no effect on other OSes)
3741 -precious-files-regex REGEX
3742 don't remove output files matching REGEX
3743 -release RELEASE specify package release information
3744 -rpath LIBDIR the created library will eventually be installed in LIBDIR
3745 -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
3746 -shared only do dynamic linking of libtool libraries
3747 -shrext SUFFIX override the standard shared library file extension
3748 -static do not do any dynamic linking of uninstalled libtool libraries
3749 -static-libtool-libs
3750 do not do any dynamic linking of libtool libraries
3751 -version-info CURRENT[:REVISION[:AGE]]
3752 specify library version info [each variable defaults to 0]
3753 -weak LIBNAME declare that the target provides the LIBNAME interface
3754 -Wc,FLAG
3755 -Xcompiler FLAG pass linker-specific FLAG directly to the compiler
3756 -Wl,FLAG
3757 -Xlinker FLAG pass linker-specific FLAG directly to the linker
3758 -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC)
3759
3760 All other options (arguments beginning with '-') are ignored.
3761
3762 Every other argument is treated as a filename. Files ending in '.la' are
3763 treated as uninstalled libtool libraries, other files are standard or library
3764 object files.
3765
3766 If the OUTPUT-FILE ends in '.la', then a libtool library is created,
3767 only library objects ('.lo' files) may be specified, and '-rpath' is
3768 required, except when creating a convenience library.
3769
3770 If OUTPUT-FILE ends in '.a' or '.lib', then a standard library is created
3771 using 'ar' and 'ranlib', or on Windows using 'lib'.
3772
3773 If OUTPUT-FILE ends in '.lo' or '.$objext', then a reloadable object file
3774 is created, otherwise an executable program is created."
3775 ;;
3776
3777 uninstall)
3778 $ECHO \
3779 "Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
3780
3781 Remove libraries from an installation directory.
3782
3783 RM is the name of the program to use to delete files associated with each FILE
3784 (typically '/bin/rm'). RM-OPTIONS are options (such as '-f') to be passed
3785 to RM.
3786
3787 If FILE is a libtool library, all the files associated with it are deleted.
3788 Otherwise, only FILE itself is deleted using RM."
3789 ;;
3790
3791 *)
3792 func_fatal_help "invalid operation mode '$opt_mode'"
3793 ;;
3794 esac
3795
3796 echo
3797 $ECHO "Try '$progname --help' for more information about other modes."
3798 }
3799
3800 # Now that we've collected a possible --mode arg, show help if necessary
3801 if $opt_help; then
3802 if test : = "$opt_help"; then
3803 func_mode_help
3804 else
3805 {
3806 func_help noexit
3807 for opt_mode in compile link execute install finish uninstall clean; do
3808 func_mode_help
3809 done
3810 } | $SED -n '1p; 2,$s/^Usage:/ or: /p'
3811 {
3812 func_help noexit
3813 for opt_mode in compile link execute install finish uninstall clean; do
3814 echo
3815 func_mode_help
3816 done
3817 } |
3818 $SED '1d
3819 /^When reporting/,/^Report/{
3820 H
3821 d
3822 }
3823 $x
3824 /information about other modes/d
3825 /more detailed .*MODE/d
3826 s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/'
3827 fi
3828 exit $?
3829 fi
3830
3831
3832 # func_mode_execute arg...
3833 func_mode_execute ()
3834 {
3835 $debug_cmd
3836
3837 # The first argument is the command name.
3838 cmd=$nonopt
3839 test -z "$cmd" && \
3840 func_fatal_help "you must specify a COMMAND"
3841
3842 # Handle -dlopen flags immediately.
3843 for file in $opt_dlopen; do
3844 test -f "$file" \
3845 || func_fatal_help "'$file' is not a file"
3846
3847 dir=
3848 case $file in
3849 *.la)
3850 func_resolve_sysroot "$file"
3851 file=$func_resolve_sysroot_result
3852
3853 # Check to see that this really is a libtool archive.
3854 func_lalib_unsafe_p "$file" \
3855 || func_fatal_help "'$lib' is not a valid libtool archive"
3856
3857 # Read the libtool library.
3858 dlname=
3859 library_names=
3860 func_source "$file"
3861
3862 # Skip this library if it cannot be dlopened.
3863 if test -z "$dlname"; then
3864 # Warn if it was a shared library.
3865 test -n "$library_names" && \
3866 func_warning "'$file' was not linked with '-export-dynamic'"
3867 continue
3868 fi
3869
3870 func_dirname "$file" "" "."
3871 dir=$func_dirname_result
3872
3873 if test -f "$dir/$objdir/$dlname"; then
3874 func_append dir "/$objdir"
3875 else
3876 if test ! -f "$dir/$dlname"; then
3877 func_fatal_error "cannot find '$dlname' in '$dir' or '$dir/$objdir'"
3878 fi
3879 fi
3880 ;;
3881
3882 *.lo)
3883 # Just add the directory containing the .lo file.
3884 func_dirname "$file" "" "."
3885 dir=$func_dirname_result
3886 ;;
3887
3888 *)
3889 func_warning "'-dlopen' is ignored for non-libtool libraries and objects"
3890 continue
3891 ;;
3892 esac
3893
3894 # Get the absolute pathname.
3895 absdir=`cd "$dir" && pwd`
3896 test -n "$absdir" && dir=$absdir
3897
3898 # Now add the directory to shlibpath_var.
3899 if eval "test -z \"\$$shlibpath_var\""; then
3900 eval "$shlibpath_var=\"\$dir\""
3901 else
3902 eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
3903 fi
3904 done
3905
3906 # This variable tells wrapper scripts just to set shlibpath_var
3907 # rather than running their programs.
3908 libtool_execute_magic=$magic
3909
3910 # Check if any of the arguments is a wrapper script.
3911 args=
3912 for file
3913 do
3914 case $file in
3915 -* | *.la | *.lo ) ;;
3916 *)
3917 # Do a test to see if this is really a libtool program.
3918 if func_ltwrapper_script_p "$file"; then
3919 func_source "$file"
3920 # Transform arg to wrapped name.
3921 file=$progdir/$program
3922 elif func_ltwrapper_executable_p "$file"; then
3923 func_ltwrapper_scriptname "$file"
3924 func_source "$func_ltwrapper_scriptname_result"
3925 # Transform arg to wrapped name.
3926 file=$progdir/$program
3927 fi
3928 ;;
3929 esac
3930 # Quote arguments (to preserve shell metacharacters).
3931 func_append_quoted args "$file"
3932 done
3933
3934 if $opt_dry_run; then
3935 # Display what would be done.
3936 if test -n "$shlibpath_var"; then
3937 eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\""
3938 echo "export $shlibpath_var"
3939 fi
3940 $ECHO "$cmd$args"
3941 exit $EXIT_SUCCESS
3942 else
3943 if test -n "$shlibpath_var"; then
3944 # Export the shlibpath_var.
3945 eval "export $shlibpath_var"
3946 fi
3947
3948 # Restore saved environment variables
3949 for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
3950 do
3951 eval "if test \"\${save_$lt_var+set}\" = set; then
3952 $lt_var=\$save_$lt_var; export $lt_var
3953 else
3954 $lt_unset $lt_var
3955 fi"
3956 done
3957
3958 # Now prepare to actually exec the command.
3959 exec_cmd=\$cmd$args
3960 fi
3961 }
3962
3963 test execute = "$opt_mode" && func_mode_execute ${1+"$@"}
3964
3965
3966 # func_mode_finish arg...
3967 func_mode_finish ()
3968 {
3969 $debug_cmd
3970
3971 libs=
3972 libdirs=
3973 admincmds=
3974
3975 for opt in "$nonopt" ${1+"$@"}
3976 do
3977 if test -d "$opt"; then
3978 func_append libdirs " $opt"
3979
3980 elif test -f "$opt"; then
3981 if func_lalib_unsafe_p "$opt"; then
3982 func_append libs " $opt"
3983 else
3984 func_warning "'$opt' is not a valid libtool archive"
3985 fi
3986
3987 else
3988 func_fatal_error "invalid argument '$opt'"
3989 fi
3990 done
3991
3992 if test -n "$libs"; then
3993 if test -n "$lt_sysroot"; then
3994 sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"`
3995 sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;"
3996 else
3997 sysroot_cmd=
3998 fi
3999
4000 # Remove sysroot references
4001 if $opt_dry_run; then
4002 for lib in $libs; do
4003 echo "removing references to $lt_sysroot and '=' prefixes from $lib"
4004 done
4005 else
4006 tmpdir=`func_mktempdir`
4007 for lib in $libs; do
4008 $SED -e "$sysroot_cmd s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \
4009 > $tmpdir/tmp-la
4010 mv -f $tmpdir/tmp-la $lib
4011 done
4012 ${RM}r "$tmpdir"
4013 fi
4014 fi
4015
4016 if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
4017 for libdir in $libdirs; do
4018 if test -n "$finish_cmds"; then
4019 # Do each command in the finish commands.
4020 func_execute_cmds "$finish_cmds" 'admincmds="$admincmds
4021 '"$cmd"'"'
4022 fi
4023 if test -n "$finish_eval"; then
4024 # Do the single finish_eval.
4025 eval cmds=\"$finish_eval\"
4026 $opt_dry_run || eval "$cmds" || func_append admincmds "
4027 $cmds"
4028 fi
4029 done
4030 fi
4031
4032 # Exit here if they wanted silent mode.
4033 $opt_quiet && exit $EXIT_SUCCESS
4034
4035 if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
4036 echo "----------------------------------------------------------------------"
4037 echo "Libraries have been installed in:"
4038 for libdir in $libdirs; do
4039 $ECHO " $libdir"
4040 done
4041 echo
4042 echo "If you ever happen to want to link against installed libraries"
4043 echo "in a given directory, LIBDIR, you must either use libtool, and"
4044 echo "specify the full pathname of the library, or use the '-LLIBDIR'"
4045 echo "flag during linking and do at least one of the following:"
4046 if test -n "$shlibpath_var"; then
4047 echo " - add LIBDIR to the '$shlibpath_var' environment variable"
4048 echo " during execution"
4049 fi
4050 if test -n "$runpath_var"; then
4051 echo " - add LIBDIR to the '$runpath_var' environment variable"
4052 echo " during linking"
4053 fi
4054 if test -n "$hardcode_libdir_flag_spec"; then
4055 libdir=LIBDIR
4056 eval flag=\"$hardcode_libdir_flag_spec\"
4057
4058 $ECHO " - use the '$flag' linker flag"
4059 fi
4060 if test -n "$admincmds"; then
4061 $ECHO " - have your system administrator run these commands:$admincmds"
4062 fi
4063 if test -f /etc/ld.so.conf; then
4064 echo " - have your system administrator add LIBDIR to '/etc/ld.so.conf'"
4065 fi
4066 echo
4067
4068 echo "See any operating system documentation about shared libraries for"
4069 case $host in
4070 solaris2.[6789]|solaris2.1[0-9])
4071 echo "more information, such as the ld(1), crle(1) and ld.so(8) manual"
4072 echo "pages."
4073 ;;
4074 *)
4075 echo "more information, such as the ld(1) and ld.so(8) manual pages."
4076 ;;
4077 esac
4078 echo "----------------------------------------------------------------------"
4079 fi
4080 exit $EXIT_SUCCESS
4081 }
4082
4083 test finish = "$opt_mode" && func_mode_finish ${1+"$@"}
4084
4085
4086 # func_mode_install arg...
4087 func_mode_install ()
4088 {
4089 $debug_cmd
4090
4091 # There may be an optional sh(1) argument at the beginning of
4092 # install_prog (especially on Windows NT).
4093 if test "$SHELL" = "$nonopt" || test /bin/sh = "$nonopt" ||
4094 # Allow the use of GNU shtool's install command.
4095 case $nonopt in *shtool*) :;; *) false;; esac
4096 then
4097 # Aesthetically quote it.
4098 func_quote_for_eval "$nonopt"
4099 install_prog="$func_quote_for_eval_result "
4100 arg=$1
4101 shift
4102 else
4103 install_prog=
4104 arg=$nonopt
4105 fi
4106
4107 # The real first argument should be the name of the installation program.
4108 # Aesthetically quote it.
4109 func_quote_for_eval "$arg"
4110 func_append install_prog "$func_quote_for_eval_result"
4111 install_shared_prog=$install_prog
4112 case " $install_prog " in
4113 *[\\\ /]cp\ *) install_cp=: ;;
4114 *) install_cp=false ;;
4115 esac
4116
4117 # We need to accept at least all the BSD install flags.
4118 dest=
4119 files=
4120 opts=
4121 prev=
4122 install_type=
4123 isdir=false
4124 stripme=
4125 no_mode=:
4126 for arg
4127 do
4128 arg2=
4129 if test -n "$dest"; then
4130 func_append files " $dest"
4131 dest=$arg
4132 continue
4133 fi
4134
4135 case $arg in
4136 -d) isdir=: ;;
4137 -f)
4138 if $install_cp; then :; else
4139 prev=$arg
4140 fi
4141 ;;
4142 -g | -m | -o)
4143 prev=$arg
4144 ;;
4145 -s)
4146 stripme=" -s"
4147 continue
4148 ;;
4149 -*)
4150 ;;
4151 *)
4152 # If the previous option needed an argument, then skip it.
4153 if test -n "$prev"; then
4154 if test X-m = "X$prev" && test -n "$install_override_mode"; then
4155 arg2=$install_override_mode
4156 no_mode=false
4157 fi
4158 prev=
4159 else
4160 dest=$arg
4161 continue
4162 fi
4163 ;;
4164 esac
4165
4166 # Aesthetically quote the argument.
4167 func_quote_for_eval "$arg"
4168 func_append install_prog " $func_quote_for_eval_result"
4169 if test -n "$arg2"; then
4170 func_quote_for_eval "$arg2"
4171 fi
4172 func_append install_shared_prog " $func_quote_for_eval_result"
4173 done
4174
4175 test -z "$install_prog" && \
4176 func_fatal_help "you must specify an install program"
4177
4178 test -n "$prev" && \
4179 func_fatal_help "the '$prev' option requires an argument"
4180
4181 if test -n "$install_override_mode" && $no_mode; then
4182 if $install_cp; then :; else
4183 func_quote_for_eval "$install_override_mode"
4184 func_append install_shared_prog " -m $func_quote_for_eval_result"
4185 fi
4186 fi
4187
4188 if test -z "$files"; then
4189 if test -z "$dest"; then
4190 func_fatal_help "no file or destination specified"
4191 else
4192 func_fatal_help "you must specify a destination"
4193 fi
4194 fi
4195
4196 # Strip any trailing slash from the destination.
4197 func_stripname '' '/' "$dest"
4198 dest=$func_stripname_result
4199
4200 # Check to see that the destination is a directory.
4201 test -d "$dest" && isdir=:
4202 if $isdir; then
4203 destdir=$dest
4204 destname=
4205 else
4206 func_dirname_and_basename "$dest" "" "."
4207 destdir=$func_dirname_result
4208 destname=$func_basename_result
4209
4210 # Not a directory, so check to see that there is only one file specified.
4211 set dummy $files; shift
4212 test "$#" -gt 1 && \
4213 func_fatal_help "'$dest' is not a directory"
4214 fi
4215 case $destdir in
4216 [\\/]* | [A-Za-z]:[\\/]*) ;;
4217 *)
4218 for file in $files; do
4219 case $file in
4220 *.lo) ;;
4221 *)
4222 func_fatal_help "'$destdir' must be an absolute directory name"
4223 ;;
4224 esac
4225 done
4226 ;;
4227 esac
4228
4229 # This variable tells wrapper scripts just to set variables rather
4230 # than running their programs.
4231 libtool_install_magic=$magic
4232
4233 staticlibs=
4234 future_libdirs=
4235 current_libdirs=
4236 for file in $files; do
4237
4238 # Do each installation.
4239 case $file in
4240 *.$libext)
4241 # Do the static libraries later.
4242 func_append staticlibs " $file"
4243 ;;
4244
4245 *.la)
4246 func_resolve_sysroot "$file"
4247 file=$func_resolve_sysroot_result
4248
4249 # Check to see that this really is a libtool archive.
4250 func_lalib_unsafe_p "$file" \
4251 || func_fatal_help "'$file' is not a valid libtool archive"
4252
4253 library_names=
4254 old_library=
4255 relink_command=
4256 func_source "$file"
4257
4258 # Add the libdir to current_libdirs if it is the destination.
4259 if test "X$destdir" = "X$libdir"; then
4260 case "$current_libdirs " in
4261 *" $libdir "*) ;;
4262 *) func_append current_libdirs " $libdir" ;;
4263 esac
4264 else
4265 # Note the libdir as a future libdir.
4266 case "$future_libdirs " in
4267 *" $libdir "*) ;;
4268 *) func_append future_libdirs " $libdir" ;;
4269 esac
4270 fi
4271
4272 func_dirname "$file" "/" ""
4273 dir=$func_dirname_result
4274 func_append dir "$objdir"
4275
4276 if test -n "$relink_command"; then
4277 # Determine the prefix the user has applied to our future dir.
4278 inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"`
4279
4280 # Don't allow the user to place us outside of our expected
4281 # location b/c this prevents finding dependent libraries that
4282 # are installed to the same prefix.
4283 # At present, this check doesn't affect windows .dll's that
4284 # are installed into $libdir/../bin (currently, that works fine)
4285 # but it's something to keep an eye on.
4286 test "$inst_prefix_dir" = "$destdir" && \
4287 func_fatal_error "error: cannot install '$file' to a directory not ending in $libdir"
4288
4289 if test -n "$inst_prefix_dir"; then
4290 # Stick the inst_prefix_dir data into the link command.
4291 relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
4292 else
4293 relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
4294 fi
4295
4296 func_warning "relinking '$file'"
4297 func_show_eval "$relink_command" \
4298 'func_fatal_error "error: relink '\''$file'\'' with the above command before installing it"'
4299 fi
4300
4301 # See the names of the shared library.
4302 set dummy $library_names; shift
4303 if test -n "$1"; then
4304 realname=$1
4305 shift
4306
4307 srcname=$realname
4308 test -n "$relink_command" && srcname=${realname}T
4309
4310 # Install the shared library and build the symlinks.
4311 func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \
4312 'exit $?'
4313 tstripme=$stripme
4314 case $host_os in
4315 cygwin* | mingw* | pw32* | cegcc*)
4316 case $realname in
4317 *.dll.a)
4318 tstripme=
4319 ;;
4320 esac
4321 ;;
4322 os2*)
4323 case $realname in
4324 *_dll.a)
4325 tstripme=
4326 ;;
4327 esac
4328 ;;
4329 esac
4330 if test -n "$tstripme" && test -n "$striplib"; then
4331 func_show_eval "$striplib $destdir/$realname" 'exit $?'
4332 fi
4333
4334 if test "$#" -gt 0; then
4335 # Delete the old symlinks, and create new ones.
4336 # Try 'ln -sf' first, because the 'ln' binary might depend on
4337 # the symlink we replace! Solaris /bin/ln does not understand -f,
4338 # so we also need to try rm && ln -s.
4339 for linkname
4340 do
4341 test "$linkname" != "$realname" \
4342 && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })"
4343 done
4344 fi
4345
4346 # Do each command in the postinstall commands.
4347 lib=$destdir/$realname
4348 func_execute_cmds "$postinstall_cmds" 'exit $?'
4349 fi
4350
4351 # Install the pseudo-library for information purposes.
4352 func_basename "$file"
4353 name=$func_basename_result
4354 instname=$dir/${name}i
4355 func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
4356
4357 # Maybe install the static library, too.
4358 test -n "$old_library" && func_append staticlibs " $dir/$old_library"
4359 ;;
4360
4361 *.lo)
4362 # Install (i.e. copy) a libtool object.
4363
4364 # Figure out destination file name, if it wasn't already specified.
4365 if test -n "$destname"; then
4366 destfile=$destdir/$destname
4367 else
4368 func_basename "$file"
4369 destfile=$func_basename_result
4370 destfile=$destdir/$destfile
4371 fi
4372
4373 # Deduce the name of the destination old-style object file.
4374 case $destfile in
4375 *.lo)
4376 func_lo2o "$destfile"
4377 staticdest=$func_lo2o_result
4378 ;;
4379 *.$objext)
4380 staticdest=$destfile
4381 destfile=
4382 ;;
4383 *)
4384 func_fatal_help "cannot copy a libtool object to '$destfile'"
4385 ;;
4386 esac
4387
4388 # Install the libtool object if requested.
4389 test -n "$destfile" && \
4390 func_show_eval "$install_prog $file $destfile" 'exit $?'
4391
4392 # Install the old object if enabled.
4393 if test yes = "$build_old_libs"; then
4394 # Deduce the name of the old-style object file.
4395 func_lo2o "$file"
4396 staticobj=$func_lo2o_result
4397 func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?'
4398 fi
4399 exit $EXIT_SUCCESS
4400 ;;
4401
4402 *)
4403 # Figure out destination file name, if it wasn't already specified.
4404 if test -n "$destname"; then
4405 destfile=$destdir/$destname
4406 else
4407 func_basename "$file"
4408 destfile=$func_basename_result
4409 destfile=$destdir/$destfile
4410 fi
4411
4412 # If the file is missing, and there is a .exe on the end, strip it
4413 # because it is most likely a libtool script we actually want to
4414 # install
4415 stripped_ext=
4416 case $file in
4417 *.exe)
4418 if test ! -f "$file"; then
4419 func_stripname '' '.exe' "$file"
4420 file=$func_stripname_result
4421 stripped_ext=.exe
4422 fi
4423 ;;
4424 esac
4425
4426 # Do a test to see if this is really a libtool program.
4427 case $host in
4428 *cygwin* | *mingw*)
4429 if func_ltwrapper_executable_p "$file"; then
4430 func_ltwrapper_scriptname "$file"
4431 wrapper=$func_ltwrapper_scriptname_result
4432 else
4433 func_stripname '' '.exe' "$file"
4434 wrapper=$func_stripname_result
4435 fi
4436 ;;
4437 *)
4438 wrapper=$file
4439 ;;
4440 esac
4441 if func_ltwrapper_script_p "$wrapper"; then
4442 notinst_deplibs=
4443 relink_command=
4444
4445 func_source "$wrapper"
4446
4447 # Check the variables that should have been set.
4448 test -z "$generated_by_libtool_version" && \
4449 func_fatal_error "invalid libtool wrapper script '$wrapper'"
4450
4451 finalize=:
4452 for lib in $notinst_deplibs; do
4453 # Check to see that each library is installed.
4454 libdir=
4455 if test -f "$lib"; then
4456 func_source "$lib"
4457 fi
4458 libfile=$libdir/`$ECHO "$lib" | $SED 's%^.*/%%g'`
4459 if test -n "$libdir" && test ! -f "$libfile"; then
4460 func_warning "'$lib' has not been installed in '$libdir'"
4461 finalize=false
4462 fi
4463 done
4464
4465 relink_command=
4466 func_source "$wrapper"
4467
4468 outputname=
4469 if test no = "$fast_install" && test -n "$relink_command"; then
4470 $opt_dry_run || {
4471 if $finalize; then
4472 tmpdir=`func_mktempdir`
4473 func_basename "$file$stripped_ext"
4474 file=$func_basename_result
4475 outputname=$tmpdir/$file
4476 # Replace the output file specification.
4477 relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'`
4478
4479 $opt_quiet || {
4480 func_quote_for_expand "$relink_command"
4481 eval "func_echo $func_quote_for_expand_result"
4482 }
4483 if eval "$relink_command"; then :
4484 else
4485 func_error "error: relink '$file' with the above command before installing it"
4486 $opt_dry_run || ${RM}r "$tmpdir"
4487 continue
4488 fi
4489 file=$outputname
4490 else
4491 func_warning "cannot relink '$file'"
4492 fi
4493 }
4494 else
4495 # Install the binary that we compiled earlier.
4496 file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"`
4497 fi
4498 fi
4499
4500 # remove .exe since cygwin /usr/bin/install will append another
4501 # one anyway
4502 case $install_prog,$host in
4503 */usr/bin/install*,*cygwin*)
4504 case $file:$destfile in
4505 *.exe:*.exe)
4506 # this is ok
4507 ;;
4508 *.exe:*)
4509 destfile=$destfile.exe
4510 ;;
4511 *:*.exe)
4512 func_stripname '' '.exe' "$destfile"
4513 destfile=$func_stripname_result
4514 ;;
4515 esac
4516 ;;
4517 esac
4518 func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?'
4519 $opt_dry_run || if test -n "$outputname"; then
4520 ${RM}r "$tmpdir"
4521 fi
4522 ;;
4523 esac
4524 done
4525
4526 for file in $staticlibs; do
4527 func_basename "$file"
4528 name=$func_basename_result
4529
4530 # Set up the ranlib parameters.
4531 oldlib=$destdir/$name
4532 func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
4533 tool_oldlib=$func_to_tool_file_result
4534
4535 func_show_eval "$install_prog \$file \$oldlib" 'exit $?'
4536
4537 if test -n "$stripme" && test -n "$old_striplib"; then
4538 func_show_eval "$old_striplib $tool_oldlib" 'exit $?'
4539 fi
4540
4541 # Do each command in the postinstall commands.
4542 func_execute_cmds "$old_postinstall_cmds" 'exit $?'
4543 done
4544
4545 test -n "$future_libdirs" && \
4546 func_warning "remember to run '$progname --finish$future_libdirs'"
4547
4548 if test -n "$current_libdirs"; then
4549 # Maybe just do a dry run.
4550 $opt_dry_run && current_libdirs=" -n$current_libdirs"
4551 exec_cmd='$SHELL "$progpath" $preserve_args --finish$current_libdirs'
4552 else
4553 exit $EXIT_SUCCESS
4554 fi
4555 }
4556
4557 test install = "$opt_mode" && func_mode_install ${1+"$@"}
4558
4559
4560 # func_generate_dlsyms outputname originator pic_p
4561 # Extract symbols from dlprefiles and create ${outputname}S.o with
4562 # a dlpreopen symbol table.
4563 func_generate_dlsyms ()
4564 {
4565 $debug_cmd
4566
4567 my_outputname=$1
4568 my_originator=$2
4569 my_pic_p=${3-false}
4570 my_prefix=`$ECHO "$my_originator" | $SED 's%[^a-zA-Z0-9]%_%g'`
4571 my_dlsyms=
4572
4573 if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then
4574 if test -n "$NM" && test -n "$global_symbol_pipe"; then
4575 my_dlsyms=${my_outputname}S.c
4576 else
4577 func_error "not configured to extract global symbols from dlpreopened files"
4578 fi
4579 fi
4580
4581 if test -n "$my_dlsyms"; then
4582 case $my_dlsyms in
4583 "") ;;
4584 *.c)
4585 # Discover the nlist of each of the dlfiles.
4586 nlist=$output_objdir/$my_outputname.nm
4587
4588 func_show_eval "$RM $nlist ${nlist}S ${nlist}T"
4589
4590 # Parse the name list into a source file.
4591 func_verbose "creating $output_objdir/$my_dlsyms"
4592
4593 $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\
4594 /* $my_dlsyms - symbol resolution table for '$my_outputname' dlsym emulation. */
4595 /* Generated by $PROGRAM (GNU $PACKAGE) $VERSION */
4596
4597 #ifdef __cplusplus
4598 extern \"C\" {
4599 #endif
4600
4601 #if defined __GNUC__ && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4))
4602 #pragma GCC diagnostic ignored \"-Wstrict-prototypes\"
4603 #endif
4604
4605 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
4606 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
4607 /* DATA imports from DLLs on WIN32 can't be const, because runtime
4608 relocations are performed -- see ld's documentation on pseudo-relocs. */
4609 # define LT_DLSYM_CONST
4610 #elif defined __osf__
4611 /* This system does not cope well with relocations in const data. */
4612 # define LT_DLSYM_CONST
4613 #else
4614 # define LT_DLSYM_CONST const
4615 #endif
4616
4617 #define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0)
4618
4619 /* External symbol declarations for the compiler. */\
4620 "
4621
4622 if test yes = "$dlself"; then
4623 func_verbose "generating symbol list for '$output'"
4624
4625 $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist"
4626
4627 # Add our own program objects to the symbol list.
4628 progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP`
4629 for progfile in $progfiles; do
4630 func_to_tool_file "$progfile" func_convert_file_msys_to_w32
4631 func_verbose "extracting global C symbols from '$func_to_tool_file_result'"
4632 $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'"
4633 done
4634
4635 if test -n "$exclude_expsyms"; then
4636 $opt_dry_run || {
4637 eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
4638 eval '$MV "$nlist"T "$nlist"'
4639 }
4640 fi
4641
4642 if test -n "$export_symbols_regex"; then
4643 $opt_dry_run || {
4644 eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
4645 eval '$MV "$nlist"T "$nlist"'
4646 }
4647 fi
4648
4649 # Prepare the list of exported symbols
4650 if test -z "$export_symbols"; then
4651 export_symbols=$output_objdir/$outputname.exp
4652 $opt_dry_run || {
4653 $RM $export_symbols
4654 eval "$SED -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
4655 case $host in
4656 *cygwin* | *mingw* | *cegcc* )
4657 eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
4658 eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
4659 ;;
4660 esac
4661 }
4662 else
4663 $opt_dry_run || {
4664 eval "$SED -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
4665 eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
4666 eval '$MV "$nlist"T "$nlist"'
4667 case $host in
4668 *cygwin* | *mingw* | *cegcc* )
4669 eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
4670 eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
4671 ;;
4672 esac
4673 }
4674 fi
4675 fi
4676
4677 for dlprefile in $dlprefiles; do
4678 func_verbose "extracting global C symbols from '$dlprefile'"
4679 func_basename "$dlprefile"
4680 name=$func_basename_result
4681 case $host in
4682 *cygwin* | *mingw* | *cegcc* )
4683 # if an import library, we need to obtain dlname
4684 if func_win32_import_lib_p "$dlprefile"; then
4685 func_tr_sh "$dlprefile"
4686 eval "curr_lafile=\$libfile_$func_tr_sh_result"
4687 dlprefile_dlbasename=
4688 if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then
4689 # Use subshell, to avoid clobbering current variable values
4690 dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"`
4691 if test -n "$dlprefile_dlname"; then
4692 func_basename "$dlprefile_dlname"
4693 dlprefile_dlbasename=$func_basename_result
4694 else
4695 # no lafile. user explicitly requested -dlpreopen <import library>.
4696 $sharedlib_from_linklib_cmd "$dlprefile"
4697 dlprefile_dlbasename=$sharedlib_from_linklib_result
4698 fi
4699 fi
4700 $opt_dry_run || {
4701 if test -n "$dlprefile_dlbasename"; then
4702 eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"'
4703 else
4704 func_warning "Could not compute DLL name from $name"
4705 eval '$ECHO ": $name " >> "$nlist"'
4706 fi
4707 func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
4708 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe |
4709 $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'"
4710 }
4711 else # not an import lib
4712 $opt_dry_run || {
4713 eval '$ECHO ": $name " >> "$nlist"'
4714 func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
4715 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'"
4716 }
4717 fi
4718 ;;
4719 *)
4720 $opt_dry_run || {
4721 eval '$ECHO ": $name " >> "$nlist"'
4722 func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
4723 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'"
4724 }
4725 ;;
4726 esac
4727 done
4728
4729 $opt_dry_run || {
4730 # Make sure we have at least an empty file.
4731 test -f "$nlist" || : > "$nlist"
4732
4733 if test -n "$exclude_expsyms"; then
4734 $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
4735 $MV "$nlist"T "$nlist"
4736 fi
4737
4738 # Try sorting and uniquifying the output.
4739 if $GREP -v "^: " < "$nlist" |
4740 if sort -k 3 </dev/null >/dev/null 2>&1; then
4741 sort -k 3
4742 else
4743 sort +2
4744 fi |
4745 uniq > "$nlist"S; then
4746 :
4747 else
4748 $GREP -v "^: " < "$nlist" > "$nlist"S
4749 fi
4750
4751 if test -f "$nlist"S; then
4752 eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"'
4753 else
4754 echo '/* NONE */' >> "$output_objdir/$my_dlsyms"
4755 fi
4756
4757 func_show_eval '$RM "${nlist}I"'
4758 if test -n "$global_symbol_to_import"; then
4759 eval "$global_symbol_to_import"' < "$nlist"S > "$nlist"I'
4760 fi
4761
4762 echo >> "$output_objdir/$my_dlsyms" "\
4763
4764 /* The mapping between symbol names and symbols. */
4765 typedef struct {
4766 const char *name;
4767 void *address;
4768 } lt_dlsymlist;
4769 extern LT_DLSYM_CONST lt_dlsymlist
4770 lt_${my_prefix}_LTX_preloaded_symbols[];\
4771 "
4772
4773 if test -s "$nlist"I; then
4774 echo >> "$output_objdir/$my_dlsyms" "\
4775 static void lt_syminit(void)
4776 {
4777 LT_DLSYM_CONST lt_dlsymlist *symbol = lt_${my_prefix}_LTX_preloaded_symbols;
4778 for (; symbol->name; ++symbol)
4779 {"
4780 $SED 's/.*/ if (STREQ (symbol->name, \"&\")) symbol->address = (void *) \&&;/' < "$nlist"I >> "$output_objdir/$my_dlsyms"
4781 echo >> "$output_objdir/$my_dlsyms" "\
4782 }
4783 }"
4784 fi
4785 echo >> "$output_objdir/$my_dlsyms" "\
4786 LT_DLSYM_CONST lt_dlsymlist
4787 lt_${my_prefix}_LTX_preloaded_symbols[] =
4788 { {\"$my_originator\", (void *) 0},"
4789
4790 if test -s "$nlist"I; then
4791 echo >> "$output_objdir/$my_dlsyms" "\
4792 {\"@INIT@\", (void *) &lt_syminit},"
4793 fi
4794
4795 case $need_lib_prefix in
4796 no)
4797 eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms"
4798 ;;
4799 *)
4800 eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms"
4801 ;;
4802 esac
4803 echo >> "$output_objdir/$my_dlsyms" "\
4804 {0, (void *) 0}
4805 };
4806
4807 /* This works around a problem in FreeBSD linker */
4808 #ifdef FREEBSD_WORKAROUND
4809 static const void *lt_preloaded_setup() {
4810 return lt_${my_prefix}_LTX_preloaded_symbols;
4811 }
4812 #endif
4813
4814 #ifdef __cplusplus
4815 }
4816 #endif\
4817 "
4818 } # !$opt_dry_run
4819
4820 pic_flag_for_symtable=
4821 case "$compile_command " in
4822 *" -static "*) ;;
4823 *)
4824 case $host in
4825 # compiling the symbol table file with pic_flag works around
4826 # a FreeBSD bug that causes programs to crash when -lm is
4827 # linked before any other PIC object. But we must not use
4828 # pic_flag when linking with -static. The problem exists in
4829 # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
4830 *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
4831 pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;;
4832 *-*-hpux*)
4833 pic_flag_for_symtable=" $pic_flag" ;;
4834 *)
4835 $my_pic_p && pic_flag_for_symtable=" $pic_flag"
4836 ;;
4837 esac
4838 ;;
4839 esac
4840 symtab_cflags=
4841 for arg in $LTCFLAGS; do
4842 case $arg in
4843 -pie | -fpie | -fPIE) ;;
4844 *) func_append symtab_cflags " $arg" ;;
4845 esac
4846 done
4847
4848 # Now compile the dynamic symbol file.
4849 func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?'
4850
4851 # Clean up the generated files.
4852 func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T" "${nlist}I"'
4853
4854 # Transform the symbol file into the correct name.
4855 symfileobj=$output_objdir/${my_outputname}S.$objext
4856 case $host in
4857 *cygwin* | *mingw* | *cegcc* )
4858 if test -f "$output_objdir/$my_outputname.def"; then
4859 compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
4860 finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
4861 else
4862 compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
4863 finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
4864 fi
4865 ;;
4866 *)
4867 compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
4868 finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
4869 ;;
4870 esac
4871 ;;
4872 *)
4873 func_fatal_error "unknown suffix for '$my_dlsyms'"
4874 ;;
4875 esac
4876 else
4877 # We keep going just in case the user didn't refer to
4878 # lt_preloaded_symbols. The linker will fail if global_symbol_pipe
4879 # really was required.
4880
4881 # Nullify the symbol file.
4882 compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"`
4883 finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"`
4884 fi
4885 }
4886
4887 # func_cygming_gnu_implib_p ARG
4888 # This predicate returns with zero status (TRUE) if
4889 # ARG is a GNU/binutils-style import library. Returns
4890 # with nonzero status (FALSE) otherwise.
4891 func_cygming_gnu_implib_p ()
4892 {
4893 $debug_cmd
4894
4895 func_to_tool_file "$1" func_convert_file_msys_to_w32
4896 func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'`
4897 test -n "$func_cygming_gnu_implib_tmp"
4898 }
4899
4900 # func_cygming_ms_implib_p ARG
4901 # This predicate returns with zero status (TRUE) if
4902 # ARG is an MS-style import library. Returns
4903 # with nonzero status (FALSE) otherwise.
4904 func_cygming_ms_implib_p ()
4905 {
4906 $debug_cmd
4907
4908 func_to_tool_file "$1" func_convert_file_msys_to_w32
4909 func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'`
4910 test -n "$func_cygming_ms_implib_tmp"
4911 }
4912
4913 # func_win32_libid arg
4914 # return the library type of file 'arg'
4915 #
4916 # Need a lot of goo to handle *both* DLLs and import libs
4917 # Has to be a shell function in order to 'eat' the argument
4918 # that is supplied when $file_magic_command is called.
4919 # Despite the name, also deal with 64 bit binaries.
4920 func_win32_libid ()
4921 {
4922 $debug_cmd
4923
4924 win32_libid_type=unknown
4925 win32_fileres=`file -L $1 2>/dev/null`
4926 case $win32_fileres in
4927 *ar\ archive\ import\ library*) # definitely import
4928 win32_libid_type="x86 archive import"
4929 ;;
4930 *ar\ archive*) # could be an import, or static
4931 # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD.
4932 if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
4933 $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then
4934 case $nm_interface in
4935 "MS dumpbin")
4936 if func_cygming_ms_implib_p "$1" ||
4937 func_cygming_gnu_implib_p "$1"
4938 then
4939 win32_nmres=import
4940 else
4941 win32_nmres=
4942 fi
4943 ;;
4944 *)
4945 func_to_tool_file "$1" func_convert_file_msys_to_w32
4946 win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" |
4947 $SED -n -e '
4948 1,100{
4949 / I /{
4950 s|.*|import|
4951 p
4952 q
4953 }
4954 }'`
4955 ;;
4956 esac
4957 case $win32_nmres in
4958 import*) win32_libid_type="x86 archive import";;
4959 *) win32_libid_type="x86 archive static";;
4960 esac
4961 fi
4962 ;;
4963 *DLL*)
4964 win32_libid_type="x86 DLL"
4965 ;;
4966 *executable*) # but shell scripts are "executable" too...
4967 case $win32_fileres in
4968 *MS\ Windows\ PE\ Intel*)
4969 win32_libid_type="x86 DLL"
4970 ;;
4971 esac
4972 ;;
4973 esac
4974 $ECHO "$win32_libid_type"
4975 }
4976
4977 # func_cygming_dll_for_implib ARG
4978 #
4979 # Platform-specific function to extract the
4980 # name of the DLL associated with the specified
4981 # import library ARG.
4982 # Invoked by eval'ing the libtool variable
4983 # $sharedlib_from_linklib_cmd
4984 # Result is available in the variable
4985 # $sharedlib_from_linklib_result
4986 func_cygming_dll_for_implib ()
4987 {
4988 $debug_cmd
4989
4990 sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"`
4991 }
4992
4993 # func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs
4994 #
4995 # The is the core of a fallback implementation of a
4996 # platform-specific function to extract the name of the
4997 # DLL associated with the specified import library LIBNAME.
4998 #
4999 # SECTION_NAME is either .idata$6 or .idata$7, depending
5000 # on the platform and compiler that created the implib.
5001 #
5002 # Echos the name of the DLL associated with the
5003 # specified import library.
5004 func_cygming_dll_for_implib_fallback_core ()
5005 {
5006 $debug_cmd
5007
5008 match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"`
5009 $OBJDUMP -s --section "$1" "$2" 2>/dev/null |
5010 $SED '/^Contents of section '"$match_literal"':/{
5011 # Place marker at beginning of archive member dllname section
5012 s/.*/====MARK====/
5013 p
5014 d
5015 }
5016 # These lines can sometimes be longer than 43 characters, but
5017 # are always uninteresting
5018 /:[ ]*file format pe[i]\{,1\}-/d
5019 /^In archive [^:]*:/d
5020 # Ensure marker is printed
5021 /^====MARK====/p
5022 # Remove all lines with less than 43 characters
5023 /^.\{43\}/!d
5024 # From remaining lines, remove first 43 characters
5025 s/^.\{43\}//' |
5026 $SED -n '
5027 # Join marker and all lines until next marker into a single line
5028 /^====MARK====/ b para
5029 H
5030 $ b para
5031 b
5032 :para
5033 x
5034 s/\n//g
5035 # Remove the marker
5036 s/^====MARK====//
5037 # Remove trailing dots and whitespace
5038 s/[\. \t]*$//
5039 # Print
5040 /./p' |
5041 # we now have a list, one entry per line, of the stringified
5042 # contents of the appropriate section of all members of the
5043 # archive that possess that section. Heuristic: eliminate
5044 # all those that have a first or second character that is
5045 # a '.' (that is, objdump's representation of an unprintable
5046 # character.) This should work for all archives with less than
5047 # 0x302f exports -- but will fail for DLLs whose name actually
5048 # begins with a literal '.' or a single character followed by
5049 # a '.'.
5050 #
5051 # Of those that remain, print the first one.
5052 $SED -e '/^\./d;/^.\./d;q'
5053 }
5054
5055 # func_cygming_dll_for_implib_fallback ARG
5056 # Platform-specific function to extract the
5057 # name of the DLL associated with the specified
5058 # import library ARG.
5059 #
5060 # This fallback implementation is for use when $DLLTOOL
5061 # does not support the --identify-strict option.
5062 # Invoked by eval'ing the libtool variable
5063 # $sharedlib_from_linklib_cmd
5064 # Result is available in the variable
5065 # $sharedlib_from_linklib_result
5066 func_cygming_dll_for_implib_fallback ()
5067 {
5068 $debug_cmd
5069
5070 if func_cygming_gnu_implib_p "$1"; then
5071 # binutils import library
5072 sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"`
5073 elif func_cygming_ms_implib_p "$1"; then
5074 # ms-generated import library
5075 sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"`
5076 else
5077 # unknown
5078 sharedlib_from_linklib_result=
5079 fi
5080 }
5081
5082
5083 # func_extract_an_archive dir oldlib
5084 func_extract_an_archive ()
5085 {
5086 $debug_cmd
5087
5088 f_ex_an_ar_dir=$1; shift
5089 f_ex_an_ar_oldlib=$1
5090 if test yes = "$lock_old_archive_extraction"; then
5091 lockfile=$f_ex_an_ar_oldlib.lock
5092 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
5093 func_echo "Waiting for $lockfile to be removed"
5094 sleep 2
5095 done
5096 fi
5097 func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \
5098 'stat=$?; rm -f "$lockfile"; exit $stat'
5099 if test yes = "$lock_old_archive_extraction"; then
5100 $opt_dry_run || rm -f "$lockfile"
5101 fi
5102 if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
5103 :
5104 else
5105 func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib"
5106 fi
5107 }
5108
5109
5110 # func_extract_archives gentop oldlib ...
5111 func_extract_archives ()
5112 {
5113 $debug_cmd
5114
5115 my_gentop=$1; shift
5116 my_oldlibs=${1+"$@"}
5117 my_oldobjs=
5118 my_xlib=
5119 my_xabs=
5120 my_xdir=
5121
5122 for my_xlib in $my_oldlibs; do
5123 # Extract the objects.
5124 case $my_xlib in
5125 [\\/]* | [A-Za-z]:[\\/]*) my_xabs=$my_xlib ;;
5126 *) my_xabs=`pwd`"/$my_xlib" ;;
5127 esac
5128 func_basename "$my_xlib"
5129 my_xlib=$func_basename_result
5130 my_xlib_u=$my_xlib
5131 while :; do
5132 case " $extracted_archives " in
5133 *" $my_xlib_u "*)
5134 func_arith $extracted_serial + 1
5135 extracted_serial=$func_arith_result
5136 my_xlib_u=lt$extracted_serial-$my_xlib ;;
5137 *) break ;;
5138 esac
5139 done
5140 extracted_archives="$extracted_archives $my_xlib_u"
5141 my_xdir=$my_gentop/$my_xlib_u
5142
5143 func_mkdir_p "$my_xdir"
5144
5145 case $host in
5146 *-darwin*)
5147 func_verbose "Extracting $my_xabs"
5148 # Do not bother doing anything if just a dry run
5149 $opt_dry_run || {
5150 darwin_orig_dir=`pwd`
5151 cd $my_xdir || exit $?
5152 darwin_archive=$my_xabs
5153 darwin_curdir=`pwd`
5154 func_basename "$darwin_archive"
5155 darwin_base_archive=$func_basename_result
5156 darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true`
5157 if test -n "$darwin_arches"; then
5158 darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'`
5159 darwin_arch=
5160 func_verbose "$darwin_base_archive has multiple architectures $darwin_arches"
5161 for darwin_arch in $darwin_arches; do
5162 func_mkdir_p "unfat-$$/$darwin_base_archive-$darwin_arch"
5163 $LIPO -thin $darwin_arch -output "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive" "$darwin_archive"
5164 cd "unfat-$$/$darwin_base_archive-$darwin_arch"
5165 func_extract_an_archive "`pwd`" "$darwin_base_archive"
5166 cd "$darwin_curdir"
5167 $RM "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive"
5168 done # $darwin_arches
5169 ## Okay now we've a bunch of thin objects, gotta fatten them up :)
5170 darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$sed_basename" | sort -u`
5171 darwin_file=
5172 darwin_files=
5173 for darwin_file in $darwin_filelist; do
5174 darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP`
5175 $LIPO -create -output "$darwin_file" $darwin_files
5176 done # $darwin_filelist
5177 $RM -rf unfat-$$
5178 cd "$darwin_orig_dir"
5179 else
5180 cd $darwin_orig_dir
5181 func_extract_an_archive "$my_xdir" "$my_xabs"
5182 fi # $darwin_arches
5183 } # !$opt_dry_run
5184 ;;
5185 *)
5186 func_extract_an_archive "$my_xdir" "$my_xabs"
5187 ;;
5188 esac
5189 my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP`
5190 done
5191
5192 func_extract_archives_result=$my_oldobjs
5193 }
5194
5195
5196 # func_emit_wrapper [arg=no]
5197 #
5198 # Emit a libtool wrapper script on stdout.
5199 # Don't directly open a file because we may want to
5200 # incorporate the script contents within a cygwin/mingw
5201 # wrapper executable. Must ONLY be called from within
5202 # func_mode_link because it depends on a number of variables
5203 # set therein.
5204 #
5205 # ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
5206 # variable will take. If 'yes', then the emitted script
5207 # will assume that the directory where it is stored is
5208 # the $objdir directory. This is a cygwin/mingw-specific
5209 # behavior.
5210 func_emit_wrapper ()
5211 {
5212 func_emit_wrapper_arg1=${1-no}
5213
5214 $ECHO "\
5215 #! $SHELL
5216
5217 # $output - temporary wrapper script for $objdir/$outputname
5218 # Generated by $PROGRAM (GNU $PACKAGE) $VERSION
5219 #
5220 # The $output program cannot be directly executed until all the libtool
5221 # libraries that it depends on are installed.
5222 #
5223 # This wrapper script should never be moved out of the build directory.
5224 # If it is, it will not operate correctly.
5225
5226 # Sed substitution that helps us do robust quoting. It backslashifies
5227 # metacharacters that are still active within double-quoted strings.
5228 sed_quote_subst='$sed_quote_subst'
5229
5230 # Be Bourne compatible
5231 if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
5232 emulate sh
5233 NULLCMD=:
5234 # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
5235 # is contrary to our usage. Disable this feature.
5236 alias -g '\${1+\"\$@\"}'='\"\$@\"'
5237 setopt NO_GLOB_SUBST
5238 else
5239 case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
5240 fi
5241 BIN_SH=xpg4; export BIN_SH # for Tru64
5242 DUALCASE=1; export DUALCASE # for MKS sh
5243
5244 # The HP-UX ksh and POSIX shell print the target directory to stdout
5245 # if CDPATH is set.
5246 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5247
5248 relink_command=\"$relink_command\"
5249
5250 # This environment variable determines our operation mode.
5251 if test \"\$libtool_install_magic\" = \"$magic\"; then
5252 # install mode needs the following variables:
5253 generated_by_libtool_version='$macro_version'
5254 notinst_deplibs='$notinst_deplibs'
5255 else
5256 # When we are sourced in execute mode, \$file and \$ECHO are already set.
5257 if test \"\$libtool_execute_magic\" != \"$magic\"; then
5258 file=\"\$0\""
5259
5260 qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"`
5261 $ECHO "\
5262
5263 # A function that is used when there is no print builtin or printf.
5264 func_fallback_echo ()
5265 {
5266 eval 'cat <<_LTECHO_EOF
5267 \$1
5268 _LTECHO_EOF'
5269 }
5270 ECHO=\"$qECHO\"
5271 fi
5272
5273 # Very basic option parsing. These options are (a) specific to
5274 # the libtool wrapper, (b) are identical between the wrapper
5275 # /script/ and the wrapper /executable/ that is used only on
5276 # windows platforms, and (c) all begin with the string "--lt-"
5277 # (application programs are unlikely to have options that match
5278 # this pattern).
5279 #
5280 # There are only two supported options: --lt-debug and
5281 # --lt-dump-script. There is, deliberately, no --lt-help.
5282 #
5283 # The first argument to this parsing function should be the
5284 # script's $0 value, followed by "$@".
5285 lt_option_debug=
5286 func_parse_lt_options ()
5287 {
5288 lt_script_arg0=\$0
5289 shift
5290 for lt_opt
5291 do
5292 case \"\$lt_opt\" in
5293 --lt-debug) lt_option_debug=1 ;;
5294 --lt-dump-script)
5295 lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\`
5296 test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=.
5297 lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\`
5298 cat \"\$lt_dump_D/\$lt_dump_F\"
5299 exit 0
5300 ;;
5301 --lt-*)
5302 \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2
5303 exit 1
5304 ;;
5305 esac
5306 done
5307
5308 # Print the debug banner immediately:
5309 if test -n \"\$lt_option_debug\"; then
5310 echo \"$outputname:$output:\$LINENO: libtool wrapper (GNU $PACKAGE) $VERSION\" 1>&2
5311 fi
5312 }
5313
5314 # Used when --lt-debug. Prints its arguments to stdout
5315 # (redirection is the responsibility of the caller)
5316 func_lt_dump_args ()
5317 {
5318 lt_dump_args_N=1;
5319 for lt_arg
5320 do
5321 \$ECHO \"$outputname:$output:\$LINENO: newargv[\$lt_dump_args_N]: \$lt_arg\"
5322 lt_dump_args_N=\`expr \$lt_dump_args_N + 1\`
5323 done
5324 }
5325
5326 # Core function for launching the target application
5327 func_exec_program_core ()
5328 {
5329 "
5330 case $host in
5331 # Backslashes separate directories on plain windows
5332 *-*-mingw | *-*-os2* | *-cegcc*)
5333 $ECHO "\
5334 if test -n \"\$lt_option_debug\"; then
5335 \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir\\\\\$program\" 1>&2
5336 func_lt_dump_args \${1+\"\$@\"} 1>&2
5337 fi
5338 exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
5339 "
5340 ;;
5341
5342 *)
5343 $ECHO "\
5344 if test -n \"\$lt_option_debug\"; then
5345 \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir/\$program\" 1>&2
5346 func_lt_dump_args \${1+\"\$@\"} 1>&2
5347 fi
5348 exec \"\$progdir/\$program\" \${1+\"\$@\"}
5349 "
5350 ;;
5351 esac
5352 $ECHO "\
5353 \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
5354 exit 1
5355 }
5356
5357 # A function to encapsulate launching the target application
5358 # Strips options in the --lt-* namespace from \$@ and
5359 # launches target application with the remaining arguments.
5360 func_exec_program ()
5361 {
5362 case \" \$* \" in
5363 *\\ --lt-*)
5364 for lt_wr_arg
5365 do
5366 case \$lt_wr_arg in
5367 --lt-*) ;;
5368 *) set x \"\$@\" \"\$lt_wr_arg\"; shift;;
5369 esac
5370 shift
5371 done ;;
5372 esac
5373 func_exec_program_core \${1+\"\$@\"}
5374 }
5375
5376 # Parse options
5377 func_parse_lt_options \"\$0\" \${1+\"\$@\"}
5378
5379 # Find the directory that this script lives in.
5380 thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\`
5381 test \"x\$thisdir\" = \"x\$file\" && thisdir=.
5382
5383 # Follow symbolic links until we get to the real thisdir.
5384 file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\`
5385 while test -n \"\$file\"; do
5386 destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\`
5387
5388 # If there was a directory component, then change thisdir.
5389 if test \"x\$destdir\" != \"x\$file\"; then
5390 case \"\$destdir\" in
5391 [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
5392 *) thisdir=\"\$thisdir/\$destdir\" ;;
5393 esac
5394 fi
5395
5396 file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\`
5397 file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\`
5398 done
5399
5400 # Usually 'no', except on cygwin/mingw when embedded into
5401 # the cwrapper.
5402 WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1
5403 if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then
5404 # special case for '.'
5405 if test \"\$thisdir\" = \".\"; then
5406 thisdir=\`pwd\`
5407 fi
5408 # remove .libs from thisdir
5409 case \"\$thisdir\" in
5410 *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;;
5411 $objdir ) thisdir=. ;;
5412 esac
5413 fi
5414
5415 # Try to get the absolute directory name.
5416 absdir=\`cd \"\$thisdir\" && pwd\`
5417 test -n \"\$absdir\" && thisdir=\"\$absdir\"
5418 "
5419
5420 if test yes = "$fast_install"; then
5421 $ECHO "\
5422 program=lt-'$outputname'$exeext
5423 progdir=\"\$thisdir/$objdir\"
5424
5425 if test ! -f \"\$progdir/\$program\" ||
5426 { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | $SED 1q\`; \\
5427 test \"X\$file\" != \"X\$progdir/\$program\"; }; then
5428
5429 file=\"\$\$-\$program\"
5430
5431 if test ! -d \"\$progdir\"; then
5432 $MKDIR \"\$progdir\"
5433 else
5434 $RM \"\$progdir/\$file\"
5435 fi"
5436
5437 $ECHO "\
5438
5439 # relink executable if necessary
5440 if test -n \"\$relink_command\"; then
5441 if relink_command_output=\`eval \$relink_command 2>&1\`; then :
5442 else
5443 \$ECHO \"\$relink_command_output\" >&2
5444 $RM \"\$progdir/\$file\"
5445 exit 1
5446 fi
5447 fi
5448
5449 $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
5450 { $RM \"\$progdir/\$program\";
5451 $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; }
5452 $RM \"\$progdir/\$file\"
5453 fi"
5454 else
5455 $ECHO "\
5456 program='$outputname'
5457 progdir=\"\$thisdir/$objdir\"
5458 "
5459 fi
5460
5461 $ECHO "\
5462
5463 if test -f \"\$progdir/\$program\"; then"
5464
5465 # fixup the dll searchpath if we need to.
5466 #
5467 # Fix the DLL searchpath if we need to. Do this before prepending
5468 # to shlibpath, because on Windows, both are PATH and uninstalled
5469 # libraries must come first.
5470 if test -n "$dllsearchpath"; then
5471 $ECHO "\
5472 # Add the dll search path components to the executable PATH
5473 PATH=$dllsearchpath:\$PATH
5474 "
5475 fi
5476
5477 # Export our shlibpath_var if we have one.
5478 if test yes = "$shlibpath_overrides_runpath" && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
5479 $ECHO "\
5480 # Add our own library path to $shlibpath_var
5481 $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
5482
5483 # Some systems cannot cope with colon-terminated $shlibpath_var
5484 # The second colon is a workaround for a bug in BeOS R4 sed
5485 $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\`
5486
5487 export $shlibpath_var
5488 "
5489 fi
5490
5491 $ECHO "\
5492 if test \"\$libtool_execute_magic\" != \"$magic\"; then
5493 # Run the actual program with our arguments.
5494 func_exec_program \${1+\"\$@\"}
5495 fi
5496 else
5497 # The program doesn't exist.
5498 \$ECHO \"\$0: error: '\$progdir/\$program' does not exist\" 1>&2
5499 \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
5500 \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
5501 exit 1
5502 fi
5503 fi\
5504 "
5505 }
5506
5507
5508 # func_emit_cwrapperexe_src
5509 # emit the source code for a wrapper executable on stdout
5510 # Must ONLY be called from within func_mode_link because
5511 # it depends on a number of variable set therein.
5512 func_emit_cwrapperexe_src ()
5513 {
5514 cat <<EOF
5515
5516 /* $cwrappersource - temporary wrapper executable for $objdir/$outputname
5517 Generated by $PROGRAM (GNU $PACKAGE) $VERSION
5518
5519 The $output program cannot be directly executed until all the libtool
5520 libraries that it depends on are installed.
5521
5522 This wrapper executable should never be moved out of the build directory.
5523 If it is, it will not operate correctly.
5524 */
5525 EOF
5526 cat <<"EOF"
5527 #ifdef _MSC_VER
5528 # define _CRT_SECURE_NO_DEPRECATE 1
5529 #endif
5530 #include <stdio.h>
5531 #include <stdlib.h>
5532 #ifdef _MSC_VER
5533 # include <direct.h>
5534 # include <process.h>
5535 # include <io.h>
5536 #else
5537 # include <unistd.h>
5538 # include <stdint.h>
5539 # ifdef __CYGWIN__
5540 # include <io.h>
5541 # endif
5542 #endif
5543 #include <malloc.h>
5544 #include <stdarg.h>
5545 #include <assert.h>
5546 #include <string.h>
5547 #include <ctype.h>
5548 #include <errno.h>
5549 #include <fcntl.h>
5550 #include <sys/stat.h>
5551
5552 #define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0)
5553
5554 /* declarations of non-ANSI functions */
5555 #if defined __MINGW32__
5556 # ifdef __STRICT_ANSI__
5557 int _putenv (const char *);
5558 # endif
5559 #elif defined __CYGWIN__
5560 # ifdef __STRICT_ANSI__
5561 char *realpath (const char *, char *);
5562 int putenv (char *);
5563 int setenv (const char *, const char *, int);
5564 # endif
5565 /* #elif defined other_platform || defined ... */
5566 #endif
5567
5568 /* portability defines, excluding path handling macros */
5569 #if defined _MSC_VER
5570 # define setmode _setmode
5571 # define stat _stat
5572 # define chmod _chmod
5573 # define getcwd _getcwd
5574 # define putenv _putenv
5575 # define S_IXUSR _S_IEXEC
5576 #elif defined __MINGW32__
5577 # define setmode _setmode
5578 # define stat _stat
5579 # define chmod _chmod
5580 # define getcwd _getcwd
5581 # define putenv _putenv
5582 #elif defined __CYGWIN__
5583 # define HAVE_SETENV
5584 # define FOPEN_WB "wb"
5585 /* #elif defined other platforms ... */
5586 #endif
5587
5588 #if defined PATH_MAX
5589 # define LT_PATHMAX PATH_MAX
5590 #elif defined MAXPATHLEN
5591 # define LT_PATHMAX MAXPATHLEN
5592 #else
5593 # define LT_PATHMAX 1024
5594 #endif
5595
5596 #ifndef S_IXOTH
5597 # define S_IXOTH 0
5598 #endif
5599 #ifndef S_IXGRP
5600 # define S_IXGRP 0
5601 #endif
5602
5603 /* path handling portability macros */
5604 #ifndef DIR_SEPARATOR
5605 # define DIR_SEPARATOR '/'
5606 # define PATH_SEPARATOR ':'
5607 #endif
5608
5609 #if defined _WIN32 || defined __MSDOS__ || defined __DJGPP__ || \
5610 defined __OS2__
5611 # define HAVE_DOS_BASED_FILE_SYSTEM
5612 # define FOPEN_WB "wb"
5613 # ifndef DIR_SEPARATOR_2
5614 # define DIR_SEPARATOR_2 '\\'
5615 # endif
5616 # ifndef PATH_SEPARATOR_2
5617 # define PATH_SEPARATOR_2 ';'
5618 # endif
5619 #endif
5620
5621 #ifndef DIR_SEPARATOR_2
5622 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
5623 #else /* DIR_SEPARATOR_2 */
5624 # define IS_DIR_SEPARATOR(ch) \
5625 (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
5626 #endif /* DIR_SEPARATOR_2 */
5627
5628 #ifndef PATH_SEPARATOR_2
5629 # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
5630 #else /* PATH_SEPARATOR_2 */
5631 # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
5632 #endif /* PATH_SEPARATOR_2 */
5633
5634 #ifndef FOPEN_WB
5635 # define FOPEN_WB "w"
5636 #endif
5637 #ifndef _O_BINARY
5638 # define _O_BINARY 0
5639 #endif
5640
5641 #define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
5642 #define XFREE(stale) do { \
5643 if (stale) { free (stale); stale = 0; } \
5644 } while (0)
5645
5646 #if defined LT_DEBUGWRAPPER
5647 static int lt_debug = 1;
5648 #else
5649 static int lt_debug = 0;
5650 #endif
5651
5652 const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */
5653
5654 void *xmalloc (size_t num);
5655 char *xstrdup (const char *string);
5656 const char *base_name (const char *name);
5657 char *find_executable (const char *wrapper);
5658 char *chase_symlinks (const char *pathspec);
5659 int make_executable (const char *path);
5660 int check_executable (const char *path);
5661 char *strendzap (char *str, const char *pat);
5662 void lt_debugprintf (const char *file, int line, const char *fmt, ...);
5663 void lt_fatal (const char *file, int line, const char *message, ...);
5664 static const char *nonnull (const char *s);
5665 static const char *nonempty (const char *s);
5666 void lt_setenv (const char *name, const char *value);
5667 char *lt_extend_str (const char *orig_value, const char *add, int to_end);
5668 void lt_update_exe_path (const char *name, const char *value);
5669 void lt_update_lib_path (const char *name, const char *value);
5670 char **prepare_spawn (char **argv);
5671 void lt_dump_script (FILE *f);
5672 EOF
5673
5674 cat <<EOF
5675 #if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5676 # define externally_visible volatile
5677 #else
5678 # define externally_visible __attribute__((externally_visible)) volatile
5679 #endif
5680 externally_visible const char * MAGIC_EXE = "$magic_exe";
5681 const char * LIB_PATH_VARNAME = "$shlibpath_var";
5682 EOF
5683
5684 if test yes = "$shlibpath_overrides_runpath" && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
5685 func_to_host_path "$temp_rpath"
5686 cat <<EOF
5687 const char * LIB_PATH_VALUE = "$func_to_host_path_result";
5688 EOF
5689 else
5690 cat <<"EOF"
5691 const char * LIB_PATH_VALUE = "";
5692 EOF
5693 fi
5694
5695 if test -n "$dllsearchpath"; then
5696 func_to_host_path "$dllsearchpath:"
5697 cat <<EOF
5698 const char * EXE_PATH_VARNAME = "PATH";
5699 const char * EXE_PATH_VALUE = "$func_to_host_path_result";
5700 EOF
5701 else
5702 cat <<"EOF"
5703 const char * EXE_PATH_VARNAME = "";
5704 const char * EXE_PATH_VALUE = "";
5705 EOF
5706 fi
5707
5708 if test yes = "$fast_install"; then
5709 cat <<EOF
5710 const char * TARGET_PROGRAM_NAME = "lt-$outputname"; /* hopefully, no .exe */
5711 EOF
5712 else
5713 cat <<EOF
5714 const char * TARGET_PROGRAM_NAME = "$outputname"; /* hopefully, no .exe */
5715 EOF
5716 fi
5717
5718
5719 cat <<"EOF"
5720
5721 #define LTWRAPPER_OPTION_PREFIX "--lt-"
5722
5723 static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX;
5724 static const char *dumpscript_opt = LTWRAPPER_OPTION_PREFIX "dump-script";
5725 static const char *debug_opt = LTWRAPPER_OPTION_PREFIX "debug";
5726
5727 int
5728 main (int argc, char *argv[])
5729 {
5730 char **newargz;
5731 int newargc;
5732 char *tmp_pathspec;
5733 char *actual_cwrapper_path;
5734 char *actual_cwrapper_name;
5735 char *target_name;
5736 char *lt_argv_zero;
5737 int rval = 127;
5738
5739 int i;
5740
5741 program_name = (char *) xstrdup (base_name (argv[0]));
5742 newargz = XMALLOC (char *, (size_t) argc + 1);
5743
5744 /* very simple arg parsing; don't want to rely on getopt
5745 * also, copy all non cwrapper options to newargz, except
5746 * argz[0], which is handled differently
5747 */
5748 newargc=0;
5749 for (i = 1; i < argc; i++)
5750 {
5751 if (STREQ (argv[i], dumpscript_opt))
5752 {
5753 EOF
5754 case $host in
5755 *mingw* | *cygwin* )
5756 # make stdout use "unix" line endings
5757 echo " setmode(1,_O_BINARY);"
5758 ;;
5759 esac
5760
5761 cat <<"EOF"
5762 lt_dump_script (stdout);
5763 return 0;
5764 }
5765 if (STREQ (argv[i], debug_opt))
5766 {
5767 lt_debug = 1;
5768 continue;
5769 }
5770 if (STREQ (argv[i], ltwrapper_option_prefix))
5771 {
5772 /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
5773 namespace, but it is not one of the ones we know about and
5774 have already dealt with, above (inluding dump-script), then
5775 report an error. Otherwise, targets might begin to believe
5776 they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
5777 namespace. The first time any user complains about this, we'll
5778 need to make LTWRAPPER_OPTION_PREFIX a configure-time option
5779 or a configure.ac-settable value.
5780 */
5781 lt_fatal (__FILE__, __LINE__,
5782 "unrecognized %s option: '%s'",
5783 ltwrapper_option_prefix, argv[i]);
5784 }
5785 /* otherwise ... */
5786 newargz[++newargc] = xstrdup (argv[i]);
5787 }
5788 newargz[++newargc] = NULL;
5789
5790 EOF
5791 cat <<EOF
5792 /* The GNU banner must be the first non-error debug message */
5793 lt_debugprintf (__FILE__, __LINE__, "libtool wrapper (GNU $PACKAGE) $VERSION\n");
5794 EOF
5795 cat <<"EOF"
5796 lt_debugprintf (__FILE__, __LINE__, "(main) argv[0]: %s\n", argv[0]);
5797 lt_debugprintf (__FILE__, __LINE__, "(main) program_name: %s\n", program_name);
5798
5799 tmp_pathspec = find_executable (argv[0]);
5800 if (tmp_pathspec == NULL)
5801 lt_fatal (__FILE__, __LINE__, "couldn't find %s", argv[0]);
5802 lt_debugprintf (__FILE__, __LINE__,
5803 "(main) found exe (before symlink chase) at: %s\n",
5804 tmp_pathspec);
5805
5806 actual_cwrapper_path = chase_symlinks (tmp_pathspec);
5807 lt_debugprintf (__FILE__, __LINE__,
5808 "(main) found exe (after symlink chase) at: %s\n",
5809 actual_cwrapper_path);
5810 XFREE (tmp_pathspec);
5811
5812 actual_cwrapper_name = xstrdup (base_name (actual_cwrapper_path));
5813 strendzap (actual_cwrapper_path, actual_cwrapper_name);
5814
5815 /* wrapper name transforms */
5816 strendzap (actual_cwrapper_name, ".exe");
5817 tmp_pathspec = lt_extend_str (actual_cwrapper_name, ".exe", 1);
5818 XFREE (actual_cwrapper_name);
5819 actual_cwrapper_name = tmp_pathspec;
5820 tmp_pathspec = 0;
5821
5822 /* target_name transforms -- use actual target program name; might have lt- prefix */
5823 target_name = xstrdup (base_name (TARGET_PROGRAM_NAME));
5824 strendzap (target_name, ".exe");
5825 tmp_pathspec = lt_extend_str (target_name, ".exe", 1);
5826 XFREE (target_name);
5827 target_name = tmp_pathspec;
5828 tmp_pathspec = 0;
5829
5830 lt_debugprintf (__FILE__, __LINE__,
5831 "(main) libtool target name: %s\n",
5832 target_name);
5833 EOF
5834
5835 cat <<EOF
5836 newargz[0] =
5837 XMALLOC (char, (strlen (actual_cwrapper_path) +
5838 strlen ("$objdir") + 1 + strlen (actual_cwrapper_name) + 1));
5839 strcpy (newargz[0], actual_cwrapper_path);
5840 strcat (newargz[0], "$objdir");
5841 strcat (newargz[0], "/");
5842 EOF
5843
5844 cat <<"EOF"
5845 /* stop here, and copy so we don't have to do this twice */
5846 tmp_pathspec = xstrdup (newargz[0]);
5847
5848 /* do NOT want the lt- prefix here, so use actual_cwrapper_name */
5849 strcat (newargz[0], actual_cwrapper_name);
5850
5851 /* DO want the lt- prefix here if it exists, so use target_name */
5852 lt_argv_zero = lt_extend_str (tmp_pathspec, target_name, 1);
5853 XFREE (tmp_pathspec);
5854 tmp_pathspec = NULL;
5855 EOF
5856
5857 case $host_os in
5858 mingw*)
5859 cat <<"EOF"
5860 {
5861 char* p;
5862 while ((p = strchr (newargz[0], '\\')) != NULL)
5863 {
5864 *p = '/';
5865 }
5866 while ((p = strchr (lt_argv_zero, '\\')) != NULL)
5867 {
5868 *p = '/';
5869 }
5870 }
5871 EOF
5872 ;;
5873 esac
5874
5875 cat <<"EOF"
5876 XFREE (target_name);
5877 XFREE (actual_cwrapper_path);
5878 XFREE (actual_cwrapper_name);
5879
5880 lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */
5881 lt_setenv ("DUALCASE", "1"); /* for MSK sh */
5882 /* Update the DLL searchpath. EXE_PATH_VALUE ($dllsearchpath) must
5883 be prepended before (that is, appear after) LIB_PATH_VALUE ($temp_rpath)
5884 because on Windows, both *_VARNAMEs are PATH but uninstalled
5885 libraries must come first. */
5886 lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE);
5887 lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
5888
5889 lt_debugprintf (__FILE__, __LINE__, "(main) lt_argv_zero: %s\n",
5890 nonnull (lt_argv_zero));
5891 for (i = 0; i < newargc; i++)
5892 {
5893 lt_debugprintf (__FILE__, __LINE__, "(main) newargz[%d]: %s\n",
5894 i, nonnull (newargz[i]));
5895 }
5896
5897 EOF
5898
5899 case $host_os in
5900 mingw*)
5901 cat <<"EOF"
5902 /* execv doesn't actually work on mingw as expected on unix */
5903 newargz = prepare_spawn (newargz);
5904 rval = (int) _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
5905 if (rval == -1)
5906 {
5907 /* failed to start process */
5908 lt_debugprintf (__FILE__, __LINE__,
5909 "(main) failed to launch target \"%s\": %s\n",
5910 lt_argv_zero, nonnull (strerror (errno)));
5911 return 127;
5912 }
5913 return rval;
5914 EOF
5915 ;;
5916 *)
5917 cat <<"EOF"
5918 execv (lt_argv_zero, newargz);
5919 return rval; /* =127, but avoids unused variable warning */
5920 EOF
5921 ;;
5922 esac
5923
5924 cat <<"EOF"
5925 }
5926
5927 void *
5928 xmalloc (size_t num)
5929 {
5930 void *p = (void *) malloc (num);
5931 if (!p)
5932 lt_fatal (__FILE__, __LINE__, "memory exhausted");
5933
5934 return p;
5935 }
5936
5937 char *
5938 xstrdup (const char *string)
5939 {
5940 return string ? strcpy ((char *) xmalloc (strlen (string) + 1),
5941 string) : NULL;
5942 }
5943
5944 const char *
5945 base_name (const char *name)
5946 {
5947 const char *base;
5948
5949 #if defined HAVE_DOS_BASED_FILE_SYSTEM
5950 /* Skip over the disk name in MSDOS pathnames. */
5951 if (isalpha ((unsigned char) name[0]) && name[1] == ':')
5952 name += 2;
5953 #endif
5954
5955 for (base = name; *name; name++)
5956 if (IS_DIR_SEPARATOR (*name))
5957 base = name + 1;
5958 return base;
5959 }
5960
5961 int
5962 check_executable (const char *path)
5963 {
5964 struct stat st;
5965
5966 lt_debugprintf (__FILE__, __LINE__, "(check_executable): %s\n",
5967 nonempty (path));
5968 if ((!path) || (!*path))
5969 return 0;
5970
5971 if ((stat (path, &st) >= 0)
5972 && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH)))
5973 return 1;
5974 else
5975 return 0;
5976 }
5977
5978 int
5979 make_executable (const char *path)
5980 {
5981 int rval = 0;
5982 struct stat st;
5983
5984 lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n",
5985 nonempty (path));
5986 if ((!path) || (!*path))
5987 return 0;
5988
5989 if (stat (path, &st) >= 0)
5990 {
5991 rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR);
5992 }
5993 return rval;
5994 }
5995
5996 /* Searches for the full path of the wrapper. Returns
5997 newly allocated full path name if found, NULL otherwise
5998 Does not chase symlinks, even on platforms that support them.
5999 */
6000 char *
6001 find_executable (const char *wrapper)
6002 {
6003 int has_slash = 0;
6004 const char *p;
6005 const char *p_next;
6006 /* static buffer for getcwd */
6007 char tmp[LT_PATHMAX + 1];
6008 size_t tmp_len;
6009 char *concat_name;
6010
6011 lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n",
6012 nonempty (wrapper));
6013
6014 if ((wrapper == NULL) || (*wrapper == '\0'))
6015 return NULL;
6016
6017 /* Absolute path? */
6018 #if defined HAVE_DOS_BASED_FILE_SYSTEM
6019 if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':')
6020 {
6021 concat_name = xstrdup (wrapper);
6022 if (check_executable (concat_name))
6023 return concat_name;
6024 XFREE (concat_name);
6025 }
6026 else
6027 {
6028 #endif
6029 if (IS_DIR_SEPARATOR (wrapper[0]))
6030 {
6031 concat_name = xstrdup (wrapper);
6032 if (check_executable (concat_name))
6033 return concat_name;
6034 XFREE (concat_name);
6035 }
6036 #if defined HAVE_DOS_BASED_FILE_SYSTEM
6037 }
6038 #endif
6039
6040 for (p = wrapper; *p; p++)
6041 if (*p == '/')
6042 {
6043 has_slash = 1;
6044 break;
6045 }
6046 if (!has_slash)
6047 {
6048 /* no slashes; search PATH */
6049 const char *path = getenv ("PATH");
6050 if (path != NULL)
6051 {
6052 for (p = path; *p; p = p_next)
6053 {
6054 const char *q;
6055 size_t p_len;
6056 for (q = p; *q; q++)
6057 if (IS_PATH_SEPARATOR (*q))
6058 break;
6059 p_len = (size_t) (q - p);
6060 p_next = (*q == '\0' ? q : q + 1);
6061 if (p_len == 0)
6062 {
6063 /* empty path: current directory */
6064 if (getcwd (tmp, LT_PATHMAX) == NULL)
6065 lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
6066 nonnull (strerror (errno)));
6067 tmp_len = strlen (tmp);
6068 concat_name =
6069 XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
6070 memcpy (concat_name, tmp, tmp_len);
6071 concat_name[tmp_len] = '/';
6072 strcpy (concat_name + tmp_len + 1, wrapper);
6073 }
6074 else
6075 {
6076 concat_name =
6077 XMALLOC (char, p_len + 1 + strlen (wrapper) + 1);
6078 memcpy (concat_name, p, p_len);
6079 concat_name[p_len] = '/';
6080 strcpy (concat_name + p_len + 1, wrapper);
6081 }
6082 if (check_executable (concat_name))
6083 return concat_name;
6084 XFREE (concat_name);
6085 }
6086 }
6087 /* not found in PATH; assume curdir */
6088 }
6089 /* Relative path | not found in path: prepend cwd */
6090 if (getcwd (tmp, LT_PATHMAX) == NULL)
6091 lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
6092 nonnull (strerror (errno)));
6093 tmp_len = strlen (tmp);
6094 concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
6095 memcpy (concat_name, tmp, tmp_len);
6096 concat_name[tmp_len] = '/';
6097 strcpy (concat_name + tmp_len + 1, wrapper);
6098
6099 if (check_executable (concat_name))
6100 return concat_name;
6101 XFREE (concat_name);
6102 return NULL;
6103 }
6104
6105 char *
6106 chase_symlinks (const char *pathspec)
6107 {
6108 #ifndef S_ISLNK
6109 return xstrdup (pathspec);
6110 #else
6111 char buf[LT_PATHMAX];
6112 struct stat s;
6113 char *tmp_pathspec = xstrdup (pathspec);
6114 char *p;
6115 int has_symlinks = 0;
6116 while (strlen (tmp_pathspec) && !has_symlinks)
6117 {
6118 lt_debugprintf (__FILE__, __LINE__,
6119 "checking path component for symlinks: %s\n",
6120 tmp_pathspec);
6121 if (lstat (tmp_pathspec, &s) == 0)
6122 {
6123 if (S_ISLNK (s.st_mode) != 0)
6124 {
6125 has_symlinks = 1;
6126 break;
6127 }
6128
6129 /* search backwards for last DIR_SEPARATOR */
6130 p = tmp_pathspec + strlen (tmp_pathspec) - 1;
6131 while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))
6132 p--;
6133 if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))
6134 {
6135 /* no more DIR_SEPARATORS left */
6136 break;
6137 }
6138 *p = '\0';
6139 }
6140 else
6141 {
6142 lt_fatal (__FILE__, __LINE__,
6143 "error accessing file \"%s\": %s",
6144 tmp_pathspec, nonnull (strerror (errno)));
6145 }
6146 }
6147 XFREE (tmp_pathspec);
6148
6149 if (!has_symlinks)
6150 {
6151 return xstrdup (pathspec);
6152 }
6153
6154 tmp_pathspec = realpath (pathspec, buf);
6155 if (tmp_pathspec == 0)
6156 {
6157 lt_fatal (__FILE__, __LINE__,
6158 "could not follow symlinks for %s", pathspec);
6159 }
6160 return xstrdup (tmp_pathspec);
6161 #endif
6162 }
6163
6164 char *
6165 strendzap (char *str, const char *pat)
6166 {
6167 size_t len, patlen;
6168
6169 assert (str != NULL);
6170 assert (pat != NULL);
6171
6172 len = strlen (str);
6173 patlen = strlen (pat);
6174
6175 if (patlen <= len)
6176 {
6177 str += len - patlen;
6178 if (STREQ (str, pat))
6179 *str = '\0';
6180 }
6181 return str;
6182 }
6183
6184 void
6185 lt_debugprintf (const char *file, int line, const char *fmt, ...)
6186 {
6187 va_list args;
6188 if (lt_debug)
6189 {
6190 (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line);
6191 va_start (args, fmt);
6192 (void) vfprintf (stderr, fmt, args);
6193 va_end (args);
6194 }
6195 }
6196
6197 static void
6198 lt_error_core (int exit_status, const char *file,
6199 int line, const char *mode,
6200 const char *message, va_list ap)
6201 {
6202 fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode);
6203 vfprintf (stderr, message, ap);
6204 fprintf (stderr, ".\n");
6205
6206 if (exit_status >= 0)
6207 exit (exit_status);
6208 }
6209
6210 void
6211 lt_fatal (const char *file, int line, const char *message, ...)
6212 {
6213 va_list ap;
6214 va_start (ap, message);
6215 lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap);
6216 va_end (ap);
6217 }
6218
6219 static const char *
6220 nonnull (const char *s)
6221 {
6222 return s ? s : "(null)";
6223 }
6224
6225 static const char *
6226 nonempty (const char *s)
6227 {
6228 return (s && !*s) ? "(empty)" : nonnull (s);
6229 }
6230
6231 void
6232 lt_setenv (const char *name, const char *value)
6233 {
6234 lt_debugprintf (__FILE__, __LINE__,
6235 "(lt_setenv) setting '%s' to '%s'\n",
6236 nonnull (name), nonnull (value));
6237 {
6238 #ifdef HAVE_SETENV
6239 /* always make a copy, for consistency with !HAVE_SETENV */
6240 char *str = xstrdup (value);
6241 setenv (name, str, 1);
6242 #else
6243 size_t len = strlen (name) + 1 + strlen (value) + 1;
6244 char *str = XMALLOC (char, len);
6245 sprintf (str, "%s=%s", name, value);
6246 if (putenv (str) != EXIT_SUCCESS)
6247 {
6248 XFREE (str);
6249 }
6250 #endif
6251 }
6252 }
6253
6254 char *
6255 lt_extend_str (const char *orig_value, const char *add, int to_end)
6256 {
6257 char *new_value;
6258 if (orig_value && *orig_value)
6259 {
6260 size_t orig_value_len = strlen (orig_value);
6261 size_t add_len = strlen (add);
6262 new_value = XMALLOC (char, add_len + orig_value_len + 1);
6263 if (to_end)
6264 {
6265 strcpy (new_value, orig_value);
6266 strcpy (new_value + orig_value_len, add);
6267 }
6268 else
6269 {
6270 strcpy (new_value, add);
6271 strcpy (new_value + add_len, orig_value);
6272 }
6273 }
6274 else
6275 {
6276 new_value = xstrdup (add);
6277 }
6278 return new_value;
6279 }
6280
6281 void
6282 lt_update_exe_path (const char *name, const char *value)
6283 {
6284 lt_debugprintf (__FILE__, __LINE__,
6285 "(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
6286 nonnull (name), nonnull (value));
6287
6288 if (name && *name && value && *value)
6289 {
6290 char *new_value = lt_extend_str (getenv (name), value, 0);
6291 /* some systems can't cope with a ':'-terminated path #' */
6292 size_t len = strlen (new_value);
6293 while ((len > 0) && IS_PATH_SEPARATOR (new_value[len-1]))
6294 {
6295 new_value[--len] = '\0';
6296 }
6297 lt_setenv (name, new_value);
6298 XFREE (new_value);
6299 }
6300 }
6301
6302 void
6303 lt_update_lib_path (const char *name, const char *value)
6304 {
6305 lt_debugprintf (__FILE__, __LINE__,
6306 "(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
6307 nonnull (name), nonnull (value));
6308
6309 if (name && *name && value && *value)
6310 {
6311 char *new_value = lt_extend_str (getenv (name), value, 0);
6312 lt_setenv (name, new_value);
6313 XFREE (new_value);
6314 }
6315 }
6316
6317 EOF
6318 case $host_os in
6319 mingw*)
6320 cat <<"EOF"
6321
6322 /* Prepares an argument vector before calling spawn().
6323 Note that spawn() does not by itself call the command interpreter
6324 (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") :
6325 ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
6326 GetVersionEx(&v);
6327 v.dwPlatformId == VER_PLATFORM_WIN32_NT;
6328 }) ? "cmd.exe" : "command.com").
6329 Instead it simply concatenates the arguments, separated by ' ', and calls
6330 CreateProcess(). We must quote the arguments since Win32 CreateProcess()
6331 interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a
6332 special way:
6333 - Space and tab are interpreted as delimiters. They are not treated as
6334 delimiters if they are surrounded by double quotes: "...".
6335 - Unescaped double quotes are removed from the input. Their only effect is
6336 that within double quotes, space and tab are treated like normal
6337 characters.
6338 - Backslashes not followed by double quotes are not special.
6339 - But 2*n+1 backslashes followed by a double quote become
6340 n backslashes followed by a double quote (n >= 0):
6341 \" -> "
6342 \\\" -> \"
6343 \\\\\" -> \\"
6344 */
6345 #define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
6346 #define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
6347 char **
6348 prepare_spawn (char **argv)
6349 {
6350 size_t argc;
6351 char **new_argv;
6352 size_t i;
6353
6354 /* Count number of arguments. */
6355 for (argc = 0; argv[argc] != NULL; argc++)
6356 ;
6357
6358 /* Allocate new argument vector. */
6359 new_argv = XMALLOC (char *, argc + 1);
6360
6361 /* Put quoted arguments into the new argument vector. */
6362 for (i = 0; i < argc; i++)
6363 {
6364 const char *string = argv[i];
6365
6366 if (string[0] == '\0')
6367 new_argv[i] = xstrdup ("\"\"");
6368 else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL)
6369 {
6370 int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL);
6371 size_t length;
6372 unsigned int backslashes;
6373 const char *s;
6374 char *quoted_string;
6375 char *p;
6376
6377 length = 0;
6378 backslashes = 0;
6379 if (quote_around)
6380 length++;
6381 for (s = string; *s != '\0'; s++)
6382 {
6383 char c = *s;
6384 if (c == '"')
6385 length += backslashes + 1;
6386 length++;
6387 if (c == '\\')
6388 backslashes++;
6389 else
6390 backslashes = 0;
6391 }
6392 if (quote_around)
6393 length += backslashes + 1;
6394
6395 quoted_string = XMALLOC (char, length + 1);
6396
6397 p = quoted_string;
6398 backslashes = 0;
6399 if (quote_around)
6400 *p++ = '"';
6401 for (s = string; *s != '\0'; s++)
6402 {
6403 char c = *s;
6404 if (c == '"')
6405 {
6406 unsigned int j;
6407 for (j = backslashes + 1; j > 0; j--)
6408 *p++ = '\\';
6409 }
6410 *p++ = c;
6411 if (c == '\\')
6412 backslashes++;
6413 else
6414 backslashes = 0;
6415 }
6416 if (quote_around)
6417 {
6418 unsigned int j;
6419 for (j = backslashes; j > 0; j--)
6420 *p++ = '\\';
6421 *p++ = '"';
6422 }
6423 *p = '\0';
6424
6425 new_argv[i] = quoted_string;
6426 }
6427 else
6428 new_argv[i] = (char *) string;
6429 }
6430 new_argv[argc] = NULL;
6431
6432 return new_argv;
6433 }
6434 EOF
6435 ;;
6436 esac
6437
6438 cat <<"EOF"
6439 void lt_dump_script (FILE* f)
6440 {
6441 EOF
6442 func_emit_wrapper yes |
6443 $SED -n -e '
6444 s/^\(.\{79\}\)\(..*\)/\1\
6445 \2/
6446 h
6447 s/\([\\"]\)/\\\1/g
6448 s/$/\\n/
6449 s/\([^\n]*\).*/ fputs ("\1", f);/p
6450 g
6451 D'
6452 cat <<"EOF"
6453 }
6454 EOF
6455 }
6456 # end: func_emit_cwrapperexe_src
6457
6458 # func_win32_import_lib_p ARG
6459 # True if ARG is an import lib, as indicated by $file_magic_cmd
6460 func_win32_import_lib_p ()
6461 {
6462 $debug_cmd
6463
6464 case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in
6465 *import*) : ;;
6466 *) false ;;
6467 esac
6468 }
6469
6470 # func_suncc_cstd_abi
6471 # !!ONLY CALL THIS FOR SUN CC AFTER $compile_command IS FULLY EXPANDED!!
6472 # Several compiler flags select an ABI that is incompatible with the
6473 # Cstd library. Avoid specifying it if any are in CXXFLAGS.
6474 func_suncc_cstd_abi ()
6475 {
6476 $debug_cmd
6477
6478 case " $compile_command " in
6479 *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*" -library=stlport4 "*)
6480 suncc_use_cstd_abi=no
6481 ;;
6482 *)
6483 suncc_use_cstd_abi=yes
6484 ;;
6485 esac
6486 }
6487
6488 # func_mode_link arg...
6489 func_mode_link ()
6490 {
6491 $debug_cmd
6492
6493 case $host in
6494 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
6495 # It is impossible to link a dll without this setting, and
6496 # we shouldn't force the makefile maintainer to figure out
6497 # what system we are compiling for in order to pass an extra
6498 # flag for every libtool invocation.
6499 # allow_undefined=no
6500
6501 # FIXME: Unfortunately, there are problems with the above when trying
6502 # to make a dll that has undefined symbols, in which case not
6503 # even a static library is built. For now, we need to specify
6504 # -no-undefined on the libtool link line when we can be certain
6505 # that all symbols are satisfied, otherwise we get a static library.
6506 allow_undefined=yes
6507 ;;
6508 *)
6509 allow_undefined=yes
6510 ;;
6511 esac
6512 libtool_args=$nonopt
6513 base_compile="$nonopt $@"
6514 compile_command=$nonopt
6515 finalize_command=$nonopt
6516
6517 compile_rpath=
6518 finalize_rpath=
6519 compile_shlibpath=
6520 finalize_shlibpath=
6521 convenience=
6522 old_convenience=
6523 deplibs=
6524 old_deplibs=
6525 compiler_flags=
6526 linker_flags=
6527 dllsearchpath=
6528 lib_search_path=`pwd`
6529 inst_prefix_dir=
6530 new_inherited_linker_flags=
6531
6532 avoid_version=no
6533 bindir=
6534 dlfiles=
6535 dlprefiles=
6536 dlself=no
6537 export_dynamic=no
6538 export_symbols=
6539 export_symbols_regex=
6540 generated=
6541 libobjs=
6542 ltlibs=
6543 module=no
6544 no_install=no
6545 objs=
6546 os2dllname=
6547 non_pic_objects=
6548 precious_files_regex=
6549 prefer_static_libs=no
6550 preload=false
6551 prev=
6552 prevarg=
6553 release=
6554 rpath=
6555 xrpath=
6556 perm_rpath=
6557 temp_rpath=
6558 thread_safe=no
6559 vinfo=
6560 vinfo_number=no
6561 weak_libs=
6562 single_module=$wl-single_module
6563 func_infer_tag $base_compile
6564
6565 # We need to know -static, to get the right output filenames.
6566 for arg
6567 do
6568 case $arg in
6569 -shared)
6570 test yes != "$build_libtool_libs" \
6571 && func_fatal_configuration "cannot build a shared library"
6572 build_old_libs=no
6573 break
6574 ;;
6575 -all-static | -static | -static-libtool-libs)
6576 case $arg in
6577 -all-static)
6578 if test yes = "$build_libtool_libs" && test -z "$link_static_flag"; then
6579 func_warning "complete static linking is impossible in this configuration"
6580 fi
6581 if test -n "$link_static_flag"; then
6582 dlopen_self=$dlopen_self_static
6583 fi
6584 prefer_static_libs=yes
6585 ;;
6586 -static)
6587 if test -z "$pic_flag" && test -n "$link_static_flag"; then
6588 dlopen_self=$dlopen_self_static
6589 fi
6590 prefer_static_libs=built
6591 ;;
6592 -static-libtool-libs)
6593 if test -z "$pic_flag" && test -n "$link_static_flag"; then
6594 dlopen_self=$dlopen_self_static
6595 fi
6596 prefer_static_libs=yes
6597 ;;
6598 esac
6599 build_libtool_libs=no
6600 build_old_libs=yes
6601 break
6602 ;;
6603 esac
6604 done
6605
6606 # See if our shared archives depend on static archives.
6607 test -n "$old_archive_from_new_cmds" && build_old_libs=yes
6608
6609 # Go through the arguments, transforming them on the way.
6610 while test "$#" -gt 0; do
6611 arg=$1
6612 shift
6613 func_quote_for_eval "$arg"
6614 qarg=$func_quote_for_eval_unquoted_result
6615 func_append libtool_args " $func_quote_for_eval_result"
6616
6617 # If the previous option needs an argument, assign it.
6618 if test -n "$prev"; then
6619 case $prev in
6620 output)
6621 func_append compile_command " @OUTPUT@"
6622 func_append finalize_command " @OUTPUT@"
6623 ;;
6624 esac
6625
6626 case $prev in
6627 bindir)
6628 bindir=$arg
6629 prev=
6630 continue
6631 ;;
6632 dlfiles|dlprefiles)
6633 $preload || {
6634 # Add the symbol object into the linking commands.
6635 func_append compile_command " @SYMFILE@"
6636 func_append finalize_command " @SYMFILE@"
6637 preload=:
6638 }
6639 case $arg in
6640 *.la | *.lo) ;; # We handle these cases below.
6641 force)
6642 if test no = "$dlself"; then
6643 dlself=needless
6644 export_dynamic=yes
6645 fi
6646 prev=
6647 continue
6648 ;;
6649 self)
6650 if test dlprefiles = "$prev"; then
6651 dlself=yes
6652 elif test dlfiles = "$prev" && test yes != "$dlopen_self"; then
6653 dlself=yes
6654 else
6655 dlself=needless
6656 export_dynamic=yes
6657 fi
6658 prev=
6659 continue
6660 ;;
6661 *)
6662 if test dlfiles = "$prev"; then
6663 func_append dlfiles " $arg"
6664 else
6665 func_append dlprefiles " $arg"
6666 fi
6667 prev=
6668 continue
6669 ;;
6670 esac
6671 ;;
6672 expsyms)
6673 export_symbols=$arg
6674 test -f "$arg" \
6675 || func_fatal_error "symbol file '$arg' does not exist"
6676 prev=
6677 continue
6678 ;;
6679 expsyms_regex)
6680 export_symbols_regex=$arg
6681 prev=
6682 continue
6683 ;;
6684 framework)
6685 case $host in
6686 *-*-darwin*)
6687 case "$deplibs " in
6688 *" $qarg.ltframework "*) ;;
6689 *) func_append deplibs " $qarg.ltframework" # this is fixed later
6690 ;;
6691 esac
6692 ;;
6693 esac
6694 prev=
6695 continue
6696 ;;
6697 inst_prefix)
6698 inst_prefix_dir=$arg
6699 prev=
6700 continue
6701 ;;
6702 mllvm)
6703 # Clang does not use LLVM to link, so we can simply discard any
6704 # '-mllvm $arg' options when doing the link step.
6705 prev=
6706 continue
6707 ;;
6708 objectlist)
6709 if test -f "$arg"; then
6710 save_arg=$arg
6711 moreargs=
6712 for fil in `cat "$save_arg"`
6713 do
6714 # func_append moreargs " $fil"
6715 arg=$fil
6716 # A libtool-controlled object.
6717
6718 # Check to see that this really is a libtool object.
6719 if func_lalib_unsafe_p "$arg"; then
6720 pic_object=
6721 non_pic_object=
6722
6723 # Read the .lo file
6724 func_source "$arg"
6725
6726 if test -z "$pic_object" ||
6727 test -z "$non_pic_object" ||
6728 test none = "$pic_object" &&
6729 test none = "$non_pic_object"; then
6730 func_fatal_error "cannot find name of object for '$arg'"
6731 fi
6732
6733 # Extract subdirectory from the argument.
6734 func_dirname "$arg" "/" ""
6735 xdir=$func_dirname_result
6736
6737 if test none != "$pic_object"; then
6738 # Prepend the subdirectory the object is found in.
6739 pic_object=$xdir$pic_object
6740
6741 if test dlfiles = "$prev"; then
6742 if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then
6743 func_append dlfiles " $pic_object"
6744 prev=
6745 continue
6746 else
6747 # If libtool objects are unsupported, then we need to preload.
6748 prev=dlprefiles
6749 fi
6750 fi
6751
6752 # CHECK ME: I think I busted this. -Ossama
6753 if test dlprefiles = "$prev"; then
6754 # Preload the old-style object.
6755 func_append dlprefiles " $pic_object"
6756 prev=
6757 fi
6758
6759 # A PIC object.
6760 func_append libobjs " $pic_object"
6761 arg=$pic_object
6762 fi
6763
6764 # Non-PIC object.
6765 if test none != "$non_pic_object"; then
6766 # Prepend the subdirectory the object is found in.
6767 non_pic_object=$xdir$non_pic_object
6768
6769 # A standard non-PIC object
6770 func_append non_pic_objects " $non_pic_object"
6771 if test -z "$pic_object" || test none = "$pic_object"; then
6772 arg=$non_pic_object
6773 fi
6774 else
6775 # If the PIC object exists, use it instead.
6776 # $xdir was prepended to $pic_object above.
6777 non_pic_object=$pic_object
6778 func_append non_pic_objects " $non_pic_object"
6779 fi
6780 else
6781 # Only an error if not doing a dry-run.
6782 if $opt_dry_run; then
6783 # Extract subdirectory from the argument.
6784 func_dirname "$arg" "/" ""
6785 xdir=$func_dirname_result
6786
6787 func_lo2o "$arg"
6788 pic_object=$xdir$objdir/$func_lo2o_result
6789 non_pic_object=$xdir$func_lo2o_result
6790 func_append libobjs " $pic_object"
6791 func_append non_pic_objects " $non_pic_object"
6792 else
6793 func_fatal_error "'$arg' is not a valid libtool object"
6794 fi
6795 fi
6796 done
6797 else
6798 func_fatal_error "link input file '$arg' does not exist"
6799 fi
6800 arg=$save_arg
6801 prev=
6802 continue
6803 ;;
6804 os2dllname)
6805 os2dllname=$arg
6806 prev=
6807 continue
6808 ;;
6809 precious_regex)
6810 precious_files_regex=$arg
6811 prev=
6812 continue
6813 ;;
6814 release)
6815 release=-$arg
6816 prev=
6817 continue
6818 ;;
6819 rpath | xrpath)
6820 # We need an absolute path.
6821 case $arg in
6822 [\\/]* | [A-Za-z]:[\\/]*) ;;
6823 *)
6824 func_fatal_error "only absolute run-paths are allowed"
6825 ;;
6826 esac
6827 if test rpath = "$prev"; then
6828 case "$rpath " in
6829 *" $arg "*) ;;
6830 *) func_append rpath " $arg" ;;
6831 esac
6832 else
6833 case "$xrpath " in
6834 *" $arg "*) ;;
6835 *) func_append xrpath " $arg" ;;
6836 esac
6837 fi
6838 prev=
6839 continue
6840 ;;
6841 shrext)
6842 shrext_cmds=$arg
6843 prev=
6844 continue
6845 ;;
6846 weak)
6847 func_append weak_libs " $arg"
6848 prev=
6849 continue
6850 ;;
6851 xcclinker)
6852 func_append linker_flags " $qarg"
6853 func_append compiler_flags " $qarg"
6854 prev=
6855 func_append compile_command " $qarg"
6856 func_append finalize_command " $qarg"
6857 continue
6858 ;;
6859 xcompiler)
6860 func_append compiler_flags " $qarg"
6861 prev=
6862 func_append compile_command " $qarg"
6863 func_append finalize_command " $qarg"
6864 continue
6865 ;;
6866 xlinker)
6867 func_append linker_flags " $qarg"
6868 func_append compiler_flags " $wl$qarg"
6869 prev=
6870 func_append compile_command " $wl$qarg"
6871 func_append finalize_command " $wl$qarg"
6872 continue
6873 ;;
6874 *)
6875 eval "$prev=\"\$arg\""
6876 prev=
6877 continue
6878 ;;
6879 esac
6880 fi # test -n "$prev"
6881
6882 prevarg=$arg
6883
6884 case $arg in
6885 -all-static)
6886 if test -n "$link_static_flag"; then
6887 # See comment for -static flag below, for more details.
6888 func_append compile_command " $link_static_flag"
6889 func_append finalize_command " $link_static_flag"
6890 fi
6891 continue
6892 ;;
6893
6894 -allow-undefined)
6895 # FIXME: remove this flag sometime in the future.
6896 func_fatal_error "'-allow-undefined' must not be used because it is the default"
6897 ;;
6898
6899 -avoid-version)
6900 avoid_version=yes
6901 continue
6902 ;;
6903
6904 -bindir)
6905 prev=bindir
6906 continue
6907 ;;
6908
6909 -dlopen)
6910 prev=dlfiles
6911 continue
6912 ;;
6913
6914 -dlpreopen)
6915 prev=dlprefiles
6916 continue
6917 ;;
6918
6919 -export-dynamic)
6920 export_dynamic=yes
6921 continue
6922 ;;
6923
6924 -export-symbols | -export-symbols-regex)
6925 if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
6926 func_fatal_error "more than one -exported-symbols argument is not allowed"
6927 fi
6928 if test X-export-symbols = "X$arg"; then
6929 prev=expsyms
6930 else
6931 prev=expsyms_regex
6932 fi
6933 continue
6934 ;;
6935
6936 -framework)
6937 prev=framework
6938 continue
6939 ;;
6940
6941 -inst-prefix-dir)
6942 prev=inst_prefix
6943 continue
6944 ;;
6945
6946 # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
6947 # so, if we see these flags be careful not to treat them like -L
6948 -L[A-Z][A-Z]*:*)
6949 case $with_gcc/$host in
6950 no/*-*-irix* | /*-*-irix*)
6951 func_append compile_command " $arg"
6952 func_append finalize_command " $arg"
6953 ;;
6954 esac
6955 continue
6956 ;;
6957
6958 -L*)
6959 func_stripname "-L" '' "$arg"
6960 if test -z "$func_stripname_result"; then
6961 if test "$#" -gt 0; then
6962 func_fatal_error "require no space between '-L' and '$1'"
6963 else
6964 func_fatal_error "need path for '-L' option"
6965 fi
6966 fi
6967 func_resolve_sysroot "$func_stripname_result"
6968 dir=$func_resolve_sysroot_result
6969 # We need an absolute path.
6970 case $dir in
6971 [\\/]* | [A-Za-z]:[\\/]*) ;;
6972 *)
6973 absdir=`cd "$dir" && pwd`
6974 test -z "$absdir" && \
6975 func_fatal_error "cannot determine absolute directory name of '$dir'"
6976 dir=$absdir
6977 ;;
6978 esac
6979 case "$deplibs " in
6980 *" -L$dir "* | *" $arg "*)
6981 # Will only happen for absolute or sysroot arguments
6982 ;;
6983 *)
6984 # Preserve sysroot, but never include relative directories
6985 case $dir in
6986 [\\/]* | [A-Za-z]:[\\/]* | =*) func_append deplibs " $arg" ;;
6987 *) func_append deplibs " -L$dir" ;;
6988 esac
6989 func_append lib_search_path " $dir"
6990 ;;
6991 esac
6992 case $host in
6993 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
6994 testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'`
6995 case :$dllsearchpath: in
6996 *":$dir:"*) ;;
6997 ::) dllsearchpath=$dir;;
6998 *) func_append dllsearchpath ":$dir";;
6999 esac
7000 case :$dllsearchpath: in
7001 *":$testbindir:"*) ;;
7002 ::) dllsearchpath=$testbindir;;
7003 *) func_append dllsearchpath ":$testbindir";;
7004 esac
7005 ;;
7006 esac
7007 continue
7008 ;;
7009
7010 -l*)
7011 if test X-lc = "X$arg" || test X-lm = "X$arg"; then
7012 case $host in
7013 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*)
7014 # These systems don't actually have a C or math library (as such)
7015 continue
7016 ;;
7017 *-*-os2*)
7018 # These systems don't actually have a C library (as such)
7019 test X-lc = "X$arg" && continue
7020 ;;
7021 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*)
7022 # Do not include libc due to us having libc/libc_r.
7023 test X-lc = "X$arg" && continue
7024 ;;
7025 *-*-rhapsody* | *-*-darwin1.[012])
7026 # Rhapsody C and math libraries are in the System framework
7027 func_append deplibs " System.ltframework"
7028 continue
7029 ;;
7030 *-*-sco3.2v5* | *-*-sco5v6*)
7031 # Causes problems with __ctype
7032 test X-lc = "X$arg" && continue
7033 ;;
7034 *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
7035 # Compiler inserts libc in the correct place for threads to work
7036 test X-lc = "X$arg" && continue
7037 ;;
7038 esac
7039 elif test X-lc_r = "X$arg"; then
7040 case $host in
7041 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*)
7042 # Do not include libc_r directly, use -pthread flag.
7043 continue
7044 ;;
7045 esac
7046 fi
7047 func_append deplibs " $arg"
7048 continue
7049 ;;
7050
7051 -mllvm)
7052 prev=mllvm
7053 continue
7054 ;;
7055
7056 -module)
7057 module=yes
7058 continue
7059 ;;
7060
7061 # Tru64 UNIX uses -model [arg] to determine the layout of C++
7062 # classes, name mangling, and exception handling.
7063 # Darwin uses the -arch flag to determine output architecture.
7064 -model|-arch|-isysroot|--sysroot)
7065 func_append compiler_flags " $arg"
7066 func_append compile_command " $arg"
7067 func_append finalize_command " $arg"
7068 prev=xcompiler
7069 continue
7070 ;;
7071
7072 -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
7073 |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
7074 func_append compiler_flags " $arg"
7075 func_append compile_command " $arg"
7076 func_append finalize_command " $arg"
7077 case "$new_inherited_linker_flags " in
7078 *" $arg "*) ;;
7079 * ) func_append new_inherited_linker_flags " $arg" ;;
7080 esac
7081 continue
7082 ;;
7083
7084 -multi_module)
7085 single_module=$wl-multi_module
7086 continue
7087 ;;
7088
7089 -no-fast-install)
7090 fast_install=no
7091 continue
7092 ;;
7093
7094 -no-install)
7095 case $host in
7096 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*)
7097 # The PATH hackery in wrapper scripts is required on Windows
7098 # and Darwin in order for the loader to find any dlls it needs.
7099 func_warning "'-no-install' is ignored for $host"
7100 func_warning "assuming '-no-fast-install' instead"
7101 fast_install=no
7102 ;;
7103 *) no_install=yes ;;
7104 esac
7105 continue
7106 ;;
7107
7108 -no-undefined)
7109 allow_undefined=no
7110 continue
7111 ;;
7112
7113 -objectlist)
7114 prev=objectlist
7115 continue
7116 ;;
7117
7118 -os2dllname)
7119 prev=os2dllname
7120 continue
7121 ;;
7122
7123 -o) prev=output ;;
7124
7125 -precious-files-regex)
7126 prev=precious_regex
7127 continue
7128 ;;
7129
7130 -release)
7131 prev=release
7132 continue
7133 ;;
7134
7135 -rpath)
7136 prev=rpath
7137 continue
7138 ;;
7139
7140 -R)
7141 prev=xrpath
7142 continue
7143 ;;
7144
7145 -R*)
7146 func_stripname '-R' '' "$arg"
7147 dir=$func_stripname_result
7148 # We need an absolute path.
7149 case $dir in
7150 [\\/]* | [A-Za-z]:[\\/]*) ;;
7151 =*)
7152 func_stripname '=' '' "$dir"
7153 dir=$lt_sysroot$func_stripname_result
7154 ;;
7155 *)
7156 func_fatal_error "only absolute run-paths are allowed"
7157 ;;
7158 esac
7159 case "$xrpath " in
7160 *" $dir "*) ;;
7161 *) func_append xrpath " $dir" ;;
7162 esac
7163 continue
7164 ;;
7165
7166 -shared)
7167 # The effects of -shared are defined in a previous loop.
7168 continue
7169 ;;
7170
7171 -shrext)
7172 prev=shrext
7173 continue
7174 ;;
7175
7176 -static | -static-libtool-libs)
7177 # The effects of -static are defined in a previous loop.
7178 # We used to do the same as -all-static on platforms that
7179 # didn't have a PIC flag, but the assumption that the effects
7180 # would be equivalent was wrong. It would break on at least
7181 # Digital Unix and AIX.
7182 continue
7183 ;;
7184
7185 -thread-safe)
7186 thread_safe=yes
7187 continue
7188 ;;
7189
7190 -version-info)
7191 prev=vinfo
7192 continue
7193 ;;
7194
7195 -version-number)
7196 prev=vinfo
7197 vinfo_number=yes
7198 continue
7199 ;;
7200
7201 -weak)
7202 prev=weak
7203 continue
7204 ;;
7205
7206 -Wc,*)
7207 func_stripname '-Wc,' '' "$arg"
7208 args=$func_stripname_result
7209 arg=
7210 save_ifs=$IFS; IFS=,
7211 for flag in $args; do
7212 IFS=$save_ifs
7213 func_quote_for_eval "$flag"
7214 func_append arg " $func_quote_for_eval_result"
7215 func_append compiler_flags " $func_quote_for_eval_result"
7216 done
7217 IFS=$save_ifs
7218 func_stripname ' ' '' "$arg"
7219 arg=$func_stripname_result
7220 ;;
7221
7222 -Wl,*)
7223 func_stripname '-Wl,' '' "$arg"
7224 args=$func_stripname_result
7225 arg=
7226 save_ifs=$IFS; IFS=,
7227 for flag in $args; do
7228 IFS=$save_ifs
7229 func_quote_for_eval "$flag"
7230 func_append arg " $wl$func_quote_for_eval_result"
7231 func_append compiler_flags " $wl$func_quote_for_eval_result"
7232 func_append linker_flags " $func_quote_for_eval_result"
7233 done
7234 IFS=$save_ifs
7235 func_stripname ' ' '' "$arg"
7236 arg=$func_stripname_result
7237 ;;
7238
7239 -Xcompiler)
7240 prev=xcompiler
7241 continue
7242 ;;
7243
7244 -Xlinker)
7245 prev=xlinker
7246 continue
7247 ;;
7248
7249 -XCClinker)
7250 prev=xcclinker
7251 continue
7252 ;;
7253
7254 # -msg_* for osf cc
7255 -msg_*)
7256 func_quote_for_eval "$arg"
7257 arg=$func_quote_for_eval_result
7258 ;;
7259
7260 # Flags to be passed through unchanged, with rationale:
7261 # -64, -mips[0-9] enable 64-bit mode for the SGI compiler
7262 # -r[0-9][0-9]* specify processor for the SGI compiler
7263 # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler
7264 # +DA*, +DD* enable 64-bit mode for the HP compiler
7265 # -q* compiler args for the IBM compiler
7266 # -m*, -t[45]*, -txscale* architecture-specific flags for GCC
7267 # -F/path path to uninstalled frameworks, gcc on darwin
7268 # -p, -pg, --coverage, -fprofile-* profiling flags for GCC
7269 # -fstack-protector* stack protector flags for GCC
7270 # @file GCC response files
7271 # -tp=* Portland pgcc target processor selection
7272 # --sysroot=* for sysroot support
7273 # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
7274 # -specs=* GCC specs files
7275 # -stdlib=* select c++ std lib with clang
7276 -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
7277 -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
7278 -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \
7279 -specs=*)
7280 func_quote_for_eval "$arg"
7281 arg=$func_quote_for_eval_result
7282 func_append compile_command " $arg"
7283 func_append finalize_command " $arg"
7284 func_append compiler_flags " $arg"
7285 continue
7286 ;;
7287
7288 -Z*)
7289 if test os2 = "`expr $host : '.*\(os2\)'`"; then
7290 # OS/2 uses -Zxxx to specify OS/2-specific options
7291 compiler_flags="$compiler_flags $arg"
7292 func_append compile_command " $arg"
7293 func_append finalize_command " $arg"
7294 case $arg in
7295 -Zlinker | -Zstack)
7296 prev=xcompiler
7297 ;;
7298 esac
7299 continue
7300 else
7301 # Otherwise treat like 'Some other compiler flag' below
7302 func_quote_for_eval "$arg"
7303 arg=$func_quote_for_eval_result
7304 fi
7305 ;;
7306
7307 # Some other compiler flag.
7308 -* | +*)
7309 func_quote_for_eval "$arg"
7310 arg=$func_quote_for_eval_result
7311 ;;
7312
7313 *.$objext)
7314 # A standard object.
7315 func_append objs " $arg"
7316 ;;
7317
7318 *.lo)
7319 # A libtool-controlled object.
7320
7321 # Check to see that this really is a libtool object.
7322 if func_lalib_unsafe_p "$arg"; then
7323 pic_object=
7324 non_pic_object=
7325
7326 # Read the .lo file
7327 func_source "$arg"
7328
7329 if test -z "$pic_object" ||
7330 test -z "$non_pic_object" ||
7331 test none = "$pic_object" &&
7332 test none = "$non_pic_object"; then
7333 func_fatal_error "cannot find name of object for '$arg'"
7334 fi
7335
7336 # Extract subdirectory from the argument.
7337 func_dirname "$arg" "/" ""
7338 xdir=$func_dirname_result
7339
7340 test none = "$pic_object" || {
7341 # Prepend the subdirectory the object is found in.
7342 pic_object=$xdir$pic_object
7343
7344 if test dlfiles = "$prev"; then
7345 if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then
7346 func_append dlfiles " $pic_object"
7347 prev=
7348 continue
7349 else
7350 # If libtool objects are unsupported, then we need to preload.
7351 prev=dlprefiles
7352 fi
7353 fi
7354
7355 # CHECK ME: I think I busted this. -Ossama
7356 if test dlprefiles = "$prev"; then
7357 # Preload the old-style object.
7358 func_append dlprefiles " $pic_object"
7359 prev=
7360 fi
7361
7362 # A PIC object.
7363 func_append libobjs " $pic_object"
7364 arg=$pic_object
7365 }
7366
7367 # Non-PIC object.
7368 if test none != "$non_pic_object"; then
7369 # Prepend the subdirectory the object is found in.
7370 non_pic_object=$xdir$non_pic_object
7371
7372 # A standard non-PIC object
7373 func_append non_pic_objects " $non_pic_object"
7374 if test -z "$pic_object" || test none = "$pic_object"; then
7375 arg=$non_pic_object
7376 fi
7377 else
7378 # If the PIC object exists, use it instead.
7379 # $xdir was prepended to $pic_object above.
7380 non_pic_object=$pic_object
7381 func_append non_pic_objects " $non_pic_object"
7382 fi
7383 else
7384 # Only an error if not doing a dry-run.
7385 if $opt_dry_run; then
7386 # Extract subdirectory from the argument.
7387 func_dirname "$arg" "/" ""
7388 xdir=$func_dirname_result
7389
7390 func_lo2o "$arg"
7391 pic_object=$xdir$objdir/$func_lo2o_result
7392 non_pic_object=$xdir$func_lo2o_result
7393 func_append libobjs " $pic_object"
7394 func_append non_pic_objects " $non_pic_object"
7395 else
7396 func_fatal_error "'$arg' is not a valid libtool object"
7397 fi
7398 fi
7399 ;;
7400
7401 *.$libext)
7402 # An archive.
7403 func_append deplibs " $arg"
7404 func_append old_deplibs " $arg"
7405 continue
7406 ;;
7407
7408 *.la)
7409 # A libtool-controlled library.
7410
7411 func_resolve_sysroot "$arg"
7412 if test dlfiles = "$prev"; then
7413 # This library was specified with -dlopen.
7414 func_append dlfiles " $func_resolve_sysroot_result"
7415 prev=
7416 elif test dlprefiles = "$prev"; then
7417 # The library was specified with -dlpreopen.
7418 func_append dlprefiles " $func_resolve_sysroot_result"
7419 prev=
7420 else
7421 func_append deplibs " $func_resolve_sysroot_result"
7422 fi
7423 continue
7424 ;;
7425
7426 # Some other compiler argument.
7427 *)
7428 # Unknown arguments in both finalize_command and compile_command need
7429 # to be aesthetically quoted because they are evaled later.
7430 func_quote_for_eval "$arg"
7431 arg=$func_quote_for_eval_result
7432 ;;
7433 esac # arg
7434
7435 # Now actually substitute the argument into the commands.
7436 if test -n "$arg"; then
7437 func_append compile_command " $arg"
7438 func_append finalize_command " $arg"
7439 fi
7440 done # argument parsing loop
7441
7442 test -n "$prev" && \
7443 func_fatal_help "the '$prevarg' option requires an argument"
7444
7445 if test yes = "$export_dynamic" && test -n "$export_dynamic_flag_spec"; then
7446 eval arg=\"$export_dynamic_flag_spec\"
7447 func_append compile_command " $arg"
7448 func_append finalize_command " $arg"
7449 fi
7450
7451 oldlibs=
7452 # calculate the name of the file, without its directory
7453 func_basename "$output"
7454 outputname=$func_basename_result
7455 libobjs_save=$libobjs
7456
7457 if test -n "$shlibpath_var"; then
7458 # get the directories listed in $shlibpath_var
7459 eval shlib_search_path=\`\$ECHO \"\$$shlibpath_var\" \| \$SED \'s/:/ /g\'\`
7460 else
7461 shlib_search_path=
7462 fi
7463 eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
7464 eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
7465
7466 # Definition is injected by LT_CONFIG during libtool generation.
7467 func_munge_path_list sys_lib_dlsearch_path "$LT_SYS_LIBRARY_PATH"
7468
7469 func_dirname "$output" "/" ""
7470 output_objdir=$func_dirname_result$objdir
7471 func_to_tool_file "$output_objdir/"
7472 tool_output_objdir=$func_to_tool_file_result
7473 # Create the object directory.
7474 func_mkdir_p "$output_objdir"
7475
7476 # Determine the type of output
7477 case $output in
7478 "")
7479 func_fatal_help "you must specify an output file"
7480 ;;
7481 *.$libext) linkmode=oldlib ;;
7482 *.lo | *.$objext) linkmode=obj ;;
7483 *.la) linkmode=lib ;;
7484 *) linkmode=prog ;; # Anything else should be a program.
7485 esac
7486
7487 specialdeplibs=
7488
7489 libs=
7490 # Find all interdependent deplibs by searching for libraries
7491 # that are linked more than once (e.g. -la -lb -la)
7492 for deplib in $deplibs; do
7493 if $opt_preserve_dup_deps; then
7494 case "$libs " in
7495 *" $deplib "*) func_append specialdeplibs " $deplib" ;;
7496 esac
7497 fi
7498 func_append libs " $deplib"
7499 done
7500
7501 if test lib = "$linkmode"; then
7502 libs="$predeps $libs $compiler_lib_search_path $postdeps"
7503
7504 # Compute libraries that are listed more than once in $predeps
7505 # $postdeps and mark them as special (i.e., whose duplicates are
7506 # not to be eliminated).
7507 pre_post_deps=
7508 if $opt_duplicate_compiler_generated_deps; then
7509 for pre_post_dep in $predeps $postdeps; do
7510 case "$pre_post_deps " in
7511 *" $pre_post_dep "*) func_append specialdeplibs " $pre_post_deps" ;;
7512 esac
7513 func_append pre_post_deps " $pre_post_dep"
7514 done
7515 fi
7516 pre_post_deps=
7517 fi
7518
7519 deplibs=
7520 newdependency_libs=
7521 newlib_search_path=
7522 need_relink=no # whether we're linking any uninstalled libtool libraries
7523 notinst_deplibs= # not-installed libtool libraries
7524 notinst_path= # paths that contain not-installed libtool libraries
7525
7526 case $linkmode in
7527 lib)
7528 passes="conv dlpreopen link"
7529 for file in $dlfiles $dlprefiles; do
7530 case $file in
7531 *.la) ;;
7532 *)
7533 func_fatal_help "libraries can '-dlopen' only libtool libraries: $file"
7534 ;;
7535 esac
7536 done
7537 ;;
7538 prog)
7539 compile_deplibs=
7540 finalize_deplibs=
7541 alldeplibs=false
7542 newdlfiles=
7543 newdlprefiles=
7544 passes="conv scan dlopen dlpreopen link"
7545 ;;
7546 *) passes="conv"
7547 ;;
7548 esac
7549
7550 for pass in $passes; do
7551 # The preopen pass in lib mode reverses $deplibs; put it back here
7552 # so that -L comes before libs that need it for instance...
7553 if test lib,link = "$linkmode,$pass"; then
7554 ## FIXME: Find the place where the list is rebuilt in the wrong
7555 ## order, and fix it there properly
7556 tmp_deplibs=
7557 for deplib in $deplibs; do
7558 tmp_deplibs="$deplib $tmp_deplibs"
7559 done
7560 deplibs=$tmp_deplibs
7561 fi
7562
7563 if test lib,link = "$linkmode,$pass" ||
7564 test prog,scan = "$linkmode,$pass"; then
7565 libs=$deplibs
7566 deplibs=
7567 fi
7568 if test prog = "$linkmode"; then
7569 case $pass in
7570 dlopen) libs=$dlfiles ;;
7571 dlpreopen) libs=$dlprefiles ;;
7572 link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
7573 esac
7574 fi
7575 if test lib,dlpreopen = "$linkmode,$pass"; then
7576 # Collect and forward deplibs of preopened libtool libs
7577 for lib in $dlprefiles; do
7578 # Ignore non-libtool-libs
7579 dependency_libs=
7580 func_resolve_sysroot "$lib"
7581 case $lib in
7582 *.la) func_source "$func_resolve_sysroot_result" ;;
7583 esac
7584
7585 # Collect preopened libtool deplibs, except any this library
7586 # has declared as weak libs
7587 for deplib in $dependency_libs; do
7588 func_basename "$deplib"
7589 deplib_base=$func_basename_result
7590 case " $weak_libs " in
7591 *" $deplib_base "*) ;;
7592 *) func_append deplibs " $deplib" ;;
7593 esac
7594 done
7595 done
7596 libs=$dlprefiles
7597 fi
7598 if test dlopen = "$pass"; then
7599 # Collect dlpreopened libraries
7600 save_deplibs=$deplibs
7601 deplibs=
7602 fi
7603
7604 for deplib in $libs; do
7605 lib=
7606 found=false
7607 case $deplib in
7608 -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
7609 |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
7610 if test prog,link = "$linkmode,$pass"; then
7611 compile_deplibs="$deplib $compile_deplibs"
7612 finalize_deplibs="$deplib $finalize_deplibs"
7613 else
7614 func_append compiler_flags " $deplib"
7615 if test lib = "$linkmode"; then
7616 case "$new_inherited_linker_flags " in
7617 *" $deplib "*) ;;
7618 * ) func_append new_inherited_linker_flags " $deplib" ;;
7619 esac
7620 fi
7621 fi
7622 continue
7623 ;;
7624 -l*)
7625 if test lib != "$linkmode" && test prog != "$linkmode"; then
7626 func_warning "'-l' is ignored for archives/objects"
7627 continue
7628 fi
7629 func_stripname '-l' '' "$deplib"
7630 name=$func_stripname_result
7631 if test lib = "$linkmode"; then
7632 searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path"
7633 else
7634 searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path"
7635 fi
7636 for searchdir in $searchdirs; do
7637 for search_ext in .la $std_shrext .so .a; do
7638 # Search the libtool library
7639 lib=$searchdir/lib$name$search_ext
7640 if test -f "$lib"; then
7641 if test .la = "$search_ext"; then
7642 found=:
7643 else
7644 found=false
7645 fi
7646 break 2
7647 fi
7648 done
7649 done
7650 if $found; then
7651 # deplib is a libtool library
7652 # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
7653 # We need to do some special things here, and not later.
7654 if test yes = "$allow_libtool_libs_with_static_runtimes"; then
7655 case " $predeps $postdeps " in
7656 *" $deplib "*)
7657 if func_lalib_p "$lib"; then
7658 library_names=
7659 old_library=
7660 func_source "$lib"
7661 for l in $old_library $library_names; do
7662 ll=$l
7663 done
7664 if test "X$ll" = "X$old_library"; then # only static version available
7665 found=false
7666 func_dirname "$lib" "" "."
7667 ladir=$func_dirname_result
7668 lib=$ladir/$old_library
7669 if test prog,link = "$linkmode,$pass"; then
7670 compile_deplibs="$deplib $compile_deplibs"
7671 finalize_deplibs="$deplib $finalize_deplibs"
7672 else
7673 deplibs="$deplib $deplibs"
7674 test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs"
7675 fi
7676 continue
7677 fi
7678 fi
7679 ;;
7680 *) ;;
7681 esac
7682 fi
7683 else
7684 # deplib doesn't seem to be a libtool library
7685 if test prog,link = "$linkmode,$pass"; then
7686 compile_deplibs="$deplib $compile_deplibs"
7687 finalize_deplibs="$deplib $finalize_deplibs"
7688 else
7689 deplibs="$deplib $deplibs"
7690 test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs"
7691 fi
7692 continue
7693 fi
7694 ;; # -l
7695 *.ltframework)
7696 if test prog,link = "$linkmode,$pass"; then
7697 compile_deplibs="$deplib $compile_deplibs"
7698 finalize_deplibs="$deplib $finalize_deplibs"
7699 else
7700 deplibs="$deplib $deplibs"
7701 if test lib = "$linkmode"; then
7702 case "$new_inherited_linker_flags " in
7703 *" $deplib "*) ;;
7704 * ) func_append new_inherited_linker_flags " $deplib" ;;
7705 esac
7706 fi
7707 fi
7708 continue
7709 ;;
7710 -L*)
7711 case $linkmode in
7712 lib)
7713 deplibs="$deplib $deplibs"
7714 test conv = "$pass" && continue
7715 newdependency_libs="$deplib $newdependency_libs"
7716 func_stripname '-L' '' "$deplib"
7717 func_resolve_sysroot "$func_stripname_result"
7718 func_append newlib_search_path " $func_resolve_sysroot_result"
7719 ;;
7720 prog)
7721 if test conv = "$pass"; then
7722 deplibs="$deplib $deplibs"
7723 continue
7724 fi
7725 if test scan = "$pass"; then
7726 deplibs="$deplib $deplibs"
7727 else
7728 compile_deplibs="$deplib $compile_deplibs"
7729 finalize_deplibs="$deplib $finalize_deplibs"
7730 fi
7731 func_stripname '-L' '' "$deplib"
7732 func_resolve_sysroot "$func_stripname_result"
7733 func_append newlib_search_path " $func_resolve_sysroot_result"
7734 ;;
7735 *)
7736 func_warning "'-L' is ignored for archives/objects"
7737 ;;
7738 esac # linkmode
7739 continue
7740 ;; # -L
7741 -R*)
7742 if test link = "$pass"; then
7743 func_stripname '-R' '' "$deplib"
7744 func_resolve_sysroot "$func_stripname_result"
7745 dir=$func_resolve_sysroot_result
7746 # Make sure the xrpath contains only unique directories.
7747 case "$xrpath " in
7748 *" $dir "*) ;;
7749 *) func_append xrpath " $dir" ;;
7750 esac
7751 fi
7752 deplibs="$deplib $deplibs"
7753 continue
7754 ;;
7755 *.la)
7756 func_resolve_sysroot "$deplib"
7757 lib=$func_resolve_sysroot_result
7758 ;;
7759 *.$libext)
7760 if test conv = "$pass"; then
7761 deplibs="$deplib $deplibs"
7762 continue
7763 fi
7764 case $linkmode in
7765 lib)
7766 # Linking convenience modules into shared libraries is allowed,
7767 # but linking other static libraries is non-portable.
7768 case " $dlpreconveniencelibs " in
7769 *" $deplib "*) ;;
7770 *)
7771 valid_a_lib=false
7772 case $deplibs_check_method in
7773 match_pattern*)
7774 set dummy $deplibs_check_method; shift
7775 match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
7776 if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \
7777 | $EGREP "$match_pattern_regex" > /dev/null; then
7778 valid_a_lib=:
7779 fi
7780 ;;
7781 pass_all)
7782 valid_a_lib=:
7783 ;;
7784 esac
7785 if $valid_a_lib; then
7786 echo
7787 $ECHO "*** Warning: Linking the shared library $output against the"
7788 $ECHO "*** static library $deplib is not portable!"
7789 deplibs="$deplib $deplibs"
7790 else
7791 echo
7792 $ECHO "*** Warning: Trying to link with static lib archive $deplib."
7793 echo "*** I have the capability to make that library automatically link in when"
7794 echo "*** you link to this library. But I can only do this if you have a"
7795 echo "*** shared version of the library, which you do not appear to have"
7796 echo "*** because the file extensions .$libext of this argument makes me believe"
7797 echo "*** that it is just a static archive that I should not use here."
7798 fi
7799 ;;
7800 esac
7801 continue
7802 ;;
7803 prog)
7804 if test link != "$pass"; then
7805 deplibs="$deplib $deplibs"
7806 else
7807 compile_deplibs="$deplib $compile_deplibs"
7808 finalize_deplibs="$deplib $finalize_deplibs"
7809 fi
7810 continue
7811 ;;
7812 esac # linkmode
7813 ;; # *.$libext
7814 *.lo | *.$objext)
7815 if test conv = "$pass"; then
7816 deplibs="$deplib $deplibs"
7817 elif test prog = "$linkmode"; then
7818 if test dlpreopen = "$pass" || test yes != "$dlopen_support" || test no = "$build_libtool_libs"; then
7819 # If there is no dlopen support or we're linking statically,
7820 # we need to preload.
7821 func_append newdlprefiles " $deplib"
7822 compile_deplibs="$deplib $compile_deplibs"
7823 finalize_deplibs="$deplib $finalize_deplibs"
7824 else
7825 func_append newdlfiles " $deplib"
7826 fi
7827 fi
7828 continue
7829 ;;
7830 %DEPLIBS%)
7831 alldeplibs=:
7832 continue
7833 ;;
7834 esac # case $deplib
7835
7836 $found || test -f "$lib" \
7837 || func_fatal_error "cannot find the library '$lib' or unhandled argument '$deplib'"
7838
7839 # Check to see that this really is a libtool archive.
7840 func_lalib_unsafe_p "$lib" \
7841 || func_fatal_error "'$lib' is not a valid libtool archive"
7842
7843 func_dirname "$lib" "" "."
7844 ladir=$func_dirname_result
7845
7846 dlname=
7847 dlopen=
7848 dlpreopen=
7849 libdir=
7850 library_names=
7851 old_library=
7852 inherited_linker_flags=
7853 # If the library was installed with an old release of libtool,
7854 # it will not redefine variables installed, or shouldnotlink
7855 installed=yes
7856 shouldnotlink=no
7857 avoidtemprpath=
7858
7859
7860 # Read the .la file
7861 func_source "$lib"
7862
7863 # Convert "-framework foo" to "foo.ltframework"
7864 if test -n "$inherited_linker_flags"; then
7865 tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'`
7866 for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do
7867 case " $new_inherited_linker_flags " in
7868 *" $tmp_inherited_linker_flag "*) ;;
7869 *) func_append new_inherited_linker_flags " $tmp_inherited_linker_flag";;
7870 esac
7871 done
7872 fi
7873 dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
7874 if test lib,link = "$linkmode,$pass" ||
7875 test prog,scan = "$linkmode,$pass" ||
7876 { test prog != "$linkmode" && test lib != "$linkmode"; }; then
7877 test -n "$dlopen" && func_append dlfiles " $dlopen"
7878 test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen"
7879 fi
7880
7881 if test conv = "$pass"; then
7882 # Only check for convenience libraries
7883 deplibs="$lib $deplibs"
7884 if test -z "$libdir"; then
7885 if test -z "$old_library"; then
7886 func_fatal_error "cannot find name of link library for '$lib'"
7887 fi
7888 # It is a libtool convenience library, so add in its objects.
7889 func_append convenience " $ladir/$objdir/$old_library"
7890 func_append old_convenience " $ladir/$objdir/$old_library"
7891 elif test prog != "$linkmode" && test lib != "$linkmode"; then
7892 func_fatal_error "'$lib' is not a convenience library"
7893 fi
7894 tmp_libs=
7895 for deplib in $dependency_libs; do
7896 deplibs="$deplib $deplibs"
7897 if $opt_preserve_dup_deps; then
7898 case "$tmp_libs " in
7899 *" $deplib "*) func_append specialdeplibs " $deplib" ;;
7900 esac
7901 fi
7902 func_append tmp_libs " $deplib"
7903 done
7904 continue
7905 fi # $pass = conv
7906
7907
7908 # Get the name of the library we link against.
7909 linklib=
7910 if test -n "$old_library" &&
7911 { test yes = "$prefer_static_libs" ||
7912 test built,no = "$prefer_static_libs,$installed"; }; then
7913 linklib=$old_library
7914 else
7915 for l in $old_library $library_names; do
7916 linklib=$l
7917 done
7918 fi
7919 if test -z "$linklib"; then
7920 func_fatal_error "cannot find name of link library for '$lib'"
7921 fi
7922
7923 # This library was specified with -dlopen.
7924 if test dlopen = "$pass"; then
7925 test -z "$libdir" \
7926 && func_fatal_error "cannot -dlopen a convenience library: '$lib'"
7927 if test -z "$dlname" ||
7928 test yes != "$dlopen_support" ||
7929 test no = "$build_libtool_libs"
7930 then
7931 # If there is no dlname, no dlopen support or we're linking
7932 # statically, we need to preload. We also need to preload any
7933 # dependent libraries so libltdl's deplib preloader doesn't
7934 # bomb out in the load deplibs phase.
7935 func_append dlprefiles " $lib $dependency_libs"
7936 else
7937 func_append newdlfiles " $lib"
7938 fi
7939 continue
7940 fi # $pass = dlopen
7941
7942 # We need an absolute path.
7943 case $ladir in
7944 [\\/]* | [A-Za-z]:[\\/]*) abs_ladir=$ladir ;;
7945 *)
7946 abs_ladir=`cd "$ladir" && pwd`
7947 if test -z "$abs_ladir"; then
7948 func_warning "cannot determine absolute directory name of '$ladir'"
7949 func_warning "passing it literally to the linker, although it might fail"
7950 abs_ladir=$ladir
7951 fi
7952 ;;
7953 esac
7954 func_basename "$lib"
7955 laname=$func_basename_result
7956
7957 # Find the relevant object directory and library name.
7958 if test yes = "$installed"; then
7959 if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
7960 func_warning "library '$lib' was moved."
7961 dir=$ladir
7962 absdir=$abs_ladir
7963 libdir=$abs_ladir
7964 else
7965 dir=$lt_sysroot$libdir
7966 absdir=$lt_sysroot$libdir
7967 fi
7968 test yes = "$hardcode_automatic" && avoidtemprpath=yes
7969 else
7970 if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
7971 dir=$ladir
7972 absdir=$abs_ladir
7973 # Remove this search path later
7974 func_append notinst_path " $abs_ladir"
7975 else
7976 dir=$ladir/$objdir
7977 absdir=$abs_ladir/$objdir
7978 # Remove this search path later
7979 func_append notinst_path " $abs_ladir"
7980 fi
7981 fi # $installed = yes
7982 func_stripname 'lib' '.la' "$laname"
7983 name=$func_stripname_result
7984
7985 # This library was specified with -dlpreopen.
7986 if test dlpreopen = "$pass"; then
7987 if test -z "$libdir" && test prog = "$linkmode"; then
7988 func_fatal_error "only libraries may -dlpreopen a convenience library: '$lib'"
7989 fi
7990 case $host in
7991 # special handling for platforms with PE-DLLs.
7992 *cygwin* | *mingw* | *cegcc* )
7993 # Linker will automatically link against shared library if both
7994 # static and shared are present. Therefore, ensure we extract
7995 # symbols from the import library if a shared library is present
7996 # (otherwise, the dlopen module name will be incorrect). We do
7997 # this by putting the import library name into $newdlprefiles.
7998 # We recover the dlopen module name by 'saving' the la file
7999 # name in a special purpose variable, and (later) extracting the
8000 # dlname from the la file.
8001 if test -n "$dlname"; then
8002 func_tr_sh "$dir/$linklib"
8003 eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname"
8004 func_append newdlprefiles " $dir/$linklib"
8005 else
8006 func_append newdlprefiles " $dir/$old_library"
8007 # Keep a list of preopened convenience libraries to check
8008 # that they are being used correctly in the link pass.
8009 test -z "$libdir" && \
8010 func_append dlpreconveniencelibs " $dir/$old_library"
8011 fi
8012 ;;
8013 * )
8014 # Prefer using a static library (so that no silly _DYNAMIC symbols
8015 # are required to link).
8016 if test -n "$old_library"; then
8017 func_append newdlprefiles " $dir/$old_library"
8018 # Keep a list of preopened convenience libraries to check
8019 # that they are being used correctly in the link pass.
8020 test -z "$libdir" && \
8021 func_append dlpreconveniencelibs " $dir/$old_library"
8022 # Otherwise, use the dlname, so that lt_dlopen finds it.
8023 elif test -n "$dlname"; then
8024 func_append newdlprefiles " $dir/$dlname"
8025 else
8026 func_append newdlprefiles " $dir/$linklib"
8027 fi
8028 ;;
8029 esac
8030 fi # $pass = dlpreopen
8031
8032 if test -z "$libdir"; then
8033 # Link the convenience library
8034 if test lib = "$linkmode"; then
8035 deplibs="$dir/$old_library $deplibs"
8036 elif test prog,link = "$linkmode,$pass"; then
8037 compile_deplibs="$dir/$old_library $compile_deplibs"
8038 finalize_deplibs="$dir/$old_library $finalize_deplibs"
8039 else
8040 deplibs="$lib $deplibs" # used for prog,scan pass
8041 fi
8042 continue
8043 fi
8044
8045
8046 if test prog = "$linkmode" && test link != "$pass"; then
8047 func_append newlib_search_path " $ladir"
8048 deplibs="$lib $deplibs"
8049
8050 linkalldeplibs=false
8051 if test no != "$link_all_deplibs" || test -z "$library_names" ||
8052 test no = "$build_libtool_libs"; then
8053 linkalldeplibs=:
8054 fi
8055
8056 tmp_libs=
8057 for deplib in $dependency_libs; do
8058 case $deplib in
8059 -L*) func_stripname '-L' '' "$deplib"
8060 func_resolve_sysroot "$func_stripname_result"
8061 func_append newlib_search_path " $func_resolve_sysroot_result"
8062 ;;
8063 esac
8064 # Need to link against all dependency_libs?
8065 if $linkalldeplibs; then
8066 deplibs="$deplib $deplibs"
8067 else
8068 # Need to hardcode shared library paths
8069 # or/and link against static libraries
8070 newdependency_libs="$deplib $newdependency_libs"
8071 fi
8072 if $opt_preserve_dup_deps; then
8073 case "$tmp_libs " in
8074 *" $deplib "*) func_append specialdeplibs " $deplib" ;;
8075 esac
8076 fi
8077 func_append tmp_libs " $deplib"
8078 done # for deplib
8079 continue
8080 fi # $linkmode = prog...
8081
8082 if test prog,link = "$linkmode,$pass"; then
8083 if test -n "$library_names" &&
8084 { { test no = "$prefer_static_libs" ||
8085 test built,yes = "$prefer_static_libs,$installed"; } ||
8086 test -z "$old_library"; }; then
8087 # We need to hardcode the library path
8088 if test -n "$shlibpath_var" && test -z "$avoidtemprpath"; then
8089 # Make sure the rpath contains only unique directories.
8090 case $temp_rpath: in
8091 *"$absdir:"*) ;;
8092 *) func_append temp_rpath "$absdir:" ;;
8093 esac
8094 fi
8095
8096 # Hardcode the library path.
8097 # Skip directories that are in the system default run-time
8098 # search path.
8099 case " $sys_lib_dlsearch_path " in
8100 *" $absdir "*) ;;
8101 *)
8102 case "$compile_rpath " in
8103 *" $absdir "*) ;;
8104 *) func_append compile_rpath " $absdir" ;;
8105 esac
8106 ;;
8107 esac
8108 case " $sys_lib_dlsearch_path " in
8109 *" $libdir "*) ;;
8110 *)
8111 case "$finalize_rpath " in
8112 *" $libdir "*) ;;
8113 *) func_append finalize_rpath " $libdir" ;;
8114 esac
8115 ;;
8116 esac
8117 fi # $linkmode,$pass = prog,link...
8118
8119 if $alldeplibs &&
8120 { test pass_all = "$deplibs_check_method" ||
8121 { test yes = "$build_libtool_libs" &&
8122 test -n "$library_names"; }; }; then
8123 # We only need to search for static libraries
8124 continue
8125 fi
8126 fi
8127
8128 link_static=no # Whether the deplib will be linked statically
8129 use_static_libs=$prefer_static_libs
8130 if test built = "$use_static_libs" && test yes = "$installed"; then
8131 use_static_libs=no
8132 fi
8133 if test -n "$library_names" &&
8134 { test no = "$use_static_libs" || test -z "$old_library"; }; then
8135 case $host in
8136 *cygwin* | *mingw* | *cegcc* | *os2*)
8137 # No point in relinking DLLs because paths are not encoded
8138 func_append notinst_deplibs " $lib"
8139 need_relink=no
8140 ;;
8141 *)
8142 if test no = "$installed"; then
8143 func_append notinst_deplibs " $lib"
8144 need_relink=yes
8145 fi
8146 ;;
8147 esac
8148 # This is a shared library
8149
8150 # Warn about portability, can't link against -module's on some
8151 # systems (darwin). Don't bleat about dlopened modules though!
8152 dlopenmodule=
8153 for dlpremoduletest in $dlprefiles; do
8154 if test "X$dlpremoduletest" = "X$lib"; then
8155 dlopenmodule=$dlpremoduletest
8156 break
8157 fi
8158 done
8159 if test -z "$dlopenmodule" && test yes = "$shouldnotlink" && test link = "$pass"; then
8160 echo
8161 if test prog = "$linkmode"; then
8162 $ECHO "*** Warning: Linking the executable $output against the loadable module"
8163 else
8164 $ECHO "*** Warning: Linking the shared library $output against the loadable module"
8165 fi
8166 $ECHO "*** $linklib is not portable!"
8167 fi
8168 if test lib = "$linkmode" &&
8169 test yes = "$hardcode_into_libs"; then
8170 # Hardcode the library path.
8171 # Skip directories that are in the system default run-time
8172 # search path.
8173 case " $sys_lib_dlsearch_path " in
8174 *" $absdir "*) ;;
8175 *)
8176 case "$compile_rpath " in
8177 *" $absdir "*) ;;
8178 *) func_append compile_rpath " $absdir" ;;
8179 esac
8180 ;;
8181 esac
8182 case " $sys_lib_dlsearch_path " in
8183 *" $libdir "*) ;;
8184 *)
8185 case "$finalize_rpath " in
8186 *" $libdir "*) ;;
8187 *) func_append finalize_rpath " $libdir" ;;
8188 esac
8189 ;;
8190 esac
8191 fi
8192
8193 if test -n "$old_archive_from_expsyms_cmds"; then
8194 # figure out the soname
8195 set dummy $library_names
8196 shift
8197 realname=$1
8198 shift
8199 libname=`eval "\\$ECHO \"$libname_spec\""`
8200 # use dlname if we got it. it's perfectly good, no?
8201 if test -n "$dlname"; then
8202 soname=$dlname
8203 elif test -n "$soname_spec"; then
8204 # bleh windows
8205 case $host in
8206 *cygwin* | mingw* | *cegcc* | *os2*)
8207 func_arith $current - $age
8208 major=$func_arith_result
8209 versuffix=-$major
8210 ;;
8211 esac
8212 eval soname=\"$soname_spec\"
8213 else
8214 soname=$realname
8215 fi
8216
8217 # Make a new name for the extract_expsyms_cmds to use
8218 soroot=$soname
8219 func_basename "$soroot"
8220 soname=$func_basename_result
8221 func_stripname 'lib' '.dll' "$soname"
8222 newlib=libimp-$func_stripname_result.a
8223
8224 # If the library has no export list, then create one now
8225 if test -f "$output_objdir/$soname-def"; then :
8226 else
8227 func_verbose "extracting exported symbol list from '$soname'"
8228 func_execute_cmds "$extract_expsyms_cmds" 'exit $?'
8229 fi
8230
8231 # Create $newlib
8232 if test -f "$output_objdir/$newlib"; then :; else
8233 func_verbose "generating import library for '$soname'"
8234 func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?'
8235 fi
8236 # make sure the library variables are pointing to the new library
8237 dir=$output_objdir
8238 linklib=$newlib
8239 fi # test -n "$old_archive_from_expsyms_cmds"
8240
8241 if test prog = "$linkmode" || test relink != "$opt_mode"; then
8242 add_shlibpath=
8243 add_dir=
8244 add=
8245 lib_linked=yes
8246 case $hardcode_action in
8247 immediate | unsupported)
8248 if test no = "$hardcode_direct"; then
8249 add=$dir/$linklib
8250 case $host in
8251 *-*-sco3.2v5.0.[024]*) add_dir=-L$dir ;;
8252 *-*-sysv4*uw2*) add_dir=-L$dir ;;
8253 *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
8254 *-*-unixware7*) add_dir=-L$dir ;;
8255 *-*-darwin* )
8256 # if the lib is a (non-dlopened) module then we cannot
8257 # link against it, someone is ignoring the earlier warnings
8258 if /usr/bin/file -L $add 2> /dev/null |
8259 $GREP ": [^:]* bundle" >/dev/null; then
8260 if test "X$dlopenmodule" != "X$lib"; then
8261 $ECHO "*** Warning: lib $linklib is a module, not a shared library"
8262 if test -z "$old_library"; then
8263 echo
8264 echo "*** And there doesn't seem to be a static archive available"
8265 echo "*** The link will probably fail, sorry"
8266 else
8267 add=$dir/$old_library
8268 fi
8269 elif test -n "$old_library"; then
8270 add=$dir/$old_library
8271 fi
8272 fi
8273 esac
8274 elif test no = "$hardcode_minus_L"; then
8275 case $host in
8276 *-*-sunos*) add_shlibpath=$dir ;;
8277 esac
8278 add_dir=-L$dir
8279 add=-l$name
8280 elif test no = "$hardcode_shlibpath_var"; then
8281 add_shlibpath=$dir
8282 add=-l$name
8283 else
8284 lib_linked=no
8285 fi
8286 ;;
8287 relink)
8288 if test yes = "$hardcode_direct" &&
8289 test no = "$hardcode_direct_absolute"; then
8290 add=$dir/$linklib
8291 elif test yes = "$hardcode_minus_L"; then
8292 add_dir=-L$absdir
8293 # Try looking first in the location we're being installed to.
8294 if test -n "$inst_prefix_dir"; then
8295 case $libdir in
8296 [\\/]*)
8297 func_append add_dir " -L$inst_prefix_dir$libdir"
8298 ;;
8299 esac
8300 fi
8301 add=-l$name
8302 elif test yes = "$hardcode_shlibpath_var"; then
8303 add_shlibpath=$dir
8304 add=-l$name
8305 else
8306 lib_linked=no
8307 fi
8308 ;;
8309 *) lib_linked=no ;;
8310 esac
8311
8312 if test yes != "$lib_linked"; then
8313 func_fatal_configuration "unsupported hardcode properties"
8314 fi
8315
8316 if test -n "$add_shlibpath"; then
8317 case :$compile_shlibpath: in
8318 *":$add_shlibpath:"*) ;;
8319 *) func_append compile_shlibpath "$add_shlibpath:" ;;
8320 esac
8321 fi
8322 if test prog = "$linkmode"; then
8323 test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
8324 test -n "$add" && compile_deplibs="$add $compile_deplibs"
8325 else
8326 test -n "$add_dir" && deplibs="$add_dir $deplibs"
8327 test -n "$add" && deplibs="$add $deplibs"
8328 if test yes != "$hardcode_direct" &&
8329 test yes != "$hardcode_minus_L" &&
8330 test yes = "$hardcode_shlibpath_var"; then
8331 case :$finalize_shlibpath: in
8332 *":$libdir:"*) ;;
8333 *) func_append finalize_shlibpath "$libdir:" ;;
8334 esac
8335 fi
8336 fi
8337 fi
8338
8339 if test prog = "$linkmode" || test relink = "$opt_mode"; then
8340 add_shlibpath=
8341 add_dir=
8342 add=
8343 # Finalize command for both is simple: just hardcode it.
8344 if test yes = "$hardcode_direct" &&
8345 test no = "$hardcode_direct_absolute"; then
8346 add=$libdir/$linklib
8347 elif test yes = "$hardcode_minus_L"; then
8348 add_dir=-L$libdir
8349 add=-l$name
8350 elif test yes = "$hardcode_shlibpath_var"; then
8351 case :$finalize_shlibpath: in
8352 *":$libdir:"*) ;;
8353 *) func_append finalize_shlibpath "$libdir:" ;;
8354 esac
8355 add=-l$name
8356 elif test yes = "$hardcode_automatic"; then
8357 if test -n "$inst_prefix_dir" &&
8358 test -f "$inst_prefix_dir$libdir/$linklib"; then
8359 add=$inst_prefix_dir$libdir/$linklib
8360 else
8361 add=$libdir/$linklib
8362 fi
8363 else
8364 # We cannot seem to hardcode it, guess we'll fake it.
8365 add_dir=-L$libdir
8366 # Try looking first in the location we're being installed to.
8367 if test -n "$inst_prefix_dir"; then
8368 case $libdir in
8369 [\\/]*)
8370 func_append add_dir " -L$inst_prefix_dir$libdir"
8371 ;;
8372 esac
8373 fi
8374 add=-l$name
8375 fi
8376
8377 if test prog = "$linkmode"; then
8378 test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
8379 test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
8380 else
8381 test -n "$add_dir" && deplibs="$add_dir $deplibs"
8382 test -n "$add" && deplibs="$add $deplibs"
8383 fi
8384 fi
8385 elif test prog = "$linkmode"; then
8386 # Here we assume that one of hardcode_direct or hardcode_minus_L
8387 # is not unsupported. This is valid on all known static and
8388 # shared platforms.
8389 if test unsupported != "$hardcode_direct"; then
8390 test -n "$old_library" && linklib=$old_library
8391 compile_deplibs="$dir/$linklib $compile_deplibs"
8392 finalize_deplibs="$dir/$linklib $finalize_deplibs"
8393 else
8394 compile_deplibs="-l$name -L$dir $compile_deplibs"
8395 finalize_deplibs="-l$name -L$dir $finalize_deplibs"
8396 fi
8397 elif test yes = "$build_libtool_libs"; then
8398 # Not a shared library
8399 if test pass_all != "$deplibs_check_method"; then
8400 # We're trying link a shared library against a static one
8401 # but the system doesn't support it.
8402
8403 # Just print a warning and add the library to dependency_libs so
8404 # that the program can be linked against the static library.
8405 echo
8406 $ECHO "*** Warning: This system cannot link to static lib archive $lib."
8407 echo "*** I have the capability to make that library automatically link in when"
8408 echo "*** you link to this library. But I can only do this if you have a"
8409 echo "*** shared version of the library, which you do not appear to have."
8410 if test yes = "$module"; then
8411 echo "*** But as you try to build a module library, libtool will still create "
8412 echo "*** a static module, that should work as long as the dlopening application"
8413 echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
8414 if test -z "$global_symbol_pipe"; then
8415 echo
8416 echo "*** However, this would only work if libtool was able to extract symbol"
8417 echo "*** lists from a program, using 'nm' or equivalent, but libtool could"
8418 echo "*** not find such a program. So, this module is probably useless."
8419 echo "*** 'nm' from GNU binutils and a full rebuild may help."
8420 fi
8421 if test no = "$build_old_libs"; then
8422 build_libtool_libs=module
8423 build_old_libs=yes
8424 else
8425 build_libtool_libs=no
8426 fi
8427 fi
8428 else
8429 deplibs="$dir/$old_library $deplibs"
8430 link_static=yes
8431 fi
8432 fi # link shared/static library?
8433
8434 if test lib = "$linkmode"; then
8435 if test -n "$dependency_libs" &&
8436 { test yes != "$hardcode_into_libs" ||
8437 test yes = "$build_old_libs" ||
8438 test yes = "$link_static"; }; then
8439 # Extract -R from dependency_libs
8440 temp_deplibs=
8441 for libdir in $dependency_libs; do
8442 case $libdir in
8443 -R*) func_stripname '-R' '' "$libdir"
8444 temp_xrpath=$func_stripname_result
8445 case " $xrpath " in
8446 *" $temp_xrpath "*) ;;
8447 *) func_append xrpath " $temp_xrpath";;
8448 esac;;
8449 *) func_append temp_deplibs " $libdir";;
8450 esac
8451 done
8452 dependency_libs=$temp_deplibs
8453 fi
8454
8455 func_append newlib_search_path " $absdir"
8456 # Link against this library
8457 test no = "$link_static" && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
8458 # ... and its dependency_libs
8459 tmp_libs=
8460 for deplib in $dependency_libs; do
8461 newdependency_libs="$deplib $newdependency_libs"
8462 case $deplib in
8463 -L*) func_stripname '-L' '' "$deplib"
8464 func_resolve_sysroot "$func_stripname_result";;
8465 *) func_resolve_sysroot "$deplib" ;;
8466 esac
8467 if $opt_preserve_dup_deps; then
8468 case "$tmp_libs " in
8469 *" $func_resolve_sysroot_result "*)
8470 func_append specialdeplibs " $func_resolve_sysroot_result" ;;
8471 esac
8472 fi
8473 func_append tmp_libs " $func_resolve_sysroot_result"
8474 done
8475
8476 if test no != "$link_all_deplibs"; then
8477 # Add the search paths of all dependency libraries
8478 for deplib in $dependency_libs; do
8479 path=
8480 case $deplib in
8481 -L*) path=$deplib ;;
8482 *.la)
8483 func_resolve_sysroot "$deplib"
8484 deplib=$func_resolve_sysroot_result
8485 func_dirname "$deplib" "" "."
8486 dir=$func_dirname_result
8487 # We need an absolute path.
8488 case $dir in
8489 [\\/]* | [A-Za-z]:[\\/]*) absdir=$dir ;;
8490 *)
8491 absdir=`cd "$dir" && pwd`
8492 if test -z "$absdir"; then
8493 func_warning "cannot determine absolute directory name of '$dir'"
8494 absdir=$dir
8495 fi
8496 ;;
8497 esac
8498 if $GREP "^installed=no" $deplib > /dev/null; then
8499 case $host in
8500 *-*-darwin*)
8501 depdepl=
8502 eval deplibrary_names=`$SED -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
8503 if test -n "$deplibrary_names"; then
8504 for tmp in $deplibrary_names; do
8505 depdepl=$tmp
8506 done
8507 if test -f "$absdir/$objdir/$depdepl"; then
8508 depdepl=$absdir/$objdir/$depdepl
8509 darwin_install_name=`$OTOOL -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
8510 if test -z "$darwin_install_name"; then
8511 darwin_install_name=`$OTOOL64 -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
8512 fi
8513 func_append compiler_flags " $wl-dylib_file $wl$darwin_install_name:$depdepl"
8514 func_append linker_flags " -dylib_file $darwin_install_name:$depdepl"
8515 path=
8516 fi
8517 fi
8518 ;;
8519 *)
8520 path=-L$absdir/$objdir
8521 ;;
8522 esac
8523 else
8524 eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
8525 test -z "$libdir" && \
8526 func_fatal_error "'$deplib' is not a valid libtool archive"
8527 test "$absdir" != "$libdir" && \
8528 func_warning "'$deplib' seems to be moved"
8529
8530 path=-L$absdir
8531 fi
8532 ;;
8533 esac
8534 case " $deplibs " in
8535 *" $path "*) ;;
8536 *) deplibs="$path $deplibs" ;;
8537 esac
8538 done
8539 fi # link_all_deplibs != no
8540 fi # linkmode = lib
8541 done # for deplib in $libs
8542 if test link = "$pass"; then
8543 if test prog = "$linkmode"; then
8544 compile_deplibs="$new_inherited_linker_flags $compile_deplibs"
8545 finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs"
8546 else
8547 compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
8548 fi
8549 fi
8550 dependency_libs=$newdependency_libs
8551 if test dlpreopen = "$pass"; then
8552 # Link the dlpreopened libraries before other libraries
8553 for deplib in $save_deplibs; do
8554 deplibs="$deplib $deplibs"
8555 done
8556 fi
8557 if test dlopen != "$pass"; then
8558 test conv = "$pass" || {
8559 # Make sure lib_search_path contains only unique directories.
8560 lib_search_path=
8561 for dir in $newlib_search_path; do
8562 case "$lib_search_path " in
8563 *" $dir "*) ;;
8564 *) func_append lib_search_path " $dir" ;;
8565 esac
8566 done
8567 newlib_search_path=
8568 }
8569
8570 if test prog,link = "$linkmode,$pass"; then
8571 vars="compile_deplibs finalize_deplibs"
8572 else
8573 vars=deplibs
8574 fi
8575 for var in $vars dependency_libs; do
8576 # Add libraries to $var in reverse order
8577 eval tmp_libs=\"\$$var\"
8578 new_libs=
8579 for deplib in $tmp_libs; do
8580 # FIXME: Pedantically, this is the right thing to do, so
8581 # that some nasty dependency loop isn't accidentally
8582 # broken:
8583 #new_libs="$deplib $new_libs"
8584 # Pragmatically, this seems to cause very few problems in
8585 # practice:
8586 case $deplib in
8587 -L*) new_libs="$deplib $new_libs" ;;
8588 -R*) ;;
8589 *)
8590 # And here is the reason: when a library appears more
8591 # than once as an explicit dependence of a library, or
8592 # is implicitly linked in more than once by the
8593 # compiler, it is considered special, and multiple
8594 # occurrences thereof are not removed. Compare this
8595 # with having the same library being listed as a
8596 # dependency of multiple other libraries: in this case,
8597 # we know (pedantically, we assume) the library does not
8598 # need to be listed more than once, so we keep only the
8599 # last copy. This is not always right, but it is rare
8600 # enough that we require users that really mean to play
8601 # such unportable linking tricks to link the library
8602 # using -Wl,-lname, so that libtool does not consider it
8603 # for duplicate removal.
8604 case " $specialdeplibs " in
8605 *" $deplib "*) new_libs="$deplib $new_libs" ;;
8606 *)
8607 case " $new_libs " in
8608 *" $deplib "*) ;;
8609 *) new_libs="$deplib $new_libs" ;;
8610 esac
8611 ;;
8612 esac
8613 ;;
8614 esac
8615 done
8616 tmp_libs=
8617 for deplib in $new_libs; do
8618 case $deplib in
8619 -L*)
8620 case " $tmp_libs " in
8621 *" $deplib "*) ;;
8622 *) func_append tmp_libs " $deplib" ;;
8623 esac
8624 ;;
8625 *) func_append tmp_libs " $deplib" ;;
8626 esac
8627 done
8628 eval $var=\"$tmp_libs\"
8629 done # for var
8630 fi
8631
8632 # Add Sun CC postdeps if required:
8633 test CXX = "$tagname" && {
8634 case $host_os in
8635 linux*)
8636 case `$CC -V 2>&1 | sed 5q` in
8637 *Sun\ C*) # Sun C++ 5.9
8638 func_suncc_cstd_abi
8639
8640 if test no != "$suncc_use_cstd_abi"; then
8641 func_append postdeps ' -library=Cstd -library=Crun'
8642 fi
8643 ;;
8644 esac
8645 ;;
8646
8647 solaris*)
8648 func_cc_basename "$CC"
8649 case $func_cc_basename_result in
8650 CC* | sunCC*)
8651 func_suncc_cstd_abi
8652
8653 if test no != "$suncc_use_cstd_abi"; then
8654 func_append postdeps ' -library=Cstd -library=Crun'
8655 fi
8656 ;;
8657 esac
8658 ;;
8659 esac
8660 }
8661
8662 # Last step: remove runtime libs from dependency_libs
8663 # (they stay in deplibs)
8664 tmp_libs=
8665 for i in $dependency_libs; do
8666 case " $predeps $postdeps $compiler_lib_search_path " in
8667 *" $i "*)
8668 i=
8669 ;;
8670 esac
8671 if test -n "$i"; then
8672 func_append tmp_libs " $i"
8673 fi
8674 done
8675 dependency_libs=$tmp_libs
8676 done # for pass
8677 if test prog = "$linkmode"; then
8678 dlfiles=$newdlfiles
8679 fi
8680 if test prog = "$linkmode" || test lib = "$linkmode"; then
8681 dlprefiles=$newdlprefiles
8682 fi
8683
8684 case $linkmode in
8685 oldlib)
8686 if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then
8687 func_warning "'-dlopen' is ignored for archives"
8688 fi
8689
8690 case " $deplibs" in
8691 *\ -l* | *\ -L*)
8692 func_warning "'-l' and '-L' are ignored for archives" ;;
8693 esac
8694
8695 test -n "$rpath" && \
8696 func_warning "'-rpath' is ignored for archives"
8697
8698 test -n "$xrpath" && \
8699 func_warning "'-R' is ignored for archives"
8700
8701 test -n "$vinfo" && \
8702 func_warning "'-version-info/-version-number' is ignored for archives"
8703
8704 test -n "$release" && \
8705 func_warning "'-release' is ignored for archives"
8706
8707 test -n "$export_symbols$export_symbols_regex" && \
8708 func_warning "'-export-symbols' is ignored for archives"
8709
8710 # Now set the variables for building old libraries.
8711 build_libtool_libs=no
8712 oldlibs=$output
8713 func_append objs "$old_deplibs"
8714 ;;
8715
8716 lib)
8717 # Make sure we only generate libraries of the form 'libNAME.la'.
8718 case $outputname in
8719 lib*)
8720 func_stripname 'lib' '.la' "$outputname"
8721 name=$func_stripname_result
8722 eval shared_ext=\"$shrext_cmds\"
8723 eval libname=\"$libname_spec\"
8724 ;;
8725 *)
8726 test no = "$module" \
8727 && func_fatal_help "libtool library '$output' must begin with 'lib'"
8728
8729 if test no != "$need_lib_prefix"; then
8730 # Add the "lib" prefix for modules if required
8731 func_stripname '' '.la' "$outputname"
8732 name=$func_stripname_result
8733 eval shared_ext=\"$shrext_cmds\"
8734 eval libname=\"$libname_spec\"
8735 else
8736 func_stripname '' '.la' "$outputname"
8737 libname=$func_stripname_result
8738 fi
8739 ;;
8740 esac
8741
8742 if test -n "$objs"; then
8743 if test pass_all != "$deplibs_check_method"; then
8744 func_fatal_error "cannot build libtool library '$output' from non-libtool objects on this host:$objs"
8745 else
8746 echo
8747 $ECHO "*** Warning: Linking the shared library $output against the non-libtool"
8748 $ECHO "*** objects $objs is not portable!"
8749 func_append libobjs " $objs"
8750 fi
8751 fi
8752
8753 test no = "$dlself" \
8754 || func_warning "'-dlopen self' is ignored for libtool libraries"
8755
8756 set dummy $rpath
8757 shift
8758 test 1 -lt "$#" \
8759 && func_warning "ignoring multiple '-rpath's for a libtool library"
8760
8761 install_libdir=$1
8762
8763 oldlibs=
8764 if test -z "$rpath"; then
8765 if test yes = "$build_libtool_libs"; then
8766 # Building a libtool convenience library.
8767 # Some compilers have problems with a '.al' extension so
8768 # convenience libraries should have the same extension an
8769 # archive normally would.
8770 oldlibs="$output_objdir/$libname.$libext $oldlibs"
8771 build_libtool_libs=convenience
8772 build_old_libs=yes
8773 fi
8774
8775 test -n "$vinfo" && \
8776 func_warning "'-version-info/-version-number' is ignored for convenience libraries"
8777
8778 test -n "$release" && \
8779 func_warning "'-release' is ignored for convenience libraries"
8780 else
8781
8782 # Parse the version information argument.
8783 save_ifs=$IFS; IFS=:
8784 set dummy $vinfo 0 0 0
8785 shift
8786 IFS=$save_ifs
8787
8788 test -n "$7" && \
8789 func_fatal_help "too many parameters to '-version-info'"
8790
8791 # convert absolute version numbers to libtool ages
8792 # this retains compatibility with .la files and attempts
8793 # to make the code below a bit more comprehensible
8794
8795 case $vinfo_number in
8796 yes)
8797 number_major=$1
8798 number_minor=$2
8799 number_revision=$3
8800 #
8801 # There are really only two kinds -- those that
8802 # use the current revision as the major version
8803 # and those that subtract age and use age as
8804 # a minor version. But, then there is irix
8805 # that has an extra 1 added just for fun
8806 #
8807 case $version_type in
8808 # correct linux to gnu/linux during the next big refactor
8809 darwin|freebsd-elf|linux|osf|windows|none)
8810 func_arith $number_major + $number_minor
8811 current=$func_arith_result
8812 age=$number_minor
8813 revision=$number_revision
8814 ;;
8815 freebsd-aout|qnx|sunos)
8816 current=$number_major
8817 revision=$number_minor
8818 age=0
8819 ;;
8820 irix|nonstopux)
8821 func_arith $number_major + $number_minor
8822 current=$func_arith_result
8823 age=$number_minor
8824 revision=$number_minor
8825 lt_irix_increment=no
8826 ;;
8827 esac
8828 ;;
8829 no)
8830 current=$1
8831 revision=$2
8832 age=$3
8833 ;;
8834 esac
8835
8836 # Check that each of the things are valid numbers.
8837 case $current in
8838 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
8839 *)
8840 func_error "CURRENT '$current' must be a nonnegative integer"
8841 func_fatal_error "'$vinfo' is not valid version information"
8842 ;;
8843 esac
8844
8845 case $revision in
8846 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
8847 *)
8848 func_error "REVISION '$revision' must be a nonnegative integer"
8849 func_fatal_error "'$vinfo' is not valid version information"
8850 ;;
8851 esac
8852
8853 case $age in
8854 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
8855 *)
8856 func_error "AGE '$age' must be a nonnegative integer"
8857 func_fatal_error "'$vinfo' is not valid version information"
8858 ;;
8859 esac
8860
8861 if test "$age" -gt "$current"; then
8862 func_error "AGE '$age' is greater than the current interface number '$current'"
8863 func_fatal_error "'$vinfo' is not valid version information"
8864 fi
8865
8866 # Calculate the version variables.
8867 major=
8868 versuffix=
8869 verstring=
8870 case $version_type in
8871 none) ;;
8872
8873 darwin)
8874 # Like Linux, but with the current version available in
8875 # verstring for coding it into the library header
8876 func_arith $current - $age
8877 major=.$func_arith_result
8878 versuffix=$major.$age.$revision
8879 # Darwin ld doesn't like 0 for these options...
8880 func_arith $current + 1
8881 minor_current=$func_arith_result
8882 xlcverstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision"
8883 verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
8884 # On Darwin other compilers
8885 case $CC in
8886 nagfor*)
8887 verstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision"
8888 ;;
8889 *)
8890 verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
8891 ;;
8892 esac
8893 ;;
8894
8895 freebsd-aout)
8896 major=.$current
8897 versuffix=.$current.$revision
8898 ;;
8899
8900 freebsd-elf)
8901 func_arith $current - $age
8902 major=.$func_arith_result
8903 versuffix=$major.$age.$revision
8904 ;;
8905
8906 irix | nonstopux)
8907 if test no = "$lt_irix_increment"; then
8908 func_arith $current - $age
8909 else
8910 func_arith $current - $age + 1
8911 fi
8912 major=$func_arith_result
8913
8914 case $version_type in
8915 nonstopux) verstring_prefix=nonstopux ;;
8916 *) verstring_prefix=sgi ;;
8917 esac
8918 verstring=$verstring_prefix$major.$revision
8919
8920 # Add in all the interfaces that we are compatible with.
8921 loop=$revision
8922 while test 0 -ne "$loop"; do
8923 func_arith $revision - $loop
8924 iface=$func_arith_result
8925 func_arith $loop - 1
8926 loop=$func_arith_result
8927 verstring=$verstring_prefix$major.$iface:$verstring
8928 done
8929
8930 # Before this point, $major must not contain '.'.
8931 major=.$major
8932 versuffix=$major.$revision
8933 ;;
8934
8935 linux) # correct to gnu/linux during the next big refactor
8936 func_arith $current - $age
8937 major=.$func_arith_result
8938 versuffix=$major.$age.$revision
8939 ;;
8940
8941 osf)
8942 func_arith $current - $age
8943 major=.$func_arith_result
8944 versuffix=.$current.$age.$revision
8945 verstring=$current.$age.$revision
8946
8947 # Add in all the interfaces that we are compatible with.
8948 loop=$age
8949 while test 0 -ne "$loop"; do
8950 func_arith $current - $loop
8951 iface=$func_arith_result
8952 func_arith $loop - 1
8953 loop=$func_arith_result
8954 verstring=$verstring:$iface.0
8955 done
8956
8957 # Make executables depend on our current version.
8958 func_append verstring ":$current.0"
8959 ;;
8960
8961 qnx)
8962 major=.$current
8963 versuffix=.$current
8964 ;;
8965
8966 sco)
8967 major=.$current
8968 versuffix=.$current
8969 ;;
8970
8971 sunos)
8972 major=.$current
8973 versuffix=.$current.$revision
8974 ;;
8975
8976 windows)
8977 # Use '-' rather than '.', since we only want one
8978 # extension on DOS 8.3 file systems.
8979 func_arith $current - $age
8980 major=$func_arith_result
8981 versuffix=-$major
8982 ;;
8983
8984 *)
8985 func_fatal_configuration "unknown library version type '$version_type'"
8986 ;;
8987 esac
8988
8989 # Clear the version info if we defaulted, and they specified a release.
8990 if test -z "$vinfo" && test -n "$release"; then
8991 major=
8992 case $version_type in
8993 darwin)
8994 # we can't check for "0.0" in archive_cmds due to quoting
8995 # problems, so we reset it completely
8996 verstring=
8997 ;;
8998 *)
8999 verstring=0.0
9000 ;;
9001 esac
9002 if test no = "$need_version"; then
9003 versuffix=
9004 else
9005 versuffix=.0.0
9006 fi
9007 fi
9008
9009 # Remove version info from name if versioning should be avoided
9010 if test yes,no = "$avoid_version,$need_version"; then
9011 major=
9012 versuffix=
9013 verstring=
9014 fi
9015
9016 # Check to see if the archive will have undefined symbols.
9017 if test yes = "$allow_undefined"; then
9018 if test unsupported = "$allow_undefined_flag"; then
9019 if test yes = "$build_old_libs"; then
9020 func_warning "undefined symbols not allowed in $host shared libraries; building static only"
9021 build_libtool_libs=no
9022 else
9023 func_fatal_error "can't build $host shared library unless -no-undefined is specified"
9024 fi
9025 fi
9026 else
9027 # Don't allow undefined symbols.
9028 allow_undefined_flag=$no_undefined_flag
9029 fi
9030
9031 fi
9032
9033 func_generate_dlsyms "$libname" "$libname" :
9034 func_append libobjs " $symfileobj"
9035 test " " = "$libobjs" && libobjs=
9036
9037 if test relink != "$opt_mode"; then
9038 # Remove our outputs, but don't remove object files since they
9039 # may have been created when compiling PIC objects.
9040 removelist=
9041 tempremovelist=`$ECHO "$output_objdir/*"`
9042 for p in $tempremovelist; do
9043 case $p in
9044 *.$objext | *.gcno)
9045 ;;
9046 $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/$libname$release.*)
9047 if test -n "$precious_files_regex"; then
9048 if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
9049 then
9050 continue
9051 fi
9052 fi
9053 func_append removelist " $p"
9054 ;;
9055 *) ;;
9056 esac
9057 done
9058 test -n "$removelist" && \
9059 func_show_eval "${RM}r \$removelist"
9060 fi
9061
9062 # Now set the variables for building old libraries.
9063 if test yes = "$build_old_libs" && test convenience != "$build_libtool_libs"; then
9064 func_append oldlibs " $output_objdir/$libname.$libext"
9065
9066 # Transform .lo files to .o files.
9067 oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; $lo2o" | $NL2SP`
9068 fi
9069
9070 # Eliminate all temporary directories.
9071 #for path in $notinst_path; do
9072 # lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"`
9073 # deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"`
9074 # dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"`
9075 #done
9076
9077 if test -n "$xrpath"; then
9078 # If the user specified any rpath flags, then add them.
9079 temp_xrpath=
9080 for libdir in $xrpath; do
9081 func_replace_sysroot "$libdir"
9082 func_append temp_xrpath " -R$func_replace_sysroot_result"
9083 case "$finalize_rpath " in
9084 *" $libdir "*) ;;
9085 *) func_append finalize_rpath " $libdir" ;;
9086 esac
9087 done
9088 if test yes != "$hardcode_into_libs" || test yes = "$build_old_libs"; then
9089 dependency_libs="$temp_xrpath $dependency_libs"
9090 fi
9091 fi
9092
9093 # Make sure dlfiles contains only unique files that won't be dlpreopened
9094 old_dlfiles=$dlfiles
9095 dlfiles=
9096 for lib in $old_dlfiles; do
9097 case " $dlprefiles $dlfiles " in
9098 *" $lib "*) ;;
9099 *) func_append dlfiles " $lib" ;;
9100 esac
9101 done
9102
9103 # Make sure dlprefiles contains only unique files
9104 old_dlprefiles=$dlprefiles
9105 dlprefiles=
9106 for lib in $old_dlprefiles; do
9107 case "$dlprefiles " in
9108 *" $lib "*) ;;
9109 *) func_append dlprefiles " $lib" ;;
9110 esac
9111 done
9112
9113 if test yes = "$build_libtool_libs"; then
9114 if test -n "$rpath"; then
9115 case $host in
9116 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*)
9117 # these systems don't actually have a c library (as such)!
9118 ;;
9119 *-*-rhapsody* | *-*-darwin1.[012])
9120 # Rhapsody C library is in the System framework
9121 func_append deplibs " System.ltframework"
9122 ;;
9123 *-*-netbsd*)
9124 # Don't link with libc until the a.out ld.so is fixed.
9125 ;;
9126 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
9127 # Do not include libc due to us having libc/libc_r.
9128 ;;
9129 *-*-sco3.2v5* | *-*-sco5v6*)
9130 # Causes problems with __ctype
9131 ;;
9132 *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
9133 # Compiler inserts libc in the correct place for threads to work
9134 ;;
9135 *)
9136 # Add libc to deplibs on all other systems if necessary.
9137 if test yes = "$build_libtool_need_lc"; then
9138 func_append deplibs " -lc"
9139 fi
9140 ;;
9141 esac
9142 fi
9143
9144 # Transform deplibs into only deplibs that can be linked in shared.
9145 name_save=$name
9146 libname_save=$libname
9147 release_save=$release
9148 versuffix_save=$versuffix
9149 major_save=$major
9150 # I'm not sure if I'm treating the release correctly. I think
9151 # release should show up in the -l (ie -lgmp5) so we don't want to
9152 # add it in twice. Is that correct?
9153 release=
9154 versuffix=
9155 major=
9156 newdeplibs=
9157 droppeddeps=no
9158 case $deplibs_check_method in
9159 pass_all)
9160 # Don't check for shared/static. Everything works.
9161 # This might be a little naive. We might want to check
9162 # whether the library exists or not. But this is on
9163 # osf3 & osf4 and I'm not really sure... Just
9164 # implementing what was already the behavior.
9165 newdeplibs=$deplibs
9166 ;;
9167 test_compile)
9168 # This code stresses the "libraries are programs" paradigm to its
9169 # limits. Maybe even breaks it. We compile a program, linking it
9170 # against the deplibs as a proxy for the library. Then we can check
9171 # whether they linked in statically or dynamically with ldd.
9172 $opt_dry_run || $RM conftest.c
9173 cat > conftest.c <<EOF
9174 int main() { return 0; }
9175 EOF
9176 $opt_dry_run || $RM conftest
9177 if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then
9178 ldd_output=`ldd conftest`
9179 for i in $deplibs; do
9180 case $i in
9181 -l*)
9182 func_stripname -l '' "$i"
9183 name=$func_stripname_result
9184 if test yes = "$allow_libtool_libs_with_static_runtimes"; then
9185 case " $predeps $postdeps " in
9186 *" $i "*)
9187 func_append newdeplibs " $i"
9188 i=
9189 ;;
9190 esac
9191 fi
9192 if test -n "$i"; then
9193 libname=`eval "\\$ECHO \"$libname_spec\""`
9194 deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
9195 set dummy $deplib_matches; shift
9196 deplib_match=$1
9197 if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0; then
9198 func_append newdeplibs " $i"
9199 else
9200 droppeddeps=yes
9201 echo
9202 $ECHO "*** Warning: dynamic linker does not accept needed library $i."
9203 echo "*** I have the capability to make that library automatically link in when"
9204 echo "*** you link to this library. But I can only do this if you have a"
9205 echo "*** shared version of the library, which I believe you do not have"
9206 echo "*** because a test_compile did reveal that the linker did not use it for"
9207 echo "*** its dynamic dependency list that programs get resolved with at runtime."
9208 fi
9209 fi
9210 ;;
9211 *)
9212 func_append newdeplibs " $i"
9213 ;;
9214 esac
9215 done
9216 else
9217 # Error occurred in the first compile. Let's try to salvage
9218 # the situation: Compile a separate program for each library.
9219 for i in $deplibs; do
9220 case $i in
9221 -l*)
9222 func_stripname -l '' "$i"
9223 name=$func_stripname_result
9224 $opt_dry_run || $RM conftest
9225 if $LTCC $LTCFLAGS -o conftest conftest.c $i; then
9226 ldd_output=`ldd conftest`
9227 if test yes = "$allow_libtool_libs_with_static_runtimes"; then
9228 case " $predeps $postdeps " in
9229 *" $i "*)
9230 func_append newdeplibs " $i"
9231 i=
9232 ;;
9233 esac
9234 fi
9235 if test -n "$i"; then
9236 libname=`eval "\\$ECHO \"$libname_spec\""`
9237 deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
9238 set dummy $deplib_matches; shift
9239 deplib_match=$1
9240 if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0; then
9241 func_append newdeplibs " $i"
9242 else
9243 droppeddeps=yes
9244 echo
9245 $ECHO "*** Warning: dynamic linker does not accept needed library $i."
9246 echo "*** I have the capability to make that library automatically link in when"
9247 echo "*** you link to this library. But I can only do this if you have a"
9248 echo "*** shared version of the library, which you do not appear to have"
9249 echo "*** because a test_compile did reveal that the linker did not use this one"
9250 echo "*** as a dynamic dependency that programs can get resolved with at runtime."
9251 fi
9252 fi
9253 else
9254 droppeddeps=yes
9255 echo
9256 $ECHO "*** Warning! Library $i is needed by this library but I was not able to"
9257 echo "*** make it link in! You will probably need to install it or some"
9258 echo "*** library that it depends on before this library will be fully"
9259 echo "*** functional. Installing it before continuing would be even better."
9260 fi
9261 ;;
9262 *)
9263 func_append newdeplibs " $i"
9264 ;;
9265 esac
9266 done
9267 fi
9268 ;;
9269 file_magic*)
9270 set dummy $deplibs_check_method; shift
9271 file_magic_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
9272 for a_deplib in $deplibs; do
9273 case $a_deplib in
9274 -l*)
9275 func_stripname -l '' "$a_deplib"
9276 name=$func_stripname_result
9277 if test yes = "$allow_libtool_libs_with_static_runtimes"; then
9278 case " $predeps $postdeps " in
9279 *" $a_deplib "*)
9280 func_append newdeplibs " $a_deplib"
9281 a_deplib=
9282 ;;
9283 esac
9284 fi
9285 if test -n "$a_deplib"; then
9286 libname=`eval "\\$ECHO \"$libname_spec\""`
9287 if test -n "$file_magic_glob"; then
9288 libnameglob=`func_echo_all "$libname" | $SED -e $file_magic_glob`
9289 else
9290 libnameglob=$libname
9291 fi
9292 test yes = "$want_nocaseglob" && nocaseglob=`shopt -p nocaseglob`
9293 for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
9294 if test yes = "$want_nocaseglob"; then
9295 shopt -s nocaseglob
9296 potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null`
9297 $nocaseglob
9298 else
9299 potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null`
9300 fi
9301 for potent_lib in $potential_libs; do
9302 # Follow soft links.
9303 if ls -lLd "$potent_lib" 2>/dev/null |
9304 $GREP " -> " >/dev/null; then
9305 continue
9306 fi
9307 # The statement above tries to avoid entering an
9308 # endless loop below, in case of cyclic links.
9309 # We might still enter an endless loop, since a link
9310 # loop can be closed while we follow links,
9311 # but so what?
9312 potlib=$potent_lib
9313 while test -h "$potlib" 2>/dev/null; do
9314 potliblink=`ls -ld $potlib | $SED 's/.* -> //'`
9315 case $potliblink in
9316 [\\/]* | [A-Za-z]:[\\/]*) potlib=$potliblink;;
9317 *) potlib=`$ECHO "$potlib" | $SED 's|[^/]*$||'`"$potliblink";;
9318 esac
9319 done
9320 if eval $file_magic_cmd \"\$potlib\" 2>/dev/null |
9321 $SED -e 10q |
9322 $EGREP "$file_magic_regex" > /dev/null; then
9323 func_append newdeplibs " $a_deplib"
9324 a_deplib=
9325 break 2
9326 fi
9327 done
9328 done
9329 fi
9330 if test -n "$a_deplib"; then
9331 droppeddeps=yes
9332 echo
9333 $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
9334 echo "*** I have the capability to make that library automatically link in when"
9335 echo "*** you link to this library. But I can only do this if you have a"
9336 echo "*** shared version of the library, which you do not appear to have"
9337 echo "*** because I did check the linker path looking for a file starting"
9338 if test -z "$potlib"; then
9339 $ECHO "*** with $libname but no candidates were found. (...for file magic test)"
9340 else
9341 $ECHO "*** with $libname and none of the candidates passed a file format test"
9342 $ECHO "*** using a file magic. Last file checked: $potlib"
9343 fi
9344 fi
9345 ;;
9346 *)
9347 # Add a -L argument.
9348 func_append newdeplibs " $a_deplib"
9349 ;;
9350 esac
9351 done # Gone through all deplibs.
9352 ;;
9353 match_pattern*)
9354 set dummy $deplibs_check_method; shift
9355 match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
9356 for a_deplib in $deplibs; do
9357 case $a_deplib in
9358 -l*)
9359 func_stripname -l '' "$a_deplib"
9360 name=$func_stripname_result
9361 if test yes = "$allow_libtool_libs_with_static_runtimes"; then
9362 case " $predeps $postdeps " in
9363 *" $a_deplib "*)
9364 func_append newdeplibs " $a_deplib"
9365 a_deplib=
9366 ;;
9367 esac
9368 fi
9369 if test -n "$a_deplib"; then
9370 libname=`eval "\\$ECHO \"$libname_spec\""`
9371 for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
9372 potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
9373 for potent_lib in $potential_libs; do
9374 potlib=$potent_lib # see symlink-check above in file_magic test
9375 if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \
9376 $EGREP "$match_pattern_regex" > /dev/null; then
9377 func_append newdeplibs " $a_deplib"
9378 a_deplib=
9379 break 2
9380 fi
9381 done
9382 done
9383 fi
9384 if test -n "$a_deplib"; then
9385 droppeddeps=yes
9386 echo
9387 $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
9388 echo "*** I have the capability to make that library automatically link in when"
9389 echo "*** you link to this library. But I can only do this if you have a"
9390 echo "*** shared version of the library, which you do not appear to have"
9391 echo "*** because I did check the linker path looking for a file starting"
9392 if test -z "$potlib"; then
9393 $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)"
9394 else
9395 $ECHO "*** with $libname and none of the candidates passed a file format test"
9396 $ECHO "*** using a regex pattern. Last file checked: $potlib"
9397 fi
9398 fi
9399 ;;
9400 *)
9401 # Add a -L argument.
9402 func_append newdeplibs " $a_deplib"
9403 ;;
9404 esac
9405 done # Gone through all deplibs.
9406 ;;
9407 none | unknown | *)
9408 newdeplibs=
9409 tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'`
9410 if test yes = "$allow_libtool_libs_with_static_runtimes"; then
9411 for i in $predeps $postdeps; do
9412 # can't use Xsed below, because $i might contain '/'
9413 tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s|$i||"`
9414 done
9415 fi
9416 case $tmp_deplibs in
9417 *[!\ \ ]*)
9418 echo
9419 if test none = "$deplibs_check_method"; then
9420 echo "*** Warning: inter-library dependencies are not supported in this platform."
9421 else
9422 echo "*** Warning: inter-library dependencies are not known to be supported."
9423 fi
9424 echo "*** All declared inter-library dependencies are being dropped."
9425 droppeddeps=yes
9426 ;;
9427 esac
9428 ;;
9429 esac
9430 versuffix=$versuffix_save
9431 major=$major_save
9432 release=$release_save
9433 libname=$libname_save
9434 name=$name_save
9435
9436 case $host in
9437 *-*-rhapsody* | *-*-darwin1.[012])
9438 # On Rhapsody replace the C library with the System framework
9439 newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'`
9440 ;;
9441 esac
9442
9443 if test yes = "$droppeddeps"; then
9444 if test yes = "$module"; then
9445 echo
9446 echo "*** Warning: libtool could not satisfy all declared inter-library"
9447 $ECHO "*** dependencies of module $libname. Therefore, libtool will create"
9448 echo "*** a static module, that should work as long as the dlopening"
9449 echo "*** application is linked with the -dlopen flag."
9450 if test -z "$global_symbol_pipe"; then
9451 echo
9452 echo "*** However, this would only work if libtool was able to extract symbol"
9453 echo "*** lists from a program, using 'nm' or equivalent, but libtool could"
9454 echo "*** not find such a program. So, this module is probably useless."
9455 echo "*** 'nm' from GNU binutils and a full rebuild may help."
9456 fi
9457 if test no = "$build_old_libs"; then
9458 oldlibs=$output_objdir/$libname.$libext
9459 build_libtool_libs=module
9460 build_old_libs=yes
9461 else
9462 build_libtool_libs=no
9463 fi
9464 else
9465 echo "*** The inter-library dependencies that have been dropped here will be"
9466 echo "*** automatically added whenever a program is linked with this library"
9467 echo "*** or is declared to -dlopen it."
9468
9469 if test no = "$allow_undefined"; then
9470 echo
9471 echo "*** Since this library must not contain undefined symbols,"
9472 echo "*** because either the platform does not support them or"
9473 echo "*** it was explicitly requested with -no-undefined,"
9474 echo "*** libtool will only create a static version of it."
9475 if test no = "$build_old_libs"; then
9476 oldlibs=$output_objdir/$libname.$libext
9477 build_libtool_libs=module
9478 build_old_libs=yes
9479 else
9480 build_libtool_libs=no
9481 fi
9482 fi
9483 fi
9484 fi
9485 # Done checking deplibs!
9486 deplibs=$newdeplibs
9487 fi
9488 # Time to change all our "foo.ltframework" stuff back to "-framework foo"
9489 case $host in
9490 *-*-darwin*)
9491 newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
9492 new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
9493 deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
9494 ;;
9495 esac
9496
9497 # move library search paths that coincide with paths to not yet
9498 # installed libraries to the beginning of the library search list
9499 new_libs=
9500 for path in $notinst_path; do
9501 case " $new_libs " in
9502 *" -L$path/$objdir "*) ;;
9503 *)
9504 case " $deplibs " in
9505 *" -L$path/$objdir "*)
9506 func_append new_libs " -L$path/$objdir" ;;
9507 esac
9508 ;;
9509 esac
9510 done
9511 for deplib in $deplibs; do
9512 case $deplib in
9513 -L*)
9514 case " $new_libs " in
9515 *" $deplib "*) ;;
9516 *) func_append new_libs " $deplib" ;;
9517 esac
9518 ;;
9519 *) func_append new_libs " $deplib" ;;
9520 esac
9521 done
9522 deplibs=$new_libs
9523
9524 # All the library-specific variables (install_libdir is set above).
9525 library_names=
9526 old_library=
9527 dlname=
9528
9529 # Test again, we may have decided not to build it any more
9530 if test yes = "$build_libtool_libs"; then
9531 # Remove $wl instances when linking with ld.
9532 # FIXME: should test the right _cmds variable.
9533 case $archive_cmds in
9534 *\$LD\ *) wl= ;;
9535 esac
9536 if test yes = "$hardcode_into_libs"; then
9537 # Hardcode the library paths
9538 hardcode_libdirs=
9539 dep_rpath=
9540 rpath=$finalize_rpath
9541 test relink = "$opt_mode" || rpath=$compile_rpath$rpath
9542 for libdir in $rpath; do
9543 if test -n "$hardcode_libdir_flag_spec"; then
9544 if test -n "$hardcode_libdir_separator"; then
9545 func_replace_sysroot "$libdir"
9546 libdir=$func_replace_sysroot_result
9547 if test -z "$hardcode_libdirs"; then
9548 hardcode_libdirs=$libdir
9549 else
9550 # Just accumulate the unique libdirs.
9551 case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
9552 *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
9553 ;;
9554 *)
9555 func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
9556 ;;
9557 esac
9558 fi
9559 else
9560 eval flag=\"$hardcode_libdir_flag_spec\"
9561 func_append dep_rpath " $flag"
9562 fi
9563 elif test -n "$runpath_var"; then
9564 case "$perm_rpath " in
9565 *" $libdir "*) ;;
9566 *) func_append perm_rpath " $libdir" ;;
9567 esac
9568 fi
9569 done
9570 # Substitute the hardcoded libdirs into the rpath.
9571 if test -n "$hardcode_libdir_separator" &&
9572 test -n "$hardcode_libdirs"; then
9573 libdir=$hardcode_libdirs
9574 eval "dep_rpath=\"$hardcode_libdir_flag_spec\""
9575 fi
9576 if test -n "$runpath_var" && test -n "$perm_rpath"; then
9577 # We should set the runpath_var.
9578 rpath=
9579 for dir in $perm_rpath; do
9580 func_append rpath "$dir:"
9581 done
9582 eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
9583 fi
9584 test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
9585 fi
9586
9587 shlibpath=$finalize_shlibpath
9588 test relink = "$opt_mode" || shlibpath=$compile_shlibpath$shlibpath
9589 if test -n "$shlibpath"; then
9590 eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
9591 fi
9592
9593 # Get the real and link names of the library.
9594 eval shared_ext=\"$shrext_cmds\"
9595 eval library_names=\"$library_names_spec\"
9596 set dummy $library_names
9597 shift
9598 realname=$1
9599 shift
9600
9601 if test -n "$soname_spec"; then
9602 eval soname=\"$soname_spec\"
9603 else
9604 soname=$realname
9605 fi
9606 if test -z "$dlname"; then
9607 dlname=$soname
9608 fi
9609
9610 lib=$output_objdir/$realname
9611 linknames=
9612 for link
9613 do
9614 func_append linknames " $link"
9615 done
9616
9617 # Use standard objects if they are pic
9618 test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP`
9619 test "X$libobjs" = "X " && libobjs=
9620
9621 delfiles=
9622 if test -n "$export_symbols" && test -n "$include_expsyms"; then
9623 $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp"
9624 export_symbols=$output_objdir/$libname.uexp
9625 func_append delfiles " $export_symbols"
9626 fi
9627
9628 orig_export_symbols=
9629 case $host_os in
9630 cygwin* | mingw* | cegcc*)
9631 if test -n "$export_symbols" && test -z "$export_symbols_regex"; then
9632 # exporting using user supplied symfile
9633 func_dll_def_p "$export_symbols" || {
9634 # and it's NOT already a .def file. Must figure out
9635 # which of the given symbols are data symbols and tag
9636 # them as such. So, trigger use of export_symbols_cmds.
9637 # export_symbols gets reassigned inside the "prepare
9638 # the list of exported symbols" if statement, so the
9639 # include_expsyms logic still works.
9640 orig_export_symbols=$export_symbols
9641 export_symbols=
9642 always_export_symbols=yes
9643 }
9644 fi
9645 ;;
9646 esac
9647
9648 # Prepare the list of exported symbols
9649 if test -z "$export_symbols"; then
9650 if test yes = "$always_export_symbols" || test -n "$export_symbols_regex"; then
9651 func_verbose "generating symbol list for '$libname.la'"
9652 export_symbols=$output_objdir/$libname.exp
9653 $opt_dry_run || $RM $export_symbols
9654 cmds=$export_symbols_cmds
9655 save_ifs=$IFS; IFS='~'
9656 for cmd1 in $cmds; do
9657 IFS=$save_ifs
9658 # Take the normal branch if the nm_file_list_spec branch
9659 # doesn't work or if tool conversion is not needed.
9660 case $nm_file_list_spec~$to_tool_file_cmd in
9661 *~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*)
9662 try_normal_branch=yes
9663 eval cmd=\"$cmd1\"
9664 func_len " $cmd"
9665 len=$func_len_result
9666 ;;
9667 *)
9668 try_normal_branch=no
9669 ;;
9670 esac
9671 if test yes = "$try_normal_branch" \
9672 && { test "$len" -lt "$max_cmd_len" \
9673 || test "$max_cmd_len" -le -1; }
9674 then
9675 func_show_eval "$cmd" 'exit $?'
9676 skipped_export=false
9677 elif test -n "$nm_file_list_spec"; then
9678 func_basename "$output"
9679 output_la=$func_basename_result
9680 save_libobjs=$libobjs
9681 save_output=$output
9682 output=$output_objdir/$output_la.nm
9683 func_to_tool_file "$output"
9684 libobjs=$nm_file_list_spec$func_to_tool_file_result
9685 func_append delfiles " $output"
9686 func_verbose "creating $NM input file list: $output"
9687 for obj in $save_libobjs; do
9688 func_to_tool_file "$obj"
9689 $ECHO "$func_to_tool_file_result"
9690 done > "$output"
9691 eval cmd=\"$cmd1\"
9692 func_show_eval "$cmd" 'exit $?'
9693 output=$save_output
9694 libobjs=$save_libobjs
9695 skipped_export=false
9696 else
9697 # The command line is too long to execute in one step.
9698 func_verbose "using reloadable object file for export list..."
9699 skipped_export=:
9700 # Break out early, otherwise skipped_export may be
9701 # set to false by a later but shorter cmd.
9702 break
9703 fi
9704 done
9705 IFS=$save_ifs
9706 if test -n "$export_symbols_regex" && test : != "$skipped_export"; then
9707 func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
9708 func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
9709 fi
9710 fi
9711 fi
9712
9713 if test -n "$export_symbols" && test -n "$include_expsyms"; then
9714 tmp_export_symbols=$export_symbols
9715 test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols
9716 $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
9717 fi
9718
9719 if test : != "$skipped_export" && test -n "$orig_export_symbols"; then
9720 # The given exports_symbols file has to be filtered, so filter it.
9721 func_verbose "filter symbol list for '$libname.la' to tag DATA exports"
9722 # FIXME: $output_objdir/$libname.filter potentially contains lots of
9723 # 's' commands, which not all seds can handle. GNU sed should be fine
9724 # though. Also, the filter scales superlinearly with the number of
9725 # global variables. join(1) would be nice here, but unfortunately
9726 # isn't a blessed tool.
9727 $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
9728 func_append delfiles " $export_symbols $output_objdir/$libname.filter"
9729 export_symbols=$output_objdir/$libname.def
9730 $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
9731 fi
9732
9733 tmp_deplibs=
9734 for test_deplib in $deplibs; do
9735 case " $convenience " in
9736 *" $test_deplib "*) ;;
9737 *)
9738 func_append tmp_deplibs " $test_deplib"
9739 ;;
9740 esac
9741 done
9742 deplibs=$tmp_deplibs
9743
9744 if test -n "$convenience"; then
9745 if test -n "$whole_archive_flag_spec" &&
9746 test yes = "$compiler_needs_object" &&
9747 test -z "$libobjs"; then
9748 # extract the archives, so we have objects to list.
9749 # TODO: could optimize this to just extract one archive.
9750 whole_archive_flag_spec=
9751 fi
9752 if test -n "$whole_archive_flag_spec"; then
9753 save_libobjs=$libobjs
9754 eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
9755 test "X$libobjs" = "X " && libobjs=
9756 else
9757 gentop=$output_objdir/${outputname}x
9758 func_append generated " $gentop"
9759
9760 func_extract_archives $gentop $convenience
9761 func_append libobjs " $func_extract_archives_result"
9762 test "X$libobjs" = "X " && libobjs=
9763 fi
9764 fi
9765
9766 if test yes = "$thread_safe" && test -n "$thread_safe_flag_spec"; then
9767 eval flag=\"$thread_safe_flag_spec\"
9768 func_append linker_flags " $flag"
9769 fi
9770
9771 # Make a backup of the uninstalled library when relinking
9772 if test relink = "$opt_mode"; then
9773 $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $?
9774 fi
9775
9776 # Do each of the archive commands.
9777 if test yes = "$module" && test -n "$module_cmds"; then
9778 if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
9779 eval test_cmds=\"$module_expsym_cmds\"
9780 cmds=$module_expsym_cmds
9781 else
9782 eval test_cmds=\"$module_cmds\"
9783 cmds=$module_cmds
9784 fi
9785 else
9786 if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
9787 eval test_cmds=\"$archive_expsym_cmds\"
9788 cmds=$archive_expsym_cmds
9789 else
9790 eval test_cmds=\"$archive_cmds\"
9791 cmds=$archive_cmds
9792 fi
9793 fi
9794
9795 if test : != "$skipped_export" &&
9796 func_len " $test_cmds" &&
9797 len=$func_len_result &&
9798 test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
9799 :
9800 else
9801 # The command line is too long to link in one step, link piecewise
9802 # or, if using GNU ld and skipped_export is not :, use a linker
9803 # script.
9804
9805 # Save the value of $output and $libobjs because we want to
9806 # use them later. If we have whole_archive_flag_spec, we
9807 # want to use save_libobjs as it was before
9808 # whole_archive_flag_spec was expanded, because we can't
9809 # assume the linker understands whole_archive_flag_spec.
9810 # This may have to be revisited, in case too many
9811 # convenience libraries get linked in and end up exceeding
9812 # the spec.
9813 if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
9814 save_libobjs=$libobjs
9815 fi
9816 save_output=$output
9817 func_basename "$output"
9818 output_la=$func_basename_result
9819
9820 # Clear the reloadable object creation command queue and
9821 # initialize k to one.
9822 test_cmds=
9823 concat_cmds=
9824 objlist=
9825 last_robj=
9826 k=1
9827
9828 if test -n "$save_libobjs" && test : != "$skipped_export" && test yes = "$with_gnu_ld"; then
9829 output=$output_objdir/$output_la.lnkscript
9830 func_verbose "creating GNU ld script: $output"
9831 echo 'INPUT (' > $output
9832 for obj in $save_libobjs
9833 do
9834 func_to_tool_file "$obj"
9835 $ECHO "$func_to_tool_file_result" >> $output
9836 done
9837 echo ')' >> $output
9838 func_append delfiles " $output"
9839 func_to_tool_file "$output"
9840 output=$func_to_tool_file_result
9841 elif test -n "$save_libobjs" && test : != "$skipped_export" && test -n "$file_list_spec"; then
9842 output=$output_objdir/$output_la.lnk
9843 func_verbose "creating linker input file list: $output"
9844 : > $output
9845 set x $save_libobjs
9846 shift
9847 firstobj=
9848 if test yes = "$compiler_needs_object"; then
9849 firstobj="$1 "
9850 shift
9851 fi
9852 for obj
9853 do
9854 func_to_tool_file "$obj"
9855 $ECHO "$func_to_tool_file_result" >> $output
9856 done
9857 func_append delfiles " $output"
9858 func_to_tool_file "$output"
9859 output=$firstobj\"$file_list_spec$func_to_tool_file_result\"
9860 else
9861 if test -n "$save_libobjs"; then
9862 func_verbose "creating reloadable object files..."
9863 output=$output_objdir/$output_la-$k.$objext
9864 eval test_cmds=\"$reload_cmds\"
9865 func_len " $test_cmds"
9866 len0=$func_len_result
9867 len=$len0
9868
9869 # Loop over the list of objects to be linked.
9870 for obj in $save_libobjs
9871 do
9872 func_len " $obj"
9873 func_arith $len + $func_len_result
9874 len=$func_arith_result
9875 if test -z "$objlist" ||
9876 test "$len" -lt "$max_cmd_len"; then
9877 func_append objlist " $obj"
9878 else
9879 # The command $test_cmds is almost too long, add a
9880 # command to the queue.
9881 if test 1 -eq "$k"; then
9882 # The first file doesn't have a previous command to add.
9883 reload_objs=$objlist
9884 eval concat_cmds=\"$reload_cmds\"
9885 else
9886 # All subsequent reloadable object files will link in
9887 # the last one created.
9888 reload_objs="$objlist $last_robj"
9889 eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\"
9890 fi
9891 last_robj=$output_objdir/$output_la-$k.$objext
9892 func_arith $k + 1
9893 k=$func_arith_result
9894 output=$output_objdir/$output_la-$k.$objext
9895 objlist=" $obj"
9896 func_len " $last_robj"
9897 func_arith $len0 + $func_len_result
9898 len=$func_arith_result
9899 fi
9900 done
9901 # Handle the remaining objects by creating one last
9902 # reloadable object file. All subsequent reloadable object
9903 # files will link in the last one created.
9904 test -z "$concat_cmds" || concat_cmds=$concat_cmds~
9905 reload_objs="$objlist $last_robj"
9906 eval concat_cmds=\"\$concat_cmds$reload_cmds\"
9907 if test -n "$last_robj"; then
9908 eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\"
9909 fi
9910 func_append delfiles " $output"
9911
9912 else
9913 output=
9914 fi
9915
9916 ${skipped_export-false} && {
9917 func_verbose "generating symbol list for '$libname.la'"
9918 export_symbols=$output_objdir/$libname.exp
9919 $opt_dry_run || $RM $export_symbols
9920 libobjs=$output
9921 # Append the command to create the export file.
9922 test -z "$concat_cmds" || concat_cmds=$concat_cmds~
9923 eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\"
9924 if test -n "$last_robj"; then
9925 eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\"
9926 fi
9927 }
9928
9929 test -n "$save_libobjs" &&
9930 func_verbose "creating a temporary reloadable object file: $output"
9931
9932 # Loop through the commands generated above and execute them.
9933 save_ifs=$IFS; IFS='~'
9934 for cmd in $concat_cmds; do
9935 IFS=$save_ifs
9936 $opt_quiet || {
9937 func_quote_for_expand "$cmd"
9938 eval "func_echo $func_quote_for_expand_result"
9939 }
9940 $opt_dry_run || eval "$cmd" || {
9941 lt_exit=$?
9942
9943 # Restore the uninstalled library and exit
9944 if test relink = "$opt_mode"; then
9945 ( cd "$output_objdir" && \
9946 $RM "${realname}T" && \
9947 $MV "${realname}U" "$realname" )
9948 fi
9949
9950 exit $lt_exit
9951 }
9952 done
9953 IFS=$save_ifs
9954
9955 if test -n "$export_symbols_regex" && ${skipped_export-false}; then
9956 func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
9957 func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
9958 fi
9959 fi
9960
9961 ${skipped_export-false} && {
9962 if test -n "$export_symbols" && test -n "$include_expsyms"; then
9963 tmp_export_symbols=$export_symbols
9964 test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols
9965 $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
9966 fi
9967
9968 if test -n "$orig_export_symbols"; then
9969 # The given exports_symbols file has to be filtered, so filter it.
9970 func_verbose "filter symbol list for '$libname.la' to tag DATA exports"
9971 # FIXME: $output_objdir/$libname.filter potentially contains lots of
9972 # 's' commands, which not all seds can handle. GNU sed should be fine
9973 # though. Also, the filter scales superlinearly with the number of
9974 # global variables. join(1) would be nice here, but unfortunately
9975 # isn't a blessed tool.
9976 $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
9977 func_append delfiles " $export_symbols $output_objdir/$libname.filter"
9978 export_symbols=$output_objdir/$libname.def
9979 $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
9980 fi
9981 }
9982
9983 libobjs=$output
9984 # Restore the value of output.
9985 output=$save_output
9986
9987 if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
9988 eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
9989 test "X$libobjs" = "X " && libobjs=
9990 fi
9991 # Expand the library linking commands again to reset the
9992 # value of $libobjs for piecewise linking.
9993
9994 # Do each of the archive commands.
9995 if test yes = "$module" && test -n "$module_cmds"; then
9996 if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
9997 cmds=$module_expsym_cmds
9998 else
9999 cmds=$module_cmds
10000 fi
10001 else
10002 if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
10003 cmds=$archive_expsym_cmds
10004 else
10005 cmds=$archive_cmds
10006 fi
10007 fi
10008 fi
10009
10010 if test -n "$delfiles"; then
10011 # Append the command to remove temporary files to $cmds.
10012 eval cmds=\"\$cmds~\$RM $delfiles\"
10013 fi
10014
10015 # Add any objects from preloaded convenience libraries
10016 if test -n "$dlprefiles"; then
10017 gentop=$output_objdir/${outputname}x
10018 func_append generated " $gentop"
10019
10020 func_extract_archives $gentop $dlprefiles
10021 func_append libobjs " $func_extract_archives_result"
10022 test "X$libobjs" = "X " && libobjs=
10023 fi
10024
10025 save_ifs=$IFS; IFS='~'
10026 for cmd in $cmds; do
10027 IFS=$sp$nl
10028 eval cmd=\"$cmd\"
10029 IFS=$save_ifs
10030 $opt_quiet || {
10031 func_quote_for_expand "$cmd"
10032 eval "func_echo $func_quote_for_expand_result"
10033 }
10034 $opt_dry_run || eval "$cmd" || {
10035 lt_exit=$?
10036
10037 # Restore the uninstalled library and exit
10038 if test relink = "$opt_mode"; then
10039 ( cd "$output_objdir" && \
10040 $RM "${realname}T" && \
10041 $MV "${realname}U" "$realname" )
10042 fi
10043
10044 exit $lt_exit
10045 }
10046 done
10047 IFS=$save_ifs
10048
10049 # Restore the uninstalled library and exit
10050 if test relink = "$opt_mode"; then
10051 $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $?
10052
10053 if test -n "$convenience"; then
10054 if test -z "$whole_archive_flag_spec"; then
10055 func_show_eval '${RM}r "$gentop"'
10056 fi
10057 fi
10058
10059 exit $EXIT_SUCCESS
10060 fi
10061
10062 # Create links to the real library.
10063 for linkname in $linknames; do
10064 if test "$realname" != "$linkname"; then
10065 func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?'
10066 fi
10067 done
10068
10069 # If -module or -export-dynamic was specified, set the dlname.
10070 if test yes = "$module" || test yes = "$export_dynamic"; then
10071 # On all known operating systems, these are identical.
10072 dlname=$soname
10073 fi
10074 fi
10075 ;;
10076
10077 obj)
10078 if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then
10079 func_warning "'-dlopen' is ignored for objects"
10080 fi
10081
10082 case " $deplibs" in
10083 *\ -l* | *\ -L*)
10084 func_warning "'-l' and '-L' are ignored for objects" ;;
10085 esac
10086
10087 test -n "$rpath" && \
10088 func_warning "'-rpath' is ignored for objects"
10089
10090 test -n "$xrpath" && \
10091 func_warning "'-R' is ignored for objects"
10092
10093 test -n "$vinfo" && \
10094 func_warning "'-version-info' is ignored for objects"
10095
10096 test -n "$release" && \
10097 func_warning "'-release' is ignored for objects"
10098
10099 case $output in
10100 *.lo)
10101 test -n "$objs$old_deplibs" && \
10102 func_fatal_error "cannot build library object '$output' from non-libtool objects"
10103
10104 libobj=$output
10105 func_lo2o "$libobj"
10106 obj=$func_lo2o_result
10107 ;;
10108 *)
10109 libobj=
10110 obj=$output
10111 ;;
10112 esac
10113
10114 # Delete the old objects.
10115 $opt_dry_run || $RM $obj $libobj
10116
10117 # Objects from convenience libraries. This assumes
10118 # single-version convenience libraries. Whenever we create
10119 # different ones for PIC/non-PIC, this we'll have to duplicate
10120 # the extraction.
10121 reload_conv_objs=
10122 gentop=
10123 # if reload_cmds runs $LD directly, get rid of -Wl from
10124 # whole_archive_flag_spec and hope we can get by with turning comma
10125 # into space.
10126 case $reload_cmds in
10127 *\$LD[\ \$]*) wl= ;;
10128 esac
10129 if test -n "$convenience"; then
10130 if test -n "$whole_archive_flag_spec"; then
10131 eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
10132 test -n "$wl" || tmp_whole_archive_flags=`$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'`
10133 reload_conv_objs=$reload_objs\ $tmp_whole_archive_flags
10134 else
10135 gentop=$output_objdir/${obj}x
10136 func_append generated " $gentop"
10137
10138 func_extract_archives $gentop $convenience
10139 reload_conv_objs="$reload_objs $func_extract_archives_result"
10140 fi
10141 fi
10142
10143 # If we're not building shared, we need to use non_pic_objs
10144 test yes = "$build_libtool_libs" || libobjs=$non_pic_objects
10145
10146 # Create the old-style object.
10147 reload_objs=$objs$old_deplibs' '`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; /\.lib$/d; $lo2o" | $NL2SP`' '$reload_conv_objs
10148
10149 output=$obj
10150 func_execute_cmds "$reload_cmds" 'exit $?'
10151
10152 # Exit if we aren't doing a library object file.
10153 if test -z "$libobj"; then
10154 if test -n "$gentop"; then
10155 func_show_eval '${RM}r "$gentop"'
10156 fi
10157
10158 exit $EXIT_SUCCESS
10159 fi
10160
10161 test yes = "$build_libtool_libs" || {
10162 if test -n "$gentop"; then
10163 func_show_eval '${RM}r "$gentop"'
10164 fi
10165
10166 # Create an invalid libtool object if no PIC, so that we don't
10167 # accidentally link it into a program.
10168 # $show "echo timestamp > $libobj"
10169 # $opt_dry_run || eval "echo timestamp > $libobj" || exit $?
10170 exit $EXIT_SUCCESS
10171 }
10172
10173 if test -n "$pic_flag" || test default != "$pic_mode"; then
10174 # Only do commands if we really have different PIC objects.
10175 reload_objs="$libobjs $reload_conv_objs"
10176 output=$libobj
10177 func_execute_cmds "$reload_cmds" 'exit $?'
10178 fi
10179
10180 if test -n "$gentop"; then
10181 func_show_eval '${RM}r "$gentop"'
10182 fi
10183
10184 exit $EXIT_SUCCESS
10185 ;;
10186
10187 prog)
10188 case $host in
10189 *cygwin*) func_stripname '' '.exe' "$output"
10190 output=$func_stripname_result.exe;;
10191 esac
10192 test -n "$vinfo" && \
10193 func_warning "'-version-info' is ignored for programs"
10194
10195 test -n "$release" && \
10196 func_warning "'-release' is ignored for programs"
10197
10198 $preload \
10199 && test unknown,unknown,unknown = "$dlopen_support,$dlopen_self,$dlopen_self_static" \
10200 && func_warning "'LT_INIT([dlopen])' not used. Assuming no dlopen support."
10201
10202 case $host in
10203 *-*-rhapsody* | *-*-darwin1.[012])
10204 # On Rhapsody replace the C library is the System framework
10205 compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'`
10206 finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'`
10207 ;;
10208 esac
10209
10210 case $host in
10211 *-*-darwin*)
10212 # Don't allow lazy linking, it breaks C++ global constructors
10213 # But is supposedly fixed on 10.4 or later (yay!).
10214 if test CXX = "$tagname"; then
10215 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
10216 10.[0123])
10217 func_append compile_command " $wl-bind_at_load"
10218 func_append finalize_command " $wl-bind_at_load"
10219 ;;
10220 esac
10221 fi
10222 # Time to change all our "foo.ltframework" stuff back to "-framework foo"
10223 compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
10224 finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
10225 ;;
10226 esac
10227
10228
10229 # move library search paths that coincide with paths to not yet
10230 # installed libraries to the beginning of the library search list
10231 new_libs=
10232 for path in $notinst_path; do
10233 case " $new_libs " in
10234 *" -L$path/$objdir "*) ;;
10235 *)
10236 case " $compile_deplibs " in
10237 *" -L$path/$objdir "*)
10238 func_append new_libs " -L$path/$objdir" ;;
10239 esac
10240 ;;
10241 esac
10242 done
10243 for deplib in $compile_deplibs; do
10244 case $deplib in
10245 -L*)
10246 case " $new_libs " in
10247 *" $deplib "*) ;;
10248 *) func_append new_libs " $deplib" ;;
10249 esac
10250 ;;
10251 *) func_append new_libs " $deplib" ;;
10252 esac
10253 done
10254 compile_deplibs=$new_libs
10255
10256
10257 func_append compile_command " $compile_deplibs"
10258 func_append finalize_command " $finalize_deplibs"
10259
10260 if test -n "$rpath$xrpath"; then
10261 # If the user specified any rpath flags, then add them.
10262 for libdir in $rpath $xrpath; do
10263 # This is the magic to use -rpath.
10264 case "$finalize_rpath " in
10265 *" $libdir "*) ;;
10266 *) func_append finalize_rpath " $libdir" ;;
10267 esac
10268 done
10269 fi
10270
10271 # Now hardcode the library paths
10272 rpath=
10273 hardcode_libdirs=
10274 for libdir in $compile_rpath $finalize_rpath; do
10275 if test -n "$hardcode_libdir_flag_spec"; then
10276 if test -n "$hardcode_libdir_separator"; then
10277 if test -z "$hardcode_libdirs"; then
10278 hardcode_libdirs=$libdir
10279 else
10280 # Just accumulate the unique libdirs.
10281 case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
10282 *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
10283 ;;
10284 *)
10285 func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
10286 ;;
10287 esac
10288 fi
10289 else
10290 eval flag=\"$hardcode_libdir_flag_spec\"
10291 func_append rpath " $flag"
10292 fi
10293 elif test -n "$runpath_var"; then
10294 case "$perm_rpath " in
10295 *" $libdir "*) ;;
10296 *) func_append perm_rpath " $libdir" ;;
10297 esac
10298 fi
10299 case $host in
10300 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
10301 testbindir=`$ECHO "$libdir" | $SED -e 's*/lib$*/bin*'`
10302 case :$dllsearchpath: in
10303 *":$libdir:"*) ;;
10304 ::) dllsearchpath=$libdir;;
10305 *) func_append dllsearchpath ":$libdir";;
10306 esac
10307 case :$dllsearchpath: in
10308 *":$testbindir:"*) ;;
10309 ::) dllsearchpath=$testbindir;;
10310 *) func_append dllsearchpath ":$testbindir";;
10311 esac
10312 ;;
10313 esac
10314 done
10315 # Substitute the hardcoded libdirs into the rpath.
10316 if test -n "$hardcode_libdir_separator" &&
10317 test -n "$hardcode_libdirs"; then
10318 libdir=$hardcode_libdirs
10319 eval rpath=\" $hardcode_libdir_flag_spec\"
10320 fi
10321 compile_rpath=$rpath
10322
10323 rpath=
10324 hardcode_libdirs=
10325 for libdir in $finalize_rpath; do
10326 if test -n "$hardcode_libdir_flag_spec"; then
10327 if test -n "$hardcode_libdir_separator"; then
10328 if test -z "$hardcode_libdirs"; then
10329 hardcode_libdirs=$libdir
10330 else
10331 # Just accumulate the unique libdirs.
10332 case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
10333 *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
10334 ;;
10335 *)
10336 func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
10337 ;;
10338 esac
10339 fi
10340 else
10341 eval flag=\"$hardcode_libdir_flag_spec\"
10342 func_append rpath " $flag"
10343 fi
10344 elif test -n "$runpath_var"; then
10345 case "$finalize_perm_rpath " in
10346 *" $libdir "*) ;;
10347 *) func_append finalize_perm_rpath " $libdir" ;;
10348 esac
10349 fi
10350 done
10351 # Substitute the hardcoded libdirs into the rpath.
10352 if test -n "$hardcode_libdir_separator" &&
10353 test -n "$hardcode_libdirs"; then
10354 libdir=$hardcode_libdirs
10355 eval rpath=\" $hardcode_libdir_flag_spec\"
10356 fi
10357 finalize_rpath=$rpath
10358
10359 if test -n "$libobjs" && test yes = "$build_old_libs"; then
10360 # Transform all the library objects into standard objects.
10361 compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
10362 finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
10363 fi
10364
10365 func_generate_dlsyms "$outputname" "@PROGRAM@" false
10366
10367 # template prelinking step
10368 if test -n "$prelink_cmds"; then
10369 func_execute_cmds "$prelink_cmds" 'exit $?'
10370 fi
10371
10372 wrappers_required=:
10373 case $host in
10374 *cegcc* | *mingw32ce*)
10375 # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway.
10376 wrappers_required=false
10377 ;;
10378 *cygwin* | *mingw* )
10379 test yes = "$build_libtool_libs" || wrappers_required=false
10380 ;;
10381 *)
10382 if test no = "$need_relink" || test yes != "$build_libtool_libs"; then
10383 wrappers_required=false
10384 fi
10385 ;;
10386 esac
10387 $wrappers_required || {
10388 # Replace the output file specification.
10389 compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
10390 link_command=$compile_command$compile_rpath
10391
10392 # We have no uninstalled library dependencies, so finalize right now.
10393 exit_status=0
10394 func_show_eval "$link_command" 'exit_status=$?'
10395
10396 if test -n "$postlink_cmds"; then
10397 func_to_tool_file "$output"
10398 postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
10399 func_execute_cmds "$postlink_cmds" 'exit $?'
10400 fi
10401
10402 # Delete the generated files.
10403 if test -f "$output_objdir/${outputname}S.$objext"; then
10404 func_show_eval '$RM "$output_objdir/${outputname}S.$objext"'
10405 fi
10406
10407 exit $exit_status
10408 }
10409
10410 if test -n "$compile_shlibpath$finalize_shlibpath"; then
10411 compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
10412 fi
10413 if test -n "$finalize_shlibpath"; then
10414 finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
10415 fi
10416
10417 compile_var=
10418 finalize_var=
10419 if test -n "$runpath_var"; then
10420 if test -n "$perm_rpath"; then
10421 # We should set the runpath_var.
10422 rpath=
10423 for dir in $perm_rpath; do
10424 func_append rpath "$dir:"
10425 done
10426 compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
10427 fi
10428 if test -n "$finalize_perm_rpath"; then
10429 # We should set the runpath_var.
10430 rpath=
10431 for dir in $finalize_perm_rpath; do
10432 func_append rpath "$dir:"
10433 done
10434 finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
10435 fi
10436 fi
10437
10438 if test yes = "$no_install"; then
10439 # We don't need to create a wrapper script.
10440 link_command=$compile_var$compile_command$compile_rpath
10441 # Replace the output file specification.
10442 link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
10443 # Delete the old output file.
10444 $opt_dry_run || $RM $output
10445 # Link the executable and exit
10446 func_show_eval "$link_command" 'exit $?'
10447
10448 if test -n "$postlink_cmds"; then
10449 func_to_tool_file "$output"
10450 postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
10451 func_execute_cmds "$postlink_cmds" 'exit $?'
10452 fi
10453
10454 exit $EXIT_SUCCESS
10455 fi
10456
10457 case $hardcode_action,$fast_install in
10458 relink,*)
10459 # Fast installation is not supported
10460 link_command=$compile_var$compile_command$compile_rpath
10461 relink_command=$finalize_var$finalize_command$finalize_rpath
10462
10463 func_warning "this platform does not like uninstalled shared libraries"
10464 func_warning "'$output' will be relinked during installation"
10465 ;;
10466 *,yes)
10467 link_command=$finalize_var$compile_command$finalize_rpath
10468 relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'`
10469 ;;
10470 *,no)
10471 link_command=$compile_var$compile_command$compile_rpath
10472 relink_command=$finalize_var$finalize_command$finalize_rpath
10473 ;;
10474 *,needless)
10475 link_command=$finalize_var$compile_command$finalize_rpath
10476 relink_command=
10477 ;;
10478 esac
10479
10480 # Replace the output file specification.
10481 link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
10482
10483 # Delete the old output files.
10484 $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname
10485
10486 func_show_eval "$link_command" 'exit $?'
10487
10488 if test -n "$postlink_cmds"; then
10489 func_to_tool_file "$output_objdir/$outputname"
10490 postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
10491 func_execute_cmds "$postlink_cmds" 'exit $?'
10492 fi
10493
10494 # Now create the wrapper script.
10495 func_verbose "creating $output"
10496
10497 # Quote the relink command for shipping.
10498 if test -n "$relink_command"; then
10499 # Preserve any variables that may affect compiler behavior
10500 for var in $variables_saved_for_relink; do
10501 if eval test -z \"\${$var+set}\"; then
10502 relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command"
10503 elif eval var_value=\$$var; test -z "$var_value"; then
10504 relink_command="$var=; export $var; $relink_command"
10505 else
10506 func_quote_for_eval "$var_value"
10507 relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
10508 fi
10509 done
10510 relink_command="(cd `pwd`; $relink_command)"
10511 relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
10512 fi
10513
10514 # Only actually do things if not in dry run mode.
10515 $opt_dry_run || {
10516 # win32 will think the script is a binary if it has
10517 # a .exe suffix, so we strip it off here.
10518 case $output in
10519 *.exe) func_stripname '' '.exe' "$output"
10520 output=$func_stripname_result ;;
10521 esac
10522 # test for cygwin because mv fails w/o .exe extensions
10523 case $host in
10524 *cygwin*)
10525 exeext=.exe
10526 func_stripname '' '.exe' "$outputname"
10527 outputname=$func_stripname_result ;;
10528 *) exeext= ;;
10529 esac
10530 case $host in
10531 *cygwin* | *mingw* )
10532 func_dirname_and_basename "$output" "" "."
10533 output_name=$func_basename_result
10534 output_path=$func_dirname_result
10535 cwrappersource=$output_path/$objdir/lt-$output_name.c
10536 cwrapper=$output_path/$output_name.exe
10537 $RM $cwrappersource $cwrapper
10538 trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
10539
10540 func_emit_cwrapperexe_src > $cwrappersource
10541
10542 # The wrapper executable is built using the $host compiler,
10543 # because it contains $host paths and files. If cross-
10544 # compiling, it, like the target executable, must be
10545 # executed on the $host or under an emulation environment.
10546 $opt_dry_run || {
10547 $LTCC $LTCFLAGS -o $cwrapper $cwrappersource
10548 $STRIP $cwrapper
10549 }
10550
10551 # Now, create the wrapper script for func_source use:
10552 func_ltwrapper_scriptname $cwrapper
10553 $RM $func_ltwrapper_scriptname_result
10554 trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15
10555 $opt_dry_run || {
10556 # note: this script will not be executed, so do not chmod.
10557 if test "x$build" = "x$host"; then
10558 $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result
10559 else
10560 func_emit_wrapper no > $func_ltwrapper_scriptname_result
10561 fi
10562 }
10563 ;;
10564 * )
10565 $RM $output
10566 trap "$RM $output; exit $EXIT_FAILURE" 1 2 15
10567
10568 func_emit_wrapper no > $output
10569 chmod +x $output
10570 ;;
10571 esac
10572 }
10573 exit $EXIT_SUCCESS
10574 ;;
10575 esac
10576
10577 # See if we need to build an old-fashioned archive.
10578 for oldlib in $oldlibs; do
10579
10580 case $build_libtool_libs in
10581 convenience)
10582 oldobjs="$libobjs_save $symfileobj"
10583 addlibs=$convenience
10584 build_libtool_libs=no
10585 ;;
10586 module)
10587 oldobjs=$libobjs_save
10588 addlibs=$old_convenience
10589 build_libtool_libs=no
10590 ;;
10591 *)
10592 oldobjs="$old_deplibs $non_pic_objects"
10593 $preload && test -f "$symfileobj" \
10594 && func_append oldobjs " $symfileobj"
10595 addlibs=$old_convenience
10596 ;;
10597 esac
10598
10599 if test -n "$addlibs"; then
10600 gentop=$output_objdir/${outputname}x
10601 func_append generated " $gentop"
10602
10603 func_extract_archives $gentop $addlibs
10604 func_append oldobjs " $func_extract_archives_result"
10605 fi
10606
10607 # Do each command in the archive commands.
10608 if test -n "$old_archive_from_new_cmds" && test yes = "$build_libtool_libs"; then
10609 cmds=$old_archive_from_new_cmds
10610 else
10611
10612 # Add any objects from preloaded convenience libraries
10613 if test -n "$dlprefiles"; then
10614 gentop=$output_objdir/${outputname}x
10615 func_append generated " $gentop"
10616
10617 func_extract_archives $gentop $dlprefiles
10618 func_append oldobjs " $func_extract_archives_result"
10619 fi
10620
10621 # POSIX demands no paths to be encoded in archives. We have
10622 # to avoid creating archives with duplicate basenames if we
10623 # might have to extract them afterwards, e.g., when creating a
10624 # static archive out of a convenience library, or when linking
10625 # the entirety of a libtool archive into another (currently
10626 # not supported by libtool).
10627 if (for obj in $oldobjs
10628 do
10629 func_basename "$obj"
10630 $ECHO "$func_basename_result"
10631 done | sort | sort -uc >/dev/null 2>&1); then
10632 :
10633 else
10634 echo "copying selected object files to avoid basename conflicts..."
10635 gentop=$output_objdir/${outputname}x
10636 func_append generated " $gentop"
10637 func_mkdir_p "$gentop"
10638 save_oldobjs=$oldobjs
10639 oldobjs=
10640 counter=1
10641 for obj in $save_oldobjs
10642 do
10643 func_basename "$obj"
10644 objbase=$func_basename_result
10645 case " $oldobjs " in
10646 " ") oldobjs=$obj ;;
10647 *[\ /]"$objbase "*)
10648 while :; do
10649 # Make sure we don't pick an alternate name that also
10650 # overlaps.
10651 newobj=lt$counter-$objbase
10652 func_arith $counter + 1
10653 counter=$func_arith_result
10654 case " $oldobjs " in
10655 *[\ /]"$newobj "*) ;;
10656 *) if test ! -f "$gentop/$newobj"; then break; fi ;;
10657 esac
10658 done
10659 func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
10660 func_append oldobjs " $gentop/$newobj"
10661 ;;
10662 *) func_append oldobjs " $obj" ;;
10663 esac
10664 done
10665 fi
10666 func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
10667 tool_oldlib=$func_to_tool_file_result
10668 eval cmds=\"$old_archive_cmds\"
10669
10670 func_len " $cmds"
10671 len=$func_len_result
10672 if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
10673 cmds=$old_archive_cmds
10674 elif test -n "$archiver_list_spec"; then
10675 func_verbose "using command file archive linking..."
10676 for obj in $oldobjs
10677 do
10678 func_to_tool_file "$obj"
10679 $ECHO "$func_to_tool_file_result"
10680 done > $output_objdir/$libname.libcmd
10681 func_to_tool_file "$output_objdir/$libname.libcmd"
10682 oldobjs=" $archiver_list_spec$func_to_tool_file_result"
10683 cmds=$old_archive_cmds
10684 else
10685 # the command line is too long to link in one step, link in parts
10686 func_verbose "using piecewise archive linking..."
10687 save_RANLIB=$RANLIB
10688 RANLIB=:
10689 objlist=
10690 concat_cmds=
10691 save_oldobjs=$oldobjs
10692 oldobjs=
10693 # Is there a better way of finding the last object in the list?
10694 for obj in $save_oldobjs
10695 do
10696 last_oldobj=$obj
10697 done
10698 eval test_cmds=\"$old_archive_cmds\"
10699 func_len " $test_cmds"
10700 len0=$func_len_result
10701 len=$len0
10702 for obj in $save_oldobjs
10703 do
10704 func_len " $obj"
10705 func_arith $len + $func_len_result
10706 len=$func_arith_result
10707 func_append objlist " $obj"
10708 if test "$len" -lt "$max_cmd_len"; then
10709 :
10710 else
10711 # the above command should be used before it gets too long
10712 oldobjs=$objlist
10713 if test "$obj" = "$last_oldobj"; then
10714 RANLIB=$save_RANLIB
10715 fi
10716 test -z "$concat_cmds" || concat_cmds=$concat_cmds~
10717 eval concat_cmds=\"\$concat_cmds$old_archive_cmds\"
10718 objlist=
10719 len=$len0
10720 fi
10721 done
10722 RANLIB=$save_RANLIB
10723 oldobjs=$objlist
10724 if test -z "$oldobjs"; then
10725 eval cmds=\"\$concat_cmds\"
10726 else
10727 eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
10728 fi
10729 fi
10730 fi
10731 func_execute_cmds "$cmds" 'exit $?'
10732 done
10733
10734 test -n "$generated" && \
10735 func_show_eval "${RM}r$generated"
10736
10737 # Now create the libtool archive.
10738 case $output in
10739 *.la)
10740 old_library=
10741 test yes = "$build_old_libs" && old_library=$libname.$libext
10742 func_verbose "creating $output"
10743
10744 # Preserve any variables that may affect compiler behavior
10745 for var in $variables_saved_for_relink; do
10746 if eval test -z \"\${$var+set}\"; then
10747 relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command"
10748 elif eval var_value=\$$var; test -z "$var_value"; then
10749 relink_command="$var=; export $var; $relink_command"
10750 else
10751 func_quote_for_eval "$var_value"
10752 relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
10753 fi
10754 done
10755 # Quote the link command for shipping.
10756 relink_command="(cd `pwd`; $SHELL \"$progpath\" $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
10757 relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
10758 if test yes = "$hardcode_automatic"; then
10759 relink_command=
10760 fi
10761
10762 # Only create the output if not a dry run.
10763 $opt_dry_run || {
10764 for installed in no yes; do
10765 if test yes = "$installed"; then
10766 if test -z "$install_libdir"; then
10767 break
10768 fi
10769 output=$output_objdir/${outputname}i
10770 # Replace all uninstalled libtool libraries with the installed ones
10771 newdependency_libs=
10772 for deplib in $dependency_libs; do
10773 case $deplib in
10774 *.la)
10775 func_basename "$deplib"
10776 name=$func_basename_result
10777 func_resolve_sysroot "$deplib"
10778 eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result`
10779 test -z "$libdir" && \
10780 func_fatal_error "'$deplib' is not a valid libtool archive"
10781 func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name"
10782 ;;
10783 -L*)
10784 func_stripname -L '' "$deplib"
10785 func_replace_sysroot "$func_stripname_result"
10786 func_append newdependency_libs " -L$func_replace_sysroot_result"
10787 ;;
10788 -R*)
10789 func_stripname -R '' "$deplib"
10790 func_replace_sysroot "$func_stripname_result"
10791 func_append newdependency_libs " -R$func_replace_sysroot_result"
10792 ;;
10793 *) func_append newdependency_libs " $deplib" ;;
10794 esac
10795 done
10796 dependency_libs=$newdependency_libs
10797 newdlfiles=
10798
10799 for lib in $dlfiles; do
10800 case $lib in
10801 *.la)
10802 func_basename "$lib"
10803 name=$func_basename_result
10804 eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
10805 test -z "$libdir" && \
10806 func_fatal_error "'$lib' is not a valid libtool archive"
10807 func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name"
10808 ;;
10809 *) func_append newdlfiles " $lib" ;;
10810 esac
10811 done
10812 dlfiles=$newdlfiles
10813 newdlprefiles=
10814 for lib in $dlprefiles; do
10815 case $lib in
10816 *.la)
10817 # Only pass preopened files to the pseudo-archive (for
10818 # eventual linking with the app. that links it) if we
10819 # didn't already link the preopened objects directly into
10820 # the library:
10821 func_basename "$lib"
10822 name=$func_basename_result
10823 eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
10824 test -z "$libdir" && \
10825 func_fatal_error "'$lib' is not a valid libtool archive"
10826 func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name"
10827 ;;
10828 esac
10829 done
10830 dlprefiles=$newdlprefiles
10831 else
10832 newdlfiles=
10833 for lib in $dlfiles; do
10834 case $lib in
10835 [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;;
10836 *) abs=`pwd`"/$lib" ;;
10837 esac
10838 func_append newdlfiles " $abs"
10839 done
10840 dlfiles=$newdlfiles
10841 newdlprefiles=
10842 for lib in $dlprefiles; do
10843 case $lib in
10844 [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;;
10845 *) abs=`pwd`"/$lib" ;;
10846 esac
10847 func_append newdlprefiles " $abs"
10848 done
10849 dlprefiles=$newdlprefiles
10850 fi
10851 $RM $output
10852 # place dlname in correct position for cygwin
10853 # In fact, it would be nice if we could use this code for all target
10854 # systems that can't hard-code library paths into their executables
10855 # and that have no shared library path variable independent of PATH,
10856 # but it turns out we can't easily determine that from inspecting
10857 # libtool variables, so we have to hard-code the OSs to which it
10858 # applies here; at the moment, that means platforms that use the PE
10859 # object format with DLL files. See the long comment at the top of
10860 # tests/bindir.at for full details.
10861 tdlname=$dlname
10862 case $host,$output,$installed,$module,$dlname in
10863 *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll)
10864 # If a -bindir argument was supplied, place the dll there.
10865 if test -n "$bindir"; then
10866 func_relative_path "$install_libdir" "$bindir"
10867 tdlname=$func_relative_path_result/$dlname
10868 else
10869 # Otherwise fall back on heuristic.
10870 tdlname=../bin/$dlname
10871 fi
10872 ;;
10873 esac
10874 $ECHO > $output "\
10875 # $outputname - a libtool library file
10876 # Generated by $PROGRAM (GNU $PACKAGE) $VERSION
10877 #
10878 # Please DO NOT delete this file!
10879 # It is necessary for linking the library.
10880
10881 # The name that we can dlopen(3).
10882 dlname='$tdlname'
10883
10884 # Names of this library.
10885 library_names='$library_names'
10886
10887 # The name of the static archive.
10888 old_library='$old_library'
10889
10890 # Linker flags that cannot go in dependency_libs.
10891 inherited_linker_flags='$new_inherited_linker_flags'
10892
10893 # Libraries that this one depends upon.
10894 dependency_libs='$dependency_libs'
10895
10896 # Names of additional weak libraries provided by this library
10897 weak_library_names='$weak_libs'
10898
10899 # Version information for $libname.
10900 current=$current
10901 age=$age
10902 revision=$revision
10903
10904 # Is this an already installed library?
10905 installed=$installed
10906
10907 # Should we warn about portability when linking against -modules?
10908 shouldnotlink=$module
10909
10910 # Files to dlopen/dlpreopen
10911 dlopen='$dlfiles'
10912 dlpreopen='$dlprefiles'
10913
10914 # Directory that this library needs to be installed in:
10915 libdir='$install_libdir'"
10916 if test no,yes = "$installed,$need_relink"; then
10917 $ECHO >> $output "\
10918 relink_command=\"$relink_command\""
10919 fi
10920 done
10921 }
10922
10923 # Do a symbolic link so that the libtool archive can be found in
10924 # LD_LIBRARY_PATH before the program is installed.
10925 func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?'
10926 ;;
10927 esac
10928 exit $EXIT_SUCCESS
10929 }
10930
10931 if test link = "$opt_mode" || test relink = "$opt_mode"; then
10932 func_mode_link ${1+"$@"}
10933 fi
10934
10935
10936 # func_mode_uninstall arg...
10937 func_mode_uninstall ()
10938 {
10939 $debug_cmd
10940
10941 RM=$nonopt
10942 files=
10943 rmforce=false
10944 exit_status=0
10945
10946 # This variable tells wrapper scripts just to set variables rather
10947 # than running their programs.
10948 libtool_install_magic=$magic
10949
10950 for arg
10951 do
10952 case $arg in
10953 -f) func_append RM " $arg"; rmforce=: ;;
10954 -*) func_append RM " $arg" ;;
10955 *) func_append files " $arg" ;;
10956 esac
10957 done
10958
10959 test -z "$RM" && \
10960 func_fatal_help "you must specify an RM program"
10961
10962 rmdirs=
10963
10964 for file in $files; do
10965 func_dirname "$file" "" "."
10966 dir=$func_dirname_result
10967 if test . = "$dir"; then
10968 odir=$objdir
10969 else
10970 odir=$dir/$objdir
10971 fi
10972 func_basename "$file"
10973 name=$func_basename_result
10974 test uninstall = "$opt_mode" && odir=$dir
10975
10976 # Remember odir for removal later, being careful to avoid duplicates
10977 if test clean = "$opt_mode"; then
10978 case " $rmdirs " in
10979 *" $odir "*) ;;
10980 *) func_append rmdirs " $odir" ;;
10981 esac
10982 fi
10983
10984 # Don't error if the file doesn't exist and rm -f was used.
10985 if { test -L "$file"; } >/dev/null 2>&1 ||
10986 { test -h "$file"; } >/dev/null 2>&1 ||
10987 test -f "$file"; then
10988 :
10989 elif test -d "$file"; then
10990 exit_status=1
10991 continue
10992 elif $rmforce; then
10993 continue
10994 fi
10995
10996 rmfiles=$file
10997
10998 case $name in
10999 *.la)
11000 # Possibly a libtool archive, so verify it.
11001 if func_lalib_p "$file"; then
11002 func_source $dir/$name
11003
11004 # Delete the libtool libraries and symlinks.
11005 for n in $library_names; do
11006 func_append rmfiles " $odir/$n"
11007 done
11008 test -n "$old_library" && func_append rmfiles " $odir/$old_library"
11009
11010 case $opt_mode in
11011 clean)
11012 case " $library_names " in
11013 *" $dlname "*) ;;
11014 *) test -n "$dlname" && func_append rmfiles " $odir/$dlname" ;;
11015 esac
11016 test -n "$libdir" && func_append rmfiles " $odir/$name $odir/${name}i"
11017 ;;
11018 uninstall)
11019 if test -n "$library_names"; then
11020 # Do each command in the postuninstall commands.
11021 func_execute_cmds "$postuninstall_cmds" '$rmforce || exit_status=1'
11022 fi
11023
11024 if test -n "$old_library"; then
11025 # Do each command in the old_postuninstall commands.
11026 func_execute_cmds "$old_postuninstall_cmds" '$rmforce || exit_status=1'
11027 fi
11028 # FIXME: should reinstall the best remaining shared library.
11029 ;;
11030 esac
11031 fi
11032 ;;
11033
11034 *.lo)
11035 # Possibly a libtool object, so verify it.
11036 if func_lalib_p "$file"; then
11037
11038 # Read the .lo file
11039 func_source $dir/$name
11040
11041 # Add PIC object to the list of files to remove.
11042 if test -n "$pic_object" && test none != "$pic_object"; then
11043 func_append rmfiles " $dir/$pic_object"
11044 fi
11045
11046 # Add non-PIC object to the list of files to remove.
11047 if test -n "$non_pic_object" && test none != "$non_pic_object"; then
11048 func_append rmfiles " $dir/$non_pic_object"
11049 fi
11050 fi
11051 ;;
11052
11053 *)
11054 if test clean = "$opt_mode"; then
11055 noexename=$name
11056 case $file in
11057 *.exe)
11058 func_stripname '' '.exe' "$file"
11059 file=$func_stripname_result
11060 func_stripname '' '.exe' "$name"
11061 noexename=$func_stripname_result
11062 # $file with .exe has already been added to rmfiles,
11063 # add $file without .exe
11064 func_append rmfiles " $file"
11065 ;;
11066 esac
11067 # Do a test to see if this is a libtool program.
11068 if func_ltwrapper_p "$file"; then
11069 if func_ltwrapper_executable_p "$file"; then
11070 func_ltwrapper_scriptname "$file"
11071 relink_command=
11072 func_source $func_ltwrapper_scriptname_result
11073 func_append rmfiles " $func_ltwrapper_scriptname_result"
11074 else
11075 relink_command=
11076 func_source $dir/$noexename
11077 fi
11078
11079 # note $name still contains .exe if it was in $file originally
11080 # as does the version of $file that was added into $rmfiles
11081 func_append rmfiles " $odir/$name $odir/${name}S.$objext"
11082 if test yes = "$fast_install" && test -n "$relink_command"; then
11083 func_append rmfiles " $odir/lt-$name"
11084 fi
11085 if test "X$noexename" != "X$name"; then
11086 func_append rmfiles " $odir/lt-$noexename.c"
11087 fi
11088 fi
11089 fi
11090 ;;
11091 esac
11092 func_show_eval "$RM $rmfiles" 'exit_status=1'
11093 done
11094
11095 # Try to remove the $objdir's in the directories where we deleted files
11096 for dir in $rmdirs; do
11097 if test -d "$dir"; then
11098 func_show_eval "rmdir $dir >/dev/null 2>&1"
11099 fi
11100 done
11101
11102 exit $exit_status
11103 }
11104
11105 if test uninstall = "$opt_mode" || test clean = "$opt_mode"; then
11106 func_mode_uninstall ${1+"$@"}
11107 fi
11108
11109 test -z "$opt_mode" && {
11110 help=$generic_help
11111 func_fatal_help "you must specify a MODE"
11112 }
11113
11114 test -z "$exec_cmd" && \
11115 func_fatal_help "invalid operation mode '$opt_mode'"
11116
11117 if test -n "$exec_cmd"; then
11118 eval exec "$exec_cmd"
11119 exit $EXIT_FAILURE
11120 fi
11121
11122 exit $exit_status
11123
11124
11125 # The TAGs below are defined such that we never get into a situation
11126 # where we disable both kinds of libraries. Given conflicting
11127 # choices, we go for a static library, that is the most portable,
11128 # since we can't tell whether shared libraries were disabled because
11129 # the user asked for that or because the platform doesn't support
11130 # them. This is particularly important on AIX, because we don't
11131 # support having both static and shared libraries enabled at the same
11132 # time on that platform, so we default to a shared-only configuration.
11133 # If a disable-shared tag is given, we'll fallback to a static-only
11134 # configuration. But we'll never go from static-only to shared-only.
11135
11136 # ### BEGIN LIBTOOL TAG CONFIG: disable-shared
11137 build_libtool_libs=no
11138 build_old_libs=yes
11139 # ### END LIBTOOL TAG CONFIG: disable-shared
11140
11141 # ### BEGIN LIBTOOL TAG CONFIG: disable-static
11142 build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
11143 # ### END LIBTOOL TAG CONFIG: disable-static
11144
11145 # Local Variables:
11146 # mode:shell-script
11147 # sh-indentation:2
11148 # End:
+0
-488
m4/Makefile.in less more
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15 VPATH = @srcdir@
16 am__is_gnu_make = { \
17 if test -z '$(MAKELEVEL)'; then \
18 false; \
19 elif test -n '$(MAKE_HOST)'; then \
20 true; \
21 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
22 true; \
23 else \
24 false; \
25 fi; \
26 }
27 am__make_running_with_option = \
28 case $${target_option-} in \
29 ?) ;; \
30 *) echo "am__make_running_with_option: internal error: invalid" \
31 "target option '$${target_option-}' specified" >&2; \
32 exit 1;; \
33 esac; \
34 has_opt=no; \
35 sane_makeflags=$$MAKEFLAGS; \
36 if $(am__is_gnu_make); then \
37 sane_makeflags=$$MFLAGS; \
38 else \
39 case $$MAKEFLAGS in \
40 *\\[\ \ ]*) \
41 bs=\\; \
42 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
43 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
44 esac; \
45 fi; \
46 skip_next=no; \
47 strip_trailopt () \
48 { \
49 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
50 }; \
51 for flg in $$sane_makeflags; do \
52 test $$skip_next = yes && { skip_next=no; continue; }; \
53 case $$flg in \
54 *=*|--*) continue;; \
55 -*I) strip_trailopt 'I'; skip_next=yes;; \
56 -*I?*) strip_trailopt 'I';; \
57 -*O) strip_trailopt 'O'; skip_next=yes;; \
58 -*O?*) strip_trailopt 'O';; \
59 -*l) strip_trailopt 'l'; skip_next=yes;; \
60 -*l?*) strip_trailopt 'l';; \
61 -[dEDm]) skip_next=yes;; \
62 -[JT]) skip_next=yes;; \
63 esac; \
64 case $$flg in \
65 *$$target_option*) has_opt=yes; break;; \
66 esac; \
67 done; \
68 test $$has_opt = yes
69 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
70 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
71 pkgdatadir = $(datadir)/@PACKAGE@
72 pkgincludedir = $(includedir)/@PACKAGE@
73 pkglibdir = $(libdir)/@PACKAGE@
74 pkglibexecdir = $(libexecdir)/@PACKAGE@
75 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
76 install_sh_DATA = $(install_sh) -c -m 644
77 install_sh_PROGRAM = $(install_sh) -c
78 install_sh_SCRIPT = $(install_sh) -c
79 INSTALL_HEADER = $(INSTALL_DATA)
80 transform = $(program_transform_name)
81 NORMAL_INSTALL = :
82 PRE_INSTALL = :
83 POST_INSTALL = :
84 NORMAL_UNINSTALL = :
85 PRE_UNINSTALL = :
86 POST_UNINSTALL = :
87 build_triplet = @build@
88 host_triplet = @host@
89 target_triplet = @target@
90 subdir = m4
91 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
92 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
93 $(top_srcdir)/m4/ax_code_coverage.m4 \
94 $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \
95 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
96 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
97 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
98 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
99 $(ACLOCAL_M4)
100 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
101 mkinstalldirs = $(install_sh) -d
102 CONFIG_HEADER = $(top_builddir)/config.h
103 CONFIG_CLEAN_FILES =
104 CONFIG_CLEAN_VPATH_FILES =
105 AM_V_P = $(am__v_P_@AM_V@)
106 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
107 am__v_P_0 = false
108 am__v_P_1 = :
109 AM_V_GEN = $(am__v_GEN_@AM_V@)
110 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
111 am__v_GEN_0 = @echo " GEN " $@;
112 am__v_GEN_1 =
113 AM_V_at = $(am__v_at_@AM_V@)
114 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
115 am__v_at_0 = @
116 am__v_at_1 =
117 SOURCES =
118 DIST_SOURCES =
119 am__can_run_installinfo = \
120 case $$AM_UPDATE_INFO_DIR in \
121 n|no|NO) false;; \
122 *) (install-info --version) >/dev/null 2>&1;; \
123 esac
124 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
125 am__DIST_COMMON = $(srcdir)/Makefile.in
126 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
127 ACLOCAL = @ACLOCAL@
128 AMTAR = @AMTAR@
129 AM_CPPFLAGS = @AM_CPPFLAGS@
130 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
131 AM_LDFLAGS = @AM_LDFLAGS@
132 AR = @AR@
133 ASCIIDOC = @ASCIIDOC@
134 AUTOCONF = @AUTOCONF@
135 AUTOHEADER = @AUTOHEADER@
136 AUTOMAKE = @AUTOMAKE@
137 AWK = @AWK@
138 BROTLI_CFLAGS = @BROTLI_CFLAGS@
139 BROTLI_LIBS = @BROTLI_LIBS@
140 CC = @CC@
141 CCDEPMODE = @CCDEPMODE@
142 CFLAGS = @CFLAGS@
143 CODE_COVERAGE_CFLAGS = @CODE_COVERAGE_CFLAGS@
144 CODE_COVERAGE_CPPFLAGS = @CODE_COVERAGE_CPPFLAGS@
145 CODE_COVERAGE_CXXFLAGS = @CODE_COVERAGE_CXXFLAGS@
146 CODE_COVERAGE_ENABLED = @CODE_COVERAGE_ENABLED@
147 CODE_COVERAGE_LDFLAGS = @CODE_COVERAGE_LDFLAGS@
148 CODE_COVERAGE_LIBS = @CODE_COVERAGE_LIBS@
149 CPP = @CPP@
150 CPPFLAGS = @CPPFLAGS@
151 CXX = @CXX@
152 CXXCPP = @CXXCPP@
153 CXXDEPMODE = @CXXDEPMODE@
154 CXXFLAGS = @CXXFLAGS@
155 CYGPATH_W = @CYGPATH_W@
156 DATE = @DATE@
157 DEFS = @DEFS@
158 DEPDIR = @DEPDIR@
159 DLLTOOL = @DLLTOOL@
160 DSYMUTIL = @DSYMUTIL@
161 DUMPBIN = @DUMPBIN@
162 ECHO_C = @ECHO_C@
163 ECHO_N = @ECHO_N@
164 ECHO_T = @ECHO_T@
165 EGREP = @EGREP@
166 EXEEXT = @EXEEXT@
167 FGREP = @FGREP@
168 FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
169 FREETYPE_LIBS = @FREETYPE_LIBS@
170 GCOV = @GCOV@
171 GENHTML = @GENHTML@
172 GREP = @GREP@
173 HAVE_CXX11 = @HAVE_CXX11@
174 INSTALL = @INSTALL@
175 INSTALL_DATA = @INSTALL_DATA@
176 INSTALL_PROGRAM = @INSTALL_PROGRAM@
177 INSTALL_SCRIPT = @INSTALL_SCRIPT@
178 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
179 KPSE_CFLAGS = @KPSE_CFLAGS@
180 KPSE_LIBS = @KPSE_LIBS@
181 LCOV = @LCOV@
182 LD = @LD@
183 LDFLAGS = @LDFLAGS@
184 LIBCRYPTO_CFLAGS = @LIBCRYPTO_CFLAGS@
185 LIBCRYPTO_LIBS = @LIBCRYPTO_LIBS@
186 LIBOBJS = @LIBOBJS@
187 LIBS = @LIBS@
188 LIBTOOL = @LIBTOOL@
189 LIPO = @LIPO@
190 LN_S = @LN_S@
191 LTLIBOBJS = @LTLIBOBJS@
192 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
193 MAKEINFO = @MAKEINFO@
194 MANIFEST_TOOL = @MANIFEST_TOOL@
195 MKDIR_P = @MKDIR_P@
196 NM = @NM@
197 NMEDIT = @NMEDIT@
198 OBJDUMP = @OBJDUMP@
199 OBJEXT = @OBJEXT@
200 OTOOL = @OTOOL@
201 OTOOL64 = @OTOOL64@
202 PACKAGE = @PACKAGE@
203 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
204 PACKAGE_NAME = @PACKAGE_NAME@
205 PACKAGE_STRING = @PACKAGE_STRING@
206 PACKAGE_TARNAME = @PACKAGE_TARNAME@
207 PACKAGE_URL = @PACKAGE_URL@
208 PACKAGE_VERSION = @PACKAGE_VERSION@
209 PATH_SEPARATOR = @PATH_SEPARATOR@
210 PKG_CONFIG = @PKG_CONFIG@
211 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
212 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
213 RANLIB = @RANLIB@
214 SED = @SED@
215 SET_MAKE = @SET_MAKE@
216 SHELL = @SHELL@
217 STRIP = @STRIP@
218 TTFAUTOHINT_CFLAGS = @TTFAUTOHINT_CFLAGS@
219 TTFAUTOHINT_LIBS = @TTFAUTOHINT_LIBS@
220 VERSION = @VERSION@
221 WOFF2_CFLAGS = @WOFF2_CFLAGS@
222 WOFF2_LIBS = @WOFF2_LIBS@
223 XMLTO = @XMLTO@
224 XSLTPROC = @XSLTPROC@
225 ZLIB_CFLAGS = @ZLIB_CFLAGS@
226 ZLIB_LIBS = @ZLIB_LIBS@
227 abs_builddir = @abs_builddir@
228 abs_srcdir = @abs_srcdir@
229 abs_top_builddir = @abs_top_builddir@
230 abs_top_srcdir = @abs_top_srcdir@
231 ac_ct_AR = @ac_ct_AR@
232 ac_ct_CC = @ac_ct_CC@
233 ac_ct_CXX = @ac_ct_CXX@
234 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
235 am__include = @am__include@
236 am__leading_dot = @am__leading_dot@
237 am__quote = @am__quote@
238 am__tar = @am__tar@
239 am__untar = @am__untar@
240 bindir = @bindir@
241 build = @build@
242 build_alias = @build_alias@
243 build_cpu = @build_cpu@
244 build_os = @build_os@
245 build_vendor = @build_vendor@
246 builddir = @builddir@
247 datadir = @datadir@
248 datarootdir = @datarootdir@
249 docdir = @docdir@
250 dvidir = @dvidir@
251 dvisvgm_srcdir = @dvisvgm_srcdir@
252 exec_prefix = @exec_prefix@
253 host = @host@
254 host_alias = @host_alias@
255 host_cpu = @host_cpu@
256 host_os = @host_os@
257 host_vendor = @host_vendor@
258 htmldir = @htmldir@
259 includedir = @includedir@
260 infodir = @infodir@
261 install_sh = @install_sh@
262 libdir = @libdir@
263 libexecdir = @libexecdir@
264 localedir = @localedir@
265 localstatedir = @localstatedir@
266 mandir = @mandir@
267 mkdir_p = @mkdir_p@
268 oldincludedir = @oldincludedir@
269 pdfdir = @pdfdir@
270 prefix = @prefix@
271 program_transform_name = @program_transform_name@
272 psdir = @psdir@
273 sbindir = @sbindir@
274 sharedstatedir = @sharedstatedir@
275 srcdir = @srcdir@
276 sysconfdir = @sysconfdir@
277 target = @target@
278 target_alias = @target_alias@
279 target_cpu = @target_cpu@
280 target_os = @target_os@
281 target_vendor = @target_vendor@
282 top_build_prefix = @top_build_prefix@
283 top_builddir = @top_builddir@
284 top_srcdir = @top_srcdir@
285 M4_EXTRA_DIST = \
286 ax_check_compile_flag.m4 \
287 ax_code_coverage.m4 \
288 ax_cxx_compile_stdcxx.m4
289
290 all: all-am
291
292 .SUFFIXES:
293 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
294 @for dep in $?; do \
295 case '$(am__configure_deps)' in \
296 *$$dep*) \
297 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
298 && { if test -f $@; then exit 0; else break; fi; }; \
299 exit 1;; \
300 esac; \
301 done; \
302 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign m4/Makefile'; \
303 $(am__cd) $(top_srcdir) && \
304 $(AUTOMAKE) --foreign m4/Makefile
305 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
306 @case '$?' in \
307 *config.status*) \
308 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
309 *) \
310 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
311 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
312 esac;
313
314 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
315 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
316
317 $(top_srcdir)/configure: $(am__configure_deps)
318 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
319 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
320 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
321 $(am__aclocal_m4_deps):
322
323 mostlyclean-libtool:
324 -rm -f *.lo
325
326 clean-libtool:
327 -rm -rf .libs _libs
328 tags TAGS:
329
330 ctags CTAGS:
331
332 cscope cscopelist:
333
334
335 distdir: $(BUILT_SOURCES)
336 $(MAKE) $(AM_MAKEFLAGS) distdir-am
337
338 distdir-am: $(DISTFILES)
339 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
340 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
341 list='$(DISTFILES)'; \
342 dist_files=`for file in $$list; do echo $$file; done | \
343 sed -e "s|^$$srcdirstrip/||;t" \
344 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
345 case $$dist_files in \
346 */*) $(MKDIR_P) `echo "$$dist_files" | \
347 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
348 sort -u` ;; \
349 esac; \
350 for file in $$dist_files; do \
351 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
352 if test -d $$d/$$file; then \
353 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
354 if test -d "$(distdir)/$$file"; then \
355 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
356 fi; \
357 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
358 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
359 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
360 fi; \
361 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
362 else \
363 test -f "$(distdir)/$$file" \
364 || cp -p $$d/$$file "$(distdir)/$$file" \
365 || exit 1; \
366 fi; \
367 done
368 check-am: all-am
369 check: check-am
370 all-am: Makefile
371 installdirs:
372 install: install-am
373 install-exec: install-exec-am
374 install-data: install-data-am
375 uninstall: uninstall-am
376
377 install-am: all-am
378 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
379
380 installcheck: installcheck-am
381 install-strip:
382 if test -z '$(STRIP)'; then \
383 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
384 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
385 install; \
386 else \
387 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
388 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
389 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
390 fi
391 mostlyclean-generic:
392
393 clean-generic:
394
395 distclean-generic:
396 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
397 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
398
399 maintainer-clean-generic:
400 @echo "This command is intended for maintainers to use"
401 @echo "it deletes files that may require special tools to rebuild."
402 clean: clean-am
403
404 clean-am: clean-generic clean-libtool mostlyclean-am
405
406 distclean: distclean-am
407 -rm -f Makefile
408 distclean-am: clean-am distclean-generic
409
410 dvi: dvi-am
411
412 dvi-am:
413
414 html: html-am
415
416 html-am:
417
418 info: info-am
419
420 info-am:
421
422 install-data-am:
423
424 install-dvi: install-dvi-am
425
426 install-dvi-am:
427
428 install-exec-am:
429
430 install-html: install-html-am
431
432 install-html-am:
433
434 install-info: install-info-am
435
436 install-info-am:
437
438 install-man:
439
440 install-pdf: install-pdf-am
441
442 install-pdf-am:
443
444 install-ps: install-ps-am
445
446 install-ps-am:
447
448 installcheck-am:
449
450 maintainer-clean: maintainer-clean-am
451 -rm -f Makefile
452 maintainer-clean-am: distclean-am maintainer-clean-generic
453
454 mostlyclean: mostlyclean-am
455
456 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
457
458 pdf: pdf-am
459
460 pdf-am:
461
462 ps: ps-am
463
464 ps-am:
465
466 uninstall-am:
467
468 .MAKE: install-am install-strip
469
470 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
471 cscopelist-am ctags-am distclean distclean-generic \
472 distclean-libtool distdir dvi dvi-am html html-am info info-am \
473 install install-am install-data install-data-am install-dvi \
474 install-dvi-am install-exec install-exec-am install-html \
475 install-html-am install-info install-info-am install-man \
476 install-pdf install-pdf-am install-ps install-ps-am \
477 install-strip installcheck installcheck-am installdirs \
478 maintainer-clean maintainer-clean-generic mostlyclean \
479 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
480 tags-am uninstall uninstall-am
481
482 .PRECIOUS: Makefile
483
484
485 # Tell versions [3.59,3.63) of GNU make to not export all variables.
486 # Otherwise a system limit (for SysV at least) may be exceeded.
487 .NOEXPORT:
+0
-8372
m4/libtool.m4 less more
0 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
1 #
2 # Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc.
3 # Written by Gordon Matzigkeit, 1996
4 #
5 # This file is free software; the Free Software Foundation gives
6 # unlimited permission to copy and/or distribute it, with or without
7 # modifications, as long as this notice is preserved.
8
9 m4_define([_LT_COPYING], [dnl
10 # Copyright (C) 2014 Free Software Foundation, Inc.
11 # This is free software; see the source for copying conditions. There is NO
12 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13
14 # GNU Libtool is free software; you can redistribute it and/or modify
15 # it under the terms of the GNU General Public License as published by
16 # the Free Software Foundation; either version 2 of of the License, or
17 # (at your option) any later version.
18 #
19 # As a special exception to the GNU General Public License, if you
20 # distribute this file as part of a program or library that is built
21 # using GNU Libtool, you may include this file under the same
22 # distribution terms that you use for the rest of that program.
23 #
24 # GNU Libtool is distributed in the hope that it will be useful, but
25 # WITHOUT ANY WARRANTY; without even the implied warranty of
26 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27 # GNU General Public License for more details.
28 #
29 # You should have received a copy of the GNU General Public License
30 # along with this program. If not, see <http://www.gnu.org/licenses/>.
31 ])
32
33 # serial 58 LT_INIT
34
35
36 # LT_PREREQ(VERSION)
37 # ------------------
38 # Complain and exit if this libtool version is less that VERSION.
39 m4_defun([LT_PREREQ],
40 [m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
41 [m4_default([$3],
42 [m4_fatal([Libtool version $1 or higher is required],
43 63)])],
44 [$2])])
45
46
47 # _LT_CHECK_BUILDDIR
48 # ------------------
49 # Complain if the absolute build directory name contains unusual characters
50 m4_defun([_LT_CHECK_BUILDDIR],
51 [case `pwd` in
52 *\ * | *\ *)
53 AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
54 esac
55 ])
56
57
58 # LT_INIT([OPTIONS])
59 # ------------------
60 AC_DEFUN([LT_INIT],
61 [AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK
62 AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
63 AC_BEFORE([$0], [LT_LANG])dnl
64 AC_BEFORE([$0], [LT_OUTPUT])dnl
65 AC_BEFORE([$0], [LTDL_INIT])dnl
66 m4_require([_LT_CHECK_BUILDDIR])dnl
67
68 dnl Autoconf doesn't catch unexpanded LT_ macros by default:
69 m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
70 m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
71 dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
72 dnl unless we require an AC_DEFUNed macro:
73 AC_REQUIRE([LTOPTIONS_VERSION])dnl
74 AC_REQUIRE([LTSUGAR_VERSION])dnl
75 AC_REQUIRE([LTVERSION_VERSION])dnl
76 AC_REQUIRE([LTOBSOLETE_VERSION])dnl
77 m4_require([_LT_PROG_LTMAIN])dnl
78
79 _LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
80
81 dnl Parse OPTIONS
82 _LT_SET_OPTIONS([$0], [$1])
83
84 # This can be used to rebuild libtool when needed
85 LIBTOOL_DEPS=$ltmain
86
87 # Always use our own libtool.
88 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
89 AC_SUBST(LIBTOOL)dnl
90
91 _LT_SETUP
92
93 # Only expand once:
94 m4_define([LT_INIT])
95 ])# LT_INIT
96
97 # Old names:
98 AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
99 AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
100 dnl aclocal-1.4 backwards compatibility:
101 dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
102 dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
103
104
105 # _LT_PREPARE_CC_BASENAME
106 # -----------------------
107 m4_defun([_LT_PREPARE_CC_BASENAME], [
108 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
109 func_cc_basename ()
110 {
111 for cc_temp in @S|@*""; do
112 case $cc_temp in
113 compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
114 distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
115 \-*) ;;
116 *) break;;
117 esac
118 done
119 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
120 }
121 ])# _LT_PREPARE_CC_BASENAME
122
123
124 # _LT_CC_BASENAME(CC)
125 # -------------------
126 # It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME,
127 # but that macro is also expanded into generated libtool script, which
128 # arranges for $SED and $ECHO to be set by different means.
129 m4_defun([_LT_CC_BASENAME],
130 [m4_require([_LT_PREPARE_CC_BASENAME])dnl
131 AC_REQUIRE([_LT_DECL_SED])dnl
132 AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
133 func_cc_basename $1
134 cc_basename=$func_cc_basename_result
135 ])
136
137
138 # _LT_FILEUTILS_DEFAULTS
139 # ----------------------
140 # It is okay to use these file commands and assume they have been set
141 # sensibly after 'm4_require([_LT_FILEUTILS_DEFAULTS])'.
142 m4_defun([_LT_FILEUTILS_DEFAULTS],
143 [: ${CP="cp -f"}
144 : ${MV="mv -f"}
145 : ${RM="rm -f"}
146 ])# _LT_FILEUTILS_DEFAULTS
147
148
149 # _LT_SETUP
150 # ---------
151 m4_defun([_LT_SETUP],
152 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
153 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
154 AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
155 AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
156
157 _LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
158 dnl
159 _LT_DECL([], [host_alias], [0], [The host system])dnl
160 _LT_DECL([], [host], [0])dnl
161 _LT_DECL([], [host_os], [0])dnl
162 dnl
163 _LT_DECL([], [build_alias], [0], [The build system])dnl
164 _LT_DECL([], [build], [0])dnl
165 _LT_DECL([], [build_os], [0])dnl
166 dnl
167 AC_REQUIRE([AC_PROG_CC])dnl
168 AC_REQUIRE([LT_PATH_LD])dnl
169 AC_REQUIRE([LT_PATH_NM])dnl
170 dnl
171 AC_REQUIRE([AC_PROG_LN_S])dnl
172 test -z "$LN_S" && LN_S="ln -s"
173 _LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
174 dnl
175 AC_REQUIRE([LT_CMD_MAX_LEN])dnl
176 _LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
177 _LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
178 dnl
179 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
180 m4_require([_LT_CHECK_SHELL_FEATURES])dnl
181 m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
182 m4_require([_LT_CMD_RELOAD])dnl
183 m4_require([_LT_CHECK_MAGIC_METHOD])dnl
184 m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
185 m4_require([_LT_CMD_OLD_ARCHIVE])dnl
186 m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
187 m4_require([_LT_WITH_SYSROOT])dnl
188 m4_require([_LT_CMD_TRUNCATE])dnl
189
190 _LT_CONFIG_LIBTOOL_INIT([
191 # See if we are running on zsh, and set the options that allow our
192 # commands through without removal of \ escapes INIT.
193 if test -n "\${ZSH_VERSION+set}"; then
194 setopt NO_GLOB_SUBST
195 fi
196 ])
197 if test -n "${ZSH_VERSION+set}"; then
198 setopt NO_GLOB_SUBST
199 fi
200
201 _LT_CHECK_OBJDIR
202
203 m4_require([_LT_TAG_COMPILER])dnl
204
205 case $host_os in
206 aix3*)
207 # AIX sometimes has problems with the GCC collect2 program. For some
208 # reason, if we set the COLLECT_NAMES environment variable, the problems
209 # vanish in a puff of smoke.
210 if test set != "${COLLECT_NAMES+set}"; then
211 COLLECT_NAMES=
212 export COLLECT_NAMES
213 fi
214 ;;
215 esac
216
217 # Global variables:
218 ofile=libtool
219 can_build_shared=yes
220
221 # All known linkers require a '.a' archive for static linking (except MSVC,
222 # which needs '.lib').
223 libext=a
224
225 with_gnu_ld=$lt_cv_prog_gnu_ld
226
227 old_CC=$CC
228 old_CFLAGS=$CFLAGS
229
230 # Set sane defaults for various variables
231 test -z "$CC" && CC=cc
232 test -z "$LTCC" && LTCC=$CC
233 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
234 test -z "$LD" && LD=ld
235 test -z "$ac_objext" && ac_objext=o
236
237 _LT_CC_BASENAME([$compiler])
238
239 # Only perform the check for file, if the check method requires it
240 test -z "$MAGIC_CMD" && MAGIC_CMD=file
241 case $deplibs_check_method in
242 file_magic*)
243 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
244 _LT_PATH_MAGIC
245 fi
246 ;;
247 esac
248
249 # Use C for the default configuration in the libtool script
250 LT_SUPPORTED_TAG([CC])
251 _LT_LANG_C_CONFIG
252 _LT_LANG_DEFAULT_CONFIG
253 _LT_CONFIG_COMMANDS
254 ])# _LT_SETUP
255
256
257 # _LT_PREPARE_SED_QUOTE_VARS
258 # --------------------------
259 # Define a few sed substitution that help us do robust quoting.
260 m4_defun([_LT_PREPARE_SED_QUOTE_VARS],
261 [# Backslashify metacharacters that are still active within
262 # double-quoted strings.
263 sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
264
265 # Same as above, but do not quote variable references.
266 double_quote_subst='s/\([["`\\]]\)/\\\1/g'
267
268 # Sed substitution to delay expansion of an escaped shell variable in a
269 # double_quote_subst'ed string.
270 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
271
272 # Sed substitution to delay expansion of an escaped single quote.
273 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
274
275 # Sed substitution to avoid accidental globbing in evaled expressions
276 no_glob_subst='s/\*/\\\*/g'
277 ])
278
279 # _LT_PROG_LTMAIN
280 # ---------------
281 # Note that this code is called both from 'configure', and 'config.status'
282 # now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
283 # 'config.status' has no value for ac_aux_dir unless we are using Automake,
284 # so we pass a copy along to make sure it has a sensible value anyway.
285 m4_defun([_LT_PROG_LTMAIN],
286 [m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
287 _LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
288 ltmain=$ac_aux_dir/ltmain.sh
289 ])# _LT_PROG_LTMAIN
290
291
292 ## ------------------------------------- ##
293 ## Accumulate code for creating libtool. ##
294 ## ------------------------------------- ##
295
296 # So that we can recreate a full libtool script including additional
297 # tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
298 # in macros and then make a single call at the end using the 'libtool'
299 # label.
300
301
302 # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
303 # ----------------------------------------
304 # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
305 m4_define([_LT_CONFIG_LIBTOOL_INIT],
306 [m4_ifval([$1],
307 [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
308 [$1
309 ])])])
310
311 # Initialize.
312 m4_define([_LT_OUTPUT_LIBTOOL_INIT])
313
314
315 # _LT_CONFIG_LIBTOOL([COMMANDS])
316 # ------------------------------
317 # Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
318 m4_define([_LT_CONFIG_LIBTOOL],
319 [m4_ifval([$1],
320 [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
321 [$1
322 ])])])
323
324 # Initialize.
325 m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
326
327
328 # _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
329 # -----------------------------------------------------
330 m4_defun([_LT_CONFIG_SAVE_COMMANDS],
331 [_LT_CONFIG_LIBTOOL([$1])
332 _LT_CONFIG_LIBTOOL_INIT([$2])
333 ])
334
335
336 # _LT_FORMAT_COMMENT([COMMENT])
337 # -----------------------------
338 # Add leading comment marks to the start of each line, and a trailing
339 # full-stop to the whole comment if one is not present already.
340 m4_define([_LT_FORMAT_COMMENT],
341 [m4_ifval([$1], [
342 m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
343 [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
344 )])
345
346
347
348 ## ------------------------ ##
349 ## FIXME: Eliminate VARNAME ##
350 ## ------------------------ ##
351
352
353 # _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
354 # -------------------------------------------------------------------
355 # CONFIGNAME is the name given to the value in the libtool script.
356 # VARNAME is the (base) name used in the configure script.
357 # VALUE may be 0, 1 or 2 for a computed quote escaped value based on
358 # VARNAME. Any other value will be used directly.
359 m4_define([_LT_DECL],
360 [lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
361 [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
362 [m4_ifval([$1], [$1], [$2])])
363 lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
364 m4_ifval([$4],
365 [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
366 lt_dict_add_subkey([lt_decl_dict], [$2],
367 [tagged?], [m4_ifval([$5], [yes], [no])])])
368 ])
369
370
371 # _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
372 # --------------------------------------------------------
373 m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
374
375
376 # lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
377 # ------------------------------------------------
378 m4_define([lt_decl_tag_varnames],
379 [_lt_decl_filter([tagged?], [yes], $@)])
380
381
382 # _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
383 # ---------------------------------------------------------
384 m4_define([_lt_decl_filter],
385 [m4_case([$#],
386 [0], [m4_fatal([$0: too few arguments: $#])],
387 [1], [m4_fatal([$0: too few arguments: $#: $1])],
388 [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
389 [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
390 [lt_dict_filter([lt_decl_dict], $@)])[]dnl
391 ])
392
393
394 # lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
395 # --------------------------------------------------
396 m4_define([lt_decl_quote_varnames],
397 [_lt_decl_filter([value], [1], $@)])
398
399
400 # lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
401 # ---------------------------------------------------
402 m4_define([lt_decl_dquote_varnames],
403 [_lt_decl_filter([value], [2], $@)])
404
405
406 # lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
407 # ---------------------------------------------------
408 m4_define([lt_decl_varnames_tagged],
409 [m4_assert([$# <= 2])dnl
410 _$0(m4_quote(m4_default([$1], [[, ]])),
411 m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
412 m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
413 m4_define([_lt_decl_varnames_tagged],
414 [m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
415
416
417 # lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
418 # ------------------------------------------------
419 m4_define([lt_decl_all_varnames],
420 [_$0(m4_quote(m4_default([$1], [[, ]])),
421 m4_if([$2], [],
422 m4_quote(lt_decl_varnames),
423 m4_quote(m4_shift($@))))[]dnl
424 ])
425 m4_define([_lt_decl_all_varnames],
426 [lt_join($@, lt_decl_varnames_tagged([$1],
427 lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
428 ])
429
430
431 # _LT_CONFIG_STATUS_DECLARE([VARNAME])
432 # ------------------------------------
433 # Quote a variable value, and forward it to 'config.status' so that its
434 # declaration there will have the same value as in 'configure'. VARNAME
435 # must have a single quote delimited value for this to work.
436 m4_define([_LT_CONFIG_STATUS_DECLARE],
437 [$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
438
439
440 # _LT_CONFIG_STATUS_DECLARATIONS
441 # ------------------------------
442 # We delimit libtool config variables with single quotes, so when
443 # we write them to config.status, we have to be sure to quote all
444 # embedded single quotes properly. In configure, this macro expands
445 # each variable declared with _LT_DECL (and _LT_TAGDECL) into:
446 #
447 # <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
448 m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
449 [m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
450 [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
451
452
453 # _LT_LIBTOOL_TAGS
454 # ----------------
455 # Output comment and list of tags supported by the script
456 m4_defun([_LT_LIBTOOL_TAGS],
457 [_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
458 available_tags='_LT_TAGS'dnl
459 ])
460
461
462 # _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
463 # -----------------------------------
464 # Extract the dictionary values for VARNAME (optionally with TAG) and
465 # expand to a commented shell variable setting:
466 #
467 # # Some comment about what VAR is for.
468 # visible_name=$lt_internal_name
469 m4_define([_LT_LIBTOOL_DECLARE],
470 [_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
471 [description])))[]dnl
472 m4_pushdef([_libtool_name],
473 m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
474 m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
475 [0], [_libtool_name=[$]$1],
476 [1], [_libtool_name=$lt_[]$1],
477 [2], [_libtool_name=$lt_[]$1],
478 [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
479 m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
480 ])
481
482
483 # _LT_LIBTOOL_CONFIG_VARS
484 # -----------------------
485 # Produce commented declarations of non-tagged libtool config variables
486 # suitable for insertion in the LIBTOOL CONFIG section of the 'libtool'
487 # script. Tagged libtool config variables (even for the LIBTOOL CONFIG
488 # section) are produced by _LT_LIBTOOL_TAG_VARS.
489 m4_defun([_LT_LIBTOOL_CONFIG_VARS],
490 [m4_foreach([_lt_var],
491 m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
492 [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
493
494
495 # _LT_LIBTOOL_TAG_VARS(TAG)
496 # -------------------------
497 m4_define([_LT_LIBTOOL_TAG_VARS],
498 [m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
499 [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
500
501
502 # _LT_TAGVAR(VARNAME, [TAGNAME])
503 # ------------------------------
504 m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
505
506
507 # _LT_CONFIG_COMMANDS
508 # -------------------
509 # Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
510 # variables for single and double quote escaping we saved from calls
511 # to _LT_DECL, we can put quote escaped variables declarations
512 # into 'config.status', and then the shell code to quote escape them in
513 # for loops in 'config.status'. Finally, any additional code accumulated
514 # from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
515 m4_defun([_LT_CONFIG_COMMANDS],
516 [AC_PROVIDE_IFELSE([LT_OUTPUT],
517 dnl If the libtool generation code has been placed in $CONFIG_LT,
518 dnl instead of duplicating it all over again into config.status,
519 dnl then we will have config.status run $CONFIG_LT later, so it
520 dnl needs to know what name is stored there:
521 [AC_CONFIG_COMMANDS([libtool],
522 [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
523 dnl If the libtool generation code is destined for config.status,
524 dnl expand the accumulated commands and init code now:
525 [AC_CONFIG_COMMANDS([libtool],
526 [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
527 ])#_LT_CONFIG_COMMANDS
528
529
530 # Initialize.
531 m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
532 [
533
534 # The HP-UX ksh and POSIX shell print the target directory to stdout
535 # if CDPATH is set.
536 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
537
538 sed_quote_subst='$sed_quote_subst'
539 double_quote_subst='$double_quote_subst'
540 delay_variable_subst='$delay_variable_subst'
541 _LT_CONFIG_STATUS_DECLARATIONS
542 LTCC='$LTCC'
543 LTCFLAGS='$LTCFLAGS'
544 compiler='$compiler_DEFAULT'
545
546 # A function that is used when there is no print builtin or printf.
547 func_fallback_echo ()
548 {
549 eval 'cat <<_LTECHO_EOF
550 \$[]1
551 _LTECHO_EOF'
552 }
553
554 # Quote evaled strings.
555 for var in lt_decl_all_varnames([[ \
556 ]], lt_decl_quote_varnames); do
557 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
558 *[[\\\\\\\`\\"\\\$]]*)
559 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
560 ;;
561 *)
562 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
563 ;;
564 esac
565 done
566
567 # Double-quote double-evaled strings.
568 for var in lt_decl_all_varnames([[ \
569 ]], lt_decl_dquote_varnames); do
570 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
571 *[[\\\\\\\`\\"\\\$]]*)
572 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
573 ;;
574 *)
575 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
576 ;;
577 esac
578 done
579
580 _LT_OUTPUT_LIBTOOL_INIT
581 ])
582
583 # _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
584 # ------------------------------------
585 # Generate a child script FILE with all initialization necessary to
586 # reuse the environment learned by the parent script, and make the
587 # file executable. If COMMENT is supplied, it is inserted after the
588 # '#!' sequence but before initialization text begins. After this
589 # macro, additional text can be appended to FILE to form the body of
590 # the child script. The macro ends with non-zero status if the
591 # file could not be fully written (such as if the disk is full).
592 m4_ifdef([AS_INIT_GENERATED],
593 [m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],
594 [m4_defun([_LT_GENERATED_FILE_INIT],
595 [m4_require([AS_PREPARE])]dnl
596 [m4_pushdef([AS_MESSAGE_LOG_FD])]dnl
597 [lt_write_fail=0
598 cat >$1 <<_ASEOF || lt_write_fail=1
599 #! $SHELL
600 # Generated by $as_me.
601 $2
602 SHELL=\${CONFIG_SHELL-$SHELL}
603 export SHELL
604 _ASEOF
605 cat >>$1 <<\_ASEOF || lt_write_fail=1
606 AS_SHELL_SANITIZE
607 _AS_PREPARE
608 exec AS_MESSAGE_FD>&1
609 _ASEOF
610 test 0 = "$lt_write_fail" && chmod +x $1[]dnl
611 m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
612
613 # LT_OUTPUT
614 # ---------
615 # This macro allows early generation of the libtool script (before
616 # AC_OUTPUT is called), incase it is used in configure for compilation
617 # tests.
618 AC_DEFUN([LT_OUTPUT],
619 [: ${CONFIG_LT=./config.lt}
620 AC_MSG_NOTICE([creating $CONFIG_LT])
621 _LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
622 [# Run this file to recreate a libtool stub with the current configuration.])
623
624 cat >>"$CONFIG_LT" <<\_LTEOF
625 lt_cl_silent=false
626 exec AS_MESSAGE_LOG_FD>>config.log
627 {
628 echo
629 AS_BOX([Running $as_me.])
630 } >&AS_MESSAGE_LOG_FD
631
632 lt_cl_help="\
633 '$as_me' creates a local libtool stub from the current configuration,
634 for use in further configure time tests before the real libtool is
635 generated.
636
637 Usage: $[0] [[OPTIONS]]
638
639 -h, --help print this help, then exit
640 -V, --version print version number, then exit
641 -q, --quiet do not print progress messages
642 -d, --debug don't remove temporary files
643
644 Report bugs to <bug-libtool@gnu.org>."
645
646 lt_cl_version="\
647 m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
648 m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
649 configured by $[0], generated by m4_PACKAGE_STRING.
650
651 Copyright (C) 2011 Free Software Foundation, Inc.
652 This config.lt script is free software; the Free Software Foundation
653 gives unlimited permision to copy, distribute and modify it."
654
655 while test 0 != $[#]
656 do
657 case $[1] in
658 --version | --v* | -V )
659 echo "$lt_cl_version"; exit 0 ;;
660 --help | --h* | -h )
661 echo "$lt_cl_help"; exit 0 ;;
662 --debug | --d* | -d )
663 debug=: ;;
664 --quiet | --q* | --silent | --s* | -q )
665 lt_cl_silent=: ;;
666
667 -*) AC_MSG_ERROR([unrecognized option: $[1]
668 Try '$[0] --help' for more information.]) ;;
669
670 *) AC_MSG_ERROR([unrecognized argument: $[1]
671 Try '$[0] --help' for more information.]) ;;
672 esac
673 shift
674 done
675
676 if $lt_cl_silent; then
677 exec AS_MESSAGE_FD>/dev/null
678 fi
679 _LTEOF
680
681 cat >>"$CONFIG_LT" <<_LTEOF
682 _LT_OUTPUT_LIBTOOL_COMMANDS_INIT
683 _LTEOF
684
685 cat >>"$CONFIG_LT" <<\_LTEOF
686 AC_MSG_NOTICE([creating $ofile])
687 _LT_OUTPUT_LIBTOOL_COMMANDS
688 AS_EXIT(0)
689 _LTEOF
690 chmod +x "$CONFIG_LT"
691
692 # configure is writing to config.log, but config.lt does its own redirection,
693 # appending to config.log, which fails on DOS, as config.log is still kept
694 # open by configure. Here we exec the FD to /dev/null, effectively closing
695 # config.log, so it can be properly (re)opened and appended to by config.lt.
696 lt_cl_success=:
697 test yes = "$silent" &&
698 lt_config_lt_args="$lt_config_lt_args --quiet"
699 exec AS_MESSAGE_LOG_FD>/dev/null
700 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
701 exec AS_MESSAGE_LOG_FD>>config.log
702 $lt_cl_success || AS_EXIT(1)
703 ])# LT_OUTPUT
704
705
706 # _LT_CONFIG(TAG)
707 # ---------------
708 # If TAG is the built-in tag, create an initial libtool script with a
709 # default configuration from the untagged config vars. Otherwise add code
710 # to config.status for appending the configuration named by TAG from the
711 # matching tagged config vars.
712 m4_defun([_LT_CONFIG],
713 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
714 _LT_CONFIG_SAVE_COMMANDS([
715 m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
716 m4_if(_LT_TAG, [C], [
717 # See if we are running on zsh, and set the options that allow our
718 # commands through without removal of \ escapes.
719 if test -n "${ZSH_VERSION+set}"; then
720 setopt NO_GLOB_SUBST
721 fi
722
723 cfgfile=${ofile}T
724 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
725 $RM "$cfgfile"
726
727 cat <<_LT_EOF >> "$cfgfile"
728 #! $SHELL
729 # Generated automatically by $as_me ($PACKAGE) $VERSION
730 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
731 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
732
733 # Provide generalized library-building support services.
734 # Written by Gordon Matzigkeit, 1996
735
736 _LT_COPYING
737 _LT_LIBTOOL_TAGS
738
739 # Configured defaults for sys_lib_dlsearch_path munging.
740 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
741
742 # ### BEGIN LIBTOOL CONFIG
743 _LT_LIBTOOL_CONFIG_VARS
744 _LT_LIBTOOL_TAG_VARS
745 # ### END LIBTOOL CONFIG
746
747 _LT_EOF
748
749 cat <<'_LT_EOF' >> "$cfgfile"
750
751 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
752
753 _LT_PREPARE_MUNGE_PATH_LIST
754 _LT_PREPARE_CC_BASENAME
755
756 # ### END FUNCTIONS SHARED WITH CONFIGURE
757
758 _LT_EOF
759
760 case $host_os in
761 aix3*)
762 cat <<\_LT_EOF >> "$cfgfile"
763 # AIX sometimes has problems with the GCC collect2 program. For some
764 # reason, if we set the COLLECT_NAMES environment variable, the problems
765 # vanish in a puff of smoke.
766 if test set != "${COLLECT_NAMES+set}"; then
767 COLLECT_NAMES=
768 export COLLECT_NAMES
769 fi
770 _LT_EOF
771 ;;
772 esac
773
774 _LT_PROG_LTMAIN
775
776 # We use sed instead of cat because bash on DJGPP gets confused if
777 # if finds mixed CR/LF and LF-only lines. Since sed operates in
778 # text mode, it properly converts lines to CR/LF. This bash problem
779 # is reportedly fixed, but why not run on old versions too?
780 sed '$q' "$ltmain" >> "$cfgfile" \
781 || (rm -f "$cfgfile"; exit 1)
782
783 mv -f "$cfgfile" "$ofile" ||
784 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
785 chmod +x "$ofile"
786 ],
787 [cat <<_LT_EOF >> "$ofile"
788
789 dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
790 dnl in a comment (ie after a #).
791 # ### BEGIN LIBTOOL TAG CONFIG: $1
792 _LT_LIBTOOL_TAG_VARS(_LT_TAG)
793 # ### END LIBTOOL TAG CONFIG: $1
794 _LT_EOF
795 ])dnl /m4_if
796 ],
797 [m4_if([$1], [], [
798 PACKAGE='$PACKAGE'
799 VERSION='$VERSION'
800 RM='$RM'
801 ofile='$ofile'], [])
802 ])dnl /_LT_CONFIG_SAVE_COMMANDS
803 ])# _LT_CONFIG
804
805
806 # LT_SUPPORTED_TAG(TAG)
807 # ---------------------
808 # Trace this macro to discover what tags are supported by the libtool
809 # --tag option, using:
810 # autoconf --trace 'LT_SUPPORTED_TAG:$1'
811 AC_DEFUN([LT_SUPPORTED_TAG], [])
812
813
814 # C support is built-in for now
815 m4_define([_LT_LANG_C_enabled], [])
816 m4_define([_LT_TAGS], [])
817
818
819 # LT_LANG(LANG)
820 # -------------
821 # Enable libtool support for the given language if not already enabled.
822 AC_DEFUN([LT_LANG],
823 [AC_BEFORE([$0], [LT_OUTPUT])dnl
824 m4_case([$1],
825 [C], [_LT_LANG(C)],
826 [C++], [_LT_LANG(CXX)],
827 [Go], [_LT_LANG(GO)],
828 [Java], [_LT_LANG(GCJ)],
829 [Fortran 77], [_LT_LANG(F77)],
830 [Fortran], [_LT_LANG(FC)],
831 [Windows Resource], [_LT_LANG(RC)],
832 [m4_ifdef([_LT_LANG_]$1[_CONFIG],
833 [_LT_LANG($1)],
834 [m4_fatal([$0: unsupported language: "$1"])])])dnl
835 ])# LT_LANG
836
837
838 # _LT_LANG(LANGNAME)
839 # ------------------
840 m4_defun([_LT_LANG],
841 [m4_ifdef([_LT_LANG_]$1[_enabled], [],
842 [LT_SUPPORTED_TAG([$1])dnl
843 m4_append([_LT_TAGS], [$1 ])dnl
844 m4_define([_LT_LANG_]$1[_enabled], [])dnl
845 _LT_LANG_$1_CONFIG($1)])dnl
846 ])# _LT_LANG
847
848
849 m4_ifndef([AC_PROG_GO], [
850 ############################################################
851 # NOTE: This macro has been submitted for inclusion into #
852 # GNU Autoconf as AC_PROG_GO. When it is available in #
853 # a released version of Autoconf we should remove this #
854 # macro and use it instead. #
855 ############################################################
856 m4_defun([AC_PROG_GO],
857 [AC_LANG_PUSH(Go)dnl
858 AC_ARG_VAR([GOC], [Go compiler command])dnl
859 AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl
860 _AC_ARG_VAR_LDFLAGS()dnl
861 AC_CHECK_TOOL(GOC, gccgo)
862 if test -z "$GOC"; then
863 if test -n "$ac_tool_prefix"; then
864 AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo])
865 fi
866 fi
867 if test -z "$GOC"; then
868 AC_CHECK_PROG(GOC, gccgo, gccgo, false)
869 fi
870 ])#m4_defun
871 ])#m4_ifndef
872
873
874 # _LT_LANG_DEFAULT_CONFIG
875 # -----------------------
876 m4_defun([_LT_LANG_DEFAULT_CONFIG],
877 [AC_PROVIDE_IFELSE([AC_PROG_CXX],
878 [LT_LANG(CXX)],
879 [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
880
881 AC_PROVIDE_IFELSE([AC_PROG_F77],
882 [LT_LANG(F77)],
883 [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
884
885 AC_PROVIDE_IFELSE([AC_PROG_FC],
886 [LT_LANG(FC)],
887 [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
888
889 dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
890 dnl pulling things in needlessly.
891 AC_PROVIDE_IFELSE([AC_PROG_GCJ],
892 [LT_LANG(GCJ)],
893 [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
894 [LT_LANG(GCJ)],
895 [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
896 [LT_LANG(GCJ)],
897 [m4_ifdef([AC_PROG_GCJ],
898 [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
899 m4_ifdef([A][M_PROG_GCJ],
900 [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
901 m4_ifdef([LT_PROG_GCJ],
902 [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
903
904 AC_PROVIDE_IFELSE([AC_PROG_GO],
905 [LT_LANG(GO)],
906 [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])])
907
908 AC_PROVIDE_IFELSE([LT_PROG_RC],
909 [LT_LANG(RC)],
910 [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
911 ])# _LT_LANG_DEFAULT_CONFIG
912
913 # Obsolete macros:
914 AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
915 AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
916 AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
917 AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
918 AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
919 dnl aclocal-1.4 backwards compatibility:
920 dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
921 dnl AC_DEFUN([AC_LIBTOOL_F77], [])
922 dnl AC_DEFUN([AC_LIBTOOL_FC], [])
923 dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
924 dnl AC_DEFUN([AC_LIBTOOL_RC], [])
925
926
927 # _LT_TAG_COMPILER
928 # ----------------
929 m4_defun([_LT_TAG_COMPILER],
930 [AC_REQUIRE([AC_PROG_CC])dnl
931
932 _LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
933 _LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
934 _LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
935 _LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
936
937 # If no C compiler was specified, use CC.
938 LTCC=${LTCC-"$CC"}
939
940 # If no C compiler flags were specified, use CFLAGS.
941 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
942
943 # Allow CC to be a program name with arguments.
944 compiler=$CC
945 ])# _LT_TAG_COMPILER
946
947
948 # _LT_COMPILER_BOILERPLATE
949 # ------------------------
950 # Check for compiler boilerplate output or warnings with
951 # the simple compiler test code.
952 m4_defun([_LT_COMPILER_BOILERPLATE],
953 [m4_require([_LT_DECL_SED])dnl
954 ac_outfile=conftest.$ac_objext
955 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
956 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
957 _lt_compiler_boilerplate=`cat conftest.err`
958 $RM conftest*
959 ])# _LT_COMPILER_BOILERPLATE
960
961
962 # _LT_LINKER_BOILERPLATE
963 # ----------------------
964 # Check for linker boilerplate output or warnings with
965 # the simple link test code.
966 m4_defun([_LT_LINKER_BOILERPLATE],
967 [m4_require([_LT_DECL_SED])dnl
968 ac_outfile=conftest.$ac_objext
969 echo "$lt_simple_link_test_code" >conftest.$ac_ext
970 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
971 _lt_linker_boilerplate=`cat conftest.err`
972 $RM -r conftest*
973 ])# _LT_LINKER_BOILERPLATE
974
975 # _LT_REQUIRED_DARWIN_CHECKS
976 # -------------------------
977 m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
978 case $host_os in
979 rhapsody* | darwin*)
980 AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
981 AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
982 AC_CHECK_TOOL([LIPO], [lipo], [:])
983 AC_CHECK_TOOL([OTOOL], [otool], [:])
984 AC_CHECK_TOOL([OTOOL64], [otool64], [:])
985 _LT_DECL([], [DSYMUTIL], [1],
986 [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
987 _LT_DECL([], [NMEDIT], [1],
988 [Tool to change global to local symbols on Mac OS X])
989 _LT_DECL([], [LIPO], [1],
990 [Tool to manipulate fat objects and archives on Mac OS X])
991 _LT_DECL([], [OTOOL], [1],
992 [ldd/readelf like tool for Mach-O binaries on Mac OS X])
993 _LT_DECL([], [OTOOL64], [1],
994 [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
995
996 AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
997 [lt_cv_apple_cc_single_mod=no
998 if test -z "$LT_MULTI_MODULE"; then
999 # By default we will add the -single_module flag. You can override
1000 # by either setting the environment variable LT_MULTI_MODULE
1001 # non-empty at configure time, or by adding -multi_module to the
1002 # link flags.
1003 rm -rf libconftest.dylib*
1004 echo "int foo(void){return 1;}" > conftest.c
1005 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1006 -dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
1007 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1008 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
1009 _lt_result=$?
1010 # If there is a non-empty error log, and "single_module"
1011 # appears in it, assume the flag caused a linker warning
1012 if test -s conftest.err && $GREP single_module conftest.err; then
1013 cat conftest.err >&AS_MESSAGE_LOG_FD
1014 # Otherwise, if the output was created with a 0 exit code from
1015 # the compiler, it worked.
1016 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
1017 lt_cv_apple_cc_single_mod=yes
1018 else
1019 cat conftest.err >&AS_MESSAGE_LOG_FD
1020 fi
1021 rm -rf libconftest.dylib*
1022 rm -f conftest.*
1023 fi])
1024
1025 AC_CACHE_CHECK([for -exported_symbols_list linker flag],
1026 [lt_cv_ld_exported_symbols_list],
1027 [lt_cv_ld_exported_symbols_list=no
1028 save_LDFLAGS=$LDFLAGS
1029 echo "_main" > conftest.sym
1030 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1031 AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
1032 [lt_cv_ld_exported_symbols_list=yes],
1033 [lt_cv_ld_exported_symbols_list=no])
1034 LDFLAGS=$save_LDFLAGS
1035 ])
1036
1037 AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
1038 [lt_cv_ld_force_load=no
1039 cat > conftest.c << _LT_EOF
1040 int forced_loaded() { return 2;}
1041 _LT_EOF
1042 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
1043 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
1044 echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
1045 $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
1046 echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
1047 $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
1048 cat > conftest.c << _LT_EOF
1049 int main() { return 0;}
1050 _LT_EOF
1051 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
1052 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
1053 _lt_result=$?
1054 if test -s conftest.err && $GREP force_load conftest.err; then
1055 cat conftest.err >&AS_MESSAGE_LOG_FD
1056 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
1057 lt_cv_ld_force_load=yes
1058 else
1059 cat conftest.err >&AS_MESSAGE_LOG_FD
1060 fi
1061 rm -f conftest.err libconftest.a conftest conftest.c
1062 rm -rf conftest.dSYM
1063 ])
1064 case $host_os in
1065 rhapsody* | darwin1.[[012]])
1066 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
1067 darwin1.*)
1068 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1069 darwin*) # darwin 5.x on
1070 # if running on 10.5 or later, the deployment target defaults
1071 # to the OS version, if on x86, and 10.4, the deployment
1072 # target defaults to 10.4. Don't you love it?
1073 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
1074 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
1075 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
1076 10.[[012]][[,.]]*)
1077 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1078 10.*)
1079 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
1080 esac
1081 ;;
1082 esac
1083 if test yes = "$lt_cv_apple_cc_single_mod"; then
1084 _lt_dar_single_mod='$single_module'
1085 fi
1086 if test yes = "$lt_cv_ld_exported_symbols_list"; then
1087 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
1088 else
1089 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
1090 fi
1091 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
1092 _lt_dsymutil='~$DSYMUTIL $lib || :'
1093 else
1094 _lt_dsymutil=
1095 fi
1096 ;;
1097 esac
1098 ])
1099
1100
1101 # _LT_DARWIN_LINKER_FEATURES([TAG])
1102 # ---------------------------------
1103 # Checks for linker and compiler features on darwin
1104 m4_defun([_LT_DARWIN_LINKER_FEATURES],
1105 [
1106 m4_require([_LT_REQUIRED_DARWIN_CHECKS])
1107 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
1108 _LT_TAGVAR(hardcode_direct, $1)=no
1109 _LT_TAGVAR(hardcode_automatic, $1)=yes
1110 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1111 if test yes = "$lt_cv_ld_force_load"; then
1112 _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
1113 m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
1114 [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes])
1115 else
1116 _LT_TAGVAR(whole_archive_flag_spec, $1)=''
1117 fi
1118 _LT_TAGVAR(link_all_deplibs, $1)=yes
1119 _LT_TAGVAR(allow_undefined_flag, $1)=$_lt_dar_allow_undefined
1120 case $cc_basename in
1121 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
1122 *) _lt_dar_can_shared=$GCC ;;
1123 esac
1124 if test yes = "$_lt_dar_can_shared"; then
1125 output_verbose_link_cmd=func_echo_all
1126 _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
1127 _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
1128 _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
1129 _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
1130 m4_if([$1], [CXX],
1131 [ if test yes != "$lt_cv_apple_cc_single_mod"; then
1132 _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
1133 _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
1134 fi
1135 ],[])
1136 else
1137 _LT_TAGVAR(ld_shlibs, $1)=no
1138 fi
1139 ])
1140
1141 # _LT_SYS_MODULE_PATH_AIX([TAGNAME])
1142 # ----------------------------------
1143 # Links a minimal program and checks the executable
1144 # for the system default hardcoded library path. In most cases,
1145 # this is /usr/lib:/lib, but when the MPI compilers are used
1146 # the location of the communication and MPI libs are included too.
1147 # If we don't find anything, use the default library path according
1148 # to the aix ld manual.
1149 # Store the results from the different compilers for each TAGNAME.
1150 # Allow to override them for all tags through lt_cv_aix_libpath.
1151 m4_defun([_LT_SYS_MODULE_PATH_AIX],
1152 [m4_require([_LT_DECL_SED])dnl
1153 if test set = "${lt_cv_aix_libpath+set}"; then
1154 aix_libpath=$lt_cv_aix_libpath
1155 else
1156 AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])],
1157 [AC_LINK_IFELSE([AC_LANG_PROGRAM],[
1158 lt_aix_libpath_sed='[
1159 /Import File Strings/,/^$/ {
1160 /^0/ {
1161 s/^0 *\([^ ]*\) *$/\1/
1162 p
1163 }
1164 }]'
1165 _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1166 # Check for a 64-bit object if we didn't find anything.
1167 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
1168 _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1169 fi],[])
1170 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
1171 _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=/usr/lib:/lib
1172 fi
1173 ])
1174 aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])
1175 fi
1176 ])# _LT_SYS_MODULE_PATH_AIX
1177
1178
1179 # _LT_SHELL_INIT(ARG)
1180 # -------------------
1181 m4_define([_LT_SHELL_INIT],
1182 [m4_divert_text([M4SH-INIT], [$1
1183 ])])# _LT_SHELL_INIT
1184
1185
1186
1187 # _LT_PROG_ECHO_BACKSLASH
1188 # -----------------------
1189 # Find how we can fake an echo command that does not interpret backslash.
1190 # In particular, with Autoconf 2.60 or later we add some code to the start
1191 # of the generated configure script that will find a shell with a builtin
1192 # printf (that we can use as an echo command).
1193 m4_defun([_LT_PROG_ECHO_BACKSLASH],
1194 [ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
1195 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
1196 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1197
1198 AC_MSG_CHECKING([how to print strings])
1199 # Test print first, because it will be a builtin if present.
1200 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
1201 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
1202 ECHO='print -r --'
1203 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
1204 ECHO='printf %s\n'
1205 else
1206 # Use this function as a fallback that always works.
1207 func_fallback_echo ()
1208 {
1209 eval 'cat <<_LTECHO_EOF
1210 $[]1
1211 _LTECHO_EOF'
1212 }
1213 ECHO='func_fallback_echo'
1214 fi
1215
1216 # func_echo_all arg...
1217 # Invoke $ECHO with all args, space-separated.
1218 func_echo_all ()
1219 {
1220 $ECHO "$*"
1221 }
1222
1223 case $ECHO in
1224 printf*) AC_MSG_RESULT([printf]) ;;
1225 print*) AC_MSG_RESULT([print -r]) ;;
1226 *) AC_MSG_RESULT([cat]) ;;
1227 esac
1228
1229 m4_ifdef([_AS_DETECT_SUGGESTED],
1230 [_AS_DETECT_SUGGESTED([
1231 test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
1232 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
1233 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
1234 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1235 PATH=/empty FPATH=/empty; export PATH FPATH
1236 test "X`printf %s $ECHO`" = "X$ECHO" \
1237 || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
1238
1239 _LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
1240 _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
1241 ])# _LT_PROG_ECHO_BACKSLASH
1242
1243
1244 # _LT_WITH_SYSROOT
1245 # ----------------
1246 AC_DEFUN([_LT_WITH_SYSROOT],
1247 [AC_MSG_CHECKING([for sysroot])
1248 AC_ARG_WITH([sysroot],
1249 [AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
1250 [Search for dependent libraries within DIR (or the compiler's sysroot
1251 if not specified).])],
1252 [], [with_sysroot=no])
1253
1254 dnl lt_sysroot will always be passed unquoted. We quote it here
1255 dnl in case the user passed a directory name.
1256 lt_sysroot=
1257 case $with_sysroot in #(
1258 yes)
1259 if test yes = "$GCC"; then
1260 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
1261 fi
1262 ;; #(
1263 /*)
1264 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
1265 ;; #(
1266 no|'')
1267 ;; #(
1268 *)
1269 AC_MSG_RESULT([$with_sysroot])
1270 AC_MSG_ERROR([The sysroot must be an absolute path.])
1271 ;;
1272 esac
1273
1274 AC_MSG_RESULT([${lt_sysroot:-no}])
1275 _LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
1276 [dependent libraries, and where our libraries should be installed.])])
1277
1278 # _LT_ENABLE_LOCK
1279 # ---------------
1280 m4_defun([_LT_ENABLE_LOCK],
1281 [AC_ARG_ENABLE([libtool-lock],
1282 [AS_HELP_STRING([--disable-libtool-lock],
1283 [avoid locking (might break parallel builds)])])
1284 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
1285
1286 # Some flags need to be propagated to the compiler or linker for good
1287 # libtool support.
1288 case $host in
1289 ia64-*-hpux*)
1290 # Find out what ABI is being produced by ac_compile, and set mode
1291 # options accordingly.
1292 echo 'int i;' > conftest.$ac_ext
1293 if AC_TRY_EVAL(ac_compile); then
1294 case `/usr/bin/file conftest.$ac_objext` in
1295 *ELF-32*)
1296 HPUX_IA64_MODE=32
1297 ;;
1298 *ELF-64*)
1299 HPUX_IA64_MODE=64
1300 ;;
1301 esac
1302 fi
1303 rm -rf conftest*
1304 ;;
1305 *-*-irix6*)
1306 # Find out what ABI is being produced by ac_compile, and set linker
1307 # options accordingly.
1308 echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
1309 if AC_TRY_EVAL(ac_compile); then
1310 if test yes = "$lt_cv_prog_gnu_ld"; then
1311 case `/usr/bin/file conftest.$ac_objext` in
1312 *32-bit*)
1313 LD="${LD-ld} -melf32bsmip"
1314 ;;
1315 *N32*)
1316 LD="${LD-ld} -melf32bmipn32"
1317 ;;
1318 *64-bit*)
1319 LD="${LD-ld} -melf64bmip"
1320 ;;
1321 esac
1322 else
1323 case `/usr/bin/file conftest.$ac_objext` in
1324 *32-bit*)
1325 LD="${LD-ld} -32"
1326 ;;
1327 *N32*)
1328 LD="${LD-ld} -n32"
1329 ;;
1330 *64-bit*)
1331 LD="${LD-ld} -64"
1332 ;;
1333 esac
1334 fi
1335 fi
1336 rm -rf conftest*
1337 ;;
1338
1339 mips64*-*linux*)
1340 # Find out what ABI is being produced by ac_compile, and set linker
1341 # options accordingly.
1342 echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
1343 if AC_TRY_EVAL(ac_compile); then
1344 emul=elf
1345 case `/usr/bin/file conftest.$ac_objext` in
1346 *32-bit*)
1347 emul="${emul}32"
1348 ;;
1349 *64-bit*)
1350 emul="${emul}64"
1351 ;;
1352 esac
1353 case `/usr/bin/file conftest.$ac_objext` in
1354 *MSB*)
1355 emul="${emul}btsmip"
1356 ;;
1357 *LSB*)
1358 emul="${emul}ltsmip"
1359 ;;
1360 esac
1361 case `/usr/bin/file conftest.$ac_objext` in
1362 *N32*)
1363 emul="${emul}n32"
1364 ;;
1365 esac
1366 LD="${LD-ld} -m $emul"
1367 fi
1368 rm -rf conftest*
1369 ;;
1370
1371 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
1372 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1373 # Find out what ABI is being produced by ac_compile, and set linker
1374 # options accordingly. Note that the listed cases only cover the
1375 # situations where additional linker options are needed (such as when
1376 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
1377 # vice versa); the common cases where no linker options are needed do
1378 # not appear in the list.
1379 echo 'int i;' > conftest.$ac_ext
1380 if AC_TRY_EVAL(ac_compile); then
1381 case `/usr/bin/file conftest.o` in
1382 *32-bit*)
1383 case $host in
1384 x86_64-*kfreebsd*-gnu)
1385 LD="${LD-ld} -m elf_i386_fbsd"
1386 ;;
1387 x86_64-*linux*)
1388 case `/usr/bin/file conftest.o` in
1389 *x86-64*)
1390 LD="${LD-ld} -m elf32_x86_64"
1391 ;;
1392 *)
1393 LD="${LD-ld} -m elf_i386"
1394 ;;
1395 esac
1396 ;;
1397 powerpc64le-*linux*)
1398 LD="${LD-ld} -m elf32lppclinux"
1399 ;;
1400 powerpc64-*linux*)
1401 LD="${LD-ld} -m elf32ppclinux"
1402 ;;
1403 s390x-*linux*)
1404 LD="${LD-ld} -m elf_s390"
1405 ;;
1406 sparc64-*linux*)
1407 LD="${LD-ld} -m elf32_sparc"
1408 ;;
1409 esac
1410 ;;
1411 *64-bit*)
1412 case $host in
1413 x86_64-*kfreebsd*-gnu)
1414 LD="${LD-ld} -m elf_x86_64_fbsd"
1415 ;;
1416 x86_64-*linux*)
1417 LD="${LD-ld} -m elf_x86_64"
1418 ;;
1419 powerpcle-*linux*)
1420 LD="${LD-ld} -m elf64lppc"
1421 ;;
1422 powerpc-*linux*)
1423 LD="${LD-ld} -m elf64ppc"
1424 ;;
1425 s390*-*linux*|s390*-*tpf*)
1426 LD="${LD-ld} -m elf64_s390"
1427 ;;
1428 sparc*-*linux*)
1429 LD="${LD-ld} -m elf64_sparc"
1430 ;;
1431 esac
1432 ;;
1433 esac
1434 fi
1435 rm -rf conftest*
1436 ;;
1437
1438 *-*-sco3.2v5*)
1439 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1440 SAVE_CFLAGS=$CFLAGS
1441 CFLAGS="$CFLAGS -belf"
1442 AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
1443 [AC_LANG_PUSH(C)
1444 AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
1445 AC_LANG_POP])
1446 if test yes != "$lt_cv_cc_needs_belf"; then
1447 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1448 CFLAGS=$SAVE_CFLAGS
1449 fi
1450 ;;
1451 *-*solaris*)
1452 # Find out what ABI is being produced by ac_compile, and set linker
1453 # options accordingly.
1454 echo 'int i;' > conftest.$ac_ext
1455 if AC_TRY_EVAL(ac_compile); then
1456 case `/usr/bin/file conftest.o` in
1457 *64-bit*)
1458 case $lt_cv_prog_gnu_ld in
1459 yes*)
1460 case $host in
1461 i?86-*-solaris*|x86_64-*-solaris*)
1462 LD="${LD-ld} -m elf_x86_64"
1463 ;;
1464 sparc*-*-solaris*)
1465 LD="${LD-ld} -m elf64_sparc"
1466 ;;
1467 esac
1468 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
1469 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
1470 LD=${LD-ld}_sol2
1471 fi
1472 ;;
1473 *)
1474 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
1475 LD="${LD-ld} -64"
1476 fi
1477 ;;
1478 esac
1479 ;;
1480 esac
1481 fi
1482 rm -rf conftest*
1483 ;;
1484 esac
1485
1486 need_locks=$enable_libtool_lock
1487 ])# _LT_ENABLE_LOCK
1488
1489
1490 # _LT_PROG_AR
1491 # -----------
1492 m4_defun([_LT_PROG_AR],
1493 [AC_CHECK_TOOLS(AR, [ar], false)
1494 : ${AR=ar}
1495 : ${AR_FLAGS=cru}
1496 _LT_DECL([], [AR], [1], [The archiver])
1497 _LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
1498
1499 AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
1500 [lt_cv_ar_at_file=no
1501 AC_COMPILE_IFELSE([AC_LANG_PROGRAM],
1502 [echo conftest.$ac_objext > conftest.lst
1503 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD'
1504 AC_TRY_EVAL([lt_ar_try])
1505 if test 0 -eq "$ac_status"; then
1506 # Ensure the archiver fails upon bogus file names.
1507 rm -f conftest.$ac_objext libconftest.a
1508 AC_TRY_EVAL([lt_ar_try])
1509 if test 0 -ne "$ac_status"; then
1510 lt_cv_ar_at_file=@
1511 fi
1512 fi
1513 rm -f conftest.* libconftest.a
1514 ])
1515 ])
1516
1517 if test no = "$lt_cv_ar_at_file"; then
1518 archiver_list_spec=
1519 else
1520 archiver_list_spec=$lt_cv_ar_at_file
1521 fi
1522 _LT_DECL([], [archiver_list_spec], [1],
1523 [How to feed a file listing to the archiver])
1524 ])# _LT_PROG_AR
1525
1526
1527 # _LT_CMD_OLD_ARCHIVE
1528 # -------------------
1529 m4_defun([_LT_CMD_OLD_ARCHIVE],
1530 [_LT_PROG_AR
1531
1532 AC_CHECK_TOOL(STRIP, strip, :)
1533 test -z "$STRIP" && STRIP=:
1534 _LT_DECL([], [STRIP], [1], [A symbol stripping program])
1535
1536 AC_CHECK_TOOL(RANLIB, ranlib, :)
1537 test -z "$RANLIB" && RANLIB=:
1538 _LT_DECL([], [RANLIB], [1],
1539 [Commands used to install an old-style archive])
1540
1541 # Determine commands to create old-style static archives.
1542 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
1543 old_postinstall_cmds='chmod 644 $oldlib'
1544 old_postuninstall_cmds=
1545
1546 if test -n "$RANLIB"; then
1547 case $host_os in
1548 bitrig* | openbsd*)
1549 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1550 ;;
1551 *)
1552 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
1553 ;;
1554 esac
1555 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
1556 fi
1557
1558 case $host_os in
1559 darwin*)
1560 lock_old_archive_extraction=yes ;;
1561 *)
1562 lock_old_archive_extraction=no ;;
1563 esac
1564 _LT_DECL([], [old_postinstall_cmds], [2])
1565 _LT_DECL([], [old_postuninstall_cmds], [2])
1566 _LT_TAGDECL([], [old_archive_cmds], [2],
1567 [Commands used to build an old-style archive])
1568 _LT_DECL([], [lock_old_archive_extraction], [0],
1569 [Whether to use a lock for old archive extraction])
1570 ])# _LT_CMD_OLD_ARCHIVE
1571
1572
1573 # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1574 # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
1575 # ----------------------------------------------------------------
1576 # Check whether the given compiler option works
1577 AC_DEFUN([_LT_COMPILER_OPTION],
1578 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
1579 m4_require([_LT_DECL_SED])dnl
1580 AC_CACHE_CHECK([$1], [$2],
1581 [$2=no
1582 m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
1583 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1584 lt_compiler_flag="$3" ## exclude from sc_useless_quotes_in_assignment
1585 # Insert the option either (1) after the last *FLAGS variable, or
1586 # (2) before a word containing "conftest.", or (3) at the end.
1587 # Note that $ac_compile itself does not contain backslashes and begins
1588 # with a dollar sign (not a hyphen), so the echo should work correctly.
1589 # The option is referenced via a variable to avoid confusing sed.
1590 lt_compile=`echo "$ac_compile" | $SED \
1591 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1592 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1593 -e 's:$: $lt_compiler_flag:'`
1594 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1595 (eval "$lt_compile" 2>conftest.err)
1596 ac_status=$?
1597 cat conftest.err >&AS_MESSAGE_LOG_FD
1598 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1599 if (exit $ac_status) && test -s "$ac_outfile"; then
1600 # The compiler can only warn and ignore the option if not recognized
1601 # So say no if there are warnings other than the usual output.
1602 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
1603 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1604 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1605 $2=yes
1606 fi
1607 fi
1608 $RM conftest*
1609 ])
1610
1611 if test yes = "[$]$2"; then
1612 m4_if([$5], , :, [$5])
1613 else
1614 m4_if([$6], , :, [$6])
1615 fi
1616 ])# _LT_COMPILER_OPTION
1617
1618 # Old name:
1619 AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
1620 dnl aclocal-1.4 backwards compatibility:
1621 dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
1622
1623
1624 # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1625 # [ACTION-SUCCESS], [ACTION-FAILURE])
1626 # ----------------------------------------------------
1627 # Check whether the given linker option works
1628 AC_DEFUN([_LT_LINKER_OPTION],
1629 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
1630 m4_require([_LT_DECL_SED])dnl
1631 AC_CACHE_CHECK([$1], [$2],
1632 [$2=no
1633 save_LDFLAGS=$LDFLAGS
1634 LDFLAGS="$LDFLAGS $3"
1635 echo "$lt_simple_link_test_code" > conftest.$ac_ext
1636 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
1637 # The linker can only warn and ignore the option if not recognized
1638 # So say no if there are warnings
1639 if test -s conftest.err; then
1640 # Append any errors to the config.log.
1641 cat conftest.err 1>&AS_MESSAGE_LOG_FD
1642 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
1643 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1644 if diff conftest.exp conftest.er2 >/dev/null; then
1645 $2=yes
1646 fi
1647 else
1648 $2=yes
1649 fi
1650 fi
1651 $RM -r conftest*
1652 LDFLAGS=$save_LDFLAGS
1653 ])
1654
1655 if test yes = "[$]$2"; then
1656 m4_if([$4], , :, [$4])
1657 else
1658 m4_if([$5], , :, [$5])
1659 fi
1660 ])# _LT_LINKER_OPTION
1661
1662 # Old name:
1663 AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
1664 dnl aclocal-1.4 backwards compatibility:
1665 dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
1666
1667
1668 # LT_CMD_MAX_LEN
1669 #---------------
1670 AC_DEFUN([LT_CMD_MAX_LEN],
1671 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
1672 # find the maximum length of command line arguments
1673 AC_MSG_CHECKING([the maximum length of command line arguments])
1674 AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
1675 i=0
1676 teststring=ABCD
1677
1678 case $build_os in
1679 msdosdjgpp*)
1680 # On DJGPP, this test can blow up pretty badly due to problems in libc
1681 # (any single argument exceeding 2000 bytes causes a buffer overrun
1682 # during glob expansion). Even if it were fixed, the result of this
1683 # check would be larger than it should be.
1684 lt_cv_sys_max_cmd_len=12288; # 12K is about right
1685 ;;
1686
1687 gnu*)
1688 # Under GNU Hurd, this test is not required because there is
1689 # no limit to the length of command line arguments.
1690 # Libtool will interpret -1 as no limit whatsoever
1691 lt_cv_sys_max_cmd_len=-1;
1692 ;;
1693
1694 cygwin* | mingw* | cegcc*)
1695 # On Win9x/ME, this test blows up -- it succeeds, but takes
1696 # about 5 minutes as the teststring grows exponentially.
1697 # Worse, since 9x/ME are not pre-emptively multitasking,
1698 # you end up with a "frozen" computer, even though with patience
1699 # the test eventually succeeds (with a max line length of 256k).
1700 # Instead, let's just punt: use the minimum linelength reported by
1701 # all of the supported platforms: 8192 (on NT/2K/XP).
1702 lt_cv_sys_max_cmd_len=8192;
1703 ;;
1704
1705 mint*)
1706 # On MiNT this can take a long time and run out of memory.
1707 lt_cv_sys_max_cmd_len=8192;
1708 ;;
1709
1710 amigaos*)
1711 # On AmigaOS with pdksh, this test takes hours, literally.
1712 # So we just punt and use a minimum line length of 8192.
1713 lt_cv_sys_max_cmd_len=8192;
1714 ;;
1715
1716 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
1717 # This has been around since 386BSD, at least. Likely further.
1718 if test -x /sbin/sysctl; then
1719 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
1720 elif test -x /usr/sbin/sysctl; then
1721 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
1722 else
1723 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
1724 fi
1725 # And add a safety zone
1726 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
1727 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
1728 ;;
1729
1730 interix*)
1731 # We know the value 262144 and hardcode it with a safety zone (like BSD)
1732 lt_cv_sys_max_cmd_len=196608
1733 ;;
1734
1735 os2*)
1736 # The test takes a long time on OS/2.
1737 lt_cv_sys_max_cmd_len=8192
1738 ;;
1739
1740 osf*)
1741 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
1742 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
1743 # nice to cause kernel panics so lets avoid the loop below.
1744 # First set a reasonable default.
1745 lt_cv_sys_max_cmd_len=16384
1746 #
1747 if test -x /sbin/sysconfig; then
1748 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
1749 *1*) lt_cv_sys_max_cmd_len=-1 ;;
1750 esac
1751 fi
1752 ;;
1753 sco3.2v5*)
1754 lt_cv_sys_max_cmd_len=102400
1755 ;;
1756 sysv5* | sco5v6* | sysv4.2uw2*)
1757 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
1758 if test -n "$kargmax"; then
1759 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
1760 else
1761 lt_cv_sys_max_cmd_len=32768
1762 fi
1763 ;;
1764 *)
1765 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
1766 if test -n "$lt_cv_sys_max_cmd_len" && \
1767 test undefined != "$lt_cv_sys_max_cmd_len"; then
1768 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
1769 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
1770 else
1771 # Make teststring a little bigger before we do anything with it.
1772 # a 1K string should be a reasonable start.
1773 for i in 1 2 3 4 5 6 7 8; do
1774 teststring=$teststring$teststring
1775 done
1776 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
1777 # If test is not a shell built-in, we'll probably end up computing a
1778 # maximum length that is only half of the actual maximum length, but
1779 # we can't tell.
1780 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
1781 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
1782 test 17 != "$i" # 1/2 MB should be enough
1783 do
1784 i=`expr $i + 1`
1785 teststring=$teststring$teststring
1786 done
1787 # Only check the string length outside the loop.
1788 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
1789 teststring=
1790 # Add a significant safety factor because C++ compilers can tack on
1791 # massive amounts of additional arguments before passing them to the
1792 # linker. It appears as though 1/2 is a usable value.
1793 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
1794 fi
1795 ;;
1796 esac
1797 ])
1798 if test -n "$lt_cv_sys_max_cmd_len"; then
1799 AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
1800 else
1801 AC_MSG_RESULT(none)
1802 fi
1803 max_cmd_len=$lt_cv_sys_max_cmd_len
1804 _LT_DECL([], [max_cmd_len], [0],
1805 [What is the maximum length of a command?])
1806 ])# LT_CMD_MAX_LEN
1807
1808 # Old name:
1809 AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
1810 dnl aclocal-1.4 backwards compatibility:
1811 dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
1812
1813
1814 # _LT_HEADER_DLFCN
1815 # ----------------
1816 m4_defun([_LT_HEADER_DLFCN],
1817 [AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
1818 ])# _LT_HEADER_DLFCN
1819
1820
1821 # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
1822 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
1823 # ----------------------------------------------------------------
1824 m4_defun([_LT_TRY_DLOPEN_SELF],
1825 [m4_require([_LT_HEADER_DLFCN])dnl
1826 if test yes = "$cross_compiling"; then :
1827 [$4]
1828 else
1829 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1830 lt_status=$lt_dlunknown
1831 cat > conftest.$ac_ext <<_LT_EOF
1832 [#line $LINENO "configure"
1833 #include "confdefs.h"
1834
1835 #if HAVE_DLFCN_H
1836 #include <dlfcn.h>
1837 #endif
1838
1839 #include <stdio.h>
1840
1841 #ifdef RTLD_GLOBAL
1842 # define LT_DLGLOBAL RTLD_GLOBAL
1843 #else
1844 # ifdef DL_GLOBAL
1845 # define LT_DLGLOBAL DL_GLOBAL
1846 # else
1847 # define LT_DLGLOBAL 0
1848 # endif
1849 #endif
1850
1851 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
1852 find out it does not work in some platform. */
1853 #ifndef LT_DLLAZY_OR_NOW
1854 # ifdef RTLD_LAZY
1855 # define LT_DLLAZY_OR_NOW RTLD_LAZY
1856 # else
1857 # ifdef DL_LAZY
1858 # define LT_DLLAZY_OR_NOW DL_LAZY
1859 # else
1860 # ifdef RTLD_NOW
1861 # define LT_DLLAZY_OR_NOW RTLD_NOW
1862 # else
1863 # ifdef DL_NOW
1864 # define LT_DLLAZY_OR_NOW DL_NOW
1865 # else
1866 # define LT_DLLAZY_OR_NOW 0
1867 # endif
1868 # endif
1869 # endif
1870 # endif
1871 #endif
1872
1873 /* When -fvisibility=hidden is used, assume the code has been annotated
1874 correspondingly for the symbols needed. */
1875 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
1876 int fnord () __attribute__((visibility("default")));
1877 #endif
1878
1879 int fnord () { return 42; }
1880 int main ()
1881 {
1882 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1883 int status = $lt_dlunknown;
1884
1885 if (self)
1886 {
1887 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
1888 else
1889 {
1890 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1891 else puts (dlerror ());
1892 }
1893 /* dlclose (self); */
1894 }
1895 else
1896 puts (dlerror ());
1897
1898 return status;
1899 }]
1900 _LT_EOF
1901 if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
1902 (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
1903 lt_status=$?
1904 case x$lt_status in
1905 x$lt_dlno_uscore) $1 ;;
1906 x$lt_dlneed_uscore) $2 ;;
1907 x$lt_dlunknown|x*) $3 ;;
1908 esac
1909 else :
1910 # compilation failed
1911 $3
1912 fi
1913 fi
1914 rm -fr conftest*
1915 ])# _LT_TRY_DLOPEN_SELF
1916
1917
1918 # LT_SYS_DLOPEN_SELF
1919 # ------------------
1920 AC_DEFUN([LT_SYS_DLOPEN_SELF],
1921 [m4_require([_LT_HEADER_DLFCN])dnl
1922 if test yes != "$enable_dlopen"; then
1923 enable_dlopen=unknown
1924 enable_dlopen_self=unknown
1925 enable_dlopen_self_static=unknown
1926 else
1927 lt_cv_dlopen=no
1928 lt_cv_dlopen_libs=
1929
1930 case $host_os in
1931 beos*)
1932 lt_cv_dlopen=load_add_on
1933 lt_cv_dlopen_libs=
1934 lt_cv_dlopen_self=yes
1935 ;;
1936
1937 mingw* | pw32* | cegcc*)
1938 lt_cv_dlopen=LoadLibrary
1939 lt_cv_dlopen_libs=
1940 ;;
1941
1942 cygwin*)
1943 lt_cv_dlopen=dlopen
1944 lt_cv_dlopen_libs=
1945 ;;
1946
1947 darwin*)
1948 # if libdl is installed we need to link against it
1949 AC_CHECK_LIB([dl], [dlopen],
1950 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
1951 lt_cv_dlopen=dyld
1952 lt_cv_dlopen_libs=
1953 lt_cv_dlopen_self=yes
1954 ])
1955 ;;
1956
1957 tpf*)
1958 # Don't try to run any link tests for TPF. We know it's impossible
1959 # because TPF is a cross-compiler, and we know how we open DSOs.
1960 lt_cv_dlopen=dlopen
1961 lt_cv_dlopen_libs=
1962 lt_cv_dlopen_self=no
1963 ;;
1964
1965 *)
1966 AC_CHECK_FUNC([shl_load],
1967 [lt_cv_dlopen=shl_load],
1968 [AC_CHECK_LIB([dld], [shl_load],
1969 [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld],
1970 [AC_CHECK_FUNC([dlopen],
1971 [lt_cv_dlopen=dlopen],
1972 [AC_CHECK_LIB([dl], [dlopen],
1973 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],
1974 [AC_CHECK_LIB([svld], [dlopen],
1975 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld],
1976 [AC_CHECK_LIB([dld], [dld_link],
1977 [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld])
1978 ])
1979 ])
1980 ])
1981 ])
1982 ])
1983 ;;
1984 esac
1985
1986 if test no = "$lt_cv_dlopen"; then
1987 enable_dlopen=no
1988 else
1989 enable_dlopen=yes
1990 fi
1991
1992 case $lt_cv_dlopen in
1993 dlopen)
1994 save_CPPFLAGS=$CPPFLAGS
1995 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1996
1997 save_LDFLAGS=$LDFLAGS
1998 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1999
2000 save_LIBS=$LIBS
2001 LIBS="$lt_cv_dlopen_libs $LIBS"
2002
2003 AC_CACHE_CHECK([whether a program can dlopen itself],
2004 lt_cv_dlopen_self, [dnl
2005 _LT_TRY_DLOPEN_SELF(
2006 lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
2007 lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
2008 ])
2009
2010 if test yes = "$lt_cv_dlopen_self"; then
2011 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
2012 AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
2013 lt_cv_dlopen_self_static, [dnl
2014 _LT_TRY_DLOPEN_SELF(
2015 lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
2016 lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
2017 ])
2018 fi
2019
2020 CPPFLAGS=$save_CPPFLAGS
2021 LDFLAGS=$save_LDFLAGS
2022 LIBS=$save_LIBS
2023 ;;
2024 esac
2025
2026 case $lt_cv_dlopen_self in
2027 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
2028 *) enable_dlopen_self=unknown ;;
2029 esac
2030
2031 case $lt_cv_dlopen_self_static in
2032 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
2033 *) enable_dlopen_self_static=unknown ;;
2034 esac
2035 fi
2036 _LT_DECL([dlopen_support], [enable_dlopen], [0],
2037 [Whether dlopen is supported])
2038 _LT_DECL([dlopen_self], [enable_dlopen_self], [0],
2039 [Whether dlopen of programs is supported])
2040 _LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
2041 [Whether dlopen of statically linked programs is supported])
2042 ])# LT_SYS_DLOPEN_SELF
2043
2044 # Old name:
2045 AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
2046 dnl aclocal-1.4 backwards compatibility:
2047 dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
2048
2049
2050 # _LT_COMPILER_C_O([TAGNAME])
2051 # ---------------------------
2052 # Check to see if options -c and -o are simultaneously supported by compiler.
2053 # This macro does not hard code the compiler like AC_PROG_CC_C_O.
2054 m4_defun([_LT_COMPILER_C_O],
2055 [m4_require([_LT_DECL_SED])dnl
2056 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
2057 m4_require([_LT_TAG_COMPILER])dnl
2058 AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
2059 [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
2060 [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
2061 $RM -r conftest 2>/dev/null
2062 mkdir conftest
2063 cd conftest
2064 mkdir out
2065 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
2066
2067 lt_compiler_flag="-o out/conftest2.$ac_objext"
2068 # Insert the option either (1) after the last *FLAGS variable, or
2069 # (2) before a word containing "conftest.", or (3) at the end.
2070 # Note that $ac_compile itself does not contain backslashes and begins
2071 # with a dollar sign (not a hyphen), so the echo should work correctly.
2072 lt_compile=`echo "$ac_compile" | $SED \
2073 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
2074 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
2075 -e 's:$: $lt_compiler_flag:'`
2076 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
2077 (eval "$lt_compile" 2>out/conftest.err)
2078 ac_status=$?
2079 cat out/conftest.err >&AS_MESSAGE_LOG_FD
2080 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
2081 if (exit $ac_status) && test -s out/conftest2.$ac_objext
2082 then
2083 # The compiler can only warn and ignore the option if not recognized
2084 # So say no if there are warnings
2085 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
2086 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
2087 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
2088 _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
2089 fi
2090 fi
2091 chmod u+w . 2>&AS_MESSAGE_LOG_FD
2092 $RM conftest*
2093 # SGI C++ compiler will create directory out/ii_files/ for
2094 # template instantiation
2095 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
2096 $RM out/* && rmdir out
2097 cd ..
2098 $RM -r conftest
2099 $RM conftest*
2100 ])
2101 _LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
2102 [Does compiler simultaneously support -c and -o options?])
2103 ])# _LT_COMPILER_C_O
2104
2105
2106 # _LT_COMPILER_FILE_LOCKS([TAGNAME])
2107 # ----------------------------------
2108 # Check to see if we can do hard links to lock some files if needed
2109 m4_defun([_LT_COMPILER_FILE_LOCKS],
2110 [m4_require([_LT_ENABLE_LOCK])dnl
2111 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
2112 _LT_COMPILER_C_O([$1])
2113
2114 hard_links=nottested
2115 if test no = "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" && test no != "$need_locks"; then
2116 # do not overwrite the value of need_locks provided by the user
2117 AC_MSG_CHECKING([if we can lock with hard links])
2118 hard_links=yes
2119 $RM conftest*
2120 ln conftest.a conftest.b 2>/dev/null && hard_links=no
2121 touch conftest.a
2122 ln conftest.a conftest.b 2>&5 || hard_links=no
2123 ln conftest.a conftest.b 2>/dev/null && hard_links=no
2124 AC_MSG_RESULT([$hard_links])
2125 if test no = "$hard_links"; then
2126 AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe])
2127 need_locks=warn
2128 fi
2129 else
2130 need_locks=no
2131 fi
2132 _LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
2133 ])# _LT_COMPILER_FILE_LOCKS
2134
2135
2136 # _LT_CHECK_OBJDIR
2137 # ----------------
2138 m4_defun([_LT_CHECK_OBJDIR],
2139 [AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
2140 [rm -f .libs 2>/dev/null
2141 mkdir .libs 2>/dev/null
2142 if test -d .libs; then
2143 lt_cv_objdir=.libs
2144 else
2145 # MS-DOS does not allow filenames that begin with a dot.
2146 lt_cv_objdir=_libs
2147 fi
2148 rmdir .libs 2>/dev/null])
2149 objdir=$lt_cv_objdir
2150 _LT_DECL([], [objdir], [0],
2151 [The name of the directory that contains temporary libtool files])dnl
2152 m4_pattern_allow([LT_OBJDIR])dnl
2153 AC_DEFINE_UNQUOTED([LT_OBJDIR], "$lt_cv_objdir/",
2154 [Define to the sub-directory where libtool stores uninstalled libraries.])
2155 ])# _LT_CHECK_OBJDIR
2156
2157
2158 # _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
2159 # --------------------------------------
2160 # Check hardcoding attributes.
2161 m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
2162 [AC_MSG_CHECKING([how to hardcode library paths into programs])
2163 _LT_TAGVAR(hardcode_action, $1)=
2164 if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
2165 test -n "$_LT_TAGVAR(runpath_var, $1)" ||
2166 test yes = "$_LT_TAGVAR(hardcode_automatic, $1)"; then
2167
2168 # We can hardcode non-existent directories.
2169 if test no != "$_LT_TAGVAR(hardcode_direct, $1)" &&
2170 # If the only mechanism to avoid hardcoding is shlibpath_var, we
2171 # have to relink, otherwise we might link with an installed library
2172 # when we should be linking with a yet-to-be-installed one
2173 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" &&
2174 test no != "$_LT_TAGVAR(hardcode_minus_L, $1)"; then
2175 # Linking always hardcodes the temporary library directory.
2176 _LT_TAGVAR(hardcode_action, $1)=relink
2177 else
2178 # We can link without hardcoding, and we can hardcode nonexisting dirs.
2179 _LT_TAGVAR(hardcode_action, $1)=immediate
2180 fi
2181 else
2182 # We cannot hardcode anything, or else we can only hardcode existing
2183 # directories.
2184 _LT_TAGVAR(hardcode_action, $1)=unsupported
2185 fi
2186 AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
2187
2188 if test relink = "$_LT_TAGVAR(hardcode_action, $1)" ||
2189 test yes = "$_LT_TAGVAR(inherit_rpath, $1)"; then
2190 # Fast installation is not supported
2191 enable_fast_install=no
2192 elif test yes = "$shlibpath_overrides_runpath" ||
2193 test no = "$enable_shared"; then
2194 # Fast installation is not necessary
2195 enable_fast_install=needless
2196 fi
2197 _LT_TAGDECL([], [hardcode_action], [0],
2198 [How to hardcode a shared library path into an executable])
2199 ])# _LT_LINKER_HARDCODE_LIBPATH
2200
2201
2202 # _LT_CMD_STRIPLIB
2203 # ----------------
2204 m4_defun([_LT_CMD_STRIPLIB],
2205 [m4_require([_LT_DECL_EGREP])
2206 striplib=
2207 old_striplib=
2208 AC_MSG_CHECKING([whether stripping libraries is possible])
2209 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
2210 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
2211 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
2212 AC_MSG_RESULT([yes])
2213 else
2214 # FIXME - insert some real tests, host_os isn't really good enough
2215 case $host_os in
2216 darwin*)
2217 if test -n "$STRIP"; then
2218 striplib="$STRIP -x"
2219 old_striplib="$STRIP -S"
2220 AC_MSG_RESULT([yes])
2221 else
2222 AC_MSG_RESULT([no])
2223 fi
2224 ;;
2225 *)
2226 AC_MSG_RESULT([no])
2227 ;;
2228 esac
2229 fi
2230 _LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
2231 _LT_DECL([], [striplib], [1])
2232 ])# _LT_CMD_STRIPLIB
2233
2234
2235 # _LT_PREPARE_MUNGE_PATH_LIST
2236 # ---------------------------
2237 # Make sure func_munge_path_list() is defined correctly.
2238 m4_defun([_LT_PREPARE_MUNGE_PATH_LIST],
2239 [[# func_munge_path_list VARIABLE PATH
2240 # -----------------------------------
2241 # VARIABLE is name of variable containing _space_ separated list of
2242 # directories to be munged by the contents of PATH, which is string
2243 # having a format:
2244 # "DIR[:DIR]:"
2245 # string "DIR[ DIR]" will be prepended to VARIABLE
2246 # ":DIR[:DIR]"
2247 # string "DIR[ DIR]" will be appended to VARIABLE
2248 # "DIRP[:DIRP]::[DIRA:]DIRA"
2249 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
2250 # "DIRA[ DIRA]" will be appended to VARIABLE
2251 # "DIR[:DIR]"
2252 # VARIABLE will be replaced by "DIR[ DIR]"
2253 func_munge_path_list ()
2254 {
2255 case x@S|@2 in
2256 x)
2257 ;;
2258 *:)
2259 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
2260 ;;
2261 x:*)
2262 eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
2263 ;;
2264 *::*)
2265 eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
2266 eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
2267 ;;
2268 *)
2269 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
2270 ;;
2271 esac
2272 }
2273 ]])# _LT_PREPARE_PATH_LIST
2274
2275
2276 # _LT_SYS_DYNAMIC_LINKER([TAG])
2277 # -----------------------------
2278 # PORTME Fill in your ld.so characteristics
2279 m4_defun([_LT_SYS_DYNAMIC_LINKER],
2280 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
2281 m4_require([_LT_DECL_EGREP])dnl
2282 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
2283 m4_require([_LT_DECL_OBJDUMP])dnl
2284 m4_require([_LT_DECL_SED])dnl
2285 m4_require([_LT_CHECK_SHELL_FEATURES])dnl
2286 m4_require([_LT_PREPARE_MUNGE_PATH_LIST])dnl
2287 AC_MSG_CHECKING([dynamic linker characteristics])
2288 m4_if([$1],
2289 [], [
2290 if test yes = "$GCC"; then
2291 case $host_os in
2292 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
2293 *) lt_awk_arg='/^libraries:/' ;;
2294 esac
2295 case $host_os in
2296 mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;;
2297 *) lt_sed_strip_eq='s|=/|/|g' ;;
2298 esac
2299 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
2300 case $lt_search_path_spec in
2301 *\;*)
2302 # if the path contains ";" then we assume it to be the separator
2303 # otherwise default to the standard path separator (i.e. ":") - it is
2304 # assumed that no part of a normal pathname contains ";" but that should
2305 # okay in the real world where ";" in dirpaths is itself problematic.
2306 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
2307 ;;
2308 *)
2309 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
2310 ;;
2311 esac
2312 # Ok, now we have the path, separated by spaces, we can step through it
2313 # and add multilib dir if necessary...
2314 lt_tmp_lt_search_path_spec=
2315 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
2316 # ...but if some path component already ends with the multilib dir we assume
2317 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
2318 case "$lt_multi_os_dir; $lt_search_path_spec " in
2319 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
2320 lt_multi_os_dir=
2321 ;;
2322 esac
2323 for lt_sys_path in $lt_search_path_spec; do
2324 if test -d "$lt_sys_path$lt_multi_os_dir"; then
2325 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
2326 elif test -n "$lt_multi_os_dir"; then
2327 test -d "$lt_sys_path" && \
2328 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
2329 fi
2330 done
2331 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
2332 BEGIN {RS = " "; FS = "/|\n";} {
2333 lt_foo = "";
2334 lt_count = 0;
2335 for (lt_i = NF; lt_i > 0; lt_i--) {
2336 if ($lt_i != "" && $lt_i != ".") {
2337 if ($lt_i == "..") {
2338 lt_count++;
2339 } else {
2340 if (lt_count == 0) {
2341 lt_foo = "/" $lt_i lt_foo;
2342 } else {
2343 lt_count--;
2344 }
2345 }
2346 }
2347 }
2348 if (lt_foo != "") { lt_freq[[lt_foo]]++; }
2349 if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
2350 }'`
2351 # AWK program above erroneously prepends '/' to C:/dos/paths
2352 # for these hosts.
2353 case $host_os in
2354 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
2355 $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;;
2356 esac
2357 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
2358 else
2359 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
2360 fi])
2361 library_names_spec=
2362 libname_spec='lib$name'
2363 soname_spec=
2364 shrext_cmds=.so
2365 postinstall_cmds=
2366 postuninstall_cmds=
2367 finish_cmds=
2368 finish_eval=
2369 shlibpath_var=
2370 shlibpath_overrides_runpath=unknown
2371 version_type=none
2372 dynamic_linker="$host_os ld.so"
2373 sys_lib_dlsearch_path_spec="/lib /usr/lib"
2374 need_lib_prefix=unknown
2375 hardcode_into_libs=no
2376
2377 # when you set need_version to no, make sure it does not cause -set_version
2378 # flags to be left without arguments
2379 need_version=unknown
2380
2381 AC_ARG_VAR([LT_SYS_LIBRARY_PATH],
2382 [User-defined run-time library search path.])
2383
2384 case $host_os in
2385 aix3*)
2386 version_type=linux # correct to gnu/linux during the next big refactor
2387 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
2388 shlibpath_var=LIBPATH
2389
2390 # AIX 3 has no versioning support, so we append a major version to the name.
2391 soname_spec='$libname$release$shared_ext$major'
2392 ;;
2393
2394 aix[[4-9]]*)
2395 version_type=linux # correct to gnu/linux during the next big refactor
2396 need_lib_prefix=no
2397 need_version=no
2398 hardcode_into_libs=yes
2399 if test ia64 = "$host_cpu"; then
2400 # AIX 5 supports IA64
2401 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
2402 shlibpath_var=LD_LIBRARY_PATH
2403 else
2404 # With GCC up to 2.95.x, collect2 would create an import file
2405 # for dependence libraries. The import file would start with
2406 # the line '#! .'. This would cause the generated library to
2407 # depend on '.', always an invalid library. This was fixed in
2408 # development snapshots of GCC prior to 3.0.
2409 case $host_os in
2410 aix4 | aix4.[[01]] | aix4.[[01]].*)
2411 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
2412 echo ' yes '
2413 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
2414 :
2415 else
2416 can_build_shared=no
2417 fi
2418 ;;
2419 esac
2420 # Using Import Files as archive members, it is possible to support
2421 # filename-based versioning of shared library archives on AIX. While
2422 # this would work for both with and without runtime linking, it will
2423 # prevent static linking of such archives. So we do filename-based
2424 # shared library versioning with .so extension only, which is used
2425 # when both runtime linking and shared linking is enabled.
2426 # Unfortunately, runtime linking may impact performance, so we do
2427 # not want this to be the default eventually. Also, we use the
2428 # versioned .so libs for executables only if there is the -brtl
2429 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
2430 # To allow for filename-based versioning support, we need to create
2431 # libNAME.so.V as an archive file, containing:
2432 # *) an Import File, referring to the versioned filename of the
2433 # archive as well as the shared archive member, telling the
2434 # bitwidth (32 or 64) of that shared object, and providing the
2435 # list of exported symbols of that shared object, eventually
2436 # decorated with the 'weak' keyword
2437 # *) the shared object with the F_LOADONLY flag set, to really avoid
2438 # it being seen by the linker.
2439 # At run time we better use the real file rather than another symlink,
2440 # but for link time we create the symlink libNAME.so -> libNAME.so.V
2441
2442 case $with_aix_soname,$aix_use_runtimelinking in
2443 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
2444 # soname into executable. Probably we can add versioning support to
2445 # collect2, so additional links can be useful in future.
2446 aix,yes) # traditional libtool
2447 dynamic_linker='AIX unversionable lib.so'
2448 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
2449 # instead of lib<name>.a to let people know that these are not
2450 # typical AIX shared libraries.
2451 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2452 ;;
2453 aix,no) # traditional AIX only
2454 dynamic_linker='AIX lib.a[(]lib.so.V[)]'
2455 # We preserve .a as extension for shared libraries through AIX4.2
2456 # and later when we are not doing run time linking.
2457 library_names_spec='$libname$release.a $libname.a'
2458 soname_spec='$libname$release$shared_ext$major'
2459 ;;
2460 svr4,*) # full svr4 only
2461 dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)]"
2462 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
2463 # We do not specify a path in Import Files, so LIBPATH fires.
2464 shlibpath_overrides_runpath=yes
2465 ;;
2466 *,yes) # both, prefer svr4
2467 dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)], lib.a[(]lib.so.V[)]"
2468 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
2469 # unpreferred sharedlib libNAME.a needs extra handling
2470 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
2471 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
2472 # We do not specify a path in Import Files, so LIBPATH fires.
2473 shlibpath_overrides_runpath=yes
2474 ;;
2475 *,no) # both, prefer aix
2476 dynamic_linker="AIX lib.a[(]lib.so.V[)], lib.so.V[(]$shared_archive_member_spec.o[)]"
2477 library_names_spec='$libname$release.a $libname.a'
2478 soname_spec='$libname$release$shared_ext$major'
2479 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
2480 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
2481 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
2482 ;;
2483 esac
2484 shlibpath_var=LIBPATH
2485 fi
2486 ;;
2487
2488 amigaos*)
2489 case $host_cpu in
2490 powerpc)
2491 # Since July 2007 AmigaOS4 officially supports .so libraries.
2492 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
2493 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2494 ;;
2495 m68k)
2496 library_names_spec='$libname.ixlibrary $libname.a'
2497 # Create ${libname}_ixlibrary.a entries in /sys/libs.
2498 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
2499 ;;
2500 esac
2501 ;;
2502
2503 beos*)
2504 library_names_spec='$libname$shared_ext'
2505 dynamic_linker="$host_os ld.so"
2506 shlibpath_var=LIBRARY_PATH
2507 ;;
2508
2509 bsdi[[45]]*)
2510 version_type=linux # correct to gnu/linux during the next big refactor
2511 need_version=no
2512 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2513 soname_spec='$libname$release$shared_ext$major'
2514 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
2515 shlibpath_var=LD_LIBRARY_PATH
2516 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
2517 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
2518 # the default ld.so.conf also contains /usr/contrib/lib and
2519 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
2520 # libtool to hard-code these into programs
2521 ;;
2522
2523 cygwin* | mingw* | pw32* | cegcc*)
2524 version_type=windows
2525 shrext_cmds=.dll
2526 need_version=no
2527 need_lib_prefix=no
2528
2529 case $GCC,$cc_basename in
2530 yes,*)
2531 # gcc
2532 library_names_spec='$libname.dll.a'
2533 # DLL is installed to $(libdir)/../bin by postinstall_cmds
2534 postinstall_cmds='base_file=`basename \$file`~
2535 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
2536 dldir=$destdir/`dirname \$dlpath`~
2537 test -d \$dldir || mkdir -p \$dldir~
2538 $install_prog $dir/$dlname \$dldir/$dlname~
2539 chmod a+x \$dldir/$dlname~
2540 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
2541 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
2542 fi'
2543 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2544 dlpath=$dir/\$dldll~
2545 $RM \$dlpath'
2546 shlibpath_overrides_runpath=yes
2547
2548 case $host_os in
2549 cygwin*)
2550 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
2551 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2552 m4_if([$1], [],[
2553 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
2554 ;;
2555 mingw* | cegcc*)
2556 # MinGW DLLs use traditional 'lib' prefix
2557 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2558 ;;
2559 pw32*)
2560 # pw32 DLLs use 'pw' prefix rather than 'lib'
2561 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2562 ;;
2563 esac
2564 dynamic_linker='Win32 ld.exe'
2565 ;;
2566
2567 *,cl*)
2568 # Native MSVC
2569 libname_spec='$name'
2570 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2571 library_names_spec='$libname.dll.lib'
2572
2573 case $build_os in
2574 mingw*)
2575 sys_lib_search_path_spec=
2576 lt_save_ifs=$IFS
2577 IFS=';'
2578 for lt_path in $LIB
2579 do
2580 IFS=$lt_save_ifs
2581 # Let DOS variable expansion print the short 8.3 style file name.
2582 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
2583 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
2584 done
2585 IFS=$lt_save_ifs
2586 # Convert to MSYS style.
2587 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`
2588 ;;
2589 cygwin*)
2590 # Convert to unix form, then to dos form, then back to unix form
2591 # but this time dos style (no spaces!) so that the unix form looks
2592 # like /cygdrive/c/PROGRA~1:/cygdr...
2593 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
2594 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
2595 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2596 ;;
2597 *)
2598 sys_lib_search_path_spec=$LIB
2599 if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
2600 # It is most probably a Windows format PATH.
2601 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
2602 else
2603 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2604 fi
2605 # FIXME: find the short name or the path components, as spaces are
2606 # common. (e.g. "Program Files" -> "PROGRA~1")
2607 ;;
2608 esac
2609
2610 # DLL is installed to $(libdir)/../bin by postinstall_cmds
2611 postinstall_cmds='base_file=`basename \$file`~
2612 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
2613 dldir=$destdir/`dirname \$dlpath`~
2614 test -d \$dldir || mkdir -p \$dldir~
2615 $install_prog $dir/$dlname \$dldir/$dlname'
2616 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2617 dlpath=$dir/\$dldll~
2618 $RM \$dlpath'
2619 shlibpath_overrides_runpath=yes
2620 dynamic_linker='Win32 link.exe'
2621 ;;
2622
2623 *)
2624 # Assume MSVC wrapper
2625 library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib'
2626 dynamic_linker='Win32 ld.exe'
2627 ;;
2628 esac
2629 # FIXME: first we should search . and the directory the executable is in
2630 shlibpath_var=PATH
2631 ;;
2632
2633 darwin* | rhapsody*)
2634 dynamic_linker="$host_os dyld"
2635 version_type=darwin
2636 need_lib_prefix=no
2637 need_version=no
2638 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
2639 soname_spec='$libname$release$major$shared_ext'
2640 shlibpath_overrides_runpath=yes
2641 shlibpath_var=DYLD_LIBRARY_PATH
2642 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
2643 m4_if([$1], [],[
2644 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
2645 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
2646 ;;
2647
2648 dgux*)
2649 version_type=linux # correct to gnu/linux during the next big refactor
2650 need_lib_prefix=no
2651 need_version=no
2652 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2653 soname_spec='$libname$release$shared_ext$major'
2654 shlibpath_var=LD_LIBRARY_PATH
2655 ;;
2656
2657 freebsd* | dragonfly*)
2658 # DragonFly does not have aout. When/if they implement a new
2659 # versioning mechanism, adjust this.
2660 if test -x /usr/bin/objformat; then
2661 objformat=`/usr/bin/objformat`
2662 else
2663 case $host_os in
2664 freebsd[[23]].*) objformat=aout ;;
2665 *) objformat=elf ;;
2666 esac
2667 fi
2668 version_type=freebsd-$objformat
2669 case $version_type in
2670 freebsd-elf*)
2671 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2672 soname_spec='$libname$release$shared_ext$major'
2673 need_version=no
2674 need_lib_prefix=no
2675 ;;
2676 freebsd-*)
2677 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
2678 need_version=yes
2679 ;;
2680 esac
2681 shlibpath_var=LD_LIBRARY_PATH
2682 case $host_os in
2683 freebsd2.*)
2684 shlibpath_overrides_runpath=yes
2685 ;;
2686 freebsd3.[[01]]* | freebsdelf3.[[01]]*)
2687 shlibpath_overrides_runpath=yes
2688 hardcode_into_libs=yes
2689 ;;
2690 freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
2691 freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
2692 shlibpath_overrides_runpath=no
2693 hardcode_into_libs=yes
2694 ;;
2695 *) # from 4.6 on, and DragonFly
2696 shlibpath_overrides_runpath=yes
2697 hardcode_into_libs=yes
2698 ;;
2699 esac
2700 ;;
2701
2702 haiku*)
2703 version_type=linux # correct to gnu/linux during the next big refactor
2704 need_lib_prefix=no
2705 need_version=no
2706 dynamic_linker="$host_os runtime_loader"
2707 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2708 soname_spec='$libname$release$shared_ext$major'
2709 shlibpath_var=LIBRARY_PATH
2710 shlibpath_overrides_runpath=no
2711 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
2712 hardcode_into_libs=yes
2713 ;;
2714
2715 hpux9* | hpux10* | hpux11*)
2716 # Give a soname corresponding to the major version so that dld.sl refuses to
2717 # link against other versions.
2718 version_type=sunos
2719 need_lib_prefix=no
2720 need_version=no
2721 case $host_cpu in
2722 ia64*)
2723 shrext_cmds='.so'
2724 hardcode_into_libs=yes
2725 dynamic_linker="$host_os dld.so"
2726 shlibpath_var=LD_LIBRARY_PATH
2727 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
2728 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2729 soname_spec='$libname$release$shared_ext$major'
2730 if test 32 = "$HPUX_IA64_MODE"; then
2731 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
2732 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
2733 else
2734 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
2735 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
2736 fi
2737 ;;
2738 hppa*64*)
2739 shrext_cmds='.sl'
2740 hardcode_into_libs=yes
2741 dynamic_linker="$host_os dld.sl"
2742 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
2743 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
2744 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2745 soname_spec='$libname$release$shared_ext$major'
2746 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
2747 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
2748 ;;
2749 *)
2750 shrext_cmds='.sl'
2751 dynamic_linker="$host_os dld.sl"
2752 shlibpath_var=SHLIB_PATH
2753 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
2754 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2755 soname_spec='$libname$release$shared_ext$major'
2756 ;;
2757 esac
2758 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
2759 postinstall_cmds='chmod 555 $lib'
2760 # or fails outright, so override atomically:
2761 install_override_mode=555
2762 ;;
2763
2764 interix[[3-9]]*)
2765 version_type=linux # correct to gnu/linux during the next big refactor
2766 need_lib_prefix=no
2767 need_version=no
2768 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2769 soname_spec='$libname$release$shared_ext$major'
2770 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
2771 shlibpath_var=LD_LIBRARY_PATH
2772 shlibpath_overrides_runpath=no
2773 hardcode_into_libs=yes
2774 ;;
2775
2776 irix5* | irix6* | nonstopux*)
2777 case $host_os in
2778 nonstopux*) version_type=nonstopux ;;
2779 *)
2780 if test yes = "$lt_cv_prog_gnu_ld"; then
2781 version_type=linux # correct to gnu/linux during the next big refactor
2782 else
2783 version_type=irix
2784 fi ;;
2785 esac
2786 need_lib_prefix=no
2787 need_version=no
2788 soname_spec='$libname$release$shared_ext$major'
2789 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
2790 case $host_os in
2791 irix5* | nonstopux*)
2792 libsuff= shlibsuff=
2793 ;;
2794 *)
2795 case $LD in # libtool.m4 will add one of these switches to LD
2796 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
2797 libsuff= shlibsuff= libmagic=32-bit;;
2798 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
2799 libsuff=32 shlibsuff=N32 libmagic=N32;;
2800 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
2801 libsuff=64 shlibsuff=64 libmagic=64-bit;;
2802 *) libsuff= shlibsuff= libmagic=never-match;;
2803 esac
2804 ;;
2805 esac
2806 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
2807 shlibpath_overrides_runpath=no
2808 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
2809 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
2810 hardcode_into_libs=yes
2811 ;;
2812
2813 # No shared lib support for Linux oldld, aout, or coff.
2814 linux*oldld* | linux*aout* | linux*coff*)
2815 dynamic_linker=no
2816 ;;
2817
2818 linux*android*)
2819 version_type=none # Android doesn't support versioned libraries.
2820 need_lib_prefix=no
2821 need_version=no
2822 library_names_spec='$libname$release$shared_ext'
2823 soname_spec='$libname$release$shared_ext'
2824 finish_cmds=
2825 shlibpath_var=LD_LIBRARY_PATH
2826 shlibpath_overrides_runpath=yes
2827
2828 # This implies no fast_install, which is unacceptable.
2829 # Some rework will be needed to allow for fast_install
2830 # before this can be enabled.
2831 hardcode_into_libs=yes
2832
2833 dynamic_linker='Android linker'
2834 # Don't embed -rpath directories since the linker doesn't support them.
2835 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
2836 ;;
2837
2838 # This must be glibc/ELF.
2839 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
2840 version_type=linux # correct to gnu/linux during the next big refactor
2841 need_lib_prefix=no
2842 need_version=no
2843 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2844 soname_spec='$libname$release$shared_ext$major'
2845 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
2846 shlibpath_var=LD_LIBRARY_PATH
2847 shlibpath_overrides_runpath=no
2848
2849 # Some binutils ld are patched to set DT_RUNPATH
2850 AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath],
2851 [lt_cv_shlibpath_overrides_runpath=no
2852 save_LDFLAGS=$LDFLAGS
2853 save_libdir=$libdir
2854 eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
2855 LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
2856 AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
2857 [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
2858 [lt_cv_shlibpath_overrides_runpath=yes])])
2859 LDFLAGS=$save_LDFLAGS
2860 libdir=$save_libdir
2861 ])
2862 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
2863
2864 # This implies no fast_install, which is unacceptable.
2865 # Some rework will be needed to allow for fast_install
2866 # before this can be enabled.
2867 hardcode_into_libs=yes
2868
2869 # Add ABI-specific directories to the system library path.
2870 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
2871
2872 # Ideally, we could use ldconfig to report *all* directores which are
2873 # searched for libraries, however this is still not possible. Aside from not
2874 # being certain /sbin/ldconfig is available, command
2875 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
2876 # even though it is searched at run-time. Try to do the best guess by
2877 # appending ld.so.conf contents (and includes) to the search path.
2878 if test -f /etc/ld.so.conf; then
2879 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
2880 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
2881 fi
2882
2883 # We used to test for /lib/ld.so.1 and disable shared libraries on
2884 # powerpc, because MkLinux only supported shared libraries with the
2885 # GNU dynamic linker. Since this was broken with cross compilers,
2886 # most powerpc-linux boxes support dynamic linking these days and
2887 # people can always --disable-shared, the test was removed, and we
2888 # assume the GNU/Linux dynamic linker is in use.
2889 dynamic_linker='GNU/Linux ld.so'
2890 ;;
2891
2892 netbsd*)
2893 version_type=sunos
2894 need_lib_prefix=no
2895 need_version=no
2896 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
2897 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
2898 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2899 dynamic_linker='NetBSD (a.out) ld.so'
2900 else
2901 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2902 soname_spec='$libname$release$shared_ext$major'
2903 dynamic_linker='NetBSD ld.elf_so'
2904 fi
2905 shlibpath_var=LD_LIBRARY_PATH
2906 shlibpath_overrides_runpath=yes
2907 hardcode_into_libs=yes
2908 ;;
2909
2910 newsos6)
2911 version_type=linux # correct to gnu/linux during the next big refactor
2912 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2913 shlibpath_var=LD_LIBRARY_PATH
2914 shlibpath_overrides_runpath=yes
2915 ;;
2916
2917 *nto* | *qnx*)
2918 version_type=qnx
2919 need_lib_prefix=no
2920 need_version=no
2921 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2922 soname_spec='$libname$release$shared_ext$major'
2923 shlibpath_var=LD_LIBRARY_PATH
2924 shlibpath_overrides_runpath=no
2925 hardcode_into_libs=yes
2926 dynamic_linker='ldqnx.so'
2927 ;;
2928
2929 openbsd* | bitrig*)
2930 version_type=sunos
2931 sys_lib_dlsearch_path_spec=/usr/lib
2932 need_lib_prefix=no
2933 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
2934 need_version=no
2935 else
2936 need_version=yes
2937 fi
2938 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
2939 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2940 shlibpath_var=LD_LIBRARY_PATH
2941 shlibpath_overrides_runpath=yes
2942 ;;
2943
2944 os2*)
2945 libname_spec='$name'
2946 version_type=windows
2947 shrext_cmds=.dll
2948 need_version=no
2949 need_lib_prefix=no
2950 # OS/2 can only load a DLL with a base name of 8 characters or less.
2951 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
2952 v=$($ECHO $release$versuffix | tr -d .-);
2953 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
2954 $ECHO $n$v`$shared_ext'
2955 library_names_spec='${libname}_dll.$libext'
2956 dynamic_linker='OS/2 ld.exe'
2957 shlibpath_var=BEGINLIBPATH
2958 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
2959 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
2960 postinstall_cmds='base_file=`basename \$file`~
2961 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
2962 dldir=$destdir/`dirname \$dlpath`~
2963 test -d \$dldir || mkdir -p \$dldir~
2964 $install_prog $dir/$dlname \$dldir/$dlname~
2965 chmod a+x \$dldir/$dlname~
2966 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
2967 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
2968 fi'
2969 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
2970 dlpath=$dir/\$dldll~
2971 $RM \$dlpath'
2972 ;;
2973
2974 osf3* | osf4* | osf5*)
2975 version_type=osf
2976 need_lib_prefix=no
2977 need_version=no
2978 soname_spec='$libname$release$shared_ext$major'
2979 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2980 shlibpath_var=LD_LIBRARY_PATH
2981 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
2982 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
2983 ;;
2984
2985 rdos*)
2986 dynamic_linker=no
2987 ;;
2988
2989 solaris*)
2990 version_type=linux # correct to gnu/linux during the next big refactor
2991 need_lib_prefix=no
2992 need_version=no
2993 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2994 soname_spec='$libname$release$shared_ext$major'
2995 shlibpath_var=LD_LIBRARY_PATH
2996 shlibpath_overrides_runpath=yes
2997 hardcode_into_libs=yes
2998 # ldd complains unless libraries are executable
2999 postinstall_cmds='chmod +x $lib'
3000 ;;
3001
3002 sunos4*)
3003 version_type=sunos
3004 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
3005 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
3006 shlibpath_var=LD_LIBRARY_PATH
3007 shlibpath_overrides_runpath=yes
3008 if test yes = "$with_gnu_ld"; then
3009 need_lib_prefix=no
3010 fi
3011 need_version=yes
3012 ;;
3013
3014 sysv4 | sysv4.3*)
3015 version_type=linux # correct to gnu/linux during the next big refactor
3016 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
3017 soname_spec='$libname$release$shared_ext$major'
3018 shlibpath_var=LD_LIBRARY_PATH
3019 case $host_vendor in
3020 sni)
3021 shlibpath_overrides_runpath=no
3022 need_lib_prefix=no
3023 runpath_var=LD_RUN_PATH
3024 ;;
3025 siemens)
3026 need_lib_prefix=no
3027 ;;
3028 motorola)
3029 need_lib_prefix=no
3030 need_version=no
3031 shlibpath_overrides_runpath=no
3032 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
3033 ;;
3034 esac
3035 ;;
3036
3037 sysv4*MP*)
3038 if test -d /usr/nec; then
3039 version_type=linux # correct to gnu/linux during the next big refactor
3040 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
3041 soname_spec='$libname$shared_ext.$major'
3042 shlibpath_var=LD_LIBRARY_PATH
3043 fi
3044 ;;
3045
3046 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
3047 version_type=sco
3048 need_lib_prefix=no
3049 need_version=no
3050 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
3051 soname_spec='$libname$release$shared_ext$major'
3052 shlibpath_var=LD_LIBRARY_PATH
3053 shlibpath_overrides_runpath=yes
3054 hardcode_into_libs=yes
3055 if test yes = "$with_gnu_ld"; then
3056 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
3057 else
3058 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
3059 case $host_os in
3060 sco3.2v5*)
3061 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
3062 ;;
3063 esac
3064 fi
3065 sys_lib_dlsearch_path_spec='/usr/lib'
3066 ;;
3067
3068 tpf*)
3069 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
3070 version_type=linux # correct to gnu/linux during the next big refactor
3071 need_lib_prefix=no
3072 need_version=no
3073 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
3074 shlibpath_var=LD_LIBRARY_PATH
3075 shlibpath_overrides_runpath=no
3076 hardcode_into_libs=yes
3077 ;;
3078
3079 uts4*)
3080 version_type=linux # correct to gnu/linux during the next big refactor
3081 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
3082 soname_spec='$libname$release$shared_ext$major'
3083 shlibpath_var=LD_LIBRARY_PATH
3084 ;;
3085
3086 *)
3087 dynamic_linker=no
3088 ;;
3089 esac
3090 AC_MSG_RESULT([$dynamic_linker])
3091 test no = "$dynamic_linker" && can_build_shared=no
3092
3093 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
3094 if test yes = "$GCC"; then
3095 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
3096 fi
3097
3098 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
3099 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
3100 fi
3101
3102 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
3103 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
3104 fi
3105
3106 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
3107 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
3108
3109 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
3110 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
3111
3112 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
3113 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
3114
3115 _LT_DECL([], [variables_saved_for_relink], [1],
3116 [Variables whose values should be saved in libtool wrapper scripts and
3117 restored at link time])
3118 _LT_DECL([], [need_lib_prefix], [0],
3119 [Do we need the "lib" prefix for modules?])
3120 _LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
3121 _LT_DECL([], [version_type], [0], [Library versioning type])
3122 _LT_DECL([], [runpath_var], [0], [Shared library runtime path variable])
3123 _LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
3124 _LT_DECL([], [shlibpath_overrides_runpath], [0],
3125 [Is shlibpath searched before the hard-coded library search path?])
3126 _LT_DECL([], [libname_spec], [1], [Format of library name prefix])
3127 _LT_DECL([], [library_names_spec], [1],
3128 [[List of archive names. First name is the real one, the rest are links.
3129 The last name is the one that the linker finds with -lNAME]])
3130 _LT_DECL([], [soname_spec], [1],
3131 [[The coded name of the library, if different from the real name]])
3132 _LT_DECL([], [install_override_mode], [1],
3133 [Permission mode override for installation of shared libraries])
3134 _LT_DECL([], [postinstall_cmds], [2],
3135 [Command to use after installation of a shared archive])
3136 _LT_DECL([], [postuninstall_cmds], [2],
3137 [Command to use after uninstallation of a shared archive])
3138 _LT_DECL([], [finish_cmds], [2],
3139 [Commands used to finish a libtool library installation in a directory])
3140 _LT_DECL([], [finish_eval], [1],
3141 [[As "finish_cmds", except a single script fragment to be evaled but
3142 not shown]])
3143 _LT_DECL([], [hardcode_into_libs], [0],
3144 [Whether we should hardcode library paths into libraries])
3145 _LT_DECL([], [sys_lib_search_path_spec], [2],
3146 [Compile-time system search path for libraries])
3147 _LT_DECL([sys_lib_dlsearch_path_spec], [configure_time_dlsearch_path], [2],
3148 [Detected run-time system search path for libraries])
3149 _LT_DECL([], [configure_time_lt_sys_library_path], [2],
3150 [Explicit LT_SYS_LIBRARY_PATH set during ./configure time])
3151 ])# _LT_SYS_DYNAMIC_LINKER
3152
3153
3154 # _LT_PATH_TOOL_PREFIX(TOOL)
3155 # --------------------------
3156 # find a file program that can recognize shared library
3157 AC_DEFUN([_LT_PATH_TOOL_PREFIX],
3158 [m4_require([_LT_DECL_EGREP])dnl
3159 AC_MSG_CHECKING([for $1])
3160 AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
3161 [case $MAGIC_CMD in
3162 [[\\/*] | ?:[\\/]*])
3163 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
3164 ;;
3165 *)
3166 lt_save_MAGIC_CMD=$MAGIC_CMD
3167 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
3168 dnl $ac_dummy forces splitting on constant user-supplied paths.
3169 dnl POSIX.2 word splitting is done only on the output of word expansions,
3170 dnl not every word. This closes a longstanding sh security hole.
3171 ac_dummy="m4_if([$2], , $PATH, [$2])"
3172 for ac_dir in $ac_dummy; do
3173 IFS=$lt_save_ifs
3174 test -z "$ac_dir" && ac_dir=.
3175 if test -f "$ac_dir/$1"; then
3176 lt_cv_path_MAGIC_CMD=$ac_dir/"$1"
3177 if test -n "$file_magic_test_file"; then
3178 case $deplibs_check_method in
3179 "file_magic "*)
3180 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
3181 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
3182 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3183 $EGREP "$file_magic_regex" > /dev/null; then
3184 :
3185 else
3186 cat <<_LT_EOF 1>&2
3187
3188 *** Warning: the command libtool uses to detect shared libraries,
3189 *** $file_magic_cmd, produces output that libtool cannot recognize.
3190 *** The result is that libtool may fail to recognize shared libraries
3191 *** as such. This will affect the creation of libtool libraries that
3192 *** depend on shared libraries, but programs linked with such libtool
3193 *** libraries will work regardless of this problem. Nevertheless, you
3194 *** may want to report the problem to your system manager and/or to
3195 *** bug-libtool@gnu.org
3196
3197 _LT_EOF
3198 fi ;;
3199 esac
3200 fi
3201 break
3202 fi
3203 done
3204 IFS=$lt_save_ifs
3205 MAGIC_CMD=$lt_save_MAGIC_CMD
3206 ;;
3207 esac])
3208 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
3209 if test -n "$MAGIC_CMD"; then
3210 AC_MSG_RESULT($MAGIC_CMD)
3211 else
3212 AC_MSG_RESULT(no)
3213 fi
3214 _LT_DECL([], [MAGIC_CMD], [0],
3215 [Used to examine libraries when file_magic_cmd begins with "file"])dnl
3216 ])# _LT_PATH_TOOL_PREFIX
3217
3218 # Old name:
3219 AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
3220 dnl aclocal-1.4 backwards compatibility:
3221 dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
3222
3223
3224 # _LT_PATH_MAGIC
3225 # --------------
3226 # find a file program that can recognize a shared library
3227 m4_defun([_LT_PATH_MAGIC],
3228 [_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
3229 if test -z "$lt_cv_path_MAGIC_CMD"; then
3230 if test -n "$ac_tool_prefix"; then
3231 _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
3232 else
3233 MAGIC_CMD=:
3234 fi
3235 fi
3236 ])# _LT_PATH_MAGIC
3237
3238
3239 # LT_PATH_LD
3240 # ----------
3241 # find the pathname to the GNU or non-GNU linker
3242 AC_DEFUN([LT_PATH_LD],
3243 [AC_REQUIRE([AC_PROG_CC])dnl
3244 AC_REQUIRE([AC_CANONICAL_HOST])dnl
3245 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
3246 m4_require([_LT_DECL_SED])dnl
3247 m4_require([_LT_DECL_EGREP])dnl
3248 m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
3249
3250 AC_ARG_WITH([gnu-ld],
3251 [AS_HELP_STRING([--with-gnu-ld],
3252 [assume the C compiler uses GNU ld @<:@default=no@:>@])],
3253 [test no = "$withval" || with_gnu_ld=yes],
3254 [with_gnu_ld=no])dnl
3255
3256 ac_prog=ld
3257 if test yes = "$GCC"; then
3258 # Check if gcc -print-prog-name=ld gives a path.
3259 AC_MSG_CHECKING([for ld used by $CC])
3260 case $host in
3261 *-*-mingw*)
3262 # gcc leaves a trailing carriage return, which upsets mingw
3263 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3264 *)
3265 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3266 esac
3267 case $ac_prog in
3268 # Accept absolute paths.
3269 [[\\/]]* | ?:[[\\/]]*)
3270 re_direlt='/[[^/]][[^/]]*/\.\./'
3271 # Canonicalize the pathname of ld
3272 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3273 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3274 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3275 done
3276 test -z "$LD" && LD=$ac_prog
3277 ;;
3278 "")
3279 # If it fails, then pretend we aren't using GCC.
3280 ac_prog=ld
3281 ;;
3282 *)
3283 # If it is relative, then search for the first ld in PATH.
3284 with_gnu_ld=unknown
3285 ;;
3286 esac
3287 elif test yes = "$with_gnu_ld"; then
3288 AC_MSG_CHECKING([for GNU ld])
3289 else
3290 AC_MSG_CHECKING([for non-GNU ld])
3291 fi
3292 AC_CACHE_VAL(lt_cv_path_LD,
3293 [if test -z "$LD"; then
3294 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
3295 for ac_dir in $PATH; do
3296 IFS=$lt_save_ifs
3297 test -z "$ac_dir" && ac_dir=.
3298 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3299 lt_cv_path_LD=$ac_dir/$ac_prog
3300 # Check to see if the program is GNU ld. I'd rather use --version,
3301 # but apparently some variants of GNU ld only accept -v.
3302 # Break only if it was the GNU/non-GNU ld that we prefer.
3303 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3304 *GNU* | *'with BFD'*)
3305 test no != "$with_gnu_ld" && break
3306 ;;
3307 *)
3308 test yes != "$with_gnu_ld" && break
3309 ;;
3310 esac
3311 fi
3312 done
3313 IFS=$lt_save_ifs
3314 else
3315 lt_cv_path_LD=$LD # Let the user override the test with a path.
3316 fi])
3317 LD=$lt_cv_path_LD
3318 if test -n "$LD"; then
3319 AC_MSG_RESULT($LD)
3320 else
3321 AC_MSG_RESULT(no)
3322 fi
3323 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
3324 _LT_PATH_LD_GNU
3325 AC_SUBST([LD])
3326
3327 _LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
3328 ])# LT_PATH_LD
3329
3330 # Old names:
3331 AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
3332 AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
3333 dnl aclocal-1.4 backwards compatibility:
3334 dnl AC_DEFUN([AM_PROG_LD], [])
3335 dnl AC_DEFUN([AC_PROG_LD], [])
3336
3337
3338 # _LT_PATH_LD_GNU
3339 #- --------------
3340 m4_defun([_LT_PATH_LD_GNU],
3341 [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
3342 [# I'd rather use --version here, but apparently some GNU lds only accept -v.
3343 case `$LD -v 2>&1 </dev/null` in
3344 *GNU* | *'with BFD'*)
3345 lt_cv_prog_gnu_ld=yes
3346 ;;
3347 *)
3348 lt_cv_prog_gnu_ld=no
3349 ;;
3350 esac])
3351 with_gnu_ld=$lt_cv_prog_gnu_ld
3352 ])# _LT_PATH_LD_GNU
3353
3354
3355 # _LT_CMD_RELOAD
3356 # --------------
3357 # find reload flag for linker
3358 # -- PORTME Some linkers may need a different reload flag.
3359 m4_defun([_LT_CMD_RELOAD],
3360 [AC_CACHE_CHECK([for $LD option to reload object files],
3361 lt_cv_ld_reload_flag,
3362 [lt_cv_ld_reload_flag='-r'])
3363 reload_flag=$lt_cv_ld_reload_flag
3364 case $reload_flag in
3365 "" | " "*) ;;
3366 *) reload_flag=" $reload_flag" ;;
3367 esac
3368 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3369 case $host_os in
3370 cygwin* | mingw* | pw32* | cegcc*)
3371 if test yes != "$GCC"; then
3372 reload_cmds=false
3373 fi
3374 ;;
3375 darwin*)
3376 if test yes = "$GCC"; then
3377 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
3378 else
3379 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3380 fi
3381 ;;
3382 esac
3383 _LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl
3384 _LT_TAGDECL([], [reload_cmds], [2])dnl
3385 ])# _LT_CMD_RELOAD
3386
3387
3388 # _LT_PATH_DD
3389 # -----------
3390 # find a working dd
3391 m4_defun([_LT_PATH_DD],
3392 [AC_CACHE_CHECK([for a working dd], [ac_cv_path_lt_DD],
3393 [printf 0123456789abcdef0123456789abcdef >conftest.i
3394 cat conftest.i conftest.i >conftest2.i
3395 : ${lt_DD:=$DD}
3396 AC_PATH_PROGS_FEATURE_CHECK([lt_DD], [dd],
3397 [if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
3398 cmp -s conftest.i conftest.out \
3399 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
3400 fi])
3401 rm -f conftest.i conftest2.i conftest.out])
3402 ])# _LT_PATH_DD
3403
3404
3405 # _LT_CMD_TRUNCATE
3406 # ----------------
3407 # find command to truncate a binary pipe
3408 m4_defun([_LT_CMD_TRUNCATE],
3409 [m4_require([_LT_PATH_DD])
3410 AC_CACHE_CHECK([how to truncate binary pipes], [lt_cv_truncate_bin],
3411 [printf 0123456789abcdef0123456789abcdef >conftest.i
3412 cat conftest.i conftest.i >conftest2.i
3413 lt_cv_truncate_bin=
3414 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
3415 cmp -s conftest.i conftest.out \
3416 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
3417 fi
3418 rm -f conftest.i conftest2.i conftest.out
3419 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"])
3420 _LT_DECL([lt_truncate_bin], [lt_cv_truncate_bin], [1],
3421 [Command to truncate a binary pipe])
3422 ])# _LT_CMD_TRUNCATE
3423
3424
3425 # _LT_CHECK_MAGIC_METHOD
3426 # ----------------------
3427 # how to check for library dependencies
3428 # -- PORTME fill in with the dynamic library characteristics
3429 m4_defun([_LT_CHECK_MAGIC_METHOD],
3430 [m4_require([_LT_DECL_EGREP])
3431 m4_require([_LT_DECL_OBJDUMP])
3432 AC_CACHE_CHECK([how to recognize dependent libraries],
3433 lt_cv_deplibs_check_method,
3434 [lt_cv_file_magic_cmd='$MAGIC_CMD'
3435 lt_cv_file_magic_test_file=
3436 lt_cv_deplibs_check_method='unknown'
3437 # Need to set the preceding variable on all platforms that support
3438 # interlibrary dependencies.
3439 # 'none' -- dependencies not supported.
3440 # 'unknown' -- same as none, but documents that we really don't know.
3441 # 'pass_all' -- all dependencies passed with no checks.
3442 # 'test_compile' -- check by making test program.
3443 # 'file_magic [[regex]]' -- check by looking for files in library path
3444 # that responds to the $file_magic_cmd with a given extended regex.
3445 # If you have 'file' or equivalent on your system and you're not sure
3446 # whether 'pass_all' will *always* work, you probably want this one.
3447
3448 case $host_os in
3449 aix[[4-9]]*)
3450 lt_cv_deplibs_check_method=pass_all
3451 ;;
3452
3453 beos*)
3454 lt_cv_deplibs_check_method=pass_all
3455 ;;
3456
3457 bsdi[[45]]*)
3458 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
3459 lt_cv_file_magic_cmd='/usr/bin/file -L'
3460 lt_cv_file_magic_test_file=/shlib/libc.so
3461 ;;
3462
3463 cygwin*)
3464 # func_win32_libid is a shell function defined in ltmain.sh
3465 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3466 lt_cv_file_magic_cmd='func_win32_libid'
3467 ;;
3468
3469 mingw* | pw32*)
3470 # Base MSYS/MinGW do not provide the 'file' command needed by
3471 # func_win32_libid shell function, so use a weaker test based on 'objdump',
3472 # unless we find 'file', for example because we are cross-compiling.
3473 if ( file / ) >/dev/null 2>&1; then
3474 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3475 lt_cv_file_magic_cmd='func_win32_libid'
3476 else
3477 # Keep this pattern in sync with the one in func_win32_libid.
3478 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
3479 lt_cv_file_magic_cmd='$OBJDUMP -f'
3480 fi
3481 ;;
3482
3483 cegcc*)
3484 # use the weaker test based on 'objdump'. See mingw*.
3485 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
3486 lt_cv_file_magic_cmd='$OBJDUMP -f'
3487 ;;
3488
3489 darwin* | rhapsody*)
3490 lt_cv_deplibs_check_method=pass_all
3491 ;;
3492
3493 freebsd* | dragonfly*)
3494 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3495 case $host_cpu in
3496 i*86 )
3497 # Not sure whether the presence of OpenBSD here was a mistake.
3498 # Let's accept both of them until this is cleared up.
3499 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
3500 lt_cv_file_magic_cmd=/usr/bin/file
3501 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3502 ;;
3503 esac
3504 else
3505 lt_cv_deplibs_check_method=pass_all
3506 fi
3507 ;;
3508
3509 haiku*)
3510 lt_cv_deplibs_check_method=pass_all
3511 ;;
3512
3513 hpux10.20* | hpux11*)
3514 lt_cv_file_magic_cmd=/usr/bin/file
3515 case $host_cpu in
3516 ia64*)
3517 lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
3518 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3519 ;;
3520 hppa*64*)
3521 [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]']
3522 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
3523 ;;
3524 *)
3525 lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library'
3526 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3527 ;;
3528 esac
3529 ;;
3530
3531 interix[[3-9]]*)
3532 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
3533 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
3534 ;;
3535
3536 irix5* | irix6* | nonstopux*)
3537 case $LD in
3538 *-32|*"-32 ") libmagic=32-bit;;
3539 *-n32|*"-n32 ") libmagic=N32;;
3540 *-64|*"-64 ") libmagic=64-bit;;
3541 *) libmagic=never-match;;
3542 esac
3543 lt_cv_deplibs_check_method=pass_all
3544 ;;
3545
3546 # This must be glibc/ELF.
3547 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
3548 lt_cv_deplibs_check_method=pass_all
3549 ;;
3550
3551 netbsd*)
3552 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3553 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3554 else
3555 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
3556 fi
3557 ;;
3558
3559 newos6*)
3560 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
3561 lt_cv_file_magic_cmd=/usr/bin/file
3562 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3563 ;;
3564
3565 *nto* | *qnx*)
3566 lt_cv_deplibs_check_method=pass_all
3567 ;;
3568
3569 openbsd* | bitrig*)
3570 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
3571 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
3572 else
3573 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3574 fi
3575 ;;
3576
3577 osf3* | osf4* | osf5*)
3578 lt_cv_deplibs_check_method=pass_all
3579 ;;
3580
3581 rdos*)
3582 lt_cv_deplibs_check_method=pass_all
3583 ;;
3584
3585 solaris*)
3586 lt_cv_deplibs_check_method=pass_all
3587 ;;
3588
3589 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
3590 lt_cv_deplibs_check_method=pass_all
3591 ;;
3592
3593 sysv4 | sysv4.3*)
3594 case $host_vendor in
3595 motorola)
3596 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
3597 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3598 ;;
3599 ncr)
3600 lt_cv_deplibs_check_method=pass_all
3601 ;;
3602 sequent)
3603 lt_cv_file_magic_cmd='/bin/file'
3604 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
3605 ;;
3606 sni)
3607 lt_cv_file_magic_cmd='/bin/file'
3608 lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
3609 lt_cv_file_magic_test_file=/lib/libc.so
3610 ;;
3611 siemens)
3612 lt_cv_deplibs_check_method=pass_all
3613 ;;
3614 pc)
3615 lt_cv_deplibs_check_method=pass_all
3616 ;;
3617 esac
3618 ;;
3619
3620 tpf*)
3621 lt_cv_deplibs_check_method=pass_all
3622 ;;
3623 os2*)
3624 lt_cv_deplibs_check_method=pass_all
3625 ;;
3626 esac
3627 ])
3628
3629 file_magic_glob=
3630 want_nocaseglob=no
3631 if test "$build" = "$host"; then
3632 case $host_os in
3633 mingw* | pw32*)
3634 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
3635 want_nocaseglob=yes
3636 else
3637 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"`
3638 fi
3639 ;;
3640 esac
3641 fi
3642
3643 file_magic_cmd=$lt_cv_file_magic_cmd
3644 deplibs_check_method=$lt_cv_deplibs_check_method
3645 test -z "$deplibs_check_method" && deplibs_check_method=unknown
3646
3647 _LT_DECL([], [deplibs_check_method], [1],
3648 [Method to check whether dependent libraries are shared objects])
3649 _LT_DECL([], [file_magic_cmd], [1],
3650 [Command to use when deplibs_check_method = "file_magic"])
3651 _LT_DECL([], [file_magic_glob], [1],
3652 [How to find potential files when deplibs_check_method = "file_magic"])
3653 _LT_DECL([], [want_nocaseglob], [1],
3654 [Find potential files using nocaseglob when deplibs_check_method = "file_magic"])
3655 ])# _LT_CHECK_MAGIC_METHOD
3656
3657
3658 # LT_PATH_NM
3659 # ----------
3660 # find the pathname to a BSD- or MS-compatible name lister
3661 AC_DEFUN([LT_PATH_NM],
3662 [AC_REQUIRE([AC_PROG_CC])dnl
3663 AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
3664 [if test -n "$NM"; then
3665 # Let the user override the test.
3666 lt_cv_path_NM=$NM
3667 else
3668 lt_nm_to_check=${ac_tool_prefix}nm
3669 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3670 lt_nm_to_check="$lt_nm_to_check nm"
3671 fi
3672 for lt_tmp_nm in $lt_nm_to_check; do
3673 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
3674 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3675 IFS=$lt_save_ifs
3676 test -z "$ac_dir" && ac_dir=.
3677 tmp_nm=$ac_dir/$lt_tmp_nm
3678 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
3679 # Check to see if the nm accepts a BSD-compat flag.
3680 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
3681 # nm: unknown option "B" ignored
3682 # Tru64's nm complains that /dev/null is an invalid object file
3683 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
3684 case $build_os in
3685 mingw*) lt_bad_file=conftest.nm/nofile ;;
3686 *) lt_bad_file=/dev/null ;;
3687 esac
3688 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
3689 *$lt_bad_file* | *'Invalid file or object type'*)
3690 lt_cv_path_NM="$tmp_nm -B"
3691 break 2
3692 ;;
3693 *)
3694 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3695 */dev/null*)
3696 lt_cv_path_NM="$tmp_nm -p"
3697 break 2
3698 ;;
3699 *)
3700 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3701 continue # so that we can try to find one that supports BSD flags
3702 ;;
3703 esac
3704 ;;
3705 esac
3706 fi
3707 done
3708 IFS=$lt_save_ifs
3709 done
3710 : ${lt_cv_path_NM=no}
3711 fi])
3712 if test no != "$lt_cv_path_NM"; then
3713 NM=$lt_cv_path_NM
3714 else
3715 # Didn't find any BSD compatible name lister, look for dumpbin.
3716 if test -n "$DUMPBIN"; then :
3717 # Let the user override the test.
3718 else
3719 AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
3720 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
3721 *COFF*)
3722 DUMPBIN="$DUMPBIN -symbols -headers"
3723 ;;
3724 *)
3725 DUMPBIN=:
3726 ;;
3727 esac
3728 fi
3729 AC_SUBST([DUMPBIN])
3730 if test : != "$DUMPBIN"; then
3731 NM=$DUMPBIN
3732 fi
3733 fi
3734 test -z "$NM" && NM=nm
3735 AC_SUBST([NM])
3736 _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
3737
3738 AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
3739 [lt_cv_nm_interface="BSD nm"
3740 echo "int some_variable = 0;" > conftest.$ac_ext
3741 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
3742 (eval "$ac_compile" 2>conftest.err)
3743 cat conftest.err >&AS_MESSAGE_LOG_FD
3744 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
3745 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
3746 cat conftest.err >&AS_MESSAGE_LOG_FD
3747 (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
3748 cat conftest.out >&AS_MESSAGE_LOG_FD
3749 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
3750 lt_cv_nm_interface="MS dumpbin"
3751 fi
3752 rm -f conftest*])
3753 ])# LT_PATH_NM
3754
3755 # Old names:
3756 AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])
3757 AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])
3758 dnl aclocal-1.4 backwards compatibility:
3759 dnl AC_DEFUN([AM_PROG_NM], [])
3760 dnl AC_DEFUN([AC_PROG_NM], [])
3761
3762 # _LT_CHECK_SHAREDLIB_FROM_LINKLIB
3763 # --------------------------------
3764 # how to determine the name of the shared library
3765 # associated with a specific link library.
3766 # -- PORTME fill in with the dynamic library characteristics
3767 m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB],
3768 [m4_require([_LT_DECL_EGREP])
3769 m4_require([_LT_DECL_OBJDUMP])
3770 m4_require([_LT_DECL_DLLTOOL])
3771 AC_CACHE_CHECK([how to associate runtime and link libraries],
3772 lt_cv_sharedlib_from_linklib_cmd,
3773 [lt_cv_sharedlib_from_linklib_cmd='unknown'
3774
3775 case $host_os in
3776 cygwin* | mingw* | pw32* | cegcc*)
3777 # two different shell functions defined in ltmain.sh;
3778 # decide which one to use based on capabilities of $DLLTOOL
3779 case `$DLLTOOL --help 2>&1` in
3780 *--identify-strict*)
3781 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
3782 ;;
3783 *)
3784 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
3785 ;;
3786 esac
3787 ;;
3788 *)
3789 # fallback: assume linklib IS sharedlib
3790 lt_cv_sharedlib_from_linklib_cmd=$ECHO
3791 ;;
3792 esac
3793 ])
3794 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
3795 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
3796
3797 _LT_DECL([], [sharedlib_from_linklib_cmd], [1],
3798 [Command to associate shared and link libraries])
3799 ])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB
3800
3801
3802 # _LT_PATH_MANIFEST_TOOL
3803 # ----------------------
3804 # locate the manifest tool
3805 m4_defun([_LT_PATH_MANIFEST_TOOL],
3806 [AC_CHECK_TOOL(MANIFEST_TOOL, mt, :)
3807 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
3808 AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool],
3809 [lt_cv_path_mainfest_tool=no
3810 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD
3811 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
3812 cat conftest.err >&AS_MESSAGE_LOG_FD
3813 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
3814 lt_cv_path_mainfest_tool=yes
3815 fi
3816 rm -f conftest*])
3817 if test yes != "$lt_cv_path_mainfest_tool"; then
3818 MANIFEST_TOOL=:
3819 fi
3820 _LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl
3821 ])# _LT_PATH_MANIFEST_TOOL
3822
3823
3824 # _LT_DLL_DEF_P([FILE])
3825 # ---------------------
3826 # True iff FILE is a Windows DLL '.def' file.
3827 # Keep in sync with func_dll_def_p in the libtool script
3828 AC_DEFUN([_LT_DLL_DEF_P],
3829 [dnl
3830 test DEF = "`$SED -n dnl
3831 -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace
3832 -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments
3833 -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl
3834 -e q dnl Only consider the first "real" line
3835 $1`" dnl
3836 ])# _LT_DLL_DEF_P
3837
3838
3839 # LT_LIB_M
3840 # --------
3841 # check for math library
3842 AC_DEFUN([LT_LIB_M],
3843 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
3844 LIBM=
3845 case $host in
3846 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
3847 # These system don't have libm, or don't need it
3848 ;;
3849 *-ncr-sysv4.3*)
3850 AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw)
3851 AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
3852 ;;
3853 *)
3854 AC_CHECK_LIB(m, cos, LIBM=-lm)
3855 ;;
3856 esac
3857 AC_SUBST([LIBM])
3858 ])# LT_LIB_M
3859
3860 # Old name:
3861 AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
3862 dnl aclocal-1.4 backwards compatibility:
3863 dnl AC_DEFUN([AC_CHECK_LIBM], [])
3864
3865
3866 # _LT_COMPILER_NO_RTTI([TAGNAME])
3867 # -------------------------------
3868 m4_defun([_LT_COMPILER_NO_RTTI],
3869 [m4_require([_LT_TAG_COMPILER])dnl
3870
3871 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
3872
3873 if test yes = "$GCC"; then
3874 case $cc_basename in
3875 nvcc*)
3876 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
3877 *)
3878 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
3879 esac
3880
3881 _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
3882 lt_cv_prog_compiler_rtti_exceptions,
3883 [-fno-rtti -fno-exceptions], [],
3884 [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
3885 fi
3886 _LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
3887 [Compiler flag to turn off builtin functions])
3888 ])# _LT_COMPILER_NO_RTTI
3889
3890
3891 # _LT_CMD_GLOBAL_SYMBOLS
3892 # ----------------------
3893 m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
3894 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
3895 AC_REQUIRE([AC_PROG_CC])dnl
3896 AC_REQUIRE([AC_PROG_AWK])dnl
3897 AC_REQUIRE([LT_PATH_NM])dnl
3898 AC_REQUIRE([LT_PATH_LD])dnl
3899 m4_require([_LT_DECL_SED])dnl
3900 m4_require([_LT_DECL_EGREP])dnl
3901 m4_require([_LT_TAG_COMPILER])dnl
3902
3903 # Check for command to grab the raw symbol name followed by C symbol from nm.
3904 AC_MSG_CHECKING([command to parse $NM output from $compiler object])
3905 AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
3906 [
3907 # These are sane defaults that work on at least a few old systems.
3908 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
3909
3910 # Character class describing NM global symbol codes.
3911 symcode='[[BCDEGRST]]'
3912
3913 # Regexp to match symbols that can be accessed directly from C.
3914 sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
3915
3916 # Define system-specific variables.
3917 case $host_os in
3918 aix*)
3919 symcode='[[BCDT]]'
3920 ;;
3921 cygwin* | mingw* | pw32* | cegcc*)
3922 symcode='[[ABCDGISTW]]'
3923 ;;
3924 hpux*)
3925 if test ia64 = "$host_cpu"; then
3926 symcode='[[ABCDEGRST]]'
3927 fi
3928 ;;
3929 irix* | nonstopux*)
3930 symcode='[[BCDEGRST]]'
3931 ;;
3932 osf*)
3933 symcode='[[BCDEGQRST]]'
3934 ;;
3935 solaris*)
3936 symcode='[[BDRT]]'
3937 ;;
3938 sco3.2v5*)
3939 symcode='[[DT]]'
3940 ;;
3941 sysv4.2uw2*)
3942 symcode='[[DT]]'
3943 ;;
3944 sysv5* | sco5v6* | unixware* | OpenUNIX*)
3945 symcode='[[ABDT]]'
3946 ;;
3947 sysv4)
3948 symcode='[[DFNSTU]]'
3949 ;;
3950 esac
3951
3952 # If we're using GNU nm, then use its standard symbol codes.
3953 case `$NM -V 2>&1` in
3954 *GNU* | *'with BFD'*)
3955 symcode='[[ABCDGIRSTW]]' ;;
3956 esac
3957
3958 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
3959 # Gets list of data symbols to import.
3960 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
3961 # Adjust the below global symbol transforms to fixup imported variables.
3962 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
3963 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
3964 lt_c_name_lib_hook="\
3965 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
3966 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
3967 else
3968 # Disable hooks by default.
3969 lt_cv_sys_global_symbol_to_import=
3970 lt_cdecl_hook=
3971 lt_c_name_hook=
3972 lt_c_name_lib_hook=
3973 fi
3974
3975 # Transform an extracted symbol line into a proper C declaration.
3976 # Some systems (esp. on ia64) link data and code symbols differently,
3977 # so use this general approach.
3978 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
3979 $lt_cdecl_hook\
3980 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
3981 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
3982
3983 # Transform an extracted symbol line into symbol name and symbol address
3984 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
3985 $lt_c_name_hook\
3986 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
3987 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
3988
3989 # Transform an extracted symbol line into symbol name with lib prefix and
3990 # symbol address.
3991 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
3992 $lt_c_name_lib_hook\
3993 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
3994 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
3995 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
3996
3997 # Handle CRLF in mingw tool chain
3998 opt_cr=
3999 case $build_os in
4000 mingw*)
4001 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4002 ;;
4003 esac
4004
4005 # Try without a prefix underscore, then with it.
4006 for ac_symprfx in "" "_"; do
4007
4008 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
4009 symxfrm="\\1 $ac_symprfx\\2 \\2"
4010
4011 # Write the raw and C identifiers.
4012 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
4013 # Fake it for dumpbin and say T for any non-static function,
4014 # D for any global variable and I for any imported variable.
4015 # Also find C++ and __fastcall symbols from MSVC++,
4016 # which start with @ or ?.
4017 lt_cv_sys_global_symbol_pipe="$AWK ['"\
4018 " {last_section=section; section=\$ 3};"\
4019 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
4020 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
4021 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
4022 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
4023 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
4024 " \$ 0!~/External *\|/{next};"\
4025 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
4026 " {if(hide[section]) next};"\
4027 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
4028 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
4029 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
4030 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
4031 " ' prfx=^$ac_symprfx]"
4032 else
4033 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
4034 fi
4035 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
4036
4037 # Check to see that the pipe works correctly.
4038 pipe_works=no
4039
4040 rm -f conftest*
4041 cat > conftest.$ac_ext <<_LT_EOF
4042 #ifdef __cplusplus
4043 extern "C" {
4044 #endif
4045 char nm_test_var;
4046 void nm_test_func(void);
4047 void nm_test_func(void){}
4048 #ifdef __cplusplus
4049 }
4050 #endif
4051 int main(){nm_test_var='a';nm_test_func();return(0);}
4052 _LT_EOF
4053
4054 if AC_TRY_EVAL(ac_compile); then
4055 # Now try to grab the symbols.
4056 nlist=conftest.nm
4057 if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then
4058 # Try sorting and uniquifying the output.
4059 if sort "$nlist" | uniq > "$nlist"T; then
4060 mv -f "$nlist"T "$nlist"
4061 else
4062 rm -f "$nlist"T
4063 fi
4064
4065 # Make sure that we snagged all the symbols we need.
4066 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
4067 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
4068 cat <<_LT_EOF > conftest.$ac_ext
4069 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
4070 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
4071 /* DATA imports from DLLs on WIN32 can't be const, because runtime
4072 relocations are performed -- see ld's documentation on pseudo-relocs. */
4073 # define LT@&t@_DLSYM_CONST
4074 #elif defined __osf__
4075 /* This system does not cope well with relocations in const data. */
4076 # define LT@&t@_DLSYM_CONST
4077 #else
4078 # define LT@&t@_DLSYM_CONST const
4079 #endif
4080
4081 #ifdef __cplusplus
4082 extern "C" {
4083 #endif
4084
4085 _LT_EOF
4086 # Now generate the symbol file.
4087 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
4088
4089 cat <<_LT_EOF >> conftest.$ac_ext
4090
4091 /* The mapping between symbol names and symbols. */
4092 LT@&t@_DLSYM_CONST struct {
4093 const char *name;
4094 void *address;
4095 }
4096 lt__PROGRAM__LTX_preloaded_symbols[[]] =
4097 {
4098 { "@PROGRAM@", (void *) 0 },
4099 _LT_EOF
4100 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
4101 cat <<\_LT_EOF >> conftest.$ac_ext
4102 {0, (void *) 0}
4103 };
4104
4105 /* This works around a problem in FreeBSD linker */
4106 #ifdef FREEBSD_WORKAROUND
4107 static const void *lt_preloaded_setup() {
4108 return lt__PROGRAM__LTX_preloaded_symbols;
4109 }
4110 #endif
4111
4112 #ifdef __cplusplus
4113 }
4114 #endif
4115 _LT_EOF
4116 # Now try linking the two files.
4117 mv conftest.$ac_objext conftstm.$ac_objext
4118 lt_globsym_save_LIBS=$LIBS
4119 lt_globsym_save_CFLAGS=$CFLAGS
4120 LIBS=conftstm.$ac_objext
4121 CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
4122 if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
4123 pipe_works=yes
4124 fi
4125 LIBS=$lt_globsym_save_LIBS
4126 CFLAGS=$lt_globsym_save_CFLAGS
4127 else
4128 echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
4129 fi
4130 else
4131 echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
4132 fi
4133 else
4134 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
4135 fi
4136 else
4137 echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
4138 cat conftest.$ac_ext >&5
4139 fi
4140 rm -rf conftest* conftst*
4141
4142 # Do not use the global_symbol_pipe unless it works.
4143 if test yes = "$pipe_works"; then
4144 break
4145 else
4146 lt_cv_sys_global_symbol_pipe=
4147 fi
4148 done
4149 ])
4150 if test -z "$lt_cv_sys_global_symbol_pipe"; then
4151 lt_cv_sys_global_symbol_to_cdecl=
4152 fi
4153 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
4154 AC_MSG_RESULT(failed)
4155 else
4156 AC_MSG_RESULT(ok)
4157 fi
4158
4159 # Response file support.
4160 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
4161 nm_file_list_spec='@'
4162 elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then
4163 nm_file_list_spec='@'
4164 fi
4165
4166 _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
4167 [Take the output of nm and produce a listing of raw symbols and C names])
4168 _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
4169 [Transform the output of nm in a proper C declaration])
4170 _LT_DECL([global_symbol_to_import], [lt_cv_sys_global_symbol_to_import], [1],
4171 [Transform the output of nm into a list of symbols to manually relocate])
4172 _LT_DECL([global_symbol_to_c_name_address],
4173 [lt_cv_sys_global_symbol_to_c_name_address], [1],
4174 [Transform the output of nm in a C name address pair])
4175 _LT_DECL([global_symbol_to_c_name_address_lib_prefix],
4176 [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
4177 [Transform the output of nm in a C name address pair when lib prefix is needed])
4178 _LT_DECL([nm_interface], [lt_cv_nm_interface], [1],
4179 [The name lister interface])
4180 _LT_DECL([], [nm_file_list_spec], [1],
4181 [Specify filename containing input files for $NM])
4182 ]) # _LT_CMD_GLOBAL_SYMBOLS
4183
4184
4185 # _LT_COMPILER_PIC([TAGNAME])
4186 # ---------------------------
4187 m4_defun([_LT_COMPILER_PIC],
4188 [m4_require([_LT_TAG_COMPILER])dnl
4189 _LT_TAGVAR(lt_prog_compiler_wl, $1)=
4190 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
4191 _LT_TAGVAR(lt_prog_compiler_static, $1)=
4192
4193 m4_if([$1], [CXX], [
4194 # C++ specific cases for pic, static, wl, etc.
4195 if test yes = "$GXX"; then
4196 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4197 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4198
4199 case $host_os in
4200 aix*)
4201 # All AIX code is PIC.
4202 if test ia64 = "$host_cpu"; then
4203 # AIX 5 now supports IA64 processor
4204 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4205 fi
4206 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4207 ;;
4208
4209 amigaos*)
4210 case $host_cpu in
4211 powerpc)
4212 # see comment about AmigaOS4 .so support
4213 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4214 ;;
4215 m68k)
4216 # FIXME: we need at least 68020 code to build shared libraries, but
4217 # adding the '-m68020' flag to GCC prevents building anything better,
4218 # like '-m68040'.
4219 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4220 ;;
4221 esac
4222 ;;
4223
4224 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
4225 # PIC is the default for these OSes.
4226 ;;
4227 mingw* | cygwin* | os2* | pw32* | cegcc*)
4228 # This hack is so that the source file can tell whether it is being
4229 # built for inclusion in a dll (and should export symbols for example).
4230 # Although the cygwin gcc ignores -fPIC, still need this for old-style
4231 # (--disable-auto-import) libraries
4232 m4_if([$1], [GCJ], [],
4233 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4234 case $host_os in
4235 os2*)
4236 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4237 ;;
4238 esac
4239 ;;
4240 darwin* | rhapsody*)
4241 # PIC is the default on this platform
4242 # Common symbols not allowed in MH_DYLIB files
4243 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4244 ;;
4245 *djgpp*)
4246 # DJGPP does not support shared libraries at all
4247 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
4248 ;;
4249 haiku*)
4250 # PIC is the default for Haiku.
4251 # The "-static" flag exists, but is broken.
4252 _LT_TAGVAR(lt_prog_compiler_static, $1)=
4253 ;;
4254 interix[[3-9]]*)
4255 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
4256 # Instead, we relocate shared libraries at runtime.
4257 ;;
4258 sysv4*MP*)
4259 if test -d /usr/nec; then
4260 _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4261 fi
4262 ;;
4263 hpux*)
4264 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
4265 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
4266 # sets the default TLS model and affects inlining.
4267 case $host_cpu in
4268 hppa*64*)
4269 ;;
4270 *)
4271 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4272 ;;
4273 esac
4274 ;;
4275 *qnx* | *nto*)
4276 # QNX uses GNU C++, but need to define -shared option too, otherwise
4277 # it will coredump.
4278 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4279 ;;
4280 *)
4281 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4282 ;;
4283 esac
4284 else
4285 case $host_os in
4286 aix[[4-9]]*)
4287 # All AIX code is PIC.
4288 if test ia64 = "$host_cpu"; then
4289 # AIX 5 now supports IA64 processor
4290 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4291 else
4292 _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4293 fi
4294 ;;
4295 chorus*)
4296 case $cc_basename in
4297 cxch68*)
4298 # Green Hills C++ Compiler
4299 # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
4300 ;;
4301 esac
4302 ;;
4303 mingw* | cygwin* | os2* | pw32* | cegcc*)
4304 # This hack is so that the source file can tell whether it is being
4305 # built for inclusion in a dll (and should export symbols for example).
4306 m4_if([$1], [GCJ], [],
4307 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4308 ;;
4309 dgux*)
4310 case $cc_basename in
4311 ec++*)
4312 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4313 ;;
4314 ghcx*)
4315 # Green Hills C++ Compiler
4316 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4317 ;;
4318 *)
4319 ;;
4320 esac
4321 ;;
4322 freebsd* | dragonfly*)
4323 # FreeBSD uses GNU C++
4324 ;;
4325 hpux9* | hpux10* | hpux11*)
4326 case $cc_basename in
4327 CC*)
4328 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4329 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4330 if test ia64 != "$host_cpu"; then
4331 _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
4332 fi
4333 ;;
4334 aCC*)
4335 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4336 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4337 case $host_cpu in
4338 hppa*64*|ia64*)
4339 # +Z the default
4340 ;;
4341 *)
4342 _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
4343 ;;
4344 esac
4345 ;;
4346 *)
4347 ;;
4348 esac
4349 ;;
4350 interix*)
4351 # This is c89, which is MS Visual C++ (no shared libs)
4352 # Anyone wants to do a port?
4353 ;;
4354 irix5* | irix6* | nonstopux*)
4355 case $cc_basename in
4356 CC*)
4357 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4358 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4359 # CC pic flag -KPIC is the default.
4360 ;;
4361 *)
4362 ;;
4363 esac
4364 ;;
4365 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4366 case $cc_basename in
4367 KCC*)
4368 # KAI C++ Compiler
4369 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4370 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4371 ;;
4372 ecpc* )
4373 # old Intel C++ for x86_64, which still supported -KPIC.
4374 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4375 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4376 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4377 ;;
4378 icpc* )
4379 # Intel C++, used to be incompatible with GCC.
4380 # ICC 10 doesn't accept -KPIC any more.
4381 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4382 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4383 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4384 ;;
4385 pgCC* | pgcpp*)
4386 # Portland Group C++ compiler
4387 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4388 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4389 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4390 ;;
4391 cxx*)
4392 # Compaq C++
4393 # Make sure the PIC flag is empty. It appears that all Alpha
4394 # Linux and Compaq Tru64 Unix objects are PIC.
4395 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
4396 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4397 ;;
4398 xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*)
4399 # IBM XL 8.0, 9.0 on PPC and BlueGene
4400 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4401 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
4402 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
4403 ;;
4404 *)
4405 case `$CC -V 2>&1 | sed 5q` in
4406 *Sun\ C*)
4407 # Sun C++ 5.9
4408 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4409 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4410 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4411 ;;
4412 esac
4413 ;;
4414 esac
4415 ;;
4416 lynxos*)
4417 ;;
4418 m88k*)
4419 ;;
4420 mvs*)
4421 case $cc_basename in
4422 cxx*)
4423 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
4424 ;;
4425 *)
4426 ;;
4427 esac
4428 ;;
4429 netbsd*)
4430 ;;
4431 *qnx* | *nto*)
4432 # QNX uses GNU C++, but need to define -shared option too, otherwise
4433 # it will coredump.
4434 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4435 ;;
4436 osf3* | osf4* | osf5*)
4437 case $cc_basename in
4438 KCC*)
4439 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4440 ;;
4441 RCC*)
4442 # Rational C++ 2.4.1
4443 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4444 ;;
4445 cxx*)
4446 # Digital/Compaq C++
4447 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4448 # Make sure the PIC flag is empty. It appears that all Alpha
4449 # Linux and Compaq Tru64 Unix objects are PIC.
4450 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
4451 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4452 ;;
4453 *)
4454 ;;
4455 esac
4456 ;;
4457 psos*)
4458 ;;
4459 solaris*)
4460 case $cc_basename in
4461 CC* | sunCC*)
4462 # Sun C++ 4.2, 5.x and Centerline C++
4463 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4464 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4465 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4466 ;;
4467 gcx*)
4468 # Green Hills C++ Compiler
4469 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4470 ;;
4471 *)
4472 ;;
4473 esac
4474 ;;
4475 sunos4*)
4476 case $cc_basename in
4477 CC*)
4478 # Sun C++ 4.x
4479 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4480 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4481 ;;
4482 lcc*)
4483 # Lucid
4484 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4485 ;;
4486 *)
4487 ;;
4488 esac
4489 ;;
4490 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
4491 case $cc_basename in
4492 CC*)
4493 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4494 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4495 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4496 ;;
4497 esac
4498 ;;
4499 tandem*)
4500 case $cc_basename in
4501 NCC*)
4502 # NonStop-UX NCC 3.20
4503 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4504 ;;
4505 *)
4506 ;;
4507 esac
4508 ;;
4509 vxworks*)
4510 ;;
4511 *)
4512 _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4513 ;;
4514 esac
4515 fi
4516 ],
4517 [
4518 if test yes = "$GCC"; then
4519 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4520 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4521
4522 case $host_os in
4523 aix*)
4524 # All AIX code is PIC.
4525 if test ia64 = "$host_cpu"; then
4526 # AIX 5 now supports IA64 processor
4527 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4528 fi
4529 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4530 ;;
4531
4532 amigaos*)
4533 case $host_cpu in
4534 powerpc)
4535 # see comment about AmigaOS4 .so support
4536 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4537 ;;
4538 m68k)
4539 # FIXME: we need at least 68020 code to build shared libraries, but
4540 # adding the '-m68020' flag to GCC prevents building anything better,
4541 # like '-m68040'.
4542 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4543 ;;
4544 esac
4545 ;;
4546
4547 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
4548 # PIC is the default for these OSes.
4549 ;;
4550
4551 mingw* | cygwin* | pw32* | os2* | cegcc*)
4552 # This hack is so that the source file can tell whether it is being
4553 # built for inclusion in a dll (and should export symbols for example).
4554 # Although the cygwin gcc ignores -fPIC, still need this for old-style
4555 # (--disable-auto-import) libraries
4556 m4_if([$1], [GCJ], [],
4557 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4558 case $host_os in
4559 os2*)
4560 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4561 ;;
4562 esac
4563 ;;
4564
4565 darwin* | rhapsody*)
4566 # PIC is the default on this platform
4567 # Common symbols not allowed in MH_DYLIB files
4568 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4569 ;;
4570
4571 haiku*)
4572 # PIC is the default for Haiku.
4573 # The "-static" flag exists, but is broken.
4574 _LT_TAGVAR(lt_prog_compiler_static, $1)=
4575 ;;
4576
4577 hpux*)
4578 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
4579 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
4580 # sets the default TLS model and affects inlining.
4581 case $host_cpu in
4582 hppa*64*)
4583 # +Z the default
4584 ;;
4585 *)
4586 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4587 ;;
4588 esac
4589 ;;
4590
4591 interix[[3-9]]*)
4592 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
4593 # Instead, we relocate shared libraries at runtime.
4594 ;;
4595
4596 msdosdjgpp*)
4597 # Just because we use GCC doesn't mean we suddenly get shared libraries
4598 # on systems that don't support them.
4599 _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4600 enable_shared=no
4601 ;;
4602
4603 *nto* | *qnx*)
4604 # QNX uses GNU C++, but need to define -shared option too, otherwise
4605 # it will coredump.
4606 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4607 ;;
4608
4609 sysv4*MP*)
4610 if test -d /usr/nec; then
4611 _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4612 fi
4613 ;;
4614
4615 *)
4616 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4617 ;;
4618 esac
4619
4620 case $cc_basename in
4621 nvcc*) # Cuda Compiler Driver 2.2
4622 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
4623 if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
4624 _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
4625 fi
4626 ;;
4627 esac
4628 else
4629 # PORTME Check for flag to pass linker flags through the system compiler.
4630 case $host_os in
4631 aix*)
4632 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4633 if test ia64 = "$host_cpu"; then
4634 # AIX 5 now supports IA64 processor
4635 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4636 else
4637 _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4638 fi
4639 ;;
4640
4641 darwin* | rhapsody*)
4642 # PIC is the default on this platform
4643 # Common symbols not allowed in MH_DYLIB files
4644 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4645 case $cc_basename in
4646 nagfor*)
4647 # NAG Fortran compiler
4648 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
4649 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4650 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4651 ;;
4652 esac
4653 ;;
4654
4655 mingw* | cygwin* | pw32* | os2* | cegcc*)
4656 # This hack is so that the source file can tell whether it is being
4657 # built for inclusion in a dll (and should export symbols for example).
4658 m4_if([$1], [GCJ], [],
4659 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4660 case $host_os in
4661 os2*)
4662 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4663 ;;
4664 esac
4665 ;;
4666
4667 hpux9* | hpux10* | hpux11*)
4668 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4669 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
4670 # not for PA HP-UX.
4671 case $host_cpu in
4672 hppa*64*|ia64*)
4673 # +Z the default
4674 ;;
4675 *)
4676 _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
4677 ;;
4678 esac
4679 # Is there a better lt_prog_compiler_static that works with the bundled CC?
4680 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4681 ;;
4682
4683 irix5* | irix6* | nonstopux*)
4684 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4685 # PIC (with -KPIC) is the default.
4686 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4687 ;;
4688
4689 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4690 case $cc_basename in
4691 # old Intel for x86_64, which still supported -KPIC.
4692 ecc*)
4693 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4694 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4695 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4696 ;;
4697 # icc used to be incompatible with GCC.
4698 # ICC 10 doesn't accept -KPIC any more.
4699 icc* | ifort*)
4700 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4701 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4702 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4703 ;;
4704 # Lahey Fortran 8.1.
4705 lf95*)
4706 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4707 _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
4708 _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
4709 ;;
4710 nagfor*)
4711 # NAG Fortran compiler
4712 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
4713 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4714 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4715 ;;
4716 tcc*)
4717 # Fabrice Bellard et al's Tiny C Compiler
4718 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4719 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4720 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4721 ;;
4722 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
4723 # Portland Group compilers (*not* the Pentium gcc compiler,
4724 # which looks to be a dead project)
4725 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4726 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4727 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4728 ;;
4729 ccc*)
4730 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4731 # All Alpha code is PIC.
4732 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4733 ;;
4734 xl* | bgxl* | bgf* | mpixl*)
4735 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
4736 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4737 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
4738 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
4739 ;;
4740 *)
4741 case `$CC -V 2>&1 | sed 5q` in
4742 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
4743 # Sun Fortran 8.3 passes all unrecognized flags to the linker
4744 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4745 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4746 _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
4747 ;;
4748 *Sun\ F* | *Sun*Fortran*)
4749 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4750 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4751 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4752 ;;
4753 *Sun\ C*)
4754 # Sun C 5.9
4755 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4756 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4757 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4758 ;;
4759 *Intel*\ [[CF]]*Compiler*)
4760 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4761 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4762 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4763 ;;
4764 *Portland\ Group*)
4765 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4766 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4767 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4768 ;;
4769 esac
4770 ;;
4771 esac
4772 ;;
4773
4774 newsos6)
4775 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4776 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4777 ;;
4778
4779 *nto* | *qnx*)
4780 # QNX uses GNU C++, but need to define -shared option too, otherwise
4781 # it will coredump.
4782 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4783 ;;
4784
4785 osf3* | osf4* | osf5*)
4786 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4787 # All OSF/1 code is PIC.
4788 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4789 ;;
4790
4791 rdos*)
4792 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4793 ;;
4794
4795 solaris*)
4796 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4797 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4798 case $cc_basename in
4799 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
4800 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
4801 *)
4802 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
4803 esac
4804 ;;
4805
4806 sunos4*)
4807 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4808 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4809 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4810 ;;
4811
4812 sysv4 | sysv4.2uw2* | sysv4.3*)
4813 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4814 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4815 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4816 ;;
4817
4818 sysv4*MP*)
4819 if test -d /usr/nec; then
4820 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
4821 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4822 fi
4823 ;;
4824
4825 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
4826 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4827 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4828 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4829 ;;
4830
4831 unicos*)
4832 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4833 _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4834 ;;
4835
4836 uts4*)
4837 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4838 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4839 ;;
4840
4841 *)
4842 _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4843 ;;
4844 esac
4845 fi
4846 ])
4847 case $host_os in
4848 # For platforms that do not support PIC, -DPIC is meaningless:
4849 *djgpp*)
4850 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
4851 ;;
4852 *)
4853 _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
4854 ;;
4855 esac
4856
4857 AC_CACHE_CHECK([for $compiler option to produce PIC],
4858 [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)],
4859 [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
4860 _LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)
4861
4862 #
4863 # Check to make sure the PIC flag actually works.
4864 #
4865 if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
4866 _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works],
4867 [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)],
4868 [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [],
4869 [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in
4870 "" | " "*) ;;
4871 *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;;
4872 esac],
4873 [_LT_TAGVAR(lt_prog_compiler_pic, $1)=
4874 _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
4875 fi
4876 _LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
4877 [Additional compiler flags for building library objects])
4878
4879 _LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
4880 [How to pass a linker flag through the compiler])
4881 #
4882 # Check to make sure the static flag actually works.
4883 #
4884 wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\"
4885 _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
4886 _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1),
4887 $lt_tmp_static_flag,
4888 [],
4889 [_LT_TAGVAR(lt_prog_compiler_static, $1)=])
4890 _LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
4891 [Compiler flag to prevent dynamic linking])
4892 ])# _LT_COMPILER_PIC
4893
4894
4895 # _LT_LINKER_SHLIBS([TAGNAME])
4896 # ----------------------------
4897 # See if the linker supports building shared libraries.
4898 m4_defun([_LT_LINKER_SHLIBS],
4899 [AC_REQUIRE([LT_PATH_LD])dnl
4900 AC_REQUIRE([LT_PATH_NM])dnl
4901 m4_require([_LT_PATH_MANIFEST_TOOL])dnl
4902 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
4903 m4_require([_LT_DECL_EGREP])dnl
4904 m4_require([_LT_DECL_SED])dnl
4905 m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
4906 m4_require([_LT_TAG_COMPILER])dnl
4907 AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
4908 m4_if([$1], [CXX], [
4909 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4910 _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
4911 case $host_os in
4912 aix[[4-9]]*)
4913 # If we're using GNU nm, then we don't want the "-C" option.
4914 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
4915 # Without the "-l" option, or with the "-B" option, AIX nm treats
4916 # weak defined symbols like other global defined symbols, whereas
4917 # GNU nm marks them as "W".
4918 # While the 'weak' keyword is ignored in the Export File, we need
4919 # it in the Import File for the 'aix-soname' feature, so we have
4920 # to replace the "-B" option with "-P" for AIX nm.
4921 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
4922 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
4923 else
4924 _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
4925 fi
4926 ;;
4927 pw32*)
4928 _LT_TAGVAR(export_symbols_cmds, $1)=$ltdll_cmds
4929 ;;
4930 cygwin* | mingw* | cegcc*)
4931 case $cc_basename in
4932 cl*)
4933 _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
4934 ;;
4935 *)
4936 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
4937 _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
4938 ;;
4939 esac
4940 ;;
4941 *)
4942 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4943 ;;
4944 esac
4945 ], [
4946 runpath_var=
4947 _LT_TAGVAR(allow_undefined_flag, $1)=
4948 _LT_TAGVAR(always_export_symbols, $1)=no
4949 _LT_TAGVAR(archive_cmds, $1)=
4950 _LT_TAGVAR(archive_expsym_cmds, $1)=
4951 _LT_TAGVAR(compiler_needs_object, $1)=no
4952 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
4953 _LT_TAGVAR(export_dynamic_flag_spec, $1)=
4954 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4955 _LT_TAGVAR(hardcode_automatic, $1)=no
4956 _LT_TAGVAR(hardcode_direct, $1)=no
4957 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
4958 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
4959 _LT_TAGVAR(hardcode_libdir_separator, $1)=
4960 _LT_TAGVAR(hardcode_minus_L, $1)=no
4961 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
4962 _LT_TAGVAR(inherit_rpath, $1)=no
4963 _LT_TAGVAR(link_all_deplibs, $1)=unknown
4964 _LT_TAGVAR(module_cmds, $1)=
4965 _LT_TAGVAR(module_expsym_cmds, $1)=
4966 _LT_TAGVAR(old_archive_from_new_cmds, $1)=
4967 _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)=
4968 _LT_TAGVAR(thread_safe_flag_spec, $1)=
4969 _LT_TAGVAR(whole_archive_flag_spec, $1)=
4970 # include_expsyms should be a list of space-separated symbols to be *always*
4971 # included in the symbol list
4972 _LT_TAGVAR(include_expsyms, $1)=
4973 # exclude_expsyms can be an extended regexp of symbols to exclude
4974 # it will be wrapped by ' (' and ')$', so one must not match beginning or
4975 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
4976 # as well as any symbol that contains 'd'.
4977 _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
4978 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
4979 # platforms (ab)use it in PIC code, but their linkers get confused if
4980 # the symbol is explicitly referenced. Since portable code cannot
4981 # rely on this symbol name, it's probably fine to never include it in
4982 # preloaded symbol tables.
4983 # Exclude shared library initialization/finalization symbols.
4984 dnl Note also adjust exclude_expsyms for C++ above.
4985 extract_expsyms_cmds=
4986
4987 case $host_os in
4988 cygwin* | mingw* | pw32* | cegcc*)
4989 # FIXME: the MSVC++ port hasn't been tested in a loooong time
4990 # When not using gcc, we currently assume that we are using
4991 # Microsoft Visual C++.
4992 if test yes != "$GCC"; then
4993 with_gnu_ld=no
4994 fi
4995 ;;
4996 interix*)
4997 # we just hope/assume this is gcc and not c89 (= MSVC++)
4998 with_gnu_ld=yes
4999 ;;
5000 openbsd* | bitrig*)
5001 with_gnu_ld=no
5002 ;;
5003 esac
5004
5005 _LT_TAGVAR(ld_shlibs, $1)=yes
5006
5007 # On some targets, GNU ld is compatible enough with the native linker
5008 # that we're better off using the native interface for both.
5009 lt_use_gnu_ld_interface=no
5010 if test yes = "$with_gnu_ld"; then
5011 case $host_os in
5012 aix*)
5013 # The AIX port of GNU ld has always aspired to compatibility
5014 # with the native linker. However, as the warning in the GNU ld
5015 # block says, versions before 2.19.5* couldn't really create working
5016 # shared libraries, regardless of the interface used.
5017 case `$LD -v 2>&1` in
5018 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
5019 *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
5020 *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
5021 *)
5022 lt_use_gnu_ld_interface=yes
5023 ;;
5024 esac
5025 ;;
5026 *)
5027 lt_use_gnu_ld_interface=yes
5028 ;;
5029 esac
5030 fi
5031
5032 if test yes = "$lt_use_gnu_ld_interface"; then
5033 # If archive_cmds runs LD, not CC, wlarc should be empty
5034 wlarc='$wl'
5035
5036 # Set some defaults for GNU ld with shared library support. These
5037 # are reset later if shared libraries are not supported. Putting them
5038 # here allows them to be overridden if necessary.
5039 runpath_var=LD_RUN_PATH
5040 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5041 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
5042 # ancient GNU ld didn't support --whole-archive et. al.
5043 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
5044 _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
5045 else
5046 _LT_TAGVAR(whole_archive_flag_spec, $1)=
5047 fi
5048 supports_anon_versioning=no
5049 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
5050 *GNU\ gold*) supports_anon_versioning=yes ;;
5051 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
5052 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
5053 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
5054 *\ 2.11.*) ;; # other 2.11 versions
5055 *) supports_anon_versioning=yes ;;
5056 esac
5057
5058 # See if GNU ld supports shared libraries.
5059 case $host_os in
5060 aix[[3-9]]*)
5061 # On AIX/PPC, the GNU linker is very broken
5062 if test ia64 != "$host_cpu"; then
5063 _LT_TAGVAR(ld_shlibs, $1)=no
5064 cat <<_LT_EOF 1>&2
5065
5066 *** Warning: the GNU linker, at least up to release 2.19, is reported
5067 *** to be unable to reliably create shared libraries on AIX.
5068 *** Therefore, libtool is disabling shared libraries support. If you
5069 *** really care for shared libraries, you may want to install binutils
5070 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
5071 *** You will then need to restart the configuration process.
5072
5073 _LT_EOF
5074 fi
5075 ;;
5076
5077 amigaos*)
5078 case $host_cpu in
5079 powerpc)
5080 # see comment about AmigaOS4 .so support
5081 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5082 _LT_TAGVAR(archive_expsym_cmds, $1)=''
5083 ;;
5084 m68k)
5085 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
5086 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5087 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5088 ;;
5089 esac
5090 ;;
5091
5092 beos*)
5093 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5094 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5095 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
5096 # support --undefined. This deserves some investigation. FIXME
5097 _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5098 else
5099 _LT_TAGVAR(ld_shlibs, $1)=no
5100 fi
5101 ;;
5102
5103 cygwin* | mingw* | pw32* | cegcc*)
5104 # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
5105 # as there is no search path for DLLs.
5106 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5107 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
5108 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5109 _LT_TAGVAR(always_export_symbols, $1)=no
5110 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5111 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
5112 _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
5113
5114 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
5115 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
5116 # If the export-symbols file already is a .def file, use it as
5117 # is; otherwise, prepend EXPORTS...
5118 _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
5119 cp $export_symbols $output_objdir/$soname.def;
5120 else
5121 echo EXPORTS > $output_objdir/$soname.def;
5122 cat $export_symbols >> $output_objdir/$soname.def;
5123 fi~
5124 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
5125 else
5126 _LT_TAGVAR(ld_shlibs, $1)=no
5127 fi
5128 ;;
5129
5130 haiku*)
5131 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5132 _LT_TAGVAR(link_all_deplibs, $1)=yes
5133 ;;
5134
5135 os2*)
5136 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5137 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5138 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5139 shrext_cmds=.dll
5140 _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
5141 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
5142 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
5143 $ECHO EXPORTS >> $output_objdir/$libname.def~
5144 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
5145 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
5146 emximp -o $lib $output_objdir/$libname.def'
5147 _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
5148 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
5149 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
5150 $ECHO EXPORTS >> $output_objdir/$libname.def~
5151 prefix_cmds="$SED"~
5152 if test EXPORTS = "`$SED 1q $export_symbols`"; then
5153 prefix_cmds="$prefix_cmds -e 1d";
5154 fi~
5155 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
5156 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
5157 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
5158 emximp -o $lib $output_objdir/$libname.def'
5159 _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
5160 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5161 ;;
5162
5163 interix[[3-9]]*)
5164 _LT_TAGVAR(hardcode_direct, $1)=no
5165 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5166 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5167 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5168 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
5169 # Instead, shared libraries are loaded at an image base (0x10000000 by
5170 # default) and relocated if they conflict, which is a slow very memory
5171 # consuming and fragmenting process. To avoid this, we pick a random,
5172 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
5173 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
5174 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
5175 _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
5176 ;;
5177
5178 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
5179 tmp_diet=no
5180 if test linux-dietlibc = "$host_os"; then
5181 case $cc_basename in
5182 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
5183 esac
5184 fi
5185 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
5186 && test no = "$tmp_diet"
5187 then
5188 tmp_addflag=' $pic_flag'
5189 tmp_sharedflag='-shared'
5190 case $cc_basename,$host_cpu in
5191 pgcc*) # Portland Group C compiler
5192 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
5193 tmp_addflag=' $pic_flag'
5194 ;;
5195 pgf77* | pgf90* | pgf95* | pgfortran*)
5196 # Portland Group f77 and f90 compilers
5197 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
5198 tmp_addflag=' $pic_flag -Mnomain' ;;
5199 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
5200 tmp_addflag=' -i_dynamic' ;;
5201 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
5202 tmp_addflag=' -i_dynamic -nofor_main' ;;
5203 ifc* | ifort*) # Intel Fortran compiler
5204 tmp_addflag=' -nofor_main' ;;
5205 lf95*) # Lahey Fortran 8.1
5206 _LT_TAGVAR(whole_archive_flag_spec, $1)=
5207 tmp_sharedflag='--shared' ;;
5208 nagfor*) # NAGFOR 5.3
5209 tmp_sharedflag='-Wl,-shared' ;;
5210 xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
5211 tmp_sharedflag='-qmkshrobj'
5212 tmp_addflag= ;;
5213 nvcc*) # Cuda Compiler Driver 2.2
5214 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
5215 _LT_TAGVAR(compiler_needs_object, $1)=yes
5216 ;;
5217 esac
5218 case `$CC -V 2>&1 | sed 5q` in
5219 *Sun\ C*) # Sun C 5.9
5220 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
5221 _LT_TAGVAR(compiler_needs_object, $1)=yes
5222 tmp_sharedflag='-G' ;;
5223 *Sun\ F*) # Sun Fortran 8.3
5224 tmp_sharedflag='-G' ;;
5225 esac
5226 _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5227
5228 if test yes = "$supports_anon_versioning"; then
5229 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
5230 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5231 echo "local: *; };" >> $output_objdir/$libname.ver~
5232 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
5233 fi
5234
5235 case $cc_basename in
5236 tcc*)
5237 _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic'
5238 ;;
5239 xlf* | bgf* | bgxlf* | mpixlf*)
5240 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
5241 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
5242 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5243 _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
5244 if test yes = "$supports_anon_versioning"; then
5245 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
5246 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5247 echo "local: *; };" >> $output_objdir/$libname.ver~
5248 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
5249 fi
5250 ;;
5251 esac
5252 else
5253 _LT_TAGVAR(ld_shlibs, $1)=no
5254 fi
5255 ;;
5256
5257 netbsd*)
5258 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5259 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5260 wlarc=
5261 else
5262 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5263 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
5264 fi
5265 ;;
5266
5267 solaris*)
5268 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
5269 _LT_TAGVAR(ld_shlibs, $1)=no
5270 cat <<_LT_EOF 1>&2
5271
5272 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
5273 *** create shared libraries on Solaris systems. Therefore, libtool
5274 *** is disabling shared libraries support. We urge you to upgrade GNU
5275 *** binutils to release 2.9.1 or newer. Another option is to modify
5276 *** your PATH or compiler configuration so that the native linker is
5277 *** used, and then restart.
5278
5279 _LT_EOF
5280 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5281 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5282 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
5283 else
5284 _LT_TAGVAR(ld_shlibs, $1)=no
5285 fi
5286 ;;
5287
5288 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
5289 case `$LD -v 2>&1` in
5290 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
5291 _LT_TAGVAR(ld_shlibs, $1)=no
5292 cat <<_LT_EOF 1>&2
5293
5294 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
5295 *** reliably create shared libraries on SCO systems. Therefore, libtool
5296 *** is disabling shared libraries support. We urge you to upgrade GNU
5297 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
5298 *** your PATH or compiler configuration so that the native linker is
5299 *** used, and then restart.
5300
5301 _LT_EOF
5302 ;;
5303 *)
5304 # For security reasons, it is highly recommended that you always
5305 # use absolute paths for naming shared libraries, and exclude the
5306 # DT_RUNPATH tag from executables and libraries. But doing so
5307 # requires that you compile everything twice, which is a pain.
5308 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5309 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5310 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5311 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
5312 else
5313 _LT_TAGVAR(ld_shlibs, $1)=no
5314 fi
5315 ;;
5316 esac
5317 ;;
5318
5319 sunos4*)
5320 _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5321 wlarc=
5322 _LT_TAGVAR(hardcode_direct, $1)=yes
5323 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5324 ;;
5325
5326 *)
5327 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5328 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5329 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
5330 else
5331 _LT_TAGVAR(ld_shlibs, $1)=no
5332 fi
5333 ;;
5334 esac
5335
5336 if test no = "$_LT_TAGVAR(ld_shlibs, $1)"; then
5337 runpath_var=
5338 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
5339 _LT_TAGVAR(export_dynamic_flag_spec, $1)=
5340 _LT_TAGVAR(whole_archive_flag_spec, $1)=
5341 fi
5342 else
5343 # PORTME fill in a description of your system's linker (not GNU ld)
5344 case $host_os in
5345 aix3*)
5346 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5347 _LT_TAGVAR(always_export_symbols, $1)=yes
5348 _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
5349 # Note: this linker hardcodes the directories in LIBPATH if there
5350 # are no directories specified by -L.
5351 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5352 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
5353 # Neither direct hardcoding nor static linking is supported with a
5354 # broken collect2.
5355 _LT_TAGVAR(hardcode_direct, $1)=unsupported
5356 fi
5357 ;;
5358
5359 aix[[4-9]]*)
5360 if test ia64 = "$host_cpu"; then
5361 # On IA64, the linker does run time linking by default, so we don't
5362 # have to do anything special.
5363 aix_use_runtimelinking=no
5364 exp_sym_flag='-Bexport'
5365 no_entry_flag=
5366 else
5367 # If we're using GNU nm, then we don't want the "-C" option.
5368 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
5369 # Without the "-l" option, or with the "-B" option, AIX nm treats
5370 # weak defined symbols like other global defined symbols, whereas
5371 # GNU nm marks them as "W".
5372 # While the 'weak' keyword is ignored in the Export File, we need
5373 # it in the Import File for the 'aix-soname' feature, so we have
5374 # to replace the "-B" option with "-P" for AIX nm.
5375 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
5376 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
5377 else
5378 _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
5379 fi
5380 aix_use_runtimelinking=no
5381
5382 # Test if we are trying to use run time linking or normal
5383 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
5384 # have runtime linking enabled, and use it for executables.
5385 # For shared libraries, we enable/disable runtime linking
5386 # depending on the kind of the shared library created -
5387 # when "with_aix_soname,aix_use_runtimelinking" is:
5388 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
5389 # "aix,yes" lib.so shared, rtl:yes, for executables
5390 # lib.a static archive
5391 # "both,no" lib.so.V(shr.o) shared, rtl:yes
5392 # lib.a(lib.so.V) shared, rtl:no, for executables
5393 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
5394 # lib.a(lib.so.V) shared, rtl:no
5395 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
5396 # lib.a static archive
5397 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
5398 for ld_flag in $LDFLAGS; do
5399 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
5400 aix_use_runtimelinking=yes
5401 break
5402 fi
5403 done
5404 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
5405 # With aix-soname=svr4, we create the lib.so.V shared archives only,
5406 # so we don't have lib.a shared libs to link our executables.
5407 # We have to force runtime linking in this case.
5408 aix_use_runtimelinking=yes
5409 LDFLAGS="$LDFLAGS -Wl,-brtl"
5410 fi
5411 ;;
5412 esac
5413
5414 exp_sym_flag='-bexport'
5415 no_entry_flag='-bnoentry'
5416 fi
5417
5418 # When large executables or shared objects are built, AIX ld can
5419 # have problems creating the table of contents. If linking a library
5420 # or program results in "error TOC overflow" add -mminimal-toc to
5421 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
5422 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
5423
5424 _LT_TAGVAR(archive_cmds, $1)=''
5425 _LT_TAGVAR(hardcode_direct, $1)=yes
5426 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
5427 _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
5428 _LT_TAGVAR(link_all_deplibs, $1)=yes
5429 _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
5430 case $with_aix_soname,$aix_use_runtimelinking in
5431 aix,*) ;; # traditional, no import file
5432 svr4,* | *,yes) # use import file
5433 # The Import File defines what to hardcode.
5434 _LT_TAGVAR(hardcode_direct, $1)=no
5435 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
5436 ;;
5437 esac
5438
5439 if test yes = "$GCC"; then
5440 case $host_os in aix4.[[012]]|aix4.[[012]].*)
5441 # We only want to do this on AIX 4.2 and lower, the check
5442 # below for broken collect2 doesn't work under 4.3+
5443 collect2name=`$CC -print-prog-name=collect2`
5444 if test -f "$collect2name" &&
5445 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
5446 then
5447 # We have reworked collect2
5448 :
5449 else
5450 # We have old collect2
5451 _LT_TAGVAR(hardcode_direct, $1)=unsupported
5452 # It fails to find uninstalled libraries when the uninstalled
5453 # path is not listed in the libpath. Setting hardcode_minus_L
5454 # to unsupported forces relinking
5455 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5456 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5457 _LT_TAGVAR(hardcode_libdir_separator, $1)=
5458 fi
5459 ;;
5460 esac
5461 shared_flag='-shared'
5462 if test yes = "$aix_use_runtimelinking"; then
5463 shared_flag="$shared_flag "'$wl-G'
5464 fi
5465 # Need to ensure runtime linking is disabled for the traditional
5466 # shared library, or the linker may eventually find shared libraries
5467 # /with/ Import File - we do not want to mix them.
5468 shared_flag_aix='-shared'
5469 shared_flag_svr4='-shared $wl-G'
5470 else
5471 # not using gcc
5472 if test ia64 = "$host_cpu"; then
5473 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
5474 # chokes on -Wl,-G. The following line is correct:
5475 shared_flag='-G'
5476 else
5477 if test yes = "$aix_use_runtimelinking"; then
5478 shared_flag='$wl-G'
5479 else
5480 shared_flag='$wl-bM:SRE'
5481 fi
5482 shared_flag_aix='$wl-bM:SRE'
5483 shared_flag_svr4='$wl-G'
5484 fi
5485 fi
5486
5487 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
5488 # It seems that -bexpall does not export symbols beginning with
5489 # underscore (_), so it is better to generate a list of symbols to export.
5490 _LT_TAGVAR(always_export_symbols, $1)=yes
5491 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
5492 # Warning - without using the other runtime loading flags (-brtl),
5493 # -berok will link without error, but may produce a broken library.
5494 _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
5495 # Determine the default libpath from the value encoded in an
5496 # empty executable.
5497 _LT_SYS_MODULE_PATH_AIX([$1])
5498 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
5499 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
5500 else
5501 if test ia64 = "$host_cpu"; then
5502 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
5503 _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
5504 _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
5505 else
5506 # Determine the default libpath from the value encoded in an
5507 # empty executable.
5508 _LT_SYS_MODULE_PATH_AIX([$1])
5509 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
5510 # Warning - without using the other run time loading flags,
5511 # -berok will link without error, but may produce a broken library.
5512 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
5513 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
5514 if test yes = "$with_gnu_ld"; then
5515 # We only use this code for GNU lds that support --whole-archive.
5516 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
5517 else
5518 # Exported symbols can be pulled into shared objects from archives
5519 _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
5520 fi
5521 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
5522 _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
5523 # -brtl affects multiple linker settings, -berok does not and is overridden later
5524 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`'
5525 if test svr4 != "$with_aix_soname"; then
5526 # This is similar to how AIX traditionally builds its shared libraries.
5527 _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
5528 fi
5529 if test aix != "$with_aix_soname"; then
5530 _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
5531 else
5532 # used by -dlpreopen to get the symbols
5533 _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
5534 fi
5535 _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d'
5536 fi
5537 fi
5538 ;;
5539
5540 amigaos*)
5541 case $host_cpu in
5542 powerpc)
5543 # see comment about AmigaOS4 .so support
5544 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5545 _LT_TAGVAR(archive_expsym_cmds, $1)=''
5546 ;;
5547 m68k)
5548 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
5549 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5550 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5551 ;;
5552 esac
5553 ;;
5554
5555 bsdi[[45]]*)
5556 _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
5557 ;;
5558
5559 cygwin* | mingw* | pw32* | cegcc*)
5560 # When not using gcc, we currently assume that we are using
5561 # Microsoft Visual C++.
5562 # hardcode_libdir_flag_spec is actually meaningless, as there is
5563 # no search path for DLLs.
5564 case $cc_basename in
5565 cl*)
5566 # Native MSVC
5567 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
5568 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5569 _LT_TAGVAR(always_export_symbols, $1)=yes
5570 _LT_TAGVAR(file_list_spec, $1)='@'
5571 # Tell ltmain to make .lib files, not .a files.
5572 libext=lib
5573 # Tell ltmain to make .dll files, not .so files.
5574 shrext_cmds=.dll
5575 # FIXME: Setting linknames here is a bad hack.
5576 _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
5577 _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
5578 cp "$export_symbols" "$output_objdir/$soname.def";
5579 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
5580 else
5581 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
5582 fi~
5583 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
5584 linknames='
5585 # The linker will not automatically build a static lib if we build a DLL.
5586 # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
5587 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5588 _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
5589 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
5590 # Don't use ranlib
5591 _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
5592 _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
5593 lt_tool_outputfile="@TOOL_OUTPUT@"~
5594 case $lt_outputfile in
5595 *.exe|*.EXE) ;;
5596 *)
5597 lt_outputfile=$lt_outputfile.exe
5598 lt_tool_outputfile=$lt_tool_outputfile.exe
5599 ;;
5600 esac~
5601 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
5602 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
5603 $RM "$lt_outputfile.manifest";
5604 fi'
5605 ;;
5606 *)
5607 # Assume MSVC wrapper
5608 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
5609 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5610 # Tell ltmain to make .lib files, not .a files.
5611 libext=lib
5612 # Tell ltmain to make .dll files, not .so files.
5613 shrext_cmds=.dll
5614 # FIXME: Setting linknames here is a bad hack.
5615 _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
5616 # The linker will automatically build a .lib file if we build a DLL.
5617 _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
5618 # FIXME: Should let the user specify the lib program.
5619 _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
5620 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5621 ;;
5622 esac
5623 ;;
5624
5625 darwin* | rhapsody*)
5626 _LT_DARWIN_LINKER_FEATURES($1)
5627 ;;
5628
5629 dgux*)
5630 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5631 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5632 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5633 ;;
5634
5635 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
5636 # support. Future versions do this automatically, but an explicit c++rt0.o
5637 # does not break anything, and helps significantly (at the cost of a little
5638 # extra space).
5639 freebsd2.2*)
5640 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
5641 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5642 _LT_TAGVAR(hardcode_direct, $1)=yes
5643 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5644 ;;
5645
5646 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
5647 freebsd2.*)
5648 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5649 _LT_TAGVAR(hardcode_direct, $1)=yes
5650 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5651 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5652 ;;
5653
5654 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
5655 freebsd* | dragonfly*)
5656 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5657 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5658 _LT_TAGVAR(hardcode_direct, $1)=yes
5659 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5660 ;;
5661
5662 hpux9*)
5663 if test yes = "$GCC"; then
5664 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
5665 else
5666 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
5667 fi
5668 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
5669 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5670 _LT_TAGVAR(hardcode_direct, $1)=yes
5671
5672 # hardcode_minus_L: Not really in the search PATH,
5673 # but as the default location of the library.
5674 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5675 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5676 ;;
5677
5678 hpux10*)
5679 if test yes,no = "$GCC,$with_gnu_ld"; then
5680 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5681 else
5682 _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
5683 fi
5684 if test no = "$with_gnu_ld"; then
5685 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
5686 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5687 _LT_TAGVAR(hardcode_direct, $1)=yes
5688 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
5689 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5690 # hardcode_minus_L: Not really in the search PATH,
5691 # but as the default location of the library.
5692 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5693 fi
5694 ;;
5695
5696 hpux11*)
5697 if test yes,no = "$GCC,$with_gnu_ld"; then
5698 case $host_cpu in
5699 hppa*64*)
5700 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
5701 ;;
5702 ia64*)
5703 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
5704 ;;
5705 *)
5706 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5707 ;;
5708 esac
5709 else
5710 case $host_cpu in
5711 hppa*64*)
5712 _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
5713 ;;
5714 ia64*)
5715 _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
5716 ;;
5717 *)
5718 m4_if($1, [], [
5719 # Older versions of the 11.00 compiler do not understand -b yet
5720 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
5721 _LT_LINKER_OPTION([if $CC understands -b],
5722 _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
5723 [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
5724 [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])],
5725 [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
5726 ;;
5727 esac
5728 fi
5729 if test no = "$with_gnu_ld"; then
5730 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
5731 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5732
5733 case $host_cpu in
5734 hppa*64*|ia64*)
5735 _LT_TAGVAR(hardcode_direct, $1)=no
5736 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5737 ;;
5738 *)
5739 _LT_TAGVAR(hardcode_direct, $1)=yes
5740 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
5741 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5742
5743 # hardcode_minus_L: Not really in the search PATH,
5744 # but as the default location of the library.
5745 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5746 ;;
5747 esac
5748 fi
5749 ;;
5750
5751 irix5* | irix6* | nonstopux*)
5752 if test yes = "$GCC"; then
5753 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
5754 # Try to use the -exported_symbol ld option, if it does not
5755 # work, assume that -exports_file does not work either and
5756 # implicitly export all symbols.
5757 # This should be the same for all languages, so no per-tag cache variable.
5758 AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol],
5759 [lt_cv_irix_exported_symbol],
5760 [save_LDFLAGS=$LDFLAGS
5761 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
5762 AC_LINK_IFELSE(
5763 [AC_LANG_SOURCE(
5764 [AC_LANG_CASE([C], [[int foo (void) { return 0; }]],
5765 [C++], [[int foo (void) { return 0; }]],
5766 [Fortran 77], [[
5767 subroutine foo
5768 end]],
5769 [Fortran], [[
5770 subroutine foo
5771 end]])])],
5772 [lt_cv_irix_exported_symbol=yes],
5773 [lt_cv_irix_exported_symbol=no])
5774 LDFLAGS=$save_LDFLAGS])
5775 if test yes = "$lt_cv_irix_exported_symbol"; then
5776 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
5777 fi
5778 else
5779 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
5780 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
5781 fi
5782 _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
5783 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5784 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5785 _LT_TAGVAR(inherit_rpath, $1)=yes
5786 _LT_TAGVAR(link_all_deplibs, $1)=yes
5787 ;;
5788
5789 linux*)
5790 case $cc_basename in
5791 tcc*)
5792 # Fabrice Bellard et al's Tiny C Compiler
5793 _LT_TAGVAR(ld_shlibs, $1)=yes
5794 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5795 ;;
5796 esac
5797 ;;
5798
5799 netbsd*)
5800 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5801 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
5802 else
5803 _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
5804 fi
5805 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5806 _LT_TAGVAR(hardcode_direct, $1)=yes
5807 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5808 ;;
5809
5810 newsos6)
5811 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5812 _LT_TAGVAR(hardcode_direct, $1)=yes
5813 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5814 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5815 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5816 ;;
5817
5818 *nto* | *qnx*)
5819 ;;
5820
5821 openbsd* | bitrig*)
5822 if test -f /usr/libexec/ld.so; then
5823 _LT_TAGVAR(hardcode_direct, $1)=yes
5824 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5825 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
5826 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5827 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5828 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
5829 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5830 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5831 else
5832 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5833 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5834 fi
5835 else
5836 _LT_TAGVAR(ld_shlibs, $1)=no
5837 fi
5838 ;;
5839
5840 os2*)
5841 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5842 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5843 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5844 shrext_cmds=.dll
5845 _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
5846 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
5847 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
5848 $ECHO EXPORTS >> $output_objdir/$libname.def~
5849 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
5850 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
5851 emximp -o $lib $output_objdir/$libname.def'
5852 _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
5853 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
5854 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
5855 $ECHO EXPORTS >> $output_objdir/$libname.def~
5856 prefix_cmds="$SED"~
5857 if test EXPORTS = "`$SED 1q $export_symbols`"; then
5858 prefix_cmds="$prefix_cmds -e 1d";
5859 fi~
5860 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
5861 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
5862 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
5863 emximp -o $lib $output_objdir/$libname.def'
5864 _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
5865 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5866 ;;
5867
5868 osf3*)
5869 if test yes = "$GCC"; then
5870 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
5871 _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
5872 else
5873 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5874 _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
5875 fi
5876 _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
5877 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5878 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5879 ;;
5880
5881 osf4* | osf5*) # as osf3* with the addition of -msym flag
5882 if test yes = "$GCC"; then
5883 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
5884 _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
5885 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5886 else
5887 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5888 _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
5889 _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
5890 $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
5891
5892 # Both c and cxx compiler support -rpath directly
5893 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
5894 fi
5895 _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
5896 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5897 ;;
5898
5899 solaris*)
5900 _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
5901 if test yes = "$GCC"; then
5902 wlarc='$wl'
5903 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
5904 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
5905 $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
5906 else
5907 case `$CC -V 2>&1` in
5908 *"Compilers 5.0"*)
5909 wlarc=''
5910 _LT_TAGVAR(archive_cmds, $1)='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
5911 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
5912 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
5913 ;;
5914 *)
5915 wlarc='$wl'
5916 _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
5917 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
5918 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
5919 ;;
5920 esac
5921 fi
5922 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5923 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5924 case $host_os in
5925 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
5926 *)
5927 # The compiler driver will combine and reorder linker options,
5928 # but understands '-z linker_flag'. GCC discards it without '$wl',
5929 # but is careful enough not to reorder.
5930 # Supported since Solaris 2.6 (maybe 2.5.1?)
5931 if test yes = "$GCC"; then
5932 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
5933 else
5934 _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
5935 fi
5936 ;;
5937 esac
5938 _LT_TAGVAR(link_all_deplibs, $1)=yes
5939 ;;
5940
5941 sunos4*)
5942 if test sequent = "$host_vendor"; then
5943 # Use $CC to link under sequent, because it throws in some extra .o
5944 # files that make .init and .fini sections work.
5945 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
5946 else
5947 _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
5948 fi
5949 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5950 _LT_TAGVAR(hardcode_direct, $1)=yes
5951 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5952 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5953 ;;
5954
5955 sysv4)
5956 case $host_vendor in
5957 sni)
5958 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5959 _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true???
5960 ;;
5961 siemens)
5962 ## LD is ld it makes a PLAMLIB
5963 ## CC just makes a GrossModule.
5964 _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
5965 _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
5966 _LT_TAGVAR(hardcode_direct, $1)=no
5967 ;;
5968 motorola)
5969 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5970 _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
5971 ;;
5972 esac
5973 runpath_var='LD_RUN_PATH'
5974 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5975 ;;
5976
5977 sysv4.3*)
5978 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5979 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5980 _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
5981 ;;
5982
5983 sysv4*MP*)
5984 if test -d /usr/nec; then
5985 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5986 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5987 runpath_var=LD_RUN_PATH
5988 hardcode_runpath_var=yes
5989 _LT_TAGVAR(ld_shlibs, $1)=yes
5990 fi
5991 ;;
5992
5993 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
5994 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
5995 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
5996 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5997 runpath_var='LD_RUN_PATH'
5998
5999 if test yes = "$GCC"; then
6000 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6001 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6002 else
6003 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6004 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6005 fi
6006 ;;
6007
6008 sysv5* | sco3.2v5* | sco5v6*)
6009 # Note: We CANNOT use -z defs as we might desire, because we do not
6010 # link with -lc, and that would cause any symbols used from libc to
6011 # always be unresolved, which means just about no library would
6012 # ever link correctly. If we're not using GNU ld we use -z text
6013 # though, which does catch some bad symbols but isn't as heavy-handed
6014 # as -z defs.
6015 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
6016 _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
6017 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
6018 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6019 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
6020 _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
6021 _LT_TAGVAR(link_all_deplibs, $1)=yes
6022 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
6023 runpath_var='LD_RUN_PATH'
6024
6025 if test yes = "$GCC"; then
6026 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6027 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6028 else
6029 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6030 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6031 fi
6032 ;;
6033
6034 uts4*)
6035 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6036 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6037 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6038 ;;
6039
6040 *)
6041 _LT_TAGVAR(ld_shlibs, $1)=no
6042 ;;
6043 esac
6044
6045 if test sni = "$host_vendor"; then
6046 case $host in
6047 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6048 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Blargedynsym'
6049 ;;
6050 esac
6051 fi
6052 fi
6053 ])
6054 AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
6055 test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no
6056
6057 _LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
6058
6059 _LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl
6060 _LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl
6061 _LT_DECL([], [extract_expsyms_cmds], [2],
6062 [The commands to extract the exported symbol list from a shared archive])
6063
6064 #
6065 # Do we need to explicitly link libc?
6066 #
6067 case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in
6068 x|xyes)
6069 # Assume -lc should be added
6070 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
6071
6072 if test yes,yes = "$GCC,$enable_shared"; then
6073 case $_LT_TAGVAR(archive_cmds, $1) in
6074 *'~'*)
6075 # FIXME: we may have to deal with multi-command sequences.
6076 ;;
6077 '$CC '*)
6078 # Test whether the compiler implicitly links with -lc since on some
6079 # systems, -lgcc has to come before -lc. If gcc already passes -lc
6080 # to ld, don't add -lc before -lgcc.
6081 AC_CACHE_CHECK([whether -lc should be explicitly linked in],
6082 [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1),
6083 [$RM conftest*
6084 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6085
6086 if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
6087 soname=conftest
6088 lib=conftest
6089 libobjs=conftest.$ac_objext
6090 deplibs=
6091 wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
6092 pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
6093 compiler_flags=-v
6094 linker_flags=-v
6095 verstring=
6096 output_objdir=.
6097 libname=conftest
6098 lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
6099 _LT_TAGVAR(allow_undefined_flag, $1)=
6100 if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
6101 then
6102 lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no
6103 else
6104 lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes
6105 fi
6106 _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
6107 else
6108 cat conftest.err 1>&5
6109 fi
6110 $RM conftest*
6111 ])
6112 _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)
6113 ;;
6114 esac
6115 fi
6116 ;;
6117 esac
6118
6119 _LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0],
6120 [Whether or not to add -lc for building shared libraries])
6121 _LT_TAGDECL([allow_libtool_libs_with_static_runtimes],
6122 [enable_shared_with_static_runtimes], [0],
6123 [Whether or not to disallow shared libs when runtime libs are static])
6124 _LT_TAGDECL([], [export_dynamic_flag_spec], [1],
6125 [Compiler flag to allow reflexive dlopens])
6126 _LT_TAGDECL([], [whole_archive_flag_spec], [1],
6127 [Compiler flag to generate shared objects directly from archives])
6128 _LT_TAGDECL([], [compiler_needs_object], [1],
6129 [Whether the compiler copes with passing no objects directly])
6130 _LT_TAGDECL([], [old_archive_from_new_cmds], [2],
6131 [Create an old-style archive from a shared archive])
6132 _LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2],
6133 [Create a temporary old-style archive to link instead of a shared archive])
6134 _LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive])
6135 _LT_TAGDECL([], [archive_expsym_cmds], [2])
6136 _LT_TAGDECL([], [module_cmds], [2],
6137 [Commands used to build a loadable module if different from building
6138 a shared archive.])
6139 _LT_TAGDECL([], [module_expsym_cmds], [2])
6140 _LT_TAGDECL([], [with_gnu_ld], [1],
6141 [Whether we are building with GNU ld or not])
6142 _LT_TAGDECL([], [allow_undefined_flag], [1],
6143 [Flag that allows shared libraries with undefined symbols to be built])
6144 _LT_TAGDECL([], [no_undefined_flag], [1],
6145 [Flag that enforces no undefined symbols])
6146 _LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
6147 [Flag to hardcode $libdir into a binary during linking.
6148 This must work even if $libdir does not exist])
6149 _LT_TAGDECL([], [hardcode_libdir_separator], [1],
6150 [Whether we need a single "-rpath" flag with a separated argument])
6151 _LT_TAGDECL([], [hardcode_direct], [0],
6152 [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes
6153 DIR into the resulting binary])
6154 _LT_TAGDECL([], [hardcode_direct_absolute], [0],
6155 [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes
6156 DIR into the resulting binary and the resulting library dependency is
6157 "absolute", i.e impossible to change by setting $shlibpath_var if the
6158 library is relocated])
6159 _LT_TAGDECL([], [hardcode_minus_L], [0],
6160 [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
6161 into the resulting binary])
6162 _LT_TAGDECL([], [hardcode_shlibpath_var], [0],
6163 [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
6164 into the resulting binary])
6165 _LT_TAGDECL([], [hardcode_automatic], [0],
6166 [Set to "yes" if building a shared library automatically hardcodes DIR
6167 into the library and all subsequent libraries and executables linked
6168 against it])
6169 _LT_TAGDECL([], [inherit_rpath], [0],
6170 [Set to yes if linker adds runtime paths of dependent libraries
6171 to runtime path list])
6172 _LT_TAGDECL([], [link_all_deplibs], [0],
6173 [Whether libtool must link a program against all its dependency libraries])
6174 _LT_TAGDECL([], [always_export_symbols], [0],
6175 [Set to "yes" if exported symbols are required])
6176 _LT_TAGDECL([], [export_symbols_cmds], [2],
6177 [The commands to list exported symbols])
6178 _LT_TAGDECL([], [exclude_expsyms], [1],
6179 [Symbols that should not be listed in the preloaded symbols])
6180 _LT_TAGDECL([], [include_expsyms], [1],
6181 [Symbols that must always be exported])
6182 _LT_TAGDECL([], [prelink_cmds], [2],
6183 [Commands necessary for linking programs (against libraries) with templates])
6184 _LT_TAGDECL([], [postlink_cmds], [2],
6185 [Commands necessary for finishing linking programs])
6186 _LT_TAGDECL([], [file_list_spec], [1],
6187 [Specify filename containing input files])
6188 dnl FIXME: Not yet implemented
6189 dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],
6190 dnl [Compiler flag to generate thread safe objects])
6191 ])# _LT_LINKER_SHLIBS
6192
6193
6194 # _LT_LANG_C_CONFIG([TAG])
6195 # ------------------------
6196 # Ensure that the configuration variables for a C compiler are suitably
6197 # defined. These variables are subsequently used by _LT_CONFIG to write
6198 # the compiler configuration to 'libtool'.
6199 m4_defun([_LT_LANG_C_CONFIG],
6200 [m4_require([_LT_DECL_EGREP])dnl
6201 lt_save_CC=$CC
6202 AC_LANG_PUSH(C)
6203
6204 # Source file extension for C test sources.
6205 ac_ext=c
6206
6207 # Object file extension for compiled C test sources.
6208 objext=o
6209 _LT_TAGVAR(objext, $1)=$objext
6210
6211 # Code to be used in simple compile tests
6212 lt_simple_compile_test_code="int some_variable = 0;"
6213
6214 # Code to be used in simple link tests
6215 lt_simple_link_test_code='int main(){return(0);}'
6216
6217 _LT_TAG_COMPILER
6218 # Save the default compiler, since it gets overwritten when the other
6219 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6220 compiler_DEFAULT=$CC
6221
6222 # save warnings/boilerplate of simple test code
6223 _LT_COMPILER_BOILERPLATE
6224 _LT_LINKER_BOILERPLATE
6225
6226 ## CAVEAT EMPTOR:
6227 ## There is no encapsulation within the following macros, do not change
6228 ## the running order or otherwise move them around unless you know exactly
6229 ## what you are doing...
6230 if test -n "$compiler"; then
6231 _LT_COMPILER_NO_RTTI($1)
6232 _LT_COMPILER_PIC($1)
6233 _LT_COMPILER_C_O($1)
6234 _LT_COMPILER_FILE_LOCKS($1)
6235 _LT_LINKER_SHLIBS($1)
6236 _LT_SYS_DYNAMIC_LINKER($1)
6237 _LT_LINKER_HARDCODE_LIBPATH($1)
6238 LT_SYS_DLOPEN_SELF
6239 _LT_CMD_STRIPLIB
6240
6241 # Report what library types will actually be built
6242 AC_MSG_CHECKING([if libtool supports shared libraries])
6243 AC_MSG_RESULT([$can_build_shared])
6244
6245 AC_MSG_CHECKING([whether to build shared libraries])
6246 test no = "$can_build_shared" && enable_shared=no
6247
6248 # On AIX, shared libraries and static libraries use the same namespace, and
6249 # are all built from PIC.
6250 case $host_os in
6251 aix3*)
6252 test yes = "$enable_shared" && enable_static=no
6253 if test -n "$RANLIB"; then
6254 archive_cmds="$archive_cmds~\$RANLIB \$lib"
6255 postinstall_cmds='$RANLIB $lib'
6256 fi
6257 ;;
6258
6259 aix[[4-9]]*)
6260 if test ia64 != "$host_cpu"; then
6261 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
6262 yes,aix,yes) ;; # shared object as lib.so file only
6263 yes,svr4,*) ;; # shared object as lib.so archive member only
6264 yes,*) enable_static=no ;; # shared object in lib.a archive as well
6265 esac
6266 fi
6267 ;;
6268 esac
6269 AC_MSG_RESULT([$enable_shared])
6270
6271 AC_MSG_CHECKING([whether to build static libraries])
6272 # Make sure either enable_shared or enable_static is yes.
6273 test yes = "$enable_shared" || enable_static=yes
6274 AC_MSG_RESULT([$enable_static])
6275
6276 _LT_CONFIG($1)
6277 fi
6278 AC_LANG_POP
6279 CC=$lt_save_CC
6280 ])# _LT_LANG_C_CONFIG
6281
6282
6283 # _LT_LANG_CXX_CONFIG([TAG])
6284 # --------------------------
6285 # Ensure that the configuration variables for a C++ compiler are suitably
6286 # defined. These variables are subsequently used by _LT_CONFIG to write
6287 # the compiler configuration to 'libtool'.
6288 m4_defun([_LT_LANG_CXX_CONFIG],
6289 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
6290 m4_require([_LT_DECL_EGREP])dnl
6291 m4_require([_LT_PATH_MANIFEST_TOOL])dnl
6292 if test -n "$CXX" && ( test no != "$CXX" &&
6293 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
6294 (test g++ != "$CXX"))); then
6295 AC_PROG_CXXCPP
6296 else
6297 _lt_caught_CXX_error=yes
6298 fi
6299
6300 AC_LANG_PUSH(C++)
6301 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
6302 _LT_TAGVAR(allow_undefined_flag, $1)=
6303 _LT_TAGVAR(always_export_symbols, $1)=no
6304 _LT_TAGVAR(archive_expsym_cmds, $1)=
6305 _LT_TAGVAR(compiler_needs_object, $1)=no
6306 _LT_TAGVAR(export_dynamic_flag_spec, $1)=
6307 _LT_TAGVAR(hardcode_direct, $1)=no
6308 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
6309 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
6310 _LT_TAGVAR(hardcode_libdir_separator, $1)=
6311 _LT_TAGVAR(hardcode_minus_L, $1)=no
6312 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
6313 _LT_TAGVAR(hardcode_automatic, $1)=no
6314 _LT_TAGVAR(inherit_rpath, $1)=no
6315 _LT_TAGVAR(module_cmds, $1)=
6316 _LT_TAGVAR(module_expsym_cmds, $1)=
6317 _LT_TAGVAR(link_all_deplibs, $1)=unknown
6318 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
6319 _LT_TAGVAR(reload_flag, $1)=$reload_flag
6320 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
6321 _LT_TAGVAR(no_undefined_flag, $1)=
6322 _LT_TAGVAR(whole_archive_flag_spec, $1)=
6323 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
6324
6325 # Source file extension for C++ test sources.
6326 ac_ext=cpp
6327
6328 # Object file extension for compiled C++ test sources.
6329 objext=o
6330 _LT_TAGVAR(objext, $1)=$objext
6331
6332 # No sense in running all these tests if we already determined that
6333 # the CXX compiler isn't working. Some variables (like enable_shared)
6334 # are currently assumed to apply to all compilers on this platform,
6335 # and will be corrupted by setting them based on a non-working compiler.
6336 if test yes != "$_lt_caught_CXX_error"; then
6337 # Code to be used in simple compile tests
6338 lt_simple_compile_test_code="int some_variable = 0;"
6339
6340 # Code to be used in simple link tests
6341 lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
6342
6343 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
6344 _LT_TAG_COMPILER
6345
6346 # save warnings/boilerplate of simple test code
6347 _LT_COMPILER_BOILERPLATE
6348 _LT_LINKER_BOILERPLATE
6349
6350 # Allow CC to be a program name with arguments.
6351 lt_save_CC=$CC
6352 lt_save_CFLAGS=$CFLAGS
6353 lt_save_LD=$LD
6354 lt_save_GCC=$GCC
6355 GCC=$GXX
6356 lt_save_with_gnu_ld=$with_gnu_ld
6357 lt_save_path_LD=$lt_cv_path_LD
6358 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
6359 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
6360 else
6361 $as_unset lt_cv_prog_gnu_ld
6362 fi
6363 if test -n "${lt_cv_path_LDCXX+set}"; then
6364 lt_cv_path_LD=$lt_cv_path_LDCXX
6365 else
6366 $as_unset lt_cv_path_LD
6367 fi
6368 test -z "${LDCXX+set}" || LD=$LDCXX
6369 CC=${CXX-"c++"}
6370 CFLAGS=$CXXFLAGS
6371 compiler=$CC
6372 _LT_TAGVAR(compiler, $1)=$CC
6373 _LT_CC_BASENAME([$compiler])
6374
6375 if test -n "$compiler"; then
6376 # We don't want -fno-exception when compiling C++ code, so set the
6377 # no_builtin_flag separately
6378 if test yes = "$GXX"; then
6379 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
6380 else
6381 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
6382 fi
6383
6384 if test yes = "$GXX"; then
6385 # Set up default GNU C++ configuration
6386
6387 LT_PATH_LD
6388
6389 # Check if GNU C++ uses GNU ld as the underlying linker, since the
6390 # archiving commands below assume that GNU ld is being used.
6391 if test yes = "$with_gnu_ld"; then
6392 _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
6393 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
6394
6395 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
6396 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
6397
6398 # If archive_cmds runs LD, not CC, wlarc should be empty
6399 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
6400 # investigate it a little bit more. (MM)
6401 wlarc='$wl'
6402
6403 # ancient GNU ld didn't support --whole-archive et. al.
6404 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
6405 $GREP 'no-whole-archive' > /dev/null; then
6406 _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
6407 else
6408 _LT_TAGVAR(whole_archive_flag_spec, $1)=
6409 fi
6410 else
6411 with_gnu_ld=no
6412 wlarc=
6413
6414 # A generic and very simple default shared library creation
6415 # command for GNU C++ for the case where it uses the native
6416 # linker, instead of GNU ld. If possible, this setting should
6417 # overridden to take advantage of the native linker features on
6418 # the platform it is being used on.
6419 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
6420 fi
6421
6422 # Commands to make compiler produce verbose output that lists
6423 # what "hidden" libraries, object files and flags are used when
6424 # linking a shared library.
6425 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
6426
6427 else
6428 GXX=no
6429 with_gnu_ld=no
6430 wlarc=
6431 fi
6432
6433 # PORTME: fill in a description of your system's C++ link characteristics
6434 AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
6435 _LT_TAGVAR(ld_shlibs, $1)=yes
6436 case $host_os in
6437 aix3*)
6438 # FIXME: insert proper C++ library support
6439 _LT_TAGVAR(ld_shlibs, $1)=no
6440 ;;
6441 aix[[4-9]]*)
6442 if test ia64 = "$host_cpu"; then
6443 # On IA64, the linker does run time linking by default, so we don't
6444 # have to do anything special.
6445 aix_use_runtimelinking=no
6446 exp_sym_flag='-Bexport'
6447 no_entry_flag=
6448 else
6449 aix_use_runtimelinking=no
6450
6451 # Test if we are trying to use run time linking or normal
6452 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6453 # have runtime linking enabled, and use it for executables.
6454 # For shared libraries, we enable/disable runtime linking
6455 # depending on the kind of the shared library created -
6456 # when "with_aix_soname,aix_use_runtimelinking" is:
6457 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
6458 # "aix,yes" lib.so shared, rtl:yes, for executables
6459 # lib.a static archive
6460 # "both,no" lib.so.V(shr.o) shared, rtl:yes
6461 # lib.a(lib.so.V) shared, rtl:no, for executables
6462 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
6463 # lib.a(lib.so.V) shared, rtl:no
6464 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
6465 # lib.a static archive
6466 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
6467 for ld_flag in $LDFLAGS; do
6468 case $ld_flag in
6469 *-brtl*)
6470 aix_use_runtimelinking=yes
6471 break
6472 ;;
6473 esac
6474 done
6475 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
6476 # With aix-soname=svr4, we create the lib.so.V shared archives only,
6477 # so we don't have lib.a shared libs to link our executables.
6478 # We have to force runtime linking in this case.
6479 aix_use_runtimelinking=yes
6480 LDFLAGS="$LDFLAGS -Wl,-brtl"
6481 fi
6482 ;;
6483 esac
6484
6485 exp_sym_flag='-bexport'
6486 no_entry_flag='-bnoentry'
6487 fi
6488
6489 # When large executables or shared objects are built, AIX ld can
6490 # have problems creating the table of contents. If linking a library
6491 # or program results in "error TOC overflow" add -mminimal-toc to
6492 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6493 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6494
6495 _LT_TAGVAR(archive_cmds, $1)=''
6496 _LT_TAGVAR(hardcode_direct, $1)=yes
6497 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
6498 _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
6499 _LT_TAGVAR(link_all_deplibs, $1)=yes
6500 _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
6501 case $with_aix_soname,$aix_use_runtimelinking in
6502 aix,*) ;; # no import file
6503 svr4,* | *,yes) # use import file
6504 # The Import File defines what to hardcode.
6505 _LT_TAGVAR(hardcode_direct, $1)=no
6506 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
6507 ;;
6508 esac
6509
6510 if test yes = "$GXX"; then
6511 case $host_os in aix4.[[012]]|aix4.[[012]].*)
6512 # We only want to do this on AIX 4.2 and lower, the check
6513 # below for broken collect2 doesn't work under 4.3+
6514 collect2name=`$CC -print-prog-name=collect2`
6515 if test -f "$collect2name" &&
6516 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
6517 then
6518 # We have reworked collect2
6519 :
6520 else
6521 # We have old collect2
6522 _LT_TAGVAR(hardcode_direct, $1)=unsupported
6523 # It fails to find uninstalled libraries when the uninstalled
6524 # path is not listed in the libpath. Setting hardcode_minus_L
6525 # to unsupported forces relinking
6526 _LT_TAGVAR(hardcode_minus_L, $1)=yes
6527 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6528 _LT_TAGVAR(hardcode_libdir_separator, $1)=
6529 fi
6530 esac
6531 shared_flag='-shared'
6532 if test yes = "$aix_use_runtimelinking"; then
6533 shared_flag=$shared_flag' $wl-G'
6534 fi
6535 # Need to ensure runtime linking is disabled for the traditional
6536 # shared library, or the linker may eventually find shared libraries
6537 # /with/ Import File - we do not want to mix them.
6538 shared_flag_aix='-shared'
6539 shared_flag_svr4='-shared $wl-G'
6540 else
6541 # not using gcc
6542 if test ia64 = "$host_cpu"; then
6543 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6544 # chokes on -Wl,-G. The following line is correct:
6545 shared_flag='-G'
6546 else
6547 if test yes = "$aix_use_runtimelinking"; then
6548 shared_flag='$wl-G'
6549 else
6550 shared_flag='$wl-bM:SRE'
6551 fi
6552 shared_flag_aix='$wl-bM:SRE'
6553 shared_flag_svr4='$wl-G'
6554 fi
6555 fi
6556
6557 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
6558 # It seems that -bexpall does not export symbols beginning with
6559 # underscore (_), so it is better to generate a list of symbols to
6560 # export.
6561 _LT_TAGVAR(always_export_symbols, $1)=yes
6562 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
6563 # Warning - without using the other runtime loading flags (-brtl),
6564 # -berok will link without error, but may produce a broken library.
6565 # The "-G" linker flag allows undefined symbols.
6566 _LT_TAGVAR(no_undefined_flag, $1)='-bernotok'
6567 # Determine the default libpath from the value encoded in an empty
6568 # executable.
6569 _LT_SYS_MODULE_PATH_AIX([$1])
6570 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
6571
6572 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
6573 else
6574 if test ia64 = "$host_cpu"; then
6575 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
6576 _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
6577 _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
6578 else
6579 # Determine the default libpath from the value encoded in an
6580 # empty executable.
6581 _LT_SYS_MODULE_PATH_AIX([$1])
6582 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
6583 # Warning - without using the other run time loading flags,
6584 # -berok will link without error, but may produce a broken library.
6585 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
6586 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
6587 if test yes = "$with_gnu_ld"; then
6588 # We only use this code for GNU lds that support --whole-archive.
6589 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
6590 else
6591 # Exported symbols can be pulled into shared objects from archives
6592 _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
6593 fi
6594 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
6595 _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
6596 # -brtl affects multiple linker settings, -berok does not and is overridden later
6597 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`'
6598 if test svr4 != "$with_aix_soname"; then
6599 # This is similar to how AIX traditionally builds its shared
6600 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
6601 _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
6602 fi
6603 if test aix != "$with_aix_soname"; then
6604 _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
6605 else
6606 # used by -dlpreopen to get the symbols
6607 _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
6608 fi
6609 _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d'
6610 fi
6611 fi
6612 ;;
6613
6614 beos*)
6615 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
6616 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
6617 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6618 # support --undefined. This deserves some investigation. FIXME
6619 _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
6620 else
6621 _LT_TAGVAR(ld_shlibs, $1)=no
6622 fi
6623 ;;
6624
6625 chorus*)
6626 case $cc_basename in
6627 *)
6628 # FIXME: insert proper C++ library support
6629 _LT_TAGVAR(ld_shlibs, $1)=no
6630 ;;
6631 esac
6632 ;;
6633
6634 cygwin* | mingw* | pw32* | cegcc*)
6635 case $GXX,$cc_basename in
6636 ,cl* | no,cl*)
6637 # Native MSVC
6638 # hardcode_libdir_flag_spec is actually meaningless, as there is
6639 # no search path for DLLs.
6640 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
6641 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
6642 _LT_TAGVAR(always_export_symbols, $1)=yes
6643 _LT_TAGVAR(file_list_spec, $1)='@'
6644 # Tell ltmain to make .lib files, not .a files.
6645 libext=lib
6646 # Tell ltmain to make .dll files, not .so files.
6647 shrext_cmds=.dll
6648 # FIXME: Setting linknames here is a bad hack.
6649 _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
6650 _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
6651 cp "$export_symbols" "$output_objdir/$soname.def";
6652 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
6653 else
6654 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
6655 fi~
6656 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
6657 linknames='
6658 # The linker will not automatically build a static lib if we build a DLL.
6659 # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
6660 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
6661 # Don't use ranlib
6662 _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
6663 _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
6664 lt_tool_outputfile="@TOOL_OUTPUT@"~
6665 case $lt_outputfile in
6666 *.exe|*.EXE) ;;
6667 *)
6668 lt_outputfile=$lt_outputfile.exe
6669 lt_tool_outputfile=$lt_tool_outputfile.exe
6670 ;;
6671 esac~
6672 func_to_tool_file "$lt_outputfile"~
6673 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
6674 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
6675 $RM "$lt_outputfile.manifest";
6676 fi'
6677 ;;
6678 *)
6679 # g++
6680 # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
6681 # as there is no search path for DLLs.
6682 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6683 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
6684 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
6685 _LT_TAGVAR(always_export_symbols, $1)=no
6686 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
6687
6688 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
6689 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6690 # If the export-symbols file already is a .def file, use it as
6691 # is; otherwise, prepend EXPORTS...
6692 _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
6693 cp $export_symbols $output_objdir/$soname.def;
6694 else
6695 echo EXPORTS > $output_objdir/$soname.def;
6696 cat $export_symbols >> $output_objdir/$soname.def;
6697 fi~
6698 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6699 else
6700 _LT_TAGVAR(ld_shlibs, $1)=no
6701 fi
6702 ;;
6703 esac
6704 ;;
6705 darwin* | rhapsody*)
6706 _LT_DARWIN_LINKER_FEATURES($1)
6707 ;;
6708
6709 os2*)
6710 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6711 _LT_TAGVAR(hardcode_minus_L, $1)=yes
6712 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
6713 shrext_cmds=.dll
6714 _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
6715 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
6716 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
6717 $ECHO EXPORTS >> $output_objdir/$libname.def~
6718 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
6719 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
6720 emximp -o $lib $output_objdir/$libname.def'
6721 _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
6722 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
6723 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
6724 $ECHO EXPORTS >> $output_objdir/$libname.def~
6725 prefix_cmds="$SED"~
6726 if test EXPORTS = "`$SED 1q $export_symbols`"; then
6727 prefix_cmds="$prefix_cmds -e 1d";
6728 fi~
6729 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
6730 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
6731 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
6732 emximp -o $lib $output_objdir/$libname.def'
6733 _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
6734 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
6735 ;;
6736
6737 dgux*)
6738 case $cc_basename in
6739 ec++*)
6740 # FIXME: insert proper C++ library support
6741 _LT_TAGVAR(ld_shlibs, $1)=no
6742 ;;
6743 ghcx*)
6744 # Green Hills C++ Compiler
6745 # FIXME: insert proper C++ library support
6746 _LT_TAGVAR(ld_shlibs, $1)=no
6747 ;;
6748 *)
6749 # FIXME: insert proper C++ library support
6750 _LT_TAGVAR(ld_shlibs, $1)=no
6751 ;;
6752 esac
6753 ;;
6754
6755 freebsd2.*)
6756 # C++ shared libraries reported to be fairly broken before
6757 # switch to ELF
6758 _LT_TAGVAR(ld_shlibs, $1)=no
6759 ;;
6760
6761 freebsd-elf*)
6762 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
6763 ;;
6764
6765 freebsd* | dragonfly*)
6766 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
6767 # conventions
6768 _LT_TAGVAR(ld_shlibs, $1)=yes
6769 ;;
6770
6771 haiku*)
6772 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
6773 _LT_TAGVAR(link_all_deplibs, $1)=yes
6774 ;;
6775
6776 hpux9*)
6777 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
6778 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
6779 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6780 _LT_TAGVAR(hardcode_direct, $1)=yes
6781 _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
6782 # but as the default
6783 # location of the library.
6784
6785 case $cc_basename in
6786 CC*)
6787 # FIXME: insert proper C++ library support
6788 _LT_TAGVAR(ld_shlibs, $1)=no
6789 ;;
6790 aCC*)
6791 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
6792 # Commands to make compiler produce verbose output that lists
6793 # what "hidden" libraries, object files and flags are used when
6794 # linking a shared library.
6795 #
6796 # There doesn't appear to be a way to prevent this compiler from
6797 # explicitly linking system object files so we need to strip them
6798 # from the output so that they don't get included in the library
6799 # dependencies.
6800 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
6801 ;;
6802 *)
6803 if test yes = "$GXX"; then
6804 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
6805 else
6806 # FIXME: insert proper C++ library support
6807 _LT_TAGVAR(ld_shlibs, $1)=no
6808 fi
6809 ;;
6810 esac
6811 ;;
6812
6813 hpux10*|hpux11*)
6814 if test no = "$with_gnu_ld"; then
6815 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
6816 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
6817
6818 case $host_cpu in
6819 hppa*64*|ia64*)
6820 ;;
6821 *)
6822 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6823 ;;
6824 esac
6825 fi
6826 case $host_cpu in
6827 hppa*64*|ia64*)
6828 _LT_TAGVAR(hardcode_direct, $1)=no
6829 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6830 ;;
6831 *)
6832 _LT_TAGVAR(hardcode_direct, $1)=yes
6833 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
6834 _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
6835 # but as the default
6836 # location of the library.
6837 ;;
6838 esac
6839
6840 case $cc_basename in
6841 CC*)
6842 # FIXME: insert proper C++ library support
6843 _LT_TAGVAR(ld_shlibs, $1)=no
6844 ;;
6845 aCC*)
6846 case $host_cpu in
6847 hppa*64*)
6848 _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6849 ;;
6850 ia64*)
6851 _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6852 ;;
6853 *)
6854 _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6855 ;;
6856 esac
6857 # Commands to make compiler produce verbose output that lists
6858 # what "hidden" libraries, object files and flags are used when
6859 # linking a shared library.
6860 #
6861 # There doesn't appear to be a way to prevent this compiler from
6862 # explicitly linking system object files so we need to strip them
6863 # from the output so that they don't get included in the library
6864 # dependencies.
6865 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
6866 ;;
6867 *)
6868 if test yes = "$GXX"; then
6869 if test no = "$with_gnu_ld"; then
6870 case $host_cpu in
6871 hppa*64*)
6872 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6873 ;;
6874 ia64*)
6875 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6876 ;;
6877 *)
6878 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6879 ;;
6880 esac
6881 fi
6882 else
6883 # FIXME: insert proper C++ library support
6884 _LT_TAGVAR(ld_shlibs, $1)=no
6885 fi
6886 ;;
6887 esac
6888 ;;
6889
6890 interix[[3-9]]*)
6891 _LT_TAGVAR(hardcode_direct, $1)=no
6892 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6893 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
6894 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6895 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
6896 # Instead, shared libraries are loaded at an image base (0x10000000 by
6897 # default) and relocated if they conflict, which is a slow very memory
6898 # consuming and fragmenting process. To avoid this, we pick a random,
6899 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
6900 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
6901 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6902 _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6903 ;;
6904 irix5* | irix6*)
6905 case $cc_basename in
6906 CC*)
6907 # SGI C++
6908 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
6909
6910 # Archives containing C++ object files must be created using
6911 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
6912 # necessary to make sure instantiated templates are included
6913 # in the archive.
6914 _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
6915 ;;
6916 *)
6917 if test yes = "$GXX"; then
6918 if test no = "$with_gnu_ld"; then
6919 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
6920 else
6921 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
6922 fi
6923 fi
6924 _LT_TAGVAR(link_all_deplibs, $1)=yes
6925 ;;
6926 esac
6927 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
6928 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
6929 _LT_TAGVAR(inherit_rpath, $1)=yes
6930 ;;
6931
6932 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6933 case $cc_basename in
6934 KCC*)
6935 # Kuck and Associates, Inc. (KAI) C++ Compiler
6936
6937 # KCC will only create a shared library if the output file
6938 # ends with ".so" (or ".sl" for HP-UX), so rename the library
6939 # to its proper name (with version) after linking.
6940 _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
6941 _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
6942 # Commands to make compiler produce verbose output that lists
6943 # what "hidden" libraries, object files and flags are used when
6944 # linking a shared library.
6945 #
6946 # There doesn't appear to be a way to prevent this compiler from
6947 # explicitly linking system object files so we need to strip them
6948 # from the output so that they don't get included in the library
6949 # dependencies.
6950 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
6951
6952 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
6953 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
6954
6955 # Archives containing C++ object files must be created using
6956 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
6957 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
6958 ;;
6959 icpc* | ecpc* )
6960 # Intel C++
6961 with_gnu_ld=yes
6962 # version 8.0 and above of icpc choke on multiply defined symbols
6963 # if we add $predep_objects and $postdep_objects, however 7.1 and
6964 # earlier do not add the objects themselves.
6965 case `$CC -V 2>&1` in
6966 *"Version 7."*)
6967 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
6968 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
6969 ;;
6970 *) # Version 8.0 or newer
6971 tmp_idyn=
6972 case $host_cpu in
6973 ia64*) tmp_idyn=' -i_dynamic';;
6974 esac
6975 _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
6976 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
6977 ;;
6978 esac
6979 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
6980 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
6981 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
6982 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
6983 ;;
6984 pgCC* | pgcpp*)
6985 # Portland Group C++ compiler
6986 case `$CC -V` in
6987 *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
6988 _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
6989 rm -rf $tpldir~
6990 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
6991 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
6992 _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
6993 rm -rf $tpldir~
6994 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
6995 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
6996 $RANLIB $oldlib'
6997 _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
6998 rm -rf $tpldir~
6999 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
7000 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
7001 _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
7002 rm -rf $tpldir~
7003 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
7004 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
7005 ;;
7006 *) # Version 6 and above use weak symbols
7007 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
7008 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
7009 ;;
7010 esac
7011
7012 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl--rpath $wl$libdir'
7013 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7014 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
7015 ;;
7016 cxx*)
7017 # Compaq C++
7018 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
7019 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols'
7020
7021 runpath_var=LD_RUN_PATH
7022 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
7023 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
7024
7025 # Commands to make compiler produce verbose output that lists
7026 # what "hidden" libraries, object files and flags are used when
7027 # linking a shared library.
7028 #
7029 # There doesn't appear to be a way to prevent this compiler from
7030 # explicitly linking system object files so we need to strip them
7031 # from the output so that they don't get included in the library
7032 # dependencies.
7033 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
7034 ;;
7035 xl* | mpixl* | bgxl*)
7036 # IBM XL 8.0 on PPC, with GNU ld
7037 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7038 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7039 _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
7040 if test yes = "$supports_anon_versioning"; then
7041 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
7042 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7043 echo "local: *; };" >> $output_objdir/$libname.ver~
7044 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
7045 fi
7046 ;;
7047 *)
7048 case `$CC -V 2>&1 | sed 5q` in
7049 *Sun\ C*)
7050 # Sun C++ 5.9
7051 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
7052 _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
7053 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
7054 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7055 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
7056 _LT_TAGVAR(compiler_needs_object, $1)=yes
7057
7058 # Not sure whether something based on
7059 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
7060 # would be better.
7061 output_verbose_link_cmd='func_echo_all'
7062
7063 # Archives containing C++ object files must be created using
7064 # "CC -xar", where "CC" is the Sun C++ compiler. This is
7065 # necessary to make sure instantiated templates are included
7066 # in the archive.
7067 _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
7068 ;;
7069 esac
7070 ;;
7071 esac
7072 ;;
7073
7074 lynxos*)
7075 # FIXME: insert proper C++ library support
7076 _LT_TAGVAR(ld_shlibs, $1)=no
7077 ;;
7078
7079 m88k*)
7080 # FIXME: insert proper C++ library support
7081 _LT_TAGVAR(ld_shlibs, $1)=no
7082 ;;
7083
7084 mvs*)
7085 case $cc_basename in
7086 cxx*)
7087 # FIXME: insert proper C++ library support
7088 _LT_TAGVAR(ld_shlibs, $1)=no
7089 ;;
7090 *)
7091 # FIXME: insert proper C++ library support
7092 _LT_TAGVAR(ld_shlibs, $1)=no
7093 ;;
7094 esac
7095 ;;
7096
7097 netbsd*)
7098 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7099 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
7100 wlarc=
7101 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7102 _LT_TAGVAR(hardcode_direct, $1)=yes
7103 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
7104 fi
7105 # Workaround some broken pre-1.5 toolchains
7106 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
7107 ;;
7108
7109 *nto* | *qnx*)
7110 _LT_TAGVAR(ld_shlibs, $1)=yes
7111 ;;
7112
7113 openbsd* | bitrig*)
7114 if test -f /usr/libexec/ld.so; then
7115 _LT_TAGVAR(hardcode_direct, $1)=yes
7116 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
7117 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
7118 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
7119 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7120 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
7121 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
7122 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
7123 _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
7124 fi
7125 output_verbose_link_cmd=func_echo_all
7126 else
7127 _LT_TAGVAR(ld_shlibs, $1)=no
7128 fi
7129 ;;
7130
7131 osf3* | osf4* | osf5*)
7132 case $cc_basename in
7133 KCC*)
7134 # Kuck and Associates, Inc. (KAI) C++ Compiler
7135
7136 # KCC will only create a shared library if the output file
7137 # ends with ".so" (or ".sl" for HP-UX), so rename the library
7138 # to its proper name (with version) after linking.
7139 _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
7140
7141 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7142 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
7143
7144 # Archives containing C++ object files must be created using
7145 # the KAI C++ compiler.
7146 case $host in
7147 osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
7148 *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
7149 esac
7150 ;;
7151 RCC*)
7152 # Rational C++ 2.4.1
7153 # FIXME: insert proper C++ library support
7154 _LT_TAGVAR(ld_shlibs, $1)=no
7155 ;;
7156 cxx*)
7157 case $host in
7158 osf3*)
7159 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
7160 _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
7161 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7162 ;;
7163 *)
7164 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
7165 _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
7166 _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
7167 echo "-hidden">> $lib.exp~
7168 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
7169 $RM $lib.exp'
7170 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
7171 ;;
7172 esac
7173
7174 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
7175
7176 # Commands to make compiler produce verbose output that lists
7177 # what "hidden" libraries, object files and flags are used when
7178 # linking a shared library.
7179 #
7180 # There doesn't appear to be a way to prevent this compiler from
7181 # explicitly linking system object files so we need to strip them
7182 # from the output so that they don't get included in the library
7183 # dependencies.
7184 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
7185 ;;
7186 *)
7187 if test yes,no = "$GXX,$with_gnu_ld"; then
7188 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
7189 case $host in
7190 osf3*)
7191 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
7192 ;;
7193 *)
7194 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
7195 ;;
7196 esac
7197
7198 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7199 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
7200
7201 # Commands to make compiler produce verbose output that lists
7202 # what "hidden" libraries, object files and flags are used when
7203 # linking a shared library.
7204 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
7205
7206 else
7207 # FIXME: insert proper C++ library support
7208 _LT_TAGVAR(ld_shlibs, $1)=no
7209 fi
7210 ;;
7211 esac
7212 ;;
7213
7214 psos*)
7215 # FIXME: insert proper C++ library support
7216 _LT_TAGVAR(ld_shlibs, $1)=no
7217 ;;
7218
7219 sunos4*)
7220 case $cc_basename in
7221 CC*)
7222 # Sun C++ 4.x
7223 # FIXME: insert proper C++ library support
7224 _LT_TAGVAR(ld_shlibs, $1)=no
7225 ;;
7226 lcc*)
7227 # Lucid
7228 # FIXME: insert proper C++ library support
7229 _LT_TAGVAR(ld_shlibs, $1)=no
7230 ;;
7231 *)
7232 # FIXME: insert proper C++ library support
7233 _LT_TAGVAR(ld_shlibs, $1)=no
7234 ;;
7235 esac
7236 ;;
7237
7238 solaris*)
7239 case $cc_basename in
7240 CC* | sunCC*)
7241 # Sun C++ 4.2, 5.x and Centerline C++
7242 _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
7243 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
7244 _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
7245 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7246 $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
7247
7248 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7249 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
7250 case $host_os in
7251 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
7252 *)
7253 # The compiler driver will combine and reorder linker options,
7254 # but understands '-z linker_flag'.
7255 # Supported since Solaris 2.6 (maybe 2.5.1?)
7256 _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
7257 ;;
7258 esac
7259 _LT_TAGVAR(link_all_deplibs, $1)=yes
7260
7261 output_verbose_link_cmd='func_echo_all'
7262
7263 # Archives containing C++ object files must be created using
7264 # "CC -xar", where "CC" is the Sun C++ compiler. This is
7265 # necessary to make sure instantiated templates are included
7266 # in the archive.
7267 _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
7268 ;;
7269 gcx*)
7270 # Green Hills C++ Compiler
7271 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
7272
7273 # The C++ compiler must be used to create the archive.
7274 _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
7275 ;;
7276 *)
7277 # GNU C++ compiler with Solaris linker
7278 if test yes,no = "$GXX,$with_gnu_ld"; then
7279 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs'
7280 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
7281 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
7282 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7283 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
7284
7285 # Commands to make compiler produce verbose output that lists
7286 # what "hidden" libraries, object files and flags are used when
7287 # linking a shared library.
7288 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
7289 else
7290 # g++ 2.7 appears to require '-G' NOT '-shared' on this
7291 # platform.
7292 _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
7293 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7294 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
7295
7296 # Commands to make compiler produce verbose output that lists
7297 # what "hidden" libraries, object files and flags are used when
7298 # linking a shared library.
7299 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
7300 fi
7301
7302 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir'
7303 case $host_os in
7304 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
7305 *)
7306 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
7307 ;;
7308 esac
7309 fi
7310 ;;
7311 esac
7312 ;;
7313
7314 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
7315 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
7316 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
7317 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
7318 runpath_var='LD_RUN_PATH'
7319
7320 case $cc_basename in
7321 CC*)
7322 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7323 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7324 ;;
7325 *)
7326 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7327 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7328 ;;
7329 esac
7330 ;;
7331
7332 sysv5* | sco3.2v5* | sco5v6*)
7333 # Note: We CANNOT use -z defs as we might desire, because we do not
7334 # link with -lc, and that would cause any symbols used from libc to
7335 # always be unresolved, which means just about no library would
7336 # ever link correctly. If we're not using GNU ld we use -z text
7337 # though, which does catch some bad symbols but isn't as heavy-handed
7338 # as -z defs.
7339 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
7340 _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
7341 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
7342 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
7343 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
7344 _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
7345 _LT_TAGVAR(link_all_deplibs, $1)=yes
7346 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
7347 runpath_var='LD_RUN_PATH'
7348
7349 case $cc_basename in
7350 CC*)
7351 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7352 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7353 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
7354 '"$_LT_TAGVAR(old_archive_cmds, $1)"
7355 _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
7356 '"$_LT_TAGVAR(reload_cmds, $1)"
7357 ;;
7358 *)
7359 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7360 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7361 ;;
7362 esac
7363 ;;
7364
7365 tandem*)
7366 case $cc_basename in
7367 NCC*)
7368 # NonStop-UX NCC 3.20
7369 # FIXME: insert proper C++ library support
7370 _LT_TAGVAR(ld_shlibs, $1)=no
7371 ;;
7372 *)
7373 # FIXME: insert proper C++ library support
7374 _LT_TAGVAR(ld_shlibs, $1)=no
7375 ;;
7376 esac
7377 ;;
7378
7379 vxworks*)
7380 # FIXME: insert proper C++ library support
7381 _LT_TAGVAR(ld_shlibs, $1)=no
7382 ;;
7383
7384 *)
7385 # FIXME: insert proper C++ library support
7386 _LT_TAGVAR(ld_shlibs, $1)=no
7387 ;;
7388 esac
7389
7390 AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
7391 test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no
7392
7393 _LT_TAGVAR(GCC, $1)=$GXX
7394 _LT_TAGVAR(LD, $1)=$LD
7395
7396 ## CAVEAT EMPTOR:
7397 ## There is no encapsulation within the following macros, do not change
7398 ## the running order or otherwise move them around unless you know exactly
7399 ## what you are doing...
7400 _LT_SYS_HIDDEN_LIBDEPS($1)
7401 _LT_COMPILER_PIC($1)
7402 _LT_COMPILER_C_O($1)
7403 _LT_COMPILER_FILE_LOCKS($1)
7404 _LT_LINKER_SHLIBS($1)
7405 _LT_SYS_DYNAMIC_LINKER($1)
7406 _LT_LINKER_HARDCODE_LIBPATH($1)
7407
7408 _LT_CONFIG($1)
7409 fi # test -n "$compiler"
7410
7411 CC=$lt_save_CC
7412 CFLAGS=$lt_save_CFLAGS
7413 LDCXX=$LD
7414 LD=$lt_save_LD
7415 GCC=$lt_save_GCC
7416 with_gnu_ld=$lt_save_with_gnu_ld
7417 lt_cv_path_LDCXX=$lt_cv_path_LD
7418 lt_cv_path_LD=$lt_save_path_LD
7419 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
7420 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
7421 fi # test yes != "$_lt_caught_CXX_error"
7422
7423 AC_LANG_POP
7424 ])# _LT_LANG_CXX_CONFIG
7425
7426
7427 # _LT_FUNC_STRIPNAME_CNF
7428 # ----------------------
7429 # func_stripname_cnf prefix suffix name
7430 # strip PREFIX and SUFFIX off of NAME.
7431 # PREFIX and SUFFIX must not contain globbing or regex special
7432 # characters, hashes, percent signs, but SUFFIX may contain a leading
7433 # dot (in which case that matches only a dot).
7434 #
7435 # This function is identical to the (non-XSI) version of func_stripname,
7436 # except this one can be used by m4 code that may be executed by configure,
7437 # rather than the libtool script.
7438 m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl
7439 AC_REQUIRE([_LT_DECL_SED])
7440 AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])
7441 func_stripname_cnf ()
7442 {
7443 case @S|@2 in
7444 .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;;
7445 *) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;;
7446 esac
7447 } # func_stripname_cnf
7448 ])# _LT_FUNC_STRIPNAME_CNF
7449
7450
7451 # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
7452 # ---------------------------------
7453 # Figure out "hidden" library dependencies from verbose
7454 # compiler output when linking a shared library.
7455 # Parse the compiler output and extract the necessary
7456 # objects, libraries and library flags.
7457 m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
7458 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
7459 AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl
7460 # Dependencies to place before and after the object being linked:
7461 _LT_TAGVAR(predep_objects, $1)=
7462 _LT_TAGVAR(postdep_objects, $1)=
7463 _LT_TAGVAR(predeps, $1)=
7464 _LT_TAGVAR(postdeps, $1)=
7465 _LT_TAGVAR(compiler_lib_search_path, $1)=
7466
7467 dnl we can't use the lt_simple_compile_test_code here,
7468 dnl because it contains code intended for an executable,
7469 dnl not a library. It's possible we should let each
7470 dnl tag define a new lt_????_link_test_code variable,
7471 dnl but it's only used here...
7472 m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
7473 int a;
7474 void foo (void) { a = 0; }
7475 _LT_EOF
7476 ], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
7477 class Foo
7478 {
7479 public:
7480 Foo (void) { a = 0; }
7481 private:
7482 int a;
7483 };
7484 _LT_EOF
7485 ], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
7486 subroutine foo
7487 implicit none
7488 integer*4 a
7489 a=0
7490 return
7491 end
7492 _LT_EOF
7493 ], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
7494 subroutine foo
7495 implicit none
7496 integer a
7497 a=0
7498 return
7499 end
7500 _LT_EOF
7501 ], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
7502 public class foo {
7503 private int a;
7504 public void bar (void) {
7505 a = 0;
7506 }
7507 };
7508 _LT_EOF
7509 ], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF
7510 package foo
7511 func foo() {
7512 }
7513 _LT_EOF
7514 ])
7515
7516 _lt_libdeps_save_CFLAGS=$CFLAGS
7517 case "$CC $CFLAGS " in #(
7518 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
7519 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
7520 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
7521 esac
7522
7523 dnl Parse the compiler output and extract the necessary
7524 dnl objects, libraries and library flags.
7525 if AC_TRY_EVAL(ac_compile); then
7526 # Parse the compiler output and extract the necessary
7527 # objects, libraries and library flags.
7528
7529 # Sentinel used to keep track of whether or not we are before
7530 # the conftest object file.
7531 pre_test_object_deps_done=no
7532
7533 for p in `eval "$output_verbose_link_cmd"`; do
7534 case $prev$p in
7535
7536 -L* | -R* | -l*)
7537 # Some compilers place space between "-{L,R}" and the path.
7538 # Remove the space.
7539 if test x-L = "$p" ||
7540 test x-R = "$p"; then
7541 prev=$p
7542 continue
7543 fi
7544
7545 # Expand the sysroot to ease extracting the directories later.
7546 if test -z "$prev"; then
7547 case $p in
7548 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
7549 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
7550 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
7551 esac
7552 fi
7553 case $p in
7554 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
7555 esac
7556 if test no = "$pre_test_object_deps_done"; then
7557 case $prev in
7558 -L | -R)
7559 # Internal compiler library paths should come after those
7560 # provided the user. The postdeps already come after the
7561 # user supplied libs so there is no need to process them.
7562 if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
7563 _LT_TAGVAR(compiler_lib_search_path, $1)=$prev$p
7564 else
7565 _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} $prev$p"
7566 fi
7567 ;;
7568 # The "-l" case would never come before the object being
7569 # linked, so don't bother handling this case.
7570 esac
7571 else
7572 if test -z "$_LT_TAGVAR(postdeps, $1)"; then
7573 _LT_TAGVAR(postdeps, $1)=$prev$p
7574 else
7575 _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} $prev$p"
7576 fi
7577 fi
7578 prev=
7579 ;;
7580
7581 *.lto.$objext) ;; # Ignore GCC LTO objects
7582 *.$objext)
7583 # This assumes that the test object file only shows up
7584 # once in the compiler output.
7585 if test "$p" = "conftest.$objext"; then
7586 pre_test_object_deps_done=yes
7587 continue
7588 fi
7589
7590 if test no = "$pre_test_object_deps_done"; then
7591 if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
7592 _LT_TAGVAR(predep_objects, $1)=$p
7593 else
7594 _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
7595 fi
7596 else
7597 if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
7598 _LT_TAGVAR(postdep_objects, $1)=$p
7599 else
7600 _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
7601 fi
7602 fi
7603 ;;
7604
7605 *) ;; # Ignore the rest.
7606
7607 esac
7608 done
7609
7610 # Clean up.
7611 rm -f a.out a.exe
7612 else
7613 echo "libtool.m4: error: problem compiling $1 test program"
7614 fi
7615
7616 $RM -f confest.$objext
7617 CFLAGS=$_lt_libdeps_save_CFLAGS
7618
7619 # PORTME: override above test on systems where it is broken
7620 m4_if([$1], [CXX],
7621 [case $host_os in
7622 interix[[3-9]]*)
7623 # Interix 3.5 installs completely hosed .la files for C++, so rather than
7624 # hack all around it, let's just trust "g++" to DTRT.
7625 _LT_TAGVAR(predep_objects,$1)=
7626 _LT_TAGVAR(postdep_objects,$1)=
7627 _LT_TAGVAR(postdeps,$1)=
7628 ;;
7629 esac
7630 ])
7631
7632 case " $_LT_TAGVAR(postdeps, $1) " in
7633 *" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
7634 esac
7635 _LT_TAGVAR(compiler_lib_search_dirs, $1)=
7636 if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
7637 _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | $SED -e 's! -L! !g' -e 's!^ !!'`
7638 fi
7639 _LT_TAGDECL([], [compiler_lib_search_dirs], [1],
7640 [The directories searched by this compiler when creating a shared library])
7641 _LT_TAGDECL([], [predep_objects], [1],
7642 [Dependencies to place before and after the objects being linked to
7643 create a shared library])
7644 _LT_TAGDECL([], [postdep_objects], [1])
7645 _LT_TAGDECL([], [predeps], [1])
7646 _LT_TAGDECL([], [postdeps], [1])
7647 _LT_TAGDECL([], [compiler_lib_search_path], [1],
7648 [The library search path used internally by the compiler when linking
7649 a shared library])
7650 ])# _LT_SYS_HIDDEN_LIBDEPS
7651
7652
7653 # _LT_LANG_F77_CONFIG([TAG])
7654 # --------------------------
7655 # Ensure that the configuration variables for a Fortran 77 compiler are
7656 # suitably defined. These variables are subsequently used by _LT_CONFIG
7657 # to write the compiler configuration to 'libtool'.
7658 m4_defun([_LT_LANG_F77_CONFIG],
7659 [AC_LANG_PUSH(Fortran 77)
7660 if test -z "$F77" || test no = "$F77"; then
7661 _lt_disable_F77=yes
7662 fi
7663
7664 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
7665 _LT_TAGVAR(allow_undefined_flag, $1)=
7666 _LT_TAGVAR(always_export_symbols, $1)=no
7667 _LT_TAGVAR(archive_expsym_cmds, $1)=
7668 _LT_TAGVAR(export_dynamic_flag_spec, $1)=
7669 _LT_TAGVAR(hardcode_direct, $1)=no
7670 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
7671 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
7672 _LT_TAGVAR(hardcode_libdir_separator, $1)=
7673 _LT_TAGVAR(hardcode_minus_L, $1)=no
7674 _LT_TAGVAR(hardcode_automatic, $1)=no
7675 _LT_TAGVAR(inherit_rpath, $1)=no
7676 _LT_TAGVAR(module_cmds, $1)=
7677 _LT_TAGVAR(module_expsym_cmds, $1)=
7678 _LT_TAGVAR(link_all_deplibs, $1)=unknown
7679 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
7680 _LT_TAGVAR(reload_flag, $1)=$reload_flag
7681 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
7682 _LT_TAGVAR(no_undefined_flag, $1)=
7683 _LT_TAGVAR(whole_archive_flag_spec, $1)=
7684 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
7685
7686 # Source file extension for f77 test sources.
7687 ac_ext=f
7688
7689 # Object file extension for compiled f77 test sources.
7690 objext=o
7691 _LT_TAGVAR(objext, $1)=$objext
7692
7693 # No sense in running all these tests if we already determined that
7694 # the F77 compiler isn't working. Some variables (like enable_shared)
7695 # are currently assumed to apply to all compilers on this platform,
7696 # and will be corrupted by setting them based on a non-working compiler.
7697 if test yes != "$_lt_disable_F77"; then
7698 # Code to be used in simple compile tests
7699 lt_simple_compile_test_code="\
7700 subroutine t
7701 return
7702 end
7703 "
7704
7705 # Code to be used in simple link tests
7706 lt_simple_link_test_code="\
7707 program t
7708 end
7709 "
7710
7711 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
7712 _LT_TAG_COMPILER
7713
7714 # save warnings/boilerplate of simple test code
7715 _LT_COMPILER_BOILERPLATE
7716 _LT_LINKER_BOILERPLATE
7717
7718 # Allow CC to be a program name with arguments.
7719 lt_save_CC=$CC
7720 lt_save_GCC=$GCC
7721 lt_save_CFLAGS=$CFLAGS
7722 CC=${F77-"f77"}
7723 CFLAGS=$FFLAGS
7724 compiler=$CC
7725 _LT_TAGVAR(compiler, $1)=$CC
7726 _LT_CC_BASENAME([$compiler])
7727 GCC=$G77
7728 if test -n "$compiler"; then
7729 AC_MSG_CHECKING([if libtool supports shared libraries])
7730 AC_MSG_RESULT([$can_build_shared])
7731
7732 AC_MSG_CHECKING([whether to build shared libraries])
7733 test no = "$can_build_shared" && enable_shared=no
7734
7735 # On AIX, shared libraries and static libraries use the same namespace, and
7736 # are all built from PIC.
7737 case $host_os in
7738 aix3*)
7739 test yes = "$enable_shared" && enable_static=no
7740 if test -n "$RANLIB"; then
7741 archive_cmds="$archive_cmds~\$RANLIB \$lib"
7742 postinstall_cmds='$RANLIB $lib'
7743 fi
7744 ;;
7745 aix[[4-9]]*)
7746 if test ia64 != "$host_cpu"; then
7747 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
7748 yes,aix,yes) ;; # shared object as lib.so file only
7749 yes,svr4,*) ;; # shared object as lib.so archive member only
7750 yes,*) enable_static=no ;; # shared object in lib.a archive as well
7751 esac
7752 fi
7753 ;;
7754 esac
7755 AC_MSG_RESULT([$enable_shared])
7756
7757 AC_MSG_CHECKING([whether to build static libraries])
7758 # Make sure either enable_shared or enable_static is yes.
7759 test yes = "$enable_shared" || enable_static=yes
7760 AC_MSG_RESULT([$enable_static])
7761
7762 _LT_TAGVAR(GCC, $1)=$G77
7763 _LT_TAGVAR(LD, $1)=$LD
7764
7765 ## CAVEAT EMPTOR:
7766 ## There is no encapsulation within the following macros, do not change
7767 ## the running order or otherwise move them around unless you know exactly
7768 ## what you are doing...
7769 _LT_COMPILER_PIC($1)
7770 _LT_COMPILER_C_O($1)
7771 _LT_COMPILER_FILE_LOCKS($1)
7772 _LT_LINKER_SHLIBS($1)
7773 _LT_SYS_DYNAMIC_LINKER($1)
7774 _LT_LINKER_HARDCODE_LIBPATH($1)
7775
7776 _LT_CONFIG($1)
7777 fi # test -n "$compiler"
7778
7779 GCC=$lt_save_GCC
7780 CC=$lt_save_CC
7781 CFLAGS=$lt_save_CFLAGS
7782 fi # test yes != "$_lt_disable_F77"
7783
7784 AC_LANG_POP
7785 ])# _LT_LANG_F77_CONFIG
7786
7787
7788 # _LT_LANG_FC_CONFIG([TAG])
7789 # -------------------------
7790 # Ensure that the configuration variables for a Fortran compiler are
7791 # suitably defined. These variables are subsequently used by _LT_CONFIG
7792 # to write the compiler configuration to 'libtool'.
7793 m4_defun([_LT_LANG_FC_CONFIG],
7794 [AC_LANG_PUSH(Fortran)
7795
7796 if test -z "$FC" || test no = "$FC"; then
7797 _lt_disable_FC=yes
7798 fi
7799
7800 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
7801 _LT_TAGVAR(allow_undefined_flag, $1)=
7802 _LT_TAGVAR(always_export_symbols, $1)=no
7803 _LT_TAGVAR(archive_expsym_cmds, $1)=
7804 _LT_TAGVAR(export_dynamic_flag_spec, $1)=
7805 _LT_TAGVAR(hardcode_direct, $1)=no
7806 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
7807 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
7808 _LT_TAGVAR(hardcode_libdir_separator, $1)=
7809 _LT_TAGVAR(hardcode_minus_L, $1)=no
7810 _LT_TAGVAR(hardcode_automatic, $1)=no
7811 _LT_TAGVAR(inherit_rpath, $1)=no
7812 _LT_TAGVAR(module_cmds, $1)=
7813 _LT_TAGVAR(module_expsym_cmds, $1)=
7814 _LT_TAGVAR(link_all_deplibs, $1)=unknown
7815 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
7816 _LT_TAGVAR(reload_flag, $1)=$reload_flag
7817 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
7818 _LT_TAGVAR(no_undefined_flag, $1)=
7819 _LT_TAGVAR(whole_archive_flag_spec, $1)=
7820 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
7821
7822 # Source file extension for fc test sources.
7823 ac_ext=${ac_fc_srcext-f}
7824
7825 # Object file extension for compiled fc test sources.
7826 objext=o
7827 _LT_TAGVAR(objext, $1)=$objext
7828
7829 # No sense in running all these tests if we already determined that
7830 # the FC compiler isn't working. Some variables (like enable_shared)
7831 # are currently assumed to apply to all compilers on this platform,
7832 # and will be corrupted by setting them based on a non-working compiler.
7833 if test yes != "$_lt_disable_FC"; then
7834 # Code to be used in simple compile tests
7835 lt_simple_compile_test_code="\
7836 subroutine t
7837 return
7838 end
7839 "
7840
7841 # Code to be used in simple link tests
7842 lt_simple_link_test_code="\
7843 program t
7844 end
7845 "
7846
7847 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
7848 _LT_TAG_COMPILER
7849
7850 # save warnings/boilerplate of simple test code
7851 _LT_COMPILER_BOILERPLATE
7852 _LT_LINKER_BOILERPLATE
7853
7854 # Allow CC to be a program name with arguments.
7855 lt_save_CC=$CC
7856 lt_save_GCC=$GCC
7857 lt_save_CFLAGS=$CFLAGS
7858 CC=${FC-"f95"}
7859 CFLAGS=$FCFLAGS
7860 compiler=$CC
7861 GCC=$ac_cv_fc_compiler_gnu
7862
7863 _LT_TAGVAR(compiler, $1)=$CC
7864 _LT_CC_BASENAME([$compiler])
7865
7866 if test -n "$compiler"; then
7867 AC_MSG_CHECKING([if libtool supports shared libraries])
7868 AC_MSG_RESULT([$can_build_shared])
7869
7870 AC_MSG_CHECKING([whether to build shared libraries])
7871 test no = "$can_build_shared" && enable_shared=no
7872
7873 # On AIX, shared libraries and static libraries use the same namespace, and
7874 # are all built from PIC.
7875 case $host_os in
7876 aix3*)
7877 test yes = "$enable_shared" && enable_static=no
7878 if test -n "$RANLIB"; then
7879 archive_cmds="$archive_cmds~\$RANLIB \$lib"
7880 postinstall_cmds='$RANLIB $lib'
7881 fi
7882 ;;
7883 aix[[4-9]]*)
7884 if test ia64 != "$host_cpu"; then
7885 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
7886 yes,aix,yes) ;; # shared object as lib.so file only
7887 yes,svr4,*) ;; # shared object as lib.so archive member only
7888 yes,*) enable_static=no ;; # shared object in lib.a archive as well
7889 esac
7890 fi
7891 ;;
7892 esac
7893 AC_MSG_RESULT([$enable_shared])
7894
7895 AC_MSG_CHECKING([whether to build static libraries])
7896 # Make sure either enable_shared or enable_static is yes.
7897 test yes = "$enable_shared" || enable_static=yes
7898 AC_MSG_RESULT([$enable_static])
7899
7900 _LT_TAGVAR(GCC, $1)=$ac_cv_fc_compiler_gnu
7901 _LT_TAGVAR(LD, $1)=$LD
7902
7903 ## CAVEAT EMPTOR:
7904 ## There is no encapsulation within the following macros, do not change
7905 ## the running order or otherwise move them around unless you know exactly
7906 ## what you are doing...
7907 _LT_SYS_HIDDEN_LIBDEPS($1)
7908 _LT_COMPILER_PIC($1)
7909 _LT_COMPILER_C_O($1)
7910 _LT_COMPILER_FILE_LOCKS($1)
7911 _LT_LINKER_SHLIBS($1)
7912 _LT_SYS_DYNAMIC_LINKER($1)
7913 _LT_LINKER_HARDCODE_LIBPATH($1)
7914
7915 _LT_CONFIG($1)
7916 fi # test -n "$compiler"
7917
7918 GCC=$lt_save_GCC
7919 CC=$lt_save_CC
7920 CFLAGS=$lt_save_CFLAGS
7921 fi # test yes != "$_lt_disable_FC"
7922
7923 AC_LANG_POP
7924 ])# _LT_LANG_FC_CONFIG
7925
7926
7927 # _LT_LANG_GCJ_CONFIG([TAG])
7928 # --------------------------
7929 # Ensure that the configuration variables for the GNU Java Compiler compiler
7930 # are suitably defined. These variables are subsequently used by _LT_CONFIG
7931 # to write the compiler configuration to 'libtool'.
7932 m4_defun([_LT_LANG_GCJ_CONFIG],
7933 [AC_REQUIRE([LT_PROG_GCJ])dnl
7934 AC_LANG_SAVE
7935
7936 # Source file extension for Java test sources.
7937 ac_ext=java
7938
7939 # Object file extension for compiled Java test sources.
7940 objext=o
7941 _LT_TAGVAR(objext, $1)=$objext
7942
7943 # Code to be used in simple compile tests
7944 lt_simple_compile_test_code="class foo {}"
7945
7946 # Code to be used in simple link tests
7947 lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
7948
7949 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
7950 _LT_TAG_COMPILER
7951
7952 # save warnings/boilerplate of simple test code
7953 _LT_COMPILER_BOILERPLATE
7954 _LT_LINKER_BOILERPLATE
7955
7956 # Allow CC to be a program name with arguments.
7957 lt_save_CC=$CC
7958 lt_save_CFLAGS=$CFLAGS
7959 lt_save_GCC=$GCC
7960 GCC=yes
7961 CC=${GCJ-"gcj"}
7962 CFLAGS=$GCJFLAGS
7963 compiler=$CC
7964 _LT_TAGVAR(compiler, $1)=$CC
7965 _LT_TAGVAR(LD, $1)=$LD
7966 _LT_CC_BASENAME([$compiler])
7967
7968 # GCJ did not exist at the time GCC didn't implicitly link libc in.
7969 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
7970
7971 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
7972 _LT_TAGVAR(reload_flag, $1)=$reload_flag
7973 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
7974
7975 ## CAVEAT EMPTOR:
7976 ## There is no encapsulation within the following macros, do not change
7977 ## the running order or otherwise move them around unless you know exactly
7978 ## what you are doing...
7979 if test -n "$compiler"; then
7980 _LT_COMPILER_NO_RTTI($1)
7981 _LT_COMPILER_PIC($1)
7982 _LT_COMPILER_C_O($1)
7983 _LT_COMPILER_FILE_LOCKS($1)
7984 _LT_LINKER_SHLIBS($1)
7985 _LT_LINKER_HARDCODE_LIBPATH($1)
7986
7987 _LT_CONFIG($1)
7988 fi
7989
7990 AC_LANG_RESTORE
7991
7992 GCC=$lt_save_GCC
7993 CC=$lt_save_CC
7994 CFLAGS=$lt_save_CFLAGS
7995 ])# _LT_LANG_GCJ_CONFIG
7996
7997
7998 # _LT_LANG_GO_CONFIG([TAG])
7999 # --------------------------
8000 # Ensure that the configuration variables for the GNU Go compiler
8001 # are suitably defined. These variables are subsequently used by _LT_CONFIG
8002 # to write the compiler configuration to 'libtool'.
8003 m4_defun([_LT_LANG_GO_CONFIG],
8004 [AC_REQUIRE([LT_PROG_GO])dnl
8005 AC_LANG_SAVE
8006
8007 # Source file extension for Go test sources.
8008 ac_ext=go
8009
8010 # Object file extension for compiled Go test sources.
8011 objext=o
8012 _LT_TAGVAR(objext, $1)=$objext
8013
8014 # Code to be used in simple compile tests
8015 lt_simple_compile_test_code="package main; func main() { }"
8016
8017 # Code to be used in simple link tests
8018 lt_simple_link_test_code='package main; func main() { }'
8019
8020 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
8021 _LT_TAG_COMPILER
8022
8023 # save warnings/boilerplate of simple test code
8024 _LT_COMPILER_BOILERPLATE
8025 _LT_LINKER_BOILERPLATE
8026
8027 # Allow CC to be a program name with arguments.
8028 lt_save_CC=$CC
8029 lt_save_CFLAGS=$CFLAGS
8030 lt_save_GCC=$GCC
8031 GCC=yes
8032 CC=${GOC-"gccgo"}
8033 CFLAGS=$GOFLAGS
8034 compiler=$CC
8035 _LT_TAGVAR(compiler, $1)=$CC
8036 _LT_TAGVAR(LD, $1)=$LD
8037 _LT_CC_BASENAME([$compiler])
8038
8039 # Go did not exist at the time GCC didn't implicitly link libc in.
8040 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
8041
8042 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
8043 _LT_TAGVAR(reload_flag, $1)=$reload_flag
8044 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
8045
8046 ## CAVEAT EMPTOR:
8047 ## There is no encapsulation within the following macros, do not change
8048 ## the running order or otherwise move them around unless you know exactly
8049 ## what you are doing...
8050 if test -n "$compiler"; then
8051 _LT_COMPILER_NO_RTTI($1)
8052 _LT_COMPILER_PIC($1)
8053 _LT_COMPILER_C_O($1)
8054 _LT_COMPILER_FILE_LOCKS($1)
8055 _LT_LINKER_SHLIBS($1)
8056 _LT_LINKER_HARDCODE_LIBPATH($1)
8057
8058 _LT_CONFIG($1)
8059 fi
8060
8061 AC_LANG_RESTORE
8062
8063 GCC=$lt_save_GCC
8064 CC=$lt_save_CC
8065 CFLAGS=$lt_save_CFLAGS
8066 ])# _LT_LANG_GO_CONFIG
8067
8068
8069 # _LT_LANG_RC_CONFIG([TAG])
8070 # -------------------------
8071 # Ensure that the configuration variables for the Windows resource compiler
8072 # are suitably defined. These variables are subsequently used by _LT_CONFIG
8073 # to write the compiler configuration to 'libtool'.
8074 m4_defun([_LT_LANG_RC_CONFIG],
8075 [AC_REQUIRE([LT_PROG_RC])dnl
8076 AC_LANG_SAVE
8077
8078 # Source file extension for RC test sources.
8079 ac_ext=rc
8080
8081 # Object file extension for compiled RC test sources.
8082 objext=o
8083 _LT_TAGVAR(objext, $1)=$objext
8084
8085 # Code to be used in simple compile tests
8086 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
8087
8088 # Code to be used in simple link tests
8089 lt_simple_link_test_code=$lt_simple_compile_test_code
8090
8091 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
8092 _LT_TAG_COMPILER
8093
8094 # save warnings/boilerplate of simple test code
8095 _LT_COMPILER_BOILERPLATE
8096 _LT_LINKER_BOILERPLATE
8097
8098 # Allow CC to be a program name with arguments.
8099 lt_save_CC=$CC
8100 lt_save_CFLAGS=$CFLAGS
8101 lt_save_GCC=$GCC
8102 GCC=
8103 CC=${RC-"windres"}
8104 CFLAGS=
8105 compiler=$CC
8106 _LT_TAGVAR(compiler, $1)=$CC
8107 _LT_CC_BASENAME([$compiler])
8108 _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
8109
8110 if test -n "$compiler"; then
8111 :
8112 _LT_CONFIG($1)
8113 fi
8114
8115 GCC=$lt_save_GCC
8116 AC_LANG_RESTORE
8117 CC=$lt_save_CC
8118 CFLAGS=$lt_save_CFLAGS
8119 ])# _LT_LANG_RC_CONFIG
8120
8121
8122 # LT_PROG_GCJ
8123 # -----------
8124 AC_DEFUN([LT_PROG_GCJ],
8125 [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
8126 [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
8127 [AC_CHECK_TOOL(GCJ, gcj,)
8128 test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2"
8129 AC_SUBST(GCJFLAGS)])])[]dnl
8130 ])
8131
8132 # Old name:
8133 AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ])
8134 dnl aclocal-1.4 backwards compatibility:
8135 dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
8136
8137
8138 # LT_PROG_GO
8139 # ----------
8140 AC_DEFUN([LT_PROG_GO],
8141 [AC_CHECK_TOOL(GOC, gccgo,)
8142 ])
8143
8144
8145 # LT_PROG_RC
8146 # ----------
8147 AC_DEFUN([LT_PROG_RC],
8148 [AC_CHECK_TOOL(RC, windres,)
8149 ])
8150
8151 # Old name:
8152 AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC])
8153 dnl aclocal-1.4 backwards compatibility:
8154 dnl AC_DEFUN([LT_AC_PROG_RC], [])
8155
8156
8157 # _LT_DECL_EGREP
8158 # --------------
8159 # If we don't have a new enough Autoconf to choose the best grep
8160 # available, choose the one first in the user's PATH.
8161 m4_defun([_LT_DECL_EGREP],
8162 [AC_REQUIRE([AC_PROG_EGREP])dnl
8163 AC_REQUIRE([AC_PROG_FGREP])dnl
8164 test -z "$GREP" && GREP=grep
8165 _LT_DECL([], [GREP], [1], [A grep program that handles long lines])
8166 _LT_DECL([], [EGREP], [1], [An ERE matcher])
8167 _LT_DECL([], [FGREP], [1], [A literal string matcher])
8168 dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
8169 AC_SUBST([GREP])
8170 ])
8171
8172
8173 # _LT_DECL_OBJDUMP
8174 # --------------
8175 # If we don't have a new enough Autoconf to choose the best objdump
8176 # available, choose the one first in the user's PATH.
8177 m4_defun([_LT_DECL_OBJDUMP],
8178 [AC_CHECK_TOOL(OBJDUMP, objdump, false)
8179 test -z "$OBJDUMP" && OBJDUMP=objdump
8180 _LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
8181 AC_SUBST([OBJDUMP])
8182 ])
8183
8184 # _LT_DECL_DLLTOOL
8185 # ----------------
8186 # Ensure DLLTOOL variable is set.
8187 m4_defun([_LT_DECL_DLLTOOL],
8188 [AC_CHECK_TOOL(DLLTOOL, dlltool, false)
8189 test -z "$DLLTOOL" && DLLTOOL=dlltool
8190 _LT_DECL([], [DLLTOOL], [1], [DLL creation program])
8191 AC_SUBST([DLLTOOL])
8192 ])
8193
8194 # _LT_DECL_SED
8195 # ------------
8196 # Check for a fully-functional sed program, that truncates
8197 # as few characters as possible. Prefer GNU sed if found.
8198 m4_defun([_LT_DECL_SED],
8199 [AC_PROG_SED
8200 test -z "$SED" && SED=sed
8201 Xsed="$SED -e 1s/^X//"
8202 _LT_DECL([], [SED], [1], [A sed program that does not truncate output])
8203 _LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
8204 [Sed that helps us avoid accidentally triggering echo(1) options like -n])
8205 ])# _LT_DECL_SED
8206
8207 m4_ifndef([AC_PROG_SED], [
8208 ############################################################
8209 # NOTE: This macro has been submitted for inclusion into #
8210 # GNU Autoconf as AC_PROG_SED. When it is available in #
8211 # a released version of Autoconf we should remove this #
8212 # macro and use it instead. #
8213 ############################################################
8214
8215 m4_defun([AC_PROG_SED],
8216 [AC_MSG_CHECKING([for a sed that does not truncate output])
8217 AC_CACHE_VAL(lt_cv_path_SED,
8218 [# Loop through the user's path and test for sed and gsed.
8219 # Then use that list of sed's as ones to test for truncation.
8220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8221 for as_dir in $PATH
8222 do
8223 IFS=$as_save_IFS
8224 test -z "$as_dir" && as_dir=.
8225 for lt_ac_prog in sed gsed; do
8226 for ac_exec_ext in '' $ac_executable_extensions; do
8227 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
8228 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
8229 fi
8230 done
8231 done
8232 done
8233 IFS=$as_save_IFS
8234 lt_ac_max=0
8235 lt_ac_count=0
8236 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
8237 # along with /bin/sed that truncates output.
8238 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
8239 test ! -f "$lt_ac_sed" && continue
8240 cat /dev/null > conftest.in
8241 lt_ac_count=0
8242 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
8243 # Check for GNU sed and select it if it is found.
8244 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
8245 lt_cv_path_SED=$lt_ac_sed
8246 break
8247 fi
8248 while true; do
8249 cat conftest.in conftest.in >conftest.tmp
8250 mv conftest.tmp conftest.in
8251 cp conftest.in conftest.nl
8252 echo >>conftest.nl
8253 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
8254 cmp -s conftest.out conftest.nl || break
8255 # 10000 chars as input seems more than enough
8256 test 10 -lt "$lt_ac_count" && break
8257 lt_ac_count=`expr $lt_ac_count + 1`
8258 if test "$lt_ac_count" -gt "$lt_ac_max"; then
8259 lt_ac_max=$lt_ac_count
8260 lt_cv_path_SED=$lt_ac_sed
8261 fi
8262 done
8263 done
8264 ])
8265 SED=$lt_cv_path_SED
8266 AC_SUBST([SED])
8267 AC_MSG_RESULT([$SED])
8268 ])#AC_PROG_SED
8269 ])#m4_ifndef
8270
8271 # Old name:
8272 AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED])
8273 dnl aclocal-1.4 backwards compatibility:
8274 dnl AC_DEFUN([LT_AC_PROG_SED], [])
8275
8276
8277 # _LT_CHECK_SHELL_FEATURES
8278 # ------------------------
8279 # Find out whether the shell is Bourne or XSI compatible,
8280 # or has some other useful features.
8281 m4_defun([_LT_CHECK_SHELL_FEATURES],
8282 [if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8283 lt_unset=unset
8284 else
8285 lt_unset=false
8286 fi
8287 _LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl
8288
8289 # test EBCDIC or ASCII
8290 case `echo X|tr X '\101'` in
8291 A) # ASCII based system
8292 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
8293 lt_SP2NL='tr \040 \012'
8294 lt_NL2SP='tr \015\012 \040\040'
8295 ;;
8296 *) # EBCDIC based system
8297 lt_SP2NL='tr \100 \n'
8298 lt_NL2SP='tr \r\n \100\100'
8299 ;;
8300 esac
8301 _LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl
8302 _LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
8303 ])# _LT_CHECK_SHELL_FEATURES
8304
8305
8306 # _LT_PATH_CONVERSION_FUNCTIONS
8307 # -----------------------------
8308 # Determine what file name conversion functions should be used by
8309 # func_to_host_file (and, implicitly, by func_to_host_path). These are needed
8310 # for certain cross-compile configurations and native mingw.
8311 m4_defun([_LT_PATH_CONVERSION_FUNCTIONS],
8312 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
8313 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
8314 AC_MSG_CHECKING([how to convert $build file names to $host format])
8315 AC_CACHE_VAL(lt_cv_to_host_file_cmd,
8316 [case $host in
8317 *-*-mingw* )
8318 case $build in
8319 *-*-mingw* ) # actually msys
8320 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
8321 ;;
8322 *-*-cygwin* )
8323 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
8324 ;;
8325 * ) # otherwise, assume *nix
8326 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
8327 ;;
8328 esac
8329 ;;
8330 *-*-cygwin* )
8331 case $build in
8332 *-*-mingw* ) # actually msys
8333 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
8334 ;;
8335 *-*-cygwin* )
8336 lt_cv_to_host_file_cmd=func_convert_file_noop
8337 ;;
8338 * ) # otherwise, assume *nix
8339 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
8340 ;;
8341 esac
8342 ;;
8343 * ) # unhandled hosts (and "normal" native builds)
8344 lt_cv_to_host_file_cmd=func_convert_file_noop
8345 ;;
8346 esac
8347 ])
8348 to_host_file_cmd=$lt_cv_to_host_file_cmd
8349 AC_MSG_RESULT([$lt_cv_to_host_file_cmd])
8350 _LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd],
8351 [0], [convert $build file names to $host format])dnl
8352
8353 AC_MSG_CHECKING([how to convert $build file names to toolchain format])
8354 AC_CACHE_VAL(lt_cv_to_tool_file_cmd,
8355 [#assume ordinary cross tools, or native build.
8356 lt_cv_to_tool_file_cmd=func_convert_file_noop
8357 case $host in
8358 *-*-mingw* )
8359 case $build in
8360 *-*-mingw* ) # actually msys
8361 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
8362 ;;
8363 esac
8364 ;;
8365 esac
8366 ])
8367 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
8368 AC_MSG_RESULT([$lt_cv_to_tool_file_cmd])
8369 _LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd],
8370 [0], [convert $build files to toolchain format])dnl
8371 ])# _LT_PATH_CONVERSION_FUNCTIONS
+0
-437
m4/ltoptions.m4 less more
0 # Helper functions for option handling. -*- Autoconf -*-
1 #
2 # Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software
3 # Foundation, Inc.
4 # Written by Gary V. Vaughan, 2004
5 #
6 # This file is free software; the Free Software Foundation gives
7 # unlimited permission to copy and/or distribute it, with or without
8 # modifications, as long as this notice is preserved.
9
10 # serial 8 ltoptions.m4
11
12 # This is to help aclocal find these macros, as it can't see m4_define.
13 AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
14
15
16 # _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
17 # ------------------------------------------
18 m4_define([_LT_MANGLE_OPTION],
19 [[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
20
21
22 # _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
23 # ---------------------------------------
24 # Set option OPTION-NAME for macro MACRO-NAME, and if there is a
25 # matching handler defined, dispatch to it. Other OPTION-NAMEs are
26 # saved as a flag.
27 m4_define([_LT_SET_OPTION],
28 [m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
29 m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
30 _LT_MANGLE_DEFUN([$1], [$2]),
31 [m4_warning([Unknown $1 option '$2'])])[]dnl
32 ])
33
34
35 # _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
36 # ------------------------------------------------------------
37 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
38 m4_define([_LT_IF_OPTION],
39 [m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
40
41
42 # _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
43 # -------------------------------------------------------
44 # Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
45 # are set.
46 m4_define([_LT_UNLESS_OPTIONS],
47 [m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
48 [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
49 [m4_define([$0_found])])])[]dnl
50 m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
51 ])[]dnl
52 ])
53
54
55 # _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
56 # ----------------------------------------
57 # OPTION-LIST is a space-separated list of Libtool options associated
58 # with MACRO-NAME. If any OPTION has a matching handler declared with
59 # LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
60 # the unknown option and exit.
61 m4_defun([_LT_SET_OPTIONS],
62 [# Set options
63 m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
64 [_LT_SET_OPTION([$1], _LT_Option)])
65
66 m4_if([$1],[LT_INIT],[
67 dnl
68 dnl Simply set some default values (i.e off) if boolean options were not
69 dnl specified:
70 _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
71 ])
72 _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
73 ])
74 dnl
75 dnl If no reference was made to various pairs of opposing options, then
76 dnl we run the default mode handler for the pair. For example, if neither
77 dnl 'shared' nor 'disable-shared' was passed, we enable building of shared
78 dnl archives by default:
79 _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
80 _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
81 _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
82 _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
83 [_LT_ENABLE_FAST_INSTALL])
84 _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4],
85 [_LT_WITH_AIX_SONAME([aix])])
86 ])
87 ])# _LT_SET_OPTIONS
88
89
90 ## --------------------------------- ##
91 ## Macros to handle LT_INIT options. ##
92 ## --------------------------------- ##
93
94 # _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
95 # -----------------------------------------
96 m4_define([_LT_MANGLE_DEFUN],
97 [[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
98
99
100 # LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
101 # -----------------------------------------------
102 m4_define([LT_OPTION_DEFINE],
103 [m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
104 ])# LT_OPTION_DEFINE
105
106
107 # dlopen
108 # ------
109 LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
110 ])
111
112 AU_DEFUN([AC_LIBTOOL_DLOPEN],
113 [_LT_SET_OPTION([LT_INIT], [dlopen])
114 AC_DIAGNOSE([obsolete],
115 [$0: Remove this warning and the call to _LT_SET_OPTION when you
116 put the 'dlopen' option into LT_INIT's first parameter.])
117 ])
118
119 dnl aclocal-1.4 backwards compatibility:
120 dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
121
122
123 # win32-dll
124 # ---------
125 # Declare package support for building win32 dll's.
126 LT_OPTION_DEFINE([LT_INIT], [win32-dll],
127 [enable_win32_dll=yes
128
129 case $host in
130 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
131 AC_CHECK_TOOL(AS, as, false)
132 AC_CHECK_TOOL(DLLTOOL, dlltool, false)
133 AC_CHECK_TOOL(OBJDUMP, objdump, false)
134 ;;
135 esac
136
137 test -z "$AS" && AS=as
138 _LT_DECL([], [AS], [1], [Assembler program])dnl
139
140 test -z "$DLLTOOL" && DLLTOOL=dlltool
141 _LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
142
143 test -z "$OBJDUMP" && OBJDUMP=objdump
144 _LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
145 ])# win32-dll
146
147 AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
148 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
149 _LT_SET_OPTION([LT_INIT], [win32-dll])
150 AC_DIAGNOSE([obsolete],
151 [$0: Remove this warning and the call to _LT_SET_OPTION when you
152 put the 'win32-dll' option into LT_INIT's first parameter.])
153 ])
154
155 dnl aclocal-1.4 backwards compatibility:
156 dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
157
158
159 # _LT_ENABLE_SHARED([DEFAULT])
160 # ----------------------------
161 # implement the --enable-shared flag, and supports the 'shared' and
162 # 'disable-shared' LT_INIT options.
163 # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
164 m4_define([_LT_ENABLE_SHARED],
165 [m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
166 AC_ARG_ENABLE([shared],
167 [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
168 [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
169 [p=${PACKAGE-default}
170 case $enableval in
171 yes) enable_shared=yes ;;
172 no) enable_shared=no ;;
173 *)
174 enable_shared=no
175 # Look at the argument we got. We use all the common list separators.
176 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
177 for pkg in $enableval; do
178 IFS=$lt_save_ifs
179 if test "X$pkg" = "X$p"; then
180 enable_shared=yes
181 fi
182 done
183 IFS=$lt_save_ifs
184 ;;
185 esac],
186 [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
187
188 _LT_DECL([build_libtool_libs], [enable_shared], [0],
189 [Whether or not to build shared libraries])
190 ])# _LT_ENABLE_SHARED
191
192 LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
193 LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
194
195 # Old names:
196 AC_DEFUN([AC_ENABLE_SHARED],
197 [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
198 ])
199
200 AC_DEFUN([AC_DISABLE_SHARED],
201 [_LT_SET_OPTION([LT_INIT], [disable-shared])
202 ])
203
204 AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
205 AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
206
207 dnl aclocal-1.4 backwards compatibility:
208 dnl AC_DEFUN([AM_ENABLE_SHARED], [])
209 dnl AC_DEFUN([AM_DISABLE_SHARED], [])
210
211
212
213 # _LT_ENABLE_STATIC([DEFAULT])
214 # ----------------------------
215 # implement the --enable-static flag, and support the 'static' and
216 # 'disable-static' LT_INIT options.
217 # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
218 m4_define([_LT_ENABLE_STATIC],
219 [m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
220 AC_ARG_ENABLE([static],
221 [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
222 [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
223 [p=${PACKAGE-default}
224 case $enableval in
225 yes) enable_static=yes ;;
226 no) enable_static=no ;;
227 *)
228 enable_static=no
229 # Look at the argument we got. We use all the common list separators.
230 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
231 for pkg in $enableval; do
232 IFS=$lt_save_ifs
233 if test "X$pkg" = "X$p"; then
234 enable_static=yes
235 fi
236 done
237 IFS=$lt_save_ifs
238 ;;
239 esac],
240 [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
241
242 _LT_DECL([build_old_libs], [enable_static], [0],
243 [Whether or not to build static libraries])
244 ])# _LT_ENABLE_STATIC
245
246 LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
247 LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
248
249 # Old names:
250 AC_DEFUN([AC_ENABLE_STATIC],
251 [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
252 ])
253
254 AC_DEFUN([AC_DISABLE_STATIC],
255 [_LT_SET_OPTION([LT_INIT], [disable-static])
256 ])
257
258 AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
259 AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
260
261 dnl aclocal-1.4 backwards compatibility:
262 dnl AC_DEFUN([AM_ENABLE_STATIC], [])
263 dnl AC_DEFUN([AM_DISABLE_STATIC], [])
264
265
266
267 # _LT_ENABLE_FAST_INSTALL([DEFAULT])
268 # ----------------------------------
269 # implement the --enable-fast-install flag, and support the 'fast-install'
270 # and 'disable-fast-install' LT_INIT options.
271 # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
272 m4_define([_LT_ENABLE_FAST_INSTALL],
273 [m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
274 AC_ARG_ENABLE([fast-install],
275 [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
276 [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
277 [p=${PACKAGE-default}
278 case $enableval in
279 yes) enable_fast_install=yes ;;
280 no) enable_fast_install=no ;;
281 *)
282 enable_fast_install=no
283 # Look at the argument we got. We use all the common list separators.
284 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
285 for pkg in $enableval; do
286 IFS=$lt_save_ifs
287 if test "X$pkg" = "X$p"; then
288 enable_fast_install=yes
289 fi
290 done
291 IFS=$lt_save_ifs
292 ;;
293 esac],
294 [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
295
296 _LT_DECL([fast_install], [enable_fast_install], [0],
297 [Whether or not to optimize for fast installation])dnl
298 ])# _LT_ENABLE_FAST_INSTALL
299
300 LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
301 LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
302
303 # Old names:
304 AU_DEFUN([AC_ENABLE_FAST_INSTALL],
305 [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
306 AC_DIAGNOSE([obsolete],
307 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
308 the 'fast-install' option into LT_INIT's first parameter.])
309 ])
310
311 AU_DEFUN([AC_DISABLE_FAST_INSTALL],
312 [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
313 AC_DIAGNOSE([obsolete],
314 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
315 the 'disable-fast-install' option into LT_INIT's first parameter.])
316 ])
317
318 dnl aclocal-1.4 backwards compatibility:
319 dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
320 dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
321
322
323 # _LT_WITH_AIX_SONAME([DEFAULT])
324 # ----------------------------------
325 # implement the --with-aix-soname flag, and support the `aix-soname=aix'
326 # and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT
327 # is either `aix', `both' or `svr4'. If omitted, it defaults to `aix'.
328 m4_define([_LT_WITH_AIX_SONAME],
329 [m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl
330 shared_archive_member_spec=
331 case $host,$enable_shared in
332 power*-*-aix[[5-9]]*,yes)
333 AC_MSG_CHECKING([which variant of shared library versioning to provide])
334 AC_ARG_WITH([aix-soname],
335 [AS_HELP_STRING([--with-aix-soname=aix|svr4|both],
336 [shared library versioning (aka "SONAME") variant to provide on AIX, @<:@default=]_LT_WITH_AIX_SONAME_DEFAULT[@:>@.])],
337 [case $withval in
338 aix|svr4|both)
339 ;;
340 *)
341 AC_MSG_ERROR([Unknown argument to --with-aix-soname])
342 ;;
343 esac
344 lt_cv_with_aix_soname=$with_aix_soname],
345 [AC_CACHE_VAL([lt_cv_with_aix_soname],
346 [lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT)
347 with_aix_soname=$lt_cv_with_aix_soname])
348 AC_MSG_RESULT([$with_aix_soname])
349 if test aix != "$with_aix_soname"; then
350 # For the AIX way of multilib, we name the shared archive member
351 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
352 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
353 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
354 # the AIX toolchain works better with OBJECT_MODE set (default 32).
355 if test 64 = "${OBJECT_MODE-32}"; then
356 shared_archive_member_spec=shr_64
357 else
358 shared_archive_member_spec=shr
359 fi
360 fi
361 ;;
362 *)
363 with_aix_soname=aix
364 ;;
365 esac
366
367 _LT_DECL([], [shared_archive_member_spec], [0],
368 [Shared archive member basename, for filename based shared library versioning on AIX])dnl
369 ])# _LT_WITH_AIX_SONAME
370
371 LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])])
372 LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])])
373 LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])])
374
375
376 # _LT_WITH_PIC([MODE])
377 # --------------------
378 # implement the --with-pic flag, and support the 'pic-only' and 'no-pic'
379 # LT_INIT options.
380 # MODE is either 'yes' or 'no'. If omitted, it defaults to 'both'.
381 m4_define([_LT_WITH_PIC],
382 [AC_ARG_WITH([pic],
383 [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
384 [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
385 [lt_p=${PACKAGE-default}
386 case $withval in
387 yes|no) pic_mode=$withval ;;
388 *)
389 pic_mode=default
390 # Look at the argument we got. We use all the common list separators.
391 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
392 for lt_pkg in $withval; do
393 IFS=$lt_save_ifs
394 if test "X$lt_pkg" = "X$lt_p"; then
395 pic_mode=yes
396 fi
397 done
398 IFS=$lt_save_ifs
399 ;;
400 esac],
401 [pic_mode=m4_default([$1], [default])])
402
403 _LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
404 ])# _LT_WITH_PIC
405
406 LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
407 LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
408
409 # Old name:
410 AU_DEFUN([AC_LIBTOOL_PICMODE],
411 [_LT_SET_OPTION([LT_INIT], [pic-only])
412 AC_DIAGNOSE([obsolete],
413 [$0: Remove this warning and the call to _LT_SET_OPTION when you
414 put the 'pic-only' option into LT_INIT's first parameter.])
415 ])
416
417 dnl aclocal-1.4 backwards compatibility:
418 dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
419
420 ## ----------------- ##
421 ## LTDL_INIT Options ##
422 ## ----------------- ##
423
424 m4_define([_LTDL_MODE], [])
425 LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
426 [m4_define([_LTDL_MODE], [nonrecursive])])
427 LT_OPTION_DEFINE([LTDL_INIT], [recursive],
428 [m4_define([_LTDL_MODE], [recursive])])
429 LT_OPTION_DEFINE([LTDL_INIT], [subproject],
430 [m4_define([_LTDL_MODE], [subproject])])
431
432 m4_define([_LTDL_TYPE], [])
433 LT_OPTION_DEFINE([LTDL_INIT], [installable],
434 [m4_define([_LTDL_TYPE], [installable])])
435 LT_OPTION_DEFINE([LTDL_INIT], [convenience],
436 [m4_define([_LTDL_TYPE], [convenience])])
+0
-124
m4/ltsugar.m4 less more
0 # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
1 #
2 # Copyright (C) 2004-2005, 2007-2008, 2011-2015 Free Software
3 # Foundation, Inc.
4 # Written by Gary V. Vaughan, 2004
5 #
6 # This file is free software; the Free Software Foundation gives
7 # unlimited permission to copy and/or distribute it, with or without
8 # modifications, as long as this notice is preserved.
9
10 # serial 6 ltsugar.m4
11
12 # This is to help aclocal find these macros, as it can't see m4_define.
13 AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
14
15
16 # lt_join(SEP, ARG1, [ARG2...])
17 # -----------------------------
18 # Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
19 # associated separator.
20 # Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
21 # versions in m4sugar had bugs.
22 m4_define([lt_join],
23 [m4_if([$#], [1], [],
24 [$#], [2], [[$2]],
25 [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
26 m4_define([_lt_join],
27 [m4_if([$#$2], [2], [],
28 [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
29
30
31 # lt_car(LIST)
32 # lt_cdr(LIST)
33 # ------------
34 # Manipulate m4 lists.
35 # These macros are necessary as long as will still need to support
36 # Autoconf-2.59, which quotes differently.
37 m4_define([lt_car], [[$1]])
38 m4_define([lt_cdr],
39 [m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
40 [$#], 1, [],
41 [m4_dquote(m4_shift($@))])])
42 m4_define([lt_unquote], $1)
43
44
45 # lt_append(MACRO-NAME, STRING, [SEPARATOR])
46 # ------------------------------------------
47 # Redefine MACRO-NAME to hold its former content plus 'SEPARATOR''STRING'.
48 # Note that neither SEPARATOR nor STRING are expanded; they are appended
49 # to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
50 # No SEPARATOR is output if MACRO-NAME was previously undefined (different
51 # than defined and empty).
52 #
53 # This macro is needed until we can rely on Autoconf 2.62, since earlier
54 # versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
55 m4_define([lt_append],
56 [m4_define([$1],
57 m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
58
59
60
61 # lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
62 # ----------------------------------------------------------
63 # Produce a SEP delimited list of all paired combinations of elements of
64 # PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
65 # has the form PREFIXmINFIXSUFFIXn.
66 # Needed until we can rely on m4_combine added in Autoconf 2.62.
67 m4_define([lt_combine],
68 [m4_if(m4_eval([$# > 3]), [1],
69 [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
70 [[m4_foreach([_Lt_prefix], [$2],
71 [m4_foreach([_Lt_suffix],
72 ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
73 [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
74
75
76 # lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
77 # -----------------------------------------------------------------------
78 # Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
79 # by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
80 m4_define([lt_if_append_uniq],
81 [m4_ifdef([$1],
82 [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
83 [lt_append([$1], [$2], [$3])$4],
84 [$5])],
85 [lt_append([$1], [$2], [$3])$4])])
86
87
88 # lt_dict_add(DICT, KEY, VALUE)
89 # -----------------------------
90 m4_define([lt_dict_add],
91 [m4_define([$1($2)], [$3])])
92
93
94 # lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
95 # --------------------------------------------
96 m4_define([lt_dict_add_subkey],
97 [m4_define([$1($2:$3)], [$4])])
98
99
100 # lt_dict_fetch(DICT, KEY, [SUBKEY])
101 # ----------------------------------
102 m4_define([lt_dict_fetch],
103 [m4_ifval([$3],
104 m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
105 m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
106
107
108 # lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
109 # -----------------------------------------------------------------
110 m4_define([lt_if_dict_fetch],
111 [m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
112 [$5],
113 [$6])])
114
115
116 # lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
117 # --------------------------------------------------------------
118 m4_define([lt_dict_filter],
119 [m4_if([$5], [], [],
120 [lt_join(m4_quote(m4_default([$4], [[, ]])),
121 lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
122 [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
123 ])
+0
-23
m4/ltversion.m4 less more
0 # ltversion.m4 -- version numbers -*- Autoconf -*-
1 #
2 # Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc.
3 # Written by Scott James Remnant, 2004
4 #
5 # This file is free software; the Free Software Foundation gives
6 # unlimited permission to copy and/or distribute it, with or without
7 # modifications, as long as this notice is preserved.
8
9 # @configure_input@
10
11 # serial 4179 ltversion.m4
12 # This file is part of GNU Libtool
13
14 m4_define([LT_PACKAGE_VERSION], [2.4.6])
15 m4_define([LT_PACKAGE_REVISION], [2.4.6])
16
17 AC_DEFUN([LTVERSION_VERSION],
18 [macro_version='2.4.6'
19 macro_revision='2.4.6'
20 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
21 _LT_DECL(, macro_revision, 0)
22 ])
+0
-99
m4/lt~obsolete.m4 less more
0 # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
1 #
2 # Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software
3 # Foundation, Inc.
4 # Written by Scott James Remnant, 2004.
5 #
6 # This file is free software; the Free Software Foundation gives
7 # unlimited permission to copy and/or distribute it, with or without
8 # modifications, as long as this notice is preserved.
9
10 # serial 5 lt~obsolete.m4
11
12 # These exist entirely to fool aclocal when bootstrapping libtool.
13 #
14 # In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN),
15 # which have later been changed to m4_define as they aren't part of the
16 # exported API, or moved to Autoconf or Automake where they belong.
17 #
18 # The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN
19 # in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
20 # using a macro with the same name in our local m4/libtool.m4 it'll
21 # pull the old libtool.m4 in (it doesn't see our shiny new m4_define
22 # and doesn't know about Autoconf macros at all.)
23 #
24 # So we provide this file, which has a silly filename so it's always
25 # included after everything else. This provides aclocal with the
26 # AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
27 # because those macros already exist, or will be overwritten later.
28 # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
29 #
30 # Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
31 # Yes, that means every name once taken will need to remain here until
32 # we give up compatibility with versions before 1.7, at which point
33 # we need to keep only those names which we still refer to.
34
35 # This is to help aclocal find these macros, as it can't see m4_define.
36 AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
37
38 m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
39 m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])])
40 m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
41 m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])])
42 m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
43 m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])])
44 m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])])
45 m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
46 m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])])
47 m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])])
48 m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])])
49 m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
50 m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
51 m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
52 m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
53 m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
54 m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])])
55 m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
56 m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
57 m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])])
58 m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])])
59 m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
60 m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
61 m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
62 m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
63 m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
64 m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
65 m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
66 m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])])
67 m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])])
68 m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])])
69 m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
70 m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
71 m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])])
72 m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])])
73 m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
74 m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
75 m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])])
76 m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
77 m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
78 m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
79 m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
80 m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
81 m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
82 m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
83 m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
84 m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
85 m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
86 m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
87 m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
88 m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
89 m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
90 m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
91 m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
92 m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
93 m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])])
94 m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
95 m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
96 m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])])
97 m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])])
98 m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])
+0
-215
missing less more
0 #! /bin/sh
1 # Common wrapper for a few potentially missing GNU programs.
2
3 scriptversion=2018-03-07.03; # UTC
4
5 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
6 # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
7
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2, or (at your option)
11 # any later version.
12
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
17
18 # You should have received a copy of the GNU General Public License
19 # along with this program. If not, see <https://www.gnu.org/licenses/>.
20
21 # As a special exception to the GNU General Public License, if you
22 # distribute this file as part of a program that contains a
23 # configuration script generated by Autoconf, you may include it under
24 # the same distribution terms that you use for the rest of that program.
25
26 if test $# -eq 0; then
27 echo 1>&2 "Try '$0 --help' for more information"
28 exit 1
29 fi
30
31 case $1 in
32
33 --is-lightweight)
34 # Used by our autoconf macros to check whether the available missing
35 # script is modern enough.
36 exit 0
37 ;;
38
39 --run)
40 # Back-compat with the calling convention used by older automake.
41 shift
42 ;;
43
44 -h|--h|--he|--hel|--help)
45 echo "\
46 $0 [OPTION]... PROGRAM [ARGUMENT]...
47
48 Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due
49 to PROGRAM being missing or too old.
50
51 Options:
52 -h, --help display this help and exit
53 -v, --version output version information and exit
54
55 Supported PROGRAM values:
56 aclocal autoconf autoheader autom4te automake makeinfo
57 bison yacc flex lex help2man
58
59 Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
60 'g' are ignored when checking the name.
61
62 Send bug reports to <bug-automake@gnu.org>."
63 exit $?
64 ;;
65
66 -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
67 echo "missing $scriptversion (GNU Automake)"
68 exit $?
69 ;;
70
71 -*)
72 echo 1>&2 "$0: unknown '$1' option"
73 echo 1>&2 "Try '$0 --help' for more information"
74 exit 1
75 ;;
76
77 esac
78
79 # Run the given program, remember its exit status.
80 "$@"; st=$?
81
82 # If it succeeded, we are done.
83 test $st -eq 0 && exit 0
84
85 # Also exit now if we it failed (or wasn't found), and '--version' was
86 # passed; such an option is passed most likely to detect whether the
87 # program is present and works.
88 case $2 in --version|--help) exit $st;; esac
89
90 # Exit code 63 means version mismatch. This often happens when the user
91 # tries to use an ancient version of a tool on a file that requires a
92 # minimum version.
93 if test $st -eq 63; then
94 msg="probably too old"
95 elif test $st -eq 127; then
96 # Program was missing.
97 msg="missing on your system"
98 else
99 # Program was found and executed, but failed. Give up.
100 exit $st
101 fi
102
103 perl_URL=https://www.perl.org/
104 flex_URL=https://github.com/westes/flex
105 gnu_software_URL=https://www.gnu.org/software
106
107 program_details ()
108 {
109 case $1 in
110 aclocal|automake)
111 echo "The '$1' program is part of the GNU Automake package:"
112 echo "<$gnu_software_URL/automake>"
113 echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
114 echo "<$gnu_software_URL/autoconf>"
115 echo "<$gnu_software_URL/m4/>"
116 echo "<$perl_URL>"
117 ;;
118 autoconf|autom4te|autoheader)
119 echo "The '$1' program is part of the GNU Autoconf package:"
120 echo "<$gnu_software_URL/autoconf/>"
121 echo "It also requires GNU m4 and Perl in order to run:"
122 echo "<$gnu_software_URL/m4/>"
123 echo "<$perl_URL>"
124 ;;
125 esac
126 }
127
128 give_advice ()
129 {
130 # Normalize program name to check for.
131 normalized_program=`echo "$1" | sed '
132 s/^gnu-//; t
133 s/^gnu//; t
134 s/^g//; t'`
135
136 printf '%s\n' "'$1' is $msg."
137
138 configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
139 case $normalized_program in
140 autoconf*)
141 echo "You should only need it if you modified 'configure.ac',"
142 echo "or m4 files included by it."
143 program_details 'autoconf'
144 ;;
145 autoheader*)
146 echo "You should only need it if you modified 'acconfig.h' or"
147 echo "$configure_deps."
148 program_details 'autoheader'
149 ;;
150 automake*)
151 echo "You should only need it if you modified 'Makefile.am' or"
152 echo "$configure_deps."
153 program_details 'automake'
154 ;;
155 aclocal*)
156 echo "You should only need it if you modified 'acinclude.m4' or"
157 echo "$configure_deps."
158 program_details 'aclocal'
159 ;;
160 autom4te*)
161 echo "You might have modified some maintainer files that require"
162 echo "the 'autom4te' program to be rebuilt."
163 program_details 'autom4te'
164 ;;
165 bison*|yacc*)
166 echo "You should only need it if you modified a '.y' file."
167 echo "You may want to install the GNU Bison package:"
168 echo "<$gnu_software_URL/bison/>"
169 ;;
170 lex*|flex*)
171 echo "You should only need it if you modified a '.l' file."
172 echo "You may want to install the Fast Lexical Analyzer package:"
173 echo "<$flex_URL>"
174 ;;
175 help2man*)
176 echo "You should only need it if you modified a dependency" \
177 "of a man page."
178 echo "You may want to install the GNU Help2man package:"
179 echo "<$gnu_software_URL/help2man/>"
180 ;;
181 makeinfo*)
182 echo "You should only need it if you modified a '.texi' file, or"
183 echo "any other file indirectly affecting the aspect of the manual."
184 echo "You might want to install the Texinfo package:"
185 echo "<$gnu_software_URL/texinfo/>"
186 echo "The spurious makeinfo call might also be the consequence of"
187 echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might"
188 echo "want to install GNU make:"
189 echo "<$gnu_software_URL/make/>"
190 ;;
191 *)
192 echo "You might have modified some files without having the proper"
193 echo "tools for further handling them. Check the 'README' file, it"
194 echo "often tells you about the needed prerequisites for installing"
195 echo "this package. You may also peek at any GNU archive site, in"
196 echo "case some other package contains this missing '$1' program."
197 ;;
198 esac
199 }
200
201 give_advice "$1" | sed -e '1s/^/WARNING: /' \
202 -e '2,$s/^/ /' >&2
203
204 # Propagate the correct exit status (expected to be 127 for a program
205 # not found, 63 for a program that failed due to version mismatch).
206 exit $st
207
208 # Local variables:
209 # eval: (add-hook 'before-save-hook 'time-stamp)
210 # time-stamp-start: "scriptversion="
211 # time-stamp-format: "%:y-%02m-%02d.%02H"
212 # time-stamp-time-zone: "UTC0"
213 # time-stamp-end: "; # UTC"
214 # End:
153153 }
154154
155155
156 void BasicDVIReader::executePreamble () {
157 clearStream();
158 if (isStreamValid()) {
159 seek(0);
160 if (readByte() == OP_PRE) {
161 cmdPre(0);
162 return;
163 }
164 }
165 throw DVIException("invalid DVI file");
166 }
167
168
169 /** Moves stream pointer to begin of postamble */
170 void BasicDVIReader::goToPostamble () {
171 clearStream();
172 if (!isStreamValid())
173 throw DVIException("invalid DVI file");
174
175 seek(-1, ios::end); // stream pointer to last byte
176 int count=0;
177 while (peek() == DVI_FILL) { // skip fill bytes
178 seek(-1, ios::cur);
179 count++;
180 }
181 if (count < 4) // the standard requires at least 4 trailing fill bytes
182 throw DVIException("missing fill bytes at end of file");
183
184 seek(-4, ios::cur); // now at first byte of q (pointer to begin of postamble)
185 uint32_t q = readUnsigned(4); // pointer to begin of postamble
186 seek(q); // now at begin of postamble
187 }
188
189
190 /** Reads and executes the commands of the postamble. */
191 void BasicDVIReader::executePostamble () {
192 goToPostamble();
193 while (executeCommand() != OP_POSTPOST); // executes all commands until post_post (= 249) is reached
194 }
195
196
156197 void BasicDVIReader::executePostPost () {
157198 clearStream(); // reset all status bits
158199 if (!isStreamValid())
168209 throw DVIException("missing fill bytes at end of file");
169210
170211 setDVIVersion((DVIVersion)readUnsigned(1));
212 }
213
214
215 void BasicDVIReader::executeFontDefs () {
216 goToPostamble();
217 seek(1+28, ios::cur); // now on first fontdef or postpost
218 if (peek() != OP_POSTPOST)
219 while (executeCommand() != OP_POSTPOST);
220 }
221
222
223 /** Collects and records the file offsets of all bop commands. */
224 vector<uint32_t> BasicDVIReader::collectBopOffsets () {
225 std::vector<uint32_t> bopOffsets;
226 goToPostamble();
227 bopOffsets.push_back(tell()); // also add offset of postamble
228 readByte(); // skip post command
229 uint32_t offset = readUnsigned(4); // offset of final bop
230 while (int32_t(offset) != -1) { // not yet on first bop?
231 bopOffsets.push_back(offset); // record offset
232 seek(offset); // now on previous bop
233 if (readByte() != OP_BOP)
234 throw DVIException("bop offset at "+to_string(offset)+" doesn't point to bop command" );
235 seek(40, ios::cur); // skip the 10 \count values => now on offset of previous bop
236 uint32_t prevOffset = readUnsigned(4);
237 if ((prevOffset >= offset && int32_t(prevOffset) != -1))
238 throw DVIException("invalid bop offset at "+to_string(tell()-static_cast<streamoff>(4)));
239 offset = prevOffset;
240 }
241 reverse(bopOffsets.begin(), bopOffsets.end());
242 return bopOffsets;
171243 }
172244
173245
5151 public:
5252 explicit BasicDVIReader (std::istream &is);
5353 virtual void executeAllPages ();
54 virtual void executeFontDefs ();
5455 virtual double getXPos () const {return 0;}
5556 virtual double getYPos () const {return 0;}
5657 virtual void finishLine () {}
6566 DVIVersion getDVIVersion () const {return _dviVersion;}
6667 virtual int evalCommand (CommandHandler &handler, int &param);
6768 virtual int executeCommand ();
69 void executePreamble ();
70 void executePostamble ();
6871 void executePostPost ();
72 void goToPostamble ();
73 std::vector<uint32_t> collectBopOffsets ();
6974 bool evalXDVOpcode (int op, CommandHandler &handler) const;
7075
7176 // The following template methods represent the single DVI commands. They
2222 #include "CMap.hpp"
2323 #include "CMapManager.hpp"
2424 #include "FileFinder.hpp"
25 #include "Unicode.hpp"
2526
2627 using namespace std;
2728
3738
3839 //////////////////////////////////////////////////////////////////////
3940
41 void SegmentedCMap::addCIDRange (uint32_t first, uint32_t last, uint32_t cid) {
42 if (uint32_t cp = Unicode::fromSurrogate(first)) // is 'first' a surrogate?
43 first = cp;
44 if (uint32_t cp = Unicode::fromSurrogate(last)) // is 'last' a surrogate?
45 last = cp;
46 _cidranges.addRange(first, last, cid);
47 }
48
49
50 void SegmentedCMap::addBFRange (uint32_t first, uint32_t last, uint32_t chrcode) {
51 if (uint32_t cp = Unicode::fromSurrogate(chrcode)) // is 'chrcode' a surrogate?
52 chrcode = cp;
53 _bfranges.addRange(first, last, chrcode);
54 }
55
56
4057 /** Returns the RO (Registry-Ordering) string of the CMap. */
4158 string SegmentedCMap::getROString() const {
4259 if (_registry.empty() || _ordering.empty())
4360 return "";
4461 return _registry + "-" + _ordering;
62 }
63
64
65 bool SegmentedCMap::mapsToUnicode () const {
66 vector<string> encstrings = {"UTF8", "UTF16", "UCS2", "UCS4", "UCS32"};
67 for (const string &encstr : encstrings) {
68 size_t pos = _filename.find(encstr);
69 if (pos != string::npos && (pos == 0 || _filename[pos-1] == '-'))
70 return true;
71 }
72 return false;
4573 }
4674
4775
7373 uint32_t cid (uint32_t c) const override {return c;}
7474 uint32_t bfcode (uint32_t cid) const override {return cid;}
7575 std::string getROString () const override {return "";}
76 bool mapsToUnicode () const override {return true;}
7677 };
7778
7879
8485 const char* name () const override {return _filename.c_str();}
8586 uint32_t cid (uint32_t c) const override;
8687 uint32_t bfcode (uint32_t cid) const override;
87 void addCIDRange (uint32_t first, uint32_t last, uint32_t cid) {_cidranges.addRange(first, last, cid);}
88 void addBFRange (uint32_t first, uint32_t last, uint32_t chrcode) {_bfranges.addRange(first, last, chrcode);}
88 void addCIDRange (uint32_t first, uint32_t last, uint32_t cid);
89 void addBFRange (uint32_t first, uint32_t last, uint32_t chrcode);
8990 void write (std::ostream &os) const;
9091 bool vertical () const override {return _vertical;}
9192 bool mapsToCID () const override {return _mapsToCID;}
9293 size_t numCIDRanges () const {return _cidranges.numRanges();}
9394 size_t numBFRanges () const {return _bfranges.numRanges();}
9495 std::string getROString () const override;
96 bool mapsToUnicode () const override;
9597
9698 private:
9799 std::string _filename;
98100 std::string _registry;
99101 std::string _ordering;
102 std::string _cmaptype;
100103 CMap *_basemap = nullptr;
101104 bool _vertical = false;
102105 bool _mapsToCID = true; // true: chrcode->CID, false: CID->charcode
113113 else
114114 throw CMapReaderException("invalid WMode (0 or 1 expected)");
115115 }
116 else if (name == "CMapType")
117 _cmap->_cmaptype = val;
116118 else if (name == "Registry")
117119 _cmap->_registry = val;
118120 else if (name == "Ordering")
2525 #include "Font.hpp"
2626 #include "FontManager.hpp"
2727 #include "HashFunction.hpp"
28 #include "JFM.hpp"
2829 #include "utility.hpp"
2930 #include "VectorStream.hpp"
3031
3233
3334 DVIReader::DVIReader (istream &is) : BasicDVIReader(is)
3435 {
35 _inPage = false;
36 _dvi2bp = 0.0;
37 _inPostamble = false;
38 _currFontNum = 0;
39 _currPageNum = 0;
40 _mag = 1;
4136 executePreamble();
42 collectBopOffsets();
43 executePostamble();
44 }
45
46
47 int DVIReader::executeCommand () {
48 int opcode = BasicDVIReader::executeCommand();
49 return opcode;
37 _bopOffsets = collectBopOffsets();
38 // read data from postamble but don't process font definitions
39 goToPostamble();
40 executeCommand();
41 executePostPost();
5042 }
5143
5244
7769 return false;
7870
7971 seek(_bopOffsets[n-1]); // goto bop of n-th page
80 _inPostamble = false; // not in postamble
8172 _currPageNum = n;
8273 while (executeCommand() != OP_EOP);
8374 return true;
84 }
85
86
87 void DVIReader::executePreamble () {
88 clearStream();
89 if (isStreamValid()) {
90 seek(0);
91 if (readByte() == OP_PRE) {
92 cmdPre(0);
93 return;
94 }
95 }
96 throw DVIException("invalid DVI file");
97 }
98
99
100 /** Moves stream pointer to begin of postamble */
101 void DVIReader::goToPostamble () {
102 clearStream();
103 if (!isStreamValid())
104 throw DVIException("invalid DVI file");
105
106 seek(-1, ios::end); // stream pointer to last byte
107 int count=0;
108 while (peek() == DVI_FILL) { // skip fill bytes
109 seek(-1, ios::cur);
110 count++;
111 }
112 if (count < 4) // the standard requires at least 4 trailing fill bytes
113 throw DVIException("missing fill bytes at end of file");
114
115 seek(-4, ios::cur); // now at first byte of q (pointer to begin of postamble)
116 uint32_t q = readUnsigned(4); // pointer to begin of postamble
117 seek(q); // now at begin of postamble
118 }
119
120
121 /** Reads and executes the commands of the postamble. */
122 void DVIReader::executePostamble () {
123 goToPostamble();
124 while (executeCommand() != OP_POSTPOST); // executes all commands until post_post (= 249) is reached
125 }
126
127
128 /** Collects and records the file offsets of all bop commands. */
129 void DVIReader::collectBopOffsets () {
130 goToPostamble();
131 _bopOffsets.push_back(tell()); // also add offset of postamble
132 readByte(); // skip post command
133 uint32_t offset = readUnsigned(4); // offset of final bop
134 while (int32_t(offset) != -1) { // not yet on first bop?
135 _bopOffsets.push_back(offset); // record offset
136 seek(offset); // now on previous bop
137 if (readByte() != OP_BOP)
138 throw DVIException("bop offset at "+to_string(offset)+" doesn't point to bop command" );
139 seek(40, ios::cur); // skip the 10 \count values => now on offset of previous bop
140 uint32_t prevOffset = readUnsigned(4);
141 if ((prevOffset >= offset && int32_t(prevOffset) != -1))
142 throw DVIException("invalid bop offset at "+to_string(tell()-static_cast<streamoff>(4)));
143 offset = prevOffset;
144 }
145 reverse(_bopOffsets.begin(), _bopOffsets.end());
14675 }
14776
14877
211140 // 1 dviunit * num/den == multiples of 0.0000001m
212141 // 1 dviunit * _dvi2bp: length of 1 dviunit in PS points * _mag/1000
213142 _dvi2bp = numer/254000.0*72.0/denom*_mag/1000.0;
214 _inPostamble = true;
215143 dviPost(stackDepth, numPages, pageWidth*_dvi2bp, pageHeight*_dvi2bp, _mag, numer, denom, prevBopOffset);
216144 }
217145
219147 /** Reads and executes DVI post_post command.
220148 * Format: post_post q[4] i[1] 223[>=4] */
221149 void DVIReader::cmdPostPost (int) {
222 _inPostamble = false;
223150 uint32_t postOffset = readUnsigned(4); // pointer to begin of postamble
224151 uint8_t id = readUnsigned(1);
225152 setDVIVersion(DVIVersion(id)); // identification byte
276203 * @param[in] c character to typeset */
277204 void DVIReader::putVFChar (Font *font, uint32_t c) {
278205 if (auto vf = dynamic_cast<VirtualFont*>(font)) { // is current font a virtual font?
279 if (const vector<uint8_t> *dvi = vf->getDVI(c)) { // try to get DVI snippet that represents character c
280 FontManager &fm = FontManager::instance();
206 FontManager &fm = FontManager::instance();
207 const vector<uint8_t> *dvi = vf->getDVI(c); // try to get DVI snippet that represents character c
208 Font *firstFont = fm.vfFirstFont(vf);
209 if (!dvi && (!firstFont || !dynamic_cast<const JFM*>(firstFont->getMetrics())))
210 return;
211 fm.enterVF(vf); // enter VF font number context
212 int savedFontNum = _currFontNum; // save current font number
213 setFont(fm.vfFirstFontNum(vf), SetFontMode::VF_ENTER);
214 if (!dvi) // no definition present for current (Japanese) char?
215 dviPutChar(c, firstFont); // fallback for JFM-based virtual fonts
216 else {
217 // DVI units in virtual fonts are multiples of 1^(-20) times the scaled size of the VF
218 double savedScale = _dvi2bp;
219 _dvi2bp = vf->scaledSize()/(1 << 20);
281220 DVIState savedState = _dviState; // save current cursor position
282221 _dviState.x = _dviState.y = _dviState.w = _dviState.z = 0;
283 int savedFontNum = _currFontNum; // save current font number
284 fm.enterVF(vf); // enter VF font number context
285 setFont(fm.vfFirstFontNum(vf), SetFontMode::VF_ENTER);
286 double savedScale = _dvi2bp;
287 // DVI units in virtual fonts are multiples of 1^(-20) times the scaled size of the VF
288 _dvi2bp = vf->scaledSize()/(1 << 20);
289222 VectorInputStream<uint8_t> vis(*dvi);
290223 istream &is = replaceStream(vis);
291224 try {
294227 catch (const DVIException &e) {
295228 // Message::estream(true) << "invalid dvi in vf: " << e.getMessage() << endl; // @@
296229 }
297 replaceStream(is); // restore previous input stream
298 _dvi2bp = savedScale; // restore previous scale factor
299 fm.leaveVF(); // restore previous font number context
300 setFont(savedFontNum, SetFontMode::VF_LEAVE); // restore previous font number
230 replaceStream(is); // restore previous input stream
301231 _dviState = savedState; // restore previous cursor position
232 _dvi2bp = savedScale; // restore previous scale factor
302233 }
234 fm.leaveVF(); // restore previous font number context
235 setFont(savedFontNum, SetFontMode::VF_LEAVE); // restore previous font number
303236 }
304237 }
305238
5252 explicit DVIReader (std::istream &is);
5353 bool executeDocument ();
5454 void executeAll ();
55 void executePreamble ();
56 void executePostamble ();
5755 bool executePage (unsigned n);
58 bool inPostamble () const {return _inPostamble;}
5956 double getXPos () const override {return _dviState.h;}
6057 double getYPos () const override {return _dviState.v;}
6158 int stackDepth () const override {return _stateStack.size();}
6461 unsigned numberOfPages () const {return _bopOffsets.empty() ? 0 : _bopOffsets.size()-1;}
6562
6663 protected:
67 int executeCommand () override;
68 void collectBopOffsets ();
6964 size_t numberOfPageBytes (int n) const {return _bopOffsets.size() > 1 ? _bopOffsets[n+1]-_bopOffsets[n] : 0;}
7065 bool computePageHash (size_t pageno, HashFunction &hashFunc);
71 void goToPostamble ();
7266 virtual void moveRight (double dx, MoveMode mode);
7367 virtual void moveDown (double dy, MoveMode mode);
7468 void putVFChar (Font *font, uint32_t c);
159153 void cmdXTextAndGlyphs (int len) override;
160154
161155 private:
162 bool _inPage; ///< true if stream pointer is between bop and eop
163 unsigned _currPageNum; ///< current page number (1 is first page)
164 int _currFontNum; ///< current font number
165 double _dvi2bp; ///< factor to convert dvi units to PS points
166 uint32_t _mag; ///< magnification factor * 1000
167 bool _inPostamble; ///< true if stream pointer is inside the postamble
168 DVIState _dviState; ///< current state of the DVI registers
156 bool _inPage=false; ///< true if stream pointer is between bop and eop
157 unsigned _currPageNum=0; ///< current page number (1 is first page)
158 int _currFontNum=0; ///< current font number
159 double _dvi2bp=0.0; ///< factor to convert dvi units to PS points
160 uint32_t _mag=1; ///< magnification factor * 1000
161 DVIState _dviState; ///< current state of the DVI registers
169162 std::stack<DVIState> _stateStack;
170163 std::vector<uint32_t> _bopOffsets;
171164 };
168168 prescan.executeAllPages();
169169 actions->setDVIReader(*this);
170170 SpecialManager::instance().notifyPreprocessingFinished();
171 executeFontDefs();
171172 }
172173
173174 unique_ptr<HashFunction> hashFunc;
0 # Doxyfile 1.8.6
1
2 # This file describes the settings to be used by the documentation system
3 # doxygen (www.doxygen.org) for a project.
4 #
5 # All text after a double hash (##) is considered a comment and is placed in
6 # front of the TAG it is preceding.
7 #
8 # All text after a single hash (#) is considered a comment and will be ignored.
9 # The format is:
10 # TAG = value [value, ...]
11 # For lists, items can also be appended using:
12 # TAG += value [value, ...]
13 # Values that contain spaces should be placed between quotes (\" \").
14
15 #---------------------------------------------------------------------------
16 # Project related configuration options
17 #---------------------------------------------------------------------------
18
19 # This tag specifies the encoding used for all characters in the config file
20 # that follow. The default is UTF-8 which is also the encoding used for all text
21 # before the first occurrence of this tag. Doxygen uses libiconv (or the iconv
22 # built into libc) for the transcoding. See http://www.gnu.org/software/libiconv
23 # for the list of possible encodings.
24 # The default value is: UTF-8.
25
26 DOXYFILE_ENCODING = UTF-8
27
28 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by
29 # double-quotes, unless you are using Doxywizard) that should identify the
30 # project for which the documentation is generated. This name is used in the
31 # title of most generated pages and in a few other places.
32 # The default value is: My Project.
33
34 PROJECT_NAME = dvisvgm
35
36 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This
37 # could be handy for archiving the generated documentation or if some version
38 # control system is used.
39
40 PROJECT_NUMBER = 2.11
41
42 # Using the PROJECT_BRIEF tag one can provide an optional one line description
43 # for a project that appears at the top of each page and should give viewer a
44 # quick idea about the purpose of the project. Keep the description short.
45
46 PROJECT_BRIEF =
47
48 # With the PROJECT_LOGO tag one can specify an logo or icon that is included in
49 # the documentation. The maximum height of the logo should not exceed 55 pixels
50 # and the maximum width should not exceed 200 pixels. Doxygen will copy the logo
51 # to the output directory.
52
53 PROJECT_LOGO =
54
55 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
56 # into which the generated documentation will be written. If a relative path is
57 # entered, it will be relative to the location where doxygen was started. If
58 # left blank the current directory will be used.
59
60 OUTPUT_DIRECTORY = doxy
61
62 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub-
63 # directories (in 2 levels) under the output directory of each output format and
64 # will distribute the generated files over these directories. Enabling this
65 # option can be useful when feeding doxygen a huge amount of source files, where
66 # putting all generated files in the same directory would otherwise causes
67 # performance problems for the file system.
68 # The default value is: NO.
69
70 CREATE_SUBDIRS = NO
71
72 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
73 # documentation generated by doxygen is written. Doxygen will use this
74 # information to generate all constant output in the proper language.
75 # Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Catalan, Chinese,
76 # Chinese-Traditional, Croatian, Czech, Danish, Dutch, English (United States),
77 # Esperanto, Farsi (Persian), Finnish, French, German, Greek, Hungarian,
78 # Indonesian, Italian, Japanese, Japanese-en (Japanese with English messages),
79 # Korean, Korean-en (Korean with English messages), Latvian, Lithuanian,
80 # Macedonian, Norwegian, Persian (Farsi), Polish, Portuguese, Romanian, Russian,
81 # Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish, Swedish, Turkish,
82 # Ukrainian and Vietnamese.
83 # The default value is: English.
84
85 OUTPUT_LANGUAGE = English
86
87 # If the BRIEF_MEMBER_DESC tag is set to YES doxygen will include brief member
88 # descriptions after the members that are listed in the file and class
89 # documentation (similar to Javadoc). Set to NO to disable this.
90 # The default value is: YES.
91
92 BRIEF_MEMBER_DESC = YES
93
94 # If the REPEAT_BRIEF tag is set to YES doxygen will prepend the brief
95 # description of a member or function before the detailed description
96 #
97 # Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
98 # brief descriptions will be completely suppressed.
99 # The default value is: YES.
100
101 REPEAT_BRIEF = YES
102
103 # This tag implements a quasi-intelligent brief description abbreviator that is
104 # used to form the text in various listings. Each string in this list, if found
105 # as the leading text of the brief description, will be stripped from the text
106 # and the result, after processing the whole list, is used as the annotated
107 # text. Otherwise, the brief description is used as-is. If left blank, the
108 # following values are used ($name is automatically replaced with the name of
109 # the entity):The $name class, The $name widget, The $name file, is, provides,
110 # specifies, contains, represents, a, an and the.
111
112 ABBREVIATE_BRIEF = "The $name class" \
113 "The $name widget" \
114 "The $name file" \
115 is \
116 provides \
117 specifies \
118 contains \
119 represents \
120 a \
121 an \
122 the
123
124 # If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
125 # doxygen will generate a detailed section even if there is only a brief
126 # description.
127 # The default value is: NO.
128
129 ALWAYS_DETAILED_SEC = NO
130
131 # If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
132 # inherited members of a class in the documentation of that class as if those
133 # members were ordinary class members. Constructors, destructors and assignment
134 # operators of the base classes will not be shown.
135 # The default value is: NO.
136
137 INLINE_INHERITED_MEMB = NO
138
139 # If the FULL_PATH_NAMES tag is set to YES doxygen will prepend the full path
140 # before files name in the file list and in the header files. If set to NO the
141 # shortest path that makes the file name unique will be used
142 # The default value is: YES.
143
144 FULL_PATH_NAMES = YES
145
146 # The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path.
147 # Stripping is only done if one of the specified strings matches the left-hand
148 # part of the path. The tag can be used to show relative paths in the file list.
149 # If left blank the directory from which doxygen is run is used as the path to
150 # strip.
151 #
152 # Note that you can specify absolute paths here, but also relative paths, which
153 # will be relative from the directory where doxygen is started.
154 # This tag requires that the tag FULL_PATH_NAMES is set to YES.
155
156 STRIP_FROM_PATH = /home/mgieseki/develop/cpp/dvisvgm-hg/src/
157
158 # The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the
159 # path mentioned in the documentation of a class, which tells the reader which
160 # header file to include in order to use a class. If left blank only the name of
161 # the header file containing the class definition is used. Otherwise one should
162 # specify the list of include paths that are normally passed to the compiler
163 # using the -I flag.
164
165 STRIP_FROM_INC_PATH =
166
167 # If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but
168 # less readable) file names. This can be useful is your file systems doesn't
169 # support long names like on DOS, Mac, or CD-ROM.
170 # The default value is: NO.
171
172 SHORT_NAMES = NO
173
174 # If the JAVADOC_AUTOBRIEF tag is set to YES then doxygen will interpret the
175 # first line (until the first dot) of a Javadoc-style comment as the brief
176 # description. If set to NO, the Javadoc-style will behave just like regular Qt-
177 # style comments (thus requiring an explicit @brief command for a brief
178 # description.)
179 # The default value is: NO.
180
181 JAVADOC_AUTOBRIEF = NO
182
183 # If the QT_AUTOBRIEF tag is set to YES then doxygen will interpret the first
184 # line (until the first dot) of a Qt-style comment as the brief description. If
185 # set to NO, the Qt-style will behave just like regular Qt-style comments (thus
186 # requiring an explicit \brief command for a brief description.)
187 # The default value is: NO.
188
189 QT_AUTOBRIEF = NO
190
191 # The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make doxygen treat a
192 # multi-line C++ special comment block (i.e. a block of //! or /// comments) as
193 # a brief description. This used to be the default behavior. The new default is
194 # to treat a multi-line C++ comment block as a detailed description. Set this
195 # tag to YES if you prefer the old behavior instead.
196 #
197 # Note that setting this tag to YES also means that rational rose comments are
198 # not recognized any more.
199 # The default value is: NO.
200
201 MULTILINE_CPP_IS_BRIEF = NO
202
203 # If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the
204 # documentation from any documented member that it re-implements.
205 # The default value is: YES.
206
207 INHERIT_DOCS = YES
208
209 # If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce a
210 # new page for each member. If set to NO, the documentation of a member will be
211 # part of the file/class/namespace that contains it.
212 # The default value is: NO.
213
214 SEPARATE_MEMBER_PAGES = NO
215
216 # The TAB_SIZE tag can be used to set the number of spaces in a tab. Doxygen
217 # uses this value to replace tabs by spaces in code fragments.
218 # Minimum value: 1, maximum value: 16, default value: 4.
219
220 TAB_SIZE = 4
221
222 # This tag can be used to specify a number of aliases that act as commands in
223 # the documentation. An alias has the form:
224 # name=value
225 # For example adding
226 # "sideeffect=@par Side Effects:\n"
227 # will allow you to put the command \sideeffect (or @sideeffect) in the
228 # documentation, which will result in a user-defined paragraph with heading
229 # "Side Effects:". You can put \n's in the value part of an alias to insert
230 # newlines.
231
232 ALIASES =
233
234 # This tag can be used to specify a number of word-keyword mappings (TCL only).
235 # A mapping has the form "name=value". For example adding "class=itcl::class"
236 # will allow you to use the command class in the itcl::class meaning.
237
238 TCL_SUBST =
239
240 # Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources
241 # only. Doxygen will then generate output that is more tailored for C. For
242 # instance, some of the names that are used will be different. The list of all
243 # members will be omitted, etc.
244 # The default value is: NO.
245
246 OPTIMIZE_OUTPUT_FOR_C = NO
247
248 # Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java or
249 # Python sources only. Doxygen will then generate output that is more tailored
250 # for that language. For instance, namespaces will be presented as packages,
251 # qualified scopes will look different, etc.
252 # The default value is: NO.
253
254 OPTIMIZE_OUTPUT_JAVA = NO
255
256 # Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran
257 # sources. Doxygen will then generate output that is tailored for Fortran.
258 # The default value is: NO.
259
260 OPTIMIZE_FOR_FORTRAN = NO
261
262 # Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL
263 # sources. Doxygen will then generate output that is tailored for VHDL.
264 # The default value is: NO.
265
266 OPTIMIZE_OUTPUT_VHDL = NO
267
268 # Doxygen selects the parser to use depending on the extension of the files it
269 # parses. With this tag you can assign which parser to use for a given
270 # extension. Doxygen has a built-in mapping, but you can override or extend it
271 # using this tag. The format is ext=language, where ext is a file extension, and
272 # language is one of the parsers supported by doxygen: IDL, Java, Javascript,
273 # C#, C, C++, D, PHP, Objective-C, Python, Fortran, VHDL. For instance to make
274 # doxygen treat .inc files as Fortran files (default is PHP), and .f files as C
275 # (default is Fortran), use: inc=Fortran f=C.
276 #
277 # Note For files without extension you can use no_extension as a placeholder.
278 #
279 # Note that for custom extensions you also need to set FILE_PATTERNS otherwise
280 # the files are not read by doxygen.
281
282 EXTENSION_MAPPING =
283
284 # If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments
285 # according to the Markdown format, which allows for more readable
286 # documentation. See http://daringfireball.net/projects/markdown/ for details.
287 # The output of markdown processing is further processed by doxygen, so you can
288 # mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in
289 # case of backward compatibilities issues.
290 # The default value is: YES.
291
292 MARKDOWN_SUPPORT = YES
293
294 # When enabled doxygen tries to link words that correspond to documented
295 # classes, or namespaces to their corresponding documentation. Such a link can
296 # be prevented in individual cases by by putting a % sign in front of the word
297 # or globally by setting AUTOLINK_SUPPORT to NO.
298 # The default value is: YES.
299
300 AUTOLINK_SUPPORT = YES
301
302 # If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
303 # to include (a tag file for) the STL sources as input, then you should set this
304 # tag to YES in order to let doxygen match functions declarations and
305 # definitions whose arguments contain STL classes (e.g. func(std::string);
306 # versus func(std::string) {}). This also make the inheritance and collaboration
307 # diagrams that involve STL classes more complete and accurate.
308 # The default value is: NO.
309
310 BUILTIN_STL_SUPPORT = NO
311
312 # If you use Microsoft's C++/CLI language, you should set this option to YES to
313 # enable parsing support.
314 # The default value is: NO.
315
316 CPP_CLI_SUPPORT = NO
317
318 # Set the SIP_SUPPORT tag to YES if your project consists of sip (see:
319 # http://www.riverbankcomputing.co.uk/software/sip/intro) sources only. Doxygen
320 # will parse them like normal C++ but will assume all classes use public instead
321 # of private inheritance when no explicit protection keyword is present.
322 # The default value is: NO.
323
324 SIP_SUPPORT = NO
325
326 # For Microsoft's IDL there are propget and propput attributes to indicate
327 # getter and setter methods for a property. Setting this option to YES will make
328 # doxygen to replace the get and set methods by a property in the documentation.
329 # This will only work if the methods are indeed getting or setting a simple
330 # type. If this is not the case, or you want to show the methods anyway, you
331 # should set this option to NO.
332 # The default value is: YES.
333
334 IDL_PROPERTY_SUPPORT = YES
335
336 # If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
337 # tag is set to YES, then doxygen will reuse the documentation of the first
338 # member in the group (if any) for the other members of the group. By default
339 # all members of a group must be documented explicitly.
340 # The default value is: NO.
341
342 DISTRIBUTE_GROUP_DOC = NO
343
344 # Set the SUBGROUPING tag to YES to allow class member groups of the same type
345 # (for instance a group of public functions) to be put as a subgroup of that
346 # type (e.g. under the Public Functions section). Set it to NO to prevent
347 # subgrouping. Alternatively, this can be done per class using the
348 # \nosubgrouping command.
349 # The default value is: YES.
350
351 SUBGROUPING = YES
352
353 # When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and unions
354 # are shown inside the group in which they are included (e.g. using \ingroup)
355 # instead of on a separate page (for HTML and Man pages) or section (for LaTeX
356 # and RTF).
357 #
358 # Note that this feature does not work in combination with
359 # SEPARATE_MEMBER_PAGES.
360 # The default value is: NO.
361
362 INLINE_GROUPED_CLASSES = NO
363
364 # When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and unions
365 # with only public data fields or simple typedef fields will be shown inline in
366 # the documentation of the scope in which they are defined (i.e. file,
367 # namespace, or group documentation), provided this scope is documented. If set
368 # to NO, structs, classes, and unions are shown on a separate page (for HTML and
369 # Man pages) or section (for LaTeX and RTF).
370 # The default value is: NO.
371
372 INLINE_SIMPLE_STRUCTS = NO
373
374 # When TYPEDEF_HIDES_STRUCT tag is enabled, a typedef of a struct, union, or
375 # enum is documented as struct, union, or enum with the name of the typedef. So
376 # typedef struct TypeS {} TypeT, will appear in the documentation as a struct
377 # with name TypeT. When disabled the typedef will appear as a member of a file,
378 # namespace, or class. And the struct will be named TypeS. This can typically be
379 # useful for C code in case the coding convention dictates that all compound
380 # types are typedef'ed and only the typedef is referenced, never the tag name.
381 # The default value is: NO.
382
383 TYPEDEF_HIDES_STRUCT = NO
384
385 # The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This
386 # cache is used to resolve symbols given their name and scope. Since this can be
387 # an expensive process and often the same symbol appears multiple times in the
388 # code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small
389 # doxygen will become slower. If the cache is too large, memory is wasted. The
390 # cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range
391 # is 0..9, the default is 0, corresponding to a cache size of 2^16=65536
392 # symbols. At the end of a run doxygen will report the cache usage and suggest
393 # the optimal cache size from a speed point of view.
394 # Minimum value: 0, maximum value: 9, default value: 0.
395
396 LOOKUP_CACHE_SIZE = 0
397
398 #---------------------------------------------------------------------------
399 # Build related configuration options
400 #---------------------------------------------------------------------------
401
402 # If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in
403 # documentation are documented, even if no documentation was available. Private
404 # class members and static file members will be hidden unless the
405 # EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES.
406 # Note: This will also disable the warnings about undocumented members that are
407 # normally produced when WARNINGS is set to YES.
408 # The default value is: NO.
409
410 EXTRACT_ALL = YES
411
412 # If the EXTRACT_PRIVATE tag is set to YES all private members of a class will
413 # be included in the documentation.
414 # The default value is: NO.
415
416 EXTRACT_PRIVATE = YES
417
418 # If the EXTRACT_PACKAGE tag is set to YES all members with package or internal
419 # scope will be included in the documentation.
420 # The default value is: NO.
421
422 EXTRACT_PACKAGE = NO
423
424 # If the EXTRACT_STATIC tag is set to YES all static members of a file will be
425 # included in the documentation.
426 # The default value is: NO.
427
428 EXTRACT_STATIC = YES
429
430 # If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) defined
431 # locally in source files will be included in the documentation. If set to NO
432 # only classes defined in header files are included. Does not have any effect
433 # for Java sources.
434 # The default value is: YES.
435
436 EXTRACT_LOCAL_CLASSES = YES
437
438 # This flag is only useful for Objective-C code. When set to YES local methods,
439 # which are defined in the implementation section but not in the interface are
440 # included in the documentation. If set to NO only methods in the interface are
441 # included.
442 # The default value is: NO.
443
444 EXTRACT_LOCAL_METHODS = YES
445
446 # If this flag is set to YES, the members of anonymous namespaces will be
447 # extracted and appear in the documentation as a namespace called
448 # 'anonymous_namespace{file}', where file will be replaced with the base name of
449 # the file that contains the anonymous namespace. By default anonymous namespace
450 # are hidden.
451 # The default value is: NO.
452
453 EXTRACT_ANON_NSPACES = NO
454
455 # If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all
456 # undocumented members inside documented classes or files. If set to NO these
457 # members will be included in the various overviews, but no documentation
458 # section is generated. This option has no effect if EXTRACT_ALL is enabled.
459 # The default value is: NO.
460
461 HIDE_UNDOC_MEMBERS = NO
462
463 # If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all
464 # undocumented classes that are normally visible in the class hierarchy. If set
465 # to NO these classes will be included in the various overviews. This option has
466 # no effect if EXTRACT_ALL is enabled.
467 # The default value is: NO.
468
469 HIDE_UNDOC_CLASSES = NO
470
471 # If the HIDE_FRIEND_COMPOUNDS tag is set to YES, doxygen will hide all friend
472 # (class|struct|union) declarations. If set to NO these declarations will be
473 # included in the documentation.
474 # The default value is: NO.
475
476 HIDE_FRIEND_COMPOUNDS = NO
477
478 # If the HIDE_IN_BODY_DOCS tag is set to YES, doxygen will hide any
479 # documentation blocks found inside the body of a function. If set to NO these
480 # blocks will be appended to the function's detailed documentation block.
481 # The default value is: NO.
482
483 HIDE_IN_BODY_DOCS = NO
484
485 # The INTERNAL_DOCS tag determines if documentation that is typed after a
486 # \internal command is included. If the tag is set to NO then the documentation
487 # will be excluded. Set it to YES to include the internal documentation.
488 # The default value is: NO.
489
490 INTERNAL_DOCS = YES
491
492 # If the CASE_SENSE_NAMES tag is set to NO then doxygen will only generate file
493 # names in lower-case letters. If set to YES upper-case letters are also
494 # allowed. This is useful if you have classes or files whose names only differ
495 # in case and if your file system supports case sensitive file names. Windows
496 # and Mac users are advised to set this option to NO.
497 # The default value is: system dependent.
498
499 CASE_SENSE_NAMES = YES
500
501 # If the HIDE_SCOPE_NAMES tag is set to NO then doxygen will show members with
502 # their full class and namespace scopes in the documentation. If set to YES the
503 # scope will be hidden.
504 # The default value is: NO.
505
506 HIDE_SCOPE_NAMES = NO
507
508 # If the SHOW_INCLUDE_FILES tag is set to YES then doxygen will put a list of
509 # the files that are included by a file in the documentation of that file.
510 # The default value is: YES.
511
512 SHOW_INCLUDE_FILES = YES
513
514 # If the SHOW_GROUPED_MEMB_INC tag is set to YES then Doxygen will add for each
515 # grouped member an include statement to the documentation, telling the reader
516 # which file to include in order to use the member.
517 # The default value is: NO.
518
519 SHOW_GROUPED_MEMB_INC = NO
520
521 # If the FORCE_LOCAL_INCLUDES tag is set to YES then doxygen will list include
522 # files with double quotes in the documentation rather than with sharp brackets.
523 # The default value is: NO.
524
525 FORCE_LOCAL_INCLUDES = NO
526
527 # If the INLINE_INFO tag is set to YES then a tag [inline] is inserted in the
528 # documentation for inline members.
529 # The default value is: YES.
530
531 INLINE_INFO = YES
532
533 # If the SORT_MEMBER_DOCS tag is set to YES then doxygen will sort the
534 # (detailed) documentation of file and class members alphabetically by member
535 # name. If set to NO the members will appear in declaration order.
536 # The default value is: YES.
537
538 SORT_MEMBER_DOCS = YES
539
540 # If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief
541 # descriptions of file, namespace and class members alphabetically by member
542 # name. If set to NO the members will appear in declaration order. Note that
543 # this will also influence the order of the classes in the class list.
544 # The default value is: NO.
545
546 SORT_BRIEF_DOCS = NO
547
548 # If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the
549 # (brief and detailed) documentation of class members so that constructors and
550 # destructors are listed first. If set to NO the constructors will appear in the
551 # respective orders defined by SORT_BRIEF_DOCS and SORT_MEMBER_DOCS.
552 # Note: If SORT_BRIEF_DOCS is set to NO this option is ignored for sorting brief
553 # member documentation.
554 # Note: If SORT_MEMBER_DOCS is set to NO this option is ignored for sorting
555 # detailed member documentation.
556 # The default value is: NO.
557
558 SORT_MEMBERS_CTORS_1ST = NO
559
560 # If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the hierarchy
561 # of group names into alphabetical order. If set to NO the group names will
562 # appear in their defined order.
563 # The default value is: NO.
564
565 SORT_GROUP_NAMES = NO
566
567 # If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be sorted by
568 # fully-qualified names, including namespaces. If set to NO, the class list will
569 # be sorted only by class name, not including the namespace part.
570 # Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
571 # Note: This option applies only to the class list, not to the alphabetical
572 # list.
573 # The default value is: NO.
574
575 SORT_BY_SCOPE_NAME = NO
576
577 # If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to do proper
578 # type resolution of all parameters of a function it will reject a match between
579 # the prototype and the implementation of a member function even if there is
580 # only one candidate or it is obvious which candidate to choose by doing a
581 # simple string match. By disabling STRICT_PROTO_MATCHING doxygen will still
582 # accept a match between prototype and implementation in such cases.
583 # The default value is: NO.
584
585 STRICT_PROTO_MATCHING = NO
586
587 # The GENERATE_TODOLIST tag can be used to enable ( YES) or disable ( NO) the
588 # todo list. This list is created by putting \todo commands in the
589 # documentation.
590 # The default value is: YES.
591
592 GENERATE_TODOLIST = YES
593
594 # The GENERATE_TESTLIST tag can be used to enable ( YES) or disable ( NO) the
595 # test list. This list is created by putting \test commands in the
596 # documentation.
597 # The default value is: YES.
598
599 GENERATE_TESTLIST = YES
600
601 # The GENERATE_BUGLIST tag can be used to enable ( YES) or disable ( NO) the bug
602 # list. This list is created by putting \bug commands in the documentation.
603 # The default value is: YES.
604
605 GENERATE_BUGLIST = YES
606
607 # The GENERATE_DEPRECATEDLIST tag can be used to enable ( YES) or disable ( NO)
608 # the deprecated list. This list is created by putting \deprecated commands in
609 # the documentation.
610 # The default value is: YES.
611
612 GENERATE_DEPRECATEDLIST= YES
613
614 # The ENABLED_SECTIONS tag can be used to enable conditional documentation
615 # sections, marked by \if <section_label> ... \endif and \cond <section_label>
616 # ... \endcond blocks.
617
618 ENABLED_SECTIONS =
619
620 # The MAX_INITIALIZER_LINES tag determines the maximum number of lines that the
621 # initial value of a variable or macro / define can have for it to appear in the
622 # documentation. If the initializer consists of more lines than specified here
623 # it will be hidden. Use a value of 0 to hide initializers completely. The
624 # appearance of the value of individual variables and macros / defines can be
625 # controlled using \showinitializer or \hideinitializer command in the
626 # documentation regardless of this setting.
627 # Minimum value: 0, maximum value: 10000, default value: 30.
628
629 MAX_INITIALIZER_LINES = 30
630
631 # Set the SHOW_USED_FILES tag to NO to disable the list of files generated at
632 # the bottom of the documentation of classes and structs. If set to YES the list
633 # will mention the files that were used to generate the documentation.
634 # The default value is: YES.
635
636 SHOW_USED_FILES = YES
637
638 # Set the SHOW_FILES tag to NO to disable the generation of the Files page. This
639 # will remove the Files entry from the Quick Index and from the Folder Tree View
640 # (if specified).
641 # The default value is: YES.
642
643 SHOW_FILES = YES
644
645 # Set the SHOW_NAMESPACES tag to NO to disable the generation of the Namespaces
646 # page. This will remove the Namespaces entry from the Quick Index and from the
647 # Folder Tree View (if specified).
648 # The default value is: YES.
649
650 SHOW_NAMESPACES = YES
651
652 # The FILE_VERSION_FILTER tag can be used to specify a program or script that
653 # doxygen should invoke to get the current version for each file (typically from
654 # the version control system). Doxygen will invoke the program by executing (via
655 # popen()) the command command input-file, where command is the value of the
656 # FILE_VERSION_FILTER tag, and input-file is the name of an input file provided
657 # by doxygen. Whatever the program writes to standard output is used as the file
658 # version. For an example see the documentation.
659
660 FILE_VERSION_FILTER =
661
662 # The LAYOUT_FILE tag can be used to specify a layout file which will be parsed
663 # by doxygen. The layout file controls the global structure of the generated
664 # output files in an output format independent way. To create the layout file
665 # that represents doxygen's defaults, run doxygen with the -l option. You can
666 # optionally specify a file name after the option, if omitted DoxygenLayout.xml
667 # will be used as the name of the layout file.
668 #
669 # Note that if you run doxygen from a directory containing a file called
670 # DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE
671 # tag is left empty.
672
673 LAYOUT_FILE =
674
675 # The CITE_BIB_FILES tag can be used to specify one or more bib files containing
676 # the reference definitions. This must be a list of .bib files. The .bib
677 # extension is automatically appended if omitted. This requires the bibtex tool
678 # to be installed. See also http://en.wikipedia.org/wiki/BibTeX for more info.
679 # For LaTeX the style of the bibliography can be controlled using
680 # LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the
681 # search path. Do not use file names with spaces, bibtex cannot handle them. See
682 # also \cite for info how to create references.
683
684 CITE_BIB_FILES =
685
686 #---------------------------------------------------------------------------
687 # Configuration options related to warning and progress messages
688 #---------------------------------------------------------------------------
689
690 # The QUIET tag can be used to turn on/off the messages that are generated to
691 # standard output by doxygen. If QUIET is set to YES this implies that the
692 # messages are off.
693 # The default value is: NO.
694
695 QUIET = NO
696
697 # The WARNINGS tag can be used to turn on/off the warning messages that are
698 # generated to standard error ( stderr) by doxygen. If WARNINGS is set to YES
699 # this implies that the warnings are on.
700 #
701 # Tip: Turn warnings on while writing the documentation.
702 # The default value is: YES.
703
704 WARNINGS = YES
705
706 # If the WARN_IF_UNDOCUMENTED tag is set to YES, then doxygen will generate
707 # warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag
708 # will automatically be disabled.
709 # The default value is: YES.
710
711 WARN_IF_UNDOCUMENTED = NO
712
713 # If the WARN_IF_DOC_ERROR tag is set to YES, doxygen will generate warnings for
714 # potential errors in the documentation, such as not documenting some parameters
715 # in a documented function, or documenting parameters that don't exist or using
716 # markup commands wrongly.
717 # The default value is: YES.
718
719 WARN_IF_DOC_ERROR = YES
720
721 # This WARN_NO_PARAMDOC option can be enabled to get warnings for functions that
722 # are documented, but have no documentation for their parameters or return
723 # value. If set to NO doxygen will only warn about wrong or incomplete parameter
724 # documentation, but not about the absence of documentation.
725 # The default value is: NO.
726
727 WARN_NO_PARAMDOC = YES
728
729 # The WARN_FORMAT tag determines the format of the warning messages that doxygen
730 # can produce. The string should contain the $file, $line, and $text tags, which
731 # will be replaced by the file and line number from which the warning originated
732 # and the warning text. Optionally the format may contain $version, which will
733 # be replaced by the version of the file (if it could be obtained via
734 # FILE_VERSION_FILTER)
735 # The default value is: $file:$line: $text.
736
737 WARN_FORMAT = "$file:$line: $text"
738
739 # The WARN_LOGFILE tag can be used to specify a file to which warning and error
740 # messages should be written. If left blank the output is written to standard
741 # error (stderr).
742
743 WARN_LOGFILE =
744
745 #---------------------------------------------------------------------------
746 # Configuration options related to the input files
747 #---------------------------------------------------------------------------
748
749 # The INPUT tag is used to specify the files and/or directories that contain
750 # documented source files. You may enter file names like myfile.cpp or
751 # directories like /usr/src/myproject. Separate the files or directories with
752 # spaces.
753 # Note: If this tag is empty the current directory is searched.
754
755 INPUT = .
756
757 # This tag can be used to specify the character encoding of the source files
758 # that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
759 # libiconv (or the iconv built into libc) for the transcoding. See the libiconv
760 # documentation (see: http://www.gnu.org/software/libiconv) for the list of
761 # possible encodings.
762 # The default value is: UTF-8.
763
764 INPUT_ENCODING = UTF-8
765
766 # If the value of the INPUT tag contains directories, you can use the
767 # FILE_PATTERNS tag to specify one or more wildcard patterns (like *.cpp and
768 # *.h) to filter out the source-files in the directories. If left blank the
769 # following patterns are tested:*.c, *.cc, *.cxx, *.cpp, *.c++, *.java, *.ii,
770 # *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h, *.hh, *.hxx, *.hpp,
771 # *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc, *.m, *.markdown,
772 # *.md, *.mm, *.dox, *.py, *.f90, *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf,
773 # *.qsf, *.as and *.js.
774
775 FILE_PATTERNS = *.c \
776 *.cc \
777 *.cxx \
778 *.cpp \
779 *.c++ \
780 *.d \
781 *.java \
782 *.ii \
783 *.ixx \
784 *.ipp \
785 *.i++ \
786 *.inl \
787 *.h \
788 *.hh \
789 *.hxx \
790 *.hpp \
791 *.h++ \
792 *.idl \
793 *.odl \
794 *.cs \
795 *.php \
796 *.php3 \
797 *.inc \
798 *.m \
799 *.mm \
800 *.dox \
801 *.py \
802 *.f90 \
803 *.f \
804 *.vhd \
805 *.vhdl \
806 *.C \
807 *.CC \
808 *.C++ \
809 *.II \
810 *.I++ \
811 *.H \
812 *.HH \
813 *.H++ \
814 *.CS \
815 *.PHP \
816 *.PHP3 \
817 *.M \
818 *.MM \
819 *.PY \
820 *.F90 \
821 *.F \
822 *.VHD \
823 *.VHDL
824
825 # The RECURSIVE tag can be used to specify whether or not subdirectories should
826 # be searched for input files as well.
827 # The default value is: NO.
828
829 RECURSIVE = YES
830
831 # The EXCLUDE tag can be used to specify files and/or directories that should be
832 # excluded from the INPUT source files. This way you can easily exclude a
833 # subdirectory from a directory tree whose root is specified with the INPUT tag.
834 #
835 # Note that relative paths are relative to the directory from which doxygen is
836 # run.
837
838 EXCLUDE =
839
840 # The EXCLUDE_SYMLINKS tag can be used to select whether or not files or
841 # directories that are symbolic links (a Unix file system feature) are excluded
842 # from the input.
843 # The default value is: NO.
844
845 EXCLUDE_SYMLINKS = NO
846
847 # If the value of the INPUT tag contains directories, you can use the
848 # EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
849 # certain files from those directories.
850 #
851 # Note that the wildcards are matched against the file with absolute path, so to
852 # exclude all test directories for example use the pattern */test/*
853
854 EXCLUDE_PATTERNS =
855
856 # The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
857 # (namespaces, classes, functions, etc.) that should be excluded from the
858 # output. The symbol name can be a fully qualified name, a word, or if the
859 # wildcard * is used, a substring. Examples: ANamespace, AClass,
860 # AClass::ANamespace, ANamespace::*Test
861 #
862 # Note that the wildcards are matched against the file with absolute path, so to
863 # exclude all test directories use the pattern */test/*
864
865 EXCLUDE_SYMBOLS =
866
867 # The EXAMPLE_PATH tag can be used to specify one or more files or directories
868 # that contain example code fragments that are included (see the \include
869 # command).
870
871 EXAMPLE_PATH =
872
873 # If the value of the EXAMPLE_PATH tag contains directories, you can use the
874 # EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and
875 # *.h) to filter out the source-files in the directories. If left blank all
876 # files are included.
877
878 EXAMPLE_PATTERNS = *
879
880 # If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
881 # searched for input files to be used with the \include or \dontinclude commands
882 # irrespective of the value of the RECURSIVE tag.
883 # The default value is: NO.
884
885 EXAMPLE_RECURSIVE = NO
886
887 # The IMAGE_PATH tag can be used to specify one or more files or directories
888 # that contain images that are to be included in the documentation (see the
889 # \image command).
890
891 IMAGE_PATH =
892
893 # The INPUT_FILTER tag can be used to specify a program that doxygen should
894 # invoke to filter for each input file. Doxygen will invoke the filter program
895 # by executing (via popen()) the command:
896 #
897 # <filter> <input-file>
898 #
899 # where <filter> is the value of the INPUT_FILTER tag, and <input-file> is the
900 # name of an input file. Doxygen will then use the output that the filter
901 # program writes to standard output. If FILTER_PATTERNS is specified, this tag
902 # will be ignored.
903 #
904 # Note that the filter must not add or remove lines; it is applied before the
905 # code is scanned, but not when the output code is generated. If lines are added
906 # or removed, the anchors will not be placed correctly.
907
908 INPUT_FILTER =
909
910 # The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
911 # basis. Doxygen will compare the file name with each pattern and apply the
912 # filter if there is a match. The filters are a list of the form: pattern=filter
913 # (like *.cpp=my_cpp_filter). See INPUT_FILTER for further information on how
914 # filters are used. If the FILTER_PATTERNS tag is empty or if none of the
915 # patterns match the file name, INPUT_FILTER is applied.
916
917 FILTER_PATTERNS =
918
919 # If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
920 # INPUT_FILTER ) will also be used to filter the input files that are used for
921 # producing the source files to browse (i.e. when SOURCE_BROWSER is set to YES).
922 # The default value is: NO.
923
924 FILTER_SOURCE_FILES = NO
925
926 # The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file
927 # pattern. A pattern will override the setting for FILTER_PATTERN (if any) and
928 # it is also possible to disable source filtering for a specific pattern using
929 # *.ext= (so without naming a filter).
930 # This tag requires that the tag FILTER_SOURCE_FILES is set to YES.
931
932 FILTER_SOURCE_PATTERNS =
933
934 # If the USE_MDFILE_AS_MAINPAGE tag refers to the name of a markdown file that
935 # is part of the input, its contents will be placed on the main page
936 # (index.html). This can be useful if you have a project on for instance GitHub
937 # and want to reuse the introduction page also for the doxygen output.
938
939 USE_MDFILE_AS_MAINPAGE =
940
941 #---------------------------------------------------------------------------
942 # Configuration options related to source browsing
943 #---------------------------------------------------------------------------
944
945 # If the SOURCE_BROWSER tag is set to YES then a list of source files will be
946 # generated. Documented entities will be cross-referenced with these sources.
947 #
948 # Note: To get rid of all source code in the generated output, make sure that
949 # also VERBATIM_HEADERS is set to NO.
950 # The default value is: NO.
951
952 SOURCE_BROWSER = YES
953
954 # Setting the INLINE_SOURCES tag to YES will include the body of functions,
955 # classes and enums directly into the documentation.
956 # The default value is: NO.
957
958 INLINE_SOURCES = NO
959
960 # Setting the STRIP_CODE_COMMENTS tag to YES will instruct doxygen to hide any
961 # special comment blocks from generated source code fragments. Normal C, C++ and
962 # Fortran comments will always remain visible.
963 # The default value is: YES.
964
965 STRIP_CODE_COMMENTS = YES
966
967 # If the REFERENCED_BY_RELATION tag is set to YES then for each documented
968 # function all documented functions referencing it will be listed.
969 # The default value is: NO.
970
971 REFERENCED_BY_RELATION = NO
972
973 # If the REFERENCES_RELATION tag is set to YES then for each documented function
974 # all documented entities called/used by that function will be listed.
975 # The default value is: NO.
976
977 REFERENCES_RELATION = NO
978
979 # If the REFERENCES_LINK_SOURCE tag is set to YES and SOURCE_BROWSER tag is set
980 # to YES, then the hyperlinks from functions in REFERENCES_RELATION and
981 # REFERENCED_BY_RELATION lists will link to the source code. Otherwise they will
982 # link to the documentation.
983 # The default value is: YES.
984
985 REFERENCES_LINK_SOURCE = YES
986
987 # If SOURCE_TOOLTIPS is enabled (the default) then hovering a hyperlink in the
988 # source code will show a tooltip with additional information such as prototype,
989 # brief description and links to the definition and documentation. Since this
990 # will make the HTML file larger and loading of large files a bit slower, you
991 # can opt to disable this feature.
992 # The default value is: YES.
993 # This tag requires that the tag SOURCE_BROWSER is set to YES.
994
995 SOURCE_TOOLTIPS = YES
996
997 # If the USE_HTAGS tag is set to YES then the references to source code will
998 # point to the HTML generated by the htags(1) tool instead of doxygen built-in
999 # source browser. The htags tool is part of GNU's global source tagging system
1000 # (see http://www.gnu.org/software/global/global.html). You will need version
1001 # 4.8.6 or higher.
1002 #
1003 # To use it do the following:
1004 # - Install the latest version of global
1005 # - Enable SOURCE_BROWSER and USE_HTAGS in the config file
1006 # - Make sure the INPUT points to the root of the source tree
1007 # - Run doxygen as normal
1008 #
1009 # Doxygen will invoke htags (and that will in turn invoke gtags), so these
1010 # tools must be available from the command line (i.e. in the search path).
1011 #
1012 # The result: instead of the source browser generated by doxygen, the links to
1013 # source code will now point to the output of htags.
1014 # The default value is: NO.
1015 # This tag requires that the tag SOURCE_BROWSER is set to YES.
1016
1017 USE_HTAGS = NO
1018
1019 # If the VERBATIM_HEADERS tag is set the YES then doxygen will generate a
1020 # verbatim copy of the header file for each class for which an include is
1021 # specified. Set to NO to disable this.
1022 # See also: Section \class.
1023 # The default value is: YES.
1024
1025 VERBATIM_HEADERS = NO
1026
1027 #---------------------------------------------------------------------------
1028 # Configuration options related to the alphabetical class index
1029 #---------------------------------------------------------------------------
1030
1031 # If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index of all
1032 # compounds will be generated. Enable this if the project contains a lot of
1033 # classes, structs, unions or interfaces.
1034 # The default value is: YES.
1035
1036 ALPHABETICAL_INDEX = YES
1037
1038 # The COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns in
1039 # which the alphabetical index list will be split.
1040 # Minimum value: 1, maximum value: 20, default value: 5.
1041 # This tag requires that the tag ALPHABETICAL_INDEX is set to YES.
1042
1043 COLS_IN_ALPHA_INDEX = 5
1044
1045 # In case all classes in a project start with a common prefix, all classes will
1046 # be put under the same header in the alphabetical index. The IGNORE_PREFIX tag
1047 # can be used to specify a prefix (or a list of prefixes) that should be ignored
1048 # while generating the index headers.
1049 # This tag requires that the tag ALPHABETICAL_INDEX is set to YES.
1050
1051 IGNORE_PREFIX =
1052
1053 #---------------------------------------------------------------------------
1054 # Configuration options related to the HTML output
1055 #---------------------------------------------------------------------------
1056
1057 # If the GENERATE_HTML tag is set to YES doxygen will generate HTML output
1058 # The default value is: YES.
1059
1060 GENERATE_HTML = YES
1061
1062 # The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a
1063 # relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
1064 # it.
1065 # The default directory is: html.
1066 # This tag requires that the tag GENERATE_HTML is set to YES.
1067
1068 HTML_OUTPUT = html
1069
1070 # The HTML_FILE_EXTENSION tag can be used to specify the file extension for each
1071 # generated HTML page (for example: .htm, .php, .asp).
1072 # The default value is: .html.
1073 # This tag requires that the tag GENERATE_HTML is set to YES.
1074
1075 HTML_FILE_EXTENSION = .html
1076
1077 # The HTML_HEADER tag can be used to specify a user-defined HTML header file for
1078 # each generated HTML page. If the tag is left blank doxygen will generate a
1079 # standard header.
1080 #
1081 # To get valid HTML the header file that includes any scripts and style sheets
1082 # that doxygen needs, which is dependent on the configuration options used (e.g.
1083 # the setting GENERATE_TREEVIEW). It is highly recommended to start with a
1084 # default header using
1085 # doxygen -w html new_header.html new_footer.html new_stylesheet.css
1086 # YourConfigFile
1087 # and then modify the file new_header.html. See also section "Doxygen usage"
1088 # for information on how to generate the default header that doxygen normally
1089 # uses.
1090 # Note: The header is subject to change so you typically have to regenerate the
1091 # default header when upgrading to a newer version of doxygen. For a description
1092 # of the possible markers and block names see the documentation.
1093 # This tag requires that the tag GENERATE_HTML is set to YES.
1094
1095 HTML_HEADER =
1096
1097 # The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each
1098 # generated HTML page. If the tag is left blank doxygen will generate a standard
1099 # footer. See HTML_HEADER for more information on how to generate a default
1100 # footer and what special commands can be used inside the footer. See also
1101 # section "Doxygen usage" for information on how to generate the default footer
1102 # that doxygen normally uses.
1103 # This tag requires that the tag GENERATE_HTML is set to YES.
1104
1105 HTML_FOOTER =
1106
1107 # The HTML_STYLESHEET tag can be used to specify a user-defined cascading style
1108 # sheet that is used by each HTML page. It can be used to fine-tune the look of
1109 # the HTML output. If left blank doxygen will generate a default style sheet.
1110 # See also section "Doxygen usage" for information on how to generate the style
1111 # sheet that doxygen normally uses.
1112 # Note: It is recommended to use HTML_EXTRA_STYLESHEET instead of this tag, as
1113 # it is more robust and this tag (HTML_STYLESHEET) will in the future become
1114 # obsolete.
1115 # This tag requires that the tag GENERATE_HTML is set to YES.
1116
1117 HTML_STYLESHEET =
1118
1119 # The HTML_EXTRA_STYLESHEET tag can be used to specify an additional user-
1120 # defined cascading style sheet that is included after the standard style sheets
1121 # created by doxygen. Using this option one can overrule certain style aspects.
1122 # This is preferred over using HTML_STYLESHEET since it does not replace the
1123 # standard style sheet and is therefor more robust against future updates.
1124 # Doxygen will copy the style sheet file to the output directory. For an example
1125 # see the documentation.
1126 # This tag requires that the tag GENERATE_HTML is set to YES.
1127
1128 HTML_EXTRA_STYLESHEET =
1129
1130 # The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
1131 # other source files which should be copied to the HTML output directory. Note
1132 # that these files will be copied to the base HTML output directory. Use the
1133 # $relpath^ marker in the HTML_HEADER and/or HTML_FOOTER files to load these
1134 # files. In the HTML_STYLESHEET file, use the file name only. Also note that the
1135 # files will be copied as-is; there are no commands or markers available.
1136 # This tag requires that the tag GENERATE_HTML is set to YES.
1137
1138 HTML_EXTRA_FILES =
1139
1140 # The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen
1141 # will adjust the colors in the stylesheet and background images according to
1142 # this color. Hue is specified as an angle on a colorwheel, see
1143 # http://en.wikipedia.org/wiki/Hue for more information. For instance the value
1144 # 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300
1145 # purple, and 360 is red again.
1146 # Minimum value: 0, maximum value: 359, default value: 220.
1147 # This tag requires that the tag GENERATE_HTML is set to YES.
1148
1149 HTML_COLORSTYLE_HUE = 220
1150
1151 # The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors
1152 # in the HTML output. For a value of 0 the output will use grayscales only. A
1153 # value of 255 will produce the most vivid colors.
1154 # Minimum value: 0, maximum value: 255, default value: 100.
1155 # This tag requires that the tag GENERATE_HTML is set to YES.
1156
1157 HTML_COLORSTYLE_SAT = 100
1158
1159 # The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the
1160 # luminance component of the colors in the HTML output. Values below 100
1161 # gradually make the output lighter, whereas values above 100 make the output
1162 # darker. The value divided by 100 is the actual gamma applied, so 80 represents
1163 # a gamma of 0.8, The value 220 represents a gamma of 2.2, and 100 does not
1164 # change the gamma.
1165 # Minimum value: 40, maximum value: 240, default value: 80.
1166 # This tag requires that the tag GENERATE_HTML is set to YES.
1167
1168 HTML_COLORSTYLE_GAMMA = 80
1169
1170 # If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
1171 # page will contain the date and time when the page was generated. Setting this
1172 # to NO can help when comparing the output of multiple runs.
1173 # The default value is: YES.
1174 # This tag requires that the tag GENERATE_HTML is set to YES.
1175
1176 HTML_TIMESTAMP = YES
1177
1178 # If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
1179 # documentation will contain sections that can be hidden and shown after the
1180 # page has loaded.
1181 # The default value is: NO.
1182 # This tag requires that the tag GENERATE_HTML is set to YES.
1183
1184 HTML_DYNAMIC_SECTIONS = NO
1185
1186 # With HTML_INDEX_NUM_ENTRIES one can control the preferred number of entries
1187 # shown in the various tree structured indices initially; the user can expand
1188 # and collapse entries dynamically later on. Doxygen will expand the tree to
1189 # such a level that at most the specified number of entries are visible (unless
1190 # a fully collapsed tree already exceeds this amount). So setting the number of
1191 # entries 1 will produce a full collapsed tree by default. 0 is a special value
1192 # representing an infinite number of entries and will result in a full expanded
1193 # tree by default.
1194 # Minimum value: 0, maximum value: 9999, default value: 100.
1195 # This tag requires that the tag GENERATE_HTML is set to YES.
1196
1197 HTML_INDEX_NUM_ENTRIES = 100
1198
1199 # If the GENERATE_DOCSET tag is set to YES, additional index files will be
1200 # generated that can be used as input for Apple's Xcode 3 integrated development
1201 # environment (see: http://developer.apple.com/tools/xcode/), introduced with
1202 # OSX 10.5 (Leopard). To create a documentation set, doxygen will generate a
1203 # Makefile in the HTML output directory. Running make will produce the docset in
1204 # that directory and running make install will install the docset in
1205 # ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at
1206 # startup. See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html
1207 # for more information.
1208 # The default value is: NO.
1209 # This tag requires that the tag GENERATE_HTML is set to YES.
1210
1211 GENERATE_DOCSET = NO
1212
1213 # This tag determines the name of the docset feed. A documentation feed provides
1214 # an umbrella under which multiple documentation sets from a single provider
1215 # (such as a company or product suite) can be grouped.
1216 # The default value is: Doxygen generated docs.
1217 # This tag requires that the tag GENERATE_DOCSET is set to YES.
1218
1219 DOCSET_FEEDNAME = "Doxygen generated docs"
1220
1221 # This tag specifies a string that should uniquely identify the documentation
1222 # set bundle. This should be a reverse domain-name style string, e.g.
1223 # com.mycompany.MyDocSet. Doxygen will append .docset to the name.
1224 # The default value is: org.doxygen.Project.
1225 # This tag requires that the tag GENERATE_DOCSET is set to YES.
1226
1227 DOCSET_BUNDLE_ID = org.doxygen.Project
1228
1229 # The DOCSET_PUBLISHER_ID tag specifies a string that should uniquely identify
1230 # the documentation publisher. This should be a reverse domain-name style
1231 # string, e.g. com.mycompany.MyDocSet.documentation.
1232 # The default value is: org.doxygen.Publisher.
1233 # This tag requires that the tag GENERATE_DOCSET is set to YES.
1234
1235 DOCSET_PUBLISHER_ID = org.doxygen.Publisher
1236
1237 # The DOCSET_PUBLISHER_NAME tag identifies the documentation publisher.
1238 # The default value is: Publisher.
1239 # This tag requires that the tag GENERATE_DOCSET is set to YES.
1240
1241 DOCSET_PUBLISHER_NAME = Publisher
1242
1243 # If the GENERATE_HTMLHELP tag is set to YES then doxygen generates three
1244 # additional HTML index files: index.hhp, index.hhc, and index.hhk. The
1245 # index.hhp is a project file that can be read by Microsoft's HTML Help Workshop
1246 # (see: http://www.microsoft.com/en-us/download/details.aspx?id=21138) on
1247 # Windows.
1248 #
1249 # The HTML Help Workshop contains a compiler that can convert all HTML output
1250 # generated by doxygen into a single compiled HTML file (.chm). Compiled HTML
1251 # files are now used as the Windows 98 help format, and will replace the old
1252 # Windows help format (.hlp) on all Windows platforms in the future. Compressed
1253 # HTML files also contain an index, a table of contents, and you can search for
1254 # words in the documentation. The HTML workshop also contains a viewer for
1255 # compressed HTML files.
1256 # The default value is: NO.
1257 # This tag requires that the tag GENERATE_HTML is set to YES.
1258
1259 GENERATE_HTMLHELP = NO
1260
1261 # The CHM_FILE tag can be used to specify the file name of the resulting .chm
1262 # file. You can add a path in front of the file if the result should not be
1263 # written to the html output directory.
1264 # This tag requires that the tag GENERATE_HTMLHELP is set to YES.
1265
1266 CHM_FILE =
1267
1268 # The HHC_LOCATION tag can be used to specify the location (absolute path
1269 # including file name) of the HTML help compiler ( hhc.exe). If non-empty
1270 # doxygen will try to run the HTML help compiler on the generated index.hhp.
1271 # The file has to be specified with full path.
1272 # This tag requires that the tag GENERATE_HTMLHELP is set to YES.
1273
1274 HHC_LOCATION =
1275
1276 # The GENERATE_CHI flag controls if a separate .chi index file is generated (
1277 # YES) or that it should be included in the master .chm file ( NO).
1278 # The default value is: NO.
1279 # This tag requires that the tag GENERATE_HTMLHELP is set to YES.
1280
1281 GENERATE_CHI = NO
1282
1283 # The CHM_INDEX_ENCODING is used to encode HtmlHelp index ( hhk), content ( hhc)
1284 # and project file content.
1285 # This tag requires that the tag GENERATE_HTMLHELP is set to YES.
1286
1287 CHM_INDEX_ENCODING =
1288
1289 # The BINARY_TOC flag controls whether a binary table of contents is generated (
1290 # YES) or a normal table of contents ( NO) in the .chm file.
1291 # The default value is: NO.
1292 # This tag requires that the tag GENERATE_HTMLHELP is set to YES.
1293
1294 BINARY_TOC = NO
1295
1296 # The TOC_EXPAND flag can be set to YES to add extra items for group members to
1297 # the table of contents of the HTML help documentation and to the tree view.
1298 # The default value is: NO.
1299 # This tag requires that the tag GENERATE_HTMLHELP is set to YES.
1300
1301 TOC_EXPAND = NO
1302
1303 # If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and
1304 # QHP_VIRTUAL_FOLDER are set, an additional index file will be generated that
1305 # can be used as input for Qt's qhelpgenerator to generate a Qt Compressed Help
1306 # (.qch) of the generated HTML documentation.
1307 # The default value is: NO.
1308 # This tag requires that the tag GENERATE_HTML is set to YES.
1309
1310 GENERATE_QHP = NO
1311
1312 # If the QHG_LOCATION tag is specified, the QCH_FILE tag can be used to specify
1313 # the file name of the resulting .qch file. The path specified is relative to
1314 # the HTML output folder.
1315 # This tag requires that the tag GENERATE_QHP is set to YES.
1316
1317 QCH_FILE =
1318
1319 # The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help
1320 # Project output. For more information please see Qt Help Project / Namespace
1321 # (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#namespace).
1322 # The default value is: org.doxygen.Project.
1323 # This tag requires that the tag GENERATE_QHP is set to YES.
1324
1325 QHP_NAMESPACE = org.doxygen.Project
1326
1327 # The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating Qt
1328 # Help Project output. For more information please see Qt Help Project / Virtual
1329 # Folders (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#virtual-
1330 # folders).
1331 # The default value is: doc.
1332 # This tag requires that the tag GENERATE_QHP is set to YES.
1333
1334 QHP_VIRTUAL_FOLDER = doc
1335
1336 # If the QHP_CUST_FILTER_NAME tag is set, it specifies the name of a custom
1337 # filter to add. For more information please see Qt Help Project / Custom
1338 # Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom-
1339 # filters).
1340 # This tag requires that the tag GENERATE_QHP is set to YES.
1341
1342 QHP_CUST_FILTER_NAME =
1343
1344 # The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the
1345 # custom filter to add. For more information please see Qt Help Project / Custom
1346 # Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom-
1347 # filters).
1348 # This tag requires that the tag GENERATE_QHP is set to YES.
1349
1350 QHP_CUST_FILTER_ATTRS =
1351
1352 # The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this
1353 # project's filter section matches. Qt Help Project / Filter Attributes (see:
1354 # http://qt-project.org/doc/qt-4.8/qthelpproject.html#filter-attributes).
1355 # This tag requires that the tag GENERATE_QHP is set to YES.
1356
1357 QHP_SECT_FILTER_ATTRS =
1358
1359 # The QHG_LOCATION tag can be used to specify the location of Qt's
1360 # qhelpgenerator. If non-empty doxygen will try to run qhelpgenerator on the
1361 # generated .qhp file.
1362 # This tag requires that the tag GENERATE_QHP is set to YES.
1363
1364 QHG_LOCATION =
1365
1366 # If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files will be
1367 # generated, together with the HTML files, they form an Eclipse help plugin. To
1368 # install this plugin and make it available under the help contents menu in
1369 # Eclipse, the contents of the directory containing the HTML and XML files needs
1370 # to be copied into the plugins directory of eclipse. The name of the directory
1371 # within the plugins directory should be the same as the ECLIPSE_DOC_ID value.
1372 # After copying Eclipse needs to be restarted before the help appears.
1373 # The default value is: NO.
1374 # This tag requires that the tag GENERATE_HTML is set to YES.
1375
1376 GENERATE_ECLIPSEHELP = NO
1377
1378 # A unique identifier for the Eclipse help plugin. When installing the plugin
1379 # the directory name containing the HTML and XML files should also have this
1380 # name. Each documentation set should have its own identifier.
1381 # The default value is: org.doxygen.Project.
1382 # This tag requires that the tag GENERATE_ECLIPSEHELP is set to YES.
1383
1384 ECLIPSE_DOC_ID = org.doxygen.Project
1385
1386 # If you want full control over the layout of the generated HTML pages it might
1387 # be necessary to disable the index and replace it with your own. The
1388 # DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) at top
1389 # of each HTML page. A value of NO enables the index and the value YES disables
1390 # it. Since the tabs in the index contain the same information as the navigation
1391 # tree, you can set this option to YES if you also set GENERATE_TREEVIEW to YES.
1392 # The default value is: NO.
1393 # This tag requires that the tag GENERATE_HTML is set to YES.
1394
1395 DISABLE_INDEX = NO
1396
1397 # The GENERATE_TREEVIEW tag is used to specify whether a tree-like index
1398 # structure should be generated to display hierarchical information. If the tag
1399 # value is set to YES, a side panel will be generated containing a tree-like
1400 # index structure (just like the one that is generated for HTML Help). For this
1401 # to work a browser that supports JavaScript, DHTML, CSS and frames is required
1402 # (i.e. any modern browser). Windows users are probably better off using the
1403 # HTML help feature. Via custom stylesheets (see HTML_EXTRA_STYLESHEET) one can
1404 # further fine-tune the look of the index. As an example, the default style
1405 # sheet generated by doxygen has an example that shows how to put an image at
1406 # the root of the tree instead of the PROJECT_NAME. Since the tree basically has
1407 # the same information as the tab index, you could consider setting
1408 # DISABLE_INDEX to YES when enabling this option.
1409 # The default value is: NO.
1410 # This tag requires that the tag GENERATE_HTML is set to YES.
1411
1412 GENERATE_TREEVIEW = NO
1413
1414 # The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that
1415 # doxygen will group on one line in the generated HTML documentation.
1416 #
1417 # Note that a value of 0 will completely suppress the enum values from appearing
1418 # in the overview section.
1419 # Minimum value: 0, maximum value: 20, default value: 4.
1420 # This tag requires that the tag GENERATE_HTML is set to YES.
1421
1422 ENUM_VALUES_PER_LINE = 4
1423
1424 # If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be used
1425 # to set the initial width (in pixels) of the frame in which the tree is shown.
1426 # Minimum value: 0, maximum value: 1500, default value: 250.
1427 # This tag requires that the tag GENERATE_HTML is set to YES.
1428
1429 TREEVIEW_WIDTH = 250
1430
1431 # When the EXT_LINKS_IN_WINDOW option is set to YES doxygen will open links to
1432 # external symbols imported via tag files in a separate window.
1433 # The default value is: NO.
1434 # This tag requires that the tag GENERATE_HTML is set to YES.
1435
1436 EXT_LINKS_IN_WINDOW = NO
1437
1438 # Use this tag to change the font size of LaTeX formulas included as images in
1439 # the HTML documentation. When you change the font size after a successful
1440 # doxygen run you need to manually remove any form_*.png images from the HTML
1441 # output directory to force them to be regenerated.
1442 # Minimum value: 8, maximum value: 50, default value: 10.
1443 # This tag requires that the tag GENERATE_HTML is set to YES.
1444
1445 FORMULA_FONTSIZE = 10
1446
1447 # Use the FORMULA_TRANPARENT tag to determine whether or not the images
1448 # generated for formulas are transparent PNGs. Transparent PNGs are not
1449 # supported properly for IE 6.0, but are supported on all modern browsers.
1450 #
1451 # Note that when changing this option you need to delete any form_*.png files in
1452 # the HTML output directory before the changes have effect.
1453 # The default value is: YES.
1454 # This tag requires that the tag GENERATE_HTML is set to YES.
1455
1456 FORMULA_TRANSPARENT = YES
1457
1458 # Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see
1459 # http://www.mathjax.org) which uses client side Javascript for the rendering
1460 # instead of using prerendered bitmaps. Use this if you do not have LaTeX
1461 # installed or if you want to formulas look prettier in the HTML output. When
1462 # enabled you may also need to install MathJax separately and configure the path
1463 # to it using the MATHJAX_RELPATH option.
1464 # The default value is: NO.
1465 # This tag requires that the tag GENERATE_HTML is set to YES.
1466
1467 USE_MATHJAX = NO
1468
1469 # When MathJax is enabled you can set the default output format to be used for
1470 # the MathJax output. See the MathJax site (see:
1471 # http://docs.mathjax.org/en/latest/output.html) for more details.
1472 # Possible values are: HTML-CSS (which is slower, but has the best
1473 # compatibility), NativeMML (i.e. MathML) and SVG.
1474 # The default value is: HTML-CSS.
1475 # This tag requires that the tag USE_MATHJAX is set to YES.
1476
1477 MATHJAX_FORMAT = HTML-CSS
1478
1479 # When MathJax is enabled you need to specify the location relative to the HTML
1480 # output directory using the MATHJAX_RELPATH option. The destination directory
1481 # should contain the MathJax.js script. For instance, if the mathjax directory
1482 # is located at the same level as the HTML output directory, then
1483 # MATHJAX_RELPATH should be ../mathjax. The default value points to the MathJax
1484 # Content Delivery Network so you can quickly see the result without installing
1485 # MathJax. However, it is strongly recommended to install a local copy of
1486 # MathJax from http://www.mathjax.org before deployment.
1487 # The default value is: http://cdn.mathjax.org/mathjax/latest.
1488 # This tag requires that the tag USE_MATHJAX is set to YES.
1489
1490 MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest
1491
1492 # The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax
1493 # extension names that should be enabled during MathJax rendering. For example
1494 # MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols
1495 # This tag requires that the tag USE_MATHJAX is set to YES.
1496
1497 MATHJAX_EXTENSIONS =
1498
1499 # The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces
1500 # of code that will be used on startup of the MathJax code. See the MathJax site
1501 # (see: http://docs.mathjax.org/en/latest/output.html) for more details. For an
1502 # example see the documentation.
1503 # This tag requires that the tag USE_MATHJAX is set to YES.
1504
1505 MATHJAX_CODEFILE =
1506
1507 # When the SEARCHENGINE tag is enabled doxygen will generate a search box for
1508 # the HTML output. The underlying search engine uses javascript and DHTML and
1509 # should work on any modern browser. Note that when using HTML help
1510 # (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets (GENERATE_DOCSET)
1511 # there is already a search function so this one should typically be disabled.
1512 # For large projects the javascript based search engine can be slow, then
1513 # enabling SERVER_BASED_SEARCH may provide a better solution. It is possible to
1514 # search using the keyboard; to jump to the search box use <access key> + S
1515 # (what the <access key> is depends on the OS and browser, but it is typically
1516 # <CTRL>, <ALT>/<option>, or both). Inside the search box use the <cursor down
1517 # key> to jump into the search results window, the results can be navigated
1518 # using the <cursor keys>. Press <Enter> to select an item or <escape> to cancel
1519 # the search. The filter options can be selected when the cursor is inside the
1520 # search box by pressing <Shift>+<cursor down>. Also here use the <cursor keys>
1521 # to select a filter and <Enter> or <escape> to activate or cancel the filter
1522 # option.
1523 # The default value is: YES.
1524 # This tag requires that the tag GENERATE_HTML is set to YES.
1525
1526 SEARCHENGINE = NO
1527
1528 # When the SERVER_BASED_SEARCH tag is enabled the search engine will be
1529 # implemented using a web server instead of a web client using Javascript. There
1530 # are two flavours of web server based searching depending on the
1531 # EXTERNAL_SEARCH setting. When disabled, doxygen will generate a PHP script for
1532 # searching and an index file used by the script. When EXTERNAL_SEARCH is
1533 # enabled the indexing and searching needs to be provided by external tools. See
1534 # the section "External Indexing and Searching" for details.
1535 # The default value is: NO.
1536 # This tag requires that the tag SEARCHENGINE is set to YES.
1537
1538 SERVER_BASED_SEARCH = NO
1539
1540 # When EXTERNAL_SEARCH tag is enabled doxygen will no longer generate the PHP
1541 # script for searching. Instead the search results are written to an XML file
1542 # which needs to be processed by an external indexer. Doxygen will invoke an
1543 # external search engine pointed to by the SEARCHENGINE_URL option to obtain the
1544 # search results.
1545 #
1546 # Doxygen ships with an example indexer ( doxyindexer) and search engine
1547 # (doxysearch.cgi) which are based on the open source search engine library
1548 # Xapian (see: http://xapian.org/).
1549 #
1550 # See the section "External Indexing and Searching" for details.
1551 # The default value is: NO.
1552 # This tag requires that the tag SEARCHENGINE is set to YES.
1553
1554 EXTERNAL_SEARCH = NO
1555
1556 # The SEARCHENGINE_URL should point to a search engine hosted by a web server
1557 # which will return the search results when EXTERNAL_SEARCH is enabled.
1558 #
1559 # Doxygen ships with an example indexer ( doxyindexer) and search engine
1560 # (doxysearch.cgi) which are based on the open source search engine library
1561 # Xapian (see: http://xapian.org/). See the section "External Indexing and
1562 # Searching" for details.
1563 # This tag requires that the tag SEARCHENGINE is set to YES.
1564
1565 SEARCHENGINE_URL =
1566
1567 # When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the unindexed
1568 # search data is written to a file for indexing by an external tool. With the
1569 # SEARCHDATA_FILE tag the name of this file can be specified.
1570 # The default file is: searchdata.xml.
1571 # This tag requires that the tag SEARCHENGINE is set to YES.
1572
1573 SEARCHDATA_FILE = searchdata.xml
1574
1575 # When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the
1576 # EXTERNAL_SEARCH_ID tag can be used as an identifier for the project. This is
1577 # useful in combination with EXTRA_SEARCH_MAPPINGS to search through multiple
1578 # projects and redirect the results back to the right project.
1579 # This tag requires that the tag SEARCHENGINE is set to YES.
1580
1581 EXTERNAL_SEARCH_ID =
1582
1583 # The EXTRA_SEARCH_MAPPINGS tag can be used to enable searching through doxygen
1584 # projects other than the one defined by this configuration file, but that are
1585 # all added to the same external search index. Each project needs to have a
1586 # unique id set via EXTERNAL_SEARCH_ID. The search mapping then maps the id of
1587 # to a relative location where the documentation can be found. The format is:
1588 # EXTRA_SEARCH_MAPPINGS = tagname1=loc1 tagname2=loc2 ...
1589 # This tag requires that the tag SEARCHENGINE is set to YES.
1590
1591 EXTRA_SEARCH_MAPPINGS =
1592
1593 #---------------------------------------------------------------------------
1594 # Configuration options related to the LaTeX output
1595 #---------------------------------------------------------------------------
1596
1597 # If the GENERATE_LATEX tag is set to YES doxygen will generate LaTeX output.
1598 # The default value is: YES.
1599
1600 GENERATE_LATEX = NO
1601
1602 # The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. If a
1603 # relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
1604 # it.
1605 # The default directory is: latex.
1606 # This tag requires that the tag GENERATE_LATEX is set to YES.
1607
1608 LATEX_OUTPUT = latex
1609
1610 # The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
1611 # invoked.
1612 #
1613 # Note that when enabling USE_PDFLATEX this option is only used for generating
1614 # bitmaps for formulas in the HTML output, but not in the Makefile that is
1615 # written to the output directory.
1616 # The default file is: latex.
1617 # This tag requires that the tag GENERATE_LATEX is set to YES.
1618
1619 LATEX_CMD_NAME = latex
1620
1621 # The MAKEINDEX_CMD_NAME tag can be used to specify the command name to generate
1622 # index for LaTeX.
1623 # The default file is: makeindex.
1624 # This tag requires that the tag GENERATE_LATEX is set to YES.
1625
1626 MAKEINDEX_CMD_NAME = makeindex
1627
1628 # If the COMPACT_LATEX tag is set to YES doxygen generates more compact LaTeX
1629 # documents. This may be useful for small projects and may help to save some
1630 # trees in general.
1631 # The default value is: NO.
1632 # This tag requires that the tag GENERATE_LATEX is set to YES.
1633
1634 COMPACT_LATEX = NO
1635
1636 # The PAPER_TYPE tag can be used to set the paper type that is used by the
1637 # printer.
1638 # Possible values are: a4 (210 x 297 mm), letter (8.5 x 11 inches), legal (8.5 x
1639 # 14 inches) and executive (7.25 x 10.5 inches).
1640 # The default value is: a4.
1641 # This tag requires that the tag GENERATE_LATEX is set to YES.
1642
1643 PAPER_TYPE = a4wide
1644
1645 # The EXTRA_PACKAGES tag can be used to specify one or more LaTeX package names
1646 # that should be included in the LaTeX output. To get the times font for
1647 # instance you can specify
1648 # EXTRA_PACKAGES=times
1649 # If left blank no extra packages will be included.
1650 # This tag requires that the tag GENERATE_LATEX is set to YES.
1651
1652 EXTRA_PACKAGES =
1653
1654 # The LATEX_HEADER tag can be used to specify a personal LaTeX header for the
1655 # generated LaTeX document. The header should contain everything until the first
1656 # chapter. If it is left blank doxygen will generate a standard header. See
1657 # section "Doxygen usage" for information on how to let doxygen write the
1658 # default header to a separate file.
1659 #
1660 # Note: Only use a user-defined header if you know what you are doing! The
1661 # following commands have a special meaning inside the header: $title,
1662 # $datetime, $date, $doxygenversion, $projectname, $projectnumber. Doxygen will
1663 # replace them by respectively the title of the page, the current date and time,
1664 # only the current date, the version number of doxygen, the project name (see
1665 # PROJECT_NAME), or the project number (see PROJECT_NUMBER).
1666 # This tag requires that the tag GENERATE_LATEX is set to YES.
1667
1668 LATEX_HEADER =
1669
1670 # The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for the
1671 # generated LaTeX document. The footer should contain everything after the last
1672 # chapter. If it is left blank doxygen will generate a standard footer.
1673 #
1674 # Note: Only use a user-defined footer if you know what you are doing!
1675 # This tag requires that the tag GENERATE_LATEX is set to YES.
1676
1677 LATEX_FOOTER =
1678
1679 # The LATEX_EXTRA_FILES tag can be used to specify one or more extra images or
1680 # other source files which should be copied to the LATEX_OUTPUT output
1681 # directory. Note that the files will be copied as-is; there are no commands or
1682 # markers available.
1683 # This tag requires that the tag GENERATE_LATEX is set to YES.
1684
1685 LATEX_EXTRA_FILES =
1686
1687 # If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated is
1688 # prepared for conversion to PDF (using ps2pdf or pdflatex). The PDF file will
1689 # contain links (just like the HTML output) instead of page references. This
1690 # makes the output suitable for online browsing using a PDF viewer.
1691 # The default value is: YES.
1692 # This tag requires that the tag GENERATE_LATEX is set to YES.
1693
1694 PDF_HYPERLINKS = YES
1695
1696 # If the LATEX_PDFLATEX tag is set to YES, doxygen will use pdflatex to generate
1697 # the PDF file directly from the LaTeX files. Set this option to YES to get a
1698 # higher quality PDF documentation.
1699 # The default value is: YES.
1700 # This tag requires that the tag GENERATE_LATEX is set to YES.
1701
1702 USE_PDFLATEX = YES
1703
1704 # If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \batchmode
1705 # command to the generated LaTeX files. This will instruct LaTeX to keep running
1706 # if errors occur, instead of asking the user for help. This option is also used
1707 # when generating formulas in HTML.
1708 # The default value is: NO.
1709 # This tag requires that the tag GENERATE_LATEX is set to YES.
1710
1711 LATEX_BATCHMODE = NO
1712
1713 # If the LATEX_HIDE_INDICES tag is set to YES then doxygen will not include the
1714 # index chapters (such as File Index, Compound Index, etc.) in the output.
1715 # The default value is: NO.
1716 # This tag requires that the tag GENERATE_LATEX is set to YES.
1717
1718 LATEX_HIDE_INDICES = NO
1719
1720 # If the LATEX_SOURCE_CODE tag is set to YES then doxygen will include source
1721 # code with syntax highlighting in the LaTeX output.
1722 #
1723 # Note that which sources are shown also depends on other settings such as
1724 # SOURCE_BROWSER.
1725 # The default value is: NO.
1726 # This tag requires that the tag GENERATE_LATEX is set to YES.
1727
1728 LATEX_SOURCE_CODE = NO
1729
1730 # The LATEX_BIB_STYLE tag can be used to specify the style to use for the
1731 # bibliography, e.g. plainnat, or ieeetr. See
1732 # http://en.wikipedia.org/wiki/BibTeX and \cite for more info.
1733 # The default value is: plain.
1734 # This tag requires that the tag GENERATE_LATEX is set to YES.
1735
1736 LATEX_BIB_STYLE = plain
1737
1738 #---------------------------------------------------------------------------
1739 # Configuration options related to the RTF output
1740 #---------------------------------------------------------------------------
1741
1742 # If the GENERATE_RTF tag is set to YES doxygen will generate RTF output. The
1743 # RTF output is optimized for Word 97 and may not look too pretty with other RTF
1744 # readers/editors.
1745 # The default value is: NO.
1746
1747 GENERATE_RTF = NO
1748
1749 # The RTF_OUTPUT tag is used to specify where the RTF docs will be put. If a
1750 # relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
1751 # it.
1752 # The default directory is: rtf.
1753 # This tag requires that the tag GENERATE_RTF is set to YES.
1754
1755 RTF_OUTPUT = rtf
1756
1757 # If the COMPACT_RTF tag is set to YES doxygen generates more compact RTF
1758 # documents. This may be useful for small projects and may help to save some
1759 # trees in general.
1760 # The default value is: NO.
1761 # This tag requires that the tag GENERATE_RTF is set to YES.
1762
1763 COMPACT_RTF = NO
1764
1765 # If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated will
1766 # contain hyperlink fields. The RTF file will contain links (just like the HTML
1767 # output) instead of page references. This makes the output suitable for online
1768 # browsing using Word or some other Word compatible readers that support those
1769 # fields.
1770 #
1771 # Note: WordPad (write) and others do not support links.
1772 # The default value is: NO.
1773 # This tag requires that the tag GENERATE_RTF is set to YES.
1774
1775 RTF_HYPERLINKS = NO
1776
1777 # Load stylesheet definitions from file. Syntax is similar to doxygen's config
1778 # file, i.e. a series of assignments. You only have to provide replacements,
1779 # missing definitions are set to their default value.
1780 #
1781 # See also section "Doxygen usage" for information on how to generate the
1782 # default style sheet that doxygen normally uses.
1783 # This tag requires that the tag GENERATE_RTF is set to YES.
1784
1785 RTF_STYLESHEET_FILE =
1786
1787 # Set optional variables used in the generation of an RTF document. Syntax is
1788 # similar to doxygen's config file. A template extensions file can be generated
1789 # using doxygen -e rtf extensionFile.
1790 # This tag requires that the tag GENERATE_RTF is set to YES.
1791
1792 RTF_EXTENSIONS_FILE =
1793
1794 #---------------------------------------------------------------------------
1795 # Configuration options related to the man page output
1796 #---------------------------------------------------------------------------
1797
1798 # If the GENERATE_MAN tag is set to YES doxygen will generate man pages for
1799 # classes and files.
1800 # The default value is: NO.
1801
1802 GENERATE_MAN = NO
1803
1804 # The MAN_OUTPUT tag is used to specify where the man pages will be put. If a
1805 # relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
1806 # it. A directory man3 will be created inside the directory specified by
1807 # MAN_OUTPUT.
1808 # The default directory is: man.
1809 # This tag requires that the tag GENERATE_MAN is set to YES.
1810
1811 MAN_OUTPUT = man
1812
1813 # The MAN_EXTENSION tag determines the extension that is added to the generated
1814 # man pages. In case the manual section does not start with a number, the number
1815 # 3 is prepended. The dot (.) at the beginning of the MAN_EXTENSION tag is
1816 # optional.
1817 # The default value is: .3.
1818 # This tag requires that the tag GENERATE_MAN is set to YES.
1819
1820 MAN_EXTENSION = .3
1821
1822 # If the MAN_LINKS tag is set to YES and doxygen generates man output, then it
1823 # will generate one additional man file for each entity documented in the real
1824 # man page(s). These additional files only source the real man page, but without
1825 # them the man command would be unable to find the correct page.
1826 # The default value is: NO.
1827 # This tag requires that the tag GENERATE_MAN is set to YES.
1828
1829 MAN_LINKS = NO
1830
1831 #---------------------------------------------------------------------------
1832 # Configuration options related to the XML output
1833 #---------------------------------------------------------------------------
1834
1835 # If the GENERATE_XML tag is set to YES doxygen will generate an XML file that
1836 # captures the structure of the code including all documentation.
1837 # The default value is: NO.
1838
1839 GENERATE_XML = NO
1840
1841 # The XML_OUTPUT tag is used to specify where the XML pages will be put. If a
1842 # relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
1843 # it.
1844 # The default directory is: xml.
1845 # This tag requires that the tag GENERATE_XML is set to YES.
1846
1847 XML_OUTPUT = xml
1848
1849 # The XML_SCHEMA tag can be used to specify a XML schema, which can be used by a
1850 # validating XML parser to check the syntax of the XML files.
1851 # This tag requires that the tag GENERATE_XML is set to YES.
1852
1853 XML_SCHEMA =
1854
1855 # The XML_DTD tag can be used to specify a XML DTD, which can be used by a
1856 # validating XML parser to check the syntax of the XML files.
1857 # This tag requires that the tag GENERATE_XML is set to YES.
1858
1859 XML_DTD =
1860
1861 # If the XML_PROGRAMLISTING tag is set to YES doxygen will dump the program
1862 # listings (including syntax highlighting and cross-referencing information) to
1863 # the XML output. Note that enabling this will significantly increase the size
1864 # of the XML output.
1865 # The default value is: YES.
1866 # This tag requires that the tag GENERATE_XML is set to YES.
1867
1868 XML_PROGRAMLISTING = YES
1869
1870 #---------------------------------------------------------------------------
1871 # Configuration options related to the DOCBOOK output
1872 #---------------------------------------------------------------------------
1873
1874 # If the GENERATE_DOCBOOK tag is set to YES doxygen will generate Docbook files
1875 # that can be used to generate PDF.
1876 # The default value is: NO.
1877
1878 GENERATE_DOCBOOK = NO
1879
1880 # The DOCBOOK_OUTPUT tag is used to specify where the Docbook pages will be put.
1881 # If a relative path is entered the value of OUTPUT_DIRECTORY will be put in
1882 # front of it.
1883 # The default directory is: docbook.
1884 # This tag requires that the tag GENERATE_DOCBOOK is set to YES.
1885
1886 DOCBOOK_OUTPUT = docbook
1887
1888 #---------------------------------------------------------------------------
1889 # Configuration options for the AutoGen Definitions output
1890 #---------------------------------------------------------------------------
1891
1892 # If the GENERATE_AUTOGEN_DEF tag is set to YES doxygen will generate an AutoGen
1893 # Definitions (see http://autogen.sf.net) file that captures the structure of
1894 # the code including all documentation. Note that this feature is still
1895 # experimental and incomplete at the moment.
1896 # The default value is: NO.
1897
1898 GENERATE_AUTOGEN_DEF = NO
1899
1900 #---------------------------------------------------------------------------
1901 # Configuration options related to the Perl module output
1902 #---------------------------------------------------------------------------
1903
1904 # If the GENERATE_PERLMOD tag is set to YES doxygen will generate a Perl module
1905 # file that captures the structure of the code including all documentation.
1906 #
1907 # Note that this feature is still experimental and incomplete at the moment.
1908 # The default value is: NO.
1909
1910 GENERATE_PERLMOD = NO
1911
1912 # If the PERLMOD_LATEX tag is set to YES doxygen will generate the necessary
1913 # Makefile rules, Perl scripts and LaTeX code to be able to generate PDF and DVI
1914 # output from the Perl module output.
1915 # The default value is: NO.
1916 # This tag requires that the tag GENERATE_PERLMOD is set to YES.
1917
1918 PERLMOD_LATEX = NO
1919
1920 # If the PERLMOD_PRETTY tag is set to YES the Perl module output will be nicely
1921 # formatted so it can be parsed by a human reader. This is useful if you want to
1922 # understand what is going on. On the other hand, if this tag is set to NO the
1923 # size of the Perl module output will be much smaller and Perl will parse it
1924 # just the same.
1925 # The default value is: YES.
1926 # This tag requires that the tag GENERATE_PERLMOD is set to YES.
1927
1928 PERLMOD_PRETTY = YES
1929
1930 # The names of the make variables in the generated doxyrules.make file are
1931 # prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. This is useful
1932 # so different doxyrules.make files included by the same Makefile don't
1933 # overwrite each other's variables.
1934 # This tag requires that the tag GENERATE_PERLMOD is set to YES.
1935
1936 PERLMOD_MAKEVAR_PREFIX =
1937
1938 #---------------------------------------------------------------------------
1939 # Configuration options related to the preprocessor
1940 #---------------------------------------------------------------------------
1941
1942 # If the ENABLE_PREPROCESSING tag is set to YES doxygen will evaluate all
1943 # C-preprocessor directives found in the sources and include files.
1944 # The default value is: YES.
1945
1946 ENABLE_PREPROCESSING = YES
1947
1948 # If the MACRO_EXPANSION tag is set to YES doxygen will expand all macro names
1949 # in the source code. If set to NO only conditional compilation will be
1950 # performed. Macro expansion can be done in a controlled way by setting
1951 # EXPAND_ONLY_PREDEF to YES.
1952 # The default value is: NO.
1953 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
1954
1955 MACRO_EXPANSION = NO
1956
1957 # If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES then
1958 # the macro expansion is limited to the macros specified with the PREDEFINED and
1959 # EXPAND_AS_DEFINED tags.
1960 # The default value is: NO.
1961 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
1962
1963 EXPAND_ONLY_PREDEF = NO
1964
1965 # If the SEARCH_INCLUDES tag is set to YES the includes files in the
1966 # INCLUDE_PATH will be searched if a #include is found.
1967 # The default value is: YES.
1968 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
1969
1970 SEARCH_INCLUDES = YES
1971
1972 # The INCLUDE_PATH tag can be used to specify one or more directories that
1973 # contain include files that are not input files but should be processed by the
1974 # preprocessor.
1975 # This tag requires that the tag SEARCH_INCLUDES is set to YES.
1976
1977 INCLUDE_PATH =
1978
1979 # You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
1980 # patterns (like *.h and *.hpp) to filter out the header-files in the
1981 # directories. If left blank, the patterns specified with FILE_PATTERNS will be
1982 # used.
1983 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
1984
1985 INCLUDE_FILE_PATTERNS =
1986
1987 # The PREDEFINED tag can be used to specify one or more macro names that are
1988 # defined before the preprocessor is started (similar to the -D option of e.g.
1989 # gcc). The argument of the tag is a list of macros of the form: name or
1990 # name=definition (no spaces). If the definition and the "=" are omitted, "=1"
1991 # is assumed. To prevent a macro definition from being undefined via #undef or
1992 # recursively expanded use the := operator instead of the = operator.
1993 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
1994
1995 PREDEFINED =
1996
1997 # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
1998 # tag can be used to specify a list of macro names that should be expanded. The
1999 # macro definition that is found in the sources will be used. Use the PREDEFINED
2000 # tag if you want to use a different macro definition that overrules the
2001 # definition found in the source code.
2002 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
2003
2004 EXPAND_AS_DEFINED =
2005
2006 # If the SKIP_FUNCTION_MACROS tag is set to YES then doxygen's preprocessor will
2007 # remove all refrences to function-like macros that are alone on a line, have an
2008 # all uppercase name, and do not end with a semicolon. Such function macros are
2009 # typically used for boiler-plate code, and will confuse the parser if not
2010 # removed.
2011 # The default value is: YES.
2012 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
2013
2014 SKIP_FUNCTION_MACROS = YES
2015
2016 #---------------------------------------------------------------------------
2017 # Configuration options related to external references
2018 #---------------------------------------------------------------------------
2019
2020 # The TAGFILES tag can be used to specify one or more tag files. For each tag
2021 # file the location of the external documentation should be added. The format of
2022 # a tag file without this location is as follows:
2023 # TAGFILES = file1 file2 ...
2024 # Adding location for the tag files is done as follows:
2025 # TAGFILES = file1=loc1 "file2 = loc2" ...
2026 # where loc1 and loc2 can be relative or absolute paths or URLs. See the
2027 # section "Linking to external documentation" for more information about the use
2028 # of tag files.
2029 # Note: Each tag file must have an unique name (where the name does NOT include
2030 # the path). If a tag file is not located in the directory in which doxygen is
2031 # run, you must also specify the path to the tagfile here.
2032
2033 TAGFILES =
2034
2035 # When a file name is specified after GENERATE_TAGFILE, doxygen will create a
2036 # tag file that is based on the input files it reads. See section "Linking to
2037 # external documentation" for more information about the usage of tag files.
2038
2039 GENERATE_TAGFILE =
2040
2041 # If the ALLEXTERNALS tag is set to YES all external class will be listed in the
2042 # class index. If set to NO only the inherited external classes will be listed.
2043 # The default value is: NO.
2044
2045 ALLEXTERNALS = NO
2046
2047 # If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed in
2048 # the modules index. If set to NO, only the current project's groups will be
2049 # listed.
2050 # The default value is: YES.
2051
2052 EXTERNAL_GROUPS = YES
2053
2054 # If the EXTERNAL_PAGES tag is set to YES all external pages will be listed in
2055 # the related pages index. If set to NO, only the current project's pages will
2056 # be listed.
2057 # The default value is: YES.
2058
2059 EXTERNAL_PAGES = YES
2060
2061 # The PERL_PATH should be the absolute path and name of the perl script
2062 # interpreter (i.e. the result of 'which perl').
2063 # The default file (with absolute path) is: /usr/bin/perl.
2064
2065 PERL_PATH = /usr/bin/perl
2066
2067 #---------------------------------------------------------------------------
2068 # Configuration options related to the dot tool
2069 #---------------------------------------------------------------------------
2070
2071 # If the CLASS_DIAGRAMS tag is set to YES doxygen will generate a class diagram
2072 # (in HTML and LaTeX) for classes with base or super classes. Setting the tag to
2073 # NO turns the diagrams off. Note that this option also works with HAVE_DOT
2074 # disabled, but it is recommended to install and use dot, since it yields more
2075 # powerful graphs.
2076 # The default value is: YES.
2077
2078 CLASS_DIAGRAMS = YES
2079
2080 # You can define message sequence charts within doxygen comments using the \msc
2081 # command. Doxygen will then run the mscgen tool (see:
2082 # http://www.mcternan.me.uk/mscgen/)) to produce the chart and insert it in the
2083 # documentation. The MSCGEN_PATH tag allows you to specify the directory where
2084 # the mscgen tool resides. If left empty the tool is assumed to be found in the
2085 # default search path.
2086
2087 MSCGEN_PATH =
2088
2089 # You can include diagrams made with dia in doxygen documentation. Doxygen will
2090 # then run dia to produce the diagram and insert it in the documentation. The
2091 # DIA_PATH tag allows you to specify the directory where the dia binary resides.
2092 # If left empty dia is assumed to be found in the default search path.
2093
2094 DIA_PATH =
2095
2096 # If set to YES, the inheritance and collaboration graphs will hide inheritance
2097 # and usage relations if the target is undocumented or is not a class.
2098 # The default value is: YES.
2099
2100 HIDE_UNDOC_RELATIONS = YES
2101
2102 # If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
2103 # available from the path. This tool is part of Graphviz (see:
2104 # http://www.graphviz.org/), a graph visualization toolkit from AT&T and Lucent
2105 # Bell Labs. The other options in this section have no effect if this option is
2106 # set to NO
2107 # The default value is: NO.
2108
2109 HAVE_DOT = NO
2110
2111 # The DOT_NUM_THREADS specifies the number of dot invocations doxygen is allowed
2112 # to run in parallel. When set to 0 doxygen will base this on the number of
2113 # processors available in the system. You can set it explicitly to a value
2114 # larger than 0 to get control over the balance between CPU load and processing
2115 # speed.
2116 # Minimum value: 0, maximum value: 32, default value: 0.
2117 # This tag requires that the tag HAVE_DOT is set to YES.
2118
2119 DOT_NUM_THREADS = 0
2120
2121 # When you want a differently looking font n the dot files that doxygen
2122 # generates you can specify the font name using DOT_FONTNAME. You need to make
2123 # sure dot is able to find the font, which can be done by putting it in a
2124 # standard location or by setting the DOTFONTPATH environment variable or by
2125 # setting DOT_FONTPATH to the directory containing the font.
2126 # The default value is: Helvetica.
2127 # This tag requires that the tag HAVE_DOT is set to YES.
2128
2129 DOT_FONTNAME = FreeSans
2130
2131 # The DOT_FONTSIZE tag can be used to set the size (in points) of the font of
2132 # dot graphs.
2133 # Minimum value: 4, maximum value: 24, default value: 10.
2134 # This tag requires that the tag HAVE_DOT is set to YES.
2135
2136 DOT_FONTSIZE = 10
2137
2138 # By default doxygen will tell dot to use the default font as specified with
2139 # DOT_FONTNAME. If you specify a different font using DOT_FONTNAME you can set
2140 # the path where dot can find it using this tag.
2141 # This tag requires that the tag HAVE_DOT is set to YES.
2142
2143 DOT_FONTPATH =
2144
2145 # If the CLASS_GRAPH tag is set to YES then doxygen will generate a graph for
2146 # each documented class showing the direct and indirect inheritance relations.
2147 # Setting this tag to YES will force the CLASS_DIAGRAMS tag to NO.
2148 # The default value is: YES.
2149 # This tag requires that the tag HAVE_DOT is set to YES.
2150
2151 CLASS_GRAPH = YES
2152
2153 # If the COLLABORATION_GRAPH tag is set to YES then doxygen will generate a
2154 # graph for each documented class showing the direct and indirect implementation
2155 # dependencies (inheritance, containment, and class references variables) of the
2156 # class with other documented classes.
2157 # The default value is: YES.
2158 # This tag requires that the tag HAVE_DOT is set to YES.
2159
2160 COLLABORATION_GRAPH = YES
2161
2162 # If the GROUP_GRAPHS tag is set to YES then doxygen will generate a graph for
2163 # groups, showing the direct groups dependencies.
2164 # The default value is: YES.
2165 # This tag requires that the tag HAVE_DOT is set to YES.
2166
2167 GROUP_GRAPHS = YES
2168
2169 # If the UML_LOOK tag is set to YES doxygen will generate inheritance and
2170 # collaboration diagrams in a style similar to the OMG's Unified Modeling
2171 # Language.
2172 # The default value is: NO.
2173 # This tag requires that the tag HAVE_DOT is set to YES.
2174
2175 UML_LOOK = NO
2176
2177 # If the UML_LOOK tag is enabled, the fields and methods are shown inside the
2178 # class node. If there are many fields or methods and many nodes the graph may
2179 # become too big to be useful. The UML_LIMIT_NUM_FIELDS threshold limits the
2180 # number of items for each type to make the size more manageable. Set this to 0
2181 # for no limit. Note that the threshold may be exceeded by 50% before the limit
2182 # is enforced. So when you set the threshold to 10, up to 15 fields may appear,
2183 # but if the number exceeds 15, the total amount of fields shown is limited to
2184 # 10.
2185 # Minimum value: 0, maximum value: 100, default value: 10.
2186 # This tag requires that the tag HAVE_DOT is set to YES.
2187
2188 UML_LIMIT_NUM_FIELDS = 10
2189
2190 # If the TEMPLATE_RELATIONS tag is set to YES then the inheritance and
2191 # collaboration graphs will show the relations between templates and their
2192 # instances.
2193 # The default value is: NO.
2194 # This tag requires that the tag HAVE_DOT is set to YES.
2195
2196 TEMPLATE_RELATIONS = NO
2197
2198 # If the INCLUDE_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are set to
2199 # YES then doxygen will generate a graph for each documented file showing the
2200 # direct and indirect include dependencies of the file with other documented
2201 # files.
2202 # The default value is: YES.
2203 # This tag requires that the tag HAVE_DOT is set to YES.
2204
2205 INCLUDE_GRAPH = YES
2206
2207 # If the INCLUDED_BY_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are
2208 # set to YES then doxygen will generate a graph for each documented file showing
2209 # the direct and indirect include dependencies of the file with other documented
2210 # files.
2211 # The default value is: YES.
2212 # This tag requires that the tag HAVE_DOT is set to YES.
2213
2214 INCLUDED_BY_GRAPH = YES
2215
2216 # If the CALL_GRAPH tag is set to YES then doxygen will generate a call
2217 # dependency graph for every global function or class method.
2218 #
2219 # Note that enabling this option will significantly increase the time of a run.
2220 # So in most cases it will be better to enable call graphs for selected
2221 # functions only using the \callgraph command.
2222 # The default value is: NO.
2223 # This tag requires that the tag HAVE_DOT is set to YES.
2224
2225 CALL_GRAPH = NO
2226
2227 # If the CALLER_GRAPH tag is set to YES then doxygen will generate a caller
2228 # dependency graph for every global function or class method.
2229 #
2230 # Note that enabling this option will significantly increase the time of a run.
2231 # So in most cases it will be better to enable caller graphs for selected
2232 # functions only using the \callergraph command.
2233 # The default value is: NO.
2234 # This tag requires that the tag HAVE_DOT is set to YES.
2235
2236 CALLER_GRAPH = NO
2237
2238 # If the GRAPHICAL_HIERARCHY tag is set to YES then doxygen will graphical
2239 # hierarchy of all classes instead of a textual one.
2240 # The default value is: YES.
2241 # This tag requires that the tag HAVE_DOT is set to YES.
2242
2243 GRAPHICAL_HIERARCHY = YES
2244
2245 # If the DIRECTORY_GRAPH tag is set to YES then doxygen will show the
2246 # dependencies a directory has on other directories in a graphical way. The
2247 # dependency relations are determined by the #include relations between the
2248 # files in the directories.
2249 # The default value is: YES.
2250 # This tag requires that the tag HAVE_DOT is set to YES.
2251
2252 DIRECTORY_GRAPH = YES
2253
2254 # The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
2255 # generated by dot.
2256 # Note: If you choose svg you need to set HTML_FILE_EXTENSION to xhtml in order
2257 # to make the SVG files visible in IE 9+ (other browsers do not have this
2258 # requirement).
2259 # Possible values are: png, jpg, gif and svg.
2260 # The default value is: png.
2261 # This tag requires that the tag HAVE_DOT is set to YES.
2262
2263 DOT_IMAGE_FORMAT = png
2264
2265 # If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to
2266 # enable generation of interactive SVG images that allow zooming and panning.
2267 #
2268 # Note that this requires a modern browser other than Internet Explorer. Tested
2269 # and working are Firefox, Chrome, Safari, and Opera.
2270 # Note: For IE 9+ you need to set HTML_FILE_EXTENSION to xhtml in order to make
2271 # the SVG files visible. Older versions of IE do not have SVG support.
2272 # The default value is: NO.
2273 # This tag requires that the tag HAVE_DOT is set to YES.
2274
2275 INTERACTIVE_SVG = NO
2276
2277 # The DOT_PATH tag can be used to specify the path where the dot tool can be
2278 # found. If left blank, it is assumed the dot tool can be found in the path.
2279 # This tag requires that the tag HAVE_DOT is set to YES.
2280
2281 DOT_PATH =
2282
2283 # The DOTFILE_DIRS tag can be used to specify one or more directories that
2284 # contain dot files that are included in the documentation (see the \dotfile
2285 # command).
2286 # This tag requires that the tag HAVE_DOT is set to YES.
2287
2288 DOTFILE_DIRS =
2289
2290 # The MSCFILE_DIRS tag can be used to specify one or more directories that
2291 # contain msc files that are included in the documentation (see the \mscfile
2292 # command).
2293
2294 MSCFILE_DIRS =
2295
2296 # The DIAFILE_DIRS tag can be used to specify one or more directories that
2297 # contain dia files that are included in the documentation (see the \diafile
2298 # command).
2299
2300 DIAFILE_DIRS =
2301
2302 # The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of nodes
2303 # that will be shown in the graph. If the number of nodes in a graph becomes
2304 # larger than this value, doxygen will truncate the graph, which is visualized
2305 # by representing a node as a red box. Note that doxygen if the number of direct
2306 # children of the root node in a graph is already larger than
2307 # DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note that
2308 # the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH.
2309 # Minimum value: 0, maximum value: 10000, default value: 50.
2310 # This tag requires that the tag HAVE_DOT is set to YES.
2311
2312 DOT_GRAPH_MAX_NODES = 50
2313
2314 # The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs
2315 # generated by dot. A depth value of 3 means that only nodes reachable from the
2316 # root by following a path via at most 3 edges will be shown. Nodes that lay
2317 # further from the root node will be omitted. Note that setting this option to 1
2318 # or 2 may greatly reduce the computation time needed for large code bases. Also
2319 # note that the size of a graph can be further restricted by
2320 # DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
2321 # Minimum value: 0, maximum value: 1000, default value: 0.
2322 # This tag requires that the tag HAVE_DOT is set to YES.
2323
2324 MAX_DOT_GRAPH_DEPTH = 1000
2325
2326 # Set the DOT_TRANSPARENT tag to YES to generate images with a transparent
2327 # background. This is disabled by default, because dot on Windows does not seem
2328 # to support this out of the box.
2329 #
2330 # Warning: Depending on the platform used, enabling this option may lead to
2331 # badly anti-aliased labels on the edges of a graph (i.e. they become hard to
2332 # read).
2333 # The default value is: NO.
2334 # This tag requires that the tag HAVE_DOT is set to YES.
2335
2336 DOT_TRANSPARENT = NO
2337
2338 # Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output
2339 # files in one run (i.e. multiple -o and -T options on the command line). This
2340 # makes dot run faster, but since only newer versions of dot (>1.8.10) support
2341 # this, this feature is disabled by default.
2342 # The default value is: NO.
2343 # This tag requires that the tag HAVE_DOT is set to YES.
2344
2345 DOT_MULTI_TARGETS = NO
2346
2347 # If the GENERATE_LEGEND tag is set to YES doxygen will generate a legend page
2348 # explaining the meaning of the various boxes and arrows in the dot generated
2349 # graphs.
2350 # The default value is: YES.
2351 # This tag requires that the tag HAVE_DOT is set to YES.
2352
2353 GENERATE_LEGEND = YES
2354
2355 # If the DOT_CLEANUP tag is set to YES doxygen will remove the intermediate dot
2356 # files that are used to generate the various graphs.
2357 # The default value is: YES.
2358 # This tag requires that the tag HAVE_DOT is set to YES.
2359
2360 DOT_CLEANUP = YES
494494
495495 bool PhysicalFontImpl::findAndAssignBaseFontMap () {
496496 const FontEncoding *enc = encoding();
497 if (enc && enc->mapsToCharIndex()) {
497 if (enc && !enc->mapsToUnicode() && enc->mapsToCharIndex()) {
498498 // try to find a base font map that maps from character indexes to a suitable
499499 // target encoding supported by the font file
500500 if (const FontEncoding *bfmap = enc->findCompatibleBaseFontMap(this, _charmapID))
7171 }
7272
7373
74 bool FontEncodingPair::mapsToUnicode () const {
75 if (_enc2)
76 return _enc2->mapsToUnicode();
77 if (_enc1)
78 return _enc1->mapsToUnicode();
79 return false;
80 }
81
82
7483 const FontEncoding* FontEncodingPair::findCompatibleBaseFontMap (const PhysicalFont *font, CharMapID &charmapID) const {
7584 if (_enc2)
7685 return _enc2->findCompatibleBaseFontMap(font, charmapID);
3131 virtual ~FontEncoding () =default;
3232 virtual Character decode (uint32_t c) const =0;
3333 virtual bool mapsToCharIndex () const =0;
34 virtual bool mapsToUnicode () const {return false;}
3435 virtual const FontEncoding* findCompatibleBaseFontMap (const PhysicalFont *font, CharMapID &charmapID) const {return nullptr;}
3536 static FontEncoding* encoding (const std::string &encname);
3637 };
4849 FontEncodingPair (const FontEncoding *enc1, const FontEncoding *enc2) : _enc1(enc1), _enc2(enc2) {}
4950 Character decode (uint32_t c) const override;
5051 bool mapsToCharIndex () const override;
52 bool mapsToUnicode () const override;
5153 const FontEncoding* findCompatibleBaseFontMap (const PhysicalFont *font, CharMapID &charmapID) const override;
5254 const FontEncoding* enc1 () const {return _enc1;}
5355 const FontEncoding* enc2 () const {return _enc2;}
100100
101101
102102 int FontManager::vfFirstFontNum (const VirtualFont *vf) const {
103 auto it = _vfFirstFontNumMap.find(vf);
104 return (it == _vfFirstFontNumMap.end()) ? -1 : (int) it->second;
105 }
106
107
108 Font* FontManager::vfFirstFont (const VirtualFont *vf) const {
103109 auto it = _vfFirstFontMap.find(vf);
104 return (it == _vfFirstFontMap.end()) ? -1 : (int) it->second;
110 return (it == _vfFirstFontMap.end()) ? nullptr : it->second;
105111 }
106112
107113
220226 else { // register font referenced in vf file
221227 const VirtualFont *vf = _vfStack.top();
222228 _vfnum2id[vf][fontnum] = newid;
223 if (_vfFirstFontMap.find(vf) == _vfFirstFontMap.end()) // first fontdef of VF?
224 _vfFirstFontMap[vf] = fontnum;
229 if (_vfFirstFontNumMap.find(vf) == _vfFirstFontNumMap.end()) { // first fontdef of VF?
230 _vfFirstFontNumMap.emplace(vf, fontnum);
231 _vfFirstFontMap.emplace(vf, _fonts.back().get());
232 }
225233 }
226234 return newid;
227235 }
4040 * we need a single list with unique IDs of all physical fonts. Characters of
4141 * virtual fonts are completely replaced by their DVI description so they don't
4242 * appear anywhere in the output. */
43 class FontManager
44 {
45 using Num2IdMap = std::unordered_map<uint32_t,int>;
46 using Name2IdMap = std::unordered_map<std::string,int>;
47 using VfNum2IdMap = std::unordered_map<const VirtualFont*,Num2IdMap>;
48 using VfFirstFontMap = std::unordered_map<const VirtualFont*,uint32_t>;
43 class FontManager {
44 using Num2IdMap = std::unordered_map<uint32_t, int>;
45 using Name2IdMap = std::unordered_map<std::string, int>;
46 using VfNum2IdMap = std::unordered_map<const VirtualFont*, Num2IdMap>;
47 using VfFirstFontNumMap = std::unordered_map<const VirtualFont*, uint32_t>;
48 using VfFirstFontMap = std::unordered_map<const VirtualFont*, Font*>;
4949 using VfStack = std::stack<VirtualFont*>;
5050
5151 public:
6262 int fontID (const std::string &name) const;
6363 int fontnum (int id) const;
6464 int vfFirstFontNum (const VirtualFont *vf) const;
65 Font* vfFirstFont (const VirtualFont *vf) const;
6566 void enterVF (VirtualFont *vf);
6667 void leaveVF ();
6768 void assignVFChar (int c, std::vector<uint8_t> &&dvi);
7677 Name2IdMap _name2id; ///< fontname -> fontID
7778 VfNum2IdMap _vfnum2id;
7879 VfStack _vfStack; ///< stack of currently processed virtual fonts
79 VfFirstFontMap _vfFirstFontMap; ///< VF -> local font number of first font defined in VF
80 VfFirstFontNumMap _vfFirstFontNumMap; ///< VF -> local font number of first font defined in VF
81 VfFirstFontMap _vfFirstFontMap; ///< VF -> first font defined
8082 };
8183
8284 #endif
161161 if (!mapline.fontfname().empty() || !mapline.encname().empty()) {
162162 vector<Subfont*> subfonts;
163163 if (mapline.sfd())
164 mapline.sfd()->subfonts(subfonts);
164 subfonts = mapline.sfd()->subfonts();
165165 else
166166 subfonts.push_back(nullptr);
167167 for (Subfont *subfont : subfonts) {
190190
191191 vector<Subfont*> subfonts;
192192 if (mapline.sfd())
193 mapline.sfd()->subfonts(subfonts);
193 subfonts = mapline.sfd()->subfonts();
194194 else
195195 subfonts.push_back(nullptr);
196196 for (Subfont *subfont : subfonts) {
214214 if (!mapline.texname().empty()) {
215215 vector<Subfont*> subfonts;
216216 if (mapline.sfd())
217 mapline.sfd()->subfonts(subfonts);
217 subfonts = mapline.sfd()->subfonts();
218218 else
219219 subfonts.push_back(nullptr);
220220 for (const Subfont *subfont : subfonts) {
+0
-1425
src/Makefile.in less more
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16
17 VPATH = @srcdir@
18 am__is_gnu_make = { \
19 if test -z '$(MAKELEVEL)'; then \
20 false; \
21 elif test -n '$(MAKE_HOST)'; then \
22 true; \
23 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
24 true; \
25 else \
26 false; \
27 fi; \
28 }
29 am__make_running_with_option = \
30 case $${target_option-} in \
31 ?) ;; \
32 *) echo "am__make_running_with_option: internal error: invalid" \
33 "target option '$${target_option-}' specified" >&2; \
34 exit 1;; \
35 esac; \
36 has_opt=no; \
37 sane_makeflags=$$MAKEFLAGS; \
38 if $(am__is_gnu_make); then \
39 sane_makeflags=$$MFLAGS; \
40 else \
41 case $$MAKEFLAGS in \
42 *\\[\ \ ]*) \
43 bs=\\; \
44 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
45 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
46 esac; \
47 fi; \
48 skip_next=no; \
49 strip_trailopt () \
50 { \
51 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
52 }; \
53 for flg in $$sane_makeflags; do \
54 test $$skip_next = yes && { skip_next=no; continue; }; \
55 case $$flg in \
56 *=*|--*) continue;; \
57 -*I) strip_trailopt 'I'; skip_next=yes;; \
58 -*I?*) strip_trailopt 'I';; \
59 -*O) strip_trailopt 'O'; skip_next=yes;; \
60 -*O?*) strip_trailopt 'O';; \
61 -*l) strip_trailopt 'l'; skip_next=yes;; \
62 -*l?*) strip_trailopt 'l';; \
63 -[dEDm]) skip_next=yes;; \
64 -[JT]) skip_next=yes;; \
65 esac; \
66 case $$flg in \
67 *$$target_option*) has_opt=yes; break;; \
68 esac; \
69 done; \
70 test $$has_opt = yes
71 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
72 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
73 pkgdatadir = $(datadir)/@PACKAGE@
74 pkgincludedir = $(includedir)/@PACKAGE@
75 pkglibdir = $(libdir)/@PACKAGE@
76 pkglibexecdir = $(libexecdir)/@PACKAGE@
77 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
78 install_sh_DATA = $(install_sh) -c -m 644
79 install_sh_PROGRAM = $(install_sh) -c
80 install_sh_SCRIPT = $(install_sh) -c
81 INSTALL_HEADER = $(INSTALL_DATA)
82 transform = $(program_transform_name)
83 NORMAL_INSTALL = :
84 PRE_INSTALL = :
85 POST_INSTALL = :
86 NORMAL_UNINSTALL = :
87 PRE_UNINSTALL = :
88 POST_UNINSTALL = :
89 build_triplet = @build@
90 host_triplet = @host@
91 target_triplet = @target@
92 bin_PROGRAMS = dvisvgm$(EXEEXT)
93 @HAVE_BROTLI_FALSE@am__append_1 = -I$(dvisvgm_srcdir)/libs/brotli/include
94 @HAVE_BROTLI_FALSE@am__append_2 = ../libs/brotli/libbrotli.a
95 @HAVE_WOFF2_FALSE@am__append_3 = -I$(dvisvgm_srcdir)/libs/woff2/include
96 @HAVE_WOFF2_FALSE@am__append_4 = ../libs/woff2/libwoff2.a
97 @ENABLE_WOFF_TRUE@am__append_5 = \
98 @ENABLE_WOFF_TRUE@ ../libs/ff-woff/libfontforge.a \
99 @ENABLE_WOFF_TRUE@ $(WOFF2_LIBS) \
100 @ENABLE_WOFF_TRUE@ $(BROTLI_LIBS)
101
102 @USE_BUNDLED_MD5_TRUE@am__append_6 = ../libs/md5/libmd5.a
103 @USE_BUNDLED_MD5_FALSE@am__append_7 = $(LIBCRYPTO_LIBS)
104 @ENABLE_WOFF_TRUE@am__append_8 = ffwrapper.c ffwrapper.h
105 @ENABLE_WOFF_TRUE@am__append_9 = \
106 @ENABLE_WOFF_TRUE@ -I$(dvisvgm_srcdir)/libs/ff-woff/fontforge \
107 @ENABLE_WOFF_TRUE@ -I$(dvisvgm_srcdir)/libs/ff-woff/inc
108
109 @ENABLE_WOFF_TRUE@am__append_10 = $(TTFAUTOHINT_CFLAGS) \
110 @ENABLE_WOFF_TRUE@ $(BROTLI_CFLAGS) $(WOFF2_CFLAGS)
111 @ENABLE_WOFF_TRUE@@USE_BUNDLED_MD5_TRUE@am__append_11 = -I$(dvisvgm_srcdir)/libs/md5
112 @ENABLE_WOFF_TRUE@@USE_BUNDLED_MD5_FALSE@am__append_12 = $(LIBCRYPTO_CFLAGS)
113 @ENABLE_WOFF_TRUE@am__append_13 = $(TTFAUTOHINT_LIBS)
114 subdir = src
115 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
116 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
117 $(top_srcdir)/m4/ax_code_coverage.m4 \
118 $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \
119 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
120 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
121 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
122 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
123 $(ACLOCAL_M4)
124 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
125 mkinstalldirs = $(install_sh) -d
126 CONFIG_HEADER = $(top_builddir)/config.h
127 CONFIG_CLEAN_FILES = version.hpp
128 CONFIG_CLEAN_VPATH_FILES =
129 am__installdirs = "$(DESTDIR)$(bindir)"
130 PROGRAMS = $(bin_PROGRAMS)
131 LTLIBRARIES = $(noinst_LTLIBRARIES)
132 libdvisvgm_la_DEPENDENCIES = optimizer/liboptimizer.la
133 am__libdvisvgm_la_SOURCES_DIST = AGLTable.hpp BasicDVIReader.hpp \
134 BasicDVIReader.cpp Bezier.hpp Bezier.cpp \
135 BgColorSpecialHandler.hpp BgColorSpecialHandler.cpp Bitmap.hpp \
136 Bitmap.cpp BoundingBox.hpp BoundingBox.cpp Calculator.hpp \
137 Calculator.cpp Character.hpp CharMapID.hpp CharMapID.cpp \
138 CLCommandLine.hpp CLCommandLine.cpp CMap.hpp CMap.cpp \
139 CMapManager.hpp CMapManager.cpp CMapReader.hpp CMapReader.cpp \
140 CLOption.hpp Color.hpp Color.cpp ColorSpecialHandler.hpp \
141 ColorSpecialHandler.cpp CommandLine.hpp Directory.hpp \
142 Directory.cpp DVIActions.hpp DLLoader.hpp DLLoader.cpp \
143 DVIReader.hpp DVIReader.cpp DvisvgmSpecialHandler.hpp \
144 DvisvgmSpecialHandler.cpp DVIToSVG.hpp DVIToSVG.cpp \
145 DVIToSVGActions.hpp DVIToSVGActions.cpp EllipticalArc.hpp \
146 EllipticalArc.cpp EmSpecialHandler.hpp EmSpecialHandler.cpp \
147 EncFile.hpp EncFile.cpp EPSFile.hpp EPSFile.cpp EPSToSVG.hpp \
148 FileFinder.hpp FileFinder.cpp FilePath.hpp FilePath.cpp \
149 FileSystem.hpp FileSystem.cpp FixWord.hpp Font.hpp Font.cpp \
150 FontCache.hpp FontCache.cpp FontEncoding.hpp FontEncoding.cpp \
151 FontEngine.hpp FontEngine.cpp FontManager.hpp FontManager.cpp \
152 FontMap.hpp FontMap.cpp FontMetrics.hpp FontMetrics.cpp \
153 FontStyle.hpp FontWriter.hpp FontWriter.cpp GFGlyphTracer.hpp \
154 GFGlyphTracer.cpp GFReader.hpp GFReader.cpp GFTracer.hpp \
155 GFTracer.cpp Ghostscript.hpp Ghostscript.cpp Glyph.hpp \
156 GlyphTracerMessages.hpp GraphicsPath.hpp HashFunction.hpp \
157 HashFunction.cpp HtmlSpecialHandler.hpp HtmlSpecialHandler.cpp \
158 HyperlinkManager.hpp HyperlinkManager.cpp ImageToSVG.hpp \
159 ImageToSVG.cpp InputBuffer.hpp InputBuffer.cpp InputReader.hpp \
160 InputReader.cpp JFM.hpp JFM.cpp Length.hpp Length.cpp \
161 macros.hpp MapLine.hpp MapLine.cpp Matrix.hpp Matrix.cpp \
162 MD5HashFunction.hpp Message.hpp Message.cpp \
163 MessageException.hpp MetafontWrapper.hpp MetafontWrapper.cpp \
164 NoPsSpecialHandler.hpp NoPsSpecialHandler.cpp \
165 NumericRanges.hpp PageRanges.hpp PageRanges.cpp PageSize.hpp \
166 PageSize.cpp Pair.hpp PapersizeSpecialHandler.hpp \
167 PapersizeSpecialHandler.cpp PathClipper.hpp PathClipper.cpp \
168 PDFParser.hpp PDFParser.cpp PdfSpecialHandler.hpp \
169 PdfSpecialHandler.cpp PDFToSVG.hpp PreScanDVIReader.hpp \
170 PreScanDVIReader.cpp Process.hpp Process.cpp psdefs.cpp \
171 PSFilter.hpp PSInterpreter.hpp PSInterpreter.cpp PSPattern.hpp \
172 PSPattern.cpp PSPreviewFilter.hpp PSPreviewFilter.cpp \
173 PsSpecialHandler.hpp PsSpecialHandler.cpp RangeMap.hpp \
174 RangeMap.cpp ShadingPatch.hpp ShadingPatch.cpp \
175 SignalHandler.hpp SignalHandler.cpp SourceInput.hpp \
176 SourceInput.cpp SpecialActions.hpp SpecialHandler.hpp \
177 SpecialManager.hpp SpecialManager.cpp StreamReader.hpp \
178 StreamReader.cpp StreamWriter.hpp StreamWriter.cpp Subfont.hpp \
179 Subfont.cpp SVGCharHandler.hpp SVGCharHandler.cpp \
180 SVGCharHandlerFactory.hpp SVGCharHandlerFactory.cpp \
181 SVGCharPathHandler.hpp SVGCharPathHandler.cpp \
182 SVGCharTspanTextHandler.hpp SVGCharTspanTextHandler.cpp \
183 SVGOutput.hpp SVGOutput.cpp SVGSingleCharTextHandler.hpp \
184 SVGSingleCharTextHandler.cpp SVGTree.hpp SVGTree.cpp \
185 System.hpp System.cpp TensorProductPatch.hpp \
186 TensorProductPatch.cpp Terminal.hpp Terminal.cpp TFM.hpp \
187 TFM.cpp ToUnicodeMap.hpp ToUnicodeMap.cpp \
188 TpicSpecialHandler.hpp TpicSpecialHandler.cpp \
189 TriangularPatch.hpp TriangularPatch.cpp TrueTypeFont.hpp \
190 TrueTypeFont.cpp TTFAutohint.hpp TTFAutohint.cpp Unicode.hpp \
191 Unicode.cpp utility.hpp utility.cpp VectorIterator.hpp \
192 VectorStream.hpp VFActions.hpp VFReader.hpp VFReader.cpp \
193 windows.hpp XMLDocument.hpp XMLDocument.cpp XMLNode.hpp \
194 XMLNode.cpp XMLString.hpp XMLString.cpp XXHashFunction.hpp \
195 ZLibOutputStream.hpp ffwrapper.c ffwrapper.h
196 @ENABLE_WOFF_TRUE@am__objects_1 = ffwrapper.lo
197 am_libdvisvgm_la_OBJECTS = BasicDVIReader.lo Bezier.lo \
198 BgColorSpecialHandler.lo Bitmap.lo BoundingBox.lo \
199 Calculator.lo CharMapID.lo CLCommandLine.lo CMap.lo \
200 CMapManager.lo CMapReader.lo Color.lo ColorSpecialHandler.lo \
201 Directory.lo DLLoader.lo DVIReader.lo DvisvgmSpecialHandler.lo \
202 DVIToSVG.lo DVIToSVGActions.lo EllipticalArc.lo \
203 EmSpecialHandler.lo EncFile.lo EPSFile.lo FileFinder.lo \
204 FilePath.lo FileSystem.lo Font.lo FontCache.lo FontEncoding.lo \
205 FontEngine.lo FontManager.lo FontMap.lo FontMetrics.lo \
206 FontWriter.lo GFGlyphTracer.lo GFReader.lo GFTracer.lo \
207 Ghostscript.lo HashFunction.lo HtmlSpecialHandler.lo \
208 HyperlinkManager.lo ImageToSVG.lo InputBuffer.lo \
209 InputReader.lo JFM.lo Length.lo MapLine.lo Matrix.lo \
210 Message.lo MetafontWrapper.lo NoPsSpecialHandler.lo \
211 PageRanges.lo PageSize.lo PapersizeSpecialHandler.lo \
212 PathClipper.lo PDFParser.lo PdfSpecialHandler.lo \
213 PreScanDVIReader.lo Process.lo psdefs.lo PSInterpreter.lo \
214 PSPattern.lo PSPreviewFilter.lo PsSpecialHandler.lo \
215 RangeMap.lo ShadingPatch.lo SignalHandler.lo SourceInput.lo \
216 SpecialManager.lo StreamReader.lo StreamWriter.lo Subfont.lo \
217 SVGCharHandler.lo SVGCharHandlerFactory.lo \
218 SVGCharPathHandler.lo SVGCharTspanTextHandler.lo SVGOutput.lo \
219 SVGSingleCharTextHandler.lo SVGTree.lo System.lo \
220 TensorProductPatch.lo Terminal.lo TFM.lo ToUnicodeMap.lo \
221 TpicSpecialHandler.lo TriangularPatch.lo TrueTypeFont.lo \
222 TTFAutohint.lo Unicode.lo utility.lo VFReader.lo \
223 XMLDocument.lo XMLNode.lo XMLString.lo $(am__objects_1)
224 libdvisvgm_la_OBJECTS = $(am_libdvisvgm_la_OBJECTS)
225 AM_V_lt = $(am__v_lt_@AM_V@)
226 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
227 am__v_lt_0 = --silent
228 am__v_lt_1 =
229 am_dvisvgm_OBJECTS = dvisvgm.$(OBJEXT)
230 dvisvgm_OBJECTS = $(am_dvisvgm_OBJECTS)
231 am__DEPENDENCIES_1 =
232 am__DEPENDENCIES_2 = $(am__append_4)
233 am__DEPENDENCIES_3 = $(am__append_2)
234 @ENABLE_WOFF_TRUE@am__DEPENDENCIES_4 = ../libs/ff-woff/libfontforge.a \
235 @ENABLE_WOFF_TRUE@ $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3)
236 @USE_BUNDLED_MD5_FALSE@am__DEPENDENCIES_5 = $(am__DEPENDENCIES_1)
237 AM_V_P = $(am__v_P_@AM_V@)
238 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
239 am__v_P_0 = false
240 am__v_P_1 = :
241 AM_V_GEN = $(am__v_GEN_@AM_V@)
242 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
243 am__v_GEN_0 = @echo " GEN " $@;
244 am__v_GEN_1 =
245 AM_V_at = $(am__v_at_@AM_V@)
246 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
247 am__v_at_0 = @
248 am__v_at_1 =
249 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
250 depcomp = $(SHELL) $(top_srcdir)/depcomp
251 am__maybe_remake_depfiles = depfiles
252 am__depfiles_remade = ./$(DEPDIR)/BasicDVIReader.Plo \
253 ./$(DEPDIR)/Bezier.Plo ./$(DEPDIR)/BgColorSpecialHandler.Plo \
254 ./$(DEPDIR)/Bitmap.Plo ./$(DEPDIR)/BoundingBox.Plo \
255 ./$(DEPDIR)/CLCommandLine.Plo ./$(DEPDIR)/CMap.Plo \
256 ./$(DEPDIR)/CMapManager.Plo ./$(DEPDIR)/CMapReader.Plo \
257 ./$(DEPDIR)/Calculator.Plo ./$(DEPDIR)/CharMapID.Plo \
258 ./$(DEPDIR)/Color.Plo ./$(DEPDIR)/ColorSpecialHandler.Plo \
259 ./$(DEPDIR)/DLLoader.Plo ./$(DEPDIR)/DVIReader.Plo \
260 ./$(DEPDIR)/DVIToSVG.Plo ./$(DEPDIR)/DVIToSVGActions.Plo \
261 ./$(DEPDIR)/Directory.Plo \
262 ./$(DEPDIR)/DvisvgmSpecialHandler.Plo ./$(DEPDIR)/EPSFile.Plo \
263 ./$(DEPDIR)/EllipticalArc.Plo ./$(DEPDIR)/EmSpecialHandler.Plo \
264 ./$(DEPDIR)/EncFile.Plo ./$(DEPDIR)/FileFinder.Plo \
265 ./$(DEPDIR)/FilePath.Plo ./$(DEPDIR)/FileSystem.Plo \
266 ./$(DEPDIR)/Font.Plo ./$(DEPDIR)/FontCache.Plo \
267 ./$(DEPDIR)/FontEncoding.Plo ./$(DEPDIR)/FontEngine.Plo \
268 ./$(DEPDIR)/FontManager.Plo ./$(DEPDIR)/FontMap.Plo \
269 ./$(DEPDIR)/FontMetrics.Plo ./$(DEPDIR)/FontWriter.Plo \
270 ./$(DEPDIR)/GFGlyphTracer.Plo ./$(DEPDIR)/GFReader.Plo \
271 ./$(DEPDIR)/GFTracer.Plo ./$(DEPDIR)/Ghostscript.Plo \
272 ./$(DEPDIR)/HashFunction.Plo \
273 ./$(DEPDIR)/HtmlSpecialHandler.Plo \
274 ./$(DEPDIR)/HyperlinkManager.Plo ./$(DEPDIR)/ImageToSVG.Plo \
275 ./$(DEPDIR)/InputBuffer.Plo ./$(DEPDIR)/InputReader.Plo \
276 ./$(DEPDIR)/JFM.Plo ./$(DEPDIR)/Length.Plo \
277 ./$(DEPDIR)/MapLine.Plo ./$(DEPDIR)/Matrix.Plo \
278 ./$(DEPDIR)/Message.Plo ./$(DEPDIR)/MetafontWrapper.Plo \
279 ./$(DEPDIR)/NoPsSpecialHandler.Plo ./$(DEPDIR)/PDFParser.Plo \
280 ./$(DEPDIR)/PSInterpreter.Plo ./$(DEPDIR)/PSPattern.Plo \
281 ./$(DEPDIR)/PSPreviewFilter.Plo ./$(DEPDIR)/PageRanges.Plo \
282 ./$(DEPDIR)/PageSize.Plo \
283 ./$(DEPDIR)/PapersizeSpecialHandler.Plo \
284 ./$(DEPDIR)/PathClipper.Plo ./$(DEPDIR)/PdfSpecialHandler.Plo \
285 ./$(DEPDIR)/PreScanDVIReader.Plo ./$(DEPDIR)/Process.Plo \
286 ./$(DEPDIR)/PsSpecialHandler.Plo ./$(DEPDIR)/RangeMap.Plo \
287 ./$(DEPDIR)/SVGCharHandler.Plo \
288 ./$(DEPDIR)/SVGCharHandlerFactory.Plo \
289 ./$(DEPDIR)/SVGCharPathHandler.Plo \
290 ./$(DEPDIR)/SVGCharTspanTextHandler.Plo \
291 ./$(DEPDIR)/SVGOutput.Plo \
292 ./$(DEPDIR)/SVGSingleCharTextHandler.Plo \
293 ./$(DEPDIR)/SVGTree.Plo ./$(DEPDIR)/ShadingPatch.Plo \
294 ./$(DEPDIR)/SignalHandler.Plo ./$(DEPDIR)/SourceInput.Plo \
295 ./$(DEPDIR)/SpecialManager.Plo ./$(DEPDIR)/StreamReader.Plo \
296 ./$(DEPDIR)/StreamWriter.Plo ./$(DEPDIR)/Subfont.Plo \
297 ./$(DEPDIR)/System.Plo ./$(DEPDIR)/TFM.Plo \
298 ./$(DEPDIR)/TTFAutohint.Plo ./$(DEPDIR)/TensorProductPatch.Plo \
299 ./$(DEPDIR)/Terminal.Plo ./$(DEPDIR)/ToUnicodeMap.Plo \
300 ./$(DEPDIR)/TpicSpecialHandler.Plo \
301 ./$(DEPDIR)/TriangularPatch.Plo ./$(DEPDIR)/TrueTypeFont.Plo \
302 ./$(DEPDIR)/Unicode.Plo ./$(DEPDIR)/VFReader.Plo \
303 ./$(DEPDIR)/XMLDocument.Plo ./$(DEPDIR)/XMLNode.Plo \
304 ./$(DEPDIR)/XMLString.Plo ./$(DEPDIR)/dvisvgm.Po \
305 ./$(DEPDIR)/ffwrapper.Plo ./$(DEPDIR)/psdefs.Plo \
306 ./$(DEPDIR)/utility.Plo
307 am__mv = mv -f
308 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
309 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
310 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
311 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
312 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
313 $(AM_CFLAGS) $(CFLAGS)
314 AM_V_CC = $(am__v_CC_@AM_V@)
315 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
316 am__v_CC_0 = @echo " CC " $@;
317 am__v_CC_1 =
318 CCLD = $(CC)
319 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
320 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
321 $(AM_LDFLAGS) $(LDFLAGS) -o $@
322 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
323 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
324 am__v_CCLD_0 = @echo " CCLD " $@;
325 am__v_CCLD_1 =
326 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
327 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
328 LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
329 $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \
330 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
331 $(AM_CXXFLAGS) $(CXXFLAGS)
332 AM_V_CXX = $(am__v_CXX_@AM_V@)
333 am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
334 am__v_CXX_0 = @echo " CXX " $@;
335 am__v_CXX_1 =
336 CXXLD = $(CXX)
337 CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
338 $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
339 $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
340 AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
341 am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
342 am__v_CXXLD_0 = @echo " CXXLD " $@;
343 am__v_CXXLD_1 =
344 SOURCES = $(libdvisvgm_la_SOURCES) $(dvisvgm_SOURCES)
345 DIST_SOURCES = $(am__libdvisvgm_la_SOURCES_DIST) $(dvisvgm_SOURCES)
346 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
347 ctags-recursive dvi-recursive html-recursive info-recursive \
348 install-data-recursive install-dvi-recursive \
349 install-exec-recursive install-html-recursive \
350 install-info-recursive install-pdf-recursive \
351 install-ps-recursive install-recursive installcheck-recursive \
352 installdirs-recursive pdf-recursive ps-recursive \
353 tags-recursive uninstall-recursive
354 am__can_run_installinfo = \
355 case $$AM_UPDATE_INFO_DIR in \
356 n|no|NO) false;; \
357 *) (install-info --version) >/dev/null 2>&1;; \
358 esac
359 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
360 distclean-recursive maintainer-clean-recursive
361 am__recursive_targets = \
362 $(RECURSIVE_TARGETS) \
363 $(RECURSIVE_CLEAN_TARGETS) \
364 $(am__extra_recursive_targets)
365 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
366 distdir distdir-am
367 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
368 # Read a list of newline-separated strings from the standard input,
369 # and print each of them once, without duplicates. Input order is
370 # *not* preserved.
371 am__uniquify_input = $(AWK) '\
372 BEGIN { nonempty = 0; } \
373 { items[$$0] = 1; nonempty = 1; } \
374 END { if (nonempty) { for (i in items) print i; }; } \
375 '
376 # Make sure the list of sources is unique. This is necessary because,
377 # e.g., the same source file might be shared among _SOURCES variables
378 # for different programs/libraries.
379 am__define_uniq_tagged_files = \
380 list='$(am__tagged_files)'; \
381 unique=`for i in $$list; do \
382 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
383 done | $(am__uniquify_input)`
384 ETAGS = etags
385 CTAGS = ctags
386 DIST_SUBDIRS = $(SUBDIRS)
387 am__DIST_COMMON = $(srcdir)/../libs/defs.am $(srcdir)/Makefile.in \
388 $(srcdir)/version.hpp.in $(top_srcdir)/depcomp
389 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
390 am__relativize = \
391 dir0=`pwd`; \
392 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
393 sed_rest='s,^[^/]*/*,,'; \
394 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
395 sed_butlast='s,/*[^/]*$$,,'; \
396 while test -n "$$dir1"; do \
397 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
398 if test "$$first" != "."; then \
399 if test "$$first" = ".."; then \
400 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
401 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
402 else \
403 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
404 if test "$$first2" = "$$first"; then \
405 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
406 else \
407 dir2="../$$dir2"; \
408 fi; \
409 dir0="$$dir0"/"$$first"; \
410 fi; \
411 fi; \
412 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
413 done; \
414 reldir="$$dir2"
415 ACLOCAL = @ACLOCAL@
416 AMTAR = @AMTAR@
417 AM_CPPFLAGS = @AM_CPPFLAGS@
418 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
419 AM_LDFLAGS = $(KPSE_LIBS) $(CODE_COVERAGE_LDFLAGS) $(am__append_13)
420 AR = @AR@
421 ASCIIDOC = @ASCIIDOC@
422 AUTOCONF = @AUTOCONF@
423 AUTOHEADER = @AUTOHEADER@
424 AUTOMAKE = @AUTOMAKE@
425 AWK = @AWK@
426 BROTLI_CFLAGS = @BROTLI_CFLAGS@ $(am__append_1)
427 BROTLI_LIBS = @BROTLI_LIBS@ $(am__append_2)
428 CC = @CC@
429 CCDEPMODE = @CCDEPMODE@
430 CFLAGS = @CFLAGS@
431 CODE_COVERAGE_CFLAGS = @CODE_COVERAGE_CFLAGS@
432 CODE_COVERAGE_CPPFLAGS = @CODE_COVERAGE_CPPFLAGS@
433 CODE_COVERAGE_CXXFLAGS = @CODE_COVERAGE_CXXFLAGS@
434 CODE_COVERAGE_ENABLED = @CODE_COVERAGE_ENABLED@
435 CODE_COVERAGE_LDFLAGS = @CODE_COVERAGE_LDFLAGS@
436 CODE_COVERAGE_LIBS = @CODE_COVERAGE_LIBS@
437 CPP = @CPP@
438 CPPFLAGS = @CPPFLAGS@
439 CXX = @CXX@
440 CXXCPP = @CXXCPP@
441 CXXDEPMODE = @CXXDEPMODE@
442 CXXFLAGS = @CXXFLAGS@
443 CYGPATH_W = @CYGPATH_W@
444 DATE = @DATE@
445 DEFS = @DEFS@
446 DEPDIR = @DEPDIR@
447 DLLTOOL = @DLLTOOL@
448 DSYMUTIL = @DSYMUTIL@
449 DUMPBIN = @DUMPBIN@
450 ECHO_C = @ECHO_C@
451 ECHO_N = @ECHO_N@
452 ECHO_T = @ECHO_T@
453 EGREP = @EGREP@
454 EXEEXT = @EXEEXT@
455 FGREP = @FGREP@
456 FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
457 FREETYPE_LIBS = @FREETYPE_LIBS@
458 GCOV = @GCOV@
459 GENHTML = @GENHTML@
460 GREP = @GREP@
461 HAVE_CXX11 = @HAVE_CXX11@
462 INSTALL = @INSTALL@
463 INSTALL_DATA = @INSTALL_DATA@
464 INSTALL_PROGRAM = @INSTALL_PROGRAM@
465 INSTALL_SCRIPT = @INSTALL_SCRIPT@
466 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
467 KPSE_CFLAGS = @KPSE_CFLAGS@
468 KPSE_LIBS = @KPSE_LIBS@
469 LCOV = @LCOV@
470 LD = @LD@
471 LDFLAGS = @LDFLAGS@
472 LIBCRYPTO_CFLAGS = @LIBCRYPTO_CFLAGS@
473 LIBCRYPTO_LIBS = @LIBCRYPTO_LIBS@
474 LIBOBJS = @LIBOBJS@
475 LIBS = @LIBS@
476 LIBTOOL = @LIBTOOL@
477 LIPO = @LIPO@
478 LN_S = @LN_S@
479 LTLIBOBJS = @LTLIBOBJS@
480 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
481 MAKEINFO = @MAKEINFO@
482 MANIFEST_TOOL = @MANIFEST_TOOL@
483 MKDIR_P = @MKDIR_P@
484 NM = @NM@
485 NMEDIT = @NMEDIT@
486 OBJDUMP = @OBJDUMP@
487 OBJEXT = @OBJEXT@
488 OTOOL = @OTOOL@
489 OTOOL64 = @OTOOL64@
490 PACKAGE = @PACKAGE@
491 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
492 PACKAGE_NAME = @PACKAGE_NAME@
493 PACKAGE_STRING = @PACKAGE_STRING@
494 PACKAGE_TARNAME = @PACKAGE_TARNAME@
495 PACKAGE_URL = @PACKAGE_URL@
496 PACKAGE_VERSION = @PACKAGE_VERSION@
497 PATH_SEPARATOR = @PATH_SEPARATOR@
498 PKG_CONFIG = @PKG_CONFIG@
499 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
500 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
501 RANLIB = @RANLIB@
502 SED = @SED@
503 SET_MAKE = @SET_MAKE@
504 SHELL = @SHELL@
505 STRIP = @STRIP@
506 TTFAUTOHINT_CFLAGS = @TTFAUTOHINT_CFLAGS@
507 TTFAUTOHINT_LIBS = @TTFAUTOHINT_LIBS@
508 VERSION = @VERSION@
509 WOFF2_CFLAGS = @WOFF2_CFLAGS@ $(am__append_3)
510 WOFF2_LIBS = @WOFF2_LIBS@ $(am__append_4)
511 XMLTO = @XMLTO@
512 XSLTPROC = @XSLTPROC@
513 ZLIB_CFLAGS = @ZLIB_CFLAGS@
514 ZLIB_LIBS = @ZLIB_LIBS@
515 abs_builddir = @abs_builddir@
516 abs_srcdir = @abs_srcdir@
517 abs_top_builddir = @abs_top_builddir@
518 abs_top_srcdir = @abs_top_srcdir@
519 ac_ct_AR = @ac_ct_AR@
520 ac_ct_CC = @ac_ct_CC@
521 ac_ct_CXX = @ac_ct_CXX@
522 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
523 am__include = @am__include@
524 am__leading_dot = @am__leading_dot@
525 am__quote = @am__quote@
526 am__tar = @am__tar@
527 am__untar = @am__untar@
528 bindir = @bindir@
529 build = @build@
530 build_alias = @build_alias@
531 build_cpu = @build_cpu@
532 build_os = @build_os@
533 build_vendor = @build_vendor@
534 builddir = @builddir@
535 datadir = @datadir@
536 datarootdir = @datarootdir@
537 docdir = @docdir@
538 dvidir = @dvidir@
539 dvisvgm_srcdir = @dvisvgm_srcdir@
540 exec_prefix = @exec_prefix@
541 host = @host@
542 host_alias = @host_alias@
543 host_cpu = @host_cpu@
544 host_os = @host_os@
545 host_vendor = @host_vendor@
546 htmldir = @htmldir@
547 includedir = @includedir@
548 infodir = @infodir@
549 install_sh = @install_sh@
550 libdir = @libdir@
551 libexecdir = @libexecdir@
552 localedir = @localedir@
553 localstatedir = @localstatedir@
554 mandir = @mandir@
555 mkdir_p = @mkdir_p@
556 oldincludedir = @oldincludedir@
557 pdfdir = @pdfdir@
558 prefix = @prefix@
559 program_transform_name = @program_transform_name@
560 psdir = @psdir@
561 sbindir = @sbindir@
562 sharedstatedir = @sharedstatedir@
563 srcdir = @srcdir@
564 sysconfdir = @sysconfdir@
565 target = @target@
566 target_alias = @target_alias@
567 target_cpu = @target_cpu@
568 target_os = @target_os@
569 target_vendor = @target_vendor@
570 top_build_prefix = @top_build_prefix@
571 top_builddir = @top_builddir@
572 top_srcdir = @top_srcdir@
573 noinst_LTLIBRARIES = libdvisvgm.la
574 SUBDIRS = optimizer
575 dvisvgm_SOURCES = \
576 CommandLine.hpp \
577 dvisvgm.cpp
578
579 @HAVE_POTRACE_FALSE@POTRACE_CFLAGS = -I$(dvisvgm_srcdir)/libs/potrace
580 @HAVE_POTRACE_FALSE@POTRACE_LIBS = ../libs/potrace/libpotrace.a
581 @HAVE_XXHASH_FALSE@XXHASH_CFLAGS = -I$(dvisvgm_srcdir)/libs/xxHash
582 @HAVE_XXHASH_FALSE@XXHASH_LIBS = ../libs/xxHash/libxxhash.a
583 dvisvgm_LDADD = $(noinst_LTLIBRARIES) ../libs/clipper/libclipper.a \
584 $(FREETYPE_LIBS) $(FONTFORGE_LIBS) $(POTRACE_LIBS) \
585 $(XXHASH_LIBS) $(ZLIB_LIBS) $(am__append_5) $(am__append_6) \
586 $(am__append_7)
587 dvisvgm_DEPENDENCIES = $(noinst_LTLIBRARIES)
588 libdvisvgm_la_SOURCES = AGLTable.hpp BasicDVIReader.hpp \
589 BasicDVIReader.cpp Bezier.hpp Bezier.cpp \
590 BgColorSpecialHandler.hpp BgColorSpecialHandler.cpp Bitmap.hpp \
591 Bitmap.cpp BoundingBox.hpp BoundingBox.cpp Calculator.hpp \
592 Calculator.cpp Character.hpp CharMapID.hpp CharMapID.cpp \
593 CLCommandLine.hpp CLCommandLine.cpp CMap.hpp CMap.cpp \
594 CMapManager.hpp CMapManager.cpp CMapReader.hpp CMapReader.cpp \
595 CLOption.hpp Color.hpp Color.cpp ColorSpecialHandler.hpp \
596 ColorSpecialHandler.cpp CommandLine.hpp Directory.hpp \
597 Directory.cpp DVIActions.hpp DLLoader.hpp DLLoader.cpp \
598 DVIReader.hpp DVIReader.cpp DvisvgmSpecialHandler.hpp \
599 DvisvgmSpecialHandler.cpp DVIToSVG.hpp DVIToSVG.cpp \
600 DVIToSVGActions.hpp DVIToSVGActions.cpp EllipticalArc.hpp \
601 EllipticalArc.cpp EmSpecialHandler.hpp EmSpecialHandler.cpp \
602 EncFile.hpp EncFile.cpp EPSFile.hpp EPSFile.cpp EPSToSVG.hpp \
603 FileFinder.hpp FileFinder.cpp FilePath.hpp FilePath.cpp \
604 FileSystem.hpp FileSystem.cpp FixWord.hpp Font.hpp Font.cpp \
605 FontCache.hpp FontCache.cpp FontEncoding.hpp FontEncoding.cpp \
606 FontEngine.hpp FontEngine.cpp FontManager.hpp FontManager.cpp \
607 FontMap.hpp FontMap.cpp FontMetrics.hpp FontMetrics.cpp \
608 FontStyle.hpp FontWriter.hpp FontWriter.cpp GFGlyphTracer.hpp \
609 GFGlyphTracer.cpp GFReader.hpp GFReader.cpp GFTracer.hpp \
610 GFTracer.cpp Ghostscript.hpp Ghostscript.cpp Glyph.hpp \
611 GlyphTracerMessages.hpp GraphicsPath.hpp HashFunction.hpp \
612 HashFunction.cpp HtmlSpecialHandler.hpp HtmlSpecialHandler.cpp \
613 HyperlinkManager.hpp HyperlinkManager.cpp ImageToSVG.hpp \
614 ImageToSVG.cpp InputBuffer.hpp InputBuffer.cpp InputReader.hpp \
615 InputReader.cpp JFM.hpp JFM.cpp Length.hpp Length.cpp \
616 macros.hpp MapLine.hpp MapLine.cpp Matrix.hpp Matrix.cpp \
617 MD5HashFunction.hpp Message.hpp Message.cpp \
618 MessageException.hpp MetafontWrapper.hpp MetafontWrapper.cpp \
619 NoPsSpecialHandler.hpp NoPsSpecialHandler.cpp \
620 NumericRanges.hpp PageRanges.hpp PageRanges.cpp PageSize.hpp \
621 PageSize.cpp Pair.hpp PapersizeSpecialHandler.hpp \
622 PapersizeSpecialHandler.cpp PathClipper.hpp PathClipper.cpp \
623 PDFParser.hpp PDFParser.cpp PdfSpecialHandler.hpp \
624 PdfSpecialHandler.cpp PDFToSVG.hpp PreScanDVIReader.hpp \
625 PreScanDVIReader.cpp Process.hpp Process.cpp psdefs.cpp \
626 PSFilter.hpp PSInterpreter.hpp PSInterpreter.cpp PSPattern.hpp \
627 PSPattern.cpp PSPreviewFilter.hpp PSPreviewFilter.cpp \
628 PsSpecialHandler.hpp PsSpecialHandler.cpp RangeMap.hpp \
629 RangeMap.cpp ShadingPatch.hpp ShadingPatch.cpp \
630 SignalHandler.hpp SignalHandler.cpp SourceInput.hpp \
631 SourceInput.cpp SpecialActions.hpp SpecialHandler.hpp \
632 SpecialManager.hpp SpecialManager.cpp StreamReader.hpp \
633 StreamReader.cpp StreamWriter.hpp StreamWriter.cpp Subfont.hpp \
634 Subfont.cpp SVGCharHandler.hpp SVGCharHandler.cpp \
635 SVGCharHandlerFactory.hpp SVGCharHandlerFactory.cpp \
636 SVGCharPathHandler.hpp SVGCharPathHandler.cpp \
637 SVGCharTspanTextHandler.hpp SVGCharTspanTextHandler.cpp \
638 SVGOutput.hpp SVGOutput.cpp SVGSingleCharTextHandler.hpp \
639 SVGSingleCharTextHandler.cpp SVGTree.hpp SVGTree.cpp \
640 System.hpp System.cpp TensorProductPatch.hpp \
641 TensorProductPatch.cpp Terminal.hpp Terminal.cpp TFM.hpp \
642 TFM.cpp ToUnicodeMap.hpp ToUnicodeMap.cpp \
643 TpicSpecialHandler.hpp TpicSpecialHandler.cpp \
644 TriangularPatch.hpp TriangularPatch.cpp TrueTypeFont.hpp \
645 TrueTypeFont.cpp TTFAutohint.hpp TTFAutohint.cpp Unicode.hpp \
646 Unicode.cpp utility.hpp utility.cpp VectorIterator.hpp \
647 VectorStream.hpp VFActions.hpp VFReader.hpp VFReader.cpp \
648 windows.hpp XMLDocument.hpp XMLDocument.cpp XMLNode.hpp \
649 XMLNode.cpp XMLString.hpp XMLString.cpp XXHashFunction.hpp \
650 ZLibOutputStream.hpp $(am__append_8)
651 libdvisvgm_la_LIBADD = optimizer/liboptimizer.la
652 EXTRA_DIST = options.xml options.dtd iapi.h ierrors.h MiKTeXCom.hpp MiKTeXCom.cpp
653 AM_CFLAGS = -Wall $(ZLIB_CFLAGS) $(CODE_COVERAGE_CFLAGS) \
654 $(am__append_9)
655 AM_CXXFLAGS = -Wall -Wnon-virtual-dtor \
656 -I$(dvisvgm_srcdir)/libs/clipper \
657 -I$(dvisvgm_srcdir)/libs/variant/include $(KPSE_CFLAGS) \
658 $(FREETYPE_CFLAGS) $(ZLIB_CFLAGS) $(CODE_COVERAGE_CFLAGS) \
659 $(POTRACE_CFLAGS) $(XXHASH_CFLAGS) $(am__append_10) \
660 $(am__append_11) $(am__append_12)
661 CLEANFILES = *.gcda *.gcno
662 all: all-recursive
663
664 .SUFFIXES:
665 .SUFFIXES: .c .cpp .lo .o .obj
666 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/../libs/defs.am $(am__configure_deps)
667 @for dep in $?; do \
668 case '$(am__configure_deps)' in \
669 *$$dep*) \
670 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
671 && { if test -f $@; then exit 0; else break; fi; }; \
672 exit 1;; \
673 esac; \
674 done; \
675 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \
676 $(am__cd) $(top_srcdir) && \
677 $(AUTOMAKE) --foreign src/Makefile
678 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
679 @case '$?' in \
680 *config.status*) \
681 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
682 *) \
683 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
684 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
685 esac;
686 $(srcdir)/../libs/defs.am $(am__empty):
687
688 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
689 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
690
691 $(top_srcdir)/configure: $(am__configure_deps)
692 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
693 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
694 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
695 $(am__aclocal_m4_deps):
696 version.hpp: $(top_builddir)/config.status $(srcdir)/version.hpp.in
697 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
698 install-binPROGRAMS: $(bin_PROGRAMS)
699 @$(NORMAL_INSTALL)
700 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
701 if test -n "$$list"; then \
702 echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
703 $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
704 fi; \
705 for p in $$list; do echo "$$p $$p"; done | \
706 sed 's/$(EXEEXT)$$//' | \
707 while read p p1; do if test -f $$p \
708 || test -f $$p1 \
709 ; then echo "$$p"; echo "$$p"; else :; fi; \
710 done | \
711 sed -e 'p;s,.*/,,;n;h' \
712 -e 's|.*|.|' \
713 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
714 sed 'N;N;N;s,\n, ,g' | \
715 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
716 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
717 if ($$2 == $$4) files[d] = files[d] " " $$1; \
718 else { print "f", $$3 "/" $$4, $$1; } } \
719 END { for (d in files) print "f", d, files[d] }' | \
720 while read type dir files; do \
721 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
722 test -z "$$files" || { \
723 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
724 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
725 } \
726 ; done
727
728 uninstall-binPROGRAMS:
729 @$(NORMAL_UNINSTALL)
730 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
731 files=`for p in $$list; do echo "$$p"; done | \
732 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
733 -e 's/$$/$(EXEEXT)/' \
734 `; \
735 test -n "$$list" || exit 0; \
736 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
737 cd "$(DESTDIR)$(bindir)" && rm -f $$files
738
739 clean-binPROGRAMS:
740 @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
741 echo " rm -f" $$list; \
742 rm -f $$list || exit $$?; \
743 test -n "$(EXEEXT)" || exit 0; \
744 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
745 echo " rm -f" $$list; \
746 rm -f $$list
747
748 clean-noinstLTLIBRARIES:
749 -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
750 @list='$(noinst_LTLIBRARIES)'; \
751 locs=`for p in $$list; do echo $$p; done | \
752 sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
753 sort -u`; \
754 test -z "$$locs" || { \
755 echo rm -f $${locs}; \
756 rm -f $${locs}; \
757 }
758
759 libdvisvgm.la: $(libdvisvgm_la_OBJECTS) $(libdvisvgm_la_DEPENDENCIES) $(EXTRA_libdvisvgm_la_DEPENDENCIES)
760 $(AM_V_CXXLD)$(CXXLINK) $(libdvisvgm_la_OBJECTS) $(libdvisvgm_la_LIBADD) $(LIBS)
761
762 dvisvgm$(EXEEXT): $(dvisvgm_OBJECTS) $(dvisvgm_DEPENDENCIES) $(EXTRA_dvisvgm_DEPENDENCIES)
763 @rm -f dvisvgm$(EXEEXT)
764 $(AM_V_CXXLD)$(CXXLINK) $(dvisvgm_OBJECTS) $(dvisvgm_LDADD) $(LIBS)
765
766 mostlyclean-compile:
767 -rm -f *.$(OBJEXT)
768
769 distclean-compile:
770 -rm -f *.tab.c
771
772 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/BasicDVIReader.Plo@am__quote@ # am--include-marker
773 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Bezier.Plo@am__quote@ # am--include-marker
774 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/BgColorSpecialHandler.Plo@am__quote@ # am--include-marker
775 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Bitmap.Plo@am__quote@ # am--include-marker
776 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/BoundingBox.Plo@am__quote@ # am--include-marker
777 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CLCommandLine.Plo@am__quote@ # am--include-marker
778 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CMap.Plo@am__quote@ # am--include-marker
779 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CMapManager.Plo@am__quote@ # am--include-marker
780 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CMapReader.Plo@am__quote@ # am--include-marker
781 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Calculator.Plo@am__quote@ # am--include-marker
782 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CharMapID.Plo@am__quote@ # am--include-marker
783 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Color.Plo@am__quote@ # am--include-marker
784 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ColorSpecialHandler.Plo@am__quote@ # am--include-marker
785 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DLLoader.Plo@am__quote@ # am--include-marker
786 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DVIReader.Plo@am__quote@ # am--include-marker
787 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DVIToSVG.Plo@am__quote@ # am--include-marker
788 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DVIToSVGActions.Plo@am__quote@ # am--include-marker
789 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Directory.Plo@am__quote@ # am--include-marker
790 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DvisvgmSpecialHandler.Plo@am__quote@ # am--include-marker
791 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/EPSFile.Plo@am__quote@ # am--include-marker
792 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/EllipticalArc.Plo@am__quote@ # am--include-marker
793 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/EmSpecialHandler.Plo@am__quote@ # am--include-marker
794 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/EncFile.Plo@am__quote@ # am--include-marker
795 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FileFinder.Plo@am__quote@ # am--include-marker
796 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FilePath.Plo@am__quote@ # am--include-marker
797 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FileSystem.Plo@am__quote@ # am--include-marker
798 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Font.Plo@am__quote@ # am--include-marker
799 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FontCache.Plo@am__quote@ # am--include-marker
800 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FontEncoding.Plo@am__quote@ # am--include-marker
801 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FontEngine.Plo@am__quote@ # am--include-marker
802 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FontManager.Plo@am__quote@ # am--include-marker
803 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FontMap.Plo@am__quote@ # am--include-marker
804 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FontMetrics.Plo@am__quote@ # am--include-marker
805 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FontWriter.Plo@am__quote@ # am--include-marker
806 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GFGlyphTracer.Plo@am__quote@ # am--include-marker
807 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GFReader.Plo@am__quote@ # am--include-marker
808 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GFTracer.Plo@am__quote@ # am--include-marker
809 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Ghostscript.Plo@am__quote@ # am--include-marker
810 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/HashFunction.Plo@am__quote@ # am--include-marker
811 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/HtmlSpecialHandler.Plo@am__quote@ # am--include-marker
812 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/HyperlinkManager.Plo@am__quote@ # am--include-marker
813 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ImageToSVG.Plo@am__quote@ # am--include-marker
814 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/InputBuffer.Plo@am__quote@ # am--include-marker
815 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/InputReader.Plo@am__quote@ # am--include-marker
816 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/JFM.Plo@am__quote@ # am--include-marker
817 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Length.Plo@am__quote@ # am--include-marker
818 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/MapLine.Plo@am__quote@ # am--include-marker
819 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Matrix.Plo@am__quote@ # am--include-marker
820 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Message.Plo@am__quote@ # am--include-marker
821 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/MetafontWrapper.Plo@am__quote@ # am--include-marker
822 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/NoPsSpecialHandler.Plo@am__quote@ # am--include-marker
823 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PDFParser.Plo@am__quote@ # am--include-marker
824 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PSInterpreter.Plo@am__quote@ # am--include-marker
825 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PSPattern.Plo@am__quote@ # am--include-marker
826 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PSPreviewFilter.Plo@am__quote@ # am--include-marker
827 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PageRanges.Plo@am__quote@ # am--include-marker
828 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PageSize.Plo@am__quote@ # am--include-marker
829 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PapersizeSpecialHandler.Plo@am__quote@ # am--include-marker
830 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PathClipper.Plo@am__quote@ # am--include-marker
831 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PdfSpecialHandler.Plo@am__quote@ # am--include-marker
832 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PreScanDVIReader.Plo@am__quote@ # am--include-marker
833 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Process.Plo@am__quote@ # am--include-marker
834 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PsSpecialHandler.Plo@am__quote@ # am--include-marker
835 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/RangeMap.Plo@am__quote@ # am--include-marker
836 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SVGCharHandler.Plo@am__quote@ # am--include-marker
837 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SVGCharHandlerFactory.Plo@am__quote@ # am--include-marker
838 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SVGCharPathHandler.Plo@am__quote@ # am--include-marker
839 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SVGCharTspanTextHandler.Plo@am__quote@ # am--include-marker
840 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SVGOutput.Plo@am__quote@ # am--include-marker
841 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SVGSingleCharTextHandler.Plo@am__quote@ # am--include-marker
842 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SVGTree.Plo@am__quote@ # am--include-marker
843 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ShadingPatch.Plo@am__quote@ # am--include-marker
844 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SignalHandler.Plo@am__quote@ # am--include-marker
845 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SourceInput.Plo@am__quote@ # am--include-marker
846 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SpecialManager.Plo@am__quote@ # am--include-marker
847 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/StreamReader.Plo@am__quote@ # am--include-marker
848 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/StreamWriter.Plo@am__quote@ # am--include-marker
849 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Subfont.Plo@am__quote@ # am--include-marker
850 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/System.Plo@am__quote@ # am--include-marker
851 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/TFM.Plo@am__quote@ # am--include-marker
852 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/TTFAutohint.Plo@am__quote@ # am--include-marker
853 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/TensorProductPatch.Plo@am__quote@ # am--include-marker
854 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Terminal.Plo@am__quote@ # am--include-marker
855 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ToUnicodeMap.Plo@am__quote@ # am--include-marker
856 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/TpicSpecialHandler.Plo@am__quote@ # am--include-marker
857 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/TriangularPatch.Plo@am__quote@ # am--include-marker
858 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/TrueTypeFont.Plo@am__quote@ # am--include-marker
859 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Unicode.Plo@am__quote@ # am--include-marker
860 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/VFReader.Plo@am__quote@ # am--include-marker
861 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XMLDocument.Plo@am__quote@ # am--include-marker
862 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XMLNode.Plo@am__quote@ # am--include-marker
863 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XMLString.Plo@am__quote@ # am--include-marker
864 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dvisvgm.Po@am__quote@ # am--include-marker
865 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ffwrapper.Plo@am__quote@ # am--include-marker
866 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/psdefs.Plo@am__quote@ # am--include-marker
867 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utility.Plo@am__quote@ # am--include-marker
868
869 $(am__depfiles_remade):
870 @$(MKDIR_P) $(@D)
871 @echo '# dummy' >$@-t && $(am__mv) $@-t $@
872
873 am--depfiles: $(am__depfiles_remade)
874
875 .c.o:
876 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
877 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
878 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
879 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
880 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
881 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
882
883 .c.obj:
884 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
885 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
886 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
887 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
888 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
889 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
890
891 .c.lo:
892 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
893 @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
894 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
895 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
896 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
897 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
898
899 .cpp.o:
900 @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
901 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
902 @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
903 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
904 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
905 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $<
906
907 .cpp.obj:
908 @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
909 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
910 @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
911 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
912 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
913 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
914
915 .cpp.lo:
916 @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
917 @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
918 @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
919 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
920 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
921 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $<
922
923 mostlyclean-libtool:
924 -rm -f *.lo
925
926 clean-libtool:
927 -rm -rf .libs _libs
928
929 # This directory's subdirectories are mostly independent; you can cd
930 # into them and run 'make' without going through this Makefile.
931 # To change the values of 'make' variables: instead of editing Makefiles,
932 # (1) if the variable is set in 'config.status', edit 'config.status'
933 # (which will cause the Makefiles to be regenerated when you run 'make');
934 # (2) otherwise, pass the desired values on the 'make' command line.
935 $(am__recursive_targets):
936 @fail=; \
937 if $(am__make_keepgoing); then \
938 failcom='fail=yes'; \
939 else \
940 failcom='exit 1'; \
941 fi; \
942 dot_seen=no; \
943 target=`echo $@ | sed s/-recursive//`; \
944 case "$@" in \
945 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
946 *) list='$(SUBDIRS)' ;; \
947 esac; \
948 for subdir in $$list; do \
949 echo "Making $$target in $$subdir"; \
950 if test "$$subdir" = "."; then \
951 dot_seen=yes; \
952 local_target="$$target-am"; \
953 else \
954 local_target="$$target"; \
955 fi; \
956 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
957 || eval $$failcom; \
958 done; \
959 if test "$$dot_seen" = "no"; then \
960 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
961 fi; test -z "$$fail"
962
963 ID: $(am__tagged_files)
964 $(am__define_uniq_tagged_files); mkid -fID $$unique
965 tags: tags-recursive
966 TAGS: tags
967
968 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
969 set x; \
970 here=`pwd`; \
971 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
972 include_option=--etags-include; \
973 empty_fix=.; \
974 else \
975 include_option=--include; \
976 empty_fix=; \
977 fi; \
978 list='$(SUBDIRS)'; for subdir in $$list; do \
979 if test "$$subdir" = .; then :; else \
980 test ! -f $$subdir/TAGS || \
981 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
982 fi; \
983 done; \
984 $(am__define_uniq_tagged_files); \
985 shift; \
986 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
987 test -n "$$unique" || unique=$$empty_fix; \
988 if test $$# -gt 0; then \
989 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
990 "$$@" $$unique; \
991 else \
992 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
993 $$unique; \
994 fi; \
995 fi
996 ctags: ctags-recursive
997
998 CTAGS: ctags
999 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
1000 $(am__define_uniq_tagged_files); \
1001 test -z "$(CTAGS_ARGS)$$unique" \
1002 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
1003 $$unique
1004
1005 GTAGS:
1006 here=`$(am__cd) $(top_builddir) && pwd` \
1007 && $(am__cd) $(top_srcdir) \
1008 && gtags -i $(GTAGS_ARGS) "$$here"
1009 cscopelist: cscopelist-recursive
1010
1011 cscopelist-am: $(am__tagged_files)
1012 list='$(am__tagged_files)'; \
1013 case "$(srcdir)" in \
1014 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
1015 *) sdir=$(subdir)/$(srcdir) ;; \
1016 esac; \
1017 for i in $$list; do \
1018 if test -f "$$i"; then \
1019 echo "$(subdir)/$$i"; \
1020 else \
1021 echo "$$sdir/$$i"; \
1022 fi; \
1023 done >> $(top_builddir)/cscope.files
1024
1025 distclean-tags:
1026 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1027
1028 distdir: $(BUILT_SOURCES)
1029 $(MAKE) $(AM_MAKEFLAGS) distdir-am
1030
1031 distdir-am: $(DISTFILES)
1032 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1033 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1034 list='$(DISTFILES)'; \
1035 dist_files=`for file in $$list; do echo $$file; done | \
1036 sed -e "s|^$$srcdirstrip/||;t" \
1037 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1038 case $$dist_files in \
1039 */*) $(MKDIR_P) `echo "$$dist_files" | \
1040 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1041 sort -u` ;; \
1042 esac; \
1043 for file in $$dist_files; do \
1044 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1045 if test -d $$d/$$file; then \
1046 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1047 if test -d "$(distdir)/$$file"; then \
1048 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1049 fi; \
1050 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1051 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1052 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1053 fi; \
1054 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1055 else \
1056 test -f "$(distdir)/$$file" \
1057 || cp -p $$d/$$file "$(distdir)/$$file" \
1058 || exit 1; \
1059 fi; \
1060 done
1061 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
1062 if test "$$subdir" = .; then :; else \
1063 $(am__make_dryrun) \
1064 || test -d "$(distdir)/$$subdir" \
1065 || $(MKDIR_P) "$(distdir)/$$subdir" \
1066 || exit 1; \
1067 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
1068 $(am__relativize); \
1069 new_distdir=$$reldir; \
1070 dir1=$$subdir; dir2="$(top_distdir)"; \
1071 $(am__relativize); \
1072 new_top_distdir=$$reldir; \
1073 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
1074 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
1075 ($(am__cd) $$subdir && \
1076 $(MAKE) $(AM_MAKEFLAGS) \
1077 top_distdir="$$new_top_distdir" \
1078 distdir="$$new_distdir" \
1079 am__remove_distdir=: \
1080 am__skip_length_check=: \
1081 am__skip_mode_fix=: \
1082 distdir) \
1083 || exit 1; \
1084 fi; \
1085 done
1086 check-am: all-am
1087 check: check-recursive
1088 all-am: Makefile $(PROGRAMS) $(LTLIBRARIES)
1089 installdirs: installdirs-recursive
1090 installdirs-am:
1091 for dir in "$(DESTDIR)$(bindir)"; do \
1092 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1093 done
1094 install: install-recursive
1095 install-exec: install-exec-recursive
1096 install-data: install-data-recursive
1097 uninstall: uninstall-recursive
1098
1099 install-am: all-am
1100 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1101
1102 installcheck: installcheck-recursive
1103 install-strip:
1104 if test -z '$(STRIP)'; then \
1105 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1106 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1107 install; \
1108 else \
1109 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1110 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1111 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1112 fi
1113 mostlyclean-generic:
1114
1115 clean-generic:
1116 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1117
1118 distclean-generic:
1119 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1120 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1121
1122 maintainer-clean-generic:
1123 @echo "This command is intended for maintainers to use"
1124 @echo "it deletes files that may require special tools to rebuild."
1125 clean: clean-recursive
1126
1127 clean-am: clean-binPROGRAMS clean-generic clean-libtool \
1128 clean-noinstLTLIBRARIES mostlyclean-am
1129
1130 distclean: distclean-recursive
1131 -rm -f ./$(DEPDIR)/BasicDVIReader.Plo
1132 -rm -f ./$(DEPDIR)/Bezier.Plo
1133 -rm -f ./$(DEPDIR)/BgColorSpecialHandler.Plo
1134 -rm -f ./$(DEPDIR)/Bitmap.Plo
1135 -rm -f ./$(DEPDIR)/BoundingBox.Plo
1136 -rm -f ./$(DEPDIR)/CLCommandLine.Plo
1137 -rm -f ./$(DEPDIR)/CMap.Plo
1138 -rm -f ./$(DEPDIR)/CMapManager.Plo
1139 -rm -f ./$(DEPDIR)/CMapReader.Plo
1140 -rm -f ./$(DEPDIR)/Calculator.Plo
1141 -rm -f ./$(DEPDIR)/CharMapID.Plo
1142 -rm -f ./$(DEPDIR)/Color.Plo
1143 -rm -f ./$(DEPDIR)/ColorSpecialHandler.Plo
1144 -rm -f ./$(DEPDIR)/DLLoader.Plo
1145 -rm -f ./$(DEPDIR)/DVIReader.Plo
1146 -rm -f ./$(DEPDIR)/DVIToSVG.Plo
1147 -rm -f ./$(DEPDIR)/DVIToSVGActions.Plo
1148 -rm -f ./$(DEPDIR)/Directory.Plo
1149 -rm -f ./$(DEPDIR)/DvisvgmSpecialHandler.Plo
1150 -rm -f ./$(DEPDIR)/EPSFile.Plo
1151 -rm -f ./$(DEPDIR)/EllipticalArc.Plo
1152 -rm -f ./$(DEPDIR)/EmSpecialHandler.Plo
1153 -rm -f ./$(DEPDIR)/EncFile.Plo
1154 -rm -f ./$(DEPDIR)/FileFinder.Plo
1155 -rm -f ./$(DEPDIR)/FilePath.Plo
1156 -rm -f ./$(DEPDIR)/FileSystem.Plo
1157 -rm -f ./$(DEPDIR)/Font.Plo
1158 -rm -f ./$(DEPDIR)/FontCache.Plo
1159 -rm -f ./$(DEPDIR)/FontEncoding.Plo
1160 -rm -f ./$(DEPDIR)/FontEngine.Plo
1161 -rm -f ./$(DEPDIR)/FontManager.Plo
1162 -rm -f ./$(DEPDIR)/FontMap.Plo
1163 -rm -f ./$(DEPDIR)/FontMetrics.Plo
1164 -rm -f ./$(DEPDIR)/FontWriter.Plo
1165 -rm -f ./$(DEPDIR)/GFGlyphTracer.Plo
1166 -rm -f ./$(DEPDIR)/GFReader.Plo
1167 -rm -f ./$(DEPDIR)/GFTracer.Plo
1168 -rm -f ./$(DEPDIR)/Ghostscript.Plo
1169 -rm -f ./$(DEPDIR)/HashFunction.Plo
1170 -rm -f ./$(DEPDIR)/HtmlSpecialHandler.Plo
1171 -rm -f ./$(DEPDIR)/HyperlinkManager.Plo
1172 -rm -f ./$(DEPDIR)/ImageToSVG.Plo
1173 -rm -f ./$(DEPDIR)/InputBuffer.Plo
1174 -rm -f ./$(DEPDIR)/InputReader.Plo
1175 -rm -f ./$(DEPDIR)/JFM.Plo
1176 -rm -f ./$(DEPDIR)/Length.Plo
1177 -rm -f ./$(DEPDIR)/MapLine.Plo
1178 -rm -f ./$(DEPDIR)/Matrix.Plo
1179 -rm -f ./$(DEPDIR)/Message.Plo
1180 -rm -f ./$(DEPDIR)/MetafontWrapper.Plo
1181 -rm -f ./$(DEPDIR)/NoPsSpecialHandler.Plo
1182 -rm -f ./$(DEPDIR)/PDFParser.Plo
1183 -rm -f ./$(DEPDIR)/PSInterpreter.Plo
1184 -rm -f ./$(DEPDIR)/PSPattern.Plo
1185 -rm -f ./$(DEPDIR)/PSPreviewFilter.Plo
1186 -rm -f ./$(DEPDIR)/PageRanges.Plo
1187 -rm -f ./$(DEPDIR)/PageSize.Plo
1188 -rm -f ./$(DEPDIR)/PapersizeSpecialHandler.Plo
1189 -rm -f ./$(DEPDIR)/PathClipper.Plo
1190 -rm -f ./$(DEPDIR)/PdfSpecialHandler.Plo
1191 -rm -f ./$(DEPDIR)/PreScanDVIReader.Plo
1192 -rm -f ./$(DEPDIR)/Process.Plo
1193 -rm -f ./$(DEPDIR)/PsSpecialHandler.Plo
1194 -rm -f ./$(DEPDIR)/RangeMap.Plo
1195 -rm -f ./$(DEPDIR)/SVGCharHandler.Plo
1196 -rm -f ./$(DEPDIR)/SVGCharHandlerFactory.Plo
1197 -rm -f ./$(DEPDIR)/SVGCharPathHandler.Plo
1198 -rm -f ./$(DEPDIR)/SVGCharTspanTextHandler.Plo
1199 -rm -f ./$(DEPDIR)/SVGOutput.Plo
1200 -rm -f ./$(DEPDIR)/SVGSingleCharTextHandler.Plo
1201 -rm -f ./$(DEPDIR)/SVGTree.Plo
1202 -rm -f ./$(DEPDIR)/ShadingPatch.Plo
1203 -rm -f ./$(DEPDIR)/SignalHandler.Plo
1204 -rm -f ./$(DEPDIR)/SourceInput.Plo
1205 -rm -f ./$(DEPDIR)/SpecialManager.Plo
1206 -rm -f ./$(DEPDIR)/StreamReader.Plo
1207 -rm -f ./$(DEPDIR)/StreamWriter.Plo
1208 -rm -f ./$(DEPDIR)/Subfont.Plo
1209 -rm -f ./$(DEPDIR)/System.Plo
1210 -rm -f ./$(DEPDIR)/TFM.Plo
1211 -rm -f ./$(DEPDIR)/TTFAutohint.Plo
1212 -rm -f ./$(DEPDIR)/TensorProductPatch.Plo
1213 -rm -f ./$(DEPDIR)/Terminal.Plo
1214 -rm -f ./$(DEPDIR)/ToUnicodeMap.Plo
1215 -rm -f ./$(DEPDIR)/TpicSpecialHandler.Plo
1216 -rm -f ./$(DEPDIR)/TriangularPatch.Plo
1217 -rm -f ./$(DEPDIR)/TrueTypeFont.Plo
1218 -rm -f ./$(DEPDIR)/Unicode.Plo
1219 -rm -f ./$(DEPDIR)/VFReader.Plo
1220 -rm -f ./$(DEPDIR)/XMLDocument.Plo
1221 -rm -f ./$(DEPDIR)/XMLNode.Plo
1222 -rm -f ./$(DEPDIR)/XMLString.Plo
1223 -rm -f ./$(DEPDIR)/dvisvgm.Po
1224 -rm -f ./$(DEPDIR)/ffwrapper.Plo
1225 -rm -f ./$(DEPDIR)/psdefs.Plo
1226 -rm -f ./$(DEPDIR)/utility.Plo
1227 -rm -f Makefile
1228 distclean-am: clean-am distclean-compile distclean-generic \
1229 distclean-tags
1230
1231 dvi: dvi-recursive
1232
1233 dvi-am:
1234
1235 html: html-recursive
1236
1237 html-am:
1238
1239 info: info-recursive
1240
1241 info-am:
1242
1243 install-data-am:
1244
1245 install-dvi: install-dvi-recursive
1246
1247 install-dvi-am:
1248
1249 install-exec-am: install-binPROGRAMS
1250
1251 install-html: install-html-recursive
1252
1253 install-html-am:
1254
1255 install-info: install-info-recursive
1256
1257 install-info-am:
1258
1259 install-man:
1260
1261 install-pdf: install-pdf-recursive
1262
1263 install-pdf-am:
1264
1265 install-ps: install-ps-recursive
1266
1267 install-ps-am:
1268
1269 installcheck-am:
1270
1271 maintainer-clean: maintainer-clean-recursive
1272 -rm -f ./$(DEPDIR)/BasicDVIReader.Plo
1273 -rm -f ./$(DEPDIR)/Bezier.Plo
1274 -rm -f ./$(DEPDIR)/BgColorSpecialHandler.Plo
1275 -rm -f ./$(DEPDIR)/Bitmap.Plo
1276 -rm -f ./$(DEPDIR)/BoundingBox.Plo
1277 -rm -f ./$(DEPDIR)/CLCommandLine.Plo
1278 -rm -f ./$(DEPDIR)/CMap.Plo
1279 -rm -f ./$(DEPDIR)/CMapManager.Plo
1280 -rm -f ./$(DEPDIR)/CMapReader.Plo
1281 -rm -f ./$(DEPDIR)/Calculator.Plo
1282 -rm -f ./$(DEPDIR)/CharMapID.Plo
1283 -rm -f ./$(DEPDIR)/Color.Plo
1284 -rm -f ./$(DEPDIR)/ColorSpecialHandler.Plo
1285 -rm -f ./$(DEPDIR)/DLLoader.Plo
1286 -rm -f ./$(DEPDIR)/DVIReader.Plo
1287 -rm -f ./$(DEPDIR)/DVIToSVG.Plo
1288 -rm -f ./$(DEPDIR)/DVIToSVGActions.Plo
1289 -rm -f ./$(DEPDIR)/Directory.Plo
1290 -rm -f ./$(DEPDIR)/DvisvgmSpecialHandler.Plo
1291 -rm -f ./$(DEPDIR)/EPSFile.Plo
1292 -rm -f ./$(DEPDIR)/EllipticalArc.Plo
1293 -rm -f ./$(DEPDIR)/EmSpecialHandler.Plo
1294 -rm -f ./$(DEPDIR)/EncFile.Plo
1295 -rm -f ./$(DEPDIR)/FileFinder.Plo
1296 -rm -f ./$(DEPDIR)/FilePath.Plo
1297 -rm -f ./$(DEPDIR)/FileSystem.Plo
1298 -rm -f ./$(DEPDIR)/Font.Plo
1299 -rm -f ./$(DEPDIR)/FontCache.Plo
1300 -rm -f ./$(DEPDIR)/FontEncoding.Plo
1301 -rm -f ./$(DEPDIR)/FontEngine.Plo
1302 -rm -f ./$(DEPDIR)/FontManager.Plo
1303 -rm -f ./$(DEPDIR)/FontMap.Plo
1304 -rm -f ./$(DEPDIR)/FontMetrics.Plo
1305 -rm -f ./$(DEPDIR)/FontWriter.Plo
1306 -rm -f ./$(DEPDIR)/GFGlyphTracer.Plo
1307 -rm -f ./$(DEPDIR)/GFReader.Plo
1308 -rm -f ./$(DEPDIR)/GFTracer.Plo
1309 -rm -f ./$(DEPDIR)/Ghostscript.Plo
1310 -rm -f ./$(DEPDIR)/HashFunction.Plo
1311 -rm -f ./$(DEPDIR)/HtmlSpecialHandler.Plo
1312 -rm -f ./$(DEPDIR)/HyperlinkManager.Plo
1313 -rm -f ./$(DEPDIR)/ImageToSVG.Plo
1314 -rm -f ./$(DEPDIR)/InputBuffer.Plo
1315 -rm -f ./$(DEPDIR)/InputReader.Plo
1316 -rm -f ./$(DEPDIR)/JFM.Plo
1317 -rm -f ./$(DEPDIR)/Length.Plo
1318 -rm -f ./$(DEPDIR)/MapLine.Plo
1319 -rm -f ./$(DEPDIR)/Matrix.Plo
1320 -rm -f ./$(DEPDIR)/Message.Plo
1321 -rm -f ./$(DEPDIR)/MetafontWrapper.Plo
1322 -rm -f ./$(DEPDIR)/NoPsSpecialHandler.Plo
1323 -rm -f ./$(DEPDIR)/PDFParser.Plo
1324 -rm -f ./$(DEPDIR)/PSInterpreter.Plo
1325 -rm -f ./$(DEPDIR)/PSPattern.Plo
1326 -rm -f ./$(DEPDIR)/PSPreviewFilter.Plo
1327 -rm -f ./$(DEPDIR)/PageRanges.Plo
1328 -rm -f ./$(DEPDIR)/PageSize.Plo
1329 -rm -f ./$(DEPDIR)/PapersizeSpecialHandler.Plo
1330 -rm -f ./$(DEPDIR)/PathClipper.Plo
1331 -rm -f ./$(DEPDIR)/PdfSpecialHandler.Plo
1332 -rm -f ./$(DEPDIR)/PreScanDVIReader.Plo
1333 -rm -f ./$(DEPDIR)/Process.Plo
1334 -rm -f ./$(DEPDIR)/PsSpecialHandler.Plo
1335 -rm -f ./$(DEPDIR)/RangeMap.Plo
1336 -rm -f ./$(DEPDIR)/SVGCharHandler.Plo
1337 -rm -f ./$(DEPDIR)/SVGCharHandlerFactory.Plo
1338 -rm -f ./$(DEPDIR)/SVGCharPathHandler.Plo
1339 -rm -f ./$(DEPDIR)/SVGCharTspanTextHandler.Plo
1340 -rm -f ./$(DEPDIR)/SVGOutput.Plo
1341 -rm -f ./$(DEPDIR)/SVGSingleCharTextHandler.Plo
1342 -rm -f ./$(DEPDIR)/SVGTree.Plo
1343 -rm -f ./$(DEPDIR)/ShadingPatch.Plo
1344 -rm -f ./$(DEPDIR)/SignalHandler.Plo
1345 -rm -f ./$(DEPDIR)/SourceInput.Plo
1346 -rm -f ./$(DEPDIR)/SpecialManager.Plo
1347 -rm -f ./$(DEPDIR)/StreamReader.Plo
1348 -rm -f ./$(DEPDIR)/StreamWriter.Plo
1349 -rm -f ./$(DEPDIR)/Subfont.Plo
1350 -rm -f ./$(DEPDIR)/System.Plo
1351 -rm -f ./$(DEPDIR)/TFM.Plo
1352 -rm -f ./$(DEPDIR)/TTFAutohint.Plo
1353 -rm -f ./$(DEPDIR)/TensorProductPatch.Plo
1354 -rm -f ./$(DEPDIR)/Terminal.Plo
1355 -rm -f ./$(DEPDIR)/ToUnicodeMap.Plo
1356 -rm -f ./$(DEPDIR)/TpicSpecialHandler.Plo
1357 -rm -f ./$(DEPDIR)/TriangularPatch.Plo
1358 -rm -f ./$(DEPDIR)/TrueTypeFont.Plo
1359 -rm -f ./$(DEPDIR)/Unicode.Plo
1360 -rm -f ./$(DEPDIR)/VFReader.Plo
1361 -rm -f ./$(DEPDIR)/XMLDocument.Plo
1362 -rm -f ./$(DEPDIR)/XMLNode.Plo
1363 -rm -f ./$(DEPDIR)/XMLString.Plo
1364 -rm -f ./$(DEPDIR)/dvisvgm.Po
1365 -rm -f ./$(DEPDIR)/ffwrapper.Plo
1366 -rm -f ./$(DEPDIR)/psdefs.Plo
1367 -rm -f ./$(DEPDIR)/utility.Plo
1368 -rm -f Makefile
1369 maintainer-clean-am: distclean-am maintainer-clean-generic
1370
1371 mostlyclean: mostlyclean-recursive
1372
1373 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1374 mostlyclean-libtool
1375
1376 pdf: pdf-recursive
1377
1378 pdf-am:
1379
1380 ps: ps-recursive
1381
1382 ps-am:
1383
1384 uninstall-am: uninstall-binPROGRAMS
1385
1386 .MAKE: $(am__recursive_targets) install-am install-strip
1387
1388 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
1389 am--depfiles check check-am clean clean-binPROGRAMS \
1390 clean-generic clean-libtool clean-noinstLTLIBRARIES \
1391 cscopelist-am ctags ctags-am distclean distclean-compile \
1392 distclean-generic distclean-libtool distclean-tags distdir dvi \
1393 dvi-am html html-am info info-am install install-am \
1394 install-binPROGRAMS install-data install-data-am install-dvi \
1395 install-dvi-am install-exec install-exec-am install-html \
1396 install-html-am install-info install-info-am install-man \
1397 install-pdf install-pdf-am install-ps install-ps-am \
1398 install-strip installcheck installcheck-am installdirs \
1399 installdirs-am maintainer-clean maintainer-clean-generic \
1400 mostlyclean mostlyclean-compile mostlyclean-generic \
1401 mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
1402 uninstall-am uninstall-binPROGRAMS
1403
1404 .PRECIOUS: Makefile
1405
1406
1407 # the command-line parser class is generated from options.xml by opt2cpp
1408 $(srcdir)/CommandLine.hpp: options.xml
1409 rm -f $@
1410 python $(srcdir)/opt2cpp.py $< >$@
1411
1412 # Create a C string definition containing the PostScript routines psdefs.ps needed by class PSInterpreter
1413 $(srcdir)/psdefs.cpp: psdefs.ps
1414 if test -f $<; then \
1415 ps2c PSInterpreter::PSDEFS $< >$@; \
1416 fi
1417
1418 psdefs.ps: ;
1419
1420 @CODE_COVERAGE_RULES@
1421
1422 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1423 # Otherwise a system limit (for SysV at least) may be exceeded.
1424 .NOEXPORT:
4747 {"bannot", &PdfSpecialHandler::preprocessBeginAnn},
4848 {"beginann", &PdfSpecialHandler::preprocessBeginAnn},
4949 {"dest", &PdfSpecialHandler::preprocessDest},
50 {"pagesize", &PdfSpecialHandler::preprocessPagesize}
50 {"pagesize", &PdfSpecialHandler::preprocessPagesize},
51 {"mapfile", &PdfSpecialHandler::preprocessMapfile},
52 {"mapline", &PdfSpecialHandler::preprocessMapline}
5153 };
5254 auto it = commands.find(cmdstr);
5355 if (it != commands.end())
7072 {"eannot", &PdfSpecialHandler::processEndAnn},
7173 {"endann", &PdfSpecialHandler::processEndAnn},
7274 {"dest", &PdfSpecialHandler::processDest},
73 {"mapfile", &PdfSpecialHandler::processMapfile},
74 {"mapline", &PdfSpecialHandler::processMapline}
7575 };
7676 auto it = commands.find(cmdstr);
7777 if (it != commands.end())
115115 }
116116
117117
118 void PdfSpecialHandler::processMapfile (StreamInputReader &ir, SpecialActions&) {
118 void PdfSpecialHandler::preprocessMapfile (StreamInputReader &ir, SpecialActions&) {
119119 char modechar = prepare_mode(ir);
120120 string fname = ir.getString();
121121 if (!FontMap::instance().read(fname, modechar))
123123 }
124124
125125
126 void PdfSpecialHandler::processMapline (StreamInputReader &ir, SpecialActions&) {
126 void PdfSpecialHandler::preprocessMapline (StreamInputReader &ir, SpecialActions&) {
127127 char modechar = prepare_mode(ir);
128128 try {
129129 MapLine mapline(ir.getStream());
3737 void preprocessBeginAnn (StreamInputReader &ir, SpecialActions &actions);
3838 void preprocessDest (StreamInputReader &ir, SpecialActions &actions);
3939 void preprocessPagesize (StreamInputReader &ir, SpecialActions &actions);
40 void preprocessMapfile (StreamInputReader &ir, SpecialActions &actions);
41 void preprocessMapline (StreamInputReader &ir, SpecialActions &actions);
4042 void processBeginAnn (StreamInputReader &ir, SpecialActions &actions);
4143 void processEndAnn (StreamInputReader &ir, SpecialActions &actions);
4244 void processDest (StreamInputReader &ir, SpecialActions &actions);
43 void processMapfile (StreamInputReader &ir, SpecialActions &actions);
44 void processMapline (StreamInputReader &ir, SpecialActions &actions);
4545
4646 void dviMovedTo (double x, double y, SpecialActions &actions) override;
4747 void dviEndPage (unsigned pageno, SpecialActions &actions) override;
9696
9797
9898 /** Returns all subfonts defined in this SFD. */
99 int SubfontDefinition::subfonts (vector<Subfont*> &sfs) const {
99 vector<Subfont*> SubfontDefinition::subfonts () const {
100 vector<Subfont*> subfonts;
100101 for (const auto &strsfpair : _subfonts)
101 sfs.push_back(strsfpair.second.get());
102 return int(sfs.size());
102 subfonts.push_back(strsfpair.second.get());
103 return subfonts;
103104 }
104105
105106 //////////////////////////////////////////////////////////////////////
4242 const std::string& name() const {return _sfname;}
4343 std::string filename() const {return _sfname+".sfd";}
4444 Subfont* subfont (const std::string &id) const;
45 int subfonts (std::vector<Subfont*> &sfs) const;
45 std::vector<Subfont*> subfonts () const;
4646 const char* path () const;
4747
4848 protected:
112112 return utf8;
113113 }
114114
115
116 /** Converts a surrogate pair to its code point.
117 * @param[in] high high-surrogate value (upper 16 bits)
118 * @param[in] low low-surrogate value (lower 16 bits)
119 * @return corresponding code point or 0 if the surrogate is invalid */
120 uint32_t Unicode::fromSurrogate (uint32_t high, uint32_t low) {
121 if (high < 0xD800 || high > 0xDBff || low < 0xDC00 || low > 0xDFFF)
122 return 0;
123 // http://www.unicode.org/versions/Unicode3.0.0/ch03.pdf, p. 45
124 return (high-0xD800)*0x400 + low-0xDC00 + 0x10000;
125 }
126
127
128 /** Converts a surrogate value to its code point.
129 * @param[in] surrogate combined high and low surrogate value
130 * @return corresponding code point or 0 if the surrogate is invalid */
131 uint32_t Unicode::fromSurrogate (uint32_t surrogate) {
132 return fromSurrogate(surrogate >> 16, surrogate & 0xFFFF);
133 }
134
135
136 /** Converts a code point of the surrogate range (0x10000--0x10FFFF)
137 * to its surrogate value.
138 * @param[in] cp code point to convert
139 * @return 32-bit surrogate (combined high and low values) */
140 uint32_t Unicode::toSurrogate (uint32_t cp) {
141 if (cp < 0x10000 || cp > 0x10FFFF)
142 return 0;
143 // http://www.unicode.org/versions/Unicode3.0.0/ch03.pdf, p. 45
144 uint32_t high = (cp-0x10000)/0x400 + 0xD800;
145 uint32_t low = (cp-0x10000)%0x400 + 0xDC00;
146 return (high << 16) | low;
147 }
148
149
115150 #include "AGLTable.hpp"
116151
117152 /** Tries to extract the codepoint from AGL character names like "uni1234" or "u1234".
2222
2323 #include <string>
2424
25 struct Unicode
26 {
25 struct Unicode {
2726 static bool isValidCodepoint (uint32_t code);
2827 static uint32_t charToCodepoint (uint32_t c);
2928 static std::string utf8 (int32_t c);
29 static uint32_t fromSurrogate (uint32_t high, uint32_t low);
30 static uint32_t fromSurrogate (uint32_t cp);
31 static uint32_t toSurrogate (uint32_t cp);
3032 static int32_t aglNameToCodepoint (const std::string &name);
3133 };
3234
0 ##########################################################################
1 ## opt2cpp.py ##
2 ## ##
3 ## This file is part of dvisvgm - a fast DVI to SVG converter ##
4 ## Copyright (C) 2016-2020 Martin Gieseking <martin.gieseking@uos.de> ##
5 ## and Khaled Hosny <khaled.hosny@hindawi.com> ##
6 ## ##
7 ## This program is free software; you can redistribute it and/or ##
8 ## modify it under the terms of the GNU General Public License as ##
9 ## published by the Free Software Foundation; either version 3 of ##
10 ## the License, or (at your option) any later version. ##
11 ## ##
12 ## This program is distributed in the hope that it will be useful, but ##
13 ## WITHOUT ANY WARRANTY; without even the implied warranty of ##
14 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ##
15 ## GNU General Public License for more details. ##
16 ## ##
17 ## You should have received a copy of the GNU General Public License ##
18 ## along with this program; if not, see <http://www.gnu.org/licenses/>. ##
19 ##########################################################################
20
21 from lxml import etree
22 import re
23 import sys
24
25 hpp_template = """// This file was automatically generated by opt2cpp.
26 // It is part of the dvisvgm package and published under the terms
27 // of the GNU General Public License version 3, or (at your option) any later version.
28 // See file COPYING for further details.
29 // Copyright (C) 2016-2020 Martin Gieseking <martin.gieseking@uos.de>
30
31 #ifndef {guard}
32 #define {guard}
33
34 #include <config.h>
35 #include <array>
36 #include <vector>
37 #include "CLCommandLine.hpp"
38
39 using CL::Option;
40 using CL::TypedOption;
41
42 class {class} : public CL::CommandLine {{
43 \tpublic:
44 \t\t{class} () : CL::CommandLine(
45 \t\t\t"{summary}",
46 \t\t\t"{usage}",
47 \t\t\t"{copyright}"
48 \t\t) {{}}
49
50 \t\t{class} (int argc, char **argv) : CommandLine() {{
51 \t\t\tparse(argc, argv);
52 \t\t}}
53
54 \t\t// option variables
55 {optvars}
56 \tprotected:
57 \t\tstd::vector<OptSectPair>& options () const override {{return _options;}}
58 \t\tconst char* section (size_t n) const override {{return n < _sections.size() ? _sections[n] : nullptr;}}
59
60 \tprivate:
61 \t\t{sectarray}
62 \t\tmutable {optvec}}};
63
64 #endif
65 """
66
67 def create_hpp (optfile):
68 parser = etree.XMLParser(dtd_validation=True)
69 tree = etree.parse(optfile, parser=parser)
70 root = tree.getroot()
71
72 vars = {}
73 vars["class"] = root.get("class")
74 vars["guard"] = "{}_HPP".format(vars["class"].upper())
75
76 prog = root.xpath("/*/program")[0]
77 vars["summary"] = prog.findtext("description")
78 vars["copyright"] = prog.findtext("copyright")
79 vars["usage"] = ""
80 for usage in prog.xpath("usage"):
81 vars["usage"] += "{}\\n".format(usage.text)
82 vars["usage"] = vars["usage"][:-2]
83
84 sections = root.xpath("//section")
85 vars["sectarray"] = "std::array<const char*, {}> _sections {{{{\n".format(len(sections))
86 for sect in sections:
87 vars["sectarray"] += '\t\t\t"{}",\n'.format(sect.get("title"))
88 vars["sectarray"] += "\t\t}};\n"
89
90 vars["optvars"] = ""
91 options = root.xpath("//option")
92 for optelem in sorted(options, key=lambda opt: opt.get("long")):
93 check_redefinition(optelem)
94 vars["optvars"] += "\t\t{}\n".format(create_optvar(optelem))
95
96 vars["optvec"] = "std::vector<OptSectPair> _options = {\n"
97 for optelem in options:
98 sectnum = int(optelem.xpath("count(../preceding-sibling::section)"))
99 vecentry = '\t\t\t{{&{}, {}}},'.format(create_optname(optelem), sectnum)
100 if (optelem.get("if")):
101 vecentry = "#if {}\n{}\n#endif".format(optelem.get("if"), vecentry)
102 vars["optvec"] += "{}\n".format(vecentry)
103 vars["optvec"] += "\t\t};\n";
104
105 return hpp_template.format(**vars)
106
107 # Check if a short option name is already in use.
108 # It's not necessary to check the long option names because they are IDs handled by the validator.
109 def check_redefinition (optelem):
110 shortname = optelem.get("short")
111 count = optelem.xpath('count(preceding::option[@short="%s"])' % shortname)
112 assert count == 0, "redefinition of option -%s" % shortname
113
114 # Returns the C++ variable definition of an option including its initializer list.
115 def create_optvar (optelem):
116 typename = "Option"
117 argelem = optelem.find("arg")
118 if argelem is not None:
119 argtype = argelem.get("type")
120 argname = argelem.get("name")
121 argval = argelem.get("default")
122 if argtype == "string":
123 argtype = "std::string"
124 argmode = "OPTIONAL" if optelem.xpath("arg/@optional='yes'") else "REQUIRED"
125 typename = "TypedOption<%s, Option::ArgMode::%s>" %(argtype, argmode)
126 longname = optelem.get("long")
127 shortname = optelem.get("short") if optelem.get("short") else "\\0"
128 descr = optelem.xpath("description/text()")[0]
129 if argelem is not None:
130 if argval is None:
131 return '{} {} {{"{}", \'{}\', "{}", "{}"}};'.format(typename, create_optname(optelem), longname, shortname, argname, descr)
132 if argtype == "std::string":
133 argval = '"{}"'.format(argval)
134 return '{} {} {{"{}", \'{}\', "{}", {}, "{}"}};'.format(typename, create_optname(optelem), longname, shortname, argname, argval, descr)
135 return '{} {} {{"{}", \'{}\', "{}"}};'.format(typename, create_optname(optelem), longname, shortname, descr)
136
137 # Returns the C++ variable name of an option.
138 def create_optname (optelem):
139 optname = "%sOpt" % optelem.get("long")
140 return re.sub('-([a-z])', lambda pat: pat.group(1).upper(), optname)
141
142 if __name__ == "__main__":
143 print(create_hpp(sys.argv[1]))
144
+0
-695
src/optimizer/Makefile.in less more
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 VPATH = @srcdir@
17 am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
27 }
28 am__make_running_with_option = \
29 case $${target_option-} in \
30 ?) ;; \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
33 exit 1;; \
34 esac; \
35 has_opt=no; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
39 else \
40 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \
42 bs=\\; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 esac; \
46 fi; \
47 skip_next=no; \
48 strip_trailopt () \
49 { \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 }; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
54 case $$flg in \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
59 -*O?*) strip_trailopt 'O';; \
60 -*l) strip_trailopt 'l'; skip_next=yes;; \
61 -*l?*) strip_trailopt 'l';; \
62 -[dEDm]) skip_next=yes;; \
63 -[JT]) skip_next=yes;; \
64 esac; \
65 case $$flg in \
66 *$$target_option*) has_opt=yes; break;; \
67 esac; \
68 done; \
69 test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
72 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
74 pkglibdir = $(libdir)/@PACKAGE@
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
76 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77 install_sh_DATA = $(install_sh) -c -m 644
78 install_sh_PROGRAM = $(install_sh) -c
79 install_sh_SCRIPT = $(install_sh) -c
80 INSTALL_HEADER = $(INSTALL_DATA)
81 transform = $(program_transform_name)
82 NORMAL_INSTALL = :
83 PRE_INSTALL = :
84 POST_INSTALL = :
85 NORMAL_UNINSTALL = :
86 PRE_UNINSTALL = :
87 POST_UNINSTALL = :
88 build_triplet = @build@
89 host_triplet = @host@
90 target_triplet = @target@
91 subdir = src/optimizer
92 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
93 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
94 $(top_srcdir)/m4/ax_code_coverage.m4 \
95 $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \
96 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
97 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
98 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
99 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
100 $(ACLOCAL_M4)
101 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
102 mkinstalldirs = $(install_sh) -d
103 CONFIG_HEADER = $(top_builddir)/config.h
104 CONFIG_CLEAN_FILES =
105 CONFIG_CLEAN_VPATH_FILES =
106 LTLIBRARIES = $(noinst_LTLIBRARIES)
107 liboptimizer_la_LIBADD =
108 am_liboptimizer_la_OBJECTS = AttributeExtractor.lo GroupCollapser.lo \
109 RedundantElementRemover.lo SVGOptimizer.lo TextSimplifier.lo \
110 TransformSimplifier.lo WSNodeRemover.lo
111 liboptimizer_la_OBJECTS = $(am_liboptimizer_la_OBJECTS)
112 AM_V_lt = $(am__v_lt_@AM_V@)
113 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
114 am__v_lt_0 = --silent
115 am__v_lt_1 =
116 AM_V_P = $(am__v_P_@AM_V@)
117 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
118 am__v_P_0 = false
119 am__v_P_1 = :
120 AM_V_GEN = $(am__v_GEN_@AM_V@)
121 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
122 am__v_GEN_0 = @echo " GEN " $@;
123 am__v_GEN_1 =
124 AM_V_at = $(am__v_at_@AM_V@)
125 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
126 am__v_at_0 = @
127 am__v_at_1 =
128 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
129 depcomp = $(SHELL) $(top_srcdir)/depcomp
130 am__maybe_remake_depfiles = depfiles
131 am__depfiles_remade = ./$(DEPDIR)/AttributeExtractor.Plo \
132 ./$(DEPDIR)/GroupCollapser.Plo \
133 ./$(DEPDIR)/RedundantElementRemover.Plo \
134 ./$(DEPDIR)/SVGOptimizer.Plo ./$(DEPDIR)/TextSimplifier.Plo \
135 ./$(DEPDIR)/TransformSimplifier.Plo \
136 ./$(DEPDIR)/WSNodeRemover.Plo
137 am__mv = mv -f
138 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
139 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
140 LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
141 $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \
142 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
143 $(AM_CXXFLAGS) $(CXXFLAGS)
144 AM_V_CXX = $(am__v_CXX_@AM_V@)
145 am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
146 am__v_CXX_0 = @echo " CXX " $@;
147 am__v_CXX_1 =
148 CXXLD = $(CXX)
149 CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
150 $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
151 $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
152 AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
153 am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
154 am__v_CXXLD_0 = @echo " CXXLD " $@;
155 am__v_CXXLD_1 =
156 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
157 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
158 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
159 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
160 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
161 $(AM_CFLAGS) $(CFLAGS)
162 AM_V_CC = $(am__v_CC_@AM_V@)
163 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
164 am__v_CC_0 = @echo " CC " $@;
165 am__v_CC_1 =
166 CCLD = $(CC)
167 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
168 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
169 $(AM_LDFLAGS) $(LDFLAGS) -o $@
170 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
171 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
172 am__v_CCLD_0 = @echo " CCLD " $@;
173 am__v_CCLD_1 =
174 SOURCES = $(liboptimizer_la_SOURCES)
175 DIST_SOURCES = $(liboptimizer_la_SOURCES)
176 am__can_run_installinfo = \
177 case $$AM_UPDATE_INFO_DIR in \
178 n|no|NO) false;; \
179 *) (install-info --version) >/dev/null 2>&1;; \
180 esac
181 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
182 # Read a list of newline-separated strings from the standard input,
183 # and print each of them once, without duplicates. Input order is
184 # *not* preserved.
185 am__uniquify_input = $(AWK) '\
186 BEGIN { nonempty = 0; } \
187 { items[$$0] = 1; nonempty = 1; } \
188 END { if (nonempty) { for (i in items) print i; }; } \
189 '
190 # Make sure the list of sources is unique. This is necessary because,
191 # e.g., the same source file might be shared among _SOURCES variables
192 # for different programs/libraries.
193 am__define_uniq_tagged_files = \
194 list='$(am__tagged_files)'; \
195 unique=`for i in $$list; do \
196 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
197 done | $(am__uniquify_input)`
198 ETAGS = etags
199 CTAGS = ctags
200 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp
201 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
202 ACLOCAL = @ACLOCAL@
203 AMTAR = @AMTAR@
204 AM_CPPFLAGS = @AM_CPPFLAGS@
205 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
206 AM_LDFLAGS = @AM_LDFLAGS@
207 AR = @AR@
208 ASCIIDOC = @ASCIIDOC@
209 AUTOCONF = @AUTOCONF@
210 AUTOHEADER = @AUTOHEADER@
211 AUTOMAKE = @AUTOMAKE@
212 AWK = @AWK@
213 BROTLI_CFLAGS = @BROTLI_CFLAGS@
214 BROTLI_LIBS = @BROTLI_LIBS@
215 CC = @CC@
216 CCDEPMODE = @CCDEPMODE@
217 CFLAGS = @CFLAGS@
218 CODE_COVERAGE_CFLAGS = @CODE_COVERAGE_CFLAGS@
219 CODE_COVERAGE_CPPFLAGS = @CODE_COVERAGE_CPPFLAGS@
220 CODE_COVERAGE_CXXFLAGS = @CODE_COVERAGE_CXXFLAGS@
221 CODE_COVERAGE_ENABLED = @CODE_COVERAGE_ENABLED@
222 CODE_COVERAGE_LDFLAGS = @CODE_COVERAGE_LDFLAGS@
223 CODE_COVERAGE_LIBS = @CODE_COVERAGE_LIBS@
224 CPP = @CPP@
225 CPPFLAGS = @CPPFLAGS@
226 CXX = @CXX@
227 CXXCPP = @CXXCPP@
228 CXXDEPMODE = @CXXDEPMODE@
229 CXXFLAGS = @CXXFLAGS@
230 CYGPATH_W = @CYGPATH_W@
231 DATE = @DATE@
232 DEFS = @DEFS@
233 DEPDIR = @DEPDIR@
234 DLLTOOL = @DLLTOOL@
235 DSYMUTIL = @DSYMUTIL@
236 DUMPBIN = @DUMPBIN@
237 ECHO_C = @ECHO_C@
238 ECHO_N = @ECHO_N@
239 ECHO_T = @ECHO_T@
240 EGREP = @EGREP@
241 EXEEXT = @EXEEXT@
242 FGREP = @FGREP@
243 FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
244 FREETYPE_LIBS = @FREETYPE_LIBS@
245 GCOV = @GCOV@
246 GENHTML = @GENHTML@
247 GREP = @GREP@
248 HAVE_CXX11 = @HAVE_CXX11@
249 INSTALL = @INSTALL@
250 INSTALL_DATA = @INSTALL_DATA@
251 INSTALL_PROGRAM = @INSTALL_PROGRAM@
252 INSTALL_SCRIPT = @INSTALL_SCRIPT@
253 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
254 KPSE_CFLAGS = @KPSE_CFLAGS@
255 KPSE_LIBS = @KPSE_LIBS@
256 LCOV = @LCOV@
257 LD = @LD@
258 LDFLAGS = @LDFLAGS@
259 LIBCRYPTO_CFLAGS = @LIBCRYPTO_CFLAGS@
260 LIBCRYPTO_LIBS = @LIBCRYPTO_LIBS@
261 LIBOBJS = @LIBOBJS@
262 LIBS = @LIBS@
263 LIBTOOL = @LIBTOOL@
264 LIPO = @LIPO@
265 LN_S = @LN_S@
266 LTLIBOBJS = @LTLIBOBJS@
267 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
268 MAKEINFO = @MAKEINFO@
269 MANIFEST_TOOL = @MANIFEST_TOOL@
270 MKDIR_P = @MKDIR_P@
271 NM = @NM@
272 NMEDIT = @NMEDIT@
273 OBJDUMP = @OBJDUMP@
274 OBJEXT = @OBJEXT@
275 OTOOL = @OTOOL@
276 OTOOL64 = @OTOOL64@
277 PACKAGE = @PACKAGE@
278 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
279 PACKAGE_NAME = @PACKAGE_NAME@
280 PACKAGE_STRING = @PACKAGE_STRING@
281 PACKAGE_TARNAME = @PACKAGE_TARNAME@
282 PACKAGE_URL = @PACKAGE_URL@
283 PACKAGE_VERSION = @PACKAGE_VERSION@
284 PATH_SEPARATOR = @PATH_SEPARATOR@
285 PKG_CONFIG = @PKG_CONFIG@
286 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
287 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
288 RANLIB = @RANLIB@
289 SED = @SED@
290 SET_MAKE = @SET_MAKE@
291 SHELL = @SHELL@
292 STRIP = @STRIP@
293 TTFAUTOHINT_CFLAGS = @TTFAUTOHINT_CFLAGS@
294 TTFAUTOHINT_LIBS = @TTFAUTOHINT_LIBS@
295 VERSION = @VERSION@
296 WOFF2_CFLAGS = @WOFF2_CFLAGS@
297 WOFF2_LIBS = @WOFF2_LIBS@
298 XMLTO = @XMLTO@
299 XSLTPROC = @XSLTPROC@
300 ZLIB_CFLAGS = @ZLIB_CFLAGS@
301 ZLIB_LIBS = @ZLIB_LIBS@
302 abs_builddir = @abs_builddir@
303 abs_srcdir = @abs_srcdir@
304 abs_top_builddir = @abs_top_builddir@
305 abs_top_srcdir = @abs_top_srcdir@
306 ac_ct_AR = @ac_ct_AR@
307 ac_ct_CC = @ac_ct_CC@
308 ac_ct_CXX = @ac_ct_CXX@
309 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
310 am__include = @am__include@
311 am__leading_dot = @am__leading_dot@
312 am__quote = @am__quote@
313 am__tar = @am__tar@
314 am__untar = @am__untar@
315 bindir = @bindir@
316 build = @build@
317 build_alias = @build_alias@
318 build_cpu = @build_cpu@
319 build_os = @build_os@
320 build_vendor = @build_vendor@
321 builddir = @builddir@
322 datadir = @datadir@
323 datarootdir = @datarootdir@
324 docdir = @docdir@
325 dvidir = @dvidir@
326 dvisvgm_srcdir = @dvisvgm_srcdir@
327 exec_prefix = @exec_prefix@
328 host = @host@
329 host_alias = @host_alias@
330 host_cpu = @host_cpu@
331 host_os = @host_os@
332 host_vendor = @host_vendor@
333 htmldir = @htmldir@
334 includedir = @includedir@
335 infodir = @infodir@
336 install_sh = @install_sh@
337 libdir = @libdir@
338 libexecdir = @libexecdir@
339 localedir = @localedir@
340 localstatedir = @localstatedir@
341 mandir = @mandir@
342 mkdir_p = @mkdir_p@
343 oldincludedir = @oldincludedir@
344 pdfdir = @pdfdir@
345 prefix = @prefix@
346 program_transform_name = @program_transform_name@
347 psdir = @psdir@
348 sbindir = @sbindir@
349 sharedstatedir = @sharedstatedir@
350 srcdir = @srcdir@
351 sysconfdir = @sysconfdir@
352 target = @target@
353 target_alias = @target_alias@
354 target_cpu = @target_cpu@
355 target_os = @target_os@
356 target_vendor = @target_vendor@
357 top_build_prefix = @top_build_prefix@
358 top_builddir = @top_builddir@
359 top_srcdir = @top_srcdir@
360 noinst_LTLIBRARIES = liboptimizer.la
361 liboptimizer_la_SOURCES = \
362 AttributeExtractor.hpp AttributeExtractor.cpp \
363 DependencyGraph.hpp \
364 GroupCollapser.hpp GroupCollapser.cpp \
365 OptimizerModule.hpp \
366 RedundantElementRemover.hpp RedundantElementRemover.cpp \
367 SVGOptimizer.hpp SVGOptimizer.cpp \
368 TextSimplifier.hpp TextSimplifier.cpp \
369 TransformSimplifier.hpp TransformSimplifier.cpp \
370 WSNodeRemover.hpp WSNodeRemover.cpp
371
372 AM_CXXFLAGS = -I$(dvisvgm_srcdir)/libs/variant/include
373 all: all-am
374
375 .SUFFIXES:
376 .SUFFIXES: .cpp .lo .o .obj
377 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
378 @for dep in $?; do \
379 case '$(am__configure_deps)' in \
380 *$$dep*) \
381 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
382 && { if test -f $@; then exit 0; else break; fi; }; \
383 exit 1;; \
384 esac; \
385 done; \
386 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/optimizer/Makefile'; \
387 $(am__cd) $(top_srcdir) && \
388 $(AUTOMAKE) --foreign src/optimizer/Makefile
389 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
390 @case '$?' in \
391 *config.status*) \
392 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
393 *) \
394 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
395 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
396 esac;
397
398 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
399 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
400
401 $(top_srcdir)/configure: $(am__configure_deps)
402 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
403 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
404 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
405 $(am__aclocal_m4_deps):
406
407 clean-noinstLTLIBRARIES:
408 -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
409 @list='$(noinst_LTLIBRARIES)'; \
410 locs=`for p in $$list; do echo $$p; done | \
411 sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
412 sort -u`; \
413 test -z "$$locs" || { \
414 echo rm -f $${locs}; \
415 rm -f $${locs}; \
416 }
417
418 liboptimizer.la: $(liboptimizer_la_OBJECTS) $(liboptimizer_la_DEPENDENCIES) $(EXTRA_liboptimizer_la_DEPENDENCIES)
419 $(AM_V_CXXLD)$(CXXLINK) $(liboptimizer_la_OBJECTS) $(liboptimizer_la_LIBADD) $(LIBS)
420
421 mostlyclean-compile:
422 -rm -f *.$(OBJEXT)
423
424 distclean-compile:
425 -rm -f *.tab.c
426
427 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AttributeExtractor.Plo@am__quote@ # am--include-marker
428 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GroupCollapser.Plo@am__quote@ # am--include-marker
429 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/RedundantElementRemover.Plo@am__quote@ # am--include-marker
430 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SVGOptimizer.Plo@am__quote@ # am--include-marker
431 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/TextSimplifier.Plo@am__quote@ # am--include-marker
432 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/TransformSimplifier.Plo@am__quote@ # am--include-marker
433 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WSNodeRemover.Plo@am__quote@ # am--include-marker
434
435 $(am__depfiles_remade):
436 @$(MKDIR_P) $(@D)
437 @echo '# dummy' >$@-t && $(am__mv) $@-t $@
438
439 am--depfiles: $(am__depfiles_remade)
440
441 .cpp.o:
442 @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
443 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
444 @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
445 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
446 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
447 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $<
448
449 .cpp.obj:
450 @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
451 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
452 @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
453 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
454 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
455 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
456
457 .cpp.lo:
458 @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
459 @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
460 @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
461 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
462 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
463 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $<
464
465 mostlyclean-libtool:
466 -rm -f *.lo
467
468 clean-libtool:
469 -rm -rf .libs _libs
470
471 ID: $(am__tagged_files)
472 $(am__define_uniq_tagged_files); mkid -fID $$unique
473 tags: tags-am
474 TAGS: tags
475
476 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
477 set x; \
478 here=`pwd`; \
479 $(am__define_uniq_tagged_files); \
480 shift; \
481 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
482 test -n "$$unique" || unique=$$empty_fix; \
483 if test $$# -gt 0; then \
484 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
485 "$$@" $$unique; \
486 else \
487 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
488 $$unique; \
489 fi; \
490 fi
491 ctags: ctags-am
492
493 CTAGS: ctags
494 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
495 $(am__define_uniq_tagged_files); \
496 test -z "$(CTAGS_ARGS)$$unique" \
497 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
498 $$unique
499
500 GTAGS:
501 here=`$(am__cd) $(top_builddir) && pwd` \
502 && $(am__cd) $(top_srcdir) \
503 && gtags -i $(GTAGS_ARGS) "$$here"
504 cscopelist: cscopelist-am
505
506 cscopelist-am: $(am__tagged_files)
507 list='$(am__tagged_files)'; \
508 case "$(srcdir)" in \
509 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
510 *) sdir=$(subdir)/$(srcdir) ;; \
511 esac; \
512 for i in $$list; do \
513 if test -f "$$i"; then \
514 echo "$(subdir)/$$i"; \
515 else \
516 echo "$$sdir/$$i"; \
517 fi; \
518 done >> $(top_builddir)/cscope.files
519
520 distclean-tags:
521 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
522
523 distdir: $(BUILT_SOURCES)
524 $(MAKE) $(AM_MAKEFLAGS) distdir-am
525
526 distdir-am: $(DISTFILES)
527 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
528 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
529 list='$(DISTFILES)'; \
530 dist_files=`for file in $$list; do echo $$file; done | \
531 sed -e "s|^$$srcdirstrip/||;t" \
532 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
533 case $$dist_files in \
534 */*) $(MKDIR_P) `echo "$$dist_files" | \
535 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
536 sort -u` ;; \
537 esac; \
538 for file in $$dist_files; do \
539 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
540 if test -d $$d/$$file; then \
541 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
542 if test -d "$(distdir)/$$file"; then \
543 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
544 fi; \
545 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
546 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
547 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
548 fi; \
549 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
550 else \
551 test -f "$(distdir)/$$file" \
552 || cp -p $$d/$$file "$(distdir)/$$file" \
553 || exit 1; \
554 fi; \
555 done
556 check-am: all-am
557 check: check-am
558 all-am: Makefile $(LTLIBRARIES)
559 installdirs:
560 install: install-am
561 install-exec: install-exec-am
562 install-data: install-data-am
563 uninstall: uninstall-am
564
565 install-am: all-am
566 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
567
568 installcheck: installcheck-am
569 install-strip:
570 if test -z '$(STRIP)'; then \
571 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
572 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
573 install; \
574 else \
575 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
576 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
577 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
578 fi
579 mostlyclean-generic:
580
581 clean-generic:
582
583 distclean-generic:
584 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
585 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
586
587 maintainer-clean-generic:
588 @echo "This command is intended for maintainers to use"
589 @echo "it deletes files that may require special tools to rebuild."
590 clean: clean-am
591
592 clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
593 mostlyclean-am
594
595 distclean: distclean-am
596 -rm -f ./$(DEPDIR)/AttributeExtractor.Plo
597 -rm -f ./$(DEPDIR)/GroupCollapser.Plo
598 -rm -f ./$(DEPDIR)/RedundantElementRemover.Plo
599 -rm -f ./$(DEPDIR)/SVGOptimizer.Plo
600 -rm -f ./$(DEPDIR)/TextSimplifier.Plo
601 -rm -f ./$(DEPDIR)/TransformSimplifier.Plo
602 -rm -f ./$(DEPDIR)/WSNodeRemover.Plo
603 -rm -f Makefile
604 distclean-am: clean-am distclean-compile distclean-generic \
605 distclean-tags
606
607 dvi: dvi-am
608
609 dvi-am:
610
611 html: html-am
612
613 html-am:
614
615 info: info-am
616
617 info-am:
618
619 install-data-am:
620
621 install-dvi: install-dvi-am
622
623 install-dvi-am:
624
625 install-exec-am:
626
627 install-html: install-html-am
628
629 install-html-am:
630
631 install-info: install-info-am
632
633 install-info-am:
634
635 install-man:
636
637 install-pdf: install-pdf-am
638
639 install-pdf-am:
640
641 install-ps: install-ps-am
642
643 install-ps-am:
644
645 installcheck-am:
646
647 maintainer-clean: maintainer-clean-am
648 -rm -f ./$(DEPDIR)/AttributeExtractor.Plo
649 -rm -f ./$(DEPDIR)/GroupCollapser.Plo
650 -rm -f ./$(DEPDIR)/RedundantElementRemover.Plo
651 -rm -f ./$(DEPDIR)/SVGOptimizer.Plo
652 -rm -f ./$(DEPDIR)/TextSimplifier.Plo
653 -rm -f ./$(DEPDIR)/TransformSimplifier.Plo
654 -rm -f ./$(DEPDIR)/WSNodeRemover.Plo
655 -rm -f Makefile
656 maintainer-clean-am: distclean-am maintainer-clean-generic
657
658 mostlyclean: mostlyclean-am
659
660 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
661 mostlyclean-libtool
662
663 pdf: pdf-am
664
665 pdf-am:
666
667 ps: ps-am
668
669 ps-am:
670
671 uninstall-am:
672
673 .MAKE: install-am install-strip
674
675 .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
676 clean-generic clean-libtool clean-noinstLTLIBRARIES \
677 cscopelist-am ctags ctags-am distclean distclean-compile \
678 distclean-generic distclean-libtool distclean-tags distdir dvi \
679 dvi-am html html-am info info-am install install-am \
680 install-data install-data-am install-dvi install-dvi-am \
681 install-exec install-exec-am install-html install-html-am \
682 install-info install-info-am install-man install-pdf \
683 install-pdf-am install-ps install-ps-am install-strip \
684 installcheck installcheck-am installdirs maintainer-clean \
685 maintainer-clean-generic mostlyclean mostlyclean-compile \
686 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
687 tags tags-am uninstall uninstall-am
688
689 .PRECIOUS: Makefile
690
691
692 # Tell versions [3.59,3.63) of GNU make to not export all variables.
693 # Otherwise a system limit (for SysV at least) may be exceeded.
694 .NOEXPORT:
0 /*************************************************************************
1 ** version.hpp **
2 ** **
3 ** This file is part of dvisvgm -- a fast DVI to SVG converter **
4 ** Copyright (C) 2005-2020 Martin Gieseking <martin.gieseking@uos.de> **
5 ** **
6 ** This program is free software; you can redistribute it and/or **
7 ** modify it under the terms of the GNU General Public License as **
8 ** published by the Free Software Foundation; either version 3 of **
9 ** the License, or (at your option) any later version. **
10 ** **
11 ** This program is distributed in the hope that it will be useful, but **
12 ** WITHOUT ANY WARRANTY; without even the implied warranty of **
13 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the **
14 ** GNU General Public License for more details. **
15 ** **
16 ** You should have received a copy of the GNU General Public License **
17 ** along with this program; if not, see <http://www.gnu.org/licenses/>. **
18 *************************************************************************/
19
20 #ifndef VERSION_HPP
21 #define VERSION_HPP
22
23 constexpr const char *PROGRAM_NAME = "dvisvgm";
24 constexpr const char *PROGRAM_VERSION = "2.11";
25
26 #endif
27
+0
-148
test-driver less more
0 #! /bin/sh
1 # test-driver - basic testsuite driver script.
2
3 scriptversion=2018-03-07.03; # UTC
4
5 # Copyright (C) 2011-2018 Free Software Foundation, Inc.
6 #
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2, or (at your option)
10 # any later version.
11 #
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with this program. If not, see <https://www.gnu.org/licenses/>.
19
20 # As a special exception to the GNU General Public License, if you
21 # distribute this file as part of a program that contains a
22 # configuration script generated by Autoconf, you may include it under
23 # the same distribution terms that you use for the rest of that program.
24
25 # This file is maintained in Automake, please report
26 # bugs to <bug-automake@gnu.org> or send patches to
27 # <automake-patches@gnu.org>.
28
29 # Make unconditional expansion of undefined variables an error. This
30 # helps a lot in preventing typo-related bugs.
31 set -u
32
33 usage_error ()
34 {
35 echo "$0: $*" >&2
36 print_usage >&2
37 exit 2
38 }
39
40 print_usage ()
41 {
42 cat <<END
43 Usage:
44 test-driver --test-name=NAME --log-file=PATH --trs-file=PATH
45 [--expect-failure={yes|no}] [--color-tests={yes|no}]
46 [--enable-hard-errors={yes|no}] [--]
47 TEST-SCRIPT [TEST-SCRIPT-ARGUMENTS]
48 The '--test-name', '--log-file' and '--trs-file' options are mandatory.
49 END
50 }
51
52 test_name= # Used for reporting.
53 log_file= # Where to save the output of the test script.
54 trs_file= # Where to save the metadata of the test run.
55 expect_failure=no
56 color_tests=no
57 enable_hard_errors=yes
58 while test $# -gt 0; do
59 case $1 in
60 --help) print_usage; exit $?;;
61 --version) echo "test-driver $scriptversion"; exit $?;;
62 --test-name) test_name=$2; shift;;
63 --log-file) log_file=$2; shift;;
64 --trs-file) trs_file=$2; shift;;
65 --color-tests) color_tests=$2; shift;;
66 --expect-failure) expect_failure=$2; shift;;
67 --enable-hard-errors) enable_hard_errors=$2; shift;;
68 --) shift; break;;
69 -*) usage_error "invalid option: '$1'";;
70 *) break;;
71 esac
72 shift
73 done
74
75 missing_opts=
76 test x"$test_name" = x && missing_opts="$missing_opts --test-name"
77 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
78 test x"$trs_file" = x && missing_opts="$missing_opts --trs-file"
79 if test x"$missing_opts" != x; then
80 usage_error "the following mandatory options are missing:$missing_opts"
81 fi
82
83 if test $# -eq 0; then
84 usage_error "missing argument"
85 fi
86
87 if test $color_tests = yes; then
88 # Keep this in sync with 'lib/am/check.am:$(am__tty_colors)'.
89 red='' # Red.
90 grn='' # Green.
91 lgn='' # Light green.
92 blu='' # Blue.
93 mgn='' # Magenta.
94 std='' # No color.
95 else
96 red= grn= lgn= blu= mgn= std=
97 fi
98
99 do_exit='rm -f $log_file $trs_file; (exit $st); exit $st'
100 trap "st=129; $do_exit" 1
101 trap "st=130; $do_exit" 2
102 trap "st=141; $do_exit" 13
103 trap "st=143; $do_exit" 15
104
105 # Test script is run here.
106 "$@" >$log_file 2>&1
107 estatus=$?
108
109 if test $enable_hard_errors = no && test $estatus -eq 99; then
110 tweaked_estatus=1
111 else
112 tweaked_estatus=$estatus
113 fi
114
115 case $tweaked_estatus:$expect_failure in
116 0:yes) col=$red res=XPASS recheck=yes gcopy=yes;;
117 0:*) col=$grn res=PASS recheck=no gcopy=no;;
118 77:*) col=$blu res=SKIP recheck=no gcopy=yes;;
119 99:*) col=$mgn res=ERROR recheck=yes gcopy=yes;;
120 *:yes) col=$lgn res=XFAIL recheck=no gcopy=yes;;
121 *:*) col=$red res=FAIL recheck=yes gcopy=yes;;
122 esac
123
124 # Report the test outcome and exit status in the logs, so that one can
125 # know whether the test passed or failed simply by looking at the '.log'
126 # file, without the need of also peaking into the corresponding '.trs'
127 # file (automake bug#11814).
128 echo "$res $test_name (exit status: $estatus)" >>$log_file
129
130 # Report outcome to console.
131 echo "${col}${res}${std}: $test_name"
132
133 # Register the test result, and other relevant metadata.
134 echo ":test-result: $res" > $trs_file
135 echo ":global-test-result: $res" >> $trs_file
136 echo ":recheck: $recheck" >> $trs_file
137 echo ":copy-in-global-log: $gcopy" >> $trs_file
138
139 # Local Variables:
140 # mode: shell-script
141 # sh-indentation: 2
142 # eval: (add-hook 'before-save-hook 'time-stamp)
143 # time-stamp-start: "scriptversion="
144 # time-stamp-format: "%:y-%02m-%02d.%02H"
145 # time-stamp-time-zone: "UTC0"
146 # time-stamp-end: "; # UTC"
147 # End:
+0
-3517
tests/Makefile.in less more
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15 VPATH = @srcdir@
16 am__is_gnu_make = { \
17 if test -z '$(MAKELEVEL)'; then \
18 false; \
19 elif test -n '$(MAKE_HOST)'; then \
20 true; \
21 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
22 true; \
23 else \
24 false; \
25 fi; \
26 }
27 am__make_running_with_option = \
28 case $${target_option-} in \
29 ?) ;; \
30 *) echo "am__make_running_with_option: internal error: invalid" \
31 "target option '$${target_option-}' specified" >&2; \
32 exit 1;; \
33 esac; \
34 has_opt=no; \
35 sane_makeflags=$$MAKEFLAGS; \
36 if $(am__is_gnu_make); then \
37 sane_makeflags=$$MFLAGS; \
38 else \
39 case $$MAKEFLAGS in \
40 *\\[\ \ ]*) \
41 bs=\\; \
42 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
43 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
44 esac; \
45 fi; \
46 skip_next=no; \
47 strip_trailopt () \
48 { \
49 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
50 }; \
51 for flg in $$sane_makeflags; do \
52 test $$skip_next = yes && { skip_next=no; continue; }; \
53 case $$flg in \
54 *=*|--*) continue;; \
55 -*I) strip_trailopt 'I'; skip_next=yes;; \
56 -*I?*) strip_trailopt 'I';; \
57 -*O) strip_trailopt 'O'; skip_next=yes;; \
58 -*O?*) strip_trailopt 'O';; \
59 -*l) strip_trailopt 'l'; skip_next=yes;; \
60 -*l?*) strip_trailopt 'l';; \
61 -[dEDm]) skip_next=yes;; \
62 -[JT]) skip_next=yes;; \
63 esac; \
64 case $$flg in \
65 *$$target_option*) has_opt=yes; break;; \
66 esac; \
67 done; \
68 test $$has_opt = yes
69 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
70 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
71 pkgdatadir = $(datadir)/@PACKAGE@
72 pkgincludedir = $(includedir)/@PACKAGE@
73 pkglibdir = $(libdir)/@PACKAGE@
74 pkglibexecdir = $(libexecdir)/@PACKAGE@
75 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
76 install_sh_DATA = $(install_sh) -c -m 644
77 install_sh_PROGRAM = $(install_sh) -c
78 install_sh_SCRIPT = $(install_sh) -c
79 INSTALL_HEADER = $(INSTALL_DATA)
80 transform = $(program_transform_name)
81 NORMAL_INSTALL = :
82 PRE_INSTALL = :
83 POST_INSTALL = :
84 NORMAL_UNINSTALL = :
85 PRE_UNINSTALL = :
86 POST_UNINSTALL = :
87 build_triplet = @build@
88 host_triplet = @host@
89 target_triplet = @target@
90 @HAVE_BROTLI_FALSE@am__append_1 = -I$(dvisvgm_srcdir)/libs/brotli/include
91 @HAVE_BROTLI_FALSE@am__append_2 = ../libs/brotli/libbrotli.a
92 @HAVE_WOFF2_FALSE@am__append_3 = -I$(dvisvgm_srcdir)/libs/woff2/include
93 @HAVE_WOFF2_FALSE@am__append_4 = ../libs/woff2/libwoff2.a
94 @ENABLE_WOFF_TRUE@am__append_5 = $(WOFF2_LIBS) $(BROTLI_LIBS)
95 @USE_BUNDLED_MD5_TRUE@am__append_6 = -I$(dvisvgm_srcdir)/libs/md5
96 @USE_BUNDLED_MD5_TRUE@am__append_7 = ../libs/md5/libmd5.a
97 @USE_BUNDLED_MD5_FALSE@am__append_8 = $(LIBCRYPTO_CFLAGS)
98 @USE_BUNDLED_MD5_FALSE@am__append_9 = $(LIBCRYPTO_LIBS)
99 TESTS = hashcheck$(EXEEXT) BezierTest$(EXEEXT) BitmapTest$(EXEEXT) \
100 BoundingBoxTest$(EXEEXT) CalculatorTest$(EXEEXT) \
101 CMapManagerTest$(EXEEXT) CMapReaderTest$(EXEEXT) \
102 CMapTest$(EXEEXT) ColorSpecialTest$(EXEEXT) ColorTest$(EXEEXT) \
103 CommandLineTest$(EXEEXT) DependencyGraphTest$(EXEEXT) \
104 DirectoryTest$(EXEEXT) DVIReaderTest$(EXEEXT) \
105 DvisvgmSpecialTest$(EXEEXT) EllipticalArcTest$(EXEEXT) \
106 EmSpecialTest$(EXEEXT) FileFinderTest$(EXEEXT) \
107 FilePathTest$(EXEEXT) FileSystemTest$(EXEEXT) \
108 FontCacheTest$(EXEEXT) FontManagerTest$(EXEEXT) \
109 FontMapTest$(EXEEXT) GFGlyphTracerTest$(EXEEXT) \
110 GFReaderTest$(EXEEXT) GhostscriptTest$(EXEEXT) \
111 GraphicsPathTest$(EXEEXT) HashFunctionTest$(EXEEXT) \
112 JFMReaderTest$(EXEEXT) LengthTest$(EXEEXT) \
113 MapLineTest$(EXEEXT) MatrixTest$(EXEEXT) \
114 MessageExceptionTest$(EXEEXT) PageRagesTest$(EXEEXT) \
115 PageSizeTest$(EXEEXT) PairTest$(EXEEXT) \
116 PapersizeSpecialTest$(EXEEXT) PDFParserTest$(EXEEXT) \
117 PSInterpreterTest$(EXEEXT) RangeMapTest$(EXEEXT) \
118 ShadingPatchTest$(EXEEXT) SpecialManagerTest$(EXEEXT) \
119 SplittedCharInputBufferTest$(EXEEXT) \
120 StreamInputBufferTest$(EXEEXT) StreamReaderTest$(EXEEXT) \
121 StreamWriterTest$(EXEEXT) StringMatcherTest$(EXEEXT) \
122 SubfontTest$(EXEEXT) SVGOutputTest$(EXEEXT) \
123 TensorProductPatchTest$(EXEEXT) TFMReaderTest$(EXEEXT) \
124 ToUnicodeMapTest$(EXEEXT) TpicSpecialTest$(EXEEXT) \
125 TriangularPatchTest$(EXEEXT) UnicodeTest$(EXEEXT) \
126 UtilityTest$(EXEEXT) VectorIteratorTest$(EXEEXT) \
127 VectorStreamTest$(EXEEXT) XMLNodeTest$(EXEEXT) \
128 XMLStringTest$(EXEEXT) check-conv
129 check_PROGRAMS = hashcheck$(EXEEXT) BezierTest$(EXEEXT) \
130 BitmapTest$(EXEEXT) BoundingBoxTest$(EXEEXT) \
131 CalculatorTest$(EXEEXT) CMapManagerTest$(EXEEXT) \
132 CMapReaderTest$(EXEEXT) CMapTest$(EXEEXT) \
133 ColorSpecialTest$(EXEEXT) ColorTest$(EXEEXT) \
134 CommandLineTest$(EXEEXT) DependencyGraphTest$(EXEEXT) \
135 DirectoryTest$(EXEEXT) DVIReaderTest$(EXEEXT) \
136 DvisvgmSpecialTest$(EXEEXT) EllipticalArcTest$(EXEEXT) \
137 EmSpecialTest$(EXEEXT) FileFinderTest$(EXEEXT) \
138 FilePathTest$(EXEEXT) FileSystemTest$(EXEEXT) \
139 FontCacheTest$(EXEEXT) FontManagerTest$(EXEEXT) \
140 FontMapTest$(EXEEXT) GFGlyphTracerTest$(EXEEXT) \
141 GFReaderTest$(EXEEXT) GhostscriptTest$(EXEEXT) \
142 GraphicsPathTest$(EXEEXT) HashFunctionTest$(EXEEXT) \
143 JFMReaderTest$(EXEEXT) LengthTest$(EXEEXT) \
144 MapLineTest$(EXEEXT) MatrixTest$(EXEEXT) \
145 MessageExceptionTest$(EXEEXT) PageRagesTest$(EXEEXT) \
146 PageSizeTest$(EXEEXT) PairTest$(EXEEXT) \
147 PapersizeSpecialTest$(EXEEXT) PDFParserTest$(EXEEXT) \
148 PSInterpreterTest$(EXEEXT) RangeMapTest$(EXEEXT) \
149 ShadingPatchTest$(EXEEXT) SpecialManagerTest$(EXEEXT) \
150 SplittedCharInputBufferTest$(EXEEXT) \
151 StreamInputBufferTest$(EXEEXT) StreamReaderTest$(EXEEXT) \
152 StreamWriterTest$(EXEEXT) StringMatcherTest$(EXEEXT) \
153 SubfontTest$(EXEEXT) SVGOutputTest$(EXEEXT) \
154 TensorProductPatchTest$(EXEEXT) TFMReaderTest$(EXEEXT) \
155 ToUnicodeMapTest$(EXEEXT) TpicSpecialTest$(EXEEXT) \
156 TriangularPatchTest$(EXEEXT) UnicodeTest$(EXEEXT) \
157 UtilityTest$(EXEEXT) VectorIteratorTest$(EXEEXT) \
158 VectorStreamTest$(EXEEXT) XMLNodeTest$(EXEEXT) \
159 XMLStringTest$(EXEEXT)
160 @ENABLE_WOFF_TRUE@am__append_10 = ../libs/ff-woff/libfontforge.a
161 subdir = tests
162 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
163 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
164 $(top_srcdir)/m4/ax_code_coverage.m4 \
165 $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \
166 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
167 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
168 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
169 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
170 $(ACLOCAL_M4)
171 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
172 mkinstalldirs = $(install_sh) -d
173 CONFIG_HEADER = $(top_builddir)/config.h
174 CONFIG_CLEAN_FILES =
175 CONFIG_CLEAN_VPATH_FILES =
176 libgtest_la_LIBADD =
177 am__dirstamp = $(am__leading_dot)dirstamp
178 am_libgtest_la_OBJECTS = gtest/src/libgtest_la-gtest-all.lo \
179 libgtest_la-testmain.lo
180 libgtest_la_OBJECTS = $(am_libgtest_la_OBJECTS)
181 AM_V_lt = $(am__v_lt_@AM_V@)
182 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
183 am__v_lt_0 = --silent
184 am__v_lt_1 =
185 libgtest_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
186 $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
187 $(CXXFLAGS) $(libgtest_la_LDFLAGS) $(LDFLAGS) -o $@
188 am_BezierTest_OBJECTS = BezierTest-BezierTest.$(OBJEXT)
189 BezierTest_OBJECTS = $(am_BezierTest_OBJECTS)
190 am__DEPENDENCIES_1 = $(am__append_4)
191 am__DEPENDENCIES_2 = $(am__append_2)
192 @ENABLE_WOFF_TRUE@am__DEPENDENCIES_3 = $(am__DEPENDENCIES_1) \
193 @ENABLE_WOFF_TRUE@ $(am__DEPENDENCIES_2)
194 am__DEPENDENCIES_4 =
195 @USE_BUNDLED_MD5_FALSE@am__DEPENDENCIES_5 = $(am__DEPENDENCIES_4)
196 am__DEPENDENCIES_6 = $(POTRACE_LIBS) $(XXHASH_LIBS) \
197 $(am__DEPENDENCIES_3) $(am__append_7) $(am__DEPENDENCIES_5)
198 am__DEPENDENCIES_7 = libgtest.la ../src/libdvisvgm.la \
199 $(am__DEPENDENCIES_6) $(am__append_10) $(am__DEPENDENCIES_4)
200 BezierTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
201 am_BitmapTest_OBJECTS = BitmapTest-BitmapTest.$(OBJEXT)
202 BitmapTest_OBJECTS = $(am_BitmapTest_OBJECTS)
203 BitmapTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
204 am_BoundingBoxTest_OBJECTS = \
205 BoundingBoxTest-BoundingBoxTest.$(OBJEXT)
206 BoundingBoxTest_OBJECTS = $(am_BoundingBoxTest_OBJECTS)
207 BoundingBoxTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
208 am_CMapManagerTest_OBJECTS = \
209 CMapManagerTest-CMapManagerTest.$(OBJEXT)
210 CMapManagerTest_OBJECTS = $(am_CMapManagerTest_OBJECTS)
211 CMapManagerTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
212 am_CMapReaderTest_OBJECTS = CMapReaderTest-CMapReaderTest.$(OBJEXT)
213 CMapReaderTest_OBJECTS = $(am_CMapReaderTest_OBJECTS)
214 CMapReaderTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
215 am_CMapTest_OBJECTS = CMapTest-CMapTest.$(OBJEXT)
216 CMapTest_OBJECTS = $(am_CMapTest_OBJECTS)
217 CMapTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
218 am_CalculatorTest_OBJECTS = CalculatorTest-CalculatorTest.$(OBJEXT)
219 CalculatorTest_OBJECTS = $(am_CalculatorTest_OBJECTS)
220 CalculatorTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
221 am_ColorSpecialTest_OBJECTS = \
222 ColorSpecialTest-ColorSpecialTest.$(OBJEXT)
223 ColorSpecialTest_OBJECTS = $(am_ColorSpecialTest_OBJECTS)
224 ColorSpecialTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
225 am_ColorTest_OBJECTS = ColorTest-ColorTest.$(OBJEXT)
226 ColorTest_OBJECTS = $(am_ColorTest_OBJECTS)
227 ColorTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
228 am_CommandLineTest_OBJECTS = \
229 CommandLineTest-CommandLineTest.$(OBJEXT)
230 CommandLineTest_OBJECTS = $(am_CommandLineTest_OBJECTS)
231 CommandLineTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
232 am_DVIReaderTest_OBJECTS = DVIReaderTest-DVIReaderTest.$(OBJEXT)
233 DVIReaderTest_OBJECTS = $(am_DVIReaderTest_OBJECTS)
234 DVIReaderTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
235 am_DependencyGraphTest_OBJECTS = \
236 DependencyGraphTest-DependencyGraphTest.$(OBJEXT)
237 DependencyGraphTest_OBJECTS = $(am_DependencyGraphTest_OBJECTS)
238 DependencyGraphTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
239 am_DirectoryTest_OBJECTS = DirectoryTest-DirectoryTest.$(OBJEXT)
240 DirectoryTest_OBJECTS = $(am_DirectoryTest_OBJECTS)
241 DirectoryTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
242 am_DvisvgmSpecialTest_OBJECTS = \
243 DvisvgmSpecialTest-DvisvgmSpecialTest.$(OBJEXT)
244 DvisvgmSpecialTest_OBJECTS = $(am_DvisvgmSpecialTest_OBJECTS)
245 DvisvgmSpecialTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
246 am_EllipticalArcTest_OBJECTS = \
247 EllipticalArcTest-EllipticalArcTest.$(OBJEXT)
248 EllipticalArcTest_OBJECTS = $(am_EllipticalArcTest_OBJECTS)
249 EllipticalArcTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
250 am_EmSpecialTest_OBJECTS = EmSpecialTest-EmSpecialTest.$(OBJEXT)
251 EmSpecialTest_OBJECTS = $(am_EmSpecialTest_OBJECTS)
252 EmSpecialTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
253 am_FileFinderTest_OBJECTS = FileFinderTest-FileFinderTest.$(OBJEXT)
254 FileFinderTest_OBJECTS = $(am_FileFinderTest_OBJECTS)
255 FileFinderTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
256 am_FilePathTest_OBJECTS = FilePathTest-FilePathTest.$(OBJEXT)
257 FilePathTest_OBJECTS = $(am_FilePathTest_OBJECTS)
258 FilePathTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
259 am_FileSystemTest_OBJECTS = FileSystemTest-FileSystemTest.$(OBJEXT)
260 FileSystemTest_OBJECTS = $(am_FileSystemTest_OBJECTS)
261 FileSystemTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
262 am_FontCacheTest_OBJECTS = FontCacheTest-FontCacheTest.$(OBJEXT)
263 FontCacheTest_OBJECTS = $(am_FontCacheTest_OBJECTS)
264 FontCacheTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
265 am_FontManagerTest_OBJECTS = \
266 FontManagerTest-FontManagerTest.$(OBJEXT)
267 FontManagerTest_OBJECTS = $(am_FontManagerTest_OBJECTS)
268 FontManagerTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
269 am_FontMapTest_OBJECTS = FontMapTest-FontMapTest.$(OBJEXT)
270 FontMapTest_OBJECTS = $(am_FontMapTest_OBJECTS)
271 FontMapTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
272 am_GFGlyphTracerTest_OBJECTS = \
273 GFGlyphTracerTest-GFGlyphTracerTest.$(OBJEXT)
274 GFGlyphTracerTest_OBJECTS = $(am_GFGlyphTracerTest_OBJECTS)
275 GFGlyphTracerTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
276 am_GFReaderTest_OBJECTS = GFReaderTest-GFReaderTest.$(OBJEXT)
277 GFReaderTest_OBJECTS = $(am_GFReaderTest_OBJECTS)
278 GFReaderTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
279 am_GhostscriptTest_OBJECTS = \
280 GhostscriptTest-GhostscriptTest.$(OBJEXT)
281 GhostscriptTest_OBJECTS = $(am_GhostscriptTest_OBJECTS)
282 GhostscriptTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
283 am_GraphicsPathTest_OBJECTS = \
284 GraphicsPathTest-GraphicsPathTest.$(OBJEXT)
285 GraphicsPathTest_OBJECTS = $(am_GraphicsPathTest_OBJECTS)
286 GraphicsPathTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
287 am_HashFunctionTest_OBJECTS = \
288 HashFunctionTest-HashFunctionTest.$(OBJEXT)
289 HashFunctionTest_OBJECTS = $(am_HashFunctionTest_OBJECTS)
290 HashFunctionTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
291 am_JFMReaderTest_OBJECTS = JFMReaderTest-JFMReaderTest.$(OBJEXT)
292 JFMReaderTest_OBJECTS = $(am_JFMReaderTest_OBJECTS)
293 JFMReaderTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
294 am_LengthTest_OBJECTS = LengthTest-LengthTest.$(OBJEXT)
295 LengthTest_OBJECTS = $(am_LengthTest_OBJECTS)
296 LengthTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
297 am_MapLineTest_OBJECTS = MapLineTest-MapLineTest.$(OBJEXT)
298 MapLineTest_OBJECTS = $(am_MapLineTest_OBJECTS)
299 MapLineTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
300 am_MatrixTest_OBJECTS = MatrixTest-MatrixTest.$(OBJEXT)
301 MatrixTest_OBJECTS = $(am_MatrixTest_OBJECTS)
302 MatrixTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
303 am_MessageExceptionTest_OBJECTS = \
304 MessageExceptionTest-MessageExceptionTest.$(OBJEXT)
305 MessageExceptionTest_OBJECTS = $(am_MessageExceptionTest_OBJECTS)
306 MessageExceptionTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
307 am_PDFParserTest_OBJECTS = PDFParserTest-PDFParserTest.$(OBJEXT)
308 PDFParserTest_OBJECTS = $(am_PDFParserTest_OBJECTS)
309 PDFParserTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
310 am_PSInterpreterTest_OBJECTS = \
311 PSInterpreterTest-PSInterpreterTest.$(OBJEXT)
312 PSInterpreterTest_OBJECTS = $(am_PSInterpreterTest_OBJECTS)
313 PSInterpreterTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
314 am_PageRagesTest_OBJECTS = PageRagesTest-PageRagesTest.$(OBJEXT)
315 PageRagesTest_OBJECTS = $(am_PageRagesTest_OBJECTS)
316 PageRagesTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
317 am_PageSizeTest_OBJECTS = PageSizeTest-PageSizeTest.$(OBJEXT)
318 PageSizeTest_OBJECTS = $(am_PageSizeTest_OBJECTS)
319 PageSizeTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
320 am_PairTest_OBJECTS = PairTest-PairTest.$(OBJEXT)
321 PairTest_OBJECTS = $(am_PairTest_OBJECTS)
322 PairTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
323 am_PapersizeSpecialTest_OBJECTS = \
324 PapersizeSpecialTest-PapersizeSpecialTest.$(OBJEXT)
325 PapersizeSpecialTest_OBJECTS = $(am_PapersizeSpecialTest_OBJECTS)
326 PapersizeSpecialTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
327 am_RangeMapTest_OBJECTS = RangeMapTest-RangeMapTest.$(OBJEXT)
328 RangeMapTest_OBJECTS = $(am_RangeMapTest_OBJECTS)
329 RangeMapTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
330 am_SVGOutputTest_OBJECTS = SVGOutputTest-SVGOutputTest.$(OBJEXT)
331 SVGOutputTest_OBJECTS = $(am_SVGOutputTest_OBJECTS)
332 SVGOutputTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
333 am_ShadingPatchTest_OBJECTS = \
334 ShadingPatchTest-ShadingPatchTest.$(OBJEXT)
335 ShadingPatchTest_OBJECTS = $(am_ShadingPatchTest_OBJECTS)
336 ShadingPatchTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
337 am_SpecialManagerTest_OBJECTS = \
338 SpecialManagerTest-SpecialManagerTest.$(OBJEXT)
339 SpecialManagerTest_OBJECTS = $(am_SpecialManagerTest_OBJECTS)
340 SpecialManagerTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
341 am_SplittedCharInputBufferTest_OBJECTS = SplittedCharInputBufferTest-SplittedCharInputBufferTest.$(OBJEXT)
342 SplittedCharInputBufferTest_OBJECTS = \
343 $(am_SplittedCharInputBufferTest_OBJECTS)
344 SplittedCharInputBufferTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
345 am_StreamInputBufferTest_OBJECTS = \
346 StreamInputBufferTest-StreamInputBufferTest.$(OBJEXT)
347 StreamInputBufferTest_OBJECTS = $(am_StreamInputBufferTest_OBJECTS)
348 StreamInputBufferTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
349 am_StreamReaderTest_OBJECTS = \
350 StreamReaderTest-StreamReaderTest.$(OBJEXT)
351 StreamReaderTest_OBJECTS = $(am_StreamReaderTest_OBJECTS)
352 StreamReaderTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
353 am_StreamWriterTest_OBJECTS = \
354 StreamWriterTest-StreamWriterTest.$(OBJEXT)
355 StreamWriterTest_OBJECTS = $(am_StreamWriterTest_OBJECTS)
356 StreamWriterTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
357 am_StringMatcherTest_OBJECTS = \
358 StringMatcherTest-StringMatcherTest.$(OBJEXT)
359 StringMatcherTest_OBJECTS = $(am_StringMatcherTest_OBJECTS)
360 StringMatcherTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
361 am_SubfontTest_OBJECTS = SubfontTest-SubfontTest.$(OBJEXT)
362 SubfontTest_OBJECTS = $(am_SubfontTest_OBJECTS)
363 SubfontTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
364 am_TFMReaderTest_OBJECTS = TFMReaderTest-TFMReaderTest.$(OBJEXT)
365 TFMReaderTest_OBJECTS = $(am_TFMReaderTest_OBJECTS)
366 TFMReaderTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
367 am_TensorProductPatchTest_OBJECTS = \
368 TensorProductPatchTest-TensorProductPatchTest.$(OBJEXT)
369 TensorProductPatchTest_OBJECTS = $(am_TensorProductPatchTest_OBJECTS)
370 TensorProductPatchTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
371 am_ToUnicodeMapTest_OBJECTS = \
372 ToUnicodeMapTest-ToUnicodeMapTest.$(OBJEXT)
373 ToUnicodeMapTest_OBJECTS = $(am_ToUnicodeMapTest_OBJECTS)
374 ToUnicodeMapTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
375 am_TpicSpecialTest_OBJECTS = \
376 TpicSpecialTest-TpicSpecialTest.$(OBJEXT)
377 TpicSpecialTest_OBJECTS = $(am_TpicSpecialTest_OBJECTS)
378 TpicSpecialTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
379 am_TriangularPatchTest_OBJECTS = \
380 TriangularPatchTest-TriangularPatchTest.$(OBJEXT)
381 TriangularPatchTest_OBJECTS = $(am_TriangularPatchTest_OBJECTS)
382 TriangularPatchTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
383 am_UnicodeTest_OBJECTS = UnicodeTest-UnicodeTest.$(OBJEXT)
384 UnicodeTest_OBJECTS = $(am_UnicodeTest_OBJECTS)
385 UnicodeTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
386 am_UtilityTest_OBJECTS = UtilityTest-UtilityTest.$(OBJEXT)
387 UtilityTest_OBJECTS = $(am_UtilityTest_OBJECTS)
388 UtilityTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
389 am_VectorIteratorTest_OBJECTS = \
390 VectorIteratorTest-VectorIteratorTest.$(OBJEXT)
391 VectorIteratorTest_OBJECTS = $(am_VectorIteratorTest_OBJECTS)
392 VectorIteratorTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
393 am_VectorStreamTest_OBJECTS = \
394 VectorStreamTest-VectorStreamTest.$(OBJEXT)
395 VectorStreamTest_OBJECTS = $(am_VectorStreamTest_OBJECTS)
396 VectorStreamTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
397 am_XMLNodeTest_OBJECTS = XMLNodeTest-XMLNodeTest.$(OBJEXT)
398 XMLNodeTest_OBJECTS = $(am_XMLNodeTest_OBJECTS)
399 XMLNodeTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
400 am_XMLStringTest_OBJECTS = XMLStringTest-XMLStringTest.$(OBJEXT)
401 XMLStringTest_OBJECTS = $(am_XMLStringTest_OBJECTS)
402 XMLStringTest_DEPENDENCIES = $(am__DEPENDENCIES_7)
403 nodist_hashcheck_OBJECTS = hashcheck-hashcheck.$(OBJEXT)
404 hashcheck_OBJECTS = $(nodist_hashcheck_OBJECTS)
405 hashcheck_DEPENDENCIES = $(am__DEPENDENCIES_6)
406 AM_V_P = $(am__v_P_@AM_V@)
407 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
408 am__v_P_0 = false
409 am__v_P_1 = :
410 AM_V_GEN = $(am__v_GEN_@AM_V@)
411 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
412 am__v_GEN_0 = @echo " GEN " $@;
413 am__v_GEN_1 =
414 AM_V_at = $(am__v_at_@AM_V@)
415 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
416 am__v_at_0 = @
417 am__v_at_1 =
418 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
419 depcomp = $(SHELL) $(top_srcdir)/depcomp
420 am__maybe_remake_depfiles = depfiles
421 am__depfiles_remade = ./$(DEPDIR)/BezierTest-BezierTest.Po \
422 ./$(DEPDIR)/BitmapTest-BitmapTest.Po \
423 ./$(DEPDIR)/BoundingBoxTest-BoundingBoxTest.Po \
424 ./$(DEPDIR)/CMapManagerTest-CMapManagerTest.Po \
425 ./$(DEPDIR)/CMapReaderTest-CMapReaderTest.Po \
426 ./$(DEPDIR)/CMapTest-CMapTest.Po \
427 ./$(DEPDIR)/CalculatorTest-CalculatorTest.Po \
428 ./$(DEPDIR)/ColorSpecialTest-ColorSpecialTest.Po \
429 ./$(DEPDIR)/ColorTest-ColorTest.Po \
430 ./$(DEPDIR)/CommandLineTest-CommandLineTest.Po \
431 ./$(DEPDIR)/DVIReaderTest-DVIReaderTest.Po \
432 ./$(DEPDIR)/DependencyGraphTest-DependencyGraphTest.Po \
433 ./$(DEPDIR)/DirectoryTest-DirectoryTest.Po \
434 ./$(DEPDIR)/DvisvgmSpecialTest-DvisvgmSpecialTest.Po \
435 ./$(DEPDIR)/EllipticalArcTest-EllipticalArcTest.Po \
436 ./$(DEPDIR)/EmSpecialTest-EmSpecialTest.Po \
437 ./$(DEPDIR)/FileFinderTest-FileFinderTest.Po \
438 ./$(DEPDIR)/FilePathTest-FilePathTest.Po \
439 ./$(DEPDIR)/FileSystemTest-FileSystemTest.Po \
440 ./$(DEPDIR)/FontCacheTest-FontCacheTest.Po \
441 ./$(DEPDIR)/FontManagerTest-FontManagerTest.Po \
442 ./$(DEPDIR)/FontMapTest-FontMapTest.Po \
443 ./$(DEPDIR)/GFGlyphTracerTest-GFGlyphTracerTest.Po \
444 ./$(DEPDIR)/GFReaderTest-GFReaderTest.Po \
445 ./$(DEPDIR)/GhostscriptTest-GhostscriptTest.Po \
446 ./$(DEPDIR)/GraphicsPathTest-GraphicsPathTest.Po \
447 ./$(DEPDIR)/HashFunctionTest-HashFunctionTest.Po \
448 ./$(DEPDIR)/JFMReaderTest-JFMReaderTest.Po \
449 ./$(DEPDIR)/LengthTest-LengthTest.Po \
450 ./$(DEPDIR)/MapLineTest-MapLineTest.Po \
451 ./$(DEPDIR)/MatrixTest-MatrixTest.Po \
452 ./$(DEPDIR)/MessageExceptionTest-MessageExceptionTest.Po \
453 ./$(DEPDIR)/PDFParserTest-PDFParserTest.Po \
454 ./$(DEPDIR)/PSInterpreterTest-PSInterpreterTest.Po \
455 ./$(DEPDIR)/PageRagesTest-PageRagesTest.Po \
456 ./$(DEPDIR)/PageSizeTest-PageSizeTest.Po \
457 ./$(DEPDIR)/PairTest-PairTest.Po \
458 ./$(DEPDIR)/PapersizeSpecialTest-PapersizeSpecialTest.Po \
459 ./$(DEPDIR)/RangeMapTest-RangeMapTest.Po \
460 ./$(DEPDIR)/SVGOutputTest-SVGOutputTest.Po \
461 ./$(DEPDIR)/ShadingPatchTest-ShadingPatchTest.Po \
462 ./$(DEPDIR)/SpecialManagerTest-SpecialManagerTest.Po \
463 ./$(DEPDIR)/SplittedCharInputBufferTest-SplittedCharInputBufferTest.Po \
464 ./$(DEPDIR)/StreamInputBufferTest-StreamInputBufferTest.Po \
465 ./$(DEPDIR)/StreamReaderTest-StreamReaderTest.Po \
466 ./$(DEPDIR)/StreamWriterTest-StreamWriterTest.Po \
467 ./$(DEPDIR)/StringMatcherTest-StringMatcherTest.Po \
468 ./$(DEPDIR)/SubfontTest-SubfontTest.Po \
469 ./$(DEPDIR)/TFMReaderTest-TFMReaderTest.Po \
470 ./$(DEPDIR)/TensorProductPatchTest-TensorProductPatchTest.Po \
471 ./$(DEPDIR)/ToUnicodeMapTest-ToUnicodeMapTest.Po \
472 ./$(DEPDIR)/TpicSpecialTest-TpicSpecialTest.Po \
473 ./$(DEPDIR)/TriangularPatchTest-TriangularPatchTest.Po \
474 ./$(DEPDIR)/UnicodeTest-UnicodeTest.Po \
475 ./$(DEPDIR)/UtilityTest-UtilityTest.Po \
476 ./$(DEPDIR)/VectorIteratorTest-VectorIteratorTest.Po \
477 ./$(DEPDIR)/VectorStreamTest-VectorStreamTest.Po \
478 ./$(DEPDIR)/XMLNodeTest-XMLNodeTest.Po \
479 ./$(DEPDIR)/XMLStringTest-XMLStringTest.Po \
480 ./$(DEPDIR)/hashcheck-hashcheck.Po \
481 ./$(DEPDIR)/libgtest_la-testmain.Plo \
482 gtest/src/$(DEPDIR)/libgtest_la-gtest-all.Plo
483 am__mv = mv -f
484 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
485 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
486 LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
487 $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \
488 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
489 $(AM_CXXFLAGS) $(CXXFLAGS)
490 AM_V_CXX = $(am__v_CXX_@AM_V@)
491 am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
492 am__v_CXX_0 = @echo " CXX " $@;
493 am__v_CXX_1 =
494 CXXLD = $(CXX)
495 CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
496 $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
497 $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
498 AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
499 am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
500 am__v_CXXLD_0 = @echo " CXXLD " $@;
501 am__v_CXXLD_1 =
502 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
503 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
504 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
505 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
506 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
507 $(AM_CFLAGS) $(CFLAGS)
508 AM_V_CC = $(am__v_CC_@AM_V@)
509 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
510 am__v_CC_0 = @echo " CC " $@;
511 am__v_CC_1 =
512 CCLD = $(CC)
513 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
514 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
515 $(AM_LDFLAGS) $(LDFLAGS) -o $@
516 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
517 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
518 am__v_CCLD_0 = @echo " CCLD " $@;
519 am__v_CCLD_1 =
520 SOURCES = $(libgtest_la_SOURCES) $(BezierTest_SOURCES) \
521 $(BitmapTest_SOURCES) $(BoundingBoxTest_SOURCES) \
522 $(CMapManagerTest_SOURCES) $(CMapReaderTest_SOURCES) \
523 $(CMapTest_SOURCES) $(CalculatorTest_SOURCES) \
524 $(ColorSpecialTest_SOURCES) $(ColorTest_SOURCES) \
525 $(CommandLineTest_SOURCES) $(DVIReaderTest_SOURCES) \
526 $(DependencyGraphTest_SOURCES) $(DirectoryTest_SOURCES) \
527 $(DvisvgmSpecialTest_SOURCES) $(EllipticalArcTest_SOURCES) \
528 $(EmSpecialTest_SOURCES) $(FileFinderTest_SOURCES) \
529 $(FilePathTest_SOURCES) $(FileSystemTest_SOURCES) \
530 $(FontCacheTest_SOURCES) $(FontManagerTest_SOURCES) \
531 $(FontMapTest_SOURCES) $(GFGlyphTracerTest_SOURCES) \
532 $(GFReaderTest_SOURCES) $(GhostscriptTest_SOURCES) \
533 $(GraphicsPathTest_SOURCES) $(HashFunctionTest_SOURCES) \
534 $(JFMReaderTest_SOURCES) $(LengthTest_SOURCES) \
535 $(MapLineTest_SOURCES) $(MatrixTest_SOURCES) \
536 $(MessageExceptionTest_SOURCES) $(PDFParserTest_SOURCES) \
537 $(PSInterpreterTest_SOURCES) $(PageRagesTest_SOURCES) \
538 $(PageSizeTest_SOURCES) $(PairTest_SOURCES) \
539 $(PapersizeSpecialTest_SOURCES) $(RangeMapTest_SOURCES) \
540 $(SVGOutputTest_SOURCES) $(ShadingPatchTest_SOURCES) \
541 $(SpecialManagerTest_SOURCES) \
542 $(SplittedCharInputBufferTest_SOURCES) \
543 $(StreamInputBufferTest_SOURCES) $(StreamReaderTest_SOURCES) \
544 $(StreamWriterTest_SOURCES) $(StringMatcherTest_SOURCES) \
545 $(SubfontTest_SOURCES) $(TFMReaderTest_SOURCES) \
546 $(TensorProductPatchTest_SOURCES) $(ToUnicodeMapTest_SOURCES) \
547 $(TpicSpecialTest_SOURCES) $(TriangularPatchTest_SOURCES) \
548 $(UnicodeTest_SOURCES) $(UtilityTest_SOURCES) \
549 $(VectorIteratorTest_SOURCES) $(VectorStreamTest_SOURCES) \
550 $(XMLNodeTest_SOURCES) $(XMLStringTest_SOURCES) \
551 $(nodist_hashcheck_SOURCES)
552 DIST_SOURCES = $(libgtest_la_SOURCES) $(BezierTest_SOURCES) \
553 $(BitmapTest_SOURCES) $(BoundingBoxTest_SOURCES) \
554 $(CMapManagerTest_SOURCES) $(CMapReaderTest_SOURCES) \
555 $(CMapTest_SOURCES) $(CalculatorTest_SOURCES) \
556 $(ColorSpecialTest_SOURCES) $(ColorTest_SOURCES) \
557 $(CommandLineTest_SOURCES) $(DVIReaderTest_SOURCES) \
558 $(DependencyGraphTest_SOURCES) $(DirectoryTest_SOURCES) \
559 $(DvisvgmSpecialTest_SOURCES) $(EllipticalArcTest_SOURCES) \
560 $(EmSpecialTest_SOURCES) $(FileFinderTest_SOURCES) \
561 $(FilePathTest_SOURCES) $(FileSystemTest_SOURCES) \
562 $(FontCacheTest_SOURCES) $(FontManagerTest_SOURCES) \
563 $(FontMapTest_SOURCES) $(GFGlyphTracerTest_SOURCES) \
564 $(GFReaderTest_SOURCES) $(GhostscriptTest_SOURCES) \
565 $(GraphicsPathTest_SOURCES) $(HashFunctionTest_SOURCES) \
566 $(JFMReaderTest_SOURCES) $(LengthTest_SOURCES) \
567 $(MapLineTest_SOURCES) $(MatrixTest_SOURCES) \
568 $(MessageExceptionTest_SOURCES) $(PDFParserTest_SOURCES) \
569 $(PSInterpreterTest_SOURCES) $(PageRagesTest_SOURCES) \
570 $(PageSizeTest_SOURCES) $(PairTest_SOURCES) \
571 $(PapersizeSpecialTest_SOURCES) $(RangeMapTest_SOURCES) \
572 $(SVGOutputTest_SOURCES) $(ShadingPatchTest_SOURCES) \
573 $(SpecialManagerTest_SOURCES) \
574 $(SplittedCharInputBufferTest_SOURCES) \
575 $(StreamInputBufferTest_SOURCES) $(StreamReaderTest_SOURCES) \
576 $(StreamWriterTest_SOURCES) $(StringMatcherTest_SOURCES) \
577 $(SubfontTest_SOURCES) $(TFMReaderTest_SOURCES) \
578 $(TensorProductPatchTest_SOURCES) $(ToUnicodeMapTest_SOURCES) \
579 $(TpicSpecialTest_SOURCES) $(TriangularPatchTest_SOURCES) \
580 $(UnicodeTest_SOURCES) $(UtilityTest_SOURCES) \
581 $(VectorIteratorTest_SOURCES) $(VectorStreamTest_SOURCES) \
582 $(XMLNodeTest_SOURCES) $(XMLStringTest_SOURCES)
583 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
584 ctags-recursive dvi-recursive html-recursive info-recursive \
585 install-data-recursive install-dvi-recursive \
586 install-exec-recursive install-html-recursive \
587 install-info-recursive install-pdf-recursive \
588 install-ps-recursive install-recursive installcheck-recursive \
589 installdirs-recursive pdf-recursive ps-recursive \
590 tags-recursive uninstall-recursive
591 am__can_run_installinfo = \
592 case $$AM_UPDATE_INFO_DIR in \
593 n|no|NO) false;; \
594 *) (install-info --version) >/dev/null 2>&1;; \
595 esac
596 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
597 distclean-recursive maintainer-clean-recursive
598 am__recursive_targets = \
599 $(RECURSIVE_TARGETS) \
600 $(RECURSIVE_CLEAN_TARGETS) \
601 $(am__extra_recursive_targets)
602 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
603 check recheck distdir distdir-am
604 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
605 # Read a list of newline-separated strings from the standard input,
606 # and print each of them once, without duplicates. Input order is
607 # *not* preserved.
608 am__uniquify_input = $(AWK) '\
609 BEGIN { nonempty = 0; } \
610 { items[$$0] = 1; nonempty = 1; } \
611 END { if (nonempty) { for (i in items) print i; }; } \
612 '
613 # Make sure the list of sources is unique. This is necessary because,
614 # e.g., the same source file might be shared among _SOURCES variables
615 # for different programs/libraries.
616 am__define_uniq_tagged_files = \
617 list='$(am__tagged_files)'; \
618 unique=`for i in $$list; do \
619 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
620 done | $(am__uniquify_input)`
621 ETAGS = etags
622 CTAGS = ctags
623 am__tty_colors_dummy = \
624 mgn= red= grn= lgn= blu= brg= std=; \
625 am__color_tests=no
626 am__tty_colors = { \
627 $(am__tty_colors_dummy); \
628 if test "X$(AM_COLOR_TESTS)" = Xno; then \
629 am__color_tests=no; \
630 elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
631 am__color_tests=yes; \
632 elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
633 am__color_tests=yes; \
634 fi; \
635 if test $$am__color_tests = yes; then \
636 red=''; \
637 grn=''; \
638 lgn=''; \
639 blu=''; \
640 mgn=''; \
641 brg=''; \
642 std=''; \
643 fi; \
644 }
645 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
646 am__vpath_adj = case $$p in \
647 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
648 *) f=$$p;; \
649 esac;
650 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
651 am__install_max = 40
652 am__nobase_strip_setup = \
653 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
654 am__nobase_strip = \
655 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
656 am__nobase_list = $(am__nobase_strip_setup); \
657 for p in $$list; do echo "$$p $$p"; done | \
658 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
659 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
660 if (++n[$$2] == $(am__install_max)) \
661 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
662 END { for (dir in files) print dir, files[dir] }'
663 am__base_list = \
664 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
665 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
666 am__uninstall_files_from_dir = { \
667 test -z "$$files" \
668 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
669 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
670 $(am__cd) "$$dir" && rm -f $$files; }; \
671 }
672 am__recheck_rx = ^[ ]*:recheck:[ ]*
673 am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
674 am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
675 # A command that, given a newline-separated list of test names on the
676 # standard input, print the name of the tests that are to be re-run
677 # upon "make recheck".
678 am__list_recheck_tests = $(AWK) '{ \
679 recheck = 1; \
680 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
681 { \
682 if (rc < 0) \
683 { \
684 if ((getline line2 < ($$0 ".log")) < 0) \
685 recheck = 0; \
686 break; \
687 } \
688 else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
689 { \
690 recheck = 0; \
691 break; \
692 } \
693 else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
694 { \
695 break; \
696 } \
697 }; \
698 if (recheck) \
699 print $$0; \
700 close ($$0 ".trs"); \
701 close ($$0 ".log"); \
702 }'
703 # A command that, given a newline-separated list of test names on the
704 # standard input, create the global log from their .trs and .log files.
705 am__create_global_log = $(AWK) ' \
706 function fatal(msg) \
707 { \
708 print "fatal: making $@: " msg | "cat >&2"; \
709 exit 1; \
710 } \
711 function rst_section(header) \
712 { \
713 print header; \
714 len = length(header); \
715 for (i = 1; i <= len; i = i + 1) \
716 printf "="; \
717 printf "\n\n"; \
718 } \
719 { \
720 copy_in_global_log = 1; \
721 global_test_result = "RUN"; \
722 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
723 { \
724 if (rc < 0) \
725 fatal("failed to read from " $$0 ".trs"); \
726 if (line ~ /$(am__global_test_result_rx)/) \
727 { \
728 sub("$(am__global_test_result_rx)", "", line); \
729 sub("[ ]*$$", "", line); \
730 global_test_result = line; \
731 } \
732 else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
733 copy_in_global_log = 0; \
734 }; \
735 if (copy_in_global_log) \
736 { \
737 rst_section(global_test_result ": " $$0); \
738 while ((rc = (getline line < ($$0 ".log"))) != 0) \
739 { \
740 if (rc < 0) \
741 fatal("failed to read from " $$0 ".log"); \
742 print line; \
743 }; \
744 printf "\n"; \
745 }; \
746 close ($$0 ".trs"); \
747 close ($$0 ".log"); \
748 }'
749 # Restructured Text title.
750 am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
751 # Solaris 10 'make', and several other traditional 'make' implementations,
752 # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
753 # by disabling -e (using the XSI extension "set +e") if it's set.
754 am__sh_e_setup = case $$- in *e*) set +e;; esac
755 # Default flags passed to test drivers.
756 am__common_driver_flags = \
757 --color-tests "$$am__color_tests" \
758 --enable-hard-errors "$$am__enable_hard_errors" \
759 --expect-failure "$$am__expect_failure"
760 # To be inserted before the command running the test. Creates the
761 # directory for the log if needed. Stores in $dir the directory
762 # containing $f, in $tst the test, in $log the log. Executes the
763 # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
764 # passes TESTS_ENVIRONMENT. Set up options for the wrapper that
765 # will run the test scripts (or their associated LOG_COMPILER, if
766 # thy have one).
767 am__check_pre = \
768 $(am__sh_e_setup); \
769 $(am__vpath_adj_setup) $(am__vpath_adj) \
770 $(am__tty_colors); \
771 srcdir=$(srcdir); export srcdir; \
772 case "$@" in \
773 */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
774 *) am__odir=.;; \
775 esac; \
776 test "x$$am__odir" = x"." || test -d "$$am__odir" \
777 || $(MKDIR_P) "$$am__odir" || exit $$?; \
778 if test -f "./$$f"; then dir=./; \
779 elif test -f "$$f"; then dir=; \
780 else dir="$(srcdir)/"; fi; \
781 tst=$$dir$$f; log='$@'; \
782 if test -n '$(DISABLE_HARD_ERRORS)'; then \
783 am__enable_hard_errors=no; \
784 else \
785 am__enable_hard_errors=yes; \
786 fi; \
787 case " $(XFAIL_TESTS) " in \
788 *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
789 am__expect_failure=yes;; \
790 *) \
791 am__expect_failure=no;; \
792 esac; \
793 $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
794 # A shell command to get the names of the tests scripts with any registered
795 # extension removed (i.e., equivalently, the names of the test logs, with
796 # the '.log' extension removed). The result is saved in the shell variable
797 # '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
798 # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
799 # since that might cause problem with VPATH rewrites for suffix-less tests.
800 # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
801 am__set_TESTS_bases = \
802 bases='$(TEST_LOGS)'; \
803 bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
804 bases=`echo $$bases`
805 RECHECK_LOGS = $(TEST_LOGS)
806 TEST_SUITE_LOG = test-suite.log
807 TEST_EXTENSIONS = @EXEEXT@ .test
808 LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
809 LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
810 am__set_b = \
811 case '$@' in \
812 */*) \
813 case '$*' in \
814 */*) b='$*';; \
815 *) b=`echo '$@' | sed 's/\.log$$//'`; \
816 esac;; \
817 *) \
818 b='$*';; \
819 esac
820 am__test_logs1 = $(TESTS:=.log)
821 am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
822 TEST_LOGS = $(am__test_logs2:.test.log=.log)
823 TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
824 TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
825 $(TEST_LOG_FLAGS)
826 DIST_SUBDIRS = $(SUBDIRS)
827 am__DIST_COMMON = $(srcdir)/../libs/defs.am $(srcdir)/Makefile.in \
828 $(top_srcdir)/depcomp $(top_srcdir)/test-driver
829 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
830 am__relativize = \
831 dir0=`pwd`; \
832 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
833 sed_rest='s,^[^/]*/*,,'; \
834 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
835 sed_butlast='s,/*[^/]*$$,,'; \
836 while test -n "$$dir1"; do \
837 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
838 if test "$$first" != "."; then \
839 if test "$$first" = ".."; then \
840 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
841 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
842 else \
843 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
844 if test "$$first2" = "$$first"; then \
845 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
846 else \
847 dir2="../$$dir2"; \
848 fi; \
849 dir0="$$dir0"/"$$first"; \
850 fi; \
851 fi; \
852 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
853 done; \
854 reldir="$$dir2"
855 ACLOCAL = @ACLOCAL@
856 AMTAR = @AMTAR@
857 AM_CPPFLAGS = @AM_CPPFLAGS@
858 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
859 AM_LDFLAGS = @AM_LDFLAGS@
860 AR = @AR@
861 ASCIIDOC = @ASCIIDOC@
862 AUTOCONF = @AUTOCONF@
863 AUTOHEADER = @AUTOHEADER@
864 AUTOMAKE = @AUTOMAKE@
865 AWK = @AWK@
866 BROTLI_CFLAGS = @BROTLI_CFLAGS@ $(am__append_1)
867 BROTLI_LIBS = @BROTLI_LIBS@ $(am__append_2)
868 CC = @CC@
869 CCDEPMODE = @CCDEPMODE@
870 CFLAGS = @CFLAGS@
871 CODE_COVERAGE_CFLAGS = @CODE_COVERAGE_CFLAGS@
872 CODE_COVERAGE_CPPFLAGS = @CODE_COVERAGE_CPPFLAGS@
873 CODE_COVERAGE_CXXFLAGS = @CODE_COVERAGE_CXXFLAGS@
874 CODE_COVERAGE_ENABLED = @CODE_COVERAGE_ENABLED@
875 CODE_COVERAGE_LDFLAGS = @CODE_COVERAGE_LDFLAGS@
876 CODE_COVERAGE_LIBS = @CODE_COVERAGE_LIBS@
877 CPP = @CPP@
878 CPPFLAGS = @CPPFLAGS@
879 CXX = @CXX@
880 CXXCPP = @CXXCPP@
881 CXXDEPMODE = @CXXDEPMODE@
882 CXXFLAGS = @CXXFLAGS@
883 CYGPATH_W = @CYGPATH_W@
884 DATE = @DATE@
885 DEFS = @DEFS@
886 DEPDIR = @DEPDIR@
887 DLLTOOL = @DLLTOOL@
888 DSYMUTIL = @DSYMUTIL@
889 DUMPBIN = @DUMPBIN@
890 ECHO_C = @ECHO_C@
891 ECHO_N = @ECHO_N@
892 ECHO_T = @ECHO_T@
893 EGREP = @EGREP@
894 EXEEXT = @EXEEXT@
895 FGREP = @FGREP@
896 FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
897 FREETYPE_LIBS = @FREETYPE_LIBS@
898 GCOV = @GCOV@
899 GENHTML = @GENHTML@
900 GREP = @GREP@
901 HAVE_CXX11 = @HAVE_CXX11@
902 INSTALL = @INSTALL@
903 INSTALL_DATA = @INSTALL_DATA@
904 INSTALL_PROGRAM = @INSTALL_PROGRAM@
905 INSTALL_SCRIPT = @INSTALL_SCRIPT@
906 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
907 KPSE_CFLAGS = @KPSE_CFLAGS@
908 KPSE_LIBS = @KPSE_LIBS@
909 LCOV = @LCOV@
910 LD = @LD@
911 LDFLAGS = @LDFLAGS@
912 LIBCRYPTO_CFLAGS = @LIBCRYPTO_CFLAGS@
913 LIBCRYPTO_LIBS = @LIBCRYPTO_LIBS@
914 LIBOBJS = @LIBOBJS@
915 LIBS = @LIBS@
916 LIBTOOL = @LIBTOOL@
917 LIPO = @LIPO@
918 LN_S = @LN_S@
919 LTLIBOBJS = @LTLIBOBJS@
920 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
921 MAKEINFO = @MAKEINFO@
922 MANIFEST_TOOL = @MANIFEST_TOOL@
923 MKDIR_P = @MKDIR_P@
924 NM = @NM@
925 NMEDIT = @NMEDIT@
926 OBJDUMP = @OBJDUMP@
927 OBJEXT = @OBJEXT@
928 OTOOL = @OTOOL@
929 OTOOL64 = @OTOOL64@
930 PACKAGE = @PACKAGE@
931 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
932 PACKAGE_NAME = @PACKAGE_NAME@
933 PACKAGE_STRING = @PACKAGE_STRING@
934 PACKAGE_TARNAME = @PACKAGE_TARNAME@
935 PACKAGE_URL = @PACKAGE_URL@
936 PACKAGE_VERSION = @PACKAGE_VERSION@
937 PATH_SEPARATOR = @PATH_SEPARATOR@
938 PKG_CONFIG = @PKG_CONFIG@
939 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
940 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
941 RANLIB = @RANLIB@
942 SED = @SED@
943 SET_MAKE = @SET_MAKE@
944 SHELL = @SHELL@
945 STRIP = @STRIP@
946 TTFAUTOHINT_CFLAGS = @TTFAUTOHINT_CFLAGS@
947 TTFAUTOHINT_LIBS = @TTFAUTOHINT_LIBS@
948 VERSION = @VERSION@
949 WOFF2_CFLAGS = @WOFF2_CFLAGS@ $(am__append_3)
950 WOFF2_LIBS = @WOFF2_LIBS@ $(am__append_4)
951 XMLTO = @XMLTO@
952 XSLTPROC = @XSLTPROC@
953 ZLIB_CFLAGS = @ZLIB_CFLAGS@
954 ZLIB_LIBS = @ZLIB_LIBS@
955 abs_builddir = @abs_builddir@
956 abs_srcdir = @abs_srcdir@
957 abs_top_builddir = @abs_top_builddir@
958 abs_top_srcdir = @abs_top_srcdir@
959 ac_ct_AR = @ac_ct_AR@
960 ac_ct_CC = @ac_ct_CC@
961 ac_ct_CXX = @ac_ct_CXX@
962 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
963 am__include = @am__include@
964 am__leading_dot = @am__leading_dot@
965 am__quote = @am__quote@
966 am__tar = @am__tar@
967 am__untar = @am__untar@
968 bindir = @bindir@
969 build = @build@
970 build_alias = @build_alias@
971 build_cpu = @build_cpu@
972 build_os = @build_os@
973 build_vendor = @build_vendor@
974 builddir = @builddir@
975 datadir = @datadir@
976 datarootdir = @datarootdir@
977 docdir = @docdir@
978 dvidir = @dvidir@
979 dvisvgm_srcdir = @dvisvgm_srcdir@
980 exec_prefix = @exec_prefix@
981 host = @host@
982 host_alias = @host_alias@
983 host_cpu = @host_cpu@
984 host_os = @host_os@
985 host_vendor = @host_vendor@
986 htmldir = @htmldir@
987 includedir = @includedir@
988 infodir = @infodir@
989 install_sh = @install_sh@
990 libdir = @libdir@
991 libexecdir = @libexecdir@
992 localedir = @localedir@
993 localstatedir = @localstatedir@
994 mandir = @mandir@
995 mkdir_p = @mkdir_p@
996 oldincludedir = @oldincludedir@
997 pdfdir = @pdfdir@
998 prefix = @prefix@
999 program_transform_name = @program_transform_name@
1000 psdir = @psdir@
1001 sbindir = @sbindir@
1002 sharedstatedir = @sharedstatedir@
1003 srcdir = @srcdir@
1004 sysconfdir = @sysconfdir@
1005 target = @target@
1006 target_alias = @target_alias@
1007 target_cpu = @target_cpu@
1008 target_os = @target_os@
1009 target_vendor = @target_vendor@
1010 top_build_prefix = @top_build_prefix@
1011 top_builddir = @top_builddir@
1012 top_srcdir = @top_srcdir@
1013 SUBDIRS = data
1014 check_LTLIBRARIES = libgtest.la
1015 libgtest_la_SOURCES = gtest/src/gtest-all.cc testmain.cpp
1016 libgtest_la_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include -I$(dvisvgm_srcdir)/tests/gtest
1017 libgtest_la_LDFLAGS = -pthread
1018 EXTRA_DIST = gtest/LICENSE gtest/include gtest/src/gtest.cc \
1019 gtest/src/gtest-death-test.cc gtest/src/gtest-filepath.cc \
1020 gtest/src/gtest-internal-inl.h gtest/src/gtest_main.cc \
1021 gtest/src/gtest-matchers.cc gtest/src/gtest-port.cc \
1022 gtest/src/gtest-printers.cc gtest/src/gtest-test-part.cc \
1023 gtest/src/gtest-typed-test.cc check-conv genhashcheck.py \
1024 normalize.xsl
1025 @HAVE_POTRACE_FALSE@POTRACE_CFLAGS = -I$(dvisvgm_srcdir)/libs/potrace
1026 @HAVE_POTRACE_FALSE@POTRACE_LIBS = ../libs/potrace/libpotrace.a
1027 @HAVE_XXHASH_FALSE@XXHASH_CFLAGS = -I$(dvisvgm_srcdir)/libs/xxHash
1028 @HAVE_XXHASH_FALSE@XXHASH_LIBS = ../libs/xxHash/libxxhash.a
1029 LIBS_CFLAGS = $(XXHASH_CFLAGS) $(am__append_6) $(am__append_8)
1030 LIBS_LIBS = $(POTRACE_LIBS) $(XXHASH_LIBS) $(am__append_5) \
1031 $(am__append_7) $(am__append_9)
1032 AM_CXXFLAGS = -I$(dvisvgm_srcdir)/src -I$(dvisvgm_srcdir)/libs/variant/include \
1033 -Wall -Wno-mismatched-tags \
1034 -DBUILDDIR='"$(abs_builddir)"' -DSRCDIR='"$(abs_srcdir)"' \
1035 $(CODE_COVERAGE_CFLAGS)
1036
1037 nodist_hashcheck_SOURCES = hashcheck.cpp
1038 hashcheck_CPPFLAGS = $(LIBS_CFLAGS)
1039 hashcheck_LDADD = $(LIBS_LIBS)
1040 TESTLIBS = libgtest.la ../src/libdvisvgm.la $(LIBS_LIBS) -lfreetype \
1041 $(am__append_10) $(CODE_COVERAGE_LDFLAGS)
1042 BezierTest_SOURCES = BezierTest.cpp testutil.hpp
1043 BezierTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1044 BezierTest_LDADD = $(TESTLIBS)
1045 BitmapTest_SOURCES = BitmapTest.cpp testutil.hpp
1046 BitmapTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1047 BitmapTest_LDADD = $(TESTLIBS)
1048 BoundingBoxTest_SOURCES = BoundingBoxTest.cpp testutil.hpp
1049 BoundingBoxTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1050 BoundingBoxTest_LDADD = $(TESTLIBS)
1051 CalculatorTest_SOURCES = CalculatorTest.cpp testutil.hpp
1052 CalculatorTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1053 CalculatorTest_LDADD = $(TESTLIBS)
1054 CMapManagerTest_SOURCES = CMapManagerTest.cpp testutil.hpp
1055 CMapManagerTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1056 CMapManagerTest_LDADD = $(TESTLIBS)
1057 CMapReaderTest_SOURCES = CMapReaderTest.cpp testutil.hpp
1058 CMapReaderTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1059 CMapReaderTest_LDADD = $(TESTLIBS)
1060 CMapTest_SOURCES = CMapTest.cpp testutil.hpp
1061 CMapTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1062 CMapTest_LDADD = $(TESTLIBS)
1063 ColorSpecialTest_SOURCES = ColorSpecialTest.cpp testutil.hpp
1064 ColorSpecialTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1065 ColorSpecialTest_LDADD = $(TESTLIBS)
1066 ColorTest_SOURCES = ColorTest.cpp testutil.hpp
1067 ColorTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1068 ColorTest_LDADD = $(TESTLIBS)
1069 CommandLineTest_SOURCES = CommandLineTest.cpp testutil.hpp
1070 CommandLineTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1071 CommandLineTest_LDADD = $(TESTLIBS)
1072 DependencyGraphTest_SOURCES = DependencyGraphTest.cpp testutil.hpp
1073 DependencyGraphTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1074 DependencyGraphTest_LDADD = $(TESTLIBS)
1075 DirectoryTest_SOURCES = DirectoryTest.cpp testutil.hpp
1076 DirectoryTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1077 DirectoryTest_LDADD = $(TESTLIBS)
1078 DVIReaderTest_SOURCES = DVIReaderTest.cpp testutil.hpp
1079 DVIReaderTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1080 DVIReaderTest_LDADD = $(TESTLIBS)
1081 DvisvgmSpecialTest_SOURCES = DvisvgmSpecialTest.cpp testutil.hpp
1082 DvisvgmSpecialTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1083 DvisvgmSpecialTest_LDADD = $(TESTLIBS)
1084 EllipticalArcTest_SOURCES = EllipticalArcTest.cpp testutil.hpp
1085 EllipticalArcTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1086 EllipticalArcTest_LDADD = $(TESTLIBS)
1087 EmSpecialTest_SOURCES = EmSpecialTest.cpp testutil.hpp
1088 EmSpecialTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1089 EmSpecialTest_LDADD = $(TESTLIBS)
1090 FileFinderTest_SOURCES = FileFinderTest.cpp testutil.hpp
1091 FileFinderTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1092 FileFinderTest_LDADD = $(TESTLIBS)
1093 FilePathTest_SOURCES = FilePathTest.cpp testutil.hpp
1094 FilePathTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1095 FilePathTest_LDADD = $(TESTLIBS)
1096 FileSystemTest_SOURCES = FileSystemTest.cpp testutil.hpp
1097 FileSystemTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1098 FileSystemTest_LDADD = $(TESTLIBS)
1099 FontCacheTest_SOURCES = FontCacheTest.cpp testutil.hpp
1100 FontCacheTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1101 FontCacheTest_LDADD = $(TESTLIBS)
1102 FontManagerTest_SOURCES = FontManagerTest.cpp testutil.hpp
1103 FontManagerTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1104 FontManagerTest_LDADD = $(TESTLIBS)
1105 FontMapTest_SOURCES = FontMapTest.cpp testutil.hpp
1106 FontMapTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1107 FontMapTest_LDADD = $(TESTLIBS)
1108 GFGlyphTracerTest_SOURCES = GFGlyphTracerTest.cpp testutil.hpp
1109 GFGlyphTracerTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1110 GFGlyphTracerTest_LDADD = $(TESTLIBS)
1111 GFReaderTest_SOURCES = GFReaderTest.cpp testutil.hpp
1112 GFReaderTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1113 GFReaderTest_LDADD = $(TESTLIBS)
1114 GhostscriptTest_SOURCES = GhostscriptTest.cpp testutil.hpp
1115 GhostscriptTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1116 GhostscriptTest_LDADD = $(TESTLIBS)
1117 GraphicsPathTest_SOURCES = GraphicsPathTest.cpp testutil.hpp
1118 GraphicsPathTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1119 GraphicsPathTest_LDADD = $(TESTLIBS)
1120 HashFunctionTest_SOURCES = HashFunctionTest.cpp testutil.hpp
1121 HashFunctionTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1122 HashFunctionTest_LDADD = $(TESTLIBS)
1123 JFMReaderTest_SOURCES = JFMReaderTest.cpp testutil.hpp
1124 JFMReaderTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1125 JFMReaderTest_LDADD = $(TESTLIBS)
1126 LengthTest_SOURCES = LengthTest.cpp testutil.hpp
1127 LengthTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1128 LengthTest_LDADD = $(TESTLIBS)
1129 MapLineTest_SOURCES = MapLineTest.cpp testutil.hpp
1130 MapLineTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1131 MapLineTest_LDADD = $(TESTLIBS)
1132 MatrixTest_SOURCES = MatrixTest.cpp testutil.hpp
1133 MatrixTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1134 MatrixTest_LDADD = $(TESTLIBS)
1135 MessageExceptionTest_SOURCES = MessageExceptionTest.cpp testutil.hpp
1136 MessageExceptionTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1137 MessageExceptionTest_LDADD = $(TESTLIBS)
1138 PageRagesTest_SOURCES = PageRagesTest.cpp testutil.hpp
1139 PageRagesTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1140 PageRagesTest_LDADD = $(TESTLIBS)
1141 PageSizeTest_SOURCES = PageSizeTest.cpp testutil.hpp
1142 PageSizeTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1143 PageSizeTest_LDADD = $(TESTLIBS)
1144 PairTest_SOURCES = PairTest.cpp testutil.hpp
1145 PairTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1146 PairTest_LDADD = $(TESTLIBS)
1147 PapersizeSpecialTest_SOURCES = PapersizeSpecialTest.cpp testutil.hpp
1148 PapersizeSpecialTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1149 PapersizeSpecialTest_LDADD = $(TESTLIBS)
1150 PDFParserTest_SOURCES = PDFParserTest.cpp testutil.hpp
1151 PDFParserTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1152 PDFParserTest_LDADD = $(TESTLIBS)
1153 PSInterpreterTest_SOURCES = PSInterpreterTest.cpp testutil.hpp
1154 PSInterpreterTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1155 PSInterpreterTest_LDADD = $(TESTLIBS)
1156 RangeMapTest_SOURCES = RangeMapTest.cpp testutil.hpp
1157 RangeMapTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1158 RangeMapTest_LDADD = $(TESTLIBS)
1159 ShadingPatchTest_SOURCES = ShadingPatchTest.cpp testutil.hpp
1160 ShadingPatchTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1161 ShadingPatchTest_LDADD = $(TESTLIBS)
1162 SpecialManagerTest_SOURCES = SpecialManagerTest.cpp testutil.hpp
1163 SpecialManagerTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1164 SpecialManagerTest_LDADD = $(TESTLIBS)
1165 SplittedCharInputBufferTest_SOURCES = SplittedCharInputBufferTest.cpp testutil.hpp
1166 SplittedCharInputBufferTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1167 SplittedCharInputBufferTest_LDADD = $(TESTLIBS)
1168 StreamInputBufferTest_SOURCES = StreamInputBufferTest.cpp testutil.hpp
1169 StreamInputBufferTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1170 StreamInputBufferTest_LDADD = $(TESTLIBS)
1171 StreamReaderTest_SOURCES = StreamReaderTest.cpp testutil.hpp
1172 StreamReaderTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1173 StreamReaderTest_LDADD = $(TESTLIBS)
1174 StreamWriterTest_SOURCES = StreamWriterTest.cpp testutil.hpp
1175 StreamWriterTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1176 StreamWriterTest_LDADD = $(TESTLIBS)
1177 StringMatcherTest_SOURCES = StringMatcherTest.cpp testutil.hpp
1178 StringMatcherTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1179 StringMatcherTest_LDADD = $(TESTLIBS)
1180 SubfontTest_SOURCES = SubfontTest.cpp testutil.hpp
1181 SubfontTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1182 SubfontTest_LDADD = $(TESTLIBS)
1183 SVGOutputTest_SOURCES = SVGOutputTest.cpp testutil.hpp
1184 SVGOutputTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1185 SVGOutputTest_LDADD = $(TESTLIBS)
1186 TensorProductPatchTest_SOURCES = TensorProductPatchTest.cpp testutil.hpp
1187 TensorProductPatchTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1188 TensorProductPatchTest_LDADD = $(TESTLIBS)
1189 TFMReaderTest_SOURCES = TFMReaderTest.cpp testutil.hpp
1190 TFMReaderTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1191 TFMReaderTest_LDADD = $(TESTLIBS)
1192 ToUnicodeMapTest_SOURCES = ToUnicodeMapTest.cpp testutil.hpp
1193 ToUnicodeMapTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1194 ToUnicodeMapTest_LDADD = $(TESTLIBS)
1195 TpicSpecialTest_SOURCES = TpicSpecialTest.cpp testutil.hpp
1196 TpicSpecialTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1197 TpicSpecialTest_LDADD = $(TESTLIBS)
1198 TriangularPatchTest_SOURCES = TriangularPatchTest.cpp testutil.hpp
1199 TriangularPatchTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1200 TriangularPatchTest_LDADD = $(TESTLIBS)
1201 UnicodeTest_SOURCES = UnicodeTest.cpp testutil.hpp
1202 UnicodeTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1203 UnicodeTest_LDADD = $(TESTLIBS)
1204 UtilityTest_SOURCES = UtilityTest.cpp testutil.hpp
1205 UtilityTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1206 UtilityTest_LDADD = $(TESTLIBS)
1207 VectorIteratorTest_SOURCES = VectorIteratorTest.cpp testutil.hpp
1208 VectorIteratorTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1209 VectorIteratorTest_LDADD = $(TESTLIBS)
1210 VectorStreamTest_SOURCES = VectorStreamTest.cpp testutil.hpp
1211 VectorStreamTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1212 VectorStreamTest_LDADD = $(TESTLIBS)
1213 XMLNodeTest_SOURCES = XMLNodeTest.cpp testutil.hpp
1214 XMLNodeTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1215 XMLNodeTest_LDADD = $(TESTLIBS)
1216 XMLStringTest_SOURCES = XMLStringTest.cpp testutil.hpp
1217 XMLStringTest_CPPFLAGS = -I$(dvisvgm_srcdir)/tests/gtest/include $(LIBS_CFLAGS)
1218 XMLStringTest_LDADD = $(TESTLIBS)
1219 CLEANFILES = *.gcda *.gcno hashcheck.cpp
1220 all: all-recursive
1221
1222 .SUFFIXES:
1223 .SUFFIXES: .cc .cpp .lo .log .o .obj .test .test$(EXEEXT) .trs
1224 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/../libs/defs.am $(am__configure_deps)
1225 @for dep in $?; do \
1226 case '$(am__configure_deps)' in \
1227 *$$dep*) \
1228 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
1229 && { if test -f $@; then exit 0; else break; fi; }; \
1230 exit 1;; \
1231 esac; \
1232 done; \
1233 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/Makefile'; \
1234 $(am__cd) $(top_srcdir) && \
1235 $(AUTOMAKE) --foreign tests/Makefile
1236 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
1237 @case '$?' in \
1238 *config.status*) \
1239 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
1240 *) \
1241 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
1242 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
1243 esac;
1244 $(srcdir)/../libs/defs.am $(am__empty):
1245
1246 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
1247 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
1248
1249 $(top_srcdir)/configure: $(am__configure_deps)
1250 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
1251 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
1252 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
1253 $(am__aclocal_m4_deps):
1254
1255 clean-checkPROGRAMS:
1256 @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
1257 echo " rm -f" $$list; \
1258 rm -f $$list || exit $$?; \
1259 test -n "$(EXEEXT)" || exit 0; \
1260 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
1261 echo " rm -f" $$list; \
1262 rm -f $$list
1263
1264 clean-checkLTLIBRARIES:
1265 -test -z "$(check_LTLIBRARIES)" || rm -f $(check_LTLIBRARIES)
1266 @list='$(check_LTLIBRARIES)'; \
1267 locs=`for p in $$list; do echo $$p; done | \
1268 sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
1269 sort -u`; \
1270 test -z "$$locs" || { \
1271 echo rm -f $${locs}; \
1272 rm -f $${locs}; \
1273 }
1274 gtest/src/$(am__dirstamp):
1275 @$(MKDIR_P) gtest/src
1276 @: > gtest/src/$(am__dirstamp)
1277 gtest/src/$(DEPDIR)/$(am__dirstamp):
1278 @$(MKDIR_P) gtest/src/$(DEPDIR)
1279 @: > gtest/src/$(DEPDIR)/$(am__dirstamp)
1280 gtest/src/libgtest_la-gtest-all.lo: gtest/src/$(am__dirstamp) \
1281 gtest/src/$(DEPDIR)/$(am__dirstamp)
1282
1283 libgtest.la: $(libgtest_la_OBJECTS) $(libgtest_la_DEPENDENCIES) $(EXTRA_libgtest_la_DEPENDENCIES)
1284 $(AM_V_CXXLD)$(libgtest_la_LINK) $(libgtest_la_OBJECTS) $(libgtest_la_LIBADD) $(LIBS)
1285
1286 BezierTest$(EXEEXT): $(BezierTest_OBJECTS) $(BezierTest_DEPENDENCIES) $(EXTRA_BezierTest_DEPENDENCIES)
1287 @rm -f BezierTest$(EXEEXT)
1288 $(AM_V_CXXLD)$(CXXLINK) $(BezierTest_OBJECTS) $(BezierTest_LDADD) $(LIBS)
1289
1290 BitmapTest$(EXEEXT): $(BitmapTest_OBJECTS) $(BitmapTest_DEPENDENCIES) $(EXTRA_BitmapTest_DEPENDENCIES)
1291 @rm -f BitmapTest$(EXEEXT)
1292 $(AM_V_CXXLD)$(CXXLINK) $(BitmapTest_OBJECTS) $(BitmapTest_LDADD) $(LIBS)
1293
1294 BoundingBoxTest$(EXEEXT): $(BoundingBoxTest_OBJECTS) $(BoundingBoxTest_DEPENDENCIES) $(EXTRA_BoundingBoxTest_DEPENDENCIES)
1295 @rm -f BoundingBoxTest$(EXEEXT)
1296 $(AM_V_CXXLD)$(CXXLINK) $(BoundingBoxTest_OBJECTS) $(BoundingBoxTest_LDADD) $(LIBS)
1297
1298 CMapManagerTest$(EXEEXT): $(CMapManagerTest_OBJECTS) $(CMapManagerTest_DEPENDENCIES) $(EXTRA_CMapManagerTest_DEPENDENCIES)
1299 @rm -f CMapManagerTest$(EXEEXT)
1300 $(AM_V_CXXLD)$(CXXLINK) $(CMapManagerTest_OBJECTS) $(CMapManagerTest_LDADD) $(LIBS)
1301
1302 CMapReaderTest$(EXEEXT): $(CMapReaderTest_OBJECTS) $(CMapReaderTest_DEPENDENCIES) $(EXTRA_CMapReaderTest_DEPENDENCIES)
1303 @rm -f CMapReaderTest$(EXEEXT)
1304 $(AM_V_CXXLD)$(CXXLINK) $(CMapReaderTest_OBJECTS) $(CMapReaderTest_LDADD) $(LIBS)
1305
1306 CMapTest$(EXEEXT): $(CMapTest_OBJECTS) $(CMapTest_DEPENDENCIES) $(EXTRA_CMapTest_DEPENDENCIES)
1307 @rm -f CMapTest$(EXEEXT)
1308 $(AM_V_CXXLD)$(CXXLINK) $(CMapTest_OBJECTS) $(CMapTest_LDADD) $(LIBS)
1309
1310 CalculatorTest$(EXEEXT): $(CalculatorTest_OBJECTS) $(CalculatorTest_DEPENDENCIES) $(EXTRA_CalculatorTest_DEPENDENCIES)
1311 @rm -f CalculatorTest$(EXEEXT)
1312 $(AM_V_CXXLD)$(CXXLINK) $(CalculatorTest_OBJECTS) $(CalculatorTest_LDADD) $(LIBS)
1313
1314 ColorSpecialTest$(EXEEXT): $(ColorSpecialTest_OBJECTS) $(ColorSpecialTest_DEPENDENCIES) $(EXTRA_ColorSpecialTest_DEPENDENCIES)
1315 @rm -f ColorSpecialTest$(EXEEXT)
1316 $(AM_V_CXXLD)$(CXXLINK) $(ColorSpecialTest_OBJECTS) $(ColorSpecialTest_LDADD) $(LIBS)
1317
1318 ColorTest$(EXEEXT): $(ColorTest_OBJECTS) $(ColorTest_DEPENDENCIES) $(EXTRA_ColorTest_DEPENDENCIES)
1319 @rm -f ColorTest$(EXEEXT)
1320 $(AM_V_CXXLD)$(CXXLINK) $(ColorTest_OBJECTS) $(ColorTest_LDADD) $(LIBS)
1321
1322 CommandLineTest$(EXEEXT): $(CommandLineTest_OBJECTS) $(CommandLineTest_DEPENDENCIES) $(EXTRA_CommandLineTest_DEPENDENCIES)
1323 @rm -f CommandLineTest$(EXEEXT)
1324 $(AM_V_CXXLD)$(CXXLINK) $(CommandLineTest_OBJECTS) $(CommandLineTest_LDADD) $(LIBS)
1325
1326 DVIReaderTest$(EXEEXT): $(DVIReaderTest_OBJECTS) $(DVIReaderTest_DEPENDENCIES) $(EXTRA_DVIReaderTest_DEPENDENCIES)
1327 @rm -f DVIReaderTest$(EXEEXT)
1328 $(AM_V_CXXLD)$(CXXLINK) $(DVIReaderTest_OBJECTS) $(DVIReaderTest_LDADD) $(LIBS)
1329
1330 DependencyGraphTest$(EXEEXT): $(DependencyGraphTest_OBJECTS) $(DependencyGraphTest_DEPENDENCIES) $(EXTRA_DependencyGraphTest_DEPENDENCIES)
1331 @rm -f DependencyGraphTest$(EXEEXT)
1332 $(AM_V_CXXLD)$(CXXLINK) $(DependencyGraphTest_OBJECTS) $(DependencyGraphTest_LDADD) $(LIBS)
1333
1334 DirectoryTest$(EXEEXT): $(DirectoryTest_OBJECTS) $(DirectoryTest_DEPENDENCIES) $(EXTRA_DirectoryTest_DEPENDENCIES)
1335 @rm -f DirectoryTest$(EXEEXT)
1336 $(AM_V_CXXLD)$(CXXLINK) $(DirectoryTest_OBJECTS) $(DirectoryTest_LDADD) $(LIBS)
1337
1338 DvisvgmSpecialTest$(EXEEXT): $(DvisvgmSpecialTest_OBJECTS) $(DvisvgmSpecialTest_DEPENDENCIES) $(EXTRA_DvisvgmSpecialTest_DEPENDENCIES)
1339 @rm -f DvisvgmSpecialTest$(EXEEXT)
1340 $(AM_V_CXXLD)$(CXXLINK) $(DvisvgmSpecialTest_OBJECTS) $(DvisvgmSpecialTest_LDADD) $(LIBS)
1341
1342 EllipticalArcTest$(EXEEXT): $(EllipticalArcTest_OBJECTS) $(EllipticalArcTest_DEPENDENCIES) $(EXTRA_EllipticalArcTest_DEPENDENCIES)
1343 @rm -f EllipticalArcTest$(EXEEXT)
1344 $(AM_V_CXXLD)$(CXXLINK) $(EllipticalArcTest_OBJECTS) $(EllipticalArcTest_LDADD) $(LIBS)
1345
1346 EmSpecialTest$(EXEEXT): $(EmSpecialTest_OBJECTS) $(EmSpecialTest_DEPENDENCIES) $(EXTRA_EmSpecialTest_DEPENDENCIES)
1347 @rm -f EmSpecialTest$(EXEEXT)
1348 $(AM_V_CXXLD)$(CXXLINK) $(EmSpecialTest_OBJECTS) $(EmSpecialTest_LDADD) $(LIBS)
1349
1350 FileFinderTest$(EXEEXT): $(FileFinderTest_OBJECTS) $(FileFinderTest_DEPENDENCIES) $(EXTRA_FileFinderTest_DEPENDENCIES)
1351 @rm -f FileFinderTest$(EXEEXT)
1352 $(AM_V_CXXLD)$(CXXLINK) $(FileFinderTest_OBJECTS) $(FileFinderTest_LDADD) $(LIBS)
1353
1354 FilePathTest$(EXEEXT): $(FilePathTest_OBJECTS) $(FilePathTest_DEPENDENCIES) $(EXTRA_FilePathTest_DEPENDENCIES)
1355 @rm -f FilePathTest$(EXEEXT)
1356 $(AM_V_CXXLD)$(CXXLINK) $(FilePathTest_OBJECTS) $(FilePathTest_LDADD) $(LIBS)
1357
1358 FileSystemTest$(EXEEXT): $(FileSystemTest_OBJECTS) $(FileSystemTest_DEPENDENCIES) $(EXTRA_FileSystemTest_DEPENDENCIES)
1359 @rm -f FileSystemTest$(EXEEXT)
1360 $(AM_V_CXXLD)$(CXXLINK) $(FileSystemTest_OBJECTS) $(FileSystemTest_LDADD) $(LIBS)
1361
1362 FontCacheTest$(EXEEXT): $(FontCacheTest_OBJECTS) $(FontCacheTest_DEPENDENCIES) $(EXTRA_FontCacheTest_DEPENDENCIES)
1363 @rm -f FontCacheTest$(EXEEXT)
1364 $(AM_V_CXXLD)$(CXXLINK) $(FontCacheTest_OBJECTS) $(FontCacheTest_LDADD) $(LIBS)
1365
1366 FontManagerTest$(EXEEXT): $(FontManagerTest_OBJECTS) $(FontManagerTest_DEPENDENCIES) $(EXTRA_FontManagerTest_DEPENDENCIES)
1367 @rm -f FontManagerTest$(EXEEXT)
1368 $(AM_V_CXXLD)$(CXXLINK) $(FontManagerTest_OBJECTS) $(FontManagerTest_LDADD) $(LIBS)
1369
1370 FontMapTest$(EXEEXT): $(FontMapTest_OBJECTS) $(FontMapTest_DEPENDENCIES) $(EXTRA_FontMapTest_DEPENDENCIES)
1371 @rm -f FontMapTest$(EXEEXT)
1372 $(AM_V_CXXLD)$(CXXLINK) $(FontMapTest_OBJECTS) $(FontMapTest_LDADD) $(LIBS)
1373
1374 GFGlyphTracerTest$(EXEEXT): $(GFGlyphTracerTest_OBJECTS) $(GFGlyphTracerTest_DEPENDENCIES) $(EXTRA_GFGlyphTracerTest_DEPENDENCIES)
1375 @rm -f GFGlyphTracerTest$(EXEEXT)
1376 $(AM_V_CXXLD)$(CXXLINK) $(GFGlyphTracerTest_OBJECTS) $(GFGlyphTracerTest_LDADD) $(LIBS)
1377
1378 GFReaderTest$(EXEEXT): $(GFReaderTest_OBJECTS) $(GFReaderTest_DEPENDENCIES) $(EXTRA_GFReaderTest_DEPENDENCIES)
1379 @rm -f GFReaderTest$(EXEEXT)
1380 $(AM_V_CXXLD)$(CXXLINK) $(GFReaderTest_OBJECTS) $(GFReaderTest_LDADD) $(LIBS)
1381
1382 GhostscriptTest$(EXEEXT): $(GhostscriptTest_OBJECTS) $(GhostscriptTest_DEPENDENCIES) $(EXTRA_GhostscriptTest_DEPENDENCIES)
1383 @rm -f GhostscriptTest$(EXEEXT)
1384 $(AM_V_CXXLD)$(CXXLINK) $(GhostscriptTest_OBJECTS) $(GhostscriptTest_LDADD) $(LIBS)
1385
1386 GraphicsPathTest$(EXEEXT): $(GraphicsPathTest_OBJECTS) $(GraphicsPathTest_DEPENDENCIES) $(EXTRA_GraphicsPathTest_DEPENDENCIES)
1387 @rm -f GraphicsPathTest$(EXEEXT)
1388 $(AM_V_CXXLD)$(CXXLINK) $(GraphicsPathTest_OBJECTS) $(GraphicsPathTest_LDADD) $(LIBS)
1389
1390 HashFunctionTest$(EXEEXT): $(HashFunctionTest_OBJECTS) $(HashFunctionTest_DEPENDENCIES) $(EXTRA_HashFunctionTest_DEPENDENCIES)
1391 @rm -f HashFunctionTest$(EXEEXT)
1392 $(AM_V_CXXLD)$(CXXLINK) $(HashFunctionTest_OBJECTS) $(HashFunctionTest_LDADD) $(LIBS)
1393
1394 JFMReaderTest$(EXEEXT): $(JFMReaderTest_OBJECTS) $(JFMReaderTest_DEPENDENCIES) $(EXTRA_JFMReaderTest_DEPENDENCIES)
1395 @rm -f JFMReaderTest$(EXEEXT)
1396 $(AM_V_CXXLD)$(CXXLINK) $(JFMReaderTest_OBJECTS) $(JFMReaderTest_LDADD) $(LIBS)
1397
1398 LengthTest$(EXEEXT): $(LengthTest_OBJECTS) $(LengthTest_DEPENDENCIES) $(EXTRA_LengthTest_DEPENDENCIES)
1399 @rm -f LengthTest$(EXEEXT)
1400 $(AM_V_CXXLD)$(CXXLINK) $(LengthTest_OBJECTS) $(LengthTest_LDADD) $(LIBS)
1401
1402 MapLineTest$(EXEEXT): $(MapLineTest_OBJECTS) $(MapLineTest_DEPENDENCIES) $(EXTRA_MapLineTest_DEPENDENCIES)
1403 @rm -f MapLineTest$(EXEEXT)
1404 $(AM_V_CXXLD)$(CXXLINK) $(MapLineTest_OBJECTS) $(MapLineTest_LDADD) $(LIBS)
1405
1406 MatrixTest$(EXEEXT): $(MatrixTest_OBJECTS) $(MatrixTest_DEPENDENCIES) $(EXTRA_MatrixTest_DEPENDENCIES)
1407 @rm -f MatrixTest$(EXEEXT)
1408 $(AM_V_CXXLD)$(CXXLINK) $(MatrixTest_OBJECTS) $(MatrixTest_LDADD) $(LIBS)
1409
1410 MessageExceptionTest$(EXEEXT): $(MessageExceptionTest_OBJECTS) $(MessageExceptionTest_DEPENDENCIES) $(EXTRA_MessageExceptionTest_DEPENDENCIES)
1411 @rm -f MessageExceptionTest$(EXEEXT)
1412 $(AM_V_CXXLD)$(CXXLINK) $(MessageExceptionTest_OBJECTS) $(MessageExceptionTest_LDADD) $(LIBS)
1413
1414 PDFParserTest$(EXEEXT): $(PDFParserTest_OBJECTS) $(PDFParserTest_DEPENDENCIES) $(EXTRA_PDFParserTest_DEPENDENCIES)
1415 @rm -f PDFParserTest$(EXEEXT)
1416 $(AM_V_CXXLD)$(CXXLINK) $(PDFParserTest_OBJECTS) $(PDFParserTest_LDADD) $(LIBS)
1417
1418 PSInterpreterTest$(EXEEXT): $(PSInterpreterTest_OBJECTS) $(PSInterpreterTest_DEPENDENCIES) $(EXTRA_PSInterpreterTest_DEPENDENCIES)
1419 @rm -f PSInterpreterTest$(EXEEXT)
1420 $(AM_V_CXXLD)$(CXXLINK) $(PSInterpreterTest_OBJECTS) $(PSInterpreterTest_LDADD) $(LIBS)
1421
1422 PageRagesTest$(EXEEXT): $(PageRagesTest_OBJECTS) $(PageRagesTest_DEPENDENCIES) $(EXTRA_PageRagesTest_DEPENDENCIES)
1423 @rm -f PageRagesTest$(EXEEXT)
1424 $(AM_V_CXXLD)$(CXXLINK) $(PageRagesTest_OBJECTS) $(PageRagesTest_LDADD) $(LIBS)
1425
1426 PageSizeTest$(EXEEXT): $(PageSizeTest_OBJECTS) $(PageSizeTest_DEPENDENCIES) $(EXTRA_PageSizeTest_DEPENDENCIES)
1427 @rm -f PageSizeTest$(EXEEXT)
1428 $(AM_V_CXXLD)$(CXXLINK) $(PageSizeTest_OBJECTS) $(PageSizeTest_LDADD) $(LIBS)
1429
1430 PairTest$(EXEEXT): $(PairTest_OBJECTS) $(PairTest_DEPENDENCIES) $(EXTRA_PairTest_DEPENDENCIES)
1431 @rm -f PairTest$(EXEEXT)
1432 $(AM_V_CXXLD)$(CXXLINK) $(PairTest_OBJECTS) $(PairTest_LDADD) $(LIBS)
1433
1434 PapersizeSpecialTest$(EXEEXT): $(PapersizeSpecialTest_OBJECTS) $(PapersizeSpecialTest_DEPENDENCIES) $(EXTRA_PapersizeSpecialTest_DEPENDENCIES)
1435 @rm -f PapersizeSpecialTest$(EXEEXT)
1436 $(AM_V_CXXLD)$(CXXLINK) $(PapersizeSpecialTest_OBJECTS) $(PapersizeSpecialTest_LDADD) $(LIBS)
1437
1438 RangeMapTest$(EXEEXT): $(RangeMapTest_OBJECTS) $(RangeMapTest_DEPENDENCIES) $(EXTRA_RangeMapTest_DEPENDENCIES)
1439 @rm -f RangeMapTest$(EXEEXT)
1440 $(AM_V_CXXLD)$(CXXLINK) $(RangeMapTest_OBJECTS) $(RangeMapTest_LDADD) $(LIBS)
1441
1442 SVGOutputTest$(EXEEXT): $(SVGOutputTest_OBJECTS) $(SVGOutputTest_DEPENDENCIES) $(EXTRA_SVGOutputTest_DEPENDENCIES)
1443 @rm -f SVGOutputTest$(EXEEXT)
1444 $(AM_V_CXXLD)$(CXXLINK) $(SVGOutputTest_OBJECTS) $(SVGOutputTest_LDADD) $(LIBS)
1445
1446 ShadingPatchTest$(EXEEXT): $(ShadingPatchTest_OBJECTS) $(ShadingPatchTest_DEPENDENCIES) $(EXTRA_ShadingPatchTest_DEPENDENCIES)
1447 @rm -f ShadingPatchTest$(EXEEXT)
1448 $(AM_V_CXXLD)$(CXXLINK) $(ShadingPatchTest_OBJECTS) $(ShadingPatchTest_LDADD) $(LIBS)
1449
1450 SpecialManagerTest$(EXEEXT): $(SpecialManagerTest_OBJECTS) $(SpecialManagerTest_DEPENDENCIES) $(EXTRA_SpecialManagerTest_DEPENDENCIES)
1451 @rm -f SpecialManagerTest$(EXEEXT)
1452 $(AM_V_CXXLD)$(CXXLINK) $(SpecialManagerTest_OBJECTS) $(SpecialManagerTest_LDADD) $(LIBS)
1453
1454 SplittedCharInputBufferTest$(EXEEXT): $(SplittedCharInputBufferTest_OBJECTS) $(SplittedCharInputBufferTest_DEPENDENCIES) $(EXTRA_SplittedCharInputBufferTest_DEPENDENCIES)
1455 @rm -f SplittedCharInputBufferTest$(EXEEXT)
1456 $(AM_V_CXXLD)$(CXXLINK) $(SplittedCharInputBufferTest_OBJECTS) $(SplittedCharInputBufferTest_LDADD) $(LIBS)
1457
1458 StreamInputBufferTest$(EXEEXT): $(StreamInputBufferTest_OBJECTS) $(StreamInputBufferTest_DEPENDENCIES) $(EXTRA_StreamInputBufferTest_DEPENDENCIES)
1459 @rm -f StreamInputBufferTest$(EXEEXT)
1460 $(AM_V_CXXLD)$(CXXLINK) $(StreamInputBufferTest_OBJECTS) $(StreamInputBufferTest_LDADD) $(LIBS)
1461
1462 StreamReaderTest$(EXEEXT): $(StreamReaderTest_OBJECTS) $(StreamReaderTest_DEPENDENCIES) $(EXTRA_StreamReaderTest_DEPENDENCIES)
1463 @rm -f StreamReaderTest$(EXEEXT)
1464 $(AM_V_CXXLD)$(CXXLINK) $(StreamReaderTest_OBJECTS) $(StreamReaderTest_LDADD) $(LIBS)
1465
1466 StreamWriterTest$(EXEEXT): $(StreamWriterTest_OBJECTS) $(StreamWriterTest_DEPENDENCIES) $(EXTRA_StreamWriterTest_DEPENDENCIES)
1467 @rm -f StreamWriterTest$(EXEEXT)
1468 $(AM_V_CXXLD)$(CXXLINK) $(StreamWriterTest_OBJECTS) $(StreamWriterTest_LDADD) $(LIBS)
1469
1470 StringMatcherTest$(EXEEXT): $(StringMatcherTest_OBJECTS) $(StringMatcherTest_DEPENDENCIES) $(EXTRA_StringMatcherTest_DEPENDENCIES)
1471 @rm -f StringMatcherTest$(EXEEXT)
1472 $(AM_V_CXXLD)$(CXXLINK) $(StringMatcherTest_OBJECTS) $(StringMatcherTest_LDADD) $(LIBS)
1473
1474 SubfontTest$(EXEEXT): $(SubfontTest_OBJECTS) $(SubfontTest_DEPENDENCIES) $(EXTRA_SubfontTest_DEPENDENCIES)
1475 @rm -f SubfontTest$(EXEEXT)
1476 $(AM_V_CXXLD)$(CXXLINK) $(SubfontTest_OBJECTS) $(SubfontTest_LDADD) $(LIBS)
1477
1478 TFMReaderTest$(EXEEXT): $(TFMReaderTest_OBJECTS) $(TFMReaderTest_DEPENDENCIES) $(EXTRA_TFMReaderTest_DEPENDENCIES)
1479 @rm -f TFMReaderTest$(EXEEXT)
1480 $(AM_V_CXXLD)$(CXXLINK) $(TFMReaderTest_OBJECTS) $(TFMReaderTest_LDADD) $(LIBS)
1481
1482 TensorProductPatchTest$(EXEEXT): $(TensorProductPatchTest_OBJECTS) $(TensorProductPatchTest_DEPENDENCIES) $(EXTRA_TensorProductPatchTest_DEPENDENCIES)
1483 @rm -f TensorProductPatchTest$(EXEEXT)
1484 $(AM_V_CXXLD)$(CXXLINK) $(TensorProductPatchTest_OBJECTS) $(TensorProductPatchTest_LDADD) $(LIBS)
1485
1486 ToUnicodeMapTest$(EXEEXT): $(ToUnicodeMapTest_OBJECTS) $(ToUnicodeMapTest_DEPENDENCIES) $(EXTRA_ToUnicodeMapTest_DEPENDENCIES)
1487 @rm -f ToUnicodeMapTest$(EXEEXT)
1488 $(AM_V_CXXLD)$(CXXLINK) $(ToUnicodeMapTest_OBJECTS) $(ToUnicodeMapTest_LDADD) $(LIBS)
1489
1490 TpicSpecialTest$(EXEEXT): $(TpicSpecialTest_OBJECTS) $(TpicSpecialTest_DEPENDENCIES) $(EXTRA_TpicSpecialTest_DEPENDENCIES)
1491 @rm -f TpicSpecialTest$(EXEEXT)
1492 $(AM_V_CXXLD)$(CXXLINK) $(TpicSpecialTest_OBJECTS) $(TpicSpecialTest_LDADD) $(LIBS)
1493
1494 TriangularPatchTest$(EXEEXT): $(TriangularPatchTest_OBJECTS) $(TriangularPatchTest_DEPENDENCIES) $(EXTRA_TriangularPatchTest_DEPENDENCIES)
1495 @rm -f TriangularPatchTest$(EXEEXT)
1496 $(AM_V_CXXLD)$(CXXLINK) $(TriangularPatchTest_OBJECTS) $(TriangularPatchTest_LDADD) $(LIBS)
1497
1498 UnicodeTest$(EXEEXT): $(UnicodeTest_OBJECTS) $(UnicodeTest_DEPENDENCIES) $(EXTRA_UnicodeTest_DEPENDENCIES)
1499 @rm -f UnicodeTest$(EXEEXT)
1500 $(AM_V_CXXLD)$(CXXLINK) $(UnicodeTest_OBJECTS) $(UnicodeTest_LDADD) $(LIBS)
1501
1502 UtilityTest$(EXEEXT): $(UtilityTest_OBJECTS) $(UtilityTest_DEPENDENCIES) $(EXTRA_UtilityTest_DEPENDENCIES)
1503 @rm -f UtilityTest$(EXEEXT)
1504 $(AM_V_CXXLD)$(CXXLINK) $(UtilityTest_OBJECTS) $(UtilityTest_LDADD) $(LIBS)
1505
1506 VectorIteratorTest$(EXEEXT): $(VectorIteratorTest_OBJECTS) $(VectorIteratorTest_DEPENDENCIES) $(EXTRA_VectorIteratorTest_DEPENDENCIES)
1507 @rm -f VectorIteratorTest$(EXEEXT)
1508 $(AM_V_CXXLD)$(CXXLINK) $(VectorIteratorTest_OBJECTS) $(VectorIteratorTest_LDADD) $(LIBS)
1509
1510 VectorStreamTest$(EXEEXT): $(VectorStreamTest_OBJECTS) $(VectorStreamTest_DEPENDENCIES) $(EXTRA_VectorStreamTest_DEPENDENCIES)
1511 @rm -f VectorStreamTest$(EXEEXT)
1512 $(AM_V_CXXLD)$(CXXLINK) $(VectorStreamTest_OBJECTS) $(VectorStreamTest_LDADD) $(LIBS)
1513
1514 XMLNodeTest$(EXEEXT): $(XMLNodeTest_OBJECTS) $(XMLNodeTest_DEPENDENCIES) $(EXTRA_XMLNodeTest_DEPENDENCIES)
1515 @rm -f XMLNodeTest$(EXEEXT)
1516 $(AM_V_CXXLD)$(CXXLINK) $(XMLNodeTest_OBJECTS) $(XMLNodeTest_LDADD) $(LIBS)
1517
1518 XMLStringTest$(EXEEXT): $(XMLStringTest_OBJECTS) $(XMLStringTest_DEPENDENCIES) $(EXTRA_XMLStringTest_DEPENDENCIES)
1519 @rm -f XMLStringTest$(EXEEXT)
1520 $(AM_V_CXXLD)$(CXXLINK) $(XMLStringTest_OBJECTS) $(XMLStringTest_LDADD) $(LIBS)
1521
1522 hashcheck$(EXEEXT): $(hashcheck_OBJECTS) $(hashcheck_DEPENDENCIES) $(EXTRA_hashcheck_DEPENDENCIES)
1523 @rm -f hashcheck$(EXEEXT)
1524 $(AM_V_CXXLD)$(CXXLINK) $(hashcheck_OBJECTS) $(hashcheck_LDADD) $(LIBS)
1525
1526 mostlyclean-compile:
1527 -rm -f *.$(OBJEXT)
1528 -rm -f gtest/src/*.$(OBJEXT)
1529 -rm -f gtest/src/*.lo
1530
1531 distclean-compile:
1532 -rm -f *.tab.c
1533
1534 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/BezierTest-BezierTest.Po@am__quote@ # am--include-marker
1535 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/BitmapTest-BitmapTest.Po@am__quote@ # am--include-marker
1536 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/BoundingBoxTest-BoundingBoxTest.Po@am__quote@ # am--include-marker
1537 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CMapManagerTest-CMapManagerTest.Po@am__quote@ # am--include-marker
1538 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CMapReaderTest-CMapReaderTest.Po@am__quote@ # am--include-marker
1539 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CMapTest-CMapTest.Po@am__quote@ # am--include-marker
1540 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CalculatorTest-CalculatorTest.Po@am__quote@ # am--include-marker
1541 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ColorSpecialTest-ColorSpecialTest.Po@am__quote@ # am--include-marker
1542 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ColorTest-ColorTest.Po@am__quote@ # am--include-marker
1543 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CommandLineTest-CommandLineTest.Po@am__quote@ # am--include-marker
1544 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DVIReaderTest-DVIReaderTest.Po@am__quote@ # am--include-marker
1545 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DependencyGraphTest-DependencyGraphTest.Po@am__quote@ # am--include-marker
1546 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DirectoryTest-DirectoryTest.Po@am__quote@ # am--include-marker
1547 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DvisvgmSpecialTest-DvisvgmSpecialTest.Po@am__quote@ # am--include-marker
1548 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/EllipticalArcTest-EllipticalArcTest.Po@am__quote@ # am--include-marker
1549 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/EmSpecialTest-EmSpecialTest.Po@am__quote@ # am--include-marker
1550 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FileFinderTest-FileFinderTest.Po@am__quote@ # am--include-marker
1551 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FilePathTest-FilePathTest.Po@am__quote@ # am--include-marker
1552 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FileSystemTest-FileSystemTest.Po@am__quote@ # am--include-marker
1553 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FontCacheTest-FontCacheTest.Po@am__quote@ # am--include-marker
1554 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FontManagerTest-FontManagerTest.Po@am__quote@ # am--include-marker
1555 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FontMapTest-FontMapTest.Po@am__quote@ # am--include-marker
1556 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GFGlyphTracerTest-GFGlyphTracerTest.Po@am__quote@ # am--include-marker
1557 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GFReaderTest-GFReaderTest.Po@am__quote@ # am--include-marker
1558 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GhostscriptTest-GhostscriptTest.Po@am__quote@ # am--include-marker
1559 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GraphicsPathTest-GraphicsPathTest.Po@am__quote@ # am--include-marker
1560 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/HashFunctionTest-HashFunctionTest.Po@am__quote@ # am--include-marker
1561 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/JFMReaderTest-JFMReaderTest.Po@am__quote@ # am--include-marker
1562 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/LengthTest-LengthTest.Po@am__quote@ # am--include-marker
1563 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/MapLineTest-MapLineTest.Po@am__quote@ # am--include-marker
1564 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/MatrixTest-MatrixTest.Po@am__quote@ # am--include-marker
1565 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/MessageExceptionTest-MessageExceptionTest.Po@am__quote@ # am--include-marker
1566 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PDFParserTest-PDFParserTest.Po@am__quote@ # am--include-marker
1567 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PSInterpreterTest-PSInterpreterTest.Po@am__quote@ # am--include-marker
1568 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PageRagesTest-PageRagesTest.Po@am__quote@ # am--include-marker
1569 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PageSizeTest-PageSizeTest.Po@am__quote@ # am--include-marker
1570 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PairTest-PairTest.Po@am__quote@ # am--include-marker
1571 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PapersizeSpecialTest-PapersizeSpecialTest.Po@am__quote@ # am--include-marker
1572 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/RangeMapTest-RangeMapTest.Po@am__quote@ # am--include-marker
1573 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SVGOutputTest-SVGOutputTest.Po@am__quote@ # am--include-marker
1574 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ShadingPatchTest-ShadingPatchTest.Po@am__quote@ # am--include-marker
1575 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SpecialManagerTest-SpecialManagerTest.Po@am__quote@ # am--include-marker
1576 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SplittedCharInputBufferTest-SplittedCharInputBufferTest.Po@am__quote@ # am--include-marker
1577 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/StreamInputBufferTest-StreamInputBufferTest.Po@am__quote@ # am--include-marker
1578 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/StreamReaderTest-StreamReaderTest.Po@am__quote@ # am--include-marker
1579 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/StreamWriterTest-StreamWriterTest.Po@am__quote@ # am--include-marker
1580 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/StringMatcherTest-StringMatcherTest.Po@am__quote@ # am--include-marker
1581 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SubfontTest-SubfontTest.Po@am__quote@ # am--include-marker
1582 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/TFMReaderTest-TFMReaderTest.Po@am__quote@ # am--include-marker
1583 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/TensorProductPatchTest-TensorProductPatchTest.Po@am__quote@ # am--include-marker
1584 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ToUnicodeMapTest-ToUnicodeMapTest.Po@am__quote@ # am--include-marker
1585 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/TpicSpecialTest-TpicSpecialTest.Po@am__quote@ # am--include-marker
1586 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/TriangularPatchTest-TriangularPatchTest.Po@am__quote@ # am--include-marker
1587 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/UnicodeTest-UnicodeTest.Po@am__quote@ # am--include-marker
1588 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/UtilityTest-UtilityTest.Po@am__quote@ # am--include-marker
1589 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/VectorIteratorTest-VectorIteratorTest.Po@am__quote@ # am--include-marker
1590 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/VectorStreamTest-VectorStreamTest.Po@am__quote@ # am--include-marker
1591 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XMLNodeTest-XMLNodeTest.Po@am__quote@ # am--include-marker
1592 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XMLStringTest-XMLStringTest.Po@am__quote@ # am--include-marker
1593 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hashcheck-hashcheck.Po@am__quote@ # am--include-marker
1594 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgtest_la-testmain.Plo@am__quote@ # am--include-marker
1595 @AMDEP_TRUE@@am__include@ @am__quote@gtest/src/$(DEPDIR)/libgtest_la-gtest-all.Plo@am__quote@ # am--include-marker
1596
1597 $(am__depfiles_remade):
1598 @$(MKDIR_P) $(@D)
1599 @echo '# dummy' >$@-t && $(am__mv) $@-t $@
1600
1601 am--depfiles: $(am__depfiles_remade)
1602
1603 .cc.o:
1604 @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
1605 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
1606 @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
1607 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1608 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1609 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $<
1610
1611 .cc.obj:
1612 @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
1613 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
1614 @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
1615 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1616 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1617 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
1618
1619 .cc.lo:
1620 @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
1621 @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
1622 @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
1623 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
1624 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1625 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $<
1626
1627 gtest/src/libgtest_la-gtest-all.lo: gtest/src/gtest-all.cc
1628 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgtest_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT gtest/src/libgtest_la-gtest-all.lo -MD -MP -MF gtest/src/$(DEPDIR)/libgtest_la-gtest-all.Tpo -c -o gtest/src/libgtest_la-gtest-all.lo `test -f 'gtest/src/gtest-all.cc' || echo '$(srcdir)/'`gtest/src/gtest-all.cc
1629 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) gtest/src/$(DEPDIR)/libgtest_la-gtest-all.Tpo gtest/src/$(DEPDIR)/libgtest_la-gtest-all.Plo
1630 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='gtest/src/gtest-all.cc' object='gtest/src/libgtest_la-gtest-all.lo' libtool=yes @AMDEPBACKSLASH@
1631 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1632 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgtest_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o gtest/src/libgtest_la-gtest-all.lo `test -f 'gtest/src/gtest-all.cc' || echo '$(srcdir)/'`gtest/src/gtest-all.cc
1633
1634 libgtest_la-testmain.lo: testmain.cpp
1635 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgtest_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libgtest_la-testmain.lo -MD -MP -MF $(DEPDIR)/libgtest_la-testmain.Tpo -c -o libgtest_la-testmain.lo `test -f 'testmain.cpp' || echo '$(srcdir)/'`testmain.cpp
1636 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libgtest_la-testmain.Tpo $(DEPDIR)/libgtest_la-testmain.Plo
1637 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='testmain.cpp' object='libgtest_la-testmain.lo' libtool=yes @AMDEPBACKSLASH@
1638 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1639 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgtest_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libgtest_la-testmain.lo `test -f 'testmain.cpp' || echo '$(srcdir)/'`testmain.cpp
1640
1641 BezierTest-BezierTest.o: BezierTest.cpp
1642 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(BezierTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT BezierTest-BezierTest.o -MD -MP -MF $(DEPDIR)/BezierTest-BezierTest.Tpo -c -o BezierTest-BezierTest.o `test -f 'BezierTest.cpp' || echo '$(srcdir)/'`BezierTest.cpp
1643 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/BezierTest-BezierTest.Tpo $(DEPDIR)/BezierTest-BezierTest.Po
1644 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='BezierTest.cpp' object='BezierTest-BezierTest.o' libtool=no @AMDEPBACKSLASH@
1645 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1646 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(BezierTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o BezierTest-BezierTest.o `test -f 'BezierTest.cpp' || echo '$(srcdir)/'`BezierTest.cpp
1647
1648 BezierTest-BezierTest.obj: BezierTest.cpp
1649 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(BezierTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT BezierTest-BezierTest.obj -MD -MP -MF $(DEPDIR)/BezierTest-BezierTest.Tpo -c -o BezierTest-BezierTest.obj `if test -f 'BezierTest.cpp'; then $(CYGPATH_W) 'BezierTest.cpp'; else $(CYGPATH_W) '$(srcdir)/BezierTest.cpp'; fi`
1650 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/BezierTest-BezierTest.Tpo $(DEPDIR)/BezierTest-BezierTest.Po
1651 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='BezierTest.cpp' object='BezierTest-BezierTest.obj' libtool=no @AMDEPBACKSLASH@
1652 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1653 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(BezierTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o BezierTest-BezierTest.obj `if test -f 'BezierTest.cpp'; then $(CYGPATH_W) 'BezierTest.cpp'; else $(CYGPATH_W) '$(srcdir)/BezierTest.cpp'; fi`
1654
1655 BitmapTest-BitmapTest.o: BitmapTest.cpp
1656 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(BitmapTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT BitmapTest-BitmapTest.o -MD -MP -MF $(DEPDIR)/BitmapTest-BitmapTest.Tpo -c -o BitmapTest-BitmapTest.o `test -f 'BitmapTest.cpp' || echo '$(srcdir)/'`BitmapTest.cpp
1657 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/BitmapTest-BitmapTest.Tpo $(DEPDIR)/BitmapTest-BitmapTest.Po
1658 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='BitmapTest.cpp' object='BitmapTest-BitmapTest.o' libtool=no @AMDEPBACKSLASH@
1659 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1660 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(BitmapTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o BitmapTest-BitmapTest.o `test -f 'BitmapTest.cpp' || echo '$(srcdir)/'`BitmapTest.cpp
1661
1662 BitmapTest-BitmapTest.obj: BitmapTest.cpp
1663 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(BitmapTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT BitmapTest-BitmapTest.obj -MD -MP -MF $(DEPDIR)/BitmapTest-BitmapTest.Tpo -c -o BitmapTest-BitmapTest.obj `if test -f 'BitmapTest.cpp'; then $(CYGPATH_W) 'BitmapTest.cpp'; else $(CYGPATH_W) '$(srcdir)/BitmapTest.cpp'; fi`
1664 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/BitmapTest-BitmapTest.Tpo $(DEPDIR)/BitmapTest-BitmapTest.Po
1665 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='BitmapTest.cpp' object='BitmapTest-BitmapTest.obj' libtool=no @AMDEPBACKSLASH@
1666 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1667 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(BitmapTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o BitmapTest-BitmapTest.obj `if test -f 'BitmapTest.cpp'; then $(CYGPATH_W) 'BitmapTest.cpp'; else $(CYGPATH_W) '$(srcdir)/BitmapTest.cpp'; fi`
1668
1669 BoundingBoxTest-BoundingBoxTest.o: BoundingBoxTest.cpp
1670 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(BoundingBoxTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT BoundingBoxTest-BoundingBoxTest.o -MD -MP -MF $(DEPDIR)/BoundingBoxTest-BoundingBoxTest.Tpo -c -o BoundingBoxTest-BoundingBoxTest.o `test -f 'BoundingBoxTest.cpp' || echo '$(srcdir)/'`BoundingBoxTest.cpp
1671 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/BoundingBoxTest-BoundingBoxTest.Tpo $(DEPDIR)/BoundingBoxTest-BoundingBoxTest.Po
1672 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='BoundingBoxTest.cpp' object='BoundingBoxTest-BoundingBoxTest.o' libtool=no @AMDEPBACKSLASH@
1673 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1674 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(BoundingBoxTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o BoundingBoxTest-BoundingBoxTest.o `test -f 'BoundingBoxTest.cpp' || echo '$(srcdir)/'`BoundingBoxTest.cpp
1675
1676 BoundingBoxTest-BoundingBoxTest.obj: BoundingBoxTest.cpp
1677 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(BoundingBoxTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT BoundingBoxTest-BoundingBoxTest.obj -MD -MP -MF $(DEPDIR)/BoundingBoxTest-BoundingBoxTest.Tpo -c -o BoundingBoxTest-BoundingBoxTest.obj `if test -f 'BoundingBoxTest.cpp'; then $(CYGPATH_W) 'BoundingBoxTest.cpp'; else $(CYGPATH_W) '$(srcdir)/BoundingBoxTest.cpp'; fi`
1678 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/BoundingBoxTest-BoundingBoxTest.Tpo $(DEPDIR)/BoundingBoxTest-BoundingBoxTest.Po
1679 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='BoundingBoxTest.cpp' object='BoundingBoxTest-BoundingBoxTest.obj' libtool=no @AMDEPBACKSLASH@
1680 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1681 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(BoundingBoxTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o BoundingBoxTest-BoundingBoxTest.obj `if test -f 'BoundingBoxTest.cpp'; then $(CYGPATH_W) 'BoundingBoxTest.cpp'; else $(CYGPATH_W) '$(srcdir)/BoundingBoxTest.cpp'; fi`
1682
1683 CMapManagerTest-CMapManagerTest.o: CMapManagerTest.cpp
1684 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CMapManagerTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT CMapManagerTest-CMapManagerTest.o -MD -MP -MF $(DEPDIR)/CMapManagerTest-CMapManagerTest.Tpo -c -o CMapManagerTest-CMapManagerTest.o `test -f 'CMapManagerTest.cpp' || echo '$(srcdir)/'`CMapManagerTest.cpp
1685 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/CMapManagerTest-CMapManagerTest.Tpo $(DEPDIR)/CMapManagerTest-CMapManagerTest.Po
1686 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='CMapManagerTest.cpp' object='CMapManagerTest-CMapManagerTest.o' libtool=no @AMDEPBACKSLASH@
1687 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1688 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CMapManagerTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o CMapManagerTest-CMapManagerTest.o `test -f 'CMapManagerTest.cpp' || echo '$(srcdir)/'`CMapManagerTest.cpp
1689
1690 CMapManagerTest-CMapManagerTest.obj: CMapManagerTest.cpp
1691 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CMapManagerTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT CMapManagerTest-CMapManagerTest.obj -MD -MP -MF $(DEPDIR)/CMapManagerTest-CMapManagerTest.Tpo -c -o CMapManagerTest-CMapManagerTest.obj `if test -f 'CMapManagerTest.cpp'; then $(CYGPATH_W) 'CMapManagerTest.cpp'; else $(CYGPATH_W) '$(srcdir)/CMapManagerTest.cpp'; fi`
1692 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/CMapManagerTest-CMapManagerTest.Tpo $(DEPDIR)/CMapManagerTest-CMapManagerTest.Po
1693 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='CMapManagerTest.cpp' object='CMapManagerTest-CMapManagerTest.obj' libtool=no @AMDEPBACKSLASH@
1694 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1695 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CMapManagerTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o CMapManagerTest-CMapManagerTest.obj `if test -f 'CMapManagerTest.cpp'; then $(CYGPATH_W) 'CMapManagerTest.cpp'; else $(CYGPATH_W) '$(srcdir)/CMapManagerTest.cpp'; fi`
1696
1697 CMapReaderTest-CMapReaderTest.o: CMapReaderTest.cpp
1698 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CMapReaderTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT CMapReaderTest-CMapReaderTest.o -MD -MP -MF $(DEPDIR)/CMapReaderTest-CMapReaderTest.Tpo -c -o CMapReaderTest-CMapReaderTest.o `test -f 'CMapReaderTest.cpp' || echo '$(srcdir)/'`CMapReaderTest.cpp
1699 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/CMapReaderTest-CMapReaderTest.Tpo $(DEPDIR)/CMapReaderTest-CMapReaderTest.Po
1700 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='CMapReaderTest.cpp' object='CMapReaderTest-CMapReaderTest.o' libtool=no @AMDEPBACKSLASH@
1701 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1702 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CMapReaderTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o CMapReaderTest-CMapReaderTest.o `test -f 'CMapReaderTest.cpp' || echo '$(srcdir)/'`CMapReaderTest.cpp
1703
1704 CMapReaderTest-CMapReaderTest.obj: CMapReaderTest.cpp
1705 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CMapReaderTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT CMapReaderTest-CMapReaderTest.obj -MD -MP -MF $(DEPDIR)/CMapReaderTest-CMapReaderTest.Tpo -c -o CMapReaderTest-CMapReaderTest.obj `if test -f 'CMapReaderTest.cpp'; then $(CYGPATH_W) 'CMapReaderTest.cpp'; else $(CYGPATH_W) '$(srcdir)/CMapReaderTest.cpp'; fi`
1706 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/CMapReaderTest-CMapReaderTest.Tpo $(DEPDIR)/CMapReaderTest-CMapReaderTest.Po
1707 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='CMapReaderTest.cpp' object='CMapReaderTest-CMapReaderTest.obj' libtool=no @AMDEPBACKSLASH@
1708 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1709 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CMapReaderTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o CMapReaderTest-CMapReaderTest.obj `if test -f 'CMapReaderTest.cpp'; then $(CYGPATH_W) 'CMapReaderTest.cpp'; else $(CYGPATH_W) '$(srcdir)/CMapReaderTest.cpp'; fi`
1710
1711 CMapTest-CMapTest.o: CMapTest.cpp
1712 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CMapTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT CMapTest-CMapTest.o -MD -MP -MF $(DEPDIR)/CMapTest-CMapTest.Tpo -c -o CMapTest-CMapTest.o `test -f 'CMapTest.cpp' || echo '$(srcdir)/'`CMapTest.cpp
1713 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/CMapTest-CMapTest.Tpo $(DEPDIR)/CMapTest-CMapTest.Po
1714 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='CMapTest.cpp' object='CMapTest-CMapTest.o' libtool=no @AMDEPBACKSLASH@
1715 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1716 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CMapTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o CMapTest-CMapTest.o `test -f 'CMapTest.cpp' || echo '$(srcdir)/'`CMapTest.cpp
1717
1718 CMapTest-CMapTest.obj: CMapTest.cpp
1719 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CMapTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT CMapTest-CMapTest.obj -MD -MP -MF $(DEPDIR)/CMapTest-CMapTest.Tpo -c -o CMapTest-CMapTest.obj `if test -f 'CMapTest.cpp'; then $(CYGPATH_W) 'CMapTest.cpp'; else $(CYGPATH_W) '$(srcdir)/CMapTest.cpp'; fi`
1720 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/CMapTest-CMapTest.Tpo $(DEPDIR)/CMapTest-CMapTest.Po
1721 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='CMapTest.cpp' object='CMapTest-CMapTest.obj' libtool=no @AMDEPBACKSLASH@
1722 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1723 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CMapTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o CMapTest-CMapTest.obj `if test -f 'CMapTest.cpp'; then $(CYGPATH_W) 'CMapTest.cpp'; else $(CYGPATH_W) '$(srcdir)/CMapTest.cpp'; fi`
1724
1725 CalculatorTest-CalculatorTest.o: CalculatorTest.cpp
1726 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CalculatorTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT CalculatorTest-CalculatorTest.o -MD -MP -MF $(DEPDIR)/CalculatorTest-CalculatorTest.Tpo -c -o CalculatorTest-CalculatorTest.o `test -f 'CalculatorTest.cpp' || echo '$(srcdir)/'`CalculatorTest.cpp
1727 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/CalculatorTest-CalculatorTest.Tpo $(DEPDIR)/CalculatorTest-CalculatorTest.Po
1728 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='CalculatorTest.cpp' object='CalculatorTest-CalculatorTest.o' libtool=no @AMDEPBACKSLASH@
1729 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1730 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CalculatorTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o CalculatorTest-CalculatorTest.o `test -f 'CalculatorTest.cpp' || echo '$(srcdir)/'`CalculatorTest.cpp
1731
1732 CalculatorTest-CalculatorTest.obj: CalculatorTest.cpp
1733 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CalculatorTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT CalculatorTest-CalculatorTest.obj -MD -MP -MF $(DEPDIR)/CalculatorTest-CalculatorTest.Tpo -c -o CalculatorTest-CalculatorTest.obj `if test -f 'CalculatorTest.cpp'; then $(CYGPATH_W) 'CalculatorTest.cpp'; else $(CYGPATH_W) '$(srcdir)/CalculatorTest.cpp'; fi`
1734 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/CalculatorTest-CalculatorTest.Tpo $(DEPDIR)/CalculatorTest-CalculatorTest.Po
1735 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='CalculatorTest.cpp' object='CalculatorTest-CalculatorTest.obj' libtool=no @AMDEPBACKSLASH@
1736 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1737 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CalculatorTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o CalculatorTest-CalculatorTest.obj `if test -f 'CalculatorTest.cpp'; then $(CYGPATH_W) 'CalculatorTest.cpp'; else $(CYGPATH_W) '$(srcdir)/CalculatorTest.cpp'; fi`
1738
1739 ColorSpecialTest-ColorSpecialTest.o: ColorSpecialTest.cpp
1740 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ColorSpecialTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT ColorSpecialTest-ColorSpecialTest.o -MD -MP -MF $(DEPDIR)/ColorSpecialTest-ColorSpecialTest.Tpo -c -o ColorSpecialTest-ColorSpecialTest.o `test -f 'ColorSpecialTest.cpp' || echo '$(srcdir)/'`ColorSpecialTest.cpp
1741 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ColorSpecialTest-ColorSpecialTest.Tpo $(DEPDIR)/ColorSpecialTest-ColorSpecialTest.Po
1742 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='ColorSpecialTest.cpp' object='ColorSpecialTest-ColorSpecialTest.o' libtool=no @AMDEPBACKSLASH@
1743 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1744 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ColorSpecialTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o ColorSpecialTest-ColorSpecialTest.o `test -f 'ColorSpecialTest.cpp' || echo '$(srcdir)/'`ColorSpecialTest.cpp
1745
1746 ColorSpecialTest-ColorSpecialTest.obj: ColorSpecialTest.cpp
1747 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ColorSpecialTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT ColorSpecialTest-ColorSpecialTest.obj -MD -MP -MF $(DEPDIR)/ColorSpecialTest-ColorSpecialTest.Tpo -c -o ColorSpecialTest-ColorSpecialTest.obj `if test -f 'ColorSpecialTest.cpp'; then $(CYGPATH_W) 'ColorSpecialTest.cpp'; else $(CYGPATH_W) '$(srcdir)/ColorSpecialTest.cpp'; fi`
1748 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ColorSpecialTest-ColorSpecialTest.Tpo $(DEPDIR)/ColorSpecialTest-ColorSpecialTest.Po
1749 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='ColorSpecialTest.cpp' object='ColorSpecialTest-ColorSpecialTest.obj' libtool=no @AMDEPBACKSLASH@
1750 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1751 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ColorSpecialTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o ColorSpecialTest-ColorSpecialTest.obj `if test -f 'ColorSpecialTest.cpp'; then $(CYGPATH_W) 'ColorSpecialTest.cpp'; else $(CYGPATH_W) '$(srcdir)/ColorSpecialTest.cpp'; fi`
1752
1753 ColorTest-ColorTest.o: ColorTest.cpp
1754 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ColorTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT ColorTest-ColorTest.o -MD -MP -MF $(DEPDIR)/ColorTest-ColorTest.Tpo -c -o ColorTest-ColorTest.o `test -f 'ColorTest.cpp' || echo '$(srcdir)/'`ColorTest.cpp
1755 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ColorTest-ColorTest.Tpo $(DEPDIR)/ColorTest-ColorTest.Po
1756 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='ColorTest.cpp' object='ColorTest-ColorTest.o' libtool=no @AMDEPBACKSLASH@
1757 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1758 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ColorTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o ColorTest-ColorTest.o `test -f 'ColorTest.cpp' || echo '$(srcdir)/'`ColorTest.cpp
1759
1760 ColorTest-ColorTest.obj: ColorTest.cpp
1761 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ColorTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT ColorTest-ColorTest.obj -MD -MP -MF $(DEPDIR)/ColorTest-ColorTest.Tpo -c -o ColorTest-ColorTest.obj `if test -f 'ColorTest.cpp'; then $(CYGPATH_W) 'ColorTest.cpp'; else $(CYGPATH_W) '$(srcdir)/ColorTest.cpp'; fi`
1762 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ColorTest-ColorTest.Tpo $(DEPDIR)/ColorTest-ColorTest.Po
1763 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='ColorTest.cpp' object='ColorTest-ColorTest.obj' libtool=no @AMDEPBACKSLASH@
1764 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1765 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ColorTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o ColorTest-ColorTest.obj `if test -f 'ColorTest.cpp'; then $(CYGPATH_W) 'ColorTest.cpp'; else $(CYGPATH_W) '$(srcdir)/ColorTest.cpp'; fi`
1766
1767 CommandLineTest-CommandLineTest.o: CommandLineTest.cpp
1768 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CommandLineTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT CommandLineTest-CommandLineTest.o -MD -MP -MF $(DEPDIR)/CommandLineTest-CommandLineTest.Tpo -c -o CommandLineTest-CommandLineTest.o `test -f 'CommandLineTest.cpp' || echo '$(srcdir)/'`CommandLineTest.cpp
1769 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/CommandLineTest-CommandLineTest.Tpo $(DEPDIR)/CommandLineTest-CommandLineTest.Po
1770 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='CommandLineTest.cpp' object='CommandLineTest-CommandLineTest.o' libtool=no @AMDEPBACKSLASH@
1771 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1772 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CommandLineTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o CommandLineTest-CommandLineTest.o `test -f 'CommandLineTest.cpp' || echo '$(srcdir)/'`CommandLineTest.cpp
1773
1774 CommandLineTest-CommandLineTest.obj: CommandLineTest.cpp
1775 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CommandLineTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT CommandLineTest-CommandLineTest.obj -MD -MP -MF $(DEPDIR)/CommandLineTest-CommandLineTest.Tpo -c -o CommandLineTest-CommandLineTest.obj `if test -f 'CommandLineTest.cpp'; then $(CYGPATH_W) 'CommandLineTest.cpp'; else $(CYGPATH_W) '$(srcdir)/CommandLineTest.cpp'; fi`
1776 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/CommandLineTest-CommandLineTest.Tpo $(DEPDIR)/CommandLineTest-CommandLineTest.Po
1777 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='CommandLineTest.cpp' object='CommandLineTest-CommandLineTest.obj' libtool=no @AMDEPBACKSLASH@
1778 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1779 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CommandLineTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o CommandLineTest-CommandLineTest.obj `if test -f 'CommandLineTest.cpp'; then $(CYGPATH_W) 'CommandLineTest.cpp'; else $(CYGPATH_W) '$(srcdir)/CommandLineTest.cpp'; fi`
1780
1781 DVIReaderTest-DVIReaderTest.o: DVIReaderTest.cpp
1782 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(DVIReaderTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT DVIReaderTest-DVIReaderTest.o -MD -MP -MF $(DEPDIR)/DVIReaderTest-DVIReaderTest.Tpo -c -o DVIReaderTest-DVIReaderTest.o `test -f 'DVIReaderTest.cpp' || echo '$(srcdir)/'`DVIReaderTest.cpp
1783 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/DVIReaderTest-DVIReaderTest.Tpo $(DEPDIR)/DVIReaderTest-DVIReaderTest.Po
1784 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='DVIReaderTest.cpp' object='DVIReaderTest-DVIReaderTest.o' libtool=no @AMDEPBACKSLASH@
1785 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1786 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(DVIReaderTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o DVIReaderTest-DVIReaderTest.o `test -f 'DVIReaderTest.cpp' || echo '$(srcdir)/'`DVIReaderTest.cpp
1787
1788 DVIReaderTest-DVIReaderTest.obj: DVIReaderTest.cpp
1789 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(DVIReaderTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT DVIReaderTest-DVIReaderTest.obj -MD -MP -MF $(DEPDIR)/DVIReaderTest-DVIReaderTest.Tpo -c -o DVIReaderTest-DVIReaderTest.obj `if test -f 'DVIReaderTest.cpp'; then $(CYGPATH_W) 'DVIReaderTest.cpp'; else $(CYGPATH_W) '$(srcdir)/DVIReaderTest.cpp'; fi`
1790 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/DVIReaderTest-DVIReaderTest.Tpo $(DEPDIR)/DVIReaderTest-DVIReaderTest.Po
1791 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='DVIReaderTest.cpp' object='DVIReaderTest-DVIReaderTest.obj' libtool=no @AMDEPBACKSLASH@
1792 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1793 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(DVIReaderTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o DVIReaderTest-DVIReaderTest.obj `if test -f 'DVIReaderTest.cpp'; then $(CYGPATH_W) 'DVIReaderTest.cpp'; else $(CYGPATH_W) '$(srcdir)/DVIReaderTest.cpp'; fi`
1794
1795 DependencyGraphTest-DependencyGraphTest.o: DependencyGraphTest.cpp
1796 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(DependencyGraphTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT DependencyGraphTest-DependencyGraphTest.o -MD -MP -MF $(DEPDIR)/DependencyGraphTest-DependencyGraphTest.Tpo -c -o DependencyGraphTest-DependencyGraphTest.o `test -f 'DependencyGraphTest.cpp' || echo '$(srcdir)/'`DependencyGraphTest.cpp
1797 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/DependencyGraphTest-DependencyGraphTest.Tpo $(DEPDIR)/DependencyGraphTest-DependencyGraphTest.Po
1798 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='DependencyGraphTest.cpp' object='DependencyGraphTest-DependencyGraphTest.o' libtool=no @AMDEPBACKSLASH@
1799 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1800 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(DependencyGraphTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o DependencyGraphTest-DependencyGraphTest.o `test -f 'DependencyGraphTest.cpp' || echo '$(srcdir)/'`DependencyGraphTest.cpp
1801
1802 DependencyGraphTest-DependencyGraphTest.obj: DependencyGraphTest.cpp
1803 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(DependencyGraphTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT DependencyGraphTest-DependencyGraphTest.obj -MD -MP -MF $(DEPDIR)/DependencyGraphTest-DependencyGraphTest.Tpo -c -o DependencyGraphTest-DependencyGraphTest.obj `if test -f 'DependencyGraphTest.cpp'; then $(CYGPATH_W) 'DependencyGraphTest.cpp'; else $(CYGPATH_W) '$(srcdir)/DependencyGraphTest.cpp'; fi`
1804 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/DependencyGraphTest-DependencyGraphTest.Tpo $(DEPDIR)/DependencyGraphTest-DependencyGraphTest.Po
1805 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='DependencyGraphTest.cpp' object='DependencyGraphTest-DependencyGraphTest.obj' libtool=no @AMDEPBACKSLASH@
1806 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1807 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(DependencyGraphTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o DependencyGraphTest-DependencyGraphTest.obj `if test -f 'DependencyGraphTest.cpp'; then $(CYGPATH_W) 'DependencyGraphTest.cpp'; else $(CYGPATH_W) '$(srcdir)/DependencyGraphTest.cpp'; fi`
1808
1809 DirectoryTest-DirectoryTest.o: DirectoryTest.cpp
1810 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(DirectoryTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT DirectoryTest-DirectoryTest.o -MD -MP -MF $(DEPDIR)/DirectoryTest-DirectoryTest.Tpo -c -o DirectoryTest-DirectoryTest.o `test -f 'DirectoryTest.cpp' || echo '$(srcdir)/'`DirectoryTest.cpp
1811 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/DirectoryTest-DirectoryTest.Tpo $(DEPDIR)/DirectoryTest-DirectoryTest.Po
1812 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='DirectoryTest.cpp' object='DirectoryTest-DirectoryTest.o' libtool=no @AMDEPBACKSLASH@
1813 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1814 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(DirectoryTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o DirectoryTest-DirectoryTest.o `test -f 'DirectoryTest.cpp' || echo '$(srcdir)/'`DirectoryTest.cpp
1815
1816 DirectoryTest-DirectoryTest.obj: DirectoryTest.cpp
1817 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(DirectoryTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT DirectoryTest-DirectoryTest.obj -MD -MP -MF $(DEPDIR)/DirectoryTest-DirectoryTest.Tpo -c -o DirectoryTest-DirectoryTest.obj `if test -f 'DirectoryTest.cpp'; then $(CYGPATH_W) 'DirectoryTest.cpp'; else $(CYGPATH_W) '$(srcdir)/DirectoryTest.cpp'; fi`
1818 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/DirectoryTest-DirectoryTest.Tpo $(DEPDIR)/DirectoryTest-DirectoryTest.Po
1819 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='DirectoryTest.cpp' object='DirectoryTest-DirectoryTest.obj' libtool=no @AMDEPBACKSLASH@
1820 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1821 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(DirectoryTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o DirectoryTest-DirectoryTest.obj `if test -f 'DirectoryTest.cpp'; then $(CYGPATH_W) 'DirectoryTest.cpp'; else $(CYGPATH_W) '$(srcdir)/DirectoryTest.cpp'; fi`
1822
1823 DvisvgmSpecialTest-DvisvgmSpecialTest.o: DvisvgmSpecialTest.cpp
1824 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(DvisvgmSpecialTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT DvisvgmSpecialTest-DvisvgmSpecialTest.o -MD -MP -MF $(DEPDIR)/DvisvgmSpecialTest-DvisvgmSpecialTest.Tpo -c -o DvisvgmSpecialTest-DvisvgmSpecialTest.o `test -f 'DvisvgmSpecialTest.cpp' || echo '$(srcdir)/'`DvisvgmSpecialTest.cpp
1825 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/DvisvgmSpecialTest-DvisvgmSpecialTest.Tpo $(DEPDIR)/DvisvgmSpecialTest-DvisvgmSpecialTest.Po
1826 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='DvisvgmSpecialTest.cpp' object='DvisvgmSpecialTest-DvisvgmSpecialTest.o' libtool=no @AMDEPBACKSLASH@
1827 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1828 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(DvisvgmSpecialTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o DvisvgmSpecialTest-DvisvgmSpecialTest.o `test -f 'DvisvgmSpecialTest.cpp' || echo '$(srcdir)/'`DvisvgmSpecialTest.cpp
1829
1830 DvisvgmSpecialTest-DvisvgmSpecialTest.obj: DvisvgmSpecialTest.cpp
1831 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(DvisvgmSpecialTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT DvisvgmSpecialTest-DvisvgmSpecialTest.obj -MD -MP -MF $(DEPDIR)/DvisvgmSpecialTest-DvisvgmSpecialTest.Tpo -c -o DvisvgmSpecialTest-DvisvgmSpecialTest.obj `if test -f 'DvisvgmSpecialTest.cpp'; then $(CYGPATH_W) 'DvisvgmSpecialTest.cpp'; else $(CYGPATH_W) '$(srcdir)/DvisvgmSpecialTest.cpp'; fi`
1832 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/DvisvgmSpecialTest-DvisvgmSpecialTest.Tpo $(DEPDIR)/DvisvgmSpecialTest-DvisvgmSpecialTest.Po
1833 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='DvisvgmSpecialTest.cpp' object='DvisvgmSpecialTest-DvisvgmSpecialTest.obj' libtool=no @AMDEPBACKSLASH@
1834 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1835 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(DvisvgmSpecialTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o DvisvgmSpecialTest-DvisvgmSpecialTest.obj `if test -f 'DvisvgmSpecialTest.cpp'; then $(CYGPATH_W) 'DvisvgmSpecialTest.cpp'; else $(CYGPATH_W) '$(srcdir)/DvisvgmSpecialTest.cpp'; fi`
1836
1837 EllipticalArcTest-EllipticalArcTest.o: EllipticalArcTest.cpp
1838 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(EllipticalArcTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT EllipticalArcTest-EllipticalArcTest.o -MD -MP -MF $(DEPDIR)/EllipticalArcTest-EllipticalArcTest.Tpo -c -o EllipticalArcTest-EllipticalArcTest.o `test -f 'EllipticalArcTest.cpp' || echo '$(srcdir)/'`EllipticalArcTest.cpp
1839 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/EllipticalArcTest-EllipticalArcTest.Tpo $(DEPDIR)/EllipticalArcTest-EllipticalArcTest.Po
1840 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='EllipticalArcTest.cpp' object='EllipticalArcTest-EllipticalArcTest.o' libtool=no @AMDEPBACKSLASH@
1841 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1842 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(EllipticalArcTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o EllipticalArcTest-EllipticalArcTest.o `test -f 'EllipticalArcTest.cpp' || echo '$(srcdir)/'`EllipticalArcTest.cpp
1843
1844 EllipticalArcTest-EllipticalArcTest.obj: EllipticalArcTest.cpp
1845 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(EllipticalArcTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT EllipticalArcTest-EllipticalArcTest.obj -MD -MP -MF $(DEPDIR)/EllipticalArcTest-EllipticalArcTest.Tpo -c -o EllipticalArcTest-EllipticalArcTest.obj `if test -f 'EllipticalArcTest.cpp'; then $(CYGPATH_W) 'EllipticalArcTest.cpp'; else $(CYGPATH_W) '$(srcdir)/EllipticalArcTest.cpp'; fi`
1846 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/EllipticalArcTest-EllipticalArcTest.Tpo $(DEPDIR)/EllipticalArcTest-EllipticalArcTest.Po
1847 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='EllipticalArcTest.cpp' object='EllipticalArcTest-EllipticalArcTest.obj' libtool=no @AMDEPBACKSLASH@
1848 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1849 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(EllipticalArcTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o EllipticalArcTest-EllipticalArcTest.obj `if test -f 'EllipticalArcTest.cpp'; then $(CYGPATH_W) 'EllipticalArcTest.cpp'; else $(CYGPATH_W) '$(srcdir)/EllipticalArcTest.cpp'; fi`
1850
1851 EmSpecialTest-EmSpecialTest.o: EmSpecialTest.cpp
1852 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(EmSpecialTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT EmSpecialTest-EmSpecialTest.o -MD -MP -MF $(DEPDIR)/EmSpecialTest-EmSpecialTest.Tpo -c -o EmSpecialTest-EmSpecialTest.o `test -f 'EmSpecialTest.cpp' || echo '$(srcdir)/'`EmSpecialTest.cpp
1853 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/EmSpecialTest-EmSpecialTest.Tpo $(DEPDIR)/EmSpecialTest-EmSpecialTest.Po
1854 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='EmSpecialTest.cpp' object='EmSpecialTest-EmSpecialTest.o' libtool=no @AMDEPBACKSLASH@
1855 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1856 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(EmSpecialTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o EmSpecialTest-EmSpecialTest.o `test -f 'EmSpecialTest.cpp' || echo '$(srcdir)/'`EmSpecialTest.cpp
1857
1858 EmSpecialTest-EmSpecialTest.obj: EmSpecialTest.cpp
1859 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(EmSpecialTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT EmSpecialTest-EmSpecialTest.obj -MD -MP -MF $(DEPDIR)/EmSpecialTest-EmSpecialTest.Tpo -c -o EmSpecialTest-EmSpecialTest.obj `if test -f 'EmSpecialTest.cpp'; then $(CYGPATH_W) 'EmSpecialTest.cpp'; else $(CYGPATH_W) '$(srcdir)/EmSpecialTest.cpp'; fi`
1860 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/EmSpecialTest-EmSpecialTest.Tpo $(DEPDIR)/EmSpecialTest-EmSpecialTest.Po
1861 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='EmSpecialTest.cpp' object='EmSpecialTest-EmSpecialTest.obj' libtool=no @AMDEPBACKSLASH@
1862 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1863 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(EmSpecialTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o EmSpecialTest-EmSpecialTest.obj `if test -f 'EmSpecialTest.cpp'; then $(CYGPATH_W) 'EmSpecialTest.cpp'; else $(CYGPATH_W) '$(srcdir)/EmSpecialTest.cpp'; fi`
1864
1865 FileFinderTest-FileFinderTest.o: FileFinderTest.cpp
1866 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(FileFinderTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT FileFinderTest-FileFinderTest.o -MD -MP -MF $(DEPDIR)/FileFinderTest-FileFinderTest.Tpo -c -o FileFinderTest-FileFinderTest.o `test -f 'FileFinderTest.cpp' || echo '$(srcdir)/'`FileFinderTest.cpp
1867 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/FileFinderTest-FileFinderTest.Tpo $(DEPDIR)/FileFinderTest-FileFinderTest.Po
1868 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='FileFinderTest.cpp' object='FileFinderTest-FileFinderTest.o' libtool=no @AMDEPBACKSLASH@
1869 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1870 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(FileFinderTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o FileFinderTest-FileFinderTest.o `test -f 'FileFinderTest.cpp' || echo '$(srcdir)/'`FileFinderTest.cpp
1871
1872 FileFinderTest-FileFinderTest.obj: FileFinderTest.cpp
1873 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(FileFinderTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT FileFinderTest-FileFinderTest.obj -MD -MP -MF $(DEPDIR)/FileFinderTest-FileFinderTest.Tpo -c -o FileFinderTest-FileFinderTest.obj `if test -f 'FileFinderTest.cpp'; then $(CYGPATH_W) 'FileFinderTest.cpp'; else $(CYGPATH_W) '$(srcdir)/FileFinderTest.cpp'; fi`
1874 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/FileFinderTest-FileFinderTest.Tpo $(DEPDIR)/FileFinderTest-FileFinderTest.Po
1875 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='FileFinderTest.cpp' object='FileFinderTest-FileFinderTest.obj' libtool=no @AMDEPBACKSLASH@
1876 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1877 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(FileFinderTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o FileFinderTest-FileFinderTest.obj `if test -f 'FileFinderTest.cpp'; then $(CYGPATH_W) 'FileFinderTest.cpp'; else $(CYGPATH_W) '$(srcdir)/FileFinderTest.cpp'; fi`
1878
1879 FilePathTest-FilePathTest.o: FilePathTest.cpp
1880 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(FilePathTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT FilePathTest-FilePathTest.o -MD -MP -MF $(DEPDIR)/FilePathTest-FilePathTest.Tpo -c -o FilePathTest-FilePathTest.o `test -f 'FilePathTest.cpp' || echo '$(srcdir)/'`FilePathTest.cpp
1881 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/FilePathTest-FilePathTest.Tpo $(DEPDIR)/FilePathTest-FilePathTest.Po
1882 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='FilePathTest.cpp' object='FilePathTest-FilePathTest.o' libtool=no @AMDEPBACKSLASH@
1883 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1884 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(FilePathTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o FilePathTest-FilePathTest.o `test -f 'FilePathTest.cpp' || echo '$(srcdir)/'`FilePathTest.cpp
1885
1886 FilePathTest-FilePathTest.obj: FilePathTest.cpp
1887 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(FilePathTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT FilePathTest-FilePathTest.obj -MD -MP -MF $(DEPDIR)/FilePathTest-FilePathTest.Tpo -c -o FilePathTest-FilePathTest.obj `if test -f 'FilePathTest.cpp'; then $(CYGPATH_W) 'FilePathTest.cpp'; else $(CYGPATH_W) '$(srcdir)/FilePathTest.cpp'; fi`
1888 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/FilePathTest-FilePathTest.Tpo $(DEPDIR)/FilePathTest-FilePathTest.Po
1889 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='FilePathTest.cpp' object='FilePathTest-FilePathTest.obj' libtool=no @AMDEPBACKSLASH@
1890 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1891 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(FilePathTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o FilePathTest-FilePathTest.obj `if test -f 'FilePathTest.cpp'; then $(CYGPATH_W) 'FilePathTest.cpp'; else $(CYGPATH_W) '$(srcdir)/FilePathTest.cpp'; fi`
1892
1893 FileSystemTest-FileSystemTest.o: FileSystemTest.cpp
1894 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(FileSystemTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT FileSystemTest-FileSystemTest.o -MD -MP -MF $(DEPDIR)/FileSystemTest-FileSystemTest.Tpo -c -o FileSystemTest-FileSystemTest.o `test -f 'FileSystemTest.cpp' || echo '$(srcdir)/'`FileSystemTest.cpp
1895 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/FileSystemTest-FileSystemTest.Tpo $(DEPDIR)/FileSystemTest-FileSystemTest.Po
1896 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='FileSystemTest.cpp' object='FileSystemTest-FileSystemTest.o' libtool=no @AMDEPBACKSLASH@
1897 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1898 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(FileSystemTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o FileSystemTest-FileSystemTest.o `test -f 'FileSystemTest.cpp' || echo '$(srcdir)/'`FileSystemTest.cpp
1899
1900 FileSystemTest-FileSystemTest.obj: FileSystemTest.cpp
1901 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(FileSystemTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT FileSystemTest-FileSystemTest.obj -MD -MP -MF $(DEPDIR)/FileSystemTest-FileSystemTest.Tpo -c -o FileSystemTest-FileSystemTest.obj `if test -f 'FileSystemTest.cpp'; then $(CYGPATH_W) 'FileSystemTest.cpp'; else $(CYGPATH_W) '$(srcdir)/FileSystemTest.cpp'; fi`
1902 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/FileSystemTest-FileSystemTest.Tpo $(DEPDIR)/FileSystemTest-FileSystemTest.Po
1903 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='FileSystemTest.cpp' object='FileSystemTest-FileSystemTest.obj' libtool=no @AMDEPBACKSLASH@
1904 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1905 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(FileSystemTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o FileSystemTest-FileSystemTest.obj `if test -f 'FileSystemTest.cpp'; then $(CYGPATH_W) 'FileSystemTest.cpp'; else $(CYGPATH_W) '$(srcdir)/FileSystemTest.cpp'; fi`
1906
1907 FontCacheTest-FontCacheTest.o: FontCacheTest.cpp
1908 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(FontCacheTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT FontCacheTest-FontCacheTest.o -MD -MP -MF $(DEPDIR)/FontCacheTest-FontCacheTest.Tpo -c -o FontCacheTest-FontCacheTest.o `test -f 'FontCacheTest.cpp' || echo '$(srcdir)/'`FontCacheTest.cpp
1909 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/FontCacheTest-FontCacheTest.Tpo $(DEPDIR)/FontCacheTest-FontCacheTest.Po
1910 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='FontCacheTest.cpp' object='FontCacheTest-FontCacheTest.o' libtool=no @AMDEPBACKSLASH@
1911 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1912 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(FontCacheTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o FontCacheTest-FontCacheTest.o `test -f 'FontCacheTest.cpp' || echo '$(srcdir)/'`FontCacheTest.cpp
1913
1914 FontCacheTest-FontCacheTest.obj: FontCacheTest.cpp
1915 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(FontCacheTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT FontCacheTest-FontCacheTest.obj -MD -MP -MF $(DEPDIR)/FontCacheTest-FontCacheTest.Tpo -c -o FontCacheTest-FontCacheTest.obj `if test -f 'FontCacheTest.cpp'; then $(CYGPATH_W) 'FontCacheTest.cpp'; else $(CYGPATH_W) '$(srcdir)/FontCacheTest.cpp'; fi`
1916 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/FontCacheTest-FontCacheTest.Tpo $(DEPDIR)/FontCacheTest-FontCacheTest.Po
1917 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='FontCacheTest.cpp' object='FontCacheTest-FontCacheTest.obj' libtool=no @AMDEPBACKSLASH@
1918 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1919 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(FontCacheTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o FontCacheTest-FontCacheTest.obj `if test -f 'FontCacheTest.cpp'; then $(CYGPATH_W) 'FontCacheTest.cpp'; else $(CYGPATH_W) '$(srcdir)/FontCacheTest.cpp'; fi`
1920
1921 FontManagerTest-FontManagerTest.o: FontManagerTest.cpp
1922 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(FontManagerTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT FontManagerTest-FontManagerTest.o -MD -MP -MF $(DEPDIR)/FontManagerTest-FontManagerTest.Tpo -c -o FontManagerTest-FontManagerTest.o `test -f 'FontManagerTest.cpp' || echo '$(srcdir)/'`FontManagerTest.cpp
1923 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/FontManagerTest-FontManagerTest.Tpo $(DEPDIR)/FontManagerTest-FontManagerTest.Po
1924 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='FontManagerTest.cpp' object='FontManagerTest-FontManagerTest.o' libtool=no @AMDEPBACKSLASH@
1925 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1926 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(FontManagerTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o FontManagerTest-FontManagerTest.o `test -f 'FontManagerTest.cpp' || echo '$(srcdir)/'`FontManagerTest.cpp
1927
1928 FontManagerTest-FontManagerTest.obj: FontManagerTest.cpp
1929 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(FontManagerTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT FontManagerTest-FontManagerTest.obj -MD -MP -MF $(DEPDIR)/FontManagerTest-FontManagerTest.Tpo -c -o FontManagerTest-FontManagerTest.obj `if test -f 'FontManagerTest.cpp'; then $(CYGPATH_W) 'FontManagerTest.cpp'; else $(CYGPATH_W) '$(srcdir)/FontManagerTest.cpp'; fi`
1930 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/FontManagerTest-FontManagerTest.Tpo $(DEPDIR)/FontManagerTest-FontManagerTest.Po
1931 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='FontManagerTest.cpp' object='FontManagerTest-FontManagerTest.obj' libtool=no @AMDEPBACKSLASH@
1932 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1933 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(FontManagerTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o FontManagerTest-FontManagerTest.obj `if test -f 'FontManagerTest.cpp'; then $(CYGPATH_W) 'FontManagerTest.cpp'; else $(CYGPATH_W) '$(srcdir)/FontManagerTest.cpp'; fi`
1934
1935 FontMapTest-FontMapTest.o: FontMapTest.cpp
1936 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(FontMapTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT FontMapTest-FontMapTest.o -MD -MP -MF $(DEPDIR)/FontMapTest-FontMapTest.Tpo -c -o FontMapTest-FontMapTest.o `test -f 'FontMapTest.cpp' || echo '$(srcdir)/'`FontMapTest.cpp
1937 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/FontMapTest-FontMapTest.Tpo $(DEPDIR)/FontMapTest-FontMapTest.Po
1938 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='FontMapTest.cpp' object='FontMapTest-FontMapTest.o' libtool=no @AMDEPBACKSLASH@
1939 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1940 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(FontMapTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o FontMapTest-FontMapTest.o `test -f 'FontMapTest.cpp' || echo '$(srcdir)/'`FontMapTest.cpp
1941
1942 FontMapTest-FontMapTest.obj: FontMapTest.cpp
1943 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(FontMapTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT FontMapTest-FontMapTest.obj -MD -MP -MF $(DEPDIR)/FontMapTest-FontMapTest.Tpo -c -o FontMapTest-FontMapTest.obj `if test -f 'FontMapTest.cpp'; then $(CYGPATH_W) 'FontMapTest.cpp'; else $(CYGPATH_W) '$(srcdir)/FontMapTest.cpp'; fi`
1944 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/FontMapTest-FontMapTest.Tpo $(DEPDIR)/FontMapTest-FontMapTest.Po
1945 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='FontMapTest.cpp' object='FontMapTest-FontMapTest.obj' libtool=no @AMDEPBACKSLASH@
1946 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1947 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(FontMapTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o FontMapTest-FontMapTest.obj `if test -f 'FontMapTest.cpp'; then $(CYGPATH_W) 'FontMapTest.cpp'; else $(CYGPATH_W) '$(srcdir)/FontMapTest.cpp'; fi`
1948
1949 GFGlyphTracerTest-GFGlyphTracerTest.o: GFGlyphTracerTest.cpp
1950 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(GFGlyphTracerTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT GFGlyphTracerTest-GFGlyphTracerTest.o -MD -MP -MF $(DEPDIR)/GFGlyphTracerTest-GFGlyphTracerTest.Tpo -c -o GFGlyphTracerTest-GFGlyphTracerTest.o `test -f 'GFGlyphTracerTest.cpp' || echo '$(srcdir)/'`GFGlyphTracerTest.cpp
1951 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/GFGlyphTracerTest-GFGlyphTracerTest.Tpo $(DEPDIR)/GFGlyphTracerTest-GFGlyphTracerTest.Po
1952 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='GFGlyphTracerTest.cpp' object='GFGlyphTracerTest-GFGlyphTracerTest.o' libtool=no @AMDEPBACKSLASH@
1953 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1954 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(GFGlyphTracerTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o GFGlyphTracerTest-GFGlyphTracerTest.o `test -f 'GFGlyphTracerTest.cpp' || echo '$(srcdir)/'`GFGlyphTracerTest.cpp
1955
1956 GFGlyphTracerTest-GFGlyphTracerTest.obj: GFGlyphTracerTest.cpp
1957 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(GFGlyphTracerTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT GFGlyphTracerTest-GFGlyphTracerTest.obj -MD -MP -MF $(DEPDIR)/GFGlyphTracerTest-GFGlyphTracerTest.Tpo -c -o GFGlyphTracerTest-GFGlyphTracerTest.obj `if test -f 'GFGlyphTracerTest.cpp'; then $(CYGPATH_W) 'GFGlyphTracerTest.cpp'; else $(CYGPATH_W) '$(srcdir)/GFGlyphTracerTest.cpp'; fi`
1958 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/GFGlyphTracerTest-GFGlyphTracerTest.Tpo $(DEPDIR)/GFGlyphTracerTest-GFGlyphTracerTest.Po
1959 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='GFGlyphTracerTest.cpp' object='GFGlyphTracerTest-GFGlyphTracerTest.obj' libtool=no @AMDEPBACKSLASH@
1960 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1961 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(GFGlyphTracerTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o GFGlyphTracerTest-GFGlyphTracerTest.obj `if test -f 'GFGlyphTracerTest.cpp'; then $(CYGPATH_W) 'GFGlyphTracerTest.cpp'; else $(CYGPATH_W) '$(srcdir)/GFGlyphTracerTest.cpp'; fi`
1962
1963 GFReaderTest-GFReaderTest.o: GFReaderTest.cpp
1964 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(GFReaderTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT GFReaderTest-GFReaderTest.o -MD -MP -MF $(DEPDIR)/GFReaderTest-GFReaderTest.Tpo -c -o GFReaderTest-GFReaderTest.o `test -f 'GFReaderTest.cpp' || echo '$(srcdir)/'`GFReaderTest.cpp
1965 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/GFReaderTest-GFReaderTest.Tpo $(DEPDIR)/GFReaderTest-GFReaderTest.Po
1966 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='GFReaderTest.cpp' object='GFReaderTest-GFReaderTest.o' libtool=no @AMDEPBACKSLASH@
1967 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1968 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(GFReaderTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o GFReaderTest-GFReaderTest.o `test -f 'GFReaderTest.cpp' || echo '$(srcdir)/'`GFReaderTest.cpp
1969
1970 GFReaderTest-GFReaderTest.obj: GFReaderTest.cpp
1971 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(GFReaderTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT GFReaderTest-GFReaderTest.obj -MD -MP -MF $(DEPDIR)/GFReaderTest-GFReaderTest.Tpo -c -o GFReaderTest-GFReaderTest.obj `if test -f 'GFReaderTest.cpp'; then $(CYGPATH_W) 'GFReaderTest.cpp'; else $(CYGPATH_W) '$(srcdir)/GFReaderTest.cpp'; fi`
1972 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/GFReaderTest-GFReaderTest.Tpo $(DEPDIR)/GFReaderTest-GFReaderTest.Po
1973 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='GFReaderTest.cpp' object='GFReaderTest-GFReaderTest.obj' libtool=no @AMDEPBACKSLASH@
1974 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1975 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(GFReaderTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o GFReaderTest-GFReaderTest.obj `if test -f 'GFReaderTest.cpp'; then $(CYGPATH_W) 'GFReaderTest.cpp'; else $(CYGPATH_W) '$(srcdir)/GFReaderTest.cpp'; fi`
1976
1977 GhostscriptTest-GhostscriptTest.o: GhostscriptTest.cpp
1978 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(GhostscriptTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT GhostscriptTest-GhostscriptTest.o -MD -MP -MF $(DEPDIR)/GhostscriptTest-GhostscriptTest.Tpo -c -o GhostscriptTest-GhostscriptTest.o `test -f 'GhostscriptTest.cpp' || echo '$(srcdir)/'`GhostscriptTest.cpp
1979 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/GhostscriptTest-GhostscriptTest.Tpo $(DEPDIR)/GhostscriptTest-GhostscriptTest.Po
1980 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='GhostscriptTest.cpp' object='GhostscriptTest-GhostscriptTest.o' libtool=no @AMDEPBACKSLASH@
1981 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1982 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(GhostscriptTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o GhostscriptTest-GhostscriptTest.o `test -f 'GhostscriptTest.cpp' || echo '$(srcdir)/'`GhostscriptTest.cpp
1983
1984 GhostscriptTest-GhostscriptTest.obj: GhostscriptTest.cpp
1985 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(GhostscriptTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT GhostscriptTest-GhostscriptTest.obj -MD -MP -MF $(DEPDIR)/GhostscriptTest-GhostscriptTest.Tpo -c -o GhostscriptTest-GhostscriptTest.obj `if test -f 'GhostscriptTest.cpp'; then $(CYGPATH_W) 'GhostscriptTest.cpp'; else $(CYGPATH_W) '$(srcdir)/GhostscriptTest.cpp'; fi`
1986 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/GhostscriptTest-GhostscriptTest.Tpo $(DEPDIR)/GhostscriptTest-GhostscriptTest.Po
1987 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='GhostscriptTest.cpp' object='GhostscriptTest-GhostscriptTest.obj' libtool=no @AMDEPBACKSLASH@
1988 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1989 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(GhostscriptTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o GhostscriptTest-GhostscriptTest.obj `if test -f 'GhostscriptTest.cpp'; then $(CYGPATH_W) 'GhostscriptTest.cpp'; else $(CYGPATH_W) '$(srcdir)/GhostscriptTest.cpp'; fi`
1990
1991 GraphicsPathTest-GraphicsPathTest.o: GraphicsPathTest.cpp
1992 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(GraphicsPathTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT GraphicsPathTest-GraphicsPathTest.o -MD -MP -MF $(DEPDIR)/GraphicsPathTest-GraphicsPathTest.Tpo -c -o GraphicsPathTest-GraphicsPathTest.o `test -f 'GraphicsPathTest.cpp' || echo '$(srcdir)/'`GraphicsPathTest.cpp
1993 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/GraphicsPathTest-GraphicsPathTest.Tpo $(DEPDIR)/GraphicsPathTest-GraphicsPathTest.Po
1994 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='GraphicsPathTest.cpp' object='GraphicsPathTest-GraphicsPathTest.o' libtool=no @AMDEPBACKSLASH@
1995 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1996 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(GraphicsPathTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o GraphicsPathTest-GraphicsPathTest.o `test -f 'GraphicsPathTest.cpp' || echo '$(srcdir)/'`GraphicsPathTest.cpp
1997
1998 GraphicsPathTest-GraphicsPathTest.obj: GraphicsPathTest.cpp
1999 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(GraphicsPathTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT GraphicsPathTest-GraphicsPathTest.obj -MD -MP -MF $(DEPDIR)/GraphicsPathTest-GraphicsPathTest.Tpo -c -o GraphicsPathTest-GraphicsPathTest.obj `if test -f 'GraphicsPathTest.cpp'; then $(CYGPATH_W) 'GraphicsPathTest.cpp'; else $(CYGPATH_W) '$(srcdir)/GraphicsPathTest.cpp'; fi`
2000 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/GraphicsPathTest-GraphicsPathTest.Tpo $(DEPDIR)/GraphicsPathTest-GraphicsPathTest.Po
2001 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='GraphicsPathTest.cpp' object='GraphicsPathTest-GraphicsPathTest.obj' libtool=no @AMDEPBACKSLASH@
2002 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2003 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(GraphicsPathTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o GraphicsPathTest-GraphicsPathTest.obj `if test -f 'GraphicsPathTest.cpp'; then $(CYGPATH_W) 'GraphicsPathTest.cpp'; else $(CYGPATH_W) '$(srcdir)/GraphicsPathTest.cpp'; fi`
2004
2005 HashFunctionTest-HashFunctionTest.o: HashFunctionTest.cpp
2006 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(HashFunctionTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT HashFunctionTest-HashFunctionTest.o -MD -MP -MF $(DEPDIR)/HashFunctionTest-HashFunctionTest.Tpo -c -o HashFunctionTest-HashFunctionTest.o `test -f 'HashFunctionTest.cpp' || echo '$(srcdir)/'`HashFunctionTest.cpp
2007 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/HashFunctionTest-HashFunctionTest.Tpo $(DEPDIR)/HashFunctionTest-HashFunctionTest.Po
2008 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='HashFunctionTest.cpp' object='HashFunctionTest-HashFunctionTest.o' libtool=no @AMDEPBACKSLASH@
2009 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2010 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(HashFunctionTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o HashFunctionTest-HashFunctionTest.o `test -f 'HashFunctionTest.cpp' || echo '$(srcdir)/'`HashFunctionTest.cpp
2011
2012 HashFunctionTest-HashFunctionTest.obj: HashFunctionTest.cpp
2013 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(HashFunctionTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT HashFunctionTest-HashFunctionTest.obj -MD -MP -MF $(DEPDIR)/HashFunctionTest-HashFunctionTest.Tpo -c -o HashFunctionTest-HashFunctionTest.obj `if test -f 'HashFunctionTest.cpp'; then $(CYGPATH_W) 'HashFunctionTest.cpp'; else $(CYGPATH_W) '$(srcdir)/HashFunctionTest.cpp'; fi`
2014 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/HashFunctionTest-HashFunctionTest.Tpo $(DEPDIR)/HashFunctionTest-HashFunctionTest.Po
2015 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='HashFunctionTest.cpp' object='HashFunctionTest-HashFunctionTest.obj' libtool=no @AMDEPBACKSLASH@
2016 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2017 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(HashFunctionTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o HashFunctionTest-HashFunctionTest.obj `if test -f 'HashFunctionTest.cpp'; then $(CYGPATH_W) 'HashFunctionTest.cpp'; else $(CYGPATH_W) '$(srcdir)/HashFunctionTest.cpp'; fi`
2018
2019 JFMReaderTest-JFMReaderTest.o: JFMReaderTest.cpp
2020 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(JFMReaderTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT JFMReaderTest-JFMReaderTest.o -MD -MP -MF $(DEPDIR)/JFMReaderTest-JFMReaderTest.Tpo -c -o JFMReaderTest-JFMReaderTest.o `test -f 'JFMReaderTest.cpp' || echo '$(srcdir)/'`JFMReaderTest.cpp
2021 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/JFMReaderTest-JFMReaderTest.Tpo $(DEPDIR)/JFMReaderTest-JFMReaderTest.Po
2022 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='JFMReaderTest.cpp' object='JFMReaderTest-JFMReaderTest.o' libtool=no @AMDEPBACKSLASH@
2023 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2024 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(JFMReaderTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o JFMReaderTest-JFMReaderTest.o `test -f 'JFMReaderTest.cpp' || echo '$(srcdir)/'`JFMReaderTest.cpp
2025
2026 JFMReaderTest-JFMReaderTest.obj: JFMReaderTest.cpp
2027 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(JFMReaderTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT JFMReaderTest-JFMReaderTest.obj -MD -MP -MF $(DEPDIR)/JFMReaderTest-JFMReaderTest.Tpo -c -o JFMReaderTest-JFMReaderTest.obj `if test -f 'JFMReaderTest.cpp'; then $(CYGPATH_W) 'JFMReaderTest.cpp'; else $(CYGPATH_W) '$(srcdir)/JFMReaderTest.cpp'; fi`
2028 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/JFMReaderTest-JFMReaderTest.Tpo $(DEPDIR)/JFMReaderTest-JFMReaderTest.Po
2029 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='JFMReaderTest.cpp' object='JFMReaderTest-JFMReaderTest.obj' libtool=no @AMDEPBACKSLASH@
2030 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2031 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(JFMReaderTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o JFMReaderTest-JFMReaderTest.obj `if test -f 'JFMReaderTest.cpp'; then $(CYGPATH_W) 'JFMReaderTest.cpp'; else $(CYGPATH_W) '$(srcdir)/JFMReaderTest.cpp'; fi`
2032
2033 LengthTest-LengthTest.o: LengthTest.cpp
2034 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(LengthTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT LengthTest-LengthTest.o -MD -MP -MF $(DEPDIR)/LengthTest-LengthTest.Tpo -c -o LengthTest-LengthTest.o `test -f 'LengthTest.cpp' || echo '$(srcdir)/'`LengthTest.cpp
2035 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/LengthTest-LengthTest.Tpo $(DEPDIR)/LengthTest-LengthTest.Po
2036 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='LengthTest.cpp' object='LengthTest-LengthTest.o' libtool=no @AMDEPBACKSLASH@
2037 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2038 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(LengthTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o LengthTest-LengthTest.o `test -f 'LengthTest.cpp' || echo '$(srcdir)/'`LengthTest.cpp
2039
2040 LengthTest-LengthTest.obj: LengthTest.cpp
2041 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(LengthTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT LengthTest-LengthTest.obj -MD -MP -MF $(DEPDIR)/LengthTest-LengthTest.Tpo -c -o LengthTest-LengthTest.obj `if test -f 'LengthTest.cpp'; then $(CYGPATH_W) 'LengthTest.cpp'; else $(CYGPATH_W) '$(srcdir)/LengthTest.cpp'; fi`
2042 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/LengthTest-LengthTest.Tpo $(DEPDIR)/LengthTest-LengthTest.Po
2043 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='LengthTest.cpp' object='LengthTest-LengthTest.obj' libtool=no @AMDEPBACKSLASH@
2044 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2045 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(LengthTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o LengthTest-LengthTest.obj `if test -f 'LengthTest.cpp'; then $(CYGPATH_W) 'LengthTest.cpp'; else $(CYGPATH_W) '$(srcdir)/LengthTest.cpp'; fi`
2046
2047 MapLineTest-MapLineTest.o: MapLineTest.cpp
2048 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(MapLineTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT MapLineTest-MapLineTest.o -MD -MP -MF $(DEPDIR)/MapLineTest-MapLineTest.Tpo -c -o MapLineTest-MapLineTest.o `test -f 'MapLineTest.cpp' || echo '$(srcdir)/'`MapLineTest.cpp
2049 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/MapLineTest-MapLineTest.Tpo $(DEPDIR)/MapLineTest-MapLineTest.Po
2050 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='MapLineTest.cpp' object='MapLineTest-MapLineTest.o' libtool=no @AMDEPBACKSLASH@
2051 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2052 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(MapLineTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o MapLineTest-MapLineTest.o `test -f 'MapLineTest.cpp' || echo '$(srcdir)/'`MapLineTest.cpp
2053
2054 MapLineTest-MapLineTest.obj: MapLineTest.cpp
2055 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(MapLineTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT MapLineTest-MapLineTest.obj -MD -MP -MF $(DEPDIR)/MapLineTest-MapLineTest.Tpo -c -o MapLineTest-MapLineTest.obj `if test -f 'MapLineTest.cpp'; then $(CYGPATH_W) 'MapLineTest.cpp'; else $(CYGPATH_W) '$(srcdir)/MapLineTest.cpp'; fi`
2056 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/MapLineTest-MapLineTest.Tpo $(DEPDIR)/MapLineTest-MapLineTest.Po
2057 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='MapLineTest.cpp' object='MapLineTest-MapLineTest.obj' libtool=no @AMDEPBACKSLASH@
2058 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2059 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(MapLineTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o MapLineTest-MapLineTest.obj `if test -f 'MapLineTest.cpp'; then $(CYGPATH_W) 'MapLineTest.cpp'; else $(CYGPATH_W) '$(srcdir)/MapLineTest.cpp'; fi`
2060
2061 MatrixTest-MatrixTest.o: MatrixTest.cpp
2062 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(MatrixTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT MatrixTest-MatrixTest.o -MD -MP -MF $(DEPDIR)/MatrixTest-MatrixTest.Tpo -c -o MatrixTest-MatrixTest.o `test -f 'MatrixTest.cpp' || echo '$(srcdir)/'`MatrixTest.cpp
2063 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/MatrixTest-MatrixTest.Tpo $(DEPDIR)/MatrixTest-MatrixTest.Po
2064 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='MatrixTest.cpp' object='MatrixTest-MatrixTest.o' libtool=no @AMDEPBACKSLASH@
2065 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2066 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(MatrixTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o MatrixTest-MatrixTest.o `test -f 'MatrixTest.cpp' || echo '$(srcdir)/'`MatrixTest.cpp
2067
2068 MatrixTest-MatrixTest.obj: MatrixTest.cpp
2069 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(MatrixTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT MatrixTest-MatrixTest.obj -MD -MP -MF $(DEPDIR)/MatrixTest-MatrixTest.Tpo -c -o MatrixTest-MatrixTest.obj `if test -f 'MatrixTest.cpp'; then $(CYGPATH_W) 'MatrixTest.cpp'; else $(CYGPATH_W) '$(srcdir)/MatrixTest.cpp'; fi`
2070 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/MatrixTest-MatrixTest.Tpo $(DEPDIR)/MatrixTest-MatrixTest.Po
2071 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='MatrixTest.cpp' object='MatrixTest-MatrixTest.obj' libtool=no @AMDEPBACKSLASH@
2072 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2073 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(MatrixTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o MatrixTest-MatrixTest.obj `if test -f 'MatrixTest.cpp'; then $(CYGPATH_W) 'MatrixTest.cpp'; else $(CYGPATH_W) '$(srcdir)/MatrixTest.cpp'; fi`
2074
2075 MessageExceptionTest-MessageExceptionTest.o: MessageExceptionTest.cpp
2076 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(MessageExceptionTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT MessageExceptionTest-MessageExceptionTest.o -MD -MP -MF $(DEPDIR)/MessageExceptionTest-MessageExceptionTest.Tpo -c -o MessageExceptionTest-MessageExceptionTest.o `test -f 'MessageExceptionTest.cpp' || echo '$(srcdir)/'`MessageExceptionTest.cpp
2077 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/MessageExceptionTest-MessageExceptionTest.Tpo $(DEPDIR)/MessageExceptionTest-MessageExceptionTest.Po
2078 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='MessageExceptionTest.cpp' object='MessageExceptionTest-MessageExceptionTest.o' libtool=no @AMDEPBACKSLASH@
2079 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2080 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(MessageExceptionTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o MessageExceptionTest-MessageExceptionTest.o `test -f 'MessageExceptionTest.cpp' || echo '$(srcdir)/'`MessageExceptionTest.cpp
2081
2082 MessageExceptionTest-MessageExceptionTest.obj: MessageExceptionTest.cpp
2083 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(MessageExceptionTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT MessageExceptionTest-MessageExceptionTest.obj -MD -MP -MF $(DEPDIR)/MessageExceptionTest-MessageExceptionTest.Tpo -c -o MessageExceptionTest-MessageExceptionTest.obj `if test -f 'MessageExceptionTest.cpp'; then $(CYGPATH_W) 'MessageExceptionTest.cpp'; else $(CYGPATH_W) '$(srcdir)/MessageExceptionTest.cpp'; fi`
2084 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/MessageExceptionTest-MessageExceptionTest.Tpo $(DEPDIR)/MessageExceptionTest-MessageExceptionTest.Po
2085 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='MessageExceptionTest.cpp' object='MessageExceptionTest-MessageExceptionTest.obj' libtool=no @AMDEPBACKSLASH@
2086 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2087 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(MessageExceptionTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o MessageExceptionTest-MessageExceptionTest.obj `if test -f 'MessageExceptionTest.cpp'; then $(CYGPATH_W) 'MessageExceptionTest.cpp'; else $(CYGPATH_W) '$(srcdir)/MessageExceptionTest.cpp'; fi`
2088
2089 PDFParserTest-PDFParserTest.o: PDFParserTest.cpp
2090 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(PDFParserTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT PDFParserTest-PDFParserTest.o -MD -MP -MF $(DEPDIR)/PDFParserTest-PDFParserTest.Tpo -c -o PDFParserTest-PDFParserTest.o `test -f 'PDFParserTest.cpp' || echo '$(srcdir)/'`PDFParserTest.cpp
2091 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/PDFParserTest-PDFParserTest.Tpo $(DEPDIR)/PDFParserTest-PDFParserTest.Po
2092 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PDFParserTest.cpp' object='PDFParserTest-PDFParserTest.o' libtool=no @AMDEPBACKSLASH@
2093 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2094 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(PDFParserTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o PDFParserTest-PDFParserTest.o `test -f 'PDFParserTest.cpp' || echo '$(srcdir)/'`PDFParserTest.cpp
2095
2096 PDFParserTest-PDFParserTest.obj: PDFParserTest.cpp
2097 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(PDFParserTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT PDFParserTest-PDFParserTest.obj -MD -MP -MF $(DEPDIR)/PDFParserTest-PDFParserTest.Tpo -c -o PDFParserTest-PDFParserTest.obj `if test -f 'PDFParserTest.cpp'; then $(CYGPATH_W) 'PDFParserTest.cpp'; else $(CYGPATH_W) '$(srcdir)/PDFParserTest.cpp'; fi`
2098 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/PDFParserTest-PDFParserTest.Tpo $(DEPDIR)/PDFParserTest-PDFParserTest.Po
2099 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PDFParserTest.cpp' object='PDFParserTest-PDFParserTest.obj' libtool=no @AMDEPBACKSLASH@
2100 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2101 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(PDFParserTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o PDFParserTest-PDFParserTest.obj `if test -f 'PDFParserTest.cpp'; then $(CYGPATH_W) 'PDFParserTest.cpp'; else $(CYGPATH_W) '$(srcdir)/PDFParserTest.cpp'; fi`
2102
2103 PSInterpreterTest-PSInterpreterTest.o: PSInterpreterTest.cpp
2104 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(PSInterpreterTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT PSInterpreterTest-PSInterpreterTest.o -MD -MP -MF $(DEPDIR)/PSInterpreterTest-PSInterpreterTest.Tpo -c -o PSInterpreterTest-PSInterpreterTest.o `test -f 'PSInterpreterTest.cpp' || echo '$(srcdir)/'`PSInterpreterTest.cpp
2105 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/PSInterpreterTest-PSInterpreterTest.Tpo $(DEPDIR)/PSInterpreterTest-PSInterpreterTest.Po
2106 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PSInterpreterTest.cpp' object='PSInterpreterTest-PSInterpreterTest.o' libtool=no @AMDEPBACKSLASH@
2107 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2108 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(PSInterpreterTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o PSInterpreterTest-PSInterpreterTest.o `test -f 'PSInterpreterTest.cpp' || echo '$(srcdir)/'`PSInterpreterTest.cpp
2109
2110 PSInterpreterTest-PSInterpreterTest.obj: PSInterpreterTest.cpp
2111 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(PSInterpreterTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT PSInterpreterTest-PSInterpreterTest.obj -MD -MP -MF $(DEPDIR)/PSInterpreterTest-PSInterpreterTest.Tpo -c -o PSInterpreterTest-PSInterpreterTest.obj `if test -f 'PSInterpreterTest.cpp'; then $(CYGPATH_W) 'PSInterpreterTest.cpp'; else $(CYGPATH_W) '$(srcdir)/PSInterpreterTest.cpp'; fi`
2112 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/PSInterpreterTest-PSInterpreterTest.Tpo $(DEPDIR)/PSInterpreterTest-PSInterpreterTest.Po
2113 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PSInterpreterTest.cpp' object='PSInterpreterTest-PSInterpreterTest.obj' libtool=no @AMDEPBACKSLASH@
2114 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2115 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(PSInterpreterTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o PSInterpreterTest-PSInterpreterTest.obj `if test -f 'PSInterpreterTest.cpp'; then $(CYGPATH_W) 'PSInterpreterTest.cpp'; else $(CYGPATH_W) '$(srcdir)/PSInterpreterTest.cpp'; fi`
2116
2117 PageRagesTest-PageRagesTest.o: PageRagesTest.cpp
2118 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(PageRagesTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT PageRagesTest-PageRagesTest.o -MD -MP -MF $(DEPDIR)/PageRagesTest-PageRagesTest.Tpo -c -o PageRagesTest-PageRagesTest.o `test -f 'PageRagesTest.cpp' || echo '$(srcdir)/'`PageRagesTest.cpp
2119 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/PageRagesTest-PageRagesTest.Tpo $(DEPDIR)/PageRagesTest-PageRagesTest.Po
2120 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PageRagesTest.cpp' object='PageRagesTest-PageRagesTest.o' libtool=no @AMDEPBACKSLASH@
2121 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2122 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(PageRagesTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o PageRagesTest-PageRagesTest.o `test -f 'PageRagesTest.cpp' || echo '$(srcdir)/'`PageRagesTest.cpp
2123
2124 PageRagesTest-PageRagesTest.obj: PageRagesTest.cpp
2125 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(PageRagesTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT PageRagesTest-PageRagesTest.obj -MD -MP -MF $(DEPDIR)/PageRagesTest-PageRagesTest.Tpo -c -o PageRagesTest-PageRagesTest.obj `if test -f 'PageRagesTest.cpp'; then $(CYGPATH_W) 'PageRagesTest.cpp'; else $(CYGPATH_W) '$(srcdir)/PageRagesTest.cpp'; fi`
2126 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/PageRagesTest-PageRagesTest.Tpo $(DEPDIR)/PageRagesTest-PageRagesTest.Po
2127 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PageRagesTest.cpp' object='PageRagesTest-PageRagesTest.obj' libtool=no @AMDEPBACKSLASH@
2128 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2129 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(PageRagesTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o PageRagesTest-PageRagesTest.obj `if test -f 'PageRagesTest.cpp'; then $(CYGPATH_W) 'PageRagesTest.cpp'; else $(CYGPATH_W) '$(srcdir)/PageRagesTest.cpp'; fi`
2130
2131 PageSizeTest-PageSizeTest.o: PageSizeTest.cpp
2132 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(PageSizeTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT PageSizeTest-PageSizeTest.o -MD -MP -MF $(DEPDIR)/PageSizeTest-PageSizeTest.Tpo -c -o PageSizeTest-PageSizeTest.o `test -f 'PageSizeTest.cpp' || echo '$(srcdir)/'`PageSizeTest.cpp
2133 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/PageSizeTest-PageSizeTest.Tpo $(DEPDIR)/PageSizeTest-PageSizeTest.Po
2134 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PageSizeTest.cpp' object='PageSizeTest-PageSizeTest.o' libtool=no @AMDEPBACKSLASH@
2135 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2136 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(PageSizeTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o PageSizeTest-PageSizeTest.o `test -f 'PageSizeTest.cpp' || echo '$(srcdir)/'`PageSizeTest.cpp
2137
2138 PageSizeTest-PageSizeTest.obj: PageSizeTest.cpp
2139 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(PageSizeTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT PageSizeTest-PageSizeTest.obj -MD -MP -MF $(DEPDIR)/PageSizeTest-PageSizeTest.Tpo -c -o PageSizeTest-PageSizeTest.obj `if test -f 'PageSizeTest.cpp'; then $(CYGPATH_W) 'PageSizeTest.cpp'; else $(CYGPATH_W) '$(srcdir)/PageSizeTest.cpp'; fi`
2140 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/PageSizeTest-PageSizeTest.Tpo $(DEPDIR)/PageSizeTest-PageSizeTest.Po
2141 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PageSizeTest.cpp' object='PageSizeTest-PageSizeTest.obj' libtool=no @AMDEPBACKSLASH@
2142 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2143 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(PageSizeTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o PageSizeTest-PageSizeTest.obj `if test -f 'PageSizeTest.cpp'; then $(CYGPATH_W) 'PageSizeTest.cpp'; else $(CYGPATH_W) '$(srcdir)/PageSizeTest.cpp'; fi`
2144
2145 PairTest-PairTest.o: PairTest.cpp
2146 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(PairTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT PairTest-PairTest.o -MD -MP -MF $(DEPDIR)/PairTest-PairTest.Tpo -c -o PairTest-PairTest.o `test -f 'PairTest.cpp' || echo '$(srcdir)/'`PairTest.cpp
2147 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/PairTest-PairTest.Tpo $(DEPDIR)/PairTest-PairTest.Po
2148 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PairTest.cpp' object='PairTest-PairTest.o' libtool=no @AMDEPBACKSLASH@
2149 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2150 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(PairTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o PairTest-PairTest.o `test -f 'PairTest.cpp' || echo '$(srcdir)/'`PairTest.cpp
2151
2152 PairTest-PairTest.obj: PairTest.cpp
2153 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(PairTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT PairTest-PairTest.obj -MD -MP -MF $(DEPDIR)/PairTest-PairTest.Tpo -c -o PairTest-PairTest.obj `if test -f 'PairTest.cpp'; then $(CYGPATH_W) 'PairTest.cpp'; else $(CYGPATH_W) '$(srcdir)/PairTest.cpp'; fi`
2154 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/PairTest-PairTest.Tpo $(DEPDIR)/PairTest-PairTest.Po
2155 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PairTest.cpp' object='PairTest-PairTest.obj' libtool=no @AMDEPBACKSLASH@
2156 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2157 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(PairTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o PairTest-PairTest.obj `if test -f 'PairTest.cpp'; then $(CYGPATH_W) 'PairTest.cpp'; else $(CYGPATH_W) '$(srcdir)/PairTest.cpp'; fi`
2158
2159 PapersizeSpecialTest-PapersizeSpecialTest.o: PapersizeSpecialTest.cpp
2160 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(PapersizeSpecialTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT PapersizeSpecialTest-PapersizeSpecialTest.o -MD -MP -MF $(DEPDIR)/PapersizeSpecialTest-PapersizeSpecialTest.Tpo -c -o PapersizeSpecialTest-PapersizeSpecialTest.o `test -f 'PapersizeSpecialTest.cpp' || echo '$(srcdir)/'`PapersizeSpecialTest.cpp
2161 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/PapersizeSpecialTest-PapersizeSpecialTest.Tpo $(DEPDIR)/PapersizeSpecialTest-PapersizeSpecialTest.Po
2162 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PapersizeSpecialTest.cpp' object='PapersizeSpecialTest-PapersizeSpecialTest.o' libtool=no @AMDEPBACKSLASH@
2163 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2164 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(PapersizeSpecialTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o PapersizeSpecialTest-PapersizeSpecialTest.o `test -f 'PapersizeSpecialTest.cpp' || echo '$(srcdir)/'`PapersizeSpecialTest.cpp
2165
2166 PapersizeSpecialTest-PapersizeSpecialTest.obj: PapersizeSpecialTest.cpp
2167 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(PapersizeSpecialTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT PapersizeSpecialTest-PapersizeSpecialTest.obj -MD -MP -MF $(DEPDIR)/PapersizeSpecialTest-PapersizeSpecialTest.Tpo -c -o PapersizeSpecialTest-PapersizeSpecialTest.obj `if test -f 'PapersizeSpecialTest.cpp'; then $(CYGPATH_W) 'PapersizeSpecialTest.cpp'; else $(CYGPATH_W) '$(srcdir)/PapersizeSpecialTest.cpp'; fi`
2168 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/PapersizeSpecialTest-PapersizeSpecialTest.Tpo $(DEPDIR)/PapersizeSpecialTest-PapersizeSpecialTest.Po
2169 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PapersizeSpecialTest.cpp' object='PapersizeSpecialTest-PapersizeSpecialTest.obj' libtool=no @AMDEPBACKSLASH@
2170 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2171 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(PapersizeSpecialTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o PapersizeSpecialTest-PapersizeSpecialTest.obj `if test -f 'PapersizeSpecialTest.cpp'; then $(CYGPATH_W) 'PapersizeSpecialTest.cpp'; else $(CYGPATH_W) '$(srcdir)/PapersizeSpecialTest.cpp'; fi`
2172
2173 RangeMapTest-RangeMapTest.o: RangeMapTest.cpp
2174 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(RangeMapTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT RangeMapTest-RangeMapTest.o -MD -MP -MF $(DEPDIR)/RangeMapTest-RangeMapTest.Tpo -c -o RangeMapTest-RangeMapTest.o `test -f 'RangeMapTest.cpp' || echo '$(srcdir)/'`RangeMapTest.cpp
2175 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/RangeMapTest-RangeMapTest.Tpo $(DEPDIR)/RangeMapTest-RangeMapTest.Po
2176 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='RangeMapTest.cpp' object='RangeMapTest-RangeMapTest.o' libtool=no @AMDEPBACKSLASH@
2177 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2178 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(RangeMapTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o RangeMapTest-RangeMapTest.o `test -f 'RangeMapTest.cpp' || echo '$(srcdir)/'`RangeMapTest.cpp
2179
2180 RangeMapTest-RangeMapTest.obj: RangeMapTest.cpp
2181 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(RangeMapTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT RangeMapTest-RangeMapTest.obj -MD -MP -MF $(DEPDIR)/RangeMapTest-RangeMapTest.Tpo -c -o RangeMapTest-RangeMapTest.obj `if test -f 'RangeMapTest.cpp'; then $(CYGPATH_W) 'RangeMapTest.cpp'; else $(CYGPATH_W) '$(srcdir)/RangeMapTest.cpp'; fi`
2182 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/RangeMapTest-RangeMapTest.Tpo $(DEPDIR)/RangeMapTest-RangeMapTest.Po
2183 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='RangeMapTest.cpp' object='RangeMapTest-RangeMapTest.obj' libtool=no @AMDEPBACKSLASH@
2184 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2185 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(RangeMapTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o RangeMapTest-RangeMapTest.obj `if test -f 'RangeMapTest.cpp'; then $(CYGPATH_W) 'RangeMapTest.cpp'; else $(CYGPATH_W) '$(srcdir)/RangeMapTest.cpp'; fi`
2186
2187 SVGOutputTest-SVGOutputTest.o: SVGOutputTest.cpp
2188 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(SVGOutputTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT SVGOutputTest-SVGOutputTest.o -MD -MP -MF $(DEPDIR)/SVGOutputTest-SVGOutputTest.Tpo -c -o SVGOutputTest-SVGOutputTest.o `test -f 'SVGOutputTest.cpp' || echo '$(srcdir)/'`SVGOutputTest.cpp
2189 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/SVGOutputTest-SVGOutputTest.Tpo $(DEPDIR)/SVGOutputTest-SVGOutputTest.Po
2190 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='SVGOutputTest.cpp' object='SVGOutputTest-SVGOutputTest.o' libtool=no @AMDEPBACKSLASH@
2191 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2192 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(SVGOutputTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o SVGOutputTest-SVGOutputTest.o `test -f 'SVGOutputTest.cpp' || echo '$(srcdir)/'`SVGOutputTest.cpp
2193
2194 SVGOutputTest-SVGOutputTest.obj: SVGOutputTest.cpp
2195 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(SVGOutputTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT SVGOutputTest-SVGOutputTest.obj -MD -MP -MF $(DEPDIR)/SVGOutputTest-SVGOutputTest.Tpo -c -o SVGOutputTest-SVGOutputTest.obj `if test -f 'SVGOutputTest.cpp'; then $(CYGPATH_W) 'SVGOutputTest.cpp'; else $(CYGPATH_W) '$(srcdir)/SVGOutputTest.cpp'; fi`
2196 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/SVGOutputTest-SVGOutputTest.Tpo $(DEPDIR)/SVGOutputTest-SVGOutputTest.Po
2197 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='SVGOutputTest.cpp' object='SVGOutputTest-SVGOutputTest.obj' libtool=no @AMDEPBACKSLASH@
2198 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2199 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(SVGOutputTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o SVGOutputTest-SVGOutputTest.obj `if test -f 'SVGOutputTest.cpp'; then $(CYGPATH_W) 'SVGOutputTest.cpp'; else $(CYGPATH_W) '$(srcdir)/SVGOutputTest.cpp'; fi`
2200
2201 ShadingPatchTest-ShadingPatchTest.o: ShadingPatchTest.cpp
2202 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ShadingPatchTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT ShadingPatchTest-ShadingPatchTest.o -MD -MP -MF $(DEPDIR)/ShadingPatchTest-ShadingPatchTest.Tpo -c -o ShadingPatchTest-ShadingPatchTest.o `test -f 'ShadingPatchTest.cpp' || echo '$(srcdir)/'`ShadingPatchTest.cpp
2203 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ShadingPatchTest-ShadingPatchTest.Tpo $(DEPDIR)/ShadingPatchTest-ShadingPatchTest.Po
2204 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='ShadingPatchTest.cpp' object='ShadingPatchTest-ShadingPatchTest.o' libtool=no @AMDEPBACKSLASH@
2205 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2206 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ShadingPatchTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o ShadingPatchTest-ShadingPatchTest.o `test -f 'ShadingPatchTest.cpp' || echo '$(srcdir)/'`ShadingPatchTest.cpp
2207
2208 ShadingPatchTest-ShadingPatchTest.obj: ShadingPatchTest.cpp
2209 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ShadingPatchTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT ShadingPatchTest-ShadingPatchTest.obj -MD -MP -MF $(DEPDIR)/ShadingPatchTest-ShadingPatchTest.Tpo -c -o ShadingPatchTest-ShadingPatchTest.obj `if test -f 'ShadingPatchTest.cpp'; then $(CYGPATH_W) 'ShadingPatchTest.cpp'; else $(CYGPATH_W) '$(srcdir)/ShadingPatchTest.cpp'; fi`
2210 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ShadingPatchTest-ShadingPatchTest.Tpo $(DEPDIR)/ShadingPatchTest-ShadingPatchTest.Po
2211 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='ShadingPatchTest.cpp' object='ShadingPatchTest-ShadingPatchTest.obj' libtool=no @AMDEPBACKSLASH@
2212 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2213 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ShadingPatchTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o ShadingPatchTest-ShadingPatchTest.obj `if test -f 'ShadingPatchTest.cpp'; then $(CYGPATH_W) 'ShadingPatchTest.cpp'; else $(CYGPATH_W) '$(srcdir)/ShadingPatchTest.cpp'; fi`
2214
2215 SpecialManagerTest-SpecialManagerTest.o: SpecialManagerTest.cpp
2216 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(SpecialManagerTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT SpecialManagerTest-SpecialManagerTest.o -MD -MP -MF $(DEPDIR)/SpecialManagerTest-SpecialManagerTest.Tpo -c -o SpecialManagerTest-SpecialManagerTest.o `test -f 'SpecialManagerTest.cpp' || echo '$(srcdir)/'`SpecialManagerTest.cpp
2217 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/SpecialManagerTest-SpecialManagerTest.Tpo $(DEPDIR)/SpecialManagerTest-SpecialManagerTest.Po
2218 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='SpecialManagerTest.cpp' object='SpecialManagerTest-SpecialManagerTest.o' libtool=no @AMDEPBACKSLASH@
2219 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2220 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(SpecialManagerTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o SpecialManagerTest-SpecialManagerTest.o `test -f 'SpecialManagerTest.cpp' || echo '$(srcdir)/'`SpecialManagerTest.cpp
2221
2222 SpecialManagerTest-SpecialManagerTest.obj: SpecialManagerTest.cpp
2223 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(SpecialManagerTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT SpecialManagerTest-SpecialManagerTest.obj -MD -MP -MF $(DEPDIR)/SpecialManagerTest-SpecialManagerTest.Tpo -c -o SpecialManagerTest-SpecialManagerTest.obj `if test -f 'SpecialManagerTest.cpp'; then $(CYGPATH_W) 'SpecialManagerTest.cpp'; else $(CYGPATH_W) '$(srcdir)/SpecialManagerTest.cpp'; fi`
2224 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/SpecialManagerTest-SpecialManagerTest.Tpo $(DEPDIR)/SpecialManagerTest-SpecialManagerTest.Po
2225 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='SpecialManagerTest.cpp' object='SpecialManagerTest-SpecialManagerTest.obj' libtool=no @AMDEPBACKSLASH@
2226 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2227 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(SpecialManagerTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o SpecialManagerTest-SpecialManagerTest.obj `if test -f 'SpecialManagerTest.cpp'; then $(CYGPATH_W) 'SpecialManagerTest.cpp'; else $(CYGPATH_W) '$(srcdir)/SpecialManagerTest.cpp'; fi`
2228
2229 SplittedCharInputBufferTest-SplittedCharInputBufferTest.o: SplittedCharInputBufferTest.cpp
2230 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(SplittedCharInputBufferTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT SplittedCharInputBufferTest-SplittedCharInputBufferTest.o -MD -MP -MF $(DEPDIR)/SplittedCharInputBufferTest-SplittedCharInputBufferTest.Tpo -c -o SplittedCharInputBufferTest-SplittedCharInputBufferTest.o `test -f 'SplittedCharInputBufferTest.cpp' || echo '$(srcdir)/'`SplittedCharInputBufferTest.cpp
2231 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/SplittedCharInputBufferTest-SplittedCharInputBufferTest.Tpo $(DEPDIR)/SplittedCharInputBufferTest-SplittedCharInputBufferTest.Po
2232 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='SplittedCharInputBufferTest.cpp' object='SplittedCharInputBufferTest-SplittedCharInputBufferTest.o' libtool=no @AMDEPBACKSLASH@
2233 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2234 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(SplittedCharInputBufferTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o SplittedCharInputBufferTest-SplittedCharInputBufferTest.o `test -f 'SplittedCharInputBufferTest.cpp' || echo '$(srcdir)/'`SplittedCharInputBufferTest.cpp
2235
2236 SplittedCharInputBufferTest-SplittedCharInputBufferTest.obj: SplittedCharInputBufferTest.cpp
2237 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(SplittedCharInputBufferTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT SplittedCharInputBufferTest-SplittedCharInputBufferTest.obj -MD -MP -MF $(DEPDIR)/SplittedCharInputBufferTest-SplittedCharInputBufferTest.Tpo -c -o SplittedCharInputBufferTest-SplittedCharInputBufferTest.obj `if test -f 'SplittedCharInputBufferTest.cpp'; then $(CYGPATH_W) 'SplittedCharInputBufferTest.cpp'; else $(CYGPATH_W) '$(srcdir)/SplittedCharInputBufferTest.cpp'; fi`
2238 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/SplittedCharInputBufferTest-SplittedCharInputBufferTest.Tpo $(DEPDIR)/SplittedCharInputBufferTest-SplittedCharInputBufferTest.Po
2239 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='SplittedCharInputBufferTest.cpp' object='SplittedCharInputBufferTest-SplittedCharInputBufferTest.obj' libtool=no @AMDEPBACKSLASH@
2240 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2241 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(SplittedCharInputBufferTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o SplittedCharInputBufferTest-SplittedCharInputBufferTest.obj `if test -f 'SplittedCharInputBufferTest.cpp'; then $(CYGPATH_W) 'SplittedCharInputBufferTest.cpp'; else $(CYGPATH_W) '$(srcdir)/SplittedCharInputBufferTest.cpp'; fi`
2242
2243 StreamInputBufferTest-StreamInputBufferTest.o: StreamInputBufferTest.cpp
2244 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(StreamInputBufferTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT StreamInputBufferTest-StreamInputBufferTest.o -MD -MP -MF $(DEPDIR)/StreamInputBufferTest-StreamInputBufferTest.Tpo -c -o StreamInputBufferTest-StreamInputBufferTest.o `test -f 'StreamInputBufferTest.cpp' || echo '$(srcdir)/'`StreamInputBufferTest.cpp
2245 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/StreamInputBufferTest-StreamInputBufferTest.Tpo $(DEPDIR)/StreamInputBufferTest-StreamInputBufferTest.Po
2246 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='StreamInputBufferTest.cpp' object='StreamInputBufferTest-StreamInputBufferTest.o' libtool=no @AMDEPBACKSLASH@
2247 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2248 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(StreamInputBufferTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o StreamInputBufferTest-StreamInputBufferTest.o `test -f 'StreamInputBufferTest.cpp' || echo '$(srcdir)/'`StreamInputBufferTest.cpp
2249
2250 StreamInputBufferTest-StreamInputBufferTest.obj: StreamInputBufferTest.cpp
2251 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(StreamInputBufferTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT StreamInputBufferTest-StreamInputBufferTest.obj -MD -MP -MF $(DEPDIR)/StreamInputBufferTest-StreamInputBufferTest.Tpo -c -o StreamInputBufferTest-StreamInputBufferTest.obj `if test -f 'StreamInputBufferTest.cpp'; then $(CYGPATH_W) 'StreamInputBufferTest.cpp'; else $(CYGPATH_W) '$(srcdir)/StreamInputBufferTest.cpp'; fi`
2252 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/StreamInputBufferTest-StreamInputBufferTest.Tpo $(DEPDIR)/StreamInputBufferTest-StreamInputBufferTest.Po
2253 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='StreamInputBufferTest.cpp' object='StreamInputBufferTest-StreamInputBufferTest.obj' libtool=no @AMDEPBACKSLASH@
2254 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2255 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(StreamInputBufferTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o StreamInputBufferTest-StreamInputBufferTest.obj `if test -f 'StreamInputBufferTest.cpp'; then $(CYGPATH_W) 'StreamInputBufferTest.cpp'; else $(CYGPATH_W) '$(srcdir)/StreamInputBufferTest.cpp'; fi`
2256
2257 StreamReaderTest-StreamReaderTest.o: StreamReaderTest.cpp
2258 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(StreamReaderTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT StreamReaderTest-StreamReaderTest.o -MD -MP -MF $(DEPDIR)/StreamReaderTest-StreamReaderTest.Tpo -c -o StreamReaderTest-StreamReaderTest.o `test -f 'StreamReaderTest.cpp' || echo '$(srcdir)/'`StreamReaderTest.cpp
2259 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/StreamReaderTest-StreamReaderTest.Tpo $(DEPDIR)/StreamReaderTest-StreamReaderTest.Po
2260 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='StreamReaderTest.cpp' object='StreamReaderTest-StreamReaderTest.o' libtool=no @AMDEPBACKSLASH@
2261 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2262 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(StreamReaderTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o StreamReaderTest-StreamReaderTest.o `test -f 'StreamReaderTest.cpp' || echo '$(srcdir)/'`StreamReaderTest.cpp
2263
2264 StreamReaderTest-StreamReaderTest.obj: StreamReaderTest.cpp
2265 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(StreamReaderTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT StreamReaderTest-StreamReaderTest.obj -MD -MP -MF $(DEPDIR)/StreamReaderTest-StreamReaderTest.Tpo -c -o StreamReaderTest-StreamReaderTest.obj `if test -f 'StreamReaderTest.cpp'; then $(CYGPATH_W) 'StreamReaderTest.cpp'; else $(CYGPATH_W) '$(srcdir)/StreamReaderTest.cpp'; fi`
2266 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/StreamReaderTest-StreamReaderTest.Tpo $(DEPDIR)/StreamReaderTest-StreamReaderTest.Po
2267 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='StreamReaderTest.cpp' object='StreamReaderTest-StreamReaderTest.obj' libtool=no @AMDEPBACKSLASH@
2268 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2269 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(StreamReaderTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o StreamReaderTest-StreamReaderTest.obj `if test -f 'StreamReaderTest.cpp'; then $(CYGPATH_W) 'StreamReaderTest.cpp'; else $(CYGPATH_W) '$(srcdir)/StreamReaderTest.cpp'; fi`
2270
2271 StreamWriterTest-StreamWriterTest.o: StreamWriterTest.cpp
2272 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(StreamWriterTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT StreamWriterTest-StreamWriterTest.o -MD -MP -MF $(DEPDIR)/StreamWriterTest-StreamWriterTest.Tpo -c -o StreamWriterTest-StreamWriterTest.o `test -f 'StreamWriterTest.cpp' || echo '$(srcdir)/'`StreamWriterTest.cpp
2273 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/StreamWriterTest-StreamWriterTest.Tpo $(DEPDIR)/StreamWriterTest-StreamWriterTest.Po
2274 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='StreamWriterTest.cpp' object='StreamWriterTest-StreamWriterTest.o' libtool=no @AMDEPBACKSLASH@
2275 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2276 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(StreamWriterTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o StreamWriterTest-StreamWriterTest.o `test -f 'StreamWriterTest.cpp' || echo '$(srcdir)/'`StreamWriterTest.cpp
2277
2278 StreamWriterTest-StreamWriterTest.obj: StreamWriterTest.cpp
2279 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(StreamWriterTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT StreamWriterTest-StreamWriterTest.obj -MD -MP -MF $(DEPDIR)/StreamWriterTest-StreamWriterTest.Tpo -c -o StreamWriterTest-StreamWriterTest.obj `if test -f 'StreamWriterTest.cpp'; then $(CYGPATH_W) 'StreamWriterTest.cpp'; else $(CYGPATH_W) '$(srcdir)/StreamWriterTest.cpp'; fi`
2280 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/StreamWriterTest-StreamWriterTest.Tpo $(DEPDIR)/StreamWriterTest-StreamWriterTest.Po
2281 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='StreamWriterTest.cpp' object='StreamWriterTest-StreamWriterTest.obj' libtool=no @AMDEPBACKSLASH@
2282 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2283 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(StreamWriterTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o StreamWriterTest-StreamWriterTest.obj `if test -f 'StreamWriterTest.cpp'; then $(CYGPATH_W) 'StreamWriterTest.cpp'; else $(CYGPATH_W) '$(srcdir)/StreamWriterTest.cpp'; fi`
2284
2285 StringMatcherTest-StringMatcherTest.o: StringMatcherTest.cpp
2286 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(StringMatcherTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT StringMatcherTest-StringMatcherTest.o -MD -MP -MF $(DEPDIR)/StringMatcherTest-StringMatcherTest.Tpo -c -o StringMatcherTest-StringMatcherTest.o `test -f 'StringMatcherTest.cpp' || echo '$(srcdir)/'`StringMatcherTest.cpp
2287 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/StringMatcherTest-StringMatcherTest.Tpo $(DEPDIR)/StringMatcherTest-StringMatcherTest.Po
2288 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='StringMatcherTest.cpp' object='StringMatcherTest-StringMatcherTest.o' libtool=no @AMDEPBACKSLASH@
2289 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2290 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(StringMatcherTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o StringMatcherTest-StringMatcherTest.o `test -f 'StringMatcherTest.cpp' || echo '$(srcdir)/'`StringMatcherTest.cpp
2291
2292 StringMatcherTest-StringMatcherTest.obj: StringMatcherTest.cpp
2293 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(StringMatcherTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT StringMatcherTest-StringMatcherTest.obj -MD -MP -MF $(DEPDIR)/StringMatcherTest-StringMatcherTest.Tpo -c -o StringMatcherTest-StringMatcherTest.obj `if test -f 'StringMatcherTest.cpp'; then $(CYGPATH_W) 'StringMatcherTest.cpp'; else $(CYGPATH_W) '$(srcdir)/StringMatcherTest.cpp'; fi`
2294 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/StringMatcherTest-StringMatcherTest.Tpo $(DEPDIR)/StringMatcherTest-StringMatcherTest.Po
2295 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='StringMatcherTest.cpp' object='StringMatcherTest-StringMatcherTest.obj' libtool=no @AMDEPBACKSLASH@
2296 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2297 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(StringMatcherTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o StringMatcherTest-StringMatcherTest.obj `if test -f 'StringMatcherTest.cpp'; then $(CYGPATH_W) 'StringMatcherTest.cpp'; else $(CYGPATH_W) '$(srcdir)/StringMatcherTest.cpp'; fi`
2298
2299 SubfontTest-SubfontTest.o: SubfontTest.cpp
2300 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(SubfontTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT SubfontTest-SubfontTest.o -MD -MP -MF $(DEPDIR)/SubfontTest-SubfontTest.Tpo -c -o SubfontTest-SubfontTest.o `test -f 'SubfontTest.cpp' || echo '$(srcdir)/'`SubfontTest.cpp
2301 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/SubfontTest-SubfontTest.Tpo $(DEPDIR)/SubfontTest-SubfontTest.Po
2302 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='SubfontTest.cpp' object='SubfontTest-SubfontTest.o' libtool=no @AMDEPBACKSLASH@
2303 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2304 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(SubfontTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o SubfontTest-SubfontTest.o `test -f 'SubfontTest.cpp' || echo '$(srcdir)/'`SubfontTest.cpp
2305
2306 SubfontTest-SubfontTest.obj: SubfontTest.cpp
2307 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(SubfontTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT SubfontTest-SubfontTest.obj -MD -MP -MF $(DEPDIR)/SubfontTest-SubfontTest.Tpo -c -o SubfontTest-SubfontTest.obj `if test -f 'SubfontTest.cpp'; then $(CYGPATH_W) 'SubfontTest.cpp'; else $(CYGPATH_W) '$(srcdir)/SubfontTest.cpp'; fi`
2308 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/SubfontTest-SubfontTest.Tpo $(DEPDIR)/SubfontTest-SubfontTest.Po
2309 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='SubfontTest.cpp' object='SubfontTest-SubfontTest.obj' libtool=no @AMDEPBACKSLASH@
2310 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2311 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(SubfontTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o SubfontTest-SubfontTest.obj `if test -f 'SubfontTest.cpp'; then $(CYGPATH_W) 'SubfontTest.cpp'; else $(CYGPATH_W) '$(srcdir)/SubfontTest.cpp'; fi`
2312
2313 TFMReaderTest-TFMReaderTest.o: TFMReaderTest.cpp
2314 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(TFMReaderTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT TFMReaderTest-TFMReaderTest.o -MD -MP -MF $(DEPDIR)/TFMReaderTest-TFMReaderTest.Tpo -c -o TFMReaderTest-TFMReaderTest.o `test -f 'TFMReaderTest.cpp' || echo '$(srcdir)/'`TFMReaderTest.cpp
2315 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/TFMReaderTest-TFMReaderTest.Tpo $(DEPDIR)/TFMReaderTest-TFMReaderTest.Po
2316 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='TFMReaderTest.cpp' object='TFMReaderTest-TFMReaderTest.o' libtool=no @AMDEPBACKSLASH@
2317 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2318 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(TFMReaderTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o TFMReaderTest-TFMReaderTest.o `test -f 'TFMReaderTest.cpp' || echo '$(srcdir)/'`TFMReaderTest.cpp
2319
2320 TFMReaderTest-TFMReaderTest.obj: TFMReaderTest.cpp
2321 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(TFMReaderTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT TFMReaderTest-TFMReaderTest.obj -MD -MP -MF $(DEPDIR)/TFMReaderTest-TFMReaderTest.Tpo -c -o TFMReaderTest-TFMReaderTest.obj `if test -f 'TFMReaderTest.cpp'; then $(CYGPATH_W) 'TFMReaderTest.cpp'; else $(CYGPATH_W) '$(srcdir)/TFMReaderTest.cpp'; fi`
2322 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/TFMReaderTest-TFMReaderTest.Tpo $(DEPDIR)/TFMReaderTest-TFMReaderTest.Po
2323 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='TFMReaderTest.cpp' object='TFMReaderTest-TFMReaderTest.obj' libtool=no @AMDEPBACKSLASH@
2324 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2325 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(TFMReaderTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o TFMReaderTest-TFMReaderTest.obj `if test -f 'TFMReaderTest.cpp'; then $(CYGPATH_W) 'TFMReaderTest.cpp'; else $(CYGPATH_W) '$(srcdir)/TFMReaderTest.cpp'; fi`
2326
2327 TensorProductPatchTest-TensorProductPatchTest.o: TensorProductPatchTest.cpp
2328 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(TensorProductPatchTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT TensorProductPatchTest-TensorProductPatchTest.o -MD -MP -MF $(DEPDIR)/TensorProductPatchTest-TensorProductPatchTest.Tpo -c -o TensorProductPatchTest-TensorProductPatchTest.o `test -f 'TensorProductPatchTest.cpp' || echo '$(srcdir)/'`TensorProductPatchTest.cpp
2329 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/TensorProductPatchTest-TensorProductPatchTest.Tpo $(DEPDIR)/TensorProductPatchTest-TensorProductPatchTest.Po
2330 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='TensorProductPatchTest.cpp' object='TensorProductPatchTest-TensorProductPatchTest.o' libtool=no @AMDEPBACKSLASH@
2331 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2332 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(TensorProductPatchTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o TensorProductPatchTest-TensorProductPatchTest.o `test -f 'TensorProductPatchTest.cpp' || echo '$(srcdir)/'`TensorProductPatchTest.cpp
2333
2334 TensorProductPatchTest-TensorProductPatchTest.obj: TensorProductPatchTest.cpp
2335 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(TensorProductPatchTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT TensorProductPatchTest-TensorProductPatchTest.obj -MD -MP -MF $(DEPDIR)/TensorProductPatchTest-TensorProductPatchTest.Tpo -c -o TensorProductPatchTest-TensorProductPatchTest.obj `if test -f 'TensorProductPatchTest.cpp'; then $(CYGPATH_W) 'TensorProductPatchTest.cpp'; else $(CYGPATH_W) '$(srcdir)/TensorProductPatchTest.cpp'; fi`
2336 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/TensorProductPatchTest-TensorProductPatchTest.Tpo $(DEPDIR)/TensorProductPatchTest-TensorProductPatchTest.Po
2337 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='TensorProductPatchTest.cpp' object='TensorProductPatchTest-TensorProductPatchTest.obj' libtool=no @AMDEPBACKSLASH@
2338 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2339 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(TensorProductPatchTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o TensorProductPatchTest-TensorProductPatchTest.obj `if test -f 'TensorProductPatchTest.cpp'; then $(CYGPATH_W) 'TensorProductPatchTest.cpp'; else $(CYGPATH_W) '$(srcdir)/TensorProductPatchTest.cpp'; fi`
2340
2341 ToUnicodeMapTest-ToUnicodeMapTest.o: ToUnicodeMapTest.cpp
2342 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ToUnicodeMapTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT ToUnicodeMapTest-ToUnicodeMapTest.o -MD -MP -MF $(DEPDIR)/ToUnicodeMapTest-ToUnicodeMapTest.Tpo -c -o ToUnicodeMapTest-ToUnicodeMapTest.o `test -f 'ToUnicodeMapTest.cpp' || echo '$(srcdir)/'`ToUnicodeMapTest.cpp
2343 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ToUnicodeMapTest-ToUnicodeMapTest.Tpo $(DEPDIR)/ToUnicodeMapTest-ToUnicodeMapTest.Po
2344 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='ToUnicodeMapTest.cpp' object='ToUnicodeMapTest-ToUnicodeMapTest.o' libtool=no @AMDEPBACKSLASH@
2345 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2346 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ToUnicodeMapTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o ToUnicodeMapTest-ToUnicodeMapTest.o `test -f 'ToUnicodeMapTest.cpp' || echo '$(srcdir)/'`ToUnicodeMapTest.cpp
2347
2348 ToUnicodeMapTest-ToUnicodeMapTest.obj: ToUnicodeMapTest.cpp
2349 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ToUnicodeMapTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT ToUnicodeMapTest-ToUnicodeMapTest.obj -MD -MP -MF $(DEPDIR)/ToUnicodeMapTest-ToUnicodeMapTest.Tpo -c -o ToUnicodeMapTest-ToUnicodeMapTest.obj `if test -f 'ToUnicodeMapTest.cpp'; then $(CYGPATH_W) 'ToUnicodeMapTest.cpp'; else $(CYGPATH_W) '$(srcdir)/ToUnicodeMapTest.cpp'; fi`
2350 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ToUnicodeMapTest-ToUnicodeMapTest.Tpo $(DEPDIR)/ToUnicodeMapTest-ToUnicodeMapTest.Po
2351 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='ToUnicodeMapTest.cpp' object='ToUnicodeMapTest-ToUnicodeMapTest.obj' libtool=no @AMDEPBACKSLASH@
2352 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2353 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ToUnicodeMapTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o ToUnicodeMapTest-ToUnicodeMapTest.obj `if test -f 'ToUnicodeMapTest.cpp'; then $(CYGPATH_W) 'ToUnicodeMapTest.cpp'; else $(CYGPATH_W) '$(srcdir)/ToUnicodeMapTest.cpp'; fi`
2354
2355 TpicSpecialTest-TpicSpecialTest.o: TpicSpecialTest.cpp
2356 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(TpicSpecialTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT TpicSpecialTest-TpicSpecialTest.o -MD -MP -MF $(DEPDIR)/TpicSpecialTest-TpicSpecialTest.Tpo -c -o TpicSpecialTest-TpicSpecialTest.o `test -f 'TpicSpecialTest.cpp' || echo '$(srcdir)/'`TpicSpecialTest.cpp
2357 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/TpicSpecialTest-TpicSpecialTest.Tpo $(DEPDIR)/TpicSpecialTest-TpicSpecialTest.Po
2358 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='TpicSpecialTest.cpp' object='TpicSpecialTest-TpicSpecialTest.o' libtool=no @AMDEPBACKSLASH@
2359 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2360 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(TpicSpecialTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o TpicSpecialTest-TpicSpecialTest.o `test -f 'TpicSpecialTest.cpp' || echo '$(srcdir)/'`TpicSpecialTest.cpp
2361
2362 TpicSpecialTest-TpicSpecialTest.obj: TpicSpecialTest.cpp
2363 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(TpicSpecialTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT TpicSpecialTest-TpicSpecialTest.obj -MD -MP -MF $(DEPDIR)/TpicSpecialTest-TpicSpecialTest.Tpo -c -o TpicSpecialTest-TpicSpecialTest.obj `if test -f 'TpicSpecialTest.cpp'; then $(CYGPATH_W) 'TpicSpecialTest.cpp'; else $(CYGPATH_W) '$(srcdir)/TpicSpecialTest.cpp'; fi`
2364 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/TpicSpecialTest-TpicSpecialTest.Tpo $(DEPDIR)/TpicSpecialTest-TpicSpecialTest.Po
2365 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='TpicSpecialTest.cpp' object='TpicSpecialTest-TpicSpecialTest.obj' libtool=no @AMDEPBACKSLASH@
2366 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2367 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(TpicSpecialTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o TpicSpecialTest-TpicSpecialTest.obj `if test -f 'TpicSpecialTest.cpp'; then $(CYGPATH_W) 'TpicSpecialTest.cpp'; else $(CYGPATH_W) '$(srcdir)/TpicSpecialTest.cpp'; fi`
2368
2369 TriangularPatchTest-TriangularPatchTest.o: TriangularPatchTest.cpp
2370 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(TriangularPatchTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT TriangularPatchTest-TriangularPatchTest.o -MD -MP -MF $(DEPDIR)/TriangularPatchTest-TriangularPatchTest.Tpo -c -o TriangularPatchTest-TriangularPatchTest.o `test -f 'TriangularPatchTest.cpp' || echo '$(srcdir)/'`TriangularPatchTest.cpp
2371 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/TriangularPatchTest-TriangularPatchTest.Tpo $(DEPDIR)/TriangularPatchTest-TriangularPatchTest.Po
2372 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='TriangularPatchTest.cpp' object='TriangularPatchTest-TriangularPatchTest.o' libtool=no @AMDEPBACKSLASH@
2373 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2374 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(TriangularPatchTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o TriangularPatchTest-TriangularPatchTest.o `test -f 'TriangularPatchTest.cpp' || echo '$(srcdir)/'`TriangularPatchTest.cpp
2375
2376 TriangularPatchTest-TriangularPatchTest.obj: TriangularPatchTest.cpp
2377 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(TriangularPatchTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT TriangularPatchTest-TriangularPatchTest.obj -MD -MP -MF $(DEPDIR)/TriangularPatchTest-TriangularPatchTest.Tpo -c -o TriangularPatchTest-TriangularPatchTest.obj `if test -f 'TriangularPatchTest.cpp'; then $(CYGPATH_W) 'TriangularPatchTest.cpp'; else $(CYGPATH_W) '$(srcdir)/TriangularPatchTest.cpp'; fi`
2378 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/TriangularPatchTest-TriangularPatchTest.Tpo $(DEPDIR)/TriangularPatchTest-TriangularPatchTest.Po
2379 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='TriangularPatchTest.cpp' object='TriangularPatchTest-TriangularPatchTest.obj' libtool=no @AMDEPBACKSLASH@
2380 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2381 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(TriangularPatchTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o TriangularPatchTest-TriangularPatchTest.obj `if test -f 'TriangularPatchTest.cpp'; then $(CYGPATH_W) 'TriangularPatchTest.cpp'; else $(CYGPATH_W) '$(srcdir)/TriangularPatchTest.cpp'; fi`
2382
2383 UnicodeTest-UnicodeTest.o: UnicodeTest.cpp
2384 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnicodeTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT UnicodeTest-UnicodeTest.o -MD -MP -MF $(DEPDIR)/UnicodeTest-UnicodeTest.Tpo -c -o UnicodeTest-UnicodeTest.o `test -f 'UnicodeTest.cpp' || echo '$(srcdir)/'`UnicodeTest.cpp
2385 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/UnicodeTest-UnicodeTest.Tpo $(DEPDIR)/UnicodeTest-UnicodeTest.Po
2386 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='UnicodeTest.cpp' object='UnicodeTest-UnicodeTest.o' libtool=no @AMDEPBACKSLASH@
2387 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2388 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnicodeTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o UnicodeTest-UnicodeTest.o `test -f 'UnicodeTest.cpp' || echo '$(srcdir)/'`UnicodeTest.cpp
2389
2390 UnicodeTest-UnicodeTest.obj: UnicodeTest.cpp
2391 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnicodeTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT UnicodeTest-UnicodeTest.obj -MD -MP -MF $(DEPDIR)/UnicodeTest-UnicodeTest.Tpo -c -o UnicodeTest-UnicodeTest.obj `if test -f 'UnicodeTest.cpp'; then $(CYGPATH_W) 'UnicodeTest.cpp'; else $(CYGPATH_W) '$(srcdir)/UnicodeTest.cpp'; fi`
2392 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/UnicodeTest-UnicodeTest.Tpo $(DEPDIR)/UnicodeTest-UnicodeTest.Po
2393 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='UnicodeTest.cpp' object='UnicodeTest-UnicodeTest.obj' libtool=no @AMDEPBACKSLASH@
2394 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2395 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnicodeTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o UnicodeTest-UnicodeTest.obj `if test -f 'UnicodeTest.cpp'; then $(CYGPATH_W) 'UnicodeTest.cpp'; else $(CYGPATH_W) '$(srcdir)/UnicodeTest.cpp'; fi`
2396
2397 UtilityTest-UtilityTest.o: UtilityTest.cpp
2398 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UtilityTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT UtilityTest-UtilityTest.o -MD -MP -MF $(DEPDIR)/UtilityTest-UtilityTest.Tpo -c -o UtilityTest-UtilityTest.o `test -f 'UtilityTest.cpp' || echo '$(srcdir)/'`UtilityTest.cpp
2399 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/UtilityTest-UtilityTest.Tpo $(DEPDIR)/UtilityTest-UtilityTest.Po
2400 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='UtilityTest.cpp' object='UtilityTest-UtilityTest.o' libtool=no @AMDEPBACKSLASH@
2401 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2402 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UtilityTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o UtilityTest-UtilityTest.o `test -f 'UtilityTest.cpp' || echo '$(srcdir)/'`UtilityTest.cpp
2403
2404 UtilityTest-UtilityTest.obj: UtilityTest.cpp
2405 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UtilityTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT UtilityTest-UtilityTest.obj -MD -MP -MF $(DEPDIR)/UtilityTest-UtilityTest.Tpo -c -o UtilityTest-UtilityTest.obj `if test -f 'UtilityTest.cpp'; then $(CYGPATH_W) 'UtilityTest.cpp'; else $(CYGPATH_W) '$(srcdir)/UtilityTest.cpp'; fi`
2406 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/UtilityTest-UtilityTest.Tpo $(DEPDIR)/UtilityTest-UtilityTest.Po
2407 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='UtilityTest.cpp' object='UtilityTest-UtilityTest.obj' libtool=no @AMDEPBACKSLASH@
2408 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2409 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UtilityTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o UtilityTest-UtilityTest.obj `if test -f 'UtilityTest.cpp'; then $(CYGPATH_W) 'UtilityTest.cpp'; else $(CYGPATH_W) '$(srcdir)/UtilityTest.cpp'; fi`
2410
2411 VectorIteratorTest-VectorIteratorTest.o: VectorIteratorTest.cpp
2412 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(VectorIteratorTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT VectorIteratorTest-VectorIteratorTest.o -MD -MP -MF $(DEPDIR)/VectorIteratorTest-VectorIteratorTest.Tpo -c -o VectorIteratorTest-VectorIteratorTest.o `test -f 'VectorIteratorTest.cpp' || echo '$(srcdir)/'`VectorIteratorTest.cpp
2413 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/VectorIteratorTest-VectorIteratorTest.Tpo $(DEPDIR)/VectorIteratorTest-VectorIteratorTest.Po
2414 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='VectorIteratorTest.cpp' object='VectorIteratorTest-VectorIteratorTest.o' libtool=no @AMDEPBACKSLASH@
2415 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2416 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(VectorIteratorTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o VectorIteratorTest-VectorIteratorTest.o `test -f 'VectorIteratorTest.cpp' || echo '$(srcdir)/'`VectorIteratorTest.cpp
2417
2418 VectorIteratorTest-VectorIteratorTest.obj: VectorIteratorTest.cpp
2419 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(VectorIteratorTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT VectorIteratorTest-VectorIteratorTest.obj -MD -MP -MF $(DEPDIR)/VectorIteratorTest-VectorIteratorTest.Tpo -c -o VectorIteratorTest-VectorIteratorTest.obj `if test -f 'VectorIteratorTest.cpp'; then $(CYGPATH_W) 'VectorIteratorTest.cpp'; else $(CYGPATH_W) '$(srcdir)/VectorIteratorTest.cpp'; fi`
2420 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/VectorIteratorTest-VectorIteratorTest.Tpo $(DEPDIR)/VectorIteratorTest-VectorIteratorTest.Po
2421 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='VectorIteratorTest.cpp' object='VectorIteratorTest-VectorIteratorTest.obj' libtool=no @AMDEPBACKSLASH@
2422 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2423 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(VectorIteratorTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o VectorIteratorTest-VectorIteratorTest.obj `if test -f 'VectorIteratorTest.cpp'; then $(CYGPATH_W) 'VectorIteratorTest.cpp'; else $(CYGPATH_W) '$(srcdir)/VectorIteratorTest.cpp'; fi`
2424
2425 VectorStreamTest-VectorStreamTest.o: VectorStreamTest.cpp
2426 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(VectorStreamTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT VectorStreamTest-VectorStreamTest.o -MD -MP -MF $(DEPDIR)/VectorStreamTest-VectorStreamTest.Tpo -c -o VectorStreamTest-VectorStreamTest.o `test -f 'VectorStreamTest.cpp' || echo '$(srcdir)/'`VectorStreamTest.cpp
2427 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/VectorStreamTest-VectorStreamTest.Tpo $(DEPDIR)/VectorStreamTest-VectorStreamTest.Po
2428 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='VectorStreamTest.cpp' object='VectorStreamTest-VectorStreamTest.o' libtool=no @AMDEPBACKSLASH@
2429 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2430 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(VectorStreamTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o VectorStreamTest-VectorStreamTest.o `test -f 'VectorStreamTest.cpp' || echo '$(srcdir)/'`VectorStreamTest.cpp
2431
2432 VectorStreamTest-VectorStreamTest.obj: VectorStreamTest.cpp
2433 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(VectorStreamTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT VectorStreamTest-VectorStreamTest.obj -MD -MP -MF $(DEPDIR)/VectorStreamTest-VectorStreamTest.Tpo -c -o VectorStreamTest-VectorStreamTest.obj `if test -f 'VectorStreamTest.cpp'; then $(CYGPATH_W) 'VectorStreamTest.cpp'; else $(CYGPATH_W) '$(srcdir)/VectorStreamTest.cpp'; fi`
2434 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/VectorStreamTest-VectorStreamTest.Tpo $(DEPDIR)/VectorStreamTest-VectorStreamTest.Po
2435 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='VectorStreamTest.cpp' object='VectorStreamTest-VectorStreamTest.obj' libtool=no @AMDEPBACKSLASH@
2436 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2437 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(VectorStreamTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o VectorStreamTest-VectorStreamTest.obj `if test -f 'VectorStreamTest.cpp'; then $(CYGPATH_W) 'VectorStreamTest.cpp'; else $(CYGPATH_W) '$(srcdir)/VectorStreamTest.cpp'; fi`
2438
2439 XMLNodeTest-XMLNodeTest.o: XMLNodeTest.cpp
2440 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(XMLNodeTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT XMLNodeTest-XMLNodeTest.o -MD -MP -MF $(DEPDIR)/XMLNodeTest-XMLNodeTest.Tpo -c -o XMLNodeTest-XMLNodeTest.o `test -f 'XMLNodeTest.cpp' || echo '$(srcdir)/'`XMLNodeTest.cpp
2441 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/XMLNodeTest-XMLNodeTest.Tpo $(DEPDIR)/XMLNodeTest-XMLNodeTest.Po
2442 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='XMLNodeTest.cpp' object='XMLNodeTest-XMLNodeTest.o' libtool=no @AMDEPBACKSLASH@
2443 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2444 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(XMLNodeTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o XMLNodeTest-XMLNodeTest.o `test -f 'XMLNodeTest.cpp' || echo '$(srcdir)/'`XMLNodeTest.cpp
2445
2446 XMLNodeTest-XMLNodeTest.obj: XMLNodeTest.cpp
2447 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(XMLNodeTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT XMLNodeTest-XMLNodeTest.obj -MD -MP -MF $(DEPDIR)/XMLNodeTest-XMLNodeTest.Tpo -c -o XMLNodeTest-XMLNodeTest.obj `if test -f 'XMLNodeTest.cpp'; then $(CYGPATH_W) 'XMLNodeTest.cpp'; else $(CYGPATH_W) '$(srcdir)/XMLNodeTest.cpp'; fi`
2448 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/XMLNodeTest-XMLNodeTest.Tpo $(DEPDIR)/XMLNodeTest-XMLNodeTest.Po
2449 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='XMLNodeTest.cpp' object='XMLNodeTest-XMLNodeTest.obj' libtool=no @AMDEPBACKSLASH@
2450 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2451 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(XMLNodeTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o XMLNodeTest-XMLNodeTest.obj `if test -f 'XMLNodeTest.cpp'; then $(CYGPATH_W) 'XMLNodeTest.cpp'; else $(CYGPATH_W) '$(srcdir)/XMLNodeTest.cpp'; fi`
2452
2453 XMLStringTest-XMLStringTest.o: XMLStringTest.cpp
2454 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(XMLStringTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT XMLStringTest-XMLStringTest.o -MD -MP -MF $(DEPDIR)/XMLStringTest-XMLStringTest.Tpo -c -o XMLStringTest-XMLStringTest.o `test -f 'XMLStringTest.cpp' || echo '$(srcdir)/'`XMLStringTest.cpp
2455 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/XMLStringTest-XMLStringTest.Tpo $(DEPDIR)/XMLStringTest-XMLStringTest.Po
2456 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='XMLStringTest.cpp' object='XMLStringTest-XMLStringTest.o' libtool=no @AMDEPBACKSLASH@
2457 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2458 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(XMLStringTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o XMLStringTest-XMLStringTest.o `test -f 'XMLStringTest.cpp' || echo '$(srcdir)/'`XMLStringTest.cpp
2459
2460 XMLStringTest-XMLStringTest.obj: XMLStringTest.cpp
2461 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(XMLStringTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT XMLStringTest-XMLStringTest.obj -MD -MP -MF $(DEPDIR)/XMLStringTest-XMLStringTest.Tpo -c -o XMLStringTest-XMLStringTest.obj `if test -f 'XMLStringTest.cpp'; then $(CYGPATH_W) 'XMLStringTest.cpp'; else $(CYGPATH_W) '$(srcdir)/XMLStringTest.cpp'; fi`
2462 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/XMLStringTest-XMLStringTest.Tpo $(DEPDIR)/XMLStringTest-XMLStringTest.Po
2463 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='XMLStringTest.cpp' object='XMLStringTest-XMLStringTest.obj' libtool=no @AMDEPBACKSLASH@
2464 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2465 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(XMLStringTest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o XMLStringTest-XMLStringTest.obj `if test -f 'XMLStringTest.cpp'; then $(CYGPATH_W) 'XMLStringTest.cpp'; else $(CYGPATH_W) '$(srcdir)/XMLStringTest.cpp'; fi`
2466
2467 hashcheck-hashcheck.o: hashcheck.cpp
2468 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hashcheck_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT hashcheck-hashcheck.o -MD -MP -MF $(DEPDIR)/hashcheck-hashcheck.Tpo -c -o hashcheck-hashcheck.o `test -f 'hashcheck.cpp' || echo '$(srcdir)/'`hashcheck.cpp
2469 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/hashcheck-hashcheck.Tpo $(DEPDIR)/hashcheck-hashcheck.Po
2470 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hashcheck.cpp' object='hashcheck-hashcheck.o' libtool=no @AMDEPBACKSLASH@
2471 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2472 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hashcheck_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o hashcheck-hashcheck.o `test -f 'hashcheck.cpp' || echo '$(srcdir)/'`hashcheck.cpp
2473
2474 hashcheck-hashcheck.obj: hashcheck.cpp
2475 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hashcheck_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT hashcheck-hashcheck.obj -MD -MP -MF $(DEPDIR)/hashcheck-hashcheck.Tpo -c -o hashcheck-hashcheck.obj `if test -f 'hashcheck.cpp'; then $(CYGPATH_W) 'hashcheck.cpp'; else $(CYGPATH_W) '$(srcdir)/hashcheck.cpp'; fi`
2476 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/hashcheck-hashcheck.Tpo $(DEPDIR)/hashcheck-hashcheck.Po
2477 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hashcheck.cpp' object='hashcheck-hashcheck.obj' libtool=no @AMDEPBACKSLASH@
2478 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2479 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hashcheck_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o hashcheck-hashcheck.obj `if test -f 'hashcheck.cpp'; then $(CYGPATH_W) 'hashcheck.cpp'; else $(CYGPATH_W) '$(srcdir)/hashcheck.cpp'; fi`
2480
2481 .cpp.o:
2482 @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
2483 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
2484 @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
2485 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
2486 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2487 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $<
2488
2489 .cpp.obj:
2490 @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
2491 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
2492 @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
2493 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
2494 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2495 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
2496
2497 .cpp.lo:
2498 @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
2499 @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
2500 @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
2501 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
2502 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2503 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $<
2504
2505 mostlyclean-libtool:
2506 -rm -f *.lo
2507
2508 clean-libtool:
2509 -rm -rf .libs _libs
2510 -rm -rf gtest/src/.libs gtest/src/_libs
2511
2512 # This directory's subdirectories are mostly independent; you can cd
2513 # into them and run 'make' without going through this Makefile.
2514 # To change the values of 'make' variables: instead of editing Makefiles,
2515 # (1) if the variable is set in 'config.status', edit 'config.status'
2516 # (which will cause the Makefiles to be regenerated when you run 'make');
2517 # (2) otherwise, pass the desired values on the 'make' command line.
2518 $(am__recursive_targets):
2519 @fail=; \
2520 if $(am__make_keepgoing); then \
2521 failcom='fail=yes'; \
2522 else \
2523 failcom='exit 1'; \
2524 fi; \
2525 dot_seen=no; \
2526 target=`echo $@ | sed s/-recursive//`; \
2527 case "$@" in \
2528 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
2529 *) list='$(SUBDIRS)' ;; \
2530 esac; \
2531 for subdir in $$list; do \
2532 echo "Making $$target in $$subdir"; \
2533 if test "$$subdir" = "."; then \
2534 dot_seen=yes; \
2535 local_target="$$target-am"; \
2536 else \
2537 local_target="$$target"; \
2538 fi; \
2539 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
2540 || eval $$failcom; \
2541 done; \
2542 if test "$$dot_seen" = "no"; then \
2543 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
2544 fi; test -z "$$fail"
2545
2546 ID: $(am__tagged_files)
2547 $(am__define_uniq_tagged_files); mkid -fID $$unique
2548 tags: tags-recursive
2549 TAGS: tags
2550
2551 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
2552 set x; \
2553 here=`pwd`; \
2554 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
2555 include_option=--etags-include; \
2556 empty_fix=.; \
2557 else \
2558 include_option=--include; \
2559 empty_fix=; \
2560 fi; \
2561 list='$(SUBDIRS)'; for subdir in $$list; do \
2562 if test "$$subdir" = .; then :; else \
2563 test ! -f $$subdir/TAGS || \
2564 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
2565 fi; \
2566 done; \
2567 $(am__define_uniq_tagged_files); \
2568 shift; \
2569 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
2570 test -n "$$unique" || unique=$$empty_fix; \
2571 if test $$# -gt 0; then \
2572 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
2573 "$$@" $$unique; \
2574 else \
2575 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
2576 $$unique; \
2577 fi; \
2578 fi
2579 ctags: ctags-recursive
2580
2581 CTAGS: ctags
2582 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
2583 $(am__define_uniq_tagged_files); \
2584 test -z "$(CTAGS_ARGS)$$unique" \
2585 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
2586 $$unique
2587
2588 GTAGS:
2589 here=`$(am__cd) $(top_builddir) && pwd` \
2590 && $(am__cd) $(top_srcdir) \
2591 && gtags -i $(GTAGS_ARGS) "$$here"
2592 cscopelist: cscopelist-recursive
2593
2594 cscopelist-am: $(am__tagged_files)
2595 list='$(am__tagged_files)'; \
2596 case "$(srcdir)" in \
2597 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
2598 *) sdir=$(subdir)/$(srcdir) ;; \
2599 esac; \
2600 for i in $$list; do \
2601 if test -f "$$i"; then \
2602 echo "$(subdir)/$$i"; \
2603 else \
2604 echo "$$sdir/$$i"; \
2605 fi; \
2606 done >> $(top_builddir)/cscope.files
2607
2608 distclean-tags:
2609 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
2610
2611 # Recover from deleted '.trs' file; this should ensure that
2612 # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
2613 # both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
2614 # to avoid problems with "make -n".
2615 .log.trs:
2616 rm -f $< $@
2617 $(MAKE) $(AM_MAKEFLAGS) $<
2618
2619 # Leading 'am--fnord' is there to ensure the list of targets does not
2620 # expand to empty, as could happen e.g. with make check TESTS=''.
2621 am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
2622 am--force-recheck:
2623 @:
2624
2625 $(TEST_SUITE_LOG): $(TEST_LOGS)
2626 @$(am__set_TESTS_bases); \
2627 am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
2628 redo_bases=`for i in $$bases; do \
2629 am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
2630 done`; \
2631 if test -n "$$redo_bases"; then \
2632 redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
2633 redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
2634 if $(am__make_dryrun); then :; else \
2635 rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
2636 fi; \
2637 fi; \
2638 if test -n "$$am__remaking_logs"; then \
2639 echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
2640 "recursion detected" >&2; \
2641 elif test -n "$$redo_logs"; then \
2642 am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
2643 fi; \
2644 if $(am__make_dryrun); then :; else \
2645 st=0; \
2646 errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
2647 for i in $$redo_bases; do \
2648 test -f $$i.trs && test -r $$i.trs \
2649 || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
2650 test -f $$i.log && test -r $$i.log \
2651 || { echo "$$errmsg $$i.log" >&2; st=1; }; \
2652 done; \
2653 test $$st -eq 0 || exit 1; \
2654 fi
2655 @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
2656 ws='[ ]'; \
2657 results=`for b in $$bases; do echo $$b.trs; done`; \
2658 test -n "$$results" || results=/dev/null; \
2659 all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
2660 pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
2661 fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
2662 skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
2663 xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
2664 xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
2665 error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
2666 if test `expr $$fail + $$xpass + $$error` -eq 0; then \
2667 success=true; \
2668 else \
2669 success=false; \
2670 fi; \
2671 br='==================='; br=$$br$$br$$br$$br; \
2672 result_count () \
2673 { \
2674 if test x"$$1" = x"--maybe-color"; then \
2675 maybe_colorize=yes; \
2676 elif test x"$$1" = x"--no-color"; then \
2677 maybe_colorize=no; \
2678 else \
2679 echo "$@: invalid 'result_count' usage" >&2; exit 4; \
2680 fi; \
2681 shift; \
2682 desc=$$1 count=$$2; \
2683 if test $$maybe_colorize = yes && test $$count -gt 0; then \
2684 color_start=$$3 color_end=$$std; \
2685 else \
2686 color_start= color_end=; \
2687 fi; \
2688 echo "$${color_start}# $$desc $$count$${color_end}"; \
2689 }; \
2690 create_testsuite_report () \
2691 { \
2692 result_count $$1 "TOTAL:" $$all "$$brg"; \
2693 result_count $$1 "PASS: " $$pass "$$grn"; \
2694 result_count $$1 "SKIP: " $$skip "$$blu"; \
2695 result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
2696 result_count $$1 "FAIL: " $$fail "$$red"; \
2697 result_count $$1 "XPASS:" $$xpass "$$red"; \
2698 result_count $$1 "ERROR:" $$error "$$mgn"; \
2699 }; \
2700 { \
2701 echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
2702 $(am__rst_title); \
2703 create_testsuite_report --no-color; \
2704 echo; \
2705 echo ".. contents:: :depth: 2"; \
2706 echo; \
2707 for b in $$bases; do echo $$b; done \
2708 | $(am__create_global_log); \
2709 } >$(TEST_SUITE_LOG).tmp || exit 1; \
2710 mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
2711 if $$success; then \
2712 col="$$grn"; \
2713 else \
2714 col="$$red"; \
2715 test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
2716 fi; \
2717 echo "$${col}$$br$${std}"; \
2718 echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
2719 echo "$${col}$$br$${std}"; \
2720 create_testsuite_report --maybe-color; \
2721 echo "$$col$$br$$std"; \
2722 if $$success; then :; else \
2723 echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
2724 if test -n "$(PACKAGE_BUGREPORT)"; then \
2725 echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
2726 fi; \
2727 echo "$$col$$br$$std"; \
2728 fi; \
2729 $$success || exit 1
2730
2731 check-TESTS: $(check_PROGRAMS) $(check_LTLIBRARIES)
2732 @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
2733 @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
2734 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
2735 @set +e; $(am__set_TESTS_bases); \
2736 log_list=`for i in $$bases; do echo $$i.log; done`; \
2737 trs_list=`for i in $$bases; do echo $$i.trs; done`; \
2738 log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
2739 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
2740 exit $$?;
2741 recheck: all $(check_PROGRAMS) $(check_LTLIBRARIES)
2742 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
2743 @set +e; $(am__set_TESTS_bases); \
2744 bases=`for i in $$bases; do echo $$i; done \
2745 | $(am__list_recheck_tests)` || exit 1; \
2746 log_list=`for i in $$bases; do echo $$i.log; done`; \
2747 log_list=`echo $$log_list`; \
2748 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
2749 am__force_recheck=am--force-recheck \
2750 TEST_LOGS="$$log_list"; \
2751 exit $$?
2752 hashcheck.log: hashcheck$(EXEEXT)
2753 @p='hashcheck$(EXEEXT)'; \
2754 b='hashcheck'; \
2755 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2756 --log-file $$b.log --trs-file $$b.trs \
2757 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2758 "$$tst" $(AM_TESTS_FD_REDIRECT)
2759 BezierTest.log: BezierTest$(EXEEXT)
2760 @p='BezierTest$(EXEEXT)'; \
2761 b='BezierTest'; \
2762 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2763 --log-file $$b.log --trs-file $$b.trs \
2764 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2765 "$$tst" $(AM_TESTS_FD_REDIRECT)
2766 BitmapTest.log: BitmapTest$(EXEEXT)
2767 @p='BitmapTest$(EXEEXT)'; \
2768 b='BitmapTest'; \
2769 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2770 --log-file $$b.log --trs-file $$b.trs \
2771 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2772 "$$tst" $(AM_TESTS_FD_REDIRECT)
2773 BoundingBoxTest.log: BoundingBoxTest$(EXEEXT)
2774 @p='BoundingBoxTest$(EXEEXT)'; \
2775 b='BoundingBoxTest'; \
2776 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2777 --log-file $$b.log --trs-file $$b.trs \
2778 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2779 "$$tst" $(AM_TESTS_FD_REDIRECT)
2780 CalculatorTest.log: CalculatorTest$(EXEEXT)
2781 @p='CalculatorTest$(EXEEXT)'; \
2782 b='CalculatorTest'; \
2783 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2784 --log-file $$b.log --trs-file $$b.trs \
2785 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2786 "$$tst" $(AM_TESTS_FD_REDIRECT)
2787 CMapManagerTest.log: CMapManagerTest$(EXEEXT)
2788 @p='CMapManagerTest$(EXEEXT)'; \
2789 b='CMapManagerTest'; \
2790 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2791 --log-file $$b.log --trs-file $$b.trs \
2792 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2793 "$$tst" $(AM_TESTS_FD_REDIRECT)
2794 CMapReaderTest.log: CMapReaderTest$(EXEEXT)
2795 @p='CMapReaderTest$(EXEEXT)'; \
2796 b='CMapReaderTest'; \
2797 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2798 --log-file $$b.log --trs-file $$b.trs \
2799 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2800 "$$tst" $(AM_TESTS_FD_REDIRECT)
2801 CMapTest.log: CMapTest$(EXEEXT)
2802 @p='CMapTest$(EXEEXT)'; \
2803 b='CMapTest'; \
2804 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2805 --log-file $$b.log --trs-file $$b.trs \
2806 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2807 "$$tst" $(AM_TESTS_FD_REDIRECT)
2808 ColorSpecialTest.log: ColorSpecialTest$(EXEEXT)
2809 @p='ColorSpecialTest$(EXEEXT)'; \
2810 b='ColorSpecialTest'; \
2811 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2812 --log-file $$b.log --trs-file $$b.trs \
2813 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2814 "$$tst" $(AM_TESTS_FD_REDIRECT)
2815 ColorTest.log: ColorTest$(EXEEXT)
2816 @p='ColorTest$(EXEEXT)'; \
2817 b='ColorTest'; \
2818 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2819 --log-file $$b.log --trs-file $$b.trs \
2820 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2821 "$$tst" $(AM_TESTS_FD_REDIRECT)
2822 CommandLineTest.log: CommandLineTest$(EXEEXT)
2823 @p='CommandLineTest$(EXEEXT)'; \
2824 b='CommandLineTest'; \
2825 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2826 --log-file $$b.log --trs-file $$b.trs \
2827 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2828 "$$tst" $(AM_TESTS_FD_REDIRECT)
2829 DependencyGraphTest.log: DependencyGraphTest$(EXEEXT)
2830 @p='DependencyGraphTest$(EXEEXT)'; \
2831 b='DependencyGraphTest'; \
2832 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2833 --log-file $$b.log --trs-file $$b.trs \
2834 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2835 "$$tst" $(AM_TESTS_FD_REDIRECT)
2836 DirectoryTest.log: DirectoryTest$(EXEEXT)
2837 @p='DirectoryTest$(EXEEXT)'; \
2838 b='DirectoryTest'; \
2839 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2840 --log-file $$b.log --trs-file $$b.trs \
2841 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2842 "$$tst" $(AM_TESTS_FD_REDIRECT)
2843 DVIReaderTest.log: DVIReaderTest$(EXEEXT)
2844 @p='DVIReaderTest$(EXEEXT)'; \
2845 b='DVIReaderTest'; \
2846 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2847 --log-file $$b.log --trs-file $$b.trs \
2848 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2849 "$$tst" $(AM_TESTS_FD_REDIRECT)
2850 DvisvgmSpecialTest.log: DvisvgmSpecialTest$(EXEEXT)
2851 @p='DvisvgmSpecialTest$(EXEEXT)'; \
2852 b='DvisvgmSpecialTest'; \
2853 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2854 --log-file $$b.log --trs-file $$b.trs \
2855 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2856 "$$tst" $(AM_TESTS_FD_REDIRECT)
2857 EllipticalArcTest.log: EllipticalArcTest$(EXEEXT)
2858 @p='EllipticalArcTest$(EXEEXT)'; \
2859 b='EllipticalArcTest'; \
2860 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2861 --log-file $$b.log --trs-file $$b.trs \
2862 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2863 "$$tst" $(AM_TESTS_FD_REDIRECT)
2864 EmSpecialTest.log: EmSpecialTest$(EXEEXT)
2865 @p='EmSpecialTest$(EXEEXT)'; \
2866 b='EmSpecialTest'; \
2867 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2868 --log-file $$b.log --trs-file $$b.trs \
2869 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2870 "$$tst" $(AM_TESTS_FD_REDIRECT)
2871 FileFinderTest.log: FileFinderTest$(EXEEXT)
2872 @p='FileFinderTest$(EXEEXT)'; \
2873 b='FileFinderTest'; \
2874 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2875 --log-file $$b.log --trs-file $$b.trs \
2876 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2877 "$$tst" $(AM_TESTS_FD_REDIRECT)
2878 FilePathTest.log: FilePathTest$(EXEEXT)
2879 @p='FilePathTest$(EXEEXT)'; \
2880 b='FilePathTest'; \
2881 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2882 --log-file $$b.log --trs-file $$b.trs \
2883 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2884 "$$tst" $(AM_TESTS_FD_REDIRECT)
2885 FileSystemTest.log: FileSystemTest$(EXEEXT)
2886 @p='FileSystemTest$(EXEEXT)'; \
2887 b='FileSystemTest'; \
2888 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2889 --log-file $$b.log --trs-file $$b.trs \
2890 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2891 "$$tst" $(AM_TESTS_FD_REDIRECT)
2892 FontCacheTest.log: FontCacheTest$(EXEEXT)
2893 @p='FontCacheTest$(EXEEXT)'; \
2894 b='FontCacheTest'; \
2895 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2896 --log-file $$b.log --trs-file $$b.trs \
2897 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2898 "$$tst" $(AM_TESTS_FD_REDIRECT)
2899 FontManagerTest.log: FontManagerTest$(EXEEXT)
2900 @p='FontManagerTest$(EXEEXT)'; \
2901 b='FontManagerTest'; \
2902 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2903 --log-file $$b.log --trs-file $$b.trs \
2904 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2905 "$$tst" $(AM_TESTS_FD_REDIRECT)
2906 FontMapTest.log: FontMapTest$(EXEEXT)
2907 @p='FontMapTest$(EXEEXT)'; \
2908 b='FontMapTest'; \
2909 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2910 --log-file $$b.log --trs-file $$b.trs \
2911 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2912 "$$tst" $(AM_TESTS_FD_REDIRECT)
2913 GFGlyphTracerTest.log: GFGlyphTracerTest$(EXEEXT)
2914 @p='GFGlyphTracerTest$(EXEEXT)'; \
2915 b='GFGlyphTracerTest'; \
2916 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2917 --log-file $$b.log --trs-file $$b.trs \
2918 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2919 "$$tst" $(AM_TESTS_FD_REDIRECT)
2920 GFReaderTest.log: GFReaderTest$(EXEEXT)
2921 @p='GFReaderTest$(EXEEXT)'; \
2922 b='GFReaderTest'; \
2923 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2924 --log-file $$b.log --trs-file $$b.trs \
2925 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2926 "$$tst" $(AM_TESTS_FD_REDIRECT)
2927 GhostscriptTest.log: GhostscriptTest$(EXEEXT)
2928 @p='GhostscriptTest$(EXEEXT)'; \
2929 b='GhostscriptTest'; \
2930 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2931 --log-file $$b.log --trs-file $$b.trs \
2932 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2933 "$$tst" $(AM_TESTS_FD_REDIRECT)
2934 GraphicsPathTest.log: GraphicsPathTest$(EXEEXT)
2935 @p='GraphicsPathTest$(EXEEXT)'; \
2936 b='GraphicsPathTest'; \
2937 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2938 --log-file $$b.log --trs-file $$b.trs \
2939 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2940 "$$tst" $(AM_TESTS_FD_REDIRECT)
2941 HashFunctionTest.log: HashFunctionTest$(EXEEXT)
2942 @p='HashFunctionTest$(EXEEXT)'; \
2943 b='HashFunctionTest'; \
2944 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2945 --log-file $$b.log --trs-file $$b.trs \
2946 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2947 "$$tst" $(AM_TESTS_FD_REDIRECT)
2948 JFMReaderTest.log: JFMReaderTest$(EXEEXT)
2949 @p='JFMReaderTest$(EXEEXT)'; \
2950 b='JFMReaderTest'; \
2951 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2952 --log-file $$b.log --trs-file $$b.trs \
2953 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2954 "$$tst" $(AM_TESTS_FD_REDIRECT)
2955 LengthTest.log: LengthTest$(EXEEXT)
2956 @p='LengthTest$(EXEEXT)'; \
2957 b='LengthTest'; \
2958 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2959 --log-file $$b.log --trs-file $$b.trs \
2960 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2961 "$$tst" $(AM_TESTS_FD_REDIRECT)
2962 MapLineTest.log: MapLineTest$(EXEEXT)
2963 @p='MapLineTest$(EXEEXT)'; \
2964 b='MapLineTest'; \
2965 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2966 --log-file $$b.log --trs-file $$b.trs \
2967 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2968 "$$tst" $(AM_TESTS_FD_REDIRECT)
2969 MatrixTest.log: MatrixTest$(EXEEXT)
2970 @p='MatrixTest$(EXEEXT)'; \
2971 b='MatrixTest'; \
2972 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2973 --log-file $$b.log --trs-file $$b.trs \
2974 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2975 "$$tst" $(AM_TESTS_FD_REDIRECT)
2976 MessageExceptionTest.log: MessageExceptionTest$(EXEEXT)
2977 @p='MessageExceptionTest$(EXEEXT)'; \
2978 b='MessageExceptionTest'; \
2979 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2980 --log-file $$b.log --trs-file $$b.trs \
2981 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2982 "$$tst" $(AM_TESTS_FD_REDIRECT)
2983 PageRagesTest.log: PageRagesTest$(EXEEXT)
2984 @p='PageRagesTest$(EXEEXT)'; \
2985 b='PageRagesTest'; \
2986 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2987 --log-file $$b.log --trs-file $$b.trs \
2988 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2989 "$$tst" $(AM_TESTS_FD_REDIRECT)
2990 PageSizeTest.log: PageSizeTest$(EXEEXT)
2991 @p='PageSizeTest$(EXEEXT)'; \
2992 b='PageSizeTest'; \
2993 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2994 --log-file $$b.log --trs-file $$b.trs \
2995 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2996 "$$tst" $(AM_TESTS_FD_REDIRECT)
2997 PairTest.log: PairTest$(EXEEXT)
2998 @p='PairTest$(EXEEXT)'; \
2999 b='PairTest'; \
3000 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
3001 --log-file $$b.log --trs-file $$b.trs \
3002 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
3003 "$$tst" $(AM_TESTS_FD_REDIRECT)
3004 PapersizeSpecialTest.log: PapersizeSpecialTest$(EXEEXT)
3005 @p='PapersizeSpecialTest$(EXEEXT)'; \
3006 b='PapersizeSpecialTest'; \
3007 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
3008 --log-file $$b.log --trs-file $$b.trs \
3009 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
3010 "$$tst" $(AM_TESTS_FD_REDIRECT)
3011 PDFParserTest.log: PDFParserTest$(EXEEXT)
3012 @p='PDFParserTest$(EXEEXT)'; \
3013 b='PDFParserTest'; \
3014 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
3015 --log-file $$b.log --trs-file $$b.trs \
3016 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
3017 "$$tst" $(AM_TESTS_FD_REDIRECT)
3018 PSInterpreterTest.log: PSInterpreterTest$(EXEEXT)
3019 @p='PSInterpreterTest$(EXEEXT)'; \
3020 b='PSInterpreterTest'; \
3021 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
3022 --log-file $$b.log --trs-file $$b.trs \
3023 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
3024 "$$tst" $(AM_TESTS_FD_REDIRECT)
3025 RangeMapTest.log: RangeMapTest$(EXEEXT)
3026 @p='RangeMapTest$(EXEEXT)'; \
3027 b='RangeMapTest'; \
3028 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
3029 --log-file $$b.log --trs-file $$b.trs \
3030 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
3031 "$$tst" $(AM_TESTS_FD_REDIRECT)
3032 ShadingPatchTest.log: ShadingPatchTest$(EXEEXT)
3033 @p='ShadingPatchTest$(EXEEXT)'; \
3034 b='ShadingPatchTest'; \
3035 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
3036 --log-file $$b.log --trs-file $$b.trs \
3037 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
3038 "$$tst" $(AM_TESTS_FD_REDIRECT)
3039 SpecialManagerTest.log: SpecialManagerTest$(EXEEXT)
3040 @p='SpecialManagerTest$(EXEEXT)'; \
3041 b='SpecialManagerTest'; \
3042 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
3043 --log-file $$b.log --trs-file $$b.trs \
3044 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
3045 "$$tst" $(AM_TESTS_FD_REDIRECT)
3046 SplittedCharInputBufferTest.log: SplittedCharInputBufferTest$(EXEEXT)
3047 @p='SplittedCharInputBufferTest$(EXEEXT)'; \
3048 b='SplittedCharInputBufferTest'; \
3049 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
3050 --log-file $$b.log --trs-file $$b.trs \
3051 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
3052 "$$tst" $(AM_TESTS_FD_REDIRECT)
3053 StreamInputBufferTest.log: StreamInputBufferTest$(EXEEXT)
3054 @p='StreamInputBufferTest$(EXEEXT)'; \
3055 b='StreamInputBufferTest'; \
3056 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
3057 --log-file $$b.log --trs-file $$b.trs \
3058 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
3059 "$$tst" $(AM_TESTS_FD_REDIRECT)
3060 StreamReaderTest.log: StreamReaderTest$(EXEEXT)
3061 @p='StreamReaderTest$(EXEEXT)'; \
3062 b='StreamReaderTest'; \
3063 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
3064 --log-file $$b.log --trs-file $$b.trs \
3065 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
3066 "$$tst" $(AM_TESTS_FD_REDIRECT)
3067 StreamWriterTest.log: StreamWriterTest$(EXEEXT)
3068 @p='StreamWriterTest$(EXEEXT)'; \
3069 b='StreamWriterTest'; \
3070 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
3071 --log-file $$b.log --trs-file $$b.trs \
3072 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
3073 "$$tst" $(AM_TESTS_FD_REDIRECT)
3074 StringMatcherTest.log: StringMatcherTest$(EXEEXT)
3075 @p='StringMatcherTest$(EXEEXT)'; \
3076 b='StringMatcherTest'; \
3077 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
3078 --log-file $$b.log --trs-file $$b.trs \
3079 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
3080 "$$tst" $(AM_TESTS_FD_REDIRECT)
3081 SubfontTest.log: SubfontTest$(EXEEXT)
3082 @p='SubfontTest$(EXEEXT)'; \
3083 b='SubfontTest'; \
3084 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
3085 --log-file $$b.log --trs-file $$b.trs \
3086 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
3087 "$$tst" $(AM_TESTS_FD_REDIRECT)
3088 SVGOutputTest.log: SVGOutputTest$(EXEEXT)
3089 @p='SVGOutputTest$(EXEEXT)'; \
3090 b='SVGOutputTest'; \
3091 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
3092 --log-file $$b.log --trs-file $$b.trs \
3093 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
3094 "$$tst" $(AM_TESTS_FD_REDIRECT)
3095 TensorProductPatchTest.log: TensorProductPatchTest$(EXEEXT)
3096 @p='TensorProductPatchTest$(EXEEXT)'; \
3097 b='TensorProductPatchTest'; \
3098 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
3099 --log-file $$b.log --trs-file $$b.trs \
3100 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
3101 "$$tst" $(AM_TESTS_FD_REDIRECT)
3102 TFMReaderTest.log: TFMReaderTest$(EXEEXT)
3103 @p='TFMReaderTest$(EXEEXT)'; \
3104 b='TFMReaderTest'; \
3105 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
3106 --log-file $$b.log --trs-file $$b.trs \
3107 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
3108 "$$tst" $(AM_TESTS_FD_REDIRECT)
3109 ToUnicodeMapTest.log: ToUnicodeMapTest$(EXEEXT)
3110 @p='ToUnicodeMapTest$(EXEEXT)'; \
3111 b='ToUnicodeMapTest'; \
3112 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
3113 --log-file $$b.log --trs-file $$b.trs \
3114 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
3115 "$$tst" $(AM_TESTS_FD_REDIRECT)
3116 TpicSpecialTest.log: TpicSpecialTest$(EXEEXT)
3117 @p='TpicSpecialTest$(EXEEXT)'; \
3118 b='TpicSpecialTest'; \
3119 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
3120 --log-file $$b.log --trs-file $$b.trs \
3121 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
3122 "$$tst" $(AM_TESTS_FD_REDIRECT)
3123 TriangularPatchTest.log: TriangularPatchTest$(EXEEXT)
3124 @p='TriangularPatchTest$(EXEEXT)'; \
3125 b='TriangularPatchTest'; \
3126 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
3127 --log-file $$b.log --trs-file $$b.trs \
3128 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
3129 "$$tst" $(AM_TESTS_FD_REDIRECT)
3130 UnicodeTest.log: UnicodeTest$(EXEEXT)
3131 @p='UnicodeTest$(EXEEXT)'; \
3132 b='UnicodeTest'; \
3133 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
3134 --log-file $$b.log --trs-file $$b.trs \
3135 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
3136 "$$tst" $(AM_TESTS_FD_REDIRECT)
3137 UtilityTest.log: UtilityTest$(EXEEXT)
3138 @p='UtilityTest$(EXEEXT)'; \
3139 b='UtilityTest'; \
3140 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
3141 --log-file $$b.log --trs-file $$b.trs \
3142 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
3143 "$$tst" $(AM_TESTS_FD_REDIRECT)
3144 VectorIteratorTest.log: VectorIteratorTest$(EXEEXT)
3145 @p='VectorIteratorTest$(EXEEXT)'; \
3146 b='VectorIteratorTest'; \
3147 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
3148 --log-file $$b.log --trs-file $$b.trs \
3149 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
3150 "$$tst" $(AM_TESTS_FD_REDIRECT)
3151 VectorStreamTest.log: VectorStreamTest$(EXEEXT)
3152 @p='VectorStreamTest$(EXEEXT)'; \
3153 b='VectorStreamTest'; \
3154 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
3155 --log-file $$b.log --trs-file $$b.trs \
3156 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
3157 "$$tst" $(AM_TESTS_FD_REDIRECT)
3158 XMLNodeTest.log: XMLNodeTest$(EXEEXT)
3159 @p='XMLNodeTest$(EXEEXT)'; \
3160 b='XMLNodeTest'; \
3161 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
3162 --log-file $$b.log --trs-file $$b.trs \
3163 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
3164 "$$tst" $(AM_TESTS_FD_REDIRECT)
3165 XMLStringTest.log: XMLStringTest$(EXEEXT)
3166 @p='XMLStringTest$(EXEEXT)'; \
3167 b='XMLStringTest'; \
3168 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
3169 --log-file $$b.log --trs-file $$b.trs \
3170 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
3171 "$$tst" $(AM_TESTS_FD_REDIRECT)
3172 check-conv.log: check-conv
3173 @p='check-conv'; \
3174 b='check-conv'; \
3175 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
3176 --log-file $$b.log --trs-file $$b.trs \
3177 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
3178 "$$tst" $(AM_TESTS_FD_REDIRECT)
3179 .test.log:
3180 @p='$<'; \
3181 $(am__set_b); \
3182 $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
3183 --log-file $$b.log --trs-file $$b.trs \
3184 $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
3185 "$$tst" $(AM_TESTS_FD_REDIRECT)
3186 @am__EXEEXT_TRUE@.test$(EXEEXT).log:
3187 @am__EXEEXT_TRUE@ @p='$<'; \
3188 @am__EXEEXT_TRUE@ $(am__set_b); \
3189 @am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
3190 @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
3191 @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
3192 @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
3193
3194 distdir: $(BUILT_SOURCES)
3195 $(MAKE) $(AM_MAKEFLAGS) distdir-am
3196
3197 distdir-am: $(DISTFILES)
3198 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
3199 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
3200 list='$(DISTFILES)'; \
3201 dist_files=`for file in $$list; do echo $$file; done | \
3202 sed -e "s|^$$srcdirstrip/||;t" \
3203 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
3204 case $$dist_files in \
3205 */*) $(MKDIR_P) `echo "$$dist_files" | \
3206 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
3207 sort -u` ;; \
3208 esac; \
3209 for file in $$dist_files; do \
3210 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
3211 if test -d $$d/$$file; then \
3212 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
3213 if test -d "$(distdir)/$$file"; then \
3214 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
3215 fi; \
3216 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
3217 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
3218 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
3219 fi; \
3220 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
3221 else \
3222 test -f "$(distdir)/$$file" \
3223 || cp -p $$d/$$file "$(distdir)/$$file" \
3224 || exit 1; \
3225 fi; \
3226 done
3227 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
3228 if test "$$subdir" = .; then :; else \
3229 $(am__make_dryrun) \
3230 || test -d "$(distdir)/$$subdir" \
3231 || $(MKDIR_P) "$(distdir)/$$subdir" \
3232 || exit 1; \
3233 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
3234 $(am__relativize); \
3235 new_distdir=$$reldir; \
3236 dir1=$$subdir; dir2="$(top_distdir)"; \
3237 $(am__relativize); \
3238 new_top_distdir=$$reldir; \
3239 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
3240 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
3241 ($(am__cd) $$subdir && \
3242 $(MAKE) $(AM_MAKEFLAGS) \
3243 top_distdir="$$new_top_distdir" \
3244 distdir="$$new_distdir" \
3245 am__remove_distdir=: \
3246 am__skip_length_check=: \
3247 am__skip_mode_fix=: \
3248 distdir) \
3249 || exit 1; \
3250 fi; \
3251 done
3252 check-am: all-am
3253 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) $(check_LTLIBRARIES)
3254 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
3255 check: check-recursive
3256 all-am: Makefile
3257 installdirs: installdirs-recursive
3258 installdirs-am:
3259 install: install-recursive
3260 install-exec: install-exec-recursive
3261 install-data: install-data-recursive
3262 uninstall: uninstall-recursive
3263
3264 install-am: all-am
3265 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
3266
3267 installcheck: installcheck-recursive
3268 install-strip:
3269 if test -z '$(STRIP)'; then \
3270 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
3271 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
3272 install; \
3273 else \
3274 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
3275 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
3276 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
3277 fi
3278 mostlyclean-generic:
3279 -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
3280 -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
3281 -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
3282
3283 clean-generic:
3284 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
3285
3286 distclean-generic:
3287 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
3288 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
3289 -rm -f gtest/src/$(DEPDIR)/$(am__dirstamp)
3290 -rm -f gtest/src/$(am__dirstamp)
3291
3292 maintainer-clean-generic:
3293 @echo "This command is intended for maintainers to use"
3294 @echo "it deletes files that may require special tools to rebuild."
3295 clean: clean-recursive
3296
3297 clean-am: clean-checkLTLIBRARIES clean-checkPROGRAMS clean-generic \
3298 clean-libtool mostlyclean-am
3299
3300 distclean: distclean-recursive
3301 -rm -f ./$(DEPDIR)/BezierTest-BezierTest.Po
3302 -rm -f ./$(DEPDIR)/BitmapTest-BitmapTest.Po
3303 -rm -f ./$(DEPDIR)/BoundingBoxTest-BoundingBoxTest.Po
3304 -rm -f ./$(DEPDIR)/CMapManagerTest-CMapManagerTest.Po
3305 -rm -f ./$(DEPDIR)/CMapReaderTest-CMapReaderTest.Po
3306 -rm -f ./$(DEPDIR)/CMapTest-CMapTest.Po
3307 -rm -f ./$(DEPDIR)/CalculatorTest-CalculatorTest.Po
3308 -rm -f ./$(DEPDIR)/ColorSpecialTest-ColorSpecialTest.Po
3309 -rm -f ./$(DEPDIR)/ColorTest-ColorTest.Po
3310 -rm -f ./$(DEPDIR)/CommandLineTest-CommandLineTest.Po
3311 -rm -f ./$(DEPDIR)/DVIReaderTest-DVIReaderTest.Po
3312 -rm -f ./$(DEPDIR)/DependencyGraphTest-DependencyGraphTest.Po
3313 -rm -f ./$(DEPDIR)/DirectoryTest-DirectoryTest.Po
3314 -rm -f ./$(DEPDIR)/DvisvgmSpecialTest-DvisvgmSpecialTest.Po
3315 -rm -f ./$(DEPDIR)/EllipticalArcTest-EllipticalArcTest.Po
3316 -rm -f ./$(DEPDIR)/EmSpecialTest-EmSpecialTest.Po
3317 -rm -f ./$(DEPDIR)/FileFinderTest-FileFinderTest.Po
3318 -rm -f ./$(DEPDIR)/FilePathTest-FilePathTest.Po
3319 -rm -f ./$(DEPDIR)/FileSystemTest-FileSystemTest.Po
3320 -rm -f ./$(DEPDIR)/FontCacheTest-FontCacheTest.Po
3321 -rm -f ./$(DEPDIR)/FontManagerTest-FontManagerTest.Po
3322 -rm -f ./$(DEPDIR)/FontMapTest-FontMapTest.Po
3323 -rm -f ./$(DEPDIR)/GFGlyphTracerTest-GFGlyphTracerTest.Po
3324 -rm -f ./$(DEPDIR)/GFReaderTest-GFReaderTest.Po
3325 -rm -f ./$(DEPDIR)/GhostscriptTest-GhostscriptTest.Po
3326 -rm -f ./$(DEPDIR)/GraphicsPathTest-GraphicsPathTest.Po
3327 -rm -f ./$(DEPDIR)/HashFunctionTest-HashFunctionTest.Po
3328 -rm -f ./$(DEPDIR)/JFMReaderTest-JFMReaderTest.Po
3329 -rm -f ./$(DEPDIR)/LengthTest-LengthTest.Po
3330 -rm -f ./$(DEPDIR)/MapLineTest-MapLineTest.Po
3331 -rm -f ./$(DEPDIR)/MatrixTest-MatrixTest.Po
3332 -rm -f ./$(DEPDIR)/MessageExceptionTest-MessageExceptionTest.Po
3333 -rm -f ./$(DEPDIR)/PDFParserTest-PDFParserTest.Po
3334 -rm -f ./$(DEPDIR)/PSInterpreterTest-PSInterpreterTest.Po
3335 -rm -f ./$(DEPDIR)/PageRagesTest-PageRagesTest.Po
3336 -rm -f ./$(DEPDIR)/PageSizeTest-PageSizeTest.Po
3337 -rm -f ./$(DEPDIR)/PairTest-PairTest.Po
3338 -rm -f ./$(DEPDIR)/PapersizeSpecialTest-PapersizeSpecialTest.Po
3339 -rm -f ./$(DEPDIR)/RangeMapTest-RangeMapTest.Po
3340 -rm -f ./$(DEPDIR)/SVGOutputTest-SVGOutputTest.Po
3341 -rm -f ./$(DEPDIR)/ShadingPatchTest-ShadingPatchTest.Po
3342 -rm -f ./$(DEPDIR)/SpecialManagerTest-SpecialManagerTest.Po
3343 -rm -f ./$(DEPDIR)/SplittedCharInputBufferTest-SplittedCharInputBufferTest.Po
3344 -rm -f ./$(DEPDIR)/StreamInputBufferTest-StreamInputBufferTest.Po
3345 -rm -f ./$(DEPDIR)/StreamReaderTest-StreamReaderTest.Po
3346 -rm -f ./$(DEPDIR)/StreamWriterTest-StreamWriterTest.Po
3347 -rm -f ./$(DEPDIR)/StringMatcherTest-StringMatcherTest.Po
3348 -rm -f ./$(DEPDIR)/SubfontTest-SubfontTest.Po
3349 -rm -f ./$(DEPDIR)/TFMReaderTest-TFMReaderTest.Po
3350 -rm -f ./$(DEPDIR)/TensorProductPatchTest-TensorProductPatchTest.Po
3351 -rm -f ./$(DEPDIR)/ToUnicodeMapTest-ToUnicodeMapTest.Po
3352 -rm -f ./$(DEPDIR)/TpicSpecialTest-TpicSpecialTest.Po
3353 -rm -f ./$(DEPDIR)/TriangularPatchTest-TriangularPatchTest.Po
3354 -rm -f ./$(DEPDIR)/UnicodeTest-UnicodeTest.Po
3355 -rm -f ./$(DEPDIR)/UtilityTest-UtilityTest.Po
3356 -rm -f ./$(DEPDIR)/VectorIteratorTest-VectorIteratorTest.Po
3357 -rm -f ./$(DEPDIR)/VectorStreamTest-VectorStreamTest.Po
3358 -rm -f ./$(DEPDIR)/XMLNodeTest-XMLNodeTest.Po
3359 -rm -f ./$(DEPDIR)/XMLStringTest-XMLStringTest.Po
3360 -rm -f ./$(DEPDIR)/hashcheck-hashcheck.Po
3361 -rm -f ./$(DEPDIR)/libgtest_la-testmain.Plo
3362 -rm -f gtest/src/$(DEPDIR)/libgtest_la-gtest-all.Plo
3363 -rm -f Makefile
3364 distclean-am: clean-am distclean-compile distclean-generic \
3365 distclean-tags
3366
3367 dvi: dvi-recursive
3368
3369 dvi-am:
3370
3371 html: html-recursive
3372
3373 html-am:
3374
3375 info: info-recursive
3376
3377 info-am:
3378
3379 install-data-am:
3380
3381 install-dvi: install-dvi-recursive
3382
3383 install-dvi-am:
3384
3385 install-exec-am:
3386
3387 install-html: install-html-recursive
3388
3389 install-html-am:
3390
3391 install-info: install-info-recursive
3392
3393 install-info-am:
3394
3395 install-man:
3396
3397 install-pdf: install-pdf-recursive
3398
3399 install-pdf-am:
3400
3401 install-ps: install-ps-recursive
3402
3403 install-ps-am:
3404
3405 installcheck-am:
3406
3407 maintainer-clean: maintainer-clean-recursive
3408 -rm -f ./$(DEPDIR)/BezierTest-BezierTest.Po
3409 -rm -f ./$(DEPDIR)/BitmapTest-BitmapTest.Po
3410 -rm -f ./$(DEPDIR)/BoundingBoxTest-BoundingBoxTest.Po
3411 -rm -f ./$(DEPDIR)/CMapManagerTest-CMapManagerTest.Po
3412 -rm -f ./$(DEPDIR)/CMapReaderTest-CMapReaderTest.Po
3413 -rm -f ./$(DEPDIR)/CMapTest-CMapTest.Po
3414 -rm -f ./$(DEPDIR)/CalculatorTest-CalculatorTest.Po
3415 -rm -f ./$(DEPDIR)/ColorSpecialTest-ColorSpecialTest.Po
3416 -rm -f ./$(DEPDIR)/ColorTest-ColorTest.Po
3417 -rm -f ./$(DEPDIR)/CommandLineTest-CommandLineTest.Po
3418 -rm -f ./$(DEPDIR)/DVIReaderTest-DVIReaderTest.Po
3419 -rm -f ./$(DEPDIR)/DependencyGraphTest-DependencyGraphTest.Po
3420 -rm -f ./$(DEPDIR)/DirectoryTest-DirectoryTest.Po
3421 -rm -f ./$(DEPDIR)/DvisvgmSpecialTest-DvisvgmSpecialTest.Po
3422 -rm -f ./$(DEPDIR)/EllipticalArcTest-EllipticalArcTest.Po
3423 -rm -f ./$(DEPDIR)/EmSpecialTest-EmSpecialTest.Po
3424 -rm -f ./$(DEPDIR)/FileFinderTest-FileFinderTest.Po
3425 -rm -f ./$(DEPDIR)/FilePathTest-FilePathTest.Po
3426 -rm -f ./$(DEPDIR)/FileSystemTest-FileSystemTest.Po
3427 -rm -f ./$(DEPDIR)/FontCacheTest-FontCacheTest.Po
3428 -rm -f ./$(DEPDIR)/FontManagerTest-FontManagerTest.Po
3429 -rm -f ./$(DEPDIR)/FontMapTest-FontMapTest.Po
3430 -rm -f ./$(DEPDIR)/GFGlyphTracerTest-GFGlyphTracerTest.Po
3431 -rm -f ./$(DEPDIR)/GFReaderTest-GFReaderTest.Po
3432 -rm -f ./$(DEPDIR)/GhostscriptTest-GhostscriptTest.Po
3433 -rm -f ./$(DEPDIR)/GraphicsPathTest-GraphicsPathTest.Po
3434 -rm -f ./$(DEPDIR)/HashFunctionTest-HashFunctionTest.Po
3435 -rm -f ./$(DEPDIR)/JFMReaderTest-JFMReaderTest.Po
3436 -rm -f ./$(DEPDIR)/LengthTest-LengthTest.Po
3437 -rm -f ./$(DEPDIR)/MapLineTest-MapLineTest.Po
3438 -rm -f ./$(DEPDIR)/MatrixTest-MatrixTest.Po
3439 -rm -f ./$(DEPDIR)/MessageExceptionTest-MessageExceptionTest.Po
3440 -rm -f ./$(DEPDIR)/PDFParserTest-PDFParserTest.Po
3441 -rm -f ./$(DEPDIR)/PSInterpreterTest-PSInterpreterTest.Po
3442 -rm -f ./$(DEPDIR)/PageRagesTest-PageRagesTest.Po
3443 -rm -f ./$(DEPDIR)/PageSizeTest-PageSizeTest.Po
3444 -rm -f ./$(DEPDIR)/PairTest-PairTest.Po
3445 -rm -f ./$(DEPDIR)/PapersizeSpecialTest-PapersizeSpecialTest.Po
3446 -rm -f ./$(DEPDIR)/RangeMapTest-RangeMapTest.Po
3447 -rm -f ./$(DEPDIR)/SVGOutputTest-SVGOutputTest.Po
3448 -rm -f ./$(DEPDIR)/ShadingPatchTest-ShadingPatchTest.Po
3449 -rm -f ./$(DEPDIR)/SpecialManagerTest-SpecialManagerTest.Po
3450 -rm -f ./$(DEPDIR)/SplittedCharInputBufferTest-SplittedCharInputBufferTest.Po
3451 -rm -f ./$(DEPDIR)/StreamInputBufferTest-StreamInputBufferTest.Po
3452 -rm -f ./$(DEPDIR)/StreamReaderTest-StreamReaderTest.Po
3453 -rm -f ./$(DEPDIR)/StreamWriterTest-StreamWriterTest.Po
3454 -rm -f ./$(DEPDIR)/StringMatcherTest-StringMatcherTest.Po
3455 -rm -f ./$(DEPDIR)/SubfontTest-SubfontTest.Po
3456 -rm -f ./$(DEPDIR)/TFMReaderTest-TFMReaderTest.Po
3457 -rm -f ./$(DEPDIR)/TensorProductPatchTest-TensorProductPatchTest.Po
3458 -rm -f ./$(DEPDIR)/ToUnicodeMapTest-ToUnicodeMapTest.Po
3459 -rm -f ./$(DEPDIR)/TpicSpecialTest-TpicSpecialTest.Po
3460 -rm -f ./$(DEPDIR)/TriangularPatchTest-TriangularPatchTest.Po
3461 -rm -f ./$(DEPDIR)/UnicodeTest-UnicodeTest.Po
3462 -rm -f ./$(DEPDIR)/UtilityTest-UtilityTest.Po
3463 -rm -f ./$(DEPDIR)/VectorIteratorTest-VectorIteratorTest.Po
3464 -rm -f ./$(DEPDIR)/VectorStreamTest-VectorStreamTest.Po
3465 -rm -f ./$(DEPDIR)/XMLNodeTest-XMLNodeTest.Po
3466 -rm -f ./$(DEPDIR)/XMLStringTest-XMLStringTest.Po
3467 -rm -f ./$(DEPDIR)/hashcheck-hashcheck.Po
3468 -rm -f ./$(DEPDIR)/libgtest_la-testmain.Plo
3469 -rm -f gtest/src/$(DEPDIR)/libgtest_la-gtest-all.Plo
3470 -rm -f Makefile
3471 maintainer-clean-am: distclean-am maintainer-clean-generic
3472
3473 mostlyclean: mostlyclean-recursive
3474
3475 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
3476 mostlyclean-libtool
3477
3478 pdf: pdf-recursive
3479
3480 pdf-am:
3481
3482 ps: ps-recursive
3483
3484 ps-am:
3485
3486 uninstall-am:
3487
3488 .MAKE: $(am__recursive_targets) check-am install-am install-strip
3489
3490 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
3491 am--depfiles check check-TESTS check-am clean \
3492 clean-checkLTLIBRARIES clean-checkPROGRAMS clean-generic \
3493 clean-libtool cscopelist-am ctags ctags-am distclean \
3494 distclean-compile distclean-generic distclean-libtool \
3495 distclean-tags distdir dvi dvi-am html html-am info info-am \
3496 install install-am install-data install-data-am install-dvi \
3497 install-dvi-am install-exec install-exec-am install-html \
3498 install-html-am install-info install-info-am install-man \
3499 install-pdf install-pdf-am install-ps install-ps-am \
3500 install-strip installcheck installcheck-am installdirs \
3501 installdirs-am maintainer-clean maintainer-clean-generic \
3502 mostlyclean mostlyclean-compile mostlyclean-generic \
3503 mostlyclean-libtool pdf pdf-am ps ps-am recheck tags tags-am \
3504 uninstall uninstall-am
3505
3506 .PRECIOUS: Makefile
3507
3508
3509 hashcheck.cpp: genhashcheck.py $(dvisvgm_srcdir)/src/AGLTable.hpp $(dvisvgm_srcdir)/libs/xxHash/xxhash.h
3510 python $^ >$@
3511
3512 @CODE_COVERAGE_RULES@
3513
3514 # Tell versions [3.59,3.63) of GNU make to not export all variables.
3515 # Otherwise a system limit (for SysV at least) may be exceeded.
3516 .NOEXPORT:
2626 TEST(SubfontTest, collect_subfonts) {
2727 try {
2828 if (SubfontDefinition *sfd = SubfontDefinition::lookup("sample")) {
29 vector<Subfont*> subfonts;
29 vector<Subfont*> subfonts = sfd->subfonts();
3030 const char *ids_cmp[] = {"00", "01", "02", "03", "04", "05", "06", "07", "08", "09", "x1"};
31 int size = sizeof(ids_cmp)/sizeof(Subfont*);
32 EXPECT_EQ(sfd->subfonts(subfonts), size);
33 for (int i=0; i < size; i++) {
31 size_t size = sizeof(ids_cmp)/sizeof(Subfont*);
32 EXPECT_EQ(subfonts.size(), size);
33 for (size_t i=0; i < size; i++) {
3434 EXPECT_EQ(subfonts[i]->id(), ids_cmp[i]);
3535 }
3636 }
4343
4444 TEST(SubfontTest, read_table) {
4545 try {
46 if (SubfontDefinition *sfd = SubfontDefinition::lookup("sampl")) {
46 if (SubfontDefinition *sfd = SubfontDefinition::lookup("sample")) {
4747 // check scanning of single value entries
4848 Subfont *subfont = sfd->subfont("02");
4949 ASSERT_NE(subfont, nullptr);
6363 }
6464
6565
66 TEST(UnicodeTest, fromSurrogate1) {
67 EXPECT_EQ(Unicode::fromSurrogate(0xd800dc00), 0x10000u);
68 EXPECT_EQ(Unicode::fromSurrogate(0xd83cdd10), 0x1f110u);
69
70 // invalid surrogates
71 EXPECT_EQ(Unicode::fromSurrogate(0xd7ffdc00), 0u);
72 EXPECT_EQ(Unicode::fromSurrogate(0xdc00dc00), 0u);
73 EXPECT_EQ(Unicode::fromSurrogate(0xd800dbff), 0u);
74 EXPECT_EQ(Unicode::fromSurrogate(0xd800e000), 0u);
75 }
76
77
78 TEST(UnicodeTest, fromSurrogate2) {
79 EXPECT_EQ(Unicode::fromSurrogate(0xd800, 0xdc00), 0x10000u);
80 EXPECT_EQ(Unicode::fromSurrogate(0xd83c, 0xdd10), 0x1f110u);
81
82 // invalid surrogates
83 EXPECT_EQ(Unicode::fromSurrogate(0xd7ff, 0xdc00), 0u);
84 EXPECT_EQ(Unicode::fromSurrogate(0xdc00, 0xdc00), 0u);
85 EXPECT_EQ(Unicode::fromSurrogate(0xd800, 0xdbff), 0u);
86 EXPECT_EQ(Unicode::fromSurrogate(0xd800, 0xe000), 0u);
87 }
88
89
90 TEST(UnicodeTest, toSurrogate) {
91 EXPECT_EQ(Unicode::toSurrogate(0x10000), 0xd800dc00u);
92 EXPECT_EQ(Unicode::toSurrogate(0x1f110), 0xd83cdd10u);
93
94 // invalid code points
95 EXPECT_EQ(Unicode::toSurrogate(0xffff), 0u);
96 EXPECT_EQ(Unicode::toSurrogate(0x110000), 0u);
97 }
98
99
66100 TEST(UnicodeTest, aglNameToCodepoint1) {
67101 EXPECT_EQ(Unicode::aglNameToCodepoint("does not exist"), 0);
68102 EXPECT_EQ(Unicode::aglNameToCodepoint("Eogonek"), 0x118);
0 #!/bin/sh
1 # This file is part of the dvisvgm package and published under the
2 # terms of the GNU General Public License version 3 or later.
3 # See file COPYING for further details.
4 # Copyright (C) 2009-2020 Martin Gieseking <martin.gieseking@uos.de>
5
6 out=Makefile.am
7 cat >$out <<EOT
8 ## This file is part of dvisvgm
9 ## Copyright (C) 2005-2020 Martin Gieseking <martin.gieseking@uos.de>
10 ##
11 ## Process this file with automake.
12
13 SUBDIRS = data
14
15 check_LTLIBRARIES = libgtest.la
16 libgtest_la_SOURCES = gtest/src/gtest-all.cc testmain.cpp
17 libgtest_la_CPPFLAGS = -I\$(dvisvgm_srcdir)/tests/gtest/include -I\$(dvisvgm_srcdir)/tests/gtest
18 libgtest_la_LDFLAGS = -pthread
19 EXTRA_DIST = gtest/LICENSE \\
20 gtest/include \\
21 gtest/src/gtest.cc \\
22 gtest/src/gtest-death-test.cc \\
23 gtest/src/gtest-filepath.cc \\
24 gtest/src/gtest-internal-inl.h \\
25 gtest/src/gtest_main.cc \\
26 gtest/src/gtest-matchers.cc \\
27 gtest/src/gtest-port.cc \\
28 gtest/src/gtest-printers.cc \\
29 gtest/src/gtest-test-part.cc \\
30 gtest/src/gtest-typed-test.cc
31
32 include ../libs/defs.am
33
34 LIBS_CFLAGS = \$(XXHASH_CFLAGS)
35 LIBS_LIBS = \$(POTRACE_LIBS) \$(XXHASH_LIBS)
36 if ENABLE_WOFF
37 LIBS_LIBS += \$(WOFF2_LIBS) \$(BROTLI_LIBS)
38 endif
39
40 if USE_BUNDLED_MD5
41 LIBS_CFLAGS += -I\$(dvisvgm_srcdir)/libs/md5
42 LIBS_LIBS += ../libs/md5/libmd5.a
43 else
44 LIBS_CFLAGS += \$(LIBCRYPTO_CFLAGS)
45 LIBS_LIBS += \$(LIBCRYPTO_LIBS)
46 endif
47
48 AM_CXXFLAGS = -I\$(dvisvgm_srcdir)/src -I\$(dvisvgm_srcdir)/libs/variant/include \\
49 -Wall -Wno-mismatched-tags \\
50 -DBUILDDIR='"\$(abs_builddir)"' -DSRCDIR='"\$(abs_srcdir)"' \\
51 \$(CODE_COVERAGE_CFLAGS)
52
53 TESTS = hashcheck
54 check_PROGRAMS = hashcheck
55 nodist_hashcheck_SOURCES = hashcheck.cpp
56 hashcheck_CPPFLAGS = \$(LIBS_CFLAGS)
57 hashcheck_LDADD = \$(LIBS_LIBS)
58
59 hashcheck.cpp: genhashcheck.py \$(dvisvgm_srcdir)/src/AGLTable.hpp \$(dvisvgm_srcdir)/libs/xxHash/xxhash.h
60 python \$^ >\$@
61
62 TESTLIBS = libgtest.la ../src/libdvisvgm.la \$(LIBS_LIBS) -lfreetype
63 if ENABLE_WOFF
64 TESTLIBS += ../libs/ff-woff/libfontforge.a
65 endif
66 TESTLIBS += \$(CODE_COVERAGE_LDFLAGS)
67
68 EOT
69
70 for f in *Test.cpp; do
71 base=`basename $f .cpp`
72 cat >>$out <<EOT
73 TESTS += $base
74 check_PROGRAMS += $base
75 ${base}_SOURCES = $f testutil.hpp
76 ${base}_CPPFLAGS = -I\$(dvisvgm_srcdir)/tests/gtest/include \$(LIBS_CFLAGS)
77 ${base}_LDADD = \$(TESTLIBS)
78
79 EOT
80 done
81
82 #echo "TESTDATA =" >>$out
83 #
84 #for f in *.dvi; do
85 # base=`basename $f .dvi`
86 # echo "TESTDATA += ${base}.dvi ${base}-wf-cmp.svg ${base}-nf-cmp.svg" >>$out
87 #done
88
89 cat >>$out <<EOT
90 EXTRA_DIST += check-conv genhashcheck.py normalize.xsl
91 TESTS += check-conv
92
93 @CODE_COVERAGE_RULES@
94
95 CLEANFILES = *.gcda *.gcno hashcheck.cpp
96 EOT
97
98 # vim: set syntax=sh:
+0
-501
tests/data/Makefile.in less more
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15 VPATH = @srcdir@
16 am__is_gnu_make = { \
17 if test -z '$(MAKELEVEL)'; then \
18 false; \
19 elif test -n '$(MAKE_HOST)'; then \
20 true; \
21 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
22 true; \
23 else \
24 false; \
25 fi; \
26 }
27 am__make_running_with_option = \
28 case $${target_option-} in \
29 ?) ;; \
30 *) echo "am__make_running_with_option: internal error: invalid" \
31 "target option '$${target_option-}' specified" >&2; \
32 exit 1;; \
33 esac; \
34 has_opt=no; \
35 sane_makeflags=$$MAKEFLAGS; \
36 if $(am__is_gnu_make); then \
37 sane_makeflags=$$MFLAGS; \
38 else \
39 case $$MAKEFLAGS in \
40 *\\[\ \ ]*) \
41 bs=\\; \
42 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
43 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
44 esac; \
45 fi; \
46 skip_next=no; \
47 strip_trailopt () \
48 { \
49 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
50 }; \
51 for flg in $$sane_makeflags; do \
52 test $$skip_next = yes && { skip_next=no; continue; }; \
53 case $$flg in \
54 *=*|--*) continue;; \
55 -*I) strip_trailopt 'I'; skip_next=yes;; \
56 -*I?*) strip_trailopt 'I';; \
57 -*O) strip_trailopt 'O'; skip_next=yes;; \
58 -*O?*) strip_trailopt 'O';; \
59 -*l) strip_trailopt 'l'; skip_next=yes;; \
60 -*l?*) strip_trailopt 'l';; \
61 -[dEDm]) skip_next=yes;; \
62 -[JT]) skip_next=yes;; \
63 esac; \
64 case $$flg in \
65 *$$target_option*) has_opt=yes; break;; \
66 esac; \
67 done; \
68 test $$has_opt = yes
69 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
70 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
71 pkgdatadir = $(datadir)/@PACKAGE@
72 pkgincludedir = $(includedir)/@PACKAGE@
73 pkglibdir = $(libdir)/@PACKAGE@
74 pkglibexecdir = $(libexecdir)/@PACKAGE@
75 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
76 install_sh_DATA = $(install_sh) -c -m 644
77 install_sh_PROGRAM = $(install_sh) -c
78 install_sh_SCRIPT = $(install_sh) -c
79 INSTALL_HEADER = $(INSTALL_DATA)
80 transform = $(program_transform_name)
81 NORMAL_INSTALL = :
82 PRE_INSTALL = :
83 POST_INSTALL = :
84 NORMAL_UNINSTALL = :
85 PRE_UNINSTALL = :
86 POST_UNINSTALL = :
87 build_triplet = @build@
88 host_triplet = @host@
89 target_triplet = @target@
90 subdir = tests/data
91 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
92 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
93 $(top_srcdir)/m4/ax_code_coverage.m4 \
94 $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \
95 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
96 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
97 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
98 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
99 $(ACLOCAL_M4)
100 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
101 mkinstalldirs = $(install_sh) -d
102 CONFIG_HEADER = $(top_builddir)/config.h
103 CONFIG_CLEAN_FILES =
104 CONFIG_CLEAN_VPATH_FILES =
105 AM_V_P = $(am__v_P_@AM_V@)
106 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
107 am__v_P_0 = false
108 am__v_P_1 = :
109 AM_V_GEN = $(am__v_GEN_@AM_V@)
110 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
111 am__v_GEN_0 = @echo " GEN " $@;
112 am__v_GEN_1 =
113 AM_V_at = $(am__v_at_@AM_V@)
114 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
115 am__v_at_0 = @
116 am__v_at_1 =
117 SOURCES =
118 DIST_SOURCES =
119 am__can_run_installinfo = \
120 case $$AM_UPDATE_INFO_DIR in \
121 n|no|NO) false;; \
122 *) (install-info --version) >/dev/null 2>&1;; \
123 esac
124 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
125 am__DIST_COMMON = $(srcdir)/Makefile.in
126 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
127 ACLOCAL = @ACLOCAL@
128 AMTAR = @AMTAR@
129 AM_CPPFLAGS = @AM_CPPFLAGS@
130 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
131 AM_LDFLAGS = @AM_LDFLAGS@
132 AR = @AR@
133 ASCIIDOC = @ASCIIDOC@
134 AUTOCONF = @AUTOCONF@
135 AUTOHEADER = @AUTOHEADER@
136 AUTOMAKE = @AUTOMAKE@
137 AWK = @AWK@
138 BROTLI_CFLAGS = @BROTLI_CFLAGS@
139 BROTLI_LIBS = @BROTLI_LIBS@
140 CC = @CC@
141 CCDEPMODE = @CCDEPMODE@
142 CFLAGS = @CFLAGS@
143 CODE_COVERAGE_CFLAGS = @CODE_COVERAGE_CFLAGS@
144 CODE_COVERAGE_CPPFLAGS = @CODE_COVERAGE_CPPFLAGS@
145 CODE_COVERAGE_CXXFLAGS = @CODE_COVERAGE_CXXFLAGS@
146 CODE_COVERAGE_ENABLED = @CODE_COVERAGE_ENABLED@
147 CODE_COVERAGE_LDFLAGS = @CODE_COVERAGE_LDFLAGS@
148 CODE_COVERAGE_LIBS = @CODE_COVERAGE_LIBS@
149 CPP = @CPP@
150 CPPFLAGS = @CPPFLAGS@
151 CXX = @CXX@
152 CXXCPP = @CXXCPP@
153 CXXDEPMODE = @CXXDEPMODE@
154 CXXFLAGS = @CXXFLAGS@
155 CYGPATH_W = @CYGPATH_W@
156 DATE = @DATE@
157 DEFS = @DEFS@
158 DEPDIR = @DEPDIR@
159 DLLTOOL = @DLLTOOL@
160 DSYMUTIL = @DSYMUTIL@
161 DUMPBIN = @DUMPBIN@
162 ECHO_C = @ECHO_C@
163 ECHO_N = @ECHO_N@
164 ECHO_T = @ECHO_T@
165 EGREP = @EGREP@
166 EXEEXT = @EXEEXT@
167 FGREP = @FGREP@
168 FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
169 FREETYPE_LIBS = @FREETYPE_LIBS@
170 GCOV = @GCOV@
171 GENHTML = @GENHTML@
172 GREP = @GREP@
173 HAVE_CXX11 = @HAVE_CXX11@
174 INSTALL = @INSTALL@
175 INSTALL_DATA = @INSTALL_DATA@
176 INSTALL_PROGRAM = @INSTALL_PROGRAM@
177 INSTALL_SCRIPT = @INSTALL_SCRIPT@
178 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
179 KPSE_CFLAGS = @KPSE_CFLAGS@
180 KPSE_LIBS = @KPSE_LIBS@
181 LCOV = @LCOV@
182 LD = @LD@
183 LDFLAGS = @LDFLAGS@
184 LIBCRYPTO_CFLAGS = @LIBCRYPTO_CFLAGS@
185 LIBCRYPTO_LIBS = @LIBCRYPTO_LIBS@
186 LIBOBJS = @LIBOBJS@
187 LIBS = @LIBS@
188 LIBTOOL = @LIBTOOL@
189 LIPO = @LIPO@
190 LN_S = @LN_S@
191 LTLIBOBJS = @LTLIBOBJS@
192 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
193 MAKEINFO = @MAKEINFO@
194 MANIFEST_TOOL = @MANIFEST_TOOL@
195 MKDIR_P = @MKDIR_P@
196 NM = @NM@
197 NMEDIT = @NMEDIT@
198 OBJDUMP = @OBJDUMP@
199 OBJEXT = @OBJEXT@
200 OTOOL = @OTOOL@
201 OTOOL64 = @OTOOL64@
202 PACKAGE = @PACKAGE@
203 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
204 PACKAGE_NAME = @PACKAGE_NAME@
205 PACKAGE_STRING = @PACKAGE_STRING@
206 PACKAGE_TARNAME = @PACKAGE_TARNAME@
207 PACKAGE_URL = @PACKAGE_URL@
208 PACKAGE_VERSION = @PACKAGE_VERSION@
209 PATH_SEPARATOR = @PATH_SEPARATOR@
210 PKG_CONFIG = @PKG_CONFIG@
211 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
212 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
213 RANLIB = @RANLIB@
214 SED = @SED@
215 SET_MAKE = @SET_MAKE@
216 SHELL = @SHELL@
217 STRIP = @STRIP@
218 TTFAUTOHINT_CFLAGS = @TTFAUTOHINT_CFLAGS@
219 TTFAUTOHINT_LIBS = @TTFAUTOHINT_LIBS@
220 VERSION = @VERSION@
221 WOFF2_CFLAGS = @WOFF2_CFLAGS@
222 WOFF2_LIBS = @WOFF2_LIBS@
223 XMLTO = @XMLTO@
224 XSLTPROC = @XSLTPROC@
225 ZLIB_CFLAGS = @ZLIB_CFLAGS@
226 ZLIB_LIBS = @ZLIB_LIBS@
227 abs_builddir = @abs_builddir@
228 abs_srcdir = @abs_srcdir@
229 abs_top_builddir = @abs_top_builddir@
230 abs_top_srcdir = @abs_top_srcdir@
231 ac_ct_AR = @ac_ct_AR@
232 ac_ct_CC = @ac_ct_CC@
233 ac_ct_CXX = @ac_ct_CXX@
234 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
235 am__include = @am__include@
236 am__leading_dot = @am__leading_dot@
237 am__quote = @am__quote@
238 am__tar = @am__tar@
239 am__untar = @am__untar@
240 bindir = @bindir@
241 build = @build@
242 build_alias = @build_alias@
243 build_cpu = @build_cpu@
244 build_os = @build_os@
245 build_vendor = @build_vendor@
246 builddir = @builddir@
247 datadir = @datadir@
248 datarootdir = @datarootdir@
249 docdir = @docdir@
250 dvidir = @dvidir@
251 dvisvgm_srcdir = @dvisvgm_srcdir@
252 exec_prefix = @exec_prefix@
253 host = @host@
254 host_alias = @host_alias@
255 host_cpu = @host_cpu@
256 host_os = @host_os@
257 host_vendor = @host_vendor@
258 htmldir = @htmldir@
259 includedir = @includedir@
260 infodir = @infodir@
261 install_sh = @install_sh@
262 libdir = @libdir@
263 libexecdir = @libexecdir@
264 localedir = @localedir@
265 localstatedir = @localstatedir@
266 mandir = @mandir@
267 mkdir_p = @mkdir_p@
268 oldincludedir = @oldincludedir@
269 pdfdir = @pdfdir@
270 prefix = @prefix@
271 program_transform_name = @program_transform_name@
272 psdir = @psdir@
273 sbindir = @sbindir@
274 sharedstatedir = @sharedstatedir@
275 srcdir = @srcdir@
276 sysconfdir = @sysconfdir@
277 target = @target@
278 target_alias = @target_alias@
279 target_cpu = @target_cpu@
280 target_os = @target_os@
281 target_vendor = @target_vendor@
282 top_build_prefix = @top_build_prefix@
283 top_builddir = @top_builddir@
284 top_srcdir = @top_srcdir@
285 EXTRA_DIST = \
286 cidjmgr0-h.tfm \
287 cmr10.600gf \
288 cmr10.pfb \
289 cmr10.tfm \
290 dvipdfm_test.map \
291 dvips_test.map \
292 frktest.dvi \
293 frktest-nf-cmp.svg \
294 frktest-wf-cmp.svg \
295 sample.dvi \
296 sample-nf-cmp.svg \
297 sample.sfd \
298 sample-wf-cmp.svg \
299 sample_v2.dvi \
300 sample_v3.dvi \
301 ot1.cmap
302
303 all: all-am
304
305 .SUFFIXES:
306 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
307 @for dep in $?; do \
308 case '$(am__configure_deps)' in \
309 *$$dep*) \
310 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
311 && { if test -f $@; then exit 0; else break; fi; }; \
312 exit 1;; \
313 esac; \
314 done; \
315 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/data/Makefile'; \
316 $(am__cd) $(top_srcdir) && \
317 $(AUTOMAKE) --foreign tests/data/Makefile
318 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
319 @case '$?' in \
320 *config.status*) \
321 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
322 *) \
323 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
324 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
325 esac;
326
327 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
328 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
329
330 $(top_srcdir)/configure: $(am__configure_deps)
331 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
332 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
333 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
334 $(am__aclocal_m4_deps):
335
336 mostlyclean-libtool:
337 -rm -f *.lo
338
339 clean-libtool:
340 -rm -rf .libs _libs
341 tags TAGS:
342
343 ctags CTAGS:
344
345 cscope cscopelist:
346
347
348 distdir: $(BUILT_SOURCES)
349 $(MAKE) $(AM_MAKEFLAGS) distdir-am
350
351 distdir-am: $(DISTFILES)
352 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
353 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
354 list='$(DISTFILES)'; \
355 dist_files=`for file in $$list; do echo $$file; done | \
356 sed -e "s|^$$srcdirstrip/||;t" \
357 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
358 case $$dist_files in \
359 */*) $(MKDIR_P) `echo "$$dist_files" | \
360 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
361 sort -u` ;; \
362 esac; \
363 for file in $$dist_files; do \
364 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
365 if test -d $$d/$$file; then \
366 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
367 if test -d "$(distdir)/$$file"; then \
368 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
369 fi; \
370 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
371 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
372 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
373 fi; \
374 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
375 else \
376 test -f "$(distdir)/$$file" \
377 || cp -p $$d/$$file "$(distdir)/$$file" \
378 || exit 1; \
379 fi; \
380 done
381 check-am: all-am
382 check: check-am
383 all-am: Makefile
384 installdirs:
385 install: install-am
386 install-exec: install-exec-am
387 install-data: install-data-am
388 uninstall: uninstall-am
389
390 install-am: all-am
391 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
392
393 installcheck: installcheck-am
394 install-strip:
395 if test -z '$(STRIP)'; then \
396 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
397 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
398 install; \
399 else \
400 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
401 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
402 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
403 fi
404 mostlyclean-generic:
405
406 clean-generic:
407
408 distclean-generic:
409 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
410 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
411
412 maintainer-clean-generic:
413 @echo "This command is intended for maintainers to use"
414 @echo "it deletes files that may require special tools to rebuild."
415 clean: clean-am
416
417 clean-am: clean-generic clean-libtool mostlyclean-am
418
419 distclean: distclean-am
420 -rm -f Makefile
421 distclean-am: clean-am distclean-generic
422
423 dvi: dvi-am
424
425 dvi-am:
426
427 html: html-am
428
429 html-am:
430
431 info: info-am
432
433 info-am:
434
435 install-data-am:
436
437 install-dvi: install-dvi-am
438
439 install-dvi-am:
440
441 install-exec-am:
442
443 install-html: install-html-am
444
445 install-html-am:
446
447 install-info: install-info-am
448
449 install-info-am:
450
451 install-man:
452
453 install-pdf: install-pdf-am
454
455 install-pdf-am:
456
457 install-ps: install-ps-am
458
459 install-ps-am:
460
461 installcheck-am:
462
463 maintainer-clean: maintainer-clean-am
464 -rm -f Makefile
465 maintainer-clean-am: distclean-am maintainer-clean-generic
466
467 mostlyclean: mostlyclean-am
468
469 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
470
471 pdf: pdf-am
472
473 pdf-am:
474
475 ps: ps-am
476
477 ps-am:
478
479 uninstall-am:
480
481 .MAKE: install-am install-strip
482
483 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
484 cscopelist-am ctags-am distclean distclean-generic \
485 distclean-libtool distdir dvi dvi-am html html-am info info-am \
486 install install-am install-data install-data-am install-dvi \
487 install-dvi-am install-exec install-exec-am install-html \
488 install-html-am install-info install-info-am install-man \
489 install-pdf install-pdf-am install-ps install-ps-am \
490 install-strip installcheck installcheck-am installdirs \
491 maintainer-clean maintainer-clean-generic mostlyclean \
492 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
493 tags-am uninstall uninstall-am
494
495 .PRECIOUS: Makefile
496
497
498 # Tell versions [3.59,3.63) of GNU make to not export all variables.
499 # Otherwise a system limit (for SysV at least) may be exceeded.
500 .NOEXPORT:
0 In order to build dvisvgm for MiKTeX with Microsoft Visual Studio 2019 you
1 need to download the source code archives of the following libraries
2 which are not bundled with the dvisvgm sources:
3
4 FreeType: https://freetype.org
5 zlib: http://zlib.net
6
7 If you want to build dvisvgm with ttfautohint support, the related
8 development files as well as the ttfautohint DLL are needed. They are
9 available from https://github.com/mgieseki/ttfautohint-dll.
10
11 Extract the contents of the usually versioned root folders present in the
12 library archives to the corresponding subfolders in the "vc" directory, e.g.
13 the contents of zlib-1.2.11, should go to vc\zlib.
14
15 Now open the Visual Studio IDE, load dvisvgm.sln, and start the build process.
16
17 Alternatively, you can trigger the build process on the command-line with
18 msbuild /p:Configuration=Release /p:Platform=<platform> dvisvgm.sln
19 where <platform> is either "win32" or "x64" for the 32- and 64-bit binaries,
20 respectively.
21
0 <?xml version="1.0" encoding="utf-8"?>
1 <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2 <ItemGroup Label="ProjectConfigurations">
3 <ProjectConfiguration Include="Debug|Win32">
4 <Configuration>Debug</Configuration>
5 <Platform>Win32</Platform>
6 </ProjectConfiguration>
7 <ProjectConfiguration Include="Release|Win32">
8 <Configuration>Release</Configuration>
9 <Platform>Win32</Platform>
10 </ProjectConfiguration>
11 <ProjectConfiguration Include="Debug|x64">
12 <Configuration>Debug</Configuration>
13 <Platform>x64</Platform>
14 </ProjectConfiguration>
15 <ProjectConfiguration Include="Release|x64">
16 <Configuration>Release</Configuration>
17 <Platform>x64</Platform>
18 </ProjectConfiguration>
19 </ItemGroup>
20 <PropertyGroup Label="Globals">
21 <ProjectGuid>{C72BB6A5-318E-4D3F-8714-786094E2C6EB}</ProjectGuid>
22 <RootNamespace>brotli</RootNamespace>
23 <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
24 </PropertyGroup>
25 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
26 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
27 <ConfigurationType>StaticLibrary</ConfigurationType>
28 <UseDebugLibraries>true</UseDebugLibraries>
29 <PlatformToolset>v142</PlatformToolset>
30 <CLRSupport>false</CLRSupport>
31 <CharacterSet>MultiByte</CharacterSet>
32 </PropertyGroup>
33 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
34 <ConfigurationType>StaticLibrary</ConfigurationType>
35 <UseDebugLibraries>false</UseDebugLibraries>
36 <PlatformToolset>v142</PlatformToolset>
37 <CLRSupport>false</CLRSupport>
38 <CharacterSet>MultiByte</CharacterSet>
39 </PropertyGroup>
40 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
41 <ConfigurationType>StaticLibrary</ConfigurationType>
42 <UseDebugLibraries>true</UseDebugLibraries>
43 <PlatformToolset>v142</PlatformToolset>
44 <CLRSupport>false</CLRSupport>
45 <CharacterSet>MultiByte</CharacterSet>
46 </PropertyGroup>
47 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
48 <ConfigurationType>StaticLibrary</ConfigurationType>
49 <UseDebugLibraries>false</UseDebugLibraries>
50 <PlatformToolset>v142</PlatformToolset>
51 <CLRSupport>false</CLRSupport>
52 <CharacterSet>MultiByte</CharacterSet>
53 </PropertyGroup>
54 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
55 <ImportGroup Label="ExtensionSettings">
56 </ImportGroup>
57 <ImportGroup Label="Shared">
58 </ImportGroup>
59 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
60 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
61 </ImportGroup>
62 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
63 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
64 </ImportGroup>
65 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
66 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
67 </ImportGroup>
68 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
69 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
70 </ImportGroup>
71 <PropertyGroup Label="UserMacros" />
72 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
73 <LinkIncremental>true</LinkIncremental>
74 <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
75 <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
76 </PropertyGroup>
77 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
78 <LinkIncremental>true</LinkIncremental>
79 <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
80 </PropertyGroup>
81 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
82 <LinkIncremental>false</LinkIncremental>
83 <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
84 <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
85 </PropertyGroup>
86 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
87 <LinkIncremental>false</LinkIncremental>
88 <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
89 </PropertyGroup>
90 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
91 <ClCompile>
92 <WarningLevel>Level3</WarningLevel>
93 <Optimization>Disabled</Optimization>
94 <PreprocessorDefinitions>WIN32;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
95 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
96 <AdditionalIncludeDirectories>..\..\libs\brotli\common;..\..\libs\brotli\include</AdditionalIncludeDirectories>
97 <MultiProcessorCompilation>true</MultiProcessorCompilation>
98 <CompileAs>CompileAsC</CompileAs>
99 </ClCompile>
100 <Link>
101 <AdditionalDependencies />
102 </Link>
103 <Lib>
104 <TargetMachine>MachineX86</TargetMachine>
105 </Lib>
106 </ItemDefinitionGroup>
107 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
108 <ClCompile>
109 <WarningLevel>Level3</WarningLevel>
110 <Optimization>Disabled</Optimization>
111 <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
112 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
113 <AdditionalIncludeDirectories>..\..\libs\brotli\common;..\..\libs\brotli\include</AdditionalIncludeDirectories>
114 <MultiProcessorCompilation>true</MultiProcessorCompilation>
115 <CompileAs>CompileAsC</CompileAs>
116 </ClCompile>
117 <Link>
118 <AdditionalDependencies />
119 </Link>
120 </ItemDefinitionGroup>
121 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
122 <ClCompile>
123 <WarningLevel>Level3</WarningLevel>
124 <PreprocessorDefinitions>WIN32;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
125 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
126 <MultiProcessorCompilation>true</MultiProcessorCompilation>
127 <AdditionalIncludeDirectories>..\..\libs\brotli\common;..\..\libs\brotli\include</AdditionalIncludeDirectories>
128 <CompileAs>CompileAsC</CompileAs>
129 </ClCompile>
130 <Link>
131 <AdditionalDependencies />
132 </Link>
133 <Lib>
134 <TargetMachine>MachineX86</TargetMachine>
135 <LinkTimeCodeGeneration>true</LinkTimeCodeGeneration>
136 </Lib>
137 </ItemDefinitionGroup>
138 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
139 <ClCompile>
140 <WarningLevel>Level3</WarningLevel>
141 <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
142 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
143 <MultiProcessorCompilation>true</MultiProcessorCompilation>
144 <AdditionalIncludeDirectories>..\..\libs\brotli\common;..\..\libs\brotli\include</AdditionalIncludeDirectories>
145 <CompileAs>CompileAsC</CompileAs>
146 </ClCompile>
147 <Link>
148 <AdditionalDependencies />
149 </Link>
150 <Lib>
151 <LinkTimeCodeGeneration>true</LinkTimeCodeGeneration>
152 </Lib>
153 </ItemDefinitionGroup>
154 <ItemGroup>
155 <ClCompile Include="..\..\libs\brotli\common\constants.c" />
156 <ClCompile Include="..\..\libs\brotli\common\context.c" />
157 <ClCompile Include="..\..\libs\brotli\common\dictionary.c" />
158 <ClCompile Include="..\..\libs\brotli\common\platform.c" />
159 <ClCompile Include="..\..\libs\brotli\common\transform.c" />
160 <ClCompile Include="..\..\libs\brotli\enc\backward_references.c" />
161 <ClCompile Include="..\..\libs\brotli\enc\backward_references_hq.c" />
162 <ClCompile Include="..\..\libs\brotli\enc\bit_cost.c" />
163 <ClCompile Include="..\..\libs\brotli\enc\block_splitter.c" />
164 <ClCompile Include="..\..\libs\brotli\enc\brotli_bit_stream.c" />
165 <ClCompile Include="..\..\libs\brotli\enc\cluster.c" />
166 <ClCompile Include="..\..\libs\brotli\enc\command.c" />
167 <ClCompile Include="..\..\libs\brotli\enc\compress_fragment.c" />
168 <ClCompile Include="..\..\libs\brotli\enc\compress_fragment_two_pass.c" />
169 <ClCompile Include="..\..\libs\brotli\enc\dictionary_hash.c" />
170 <ClCompile Include="..\..\libs\brotli\enc\encode.c" />
171 <ClCompile Include="..\..\libs\brotli\enc\encoder_dict.c" />
172 <ClCompile Include="..\..\libs\brotli\enc\entropy_encode.c" />
173 <ClCompile Include="..\..\libs\brotli\enc\fast_log.c" />
174 <ClCompile Include="..\..\libs\brotli\enc\histogram.c" />
175 <ClCompile Include="..\..\libs\brotli\enc\literal_cost.c" />
176 <ClCompile Include="..\..\libs\brotli\enc\memory.c" />
177 <ClCompile Include="..\..\libs\brotli\enc\metablock.c" />
178 <ClCompile Include="..\..\libs\brotli\enc\static_dict.c" />
179 <ClCompile Include="..\..\libs\brotli\enc\utf8_util.c" />
180 </ItemGroup>
181 <ItemGroup>
182 <ClInclude Include="..\..\libs\brotli\common\constants.h" />
183 <ClInclude Include="..\..\libs\brotli\common\context.h" />
184 <ClInclude Include="..\..\libs\brotli\common\dictionary.h" />
185 <ClInclude Include="..\..\libs\brotli\common\platform.h" />
186 <ClInclude Include="..\..\libs\brotli\common\transform.h" />
187 <ClInclude Include="..\..\libs\brotli\common\version.h" />
188 <ClInclude Include="..\..\libs\brotli\enc\backward_references.h" />
189 <ClInclude Include="..\..\libs\brotli\enc\backward_references_hq.h" />
190 <ClInclude Include="..\..\libs\brotli\enc\backward_references_inc.h" />
191 <ClInclude Include="..\..\libs\brotli\enc\bit_cost.h" />
192 <ClInclude Include="..\..\libs\brotli\enc\bit_cost_inc.h" />
193 <ClInclude Include="..\..\libs\brotli\enc\block_encoder_inc.h" />
194 <ClInclude Include="..\..\libs\brotli\enc\block_splitter.h" />
195 <ClInclude Include="..\..\libs\brotli\enc\block_splitter_inc.h" />
196 <ClInclude Include="..\..\libs\brotli\enc\brotli_bit_stream.h" />
197 <ClInclude Include="..\..\libs\brotli\enc\cluster.h" />
198 <ClInclude Include="..\..\libs\brotli\enc\cluster_inc.h" />
199 <ClInclude Include="..\..\libs\brotli\enc\command.h" />
200 <ClInclude Include="..\..\libs\brotli\enc\compress_fragment.h" />
201 <ClInclude Include="..\..\libs\brotli\enc\compress_fragment_two_pass.h" />
202 <ClInclude Include="..\..\libs\brotli\enc\dictionary_hash.h" />
203 <ClInclude Include="..\..\libs\brotli\enc\encoder_dict.h" />
204 <ClInclude Include="..\..\libs\brotli\enc\entropy_encode.h" />
205 <ClInclude Include="..\..\libs\brotli\enc\entropy_encode_static.h" />
206 <ClInclude Include="..\..\libs\brotli\enc\fast_log.h" />
207 <ClInclude Include="..\..\libs\brotli\enc\find_match_length.h" />
208 <ClInclude Include="..\..\libs\brotli\enc\hash.h" />
209 <ClInclude Include="..\..\libs\brotli\enc\hash_forgetful_chain_inc.h" />
210 <ClInclude Include="..\..\libs\brotli\enc\hash_longest_match64_inc.h" />
211 <ClInclude Include="..\..\libs\brotli\enc\hash_longest_match_inc.h" />
212 <ClInclude Include="..\..\libs\brotli\enc\hash_longest_match_quickly_inc.h" />
213 <ClInclude Include="..\..\libs\brotli\enc\hash_to_binary_tree_inc.h" />
214 <ClInclude Include="..\..\libs\brotli\enc\histogram.h" />
215 <ClInclude Include="..\..\libs\brotli\enc\histogram_inc.h" />
216 <ClInclude Include="..\..\libs\brotli\enc\literal_cost.h" />
217 <ClInclude Include="..\..\libs\brotli\enc\memory.h" />
218 <ClInclude Include="..\..\libs\brotli\enc\metablock.h" />
219 <ClInclude Include="..\..\libs\brotli\enc\metablock_inc.h" />
220 <ClInclude Include="..\..\libs\brotli\enc\params.h" />
221 <ClInclude Include="..\..\libs\brotli\enc\prefix.h" />
222 <ClInclude Include="..\..\libs\brotli\enc\quality.h" />
223 <ClInclude Include="..\..\libs\brotli\enc\ringbuffer.h" />
224 <ClInclude Include="..\..\libs\brotli\enc\static_dict.h" />
225 <ClInclude Include="..\..\libs\brotli\enc\static_dict_lut.h" />
226 <ClInclude Include="..\..\libs\brotli\enc\utf8_util.h" />
227 <ClInclude Include="..\..\libs\brotli\enc\write_bits.h" />
228 <ClInclude Include="..\..\libs\brotli\include\brotli\decode.h" />
229 <ClInclude Include="..\..\libs\brotli\include\brotli\encode.h" />
230 <ClInclude Include="..\..\libs\brotli\include\brotli\port.h" />
231 <ClInclude Include="..\..\libs\brotli\include\brotli\types.h" />
232 </ItemGroup>
233 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
234 <ImportGroup Label="ExtensionTargets">
235 </ImportGroup>
236 </Project>
0 <?xml version="1.0" encoding="utf-8"?>
1 <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2 <ItemGroup>
3 <Filter Include="Quelldateien">
4 <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
5 <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
6 </Filter>
7 <Filter Include="Headerdateien">
8 <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
9 <Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
10 </Filter>
11 <Filter Include="Ressourcendateien">
12 <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
13 <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
14 </Filter>
15 </ItemGroup>
16 <ItemGroup>
17 <ClCompile Include="..\..\libs\brotli\enc\backward_references.c">
18 <Filter>Quelldateien</Filter>
19 </ClCompile>
20 <ClCompile Include="..\..\libs\brotli\enc\bit_cost.c">
21 <Filter>Quelldateien</Filter>
22 </ClCompile>
23 <ClCompile Include="..\..\libs\brotli\enc\block_splitter.c">
24 <Filter>Quelldateien</Filter>
25 </ClCompile>
26 <ClCompile Include="..\..\libs\brotli\enc\brotli_bit_stream.c">
27 <Filter>Quelldateien</Filter>
28 </ClCompile>
29 <ClCompile Include="..\..\libs\brotli\enc\cluster.c">
30 <Filter>Quelldateien</Filter>
31 </ClCompile>
32 <ClCompile Include="..\..\libs\brotli\enc\compress_fragment.c">
33 <Filter>Quelldateien</Filter>
34 </ClCompile>
35 <ClCompile Include="..\..\libs\brotli\enc\compress_fragment_two_pass.c">
36 <Filter>Quelldateien</Filter>
37 </ClCompile>
38 <ClCompile Include="..\..\libs\brotli\enc\encode.c">
39 <Filter>Quelldateien</Filter>
40 </ClCompile>
41 <ClCompile Include="..\..\libs\brotli\enc\entropy_encode.c">
42 <Filter>Quelldateien</Filter>
43 </ClCompile>
44 <ClCompile Include="..\..\libs\brotli\enc\histogram.c">
45 <Filter>Quelldateien</Filter>
46 </ClCompile>
47 <ClCompile Include="..\..\libs\brotli\enc\literal_cost.c">
48 <Filter>Quelldateien</Filter>
49 </ClCompile>
50 <ClCompile Include="..\..\libs\brotli\enc\memory.c">
51 <Filter>Quelldateien</Filter>
52 </ClCompile>
53 <ClCompile Include="..\..\libs\brotli\enc\metablock.c">
54 <Filter>Quelldateien</Filter>
55 </ClCompile>
56 <ClCompile Include="..\..\libs\brotli\enc\static_dict.c">
57 <Filter>Quelldateien</Filter>
58 </ClCompile>
59 <ClCompile Include="..\..\libs\brotli\enc\utf8_util.c">
60 <Filter>Quelldateien</Filter>
61 </ClCompile>
62 <ClCompile Include="..\..\libs\brotli\common\dictionary.c">
63 <Filter>Quelldateien</Filter>
64 </ClCompile>
65 <ClCompile Include="..\..\libs\brotli\enc\backward_references_hq.c">
66 <Filter>Quelldateien</Filter>
67 </ClCompile>
68 <ClCompile Include="..\..\libs\brotli\enc\dictionary_hash.c">
69 <Filter>Quelldateien</Filter>
70 </ClCompile>
71 <ClCompile Include="..\..\libs\brotli\enc\encoder_dict.c">
72 <Filter>Quelldateien</Filter>
73 </ClCompile>
74 <ClCompile Include="..\..\libs\brotli\common\constants.c">
75 <Filter>Quelldateien</Filter>
76 </ClCompile>
77 <ClCompile Include="..\..\libs\brotli\common\context.c">
78 <Filter>Quelldateien</Filter>
79 </ClCompile>
80 <ClCompile Include="..\..\libs\brotli\common\platform.c">
81 <Filter>Quelldateien</Filter>
82 </ClCompile>
83 <ClCompile Include="..\..\libs\brotli\common\transform.c">
84 <Filter>Quelldateien</Filter>
85 </ClCompile>
86 <ClCompile Include="..\..\libs\brotli\enc\command.c">
87 <Filter>Quelldateien</Filter>
88 </ClCompile>
89 <ClCompile Include="..\..\libs\brotli\enc\fast_log.c">
90 <Filter>Quelldateien</Filter>
91 </ClCompile>
92 </ItemGroup>
93 <ItemGroup>
94 <ClInclude Include="..\..\libs\brotli\common\constants.h">
95 <Filter>Headerdateien</Filter>
96 </ClInclude>
97 <ClInclude Include="..\..\libs\brotli\common\dictionary.h">
98 <Filter>Headerdateien</Filter>
99 </ClInclude>
100 <ClInclude Include="..\..\libs\brotli\common\version.h">
101 <Filter>Headerdateien</Filter>
102 </ClInclude>
103 <ClInclude Include="..\..\libs\brotli\include\brotli\decode.h">
104 <Filter>Headerdateien</Filter>
105 </ClInclude>
106 <ClInclude Include="..\..\libs\brotli\include\brotli\encode.h">
107 <Filter>Headerdateien</Filter>
108 </ClInclude>
109 <ClInclude Include="..\..\libs\brotli\include\brotli\port.h">
110 <Filter>Headerdateien</Filter>
111 </ClInclude>
112 <ClInclude Include="..\..\libs\brotli\include\brotli\types.h">
113 <Filter>Headerdateien</Filter>
114 </ClInclude>
115 <ClInclude Include="..\..\libs\brotli\enc\backward_references.h">
116 <Filter>Headerdateien</Filter>
117 </ClInclude>
118 <ClInclude Include="..\..\libs\brotli\enc\backward_references_inc.h">
119 <Filter>Headerdateien</Filter>
120 </ClInclude>
121 <ClInclude Include="..\..\libs\brotli\enc\bit_cost.h">
122 <Filter>Headerdateien</Filter>
123 </ClInclude>
124 <ClInclude Include="..\..\libs\brotli\enc\bit_cost_inc.h">
125 <Filter>Headerdateien</Filter>
126 </ClInclude>
127 <ClInclude Include="..\..\libs\brotli\enc\block_encoder_inc.h">
128 <Filter>Headerdateien</Filter>
129 </ClInclude>
130 <ClInclude Include="..\..\libs\brotli\enc\block_splitter.h">
131 <Filter>Headerdateien</Filter>
132 </ClInclude>
133 <ClInclude Include="..\..\libs\brotli\enc\block_splitter_inc.h">
134 <Filter>Headerdateien</Filter>
135 </ClInclude>
136 <ClInclude Include="..\..\libs\brotli\enc\brotli_bit_stream.h">
137 <Filter>Headerdateien</Filter>
138 </ClInclude>
139 <ClInclude Include="..\..\libs\brotli\enc\cluster.h">
140 <Filter>Headerdateien</Filter>
141 </ClInclude>
142 <ClInclude Include="..\..\libs\brotli\enc\cluster_inc.h">
143 <Filter>Headerdateien</Filter>
144 </ClInclude>
145 <ClInclude Include="..\..\libs\brotli\enc\command.h">
146 <Filter>Headerdateien</Filter>
147 </ClInclude>
148 <ClInclude Include="..\..\libs\brotli\enc\compress_fragment.h">
149 <Filter>Headerdateien</Filter>
150 </ClInclude>
151 <ClInclude Include="..\..\libs\brotli\enc\compress_fragment_two_pass.h">
152 <Filter>Headerdateien</Filter>
153 </ClInclude>
154 <ClInclude Include="..\..\libs\brotli\enc\dictionary_hash.h">
155 <Filter>Headerdateien</Filter>
156 </ClInclude>
157 <ClInclude Include="..\..\libs\brotli\enc\entropy_encode.h">
158 <Filter>Headerdateien</Filter>
159 </ClInclude>
160 <ClInclude Include="..\..\libs\brotli\enc\entropy_encode_static.h">
161 <Filter>Headerdateien</Filter>
162 </ClInclude>
163 <ClInclude Include="..\..\libs\brotli\enc\fast_log.h">
164 <Filter>Headerdateien</Filter>
165 </ClInclude>
166 <ClInclude Include="..\..\libs\brotli\enc\find_match_length.h">
167 <Filter>Headerdateien</Filter>
168 </ClInclude>
169 <ClInclude Include="..\..\libs\brotli\enc\hash.h">
170 <Filter>Headerdateien</Filter>
171 </ClInclude>
172 <ClInclude Include="..\..\libs\brotli\enc\hash_forgetful_chain_inc.h">
173 <Filter>Headerdateien</Filter>
174 </ClInclude>
175 <ClInclude Include="..\..\libs\brotli\enc\hash_longest_match_inc.h">
176 <Filter>Headerdateien</Filter>
177 </ClInclude>
178 <ClInclude Include="..\..\libs\brotli\enc\hash_longest_match_quickly_inc.h">
179 <Filter>Headerdateien</Filter>
180 </ClInclude>
181 <ClInclude Include="..\..\libs\brotli\enc\histogram.h">
182 <Filter>Headerdateien</Filter>
183 </ClInclude>
184 <ClInclude Include="..\..\libs\brotli\enc\histogram_inc.h">
185 <Filter>Headerdateien</Filter>
186 </ClInclude>
187 <ClInclude Include="..\..\libs\brotli\enc\literal_cost.h">
188 <Filter>Headerdateien</Filter>
189 </ClInclude>
190 <ClInclude Include="..\..\libs\brotli\enc\memory.h">
191 <Filter>Headerdateien</Filter>
192 </ClInclude>
193 <ClInclude Include="..\..\libs\brotli\enc\metablock.h">
194 <Filter>Headerdateien</Filter>
195 </ClInclude>
196 <ClInclude Include="..\..\libs\brotli\enc\metablock_inc.h">
197 <Filter>Headerdateien</Filter>
198 </ClInclude>
199 <ClInclude Include="..\..\libs\brotli\enc\prefix.h">
200 <Filter>Headerdateien</Filter>
201 </ClInclude>
202 <ClInclude Include="..\..\libs\brotli\enc\quality.h">
203 <Filter>Headerdateien</Filter>
204 </ClInclude>
205 <ClInclude Include="..\..\libs\brotli\enc\ringbuffer.h">
206 <Filter>Headerdateien</Filter>
207 </ClInclude>
208 <ClInclude Include="..\..\libs\brotli\enc\static_dict.h">
209 <Filter>Headerdateien</Filter>
210 </ClInclude>
211 <ClInclude Include="..\..\libs\brotli\enc\static_dict_lut.h">
212 <Filter>Headerdateien</Filter>
213 </ClInclude>
214 <ClInclude Include="..\..\libs\brotli\enc\utf8_util.h">
215 <Filter>Headerdateien</Filter>
216 </ClInclude>
217 <ClInclude Include="..\..\libs\brotli\enc\write_bits.h">
218 <Filter>Headerdateien</Filter>
219 </ClInclude>
220 <ClInclude Include="..\..\libs\brotli\enc\backward_references_hq.h">
221 <Filter>Headerdateien</Filter>
222 </ClInclude>
223 <ClInclude Include="..\..\libs\brotli\enc\hash_longest_match64_inc.h">
224 <Filter>Headerdateien</Filter>
225 </ClInclude>
226 <ClInclude Include="..\..\libs\brotli\enc\hash_to_binary_tree_inc.h">
227 <Filter>Headerdateien</Filter>
228 </ClInclude>
229 <ClInclude Include="..\..\libs\brotli\enc\encoder_dict.h">
230 <Filter>Headerdateien</Filter>
231 </ClInclude>
232 <ClInclude Include="..\..\libs\brotli\enc\params.h">
233 <Filter>Headerdateien</Filter>
234 </ClInclude>
235 <ClInclude Include="..\..\libs\brotli\common\context.h">
236 <Filter>Headerdateien</Filter>
237 </ClInclude>
238 <ClInclude Include="..\..\libs\brotli\common\platform.h">
239 <Filter>Headerdateien</Filter>
240 </ClInclude>
241 <ClInclude Include="..\..\libs\brotli\common\transform.h">
242 <Filter>Headerdateien</Filter>
243 </ClInclude>
244 </ItemGroup>
245 </Project>
0 <?xml version="1.0" encoding="utf-8"?>
1 <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2 <ItemGroup Label="ProjectConfigurations">
3 <ProjectConfiguration Include="Debug|Win32">
4 <Configuration>Debug</Configuration>
5 <Platform>Win32</Platform>
6 </ProjectConfiguration>
7 <ProjectConfiguration Include="Debug|x64">
8 <Configuration>Debug</Configuration>
9 <Platform>x64</Platform>
10 </ProjectConfiguration>
11 <ProjectConfiguration Include="Release|Win32">
12 <Configuration>Release</Configuration>
13 <Platform>Win32</Platform>
14 </ProjectConfiguration>
15 <ProjectConfiguration Include="Release|x64">
16 <Configuration>Release</Configuration>
17 <Platform>x64</Platform>
18 </ProjectConfiguration>
19 </ItemGroup>
20 <PropertyGroup Label="Globals">
21 <ProjectGuid>{98D8E34D-75B4-48B6-B175-C3A7DF11E52C}</ProjectGuid>
22 <RootNamespace>clipper</RootNamespace>
23 <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
24 </PropertyGroup>
25 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
26 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
27 <ConfigurationType>StaticLibrary</ConfigurationType>
28 <UseDebugLibraries>true</UseDebugLibraries>
29 <PlatformToolset>v142</PlatformToolset>
30 <CharacterSet>MultiByte</CharacterSet>
31 </PropertyGroup>
32 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
33 <ConfigurationType>StaticLibrary</ConfigurationType>
34 <UseDebugLibraries>true</UseDebugLibraries>
35 <PlatformToolset>v142</PlatformToolset>
36 <CharacterSet>MultiByte</CharacterSet>
37 </PropertyGroup>
38 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
39 <ConfigurationType>StaticLibrary</ConfigurationType>
40 <UseDebugLibraries>false</UseDebugLibraries>
41 <PlatformToolset>v142</PlatformToolset>
42 <WholeProgramOptimization>true</WholeProgramOptimization>
43 <CharacterSet>MultiByte</CharacterSet>
44 </PropertyGroup>
45 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
46 <ConfigurationType>StaticLibrary</ConfigurationType>
47 <UseDebugLibraries>false</UseDebugLibraries>
48 <PlatformToolset>v142</PlatformToolset>
49 <WholeProgramOptimization>true</WholeProgramOptimization>
50 <CharacterSet>MultiByte</CharacterSet>
51 </PropertyGroup>
52 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
53 <ImportGroup Label="ExtensionSettings">
54 </ImportGroup>
55 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
56 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
57 </ImportGroup>
58 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
59 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
60 </ImportGroup>
61 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
62 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
63 </ImportGroup>
64 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
65 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
66 </ImportGroup>
67 <PropertyGroup Label="UserMacros" />
68 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
69 <TargetExt>.lib</TargetExt>
70 <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
71 <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
72 </PropertyGroup>
73 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
74 <TargetExt>.lib</TargetExt>
75 <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
76 </PropertyGroup>
77 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
78 <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
79 <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
80 </PropertyGroup>
81 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
82 <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
83 </PropertyGroup>
84 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
85 <ClCompile>
86 <WarningLevel>Level3</WarningLevel>
87 <Optimization>Disabled</Optimization>
88 <SDLCheck>true</SDLCheck>
89 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
90 <MultiProcessorCompilation>true</MultiProcessorCompilation>
91 </ClCompile>
92 <Link>
93 <GenerateDebugInformation>true</GenerateDebugInformation>
94 </Link>
95 </ItemDefinitionGroup>
96 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
97 <ClCompile>
98 <WarningLevel>Level3</WarningLevel>
99 <Optimization>Disabled</Optimization>
100 <SDLCheck>true</SDLCheck>
101 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
102 <MultiProcessorCompilation>true</MultiProcessorCompilation>
103 </ClCompile>
104 <Link>
105 <GenerateDebugInformation>true</GenerateDebugInformation>
106 </Link>
107 </ItemDefinitionGroup>
108 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
109 <ClCompile>
110 <WarningLevel>Level3</WarningLevel>
111 <Optimization>MaxSpeed</Optimization>
112 <FunctionLevelLinking>true</FunctionLevelLinking>
113 <IntrinsicFunctions>true</IntrinsicFunctions>
114 <SDLCheck>true</SDLCheck>
115 <PreprocessorDefinitions>_MBCS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
116 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
117 <MultiProcessorCompilation>true</MultiProcessorCompilation>
118 </ClCompile>
119 <Link>
120 <GenerateDebugInformation>true</GenerateDebugInformation>
121 <EnableCOMDATFolding>true</EnableCOMDATFolding>
122 <OptimizeReferences>true</OptimizeReferences>
123 </Link>
124 </ItemDefinitionGroup>
125 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
126 <ClCompile>
127 <WarningLevel>Level3</WarningLevel>
128 <Optimization>MaxSpeed</Optimization>
129 <FunctionLevelLinking>true</FunctionLevelLinking>
130 <IntrinsicFunctions>true</IntrinsicFunctions>
131 <PreprocessorDefinitions>_MBCS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
132 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
133 <MultiProcessorCompilation>true</MultiProcessorCompilation>
134 <CompileAs>Default</CompileAs>
135 </ClCompile>
136 <Link>
137 <GenerateDebugInformation>true</GenerateDebugInformation>
138 <EnableCOMDATFolding>true</EnableCOMDATFolding>
139 <OptimizeReferences>true</OptimizeReferences>
140 </Link>
141 </ItemDefinitionGroup>
142 <ItemGroup>
143 <ClInclude Include="..\..\libs\clipper\clipper.hpp" />
144 </ItemGroup>
145 <ItemGroup>
146 <ClCompile Include="..\..\libs\clipper\clipper.cpp" />
147 </ItemGroup>
148 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
149 <ImportGroup Label="ExtensionTargets">
150 </ImportGroup>
151 </Project>
0 <?xml version="1.0" encoding="utf-8"?>
1 <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2 <ItemGroup>
3 <Filter Include="Header Files">
4 <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
5 <Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
6 </Filter>
7 <Filter Include="Source Files">
8 <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
9 <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
10 </Filter>
11 </ItemGroup>
12 <ItemGroup>
13 <ClInclude Include="..\..\libs\clipper\clipper.hpp">
14 <Filter>Header Files</Filter>
15 </ClInclude>
16 </ItemGroup>
17 <ItemGroup>
18 <ClCompile Include="..\..\libs\clipper\clipper.cpp">
19 <Filter>Source Files</Filter>
20 </ClCompile>
21 </ItemGroup>
22 </Project>
0 /* Basic header file used to compile dvisvgm on Windows. */
1 #if !defined(DVISVGM_CONFIG_H) && defined(__cplusplus)
2 #define DVISVGM_CONFIG_H
3 #include "../src/version.hpp"
4
5 /* Name of package */
6 #define PACKAGE PROGRAM_NAME
7
8 /* Define to the address where bug reports for this package should be sent. */
9 #define PACKAGE_BUGREPORT "martin.gieseking@uos.de"
10
11 /* Define to the full name of this package. */
12 #define PACKAGE_NAME PROGRAM_NAME
13
14 /* Version number of package */
15 #define VERSION PROGRAM_VERSION
16
17 /* Define to the full name and version of this package. */
18 #define PACKAGE_STRING PROGRAM_NAME+std::string(" ")+PROGRAM_VERSION
19
20 /* Define to the one symbol short name of this package. */
21 #define PACKAGE_TARNAME PROGRAM_NAME
22
23 /* Define to the version of this package. */
24 #define PACKAGE_VERSION VERSION
25
26 #define HAVE_STRING_H 1
27
28 #ifdef _WIN64
29 #define TARGET_SYSTEM "x86_64-pc-win64"
30 #else
31 #define TARGET_SYSTEM "i686-pc-win32"
32 #endif
33 #endif
0 #include <winver.h>
1
2 #define DVISVGM_VERSION 2,11,0,0
3 #define DVISVGM_VERSION_STR "2.11\0"
4
5 VS_VERSION_INFO VERSIONINFO
6 FILEVERSION DVISVGM_VERSION
7 PRODUCTVERSION DVISVGM_VERSION
8 FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
9 FILEFLAGS 0
10 FILEOS VOS__WINDOWS32
11 FILETYPE VFT_APP
12 FILESUBTYPE 0
13 BEGIN
14 BLOCK "StringFileInfo"
15 BEGIN
16 BLOCK "040904E4" // US English (0x409), ANSI codepage (1252)
17 BEGIN
18 VALUE "FileDescription", "Converts DVI, EPS, and PDF files to SVG\0"
19 VALUE "FileVersion", DVISVGM_VERSION_STR
20 VALUE "InternalName", "dvisvgm\0"
21 VALUE "LegalCopyright", "\251 2005\2262020 Martin Gieseking\0"
22 VALUE "OriginalFilename", "dvisvgm.exe\0"
23 VALUE "ProductName", "dvisvgm\0"
24 VALUE "ProductVersion", DVISVGM_VERSION_STR
25 VALUE "Comments", "For more information visit https://dvisvgm.de\0"
26 END
27 END
28 BLOCK "VarFileInfo"
29 BEGIN
30 VALUE "Translation", 0x409, 1252
31 END
32 END
33
0 
1 Microsoft Visual Studio Solution File, Format Version 12.00
2 # Visual Studio Version 16
3 VisualStudioVersion = 16.0.28803.352
4 MinimumVisualStudioVersion = 10.0.40219.1
5 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dvisvgm", "dvisvgm.vcxproj", "{86046918-771F-4654-AFC5-AF4F8AC974EF}"
6 ProjectSection(ProjectDependencies) = postProject
7 {98D8E34D-75B4-48B6-B175-C3A7DF11E52C} = {98D8E34D-75B4-48B6-B175-C3A7DF11E52C}
8 {2EA12A93-B90E-3F75-8D67-6B51F83A4298} = {2EA12A93-B90E-3F75-8D67-6B51F83A4298}
9 {B3A84395-D889-4419-B313-B410350727FA} = {B3A84395-D889-4419-B313-B410350727FA}
10 {C72BB6A5-318E-4D3F-8714-786094E2C6EB} = {C72BB6A5-318E-4D3F-8714-786094E2C6EB}
11 {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B} = {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}
12 {F296E0C2-0D37-44CD-961D-87681418683F} = {F296E0C2-0D37-44CD-961D-87681418683F}
13 {52C2C7C6-3BCE-4434-9A02-EA920C15FB65} = {52C2C7C6-3BCE-4434-9A02-EA920C15FB65}
14 {01089EEA-D32A-4A70-BDD4-221791380931} = {01089EEA-D32A-4A70-BDD4-221791380931}
15 {E22874EE-D0EE-4AAC-A7A5-7795917203F7} = {E22874EE-D0EE-4AAC-A7A5-7795917203F7}
16 {6F17FBF1-4304-4AF2-81A8-C78787E8D0A5} = {6F17FBF1-4304-4AF2-81A8-C78787E8D0A5}
17 EndProjectSection
18 EndProject
19 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "clipper", "clipper\clipper.vcxproj", "{98D8E34D-75B4-48B6-B175-C3A7DF11E52C}"
20 EndProject
21 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "zlib", "zlib\zlib.vcxproj", "{F296E0C2-0D37-44CD-961D-87681418683F}"
22 EndProject
23 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "freetype", "freetype\freetype.vcxproj", "{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}"
24 EndProject
25 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libpotrace", "potrace\libpotrace.vcxproj", "{6F17FBF1-4304-4AF2-81A8-C78787E8D0A5}"
26 EndProject
27 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xxhash", "xxHash\xxhash.vcxproj", "{B3A84395-D889-4419-B313-B410350727FA}"
28 EndProject
29 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "fontforge", "fontforge\ff-woff.vcxproj", "{2EA12A93-B90E-3F75-8D67-6B51F83A4298}"
30 ProjectSection(ProjectDependencies) = postProject
31 {F296E0C2-0D37-44CD-961D-87681418683F} = {F296E0C2-0D37-44CD-961D-87681418683F}
32 EndProjectSection
33 EndProject
34 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "brotli", "brotli\brotli.vcxproj", "{C72BB6A5-318E-4D3F-8714-786094E2C6EB}"
35 EndProject
36 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "woff2", "woff2\woff2.vcxproj", "{52C2C7C6-3BCE-4434-9A02-EA920C15FB65}"
37 ProjectSection(ProjectDependencies) = postProject
38 {C72BB6A5-318E-4D3F-8714-786094E2C6EB} = {C72BB6A5-318E-4D3F-8714-786094E2C6EB}
39 EndProjectSection
40 EndProject
41 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "md5", "md5\md5.vcxproj", "{01089EEA-D32A-4A70-BDD4-221791380931}"
42 EndProject
43 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "miktex-com", "miktex-com\miktex-com.vcxproj", "{E22874EE-D0EE-4AAC-A7A5-7795917203F7}"
44 EndProject
45 Global
46 GlobalSection(SolutionConfigurationPlatforms) = preSolution
47 Debug|Win32 = Debug|Win32
48 Debug|x64 = Debug|x64
49 Release|Win32 = Release|Win32
50 Release|x64 = Release|x64
51 EndGlobalSection
52 GlobalSection(ProjectConfigurationPlatforms) = postSolution
53 {86046918-771F-4654-AFC5-AF4F8AC974EF}.Debug|Win32.ActiveCfg = Debug|Win32
54 {86046918-771F-4654-AFC5-AF4F8AC974EF}.Debug|Win32.Build.0 = Debug|Win32
55 {86046918-771F-4654-AFC5-AF4F8AC974EF}.Debug|x64.ActiveCfg = Debug|x64
56 {86046918-771F-4654-AFC5-AF4F8AC974EF}.Debug|x64.Build.0 = Debug|x64
57 {86046918-771F-4654-AFC5-AF4F8AC974EF}.Release|Win32.ActiveCfg = Release|Win32
58 {86046918-771F-4654-AFC5-AF4F8AC974EF}.Release|Win32.Build.0 = Release|Win32
59 {86046918-771F-4654-AFC5-AF4F8AC974EF}.Release|x64.ActiveCfg = Release|x64
60 {86046918-771F-4654-AFC5-AF4F8AC974EF}.Release|x64.Build.0 = Release|x64
61 {98D8E34D-75B4-48B6-B175-C3A7DF11E52C}.Debug|Win32.ActiveCfg = Debug|Win32
62 {98D8E34D-75B4-48B6-B175-C3A7DF11E52C}.Debug|Win32.Build.0 = Debug|Win32
63 {98D8E34D-75B4-48B6-B175-C3A7DF11E52C}.Debug|x64.ActiveCfg = Debug|x64
64 {98D8E34D-75B4-48B6-B175-C3A7DF11E52C}.Debug|x64.Build.0 = Debug|x64
65 {98D8E34D-75B4-48B6-B175-C3A7DF11E52C}.Release|Win32.ActiveCfg = Release|Win32
66 {98D8E34D-75B4-48B6-B175-C3A7DF11E52C}.Release|Win32.Build.0 = Release|Win32
67 {98D8E34D-75B4-48B6-B175-C3A7DF11E52C}.Release|x64.ActiveCfg = Release|x64
68 {98D8E34D-75B4-48B6-B175-C3A7DF11E52C}.Release|x64.Build.0 = Release|x64
69 {F296E0C2-0D37-44CD-961D-87681418683F}.Debug|Win32.ActiveCfg = Debug|Win32
70 {F296E0C2-0D37-44CD-961D-87681418683F}.Debug|Win32.Build.0 = Debug|Win32
71 {F296E0C2-0D37-44CD-961D-87681418683F}.Debug|x64.ActiveCfg = Debug|x64
72 {F296E0C2-0D37-44CD-961D-87681418683F}.Debug|x64.Build.0 = Debug|x64
73 {F296E0C2-0D37-44CD-961D-87681418683F}.Release|Win32.ActiveCfg = Release|Win32
74 {F296E0C2-0D37-44CD-961D-87681418683F}.Release|Win32.Build.0 = Release|Win32
75 {F296E0C2-0D37-44CD-961D-87681418683F}.Release|x64.ActiveCfg = Release|x64
76 {F296E0C2-0D37-44CD-961D-87681418683F}.Release|x64.Build.0 = Release|x64
77 {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug|Win32.ActiveCfg = Debug|Win32
78 {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug|Win32.Build.0 = Debug|Win32
79 {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug|x64.ActiveCfg = Debug|x64
80 {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug|x64.Build.0 = Debug|x64
81 {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release|Win32.ActiveCfg = Release|Win32
82 {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release|Win32.Build.0 = Release|Win32
83 {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release|x64.ActiveCfg = Release|x64
84 {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release|x64.Build.0 = Release|x64
85 {6F17FBF1-4304-4AF2-81A8-C78787E8D0A5}.Debug|Win32.ActiveCfg = Debug|Win32
86 {6F17FBF1-4304-4AF2-81A8-C78787E8D0A5}.Debug|Win32.Build.0 = Debug|Win32
87 {6F17FBF1-4304-4AF2-81A8-C78787E8D0A5}.Debug|x64.ActiveCfg = Debug|x64
88 {6F17FBF1-4304-4AF2-81A8-C78787E8D0A5}.Debug|x64.Build.0 = Debug|x64
89 {6F17FBF1-4304-4AF2-81A8-C78787E8D0A5}.Release|Win32.ActiveCfg = Release|Win32
90 {6F17FBF1-4304-4AF2-81A8-C78787E8D0A5}.Release|Win32.Build.0 = Release|Win32
91 {6F17FBF1-4304-4AF2-81A8-C78787E8D0A5}.Release|x64.ActiveCfg = Release|x64
92 {6F17FBF1-4304-4AF2-81A8-C78787E8D0A5}.Release|x64.Build.0 = Release|x64
93 {B3A84395-D889-4419-B313-B410350727FA}.Debug|Win32.ActiveCfg = Debug|Win32
94 {B3A84395-D889-4419-B313-B410350727FA}.Debug|Win32.Build.0 = Debug|Win32
95 {B3A84395-D889-4419-B313-B410350727FA}.Debug|x64.ActiveCfg = Debug|x64
96 {B3A84395-D889-4419-B313-B410350727FA}.Debug|x64.Build.0 = Debug|x64
97 {B3A84395-D889-4419-B313-B410350727FA}.Release|Win32.ActiveCfg = Release|Win32
98 {B3A84395-D889-4419-B313-B410350727FA}.Release|Win32.Build.0 = Release|Win32
99 {B3A84395-D889-4419-B313-B410350727FA}.Release|x64.ActiveCfg = Release|x64
100 {B3A84395-D889-4419-B313-B410350727FA}.Release|x64.Build.0 = Release|x64
101 {2EA12A93-B90E-3F75-8D67-6B51F83A4298}.Debug|Win32.ActiveCfg = Debug|Win32
102 {2EA12A93-B90E-3F75-8D67-6B51F83A4298}.Debug|Win32.Build.0 = Debug|Win32
103 {2EA12A93-B90E-3F75-8D67-6B51F83A4298}.Debug|x64.ActiveCfg = Debug|x64
104 {2EA12A93-B90E-3F75-8D67-6B51F83A4298}.Debug|x64.Build.0 = Debug|x64
105 {2EA12A93-B90E-3F75-8D67-6B51F83A4298}.Release|Win32.ActiveCfg = Release|Win32
106 {2EA12A93-B90E-3F75-8D67-6B51F83A4298}.Release|Win32.Build.0 = Release|Win32
107 {2EA12A93-B90E-3F75-8D67-6B51F83A4298}.Release|x64.ActiveCfg = Release|x64
108 {2EA12A93-B90E-3F75-8D67-6B51F83A4298}.Release|x64.Build.0 = Release|x64
109 {C72BB6A5-318E-4D3F-8714-786094E2C6EB}.Debug|Win32.ActiveCfg = Debug|Win32
110 {C72BB6A5-318E-4D3F-8714-786094E2C6EB}.Debug|Win32.Build.0 = Debug|Win32
111 {C72BB6A5-318E-4D3F-8714-786094E2C6EB}.Debug|x64.ActiveCfg = Debug|x64
112 {C72BB6A5-318E-4D3F-8714-786094E2C6EB}.Debug|x64.Build.0 = Debug|x64
113 {C72BB6A5-318E-4D3F-8714-786094E2C6EB}.Release|Win32.ActiveCfg = Release|Win32
114 {C72BB6A5-318E-4D3F-8714-786094E2C6EB}.Release|Win32.Build.0 = Release|Win32
115 {C72BB6A5-318E-4D3F-8714-786094E2C6EB}.Release|x64.ActiveCfg = Release|x64
116 {C72BB6A5-318E-4D3F-8714-786094E2C6EB}.Release|x64.Build.0 = Release|x64
117 {52C2C7C6-3BCE-4434-9A02-EA920C15FB65}.Debug|Win32.ActiveCfg = Debug|Win32
118 {52C2C7C6-3BCE-4434-9A02-EA920C15FB65}.Debug|Win32.Build.0 = Debug|Win32
119 {52C2C7C6-3BCE-4434-9A02-EA920C15FB65}.Debug|x64.ActiveCfg = Debug|x64
120 {52C2C7C6-3BCE-4434-9A02-EA920C15FB65}.Debug|x64.Build.0 = Debug|x64
121 {52C2C7C6-3BCE-4434-9A02-EA920C15FB65}.Release|Win32.ActiveCfg = Release|Win32
122 {52C2C7C6-3BCE-4434-9A02-EA920C15FB65}.Release|Win32.Build.0 = Release|Win32
123 {52C2C7C6-3BCE-4434-9A02-EA920C15FB65}.Release|x64.ActiveCfg = Release|x64
124 {52C2C7C6-3BCE-4434-9A02-EA920C15FB65}.Release|x64.Build.0 = Release|x64
125 {01089EEA-D32A-4A70-BDD4-221791380931}.Debug|Win32.ActiveCfg = Debug|Win32
126 {01089EEA-D32A-4A70-BDD4-221791380931}.Debug|Win32.Build.0 = Debug|Win32
127 {01089EEA-D32A-4A70-BDD4-221791380931}.Debug|x64.ActiveCfg = Debug|x64
128 {01089EEA-D32A-4A70-BDD4-221791380931}.Debug|x64.Build.0 = Debug|x64
129 {01089EEA-D32A-4A70-BDD4-221791380931}.Release|Win32.ActiveCfg = Release|Win32
130 {01089EEA-D32A-4A70-BDD4-221791380931}.Release|Win32.Build.0 = Release|Win32
131 {01089EEA-D32A-4A70-BDD4-221791380931}.Release|x64.ActiveCfg = Release|x64
132 {01089EEA-D32A-4A70-BDD4-221791380931}.Release|x64.Build.0 = Release|x64
133 {E22874EE-D0EE-4AAC-A7A5-7795917203F7}.Debug|Win32.ActiveCfg = Debug|Win32
134 {E22874EE-D0EE-4AAC-A7A5-7795917203F7}.Debug|Win32.Build.0 = Debug|Win32
135 {E22874EE-D0EE-4AAC-A7A5-7795917203F7}.Debug|x64.ActiveCfg = Debug|x64
136 {E22874EE-D0EE-4AAC-A7A5-7795917203F7}.Debug|x64.Build.0 = Debug|x64
137 {E22874EE-D0EE-4AAC-A7A5-7795917203F7}.Release|Win32.ActiveCfg = Release|Win32
138 {E22874EE-D0EE-4AAC-A7A5-7795917203F7}.Release|Win32.Build.0 = Release|Win32
139 {E22874EE-D0EE-4AAC-A7A5-7795917203F7}.Release|x64.ActiveCfg = Release|x64
140 {E22874EE-D0EE-4AAC-A7A5-7795917203F7}.Release|x64.Build.0 = Release|x64
141 EndGlobalSection
142 GlobalSection(SolutionProperties) = preSolution
143 HideSolutionNode = FALSE
144 EndGlobalSection
145 GlobalSection(ExtensibilityGlobals) = postSolution
146 SolutionGuid = {F0FB4CFF-187B-4705-9CC6-8E25FB2EF3B3}
147 EndGlobalSection
148 EndGlobal
0 <?xml version="1.0" encoding="utf-8"?>
1 <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2 <ItemGroup Label="ProjectConfigurations">
3 <ProjectConfiguration Include="Debug|Win32">
4 <Configuration>Debug</Configuration>
5 <Platform>Win32</Platform>
6 </ProjectConfiguration>
7 <ProjectConfiguration Include="Debug|x64">
8 <Configuration>Debug</Configuration>
9 <Platform>x64</Platform>
10 </ProjectConfiguration>
11 <ProjectConfiguration Include="Release|Win32">
12 <Configuration>Release</Configuration>
13 <Platform>Win32</Platform>
14 </ProjectConfiguration>
15 <ProjectConfiguration Include="Release|x64">
16 <Configuration>Release</Configuration>
17 <Platform>x64</Platform>
18 </ProjectConfiguration>
19 </ItemGroup>
20 <PropertyGroup Label="Globals">
21 <ProjectGuid>{86046918-771F-4654-AFC5-AF4F8AC974EF}</ProjectGuid>
22 <RootNamespace>dvisvgm-vc</RootNamespace>
23 <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
24 </PropertyGroup>
25 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
26 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
27 <ConfigurationType>Application</ConfigurationType>
28 <CharacterSet>NotSet</CharacterSet>
29 <WholeProgramOptimization>false</WholeProgramOptimization>
30 <PlatformToolset>v142</PlatformToolset>
31 </PropertyGroup>
32 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
33 <ConfigurationType>Application</ConfigurationType>
34 <PlatformToolset>v142</PlatformToolset>
35 </PropertyGroup>
36 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
37 <ConfigurationType>Application</ConfigurationType>
38 <PlatformToolset>v142</PlatformToolset>
39 </PropertyGroup>
40 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
41 <ConfigurationType>Application</ConfigurationType>
42 <PlatformToolset>v142</PlatformToolset>
43 </PropertyGroup>
44 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
45 <ImportGroup Label="ExtensionSettings">
46 </ImportGroup>
47 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
48 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
49 </ImportGroup>
50 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
51 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
52 </ImportGroup>
53 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
54 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
55 </ImportGroup>
56 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
57 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
58 </ImportGroup>
59 <PropertyGroup Label="UserMacros" />
60 <PropertyGroup>
61 <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
62 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
63 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
64 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
65 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
66 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
67 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
68 <EmbedManifest Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</EmbedManifest>
69 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
70 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
71 <EmbedManifest Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</EmbedManifest>
72 <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</GenerateManifest>
73 </PropertyGroup>
74 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
75 <ClCompile>
76 <Optimization>Disabled</Optimization>
77 <AdditionalIncludeDirectories>..\vc;..\libs\clipper;..\libs\ff-woff\fontforge;..\libs\ff-woff\inc;..\libs\variant\include;..\libs\brotli\include;..\libs\md5;..\libs\potrace;..\libs\woff2\include;..\libs\xxhash;..\vc\freetype\include;..\vc\miktex-com\$(Platform)\$(Configuration);..\vc\ttfautohint\include;..\vc\zlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
78 <PreprocessorDefinitions>MIKTEX;HAVE_TTFAUTOHINT_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
79 <MinimalRebuild>true</MinimalRebuild>
80 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
81 <FunctionLevelLinking>true</FunctionLevelLinking>
82 <DisableLanguageExtensions>false</DisableLanguageExtensions>
83 <TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
84 <WarningLevel>Level1</WarningLevel>
85 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
86 <OmitDefaultLibName>false</OmitDefaultLibName>
87 <MultiProcessorCompilation>true</MultiProcessorCompilation>
88 <LanguageStandard>stdcpp14</LanguageStandard>
89 </ClCompile>
90 <Link>
91 <AdditionalLibraryDirectories>..;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
92 <IgnoreAllDefaultLibraries>
93 </IgnoreAllDefaultLibraries>
94 <IgnoreSpecificDefaultLibraries>
95 </IgnoreSpecificDefaultLibraries>
96 <DelayLoadDLLs>
97 </DelayLoadDLLs>
98 <GenerateDebugInformation>true</GenerateDebugInformation>
99 <RandomizedBaseAddress>false</RandomizedBaseAddress>
100 <DataExecutionPrevention>
101 </DataExecutionPrevention>
102 <AssemblyDebug>true</AssemblyDebug>
103 <LinkErrorReporting>PromptImmediately</LinkErrorReporting>
104 <SubSystem>Console</SubSystem>
105 <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
106 <ImageHasSafeExceptionHandlers />
107 </Link>
108 </ItemDefinitionGroup>
109 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
110 <Midl>
111 <TargetEnvironment>X64</TargetEnvironment>
112 </Midl>
113 <ClCompile>
114 <Optimization>Disabled</Optimization>
115 <AdditionalIncludeDirectories>..\vc;..\libs\clipper;..\libs\ff-woff\fontforge;..\libs\ff-woff\inc;..\libs\variant\include;..\libs\brotli\include;..\libs\md5;..\libs\potrace;..\libs\woff2\include;..\libs\xxhash;..\vc\freetype\include;..\vc\miktex-com\$(Platform)\$(Configuration);..\vc\ttfautohint\include;..\vc\zlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
116 <PreprocessorDefinitions>MIKTEX;HAVE_TTFAUTOHINT_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
117 <MinimalRebuild>true</MinimalRebuild>
118 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
119 <FunctionLevelLinking>true</FunctionLevelLinking>
120 <DisableLanguageExtensions>false</DisableLanguageExtensions>
121 <TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
122 <WarningLevel>Level1</WarningLevel>
123 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
124 <OmitDefaultLibName>false</OmitDefaultLibName>
125 <MultiProcessorCompilation>true</MultiProcessorCompilation>
126 <LanguageStandard>stdcpp14</LanguageStandard>
127 </ClCompile>
128 <Link>
129 <AdditionalLibraryDirectories>..;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
130 <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
131 <IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
132 <DelayLoadDLLs>%(DelayLoadDLLs)</DelayLoadDLLs>
133 <GenerateDebugInformation>true</GenerateDebugInformation>
134 <RandomizedBaseAddress>false</RandomizedBaseAddress>
135 <DataExecutionPrevention>
136 </DataExecutionPrevention>
137 <TargetMachine>MachineX64</TargetMachine>
138 <MinimumRequiredVersion />
139 <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
140 </Link>
141 </ItemDefinitionGroup>
142 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
143 <ClCompile>
144 <AdditionalIncludeDirectories>..\vc;..\libs\clipper;..\libs\ff-woff\fontforge;..\libs\ff-woff\inc;..\libs\variant\include;..\libs\brotli\include;..\libs\md5;..\libs\potrace;..\libs\woff2\include;..\libs\xxhash;..\vc\freetype\include;..\vc\miktex-com\$(Platform)\$(Configuration);..\vc\ttfautohint\include;..\vc\zlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
145 <PreprocessorDefinitions>MIKTEX;HAVE_TTFAUTOHINT_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
146 <DisableLanguageExtensions>false</DisableLanguageExtensions>
147 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
148 <Optimization>Full</Optimization>
149 <EnableParallelCodeGeneration>true</EnableParallelCodeGeneration>
150 <MultiProcessorCompilation>true</MultiProcessorCompilation>
151 <LanguageStandard>stdcpp14</LanguageStandard>
152 </ClCompile>
153 <Link>
154 <AdditionalLibraryDirectories>..;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
155 <RandomizedBaseAddress>false</RandomizedBaseAddress>
156 <DataExecutionPrevention>
157 </DataExecutionPrevention>
158 <SubSystem>Console</SubSystem>
159 <AdditionalOptions>notelemetry.obj %(AdditionalOptions)</AdditionalOptions>
160 <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
161 <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
162 <ImageHasSafeExceptionHandlers />
163 </Link>
164 </ItemDefinitionGroup>
165 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
166 <Midl>
167 <TargetEnvironment>X64</TargetEnvironment>
168 </Midl>
169 <ClCompile>
170 <WholeProgramOptimization>true</WholeProgramOptimization>
171 <AdditionalIncludeDirectories>..\vc;..\libs\clipper;..\libs\ff-woff\fontforge;..\libs\ff-woff\inc;..\libs\variant\include;..\libs\brotli\include;..\libs\md5;..\libs\potrace;..\libs\woff2\include;..\libs\xxhash;..\vc\freetype\include;..\vc\miktex-com\$(Platform)\$(Configuration);..\vc\ttfautohint\include;..\vc\zlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
172 <PreprocessorDefinitions>MIKTEX;HAVE_TTFAUTOHINT_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
173 <DisableLanguageExtensions>false</DisableLanguageExtensions>
174 <Optimization>Full</Optimization>
175 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
176 <EnableParallelCodeGeneration>true</EnableParallelCodeGeneration>
177 <MultiProcessorCompilation>true</MultiProcessorCompilation>
178 <LanguageStandard>stdcpp14</LanguageStandard>
179 </ClCompile>
180 <Link>
181 <AdditionalLibraryDirectories>..;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
182 <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
183 <RandomizedBaseAddress>false</RandomizedBaseAddress>
184 <DataExecutionPrevention>
185 </DataExecutionPrevention>
186 <TargetMachine>MachineX64</TargetMachine>
187 <MinimumRequiredVersion />
188 <AdditionalOptions>notelemetry.obj %(AdditionalOptions)</AdditionalOptions>
189 <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
190 </Link>
191 </ItemDefinitionGroup>
192 <ItemGroup>
193 <ClCompile Include="..\src\BasicDVIReader.cpp" />
194 <ClCompile Include="..\src\Bezier.cpp" />
195 <ClCompile Include="..\src\BgColorSpecialHandler.cpp" />
196 <ClCompile Include="..\src\Bitmap.cpp" />
197 <ClCompile Include="..\src\BoundingBox.cpp" />
198 <ClCompile Include="..\src\Calculator.cpp" />
199 <ClCompile Include="..\src\CharMapID.cpp" />
200 <ClCompile Include="..\src\CLCommandLine.cpp" />
201 <ClCompile Include="..\src\CMap.cpp" />
202 <ClCompile Include="..\src\CMapManager.cpp" />
203 <ClCompile Include="..\src\CMapReader.cpp" />
204 <ClCompile Include="..\src\Color.cpp" />
205 <ClCompile Include="..\src\ColorSpecialHandler.cpp" />
206 <ClCompile Include="..\src\Directory.cpp" />
207 <ClCompile Include="..\src\DLLoader.cpp" />
208 <ClCompile Include="..\src\EllipticalArc.cpp" />
209 <ClCompile Include="..\src\HashFunction.cpp" />
210 <ClCompile Include="..\src\ImageToSVG.cpp" />
211 <ClCompile Include="..\src\optimizer\AttributeExtractor.cpp" />
212 <ClCompile Include="..\src\optimizer\GroupCollapser.cpp" />
213 <ClCompile Include="..\src\optimizer\RedundantElementRemover.cpp" />
214 <ClCompile Include="..\src\optimizer\SVGOptimizer.cpp" />
215 <ClCompile Include="..\src\optimizer\TextSimplifier.cpp" />
216 <ClCompile Include="..\src\optimizer\TransformSimplifier.cpp" />
217 <ClCompile Include="..\src\optimizer\WSNodeRemover.cpp" />
218 <ClCompile Include="..\src\SourceInput.cpp" />
219 <ClCompile Include="..\src\DVIReader.cpp" />
220 <ClCompile Include="..\src\dvisvgm.cpp" />
221 <ClCompile Include="..\src\DvisvgmSpecialHandler.cpp" />
222 <ClCompile Include="..\src\DVIToSVG.cpp" />
223 <ClCompile Include="..\src\DVIToSVGActions.cpp" />
224 <ClCompile Include="..\src\EmSpecialHandler.cpp" />
225 <ClCompile Include="..\src\EncFile.cpp" />
226 <ClCompile Include="..\src\EPSFile.cpp" />
227 <ClCompile Include="..\src\ffwrapper.c" />
228 <ClCompile Include="..\src\FileFinder.cpp">
229 <MultiProcessorCompilation Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</MultiProcessorCompilation>
230 <MultiProcessorCompilation Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</MultiProcessorCompilation>
231 <MultiProcessorCompilation Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</MultiProcessorCompilation>
232 <MultiProcessorCompilation Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</MultiProcessorCompilation>
233 </ClCompile>
234 <ClCompile Include="..\src\FilePath.cpp" />
235 <ClCompile Include="..\src\FileSystem.cpp" />
236 <ClCompile Include="..\src\Font.cpp" />
237 <ClCompile Include="..\src\FontCache.cpp" />
238 <ClCompile Include="..\src\FontEncoding.cpp" />
239 <ClCompile Include="..\src\FontEngine.cpp" />
240 <ClCompile Include="..\src\FontManager.cpp" />
241 <ClCompile Include="..\src\FontMap.cpp" />
242 <ClCompile Include="..\src\FontMetrics.cpp" />
243 <ClCompile Include="..\src\FontWriter.cpp" />
244 <ClCompile Include="..\src\GFGlyphTracer.cpp" />
245 <ClCompile Include="..\src\GFReader.cpp" />
246 <ClCompile Include="..\src\GFTracer.cpp" />
247 <ClCompile Include="..\src\Ghostscript.cpp" />
248 <ClCompile Include="..\src\HtmlSpecialHandler.cpp" />
249 <ClCompile Include="..\src\HyperlinkManager.cpp" />
250 <ClCompile Include="..\src\InputBuffer.cpp" />
251 <ClCompile Include="..\src\InputReader.cpp" />
252 <ClCompile Include="..\src\JFM.cpp" />
253 <ClCompile Include="..\src\Length.cpp" />
254 <ClCompile Include="..\src\MapLine.cpp" />
255 <ClCompile Include="..\src\Matrix.cpp" />
256 <ClCompile Include="..\src\Message.cpp" />
257 <ClCompile Include="..\src\MetafontWrapper.cpp" />
258 <ClCompile Include="..\src\MiKTeXCom.cpp">
259 <MultiProcessorCompilation Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</MultiProcessorCompilation>
260 <EnableParallelCodeGeneration Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</EnableParallelCodeGeneration>
261 <EnableParallelCodeGeneration Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</EnableParallelCodeGeneration>
262 <MultiProcessorCompilation Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</MultiProcessorCompilation>
263 <MultiProcessorCompilation Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</MultiProcessorCompilation>
264 <MultiProcessorCompilation Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</MultiProcessorCompilation>
265 </ClCompile>
266 <ClCompile Include="..\src\NoPsSpecialHandler.cpp" />
267 <ClCompile Include="..\src\PageRanges.cpp" />
268 <ClCompile Include="..\src\PageSize.cpp" />
269 <ClCompile Include="..\src\PapersizeSpecialHandler.cpp" />
270 <ClCompile Include="..\src\PathClipper.cpp" />
271 <ClCompile Include="..\src\PDFParser.cpp" />
272 <ClCompile Include="..\src\PdfSpecialHandler.cpp" />
273 <ClCompile Include="..\src\PreScanDVIReader.cpp" />
274 <ClCompile Include="..\src\Process.cpp" />
275 <ClCompile Include="..\src\psdefs.cpp" />
276 <ClCompile Include="..\src\PSInterpreter.cpp" />
277 <ClCompile Include="..\src\PSPattern.cpp" />
278 <ClCompile Include="..\src\PSPreviewFilter.cpp" />
279 <ClCompile Include="..\src\PsSpecialHandler.cpp" />
280 <ClCompile Include="..\src\RangeMap.cpp" />
281 <ClCompile Include="..\src\ShadingPatch.cpp" />
282 <ClCompile Include="..\src\SignalHandler.cpp" />
283 <ClCompile Include="..\src\SpecialManager.cpp" />
284 <ClCompile Include="..\src\StreamReader.cpp" />
285 <ClCompile Include="..\src\StreamWriter.cpp" />
286 <ClCompile Include="..\src\Subfont.cpp" />
287 <ClCompile Include="..\src\SVGCharHandler.cpp" />
288 <ClCompile Include="..\src\SVGCharHandlerFactory.cpp" />
289 <ClCompile Include="..\src\SVGCharPathHandler.cpp" />
290 <ClCompile Include="..\src\SVGSingleCharTextHandler.cpp" />
291 <ClCompile Include="..\src\SVGCharTspanTextHandler.cpp" />
292 <ClCompile Include="..\src\SVGOutput.cpp" />
293 <ClCompile Include="..\src\SVGTree.cpp" />
294 <ClCompile Include="..\src\System.cpp" />
295 <ClCompile Include="..\src\TensorProductPatch.cpp" />
296 <ClCompile Include="..\src\Terminal.cpp" />
297 <ClCompile Include="..\src\TFM.cpp" />
298 <ClCompile Include="..\src\ToUnicodeMap.cpp" />
299 <ClCompile Include="..\src\TpicSpecialHandler.cpp" />
300 <ClCompile Include="..\src\TriangularPatch.cpp" />
301 <ClCompile Include="..\src\TrueTypeFont.cpp" />
302 <ClCompile Include="..\src\TTFAutohint.cpp" />
303 <ClCompile Include="..\src\Unicode.cpp" />
304 <ClCompile Include="..\src\utility.cpp" />
305 <ClCompile Include="..\src\VFReader.cpp" />
306 <ClCompile Include="..\src\XMLDocument.cpp" />
307 <ClCompile Include="..\src\XMLNode.cpp" />
308 <ClCompile Include="..\src\XMLString.cpp" />
309 </ItemGroup>
310 <ItemGroup>
311 <ClInclude Include="..\src\AGLTable.hpp" />
312 <ClInclude Include="..\src\BasicDVIReader.hpp" />
313 <ClInclude Include="..\src\Bezier.hpp" />
314 <ClInclude Include="..\src\BgColorSpecialHandler.hpp" />
315 <ClInclude Include="..\src\Bitmap.hpp" />
316 <ClInclude Include="..\src\BoundingBox.hpp" />
317 <ClInclude Include="..\src\Calculator.hpp" />
318 <ClInclude Include="..\src\Character.hpp" />
319 <ClInclude Include="..\src\CharMapID.hpp" />
320 <ClInclude Include="..\src\CLCommandLine.hpp" />
321 <ClInclude Include="..\src\CMap.hpp" />
322 <ClInclude Include="..\src\CMapManager.hpp" />
323 <ClInclude Include="..\src\CMapReader.hpp" />
324 <ClInclude Include="..\src\Color.hpp" />
325 <ClInclude Include="..\src\ColorSpecialHandler.hpp" />
326 <ClInclude Include="..\src\CommandLine.hpp" />
327 <ClInclude Include="..\src\EllipticalArc.hpp" />
328 <ClInclude Include="..\src\HashFunction.hpp" />
329 <ClInclude Include="..\src\ImageToSVG.hpp" />
330 <ClInclude Include="..\src\MD5HashFunction.hpp" />
331 <ClInclude Include="..\src\optimizer\AttributeExtractor.hpp" />
332 <ClInclude Include="..\src\optimizer\DependencyGraph.hpp" />
333 <ClInclude Include="..\src\optimizer\GroupCollapser.hpp" />
334 <ClInclude Include="..\src\optimizer\OptimizerModule.hpp" />
335 <ClInclude Include="..\src\optimizer\RedundantElementRemover.hpp" />
336 <ClInclude Include="..\src\optimizer\SVGOptimizer.hpp" />
337 <ClInclude Include="..\src\optimizer\TextSimplifier.hpp" />
338 <ClInclude Include="..\src\optimizer\TransformSimplifier.hpp" />
339 <ClInclude Include="..\src\optimizer\WSNodeRemover.hpp" />
340 <ClInclude Include="..\src\PDFToSVG.hpp" />
341 <ClInclude Include="..\src\SourceInput.hpp" />
342 <ClInclude Include="..\src\EncFile.hpp" />
343 <ClInclude Include="..\src\EPSFile.hpp" />
344 <ClInclude Include="..\src\EPSToSVG.hpp" />
345 <ClInclude Include="..\src\ffwrapper.h" />
346 <ClInclude Include="..\src\FilePath.hpp" />
347 <ClInclude Include="..\src\FixWord.hpp" />
348 <ClInclude Include="..\src\FontMetrics.hpp" />
349 <ClInclude Include="..\src\FontWriter.hpp" />
350 <ClInclude Include="..\src\HtmlSpecialHandler.hpp" />
351 <ClInclude Include="..\src\JFM.hpp" />
352 <ClInclude Include="..\src\macros.hpp" />
353 <ClInclude Include="..\src\MapLine.hpp" />
354 <ClInclude Include="..\src\MiKTeXCom.hpp" />
355 <ClInclude Include="..\src\NoPsSpecialHandler.hpp" />
356 <ClInclude Include="..\src\NumericRanges.hpp" />
357 <ClInclude Include="..\src\PageRanges.hpp" />
358 <ClInclude Include="..\src\PapersizeSpecialHandler.hpp" />
359 <ClInclude Include="..\src\PathClipper.hpp" />
360 <ClInclude Include="..\src\PDFParser.hpp" />
361 <ClInclude Include="..\src\PdfSpecialHandler.hpp" />
362 <ClInclude Include="..\src\PreScanDVIReader.hpp" />
363 <ClInclude Include="..\src\Process.hpp" />
364 <ClInclude Include="..\src\PSFilter.hpp" />
365 <ClInclude Include="..\src\PSInterpreter.hpp" />
366 <ClInclude Include="..\src\PSPattern.hpp" />
367 <ClInclude Include="..\src\PSPreviewFilter.hpp" />
368 <ClInclude Include="..\src\PsSpecialHandler.hpp" />
369 <ClInclude Include="..\src\RangeMap.hpp" />
370 <ClInclude Include="..\src\ShadingPatch.hpp" />
371 <ClInclude Include="..\src\SignalHandler.hpp" />
372 <ClInclude Include="..\src\Subfont.hpp" />
373 <ClInclude Include="..\src\SVGCharHandler.hpp" />
374 <ClInclude Include="..\src\SVGCharHandlerFactory.hpp" />
375 <ClInclude Include="..\src\SVGCharPathHandler.hpp" />
376 <ClInclude Include="..\src\SVGSingleCharTextHandler.hpp" />
377 <ClInclude Include="..\src\SVGCharTspanTextHandler.hpp" />
378 <ClInclude Include="..\src\SVGOutput.hpp" />
379 <ClInclude Include="..\src\System.hpp" />
380 <ClInclude Include="..\src\TensorProductPatch.hpp" />
381 <ClInclude Include="..\src\Terminal.hpp" />
382 <ClInclude Include="..\src\ToUnicodeMap.hpp" />
383 <ClInclude Include="..\src\TriangularPatch.hpp" />
384 <ClInclude Include="..\src\TrueTypeFont.hpp" />
385 <ClInclude Include="..\src\TTFAutohint.hpp" />
386 <ClInclude Include="..\src\Unicode.hpp" />
387 <ClInclude Include="..\src\utility.hpp" />
388 <ClInclude Include="..\src\VectorIterator.hpp" />
389 <ClInclude Include="..\src\XXHashFunction.hpp" />
390 <ClInclude Include="..\src\ZLibOutputStream.hpp" />
391 <ClInclude Include="config.h" />
392 <ClInclude Include="..\src\DVIActions.hpp" />
393 <ClInclude Include="..\src\DVIReader.hpp" />
394 <ClInclude Include="..\src\DvisvgmSpecialHandler.hpp" />
395 <ClInclude Include="..\src\DVIToSVG.hpp" />
396 <ClInclude Include="..\src\DVIToSVGActions.hpp" />
397 <ClInclude Include="..\src\FileFinder.hpp" />
398 <ClInclude Include="..\src\FileSystem.hpp" />
399 <ClInclude Include="..\src\Font.hpp" />
400 <ClInclude Include="..\src\FontCache.hpp" />
401 <ClInclude Include="..\src\FontEngine.hpp" />
402 <ClInclude Include="..\src\FontManager.hpp" />
403 <ClInclude Include="..\src\FontMap.hpp" />
404 <ClInclude Include="..\src\GFGlyphTracer.hpp" />
405 <ClInclude Include="..\src\GFReader.hpp" />
406 <ClInclude Include="..\src\GFTracer.hpp" />
407 <ClInclude Include="..\src\Ghostscript.hpp" />
408 <ClInclude Include="..\src\Glyph.hpp" />
409 <ClInclude Include="..\src\InputBuffer.hpp" />
410 <ClInclude Include="..\src\Length.hpp" />
411 <ClInclude Include="..\src\Message.hpp" />
412 <ClInclude Include="..\src\MessageException.hpp" />
413 <ClInclude Include="..\src\MetafontWrapper.hpp" />
414 <ClInclude Include="..\src\PageSize.hpp" />
415 <ClInclude Include="..\src\Pair.hpp" />
416 <ClInclude Include="..\src\SpecialActions.hpp" />
417 <ClInclude Include="..\src\SpecialHandler.hpp" />
418 <ClInclude Include="..\src\SpecialManager.hpp" />
419 <ClInclude Include="..\src\StreamWriter.hpp" />
420 <ClInclude Include="..\src\TFM.hpp" />
421 <ClInclude Include="..\src\TpicSpecialHandler.hpp" />
422 <ClInclude Include="..\src\XMLDocument.hpp" />
423 <ClInclude Include="..\src\XMLNode.hpp" />
424 <ClInclude Include="..\src\XMLString.hpp" />
425 </ItemGroup>
426 <ItemGroup>
427 <ProjectReference Include="brotli\brotli.vcxproj">
428 <Project>{c72bb6a5-318e-4d3f-8714-786094e2c6eb}</Project>
429 </ProjectReference>
430 <ProjectReference Include="clipper\clipper.vcxproj">
431 <Project>{98d8e34d-75b4-48b6-b175-c3a7df11e52c}</Project>
432 </ProjectReference>
433 <ProjectReference Include="fontforge\ff-woff.vcxproj">
434 <Project>{2ea12a93-b90e-3f75-8d67-6b51f83a4298}</Project>
435 </ProjectReference>
436 <ProjectReference Include="freetype\freetype.vcxproj">
437 <Project>{78b079bd-9fc7-4b9e-b4a6-96da0f00248b}</Project>
438 </ProjectReference>
439 <ProjectReference Include="md5\md5.vcxproj">
440 <Project>{01089eea-d32a-4a70-bdd4-221791380931}</Project>
441 </ProjectReference>
442 <ProjectReference Include="potrace\libpotrace.vcxproj">
443 <Project>{6f17fbf1-4304-4af2-81a8-c78787e8d0a5}</Project>
444 </ProjectReference>
445 <ProjectReference Include="woff2\woff2.vcxproj">
446 <Project>{52c2c7c6-3bce-4434-9a02-ea920c15fb65}</Project>
447 </ProjectReference>
448 <ProjectReference Include="xxHash\xxhash.vcxproj">
449 <Project>{b3a84395-d889-4419-b313-b410350727fa}</Project>
450 </ProjectReference>
451 <ProjectReference Include="zlib\zlib.vcxproj">
452 <Project>{f296e0c2-0d37-44cd-961d-87681418683f}</Project>
453 </ProjectReference>
454 </ItemGroup>
455 <ItemGroup>
456 <ResourceCompile Include="dvisvgm.rc" />
457 </ItemGroup>
458 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
459 <ImportGroup Label="ExtensionTargets">
460 </ImportGroup>
461 </Project>
0 <?xml version="1.0" encoding="utf-8"?>
1 <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2 <ItemGroup>
3 <Filter Include="Header Files">
4 <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
5 <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
6 </Filter>
7 <Filter Include="Source Files">
8 <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
9 <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
10 </Filter>
11 <Filter Include="Resources">
12 <UniqueIdentifier>{5c0e8de5-5203-477a-a1e9-265973e55172}</UniqueIdentifier>
13 </Filter>
14 <Filter Include="Source Files\optimizer">
15 <UniqueIdentifier>{64ff1813-983e-4360-bc0b-6857f8e321c7}</UniqueIdentifier>
16 </Filter>
17 <Filter Include="Header Files\optimizer">
18 <UniqueIdentifier>{30c147de-3bba-4bb4-9415-c0b6f86f88a1}</UniqueIdentifier>
19 </Filter>
20 </ItemGroup>
21 <ItemGroup>
22 <ClCompile Include="..\src\BgColorSpecialHandler.cpp">
23 <Filter>Source Files</Filter>
24 </ClCompile>
25 <ClCompile Include="..\src\Bitmap.cpp">
26 <Filter>Source Files</Filter>
27 </ClCompile>
28 <ClCompile Include="..\src\BoundingBox.cpp">
29 <Filter>Source Files</Filter>
30 </ClCompile>
31 <ClCompile Include="..\src\Calculator.cpp">
32 <Filter>Source Files</Filter>
33 </ClCompile>
34 <ClCompile Include="..\src\Color.cpp">
35 <Filter>Source Files</Filter>
36 </ClCompile>
37 <ClCompile Include="..\src\ColorSpecialHandler.cpp">
38 <Filter>Source Files</Filter>
39 </ClCompile>
40 <ClCompile Include="..\src\Directory.cpp">
41 <Filter>Source Files</Filter>
42 </ClCompile>
43 <ClCompile Include="..\src\DLLoader.cpp">
44 <Filter>Source Files</Filter>
45 </ClCompile>
46 <ClCompile Include="..\src\DVIReader.cpp">
47 <Filter>Source Files</Filter>
48 </ClCompile>
49 <ClCompile Include="..\src\dvisvgm.cpp">
50 <Filter>Source Files</Filter>
51 </ClCompile>
52 <ClCompile Include="..\src\DvisvgmSpecialHandler.cpp">
53 <Filter>Source Files</Filter>
54 </ClCompile>
55 <ClCompile Include="..\src\DVIToSVG.cpp">
56 <Filter>Source Files</Filter>
57 </ClCompile>
58 <ClCompile Include="..\src\DVIToSVGActions.cpp">
59 <Filter>Source Files</Filter>
60 </ClCompile>
61 <ClCompile Include="..\src\EmSpecialHandler.cpp">
62 <Filter>Source Files</Filter>
63 </ClCompile>
64 <ClCompile Include="..\src\FileFinder.cpp">
65 <Filter>Source Files</Filter>
66 </ClCompile>
67 <ClCompile Include="..\src\FileSystem.cpp">
68 <Filter>Source Files</Filter>
69 </ClCompile>
70 <ClCompile Include="..\src\Font.cpp">
71 <Filter>Source Files</Filter>
72 </ClCompile>
73 <ClCompile Include="..\src\FontCache.cpp">
74 <Filter>Source Files</Filter>
75 </ClCompile>
76 <ClCompile Include="..\src\FontEncoding.cpp">
77 <Filter>Source Files</Filter>
78 </ClCompile>
79 <ClCompile Include="..\src\FontEngine.cpp">
80 <Filter>Source Files</Filter>
81 </ClCompile>
82 <ClCompile Include="..\src\FontManager.cpp">
83 <Filter>Source Files</Filter>
84 </ClCompile>
85 <ClCompile Include="..\src\FontMap.cpp">
86 <Filter>Source Files</Filter>
87 </ClCompile>
88 <ClCompile Include="..\src\GFGlyphTracer.cpp">
89 <Filter>Source Files</Filter>
90 </ClCompile>
91 <ClCompile Include="..\src\GFReader.cpp">
92 <Filter>Source Files</Filter>
93 </ClCompile>
94 <ClCompile Include="..\src\GFTracer.cpp">
95 <Filter>Source Files</Filter>
96 </ClCompile>
97 <ClCompile Include="..\src\Ghostscript.cpp">
98 <Filter>Source Files</Filter>
99 </ClCompile>
100 <ClCompile Include="..\src\InputBuffer.cpp">
101 <Filter>Source Files</Filter>
102 </ClCompile>
103 <ClCompile Include="..\src\InputReader.cpp">
104 <Filter>Source Files</Filter>
105 </ClCompile>
106 <ClCompile Include="..\src\Length.cpp">
107 <Filter>Source Files</Filter>
108 </ClCompile>
109 <ClCompile Include="..\src\Matrix.cpp">
110 <Filter>Source Files</Filter>
111 </ClCompile>
112 <ClCompile Include="..\src\Message.cpp">
113 <Filter>Source Files</Filter>
114 </ClCompile>
115 <ClCompile Include="..\src\MetafontWrapper.cpp">
116 <Filter>Source Files</Filter>
117 </ClCompile>
118 <ClCompile Include="..\src\PageSize.cpp">
119 <Filter>Source Files</Filter>
120 </ClCompile>
121 <ClCompile Include="..\src\PSInterpreter.cpp">
122 <Filter>Source Files</Filter>
123 </ClCompile>
124 <ClCompile Include="..\src\PsSpecialHandler.cpp">
125 <Filter>Source Files</Filter>
126 </ClCompile>
127 <ClCompile Include="..\src\SpecialManager.cpp">
128 <Filter>Source Files</Filter>
129 </ClCompile>
130 <ClCompile Include="..\src\StreamReader.cpp">
131 <Filter>Source Files</Filter>
132 </ClCompile>
133 <ClCompile Include="..\src\StreamWriter.cpp">
134 <Filter>Source Files</Filter>
135 </ClCompile>
136 <ClCompile Include="..\src\SVGTree.cpp">
137 <Filter>Source Files</Filter>
138 </ClCompile>
139 <ClCompile Include="..\src\TFM.cpp">
140 <Filter>Source Files</Filter>
141 </ClCompile>
142 <ClCompile Include="..\src\TpicSpecialHandler.cpp">
143 <Filter>Source Files</Filter>
144 </ClCompile>
145 <ClCompile Include="..\src\VFReader.cpp">
146 <Filter>Source Files</Filter>
147 </ClCompile>
148 <ClCompile Include="..\src\XMLDocument.cpp">
149 <Filter>Source Files</Filter>
150 </ClCompile>
151 <ClCompile Include="..\src\XMLNode.cpp">
152 <Filter>Source Files</Filter>
153 </ClCompile>
154 <ClCompile Include="..\src\XMLString.cpp">
155 <Filter>Source Files</Filter>
156 </ClCompile>
157 <ClCompile Include="..\src\FilePath.cpp">
158 <Filter>Source Files</Filter>
159 </ClCompile>
160 <ClCompile Include="..\src\PageRanges.cpp">
161 <Filter>Source Files</Filter>
162 </ClCompile>
163 <ClCompile Include="..\src\Terminal.cpp">
164 <Filter>Source Files</Filter>
165 </ClCompile>
166 <ClCompile Include="..\src\System.cpp">
167 <Filter>Source Files</Filter>
168 </ClCompile>
169 <ClCompile Include="..\src\SignalHandler.cpp">
170 <Filter>Source Files</Filter>
171 </ClCompile>
172 <ClCompile Include="..\src\Process.cpp">
173 <Filter>Source Files</Filter>
174 </ClCompile>
175 <ClCompile Include="..\src\MiKTeXCom.cpp">
176 <Filter>Source Files</Filter>
177 </ClCompile>
178 <ClCompile Include="..\src\MapLine.cpp">
179 <Filter>Source Files</Filter>
180 </ClCompile>
181 <ClCompile Include="..\src\PdfSpecialHandler.cpp">
182 <Filter>Source Files</Filter>
183 </ClCompile>
184 <ClCompile Include="..\src\Subfont.cpp">
185 <Filter>Source Files</Filter>
186 </ClCompile>
187 <ClCompile Include="..\src\EPSFile.cpp">
188 <Filter>Source Files</Filter>
189 </ClCompile>
190 <ClCompile Include="..\src\PSPattern.cpp">
191 <Filter>Source Files</Filter>
192 </ClCompile>
193 <ClCompile Include="..\src\psdefs.cpp">
194 <Filter>Source Files</Filter>
195 </ClCompile>
196 <ClCompile Include="..\src\NoPsSpecialHandler.cpp">
197 <Filter>Source Files</Filter>
198 </ClCompile>
199 <ClCompile Include="..\src\JFM.cpp">
200 <Filter>Source Files</Filter>
201 </ClCompile>
202 <ClCompile Include="..\src\HtmlSpecialHandler.cpp">
203 <Filter>Source Files</Filter>
204 </ClCompile>
205 <ClCompile Include="..\src\PSPreviewFilter.cpp">
206 <Filter>Source Files</Filter>
207 </ClCompile>
208 <ClCompile Include="..\src\CMap.cpp">
209 <Filter>Source Files</Filter>
210 </ClCompile>
211 <ClCompile Include="..\src\CMapManager.cpp">
212 <Filter>Source Files</Filter>
213 </ClCompile>
214 <ClCompile Include="..\src\CMapReader.cpp">
215 <Filter>Source Files</Filter>
216 </ClCompile>
217 <ClCompile Include="..\src\EncFile.cpp">
218 <Filter>Source Files</Filter>
219 </ClCompile>
220 <ClCompile Include="..\src\FontMetrics.cpp">
221 <Filter>Source Files</Filter>
222 </ClCompile>
223 <ClCompile Include="..\src\CharMapID.cpp">
224 <Filter>Source Files</Filter>
225 </ClCompile>
226 <ClCompile Include="..\src\RangeMap.cpp">
227 <Filter>Source Files</Filter>
228 </ClCompile>
229 <ClCompile Include="..\src\Unicode.cpp">
230 <Filter>Source Files</Filter>
231 </ClCompile>
232 <ClCompile Include="..\src\ToUnicodeMap.cpp">
233 <Filter>Source Files</Filter>
234 </ClCompile>
235 <ClCompile Include="..\src\BasicDVIReader.cpp">
236 <Filter>Source Files</Filter>
237 </ClCompile>
238 <ClCompile Include="..\src\PreScanDVIReader.cpp">
239 <Filter>Source Files</Filter>
240 </ClCompile>
241 <ClCompile Include="..\src\PathClipper.cpp">
242 <Filter>Source Files</Filter>
243 </ClCompile>
244 <ClCompile Include="..\src\Bezier.cpp">
245 <Filter>Source Files</Filter>
246 </ClCompile>
247 <ClCompile Include="..\src\TensorProductPatch.cpp">
248 <Filter>Source Files</Filter>
249 </ClCompile>
250 <ClCompile Include="..\src\TriangularPatch.cpp">
251 <Filter>Source Files</Filter>
252 </ClCompile>
253 <ClCompile Include="..\src\ShadingPatch.cpp">
254 <Filter>Source Files</Filter>
255 </ClCompile>
256 <ClCompile Include="..\src\SVGOutput.cpp">
257 <Filter>Source Files</Filter>
258 </ClCompile>
259 <ClCompile Include="..\src\SVGCharHandler.cpp">
260 <Filter>Source Files</Filter>
261 </ClCompile>
262 <ClCompile Include="..\src\SVGCharHandlerFactory.cpp">
263 <Filter>Source Files</Filter>
264 </ClCompile>
265 <ClCompile Include="..\src\SVGCharPathHandler.cpp">
266 <Filter>Source Files</Filter>
267 </ClCompile>
268 <ClCompile Include="..\src\SVGSingleCharTextHandler.cpp">
269 <Filter>Source Files</Filter>
270 </ClCompile>
271 <ClCompile Include="..\src\SVGCharTspanTextHandler.cpp">
272 <Filter>Source Files</Filter>
273 </ClCompile>
274 <ClCompile Include="..\src\PapersizeSpecialHandler.cpp">
275 <Filter>Source Files</Filter>
276 </ClCompile>
277 <ClCompile Include="..\src\CLCommandLine.cpp">
278 <Filter>Source Files</Filter>
279 </ClCompile>
280 <ClCompile Include="..\src\ffwrapper.c">
281 <Filter>Source Files</Filter>
282 </ClCompile>
283 <ClCompile Include="..\src\FontWriter.cpp">
284 <Filter>Source Files</Filter>
285 </ClCompile>
286 <ClCompile Include="..\src\utility.cpp">
287 <Filter>Source Files</Filter>
288 </ClCompile>
289 <ClCompile Include="..\src\HyperlinkManager.cpp">
290 <Filter>Source Files</Filter>
291 </ClCompile>
292 <ClCompile Include="..\src\PDFParser.cpp">
293 <Filter>Source Files</Filter>
294 </ClCompile>
295 <ClCompile Include="..\src\TrueTypeFont.cpp">
296 <Filter>Source Files</Filter>
297 </ClCompile>
298 <ClCompile Include="..\src\TTFAutohint.cpp">
299 <Filter>Source Files</Filter>
300 </ClCompile>
301 <ClCompile Include="..\src\SourceInput.cpp">
302 <Filter>Source Files</Filter>
303 </ClCompile>
304 <ClCompile Include="..\src\ImageToSVG.cpp">
305 <Filter>Source Files</Filter>
306 </ClCompile>
307 <ClCompile Include="..\src\HashFunction.cpp">
308 <Filter>Source Files</Filter>
309 </ClCompile>
310 <ClCompile Include="..\src\optimizer\AttributeExtractor.cpp">
311 <Filter>Source Files\optimizer</Filter>
312 </ClCompile>
313 <ClCompile Include="..\src\optimizer\GroupCollapser.cpp">
314 <Filter>Source Files\optimizer</Filter>
315 </ClCompile>
316 <ClCompile Include="..\src\optimizer\RedundantElementRemover.cpp">
317 <Filter>Source Files\optimizer</Filter>
318 </ClCompile>
319 <ClCompile Include="..\src\optimizer\SVGOptimizer.cpp">
320 <Filter>Source Files\optimizer</Filter>
321 </ClCompile>
322 <ClCompile Include="..\src\optimizer\TransformSimplifier.cpp">
323 <Filter>Source Files\optimizer</Filter>
324 </ClCompile>
325 <ClCompile Include="..\src\optimizer\WSNodeRemover.cpp">
326 <Filter>Source Files\optimizer</Filter>
327 </ClCompile>
328 <ClCompile Include="..\src\EllipticalArc.cpp">
329 <Filter>Source Files</Filter>
330 </ClCompile>
331 <ClCompile Include="..\src\optimizer\TextSimplifier.cpp">
332 <Filter>Source Files\optimizer</Filter>
333 </ClCompile>
334 </ItemGroup>
335 <ItemGroup>
336 <ClInclude Include="..\src\BgColorSpecialHandler.hpp">
337 <Filter>Header Files</Filter>
338 </ClInclude>
339 <ClInclude Include="..\src\Bitmap.hpp">
340 <Filter>Header Files</Filter>
341 </ClInclude>
342 <ClInclude Include="..\src\BoundingBox.hpp">
343 <Filter>Header Files</Filter>
344 </ClInclude>
345 <ClInclude Include="..\src\Calculator.hpp">
346 <Filter>Header Files</Filter>
347 </ClInclude>
348 <ClInclude Include="..\src\Color.hpp">
349 <Filter>Header Files</Filter>
350 </ClInclude>
351 <ClInclude Include="..\src\ColorSpecialHandler.hpp">
352 <Filter>Header Files</Filter>
353 </ClInclude>
354 <ClInclude Include="..\src\CommandLine.hpp">
355 <Filter>Header Files</Filter>
356 </ClInclude>
357 <ClInclude Include="config.h">
358 <Filter>Header Files</Filter>
359 </ClInclude>
360 <ClInclude Include="..\src\DVIActions.hpp">
361 <Filter>Header Files</Filter>
362 </ClInclude>
363 <ClInclude Include="..\src\DVIReader.hpp">
364 <Filter>Header Files</Filter>
365 </ClInclude>
366 <ClInclude Include="..\src\DvisvgmSpecialHandler.hpp">
367 <Filter>Header Files</Filter>
368 </ClInclude>
369 <ClInclude Include="..\src\DVIToSVG.hpp">
370 <Filter>Header Files</Filter>
371 </ClInclude>
372 <ClInclude Include="..\src\DVIToSVGActions.hpp">
373 <Filter>Header Files</Filter>
374 </ClInclude>
375 <ClInclude Include="..\src\FileFinder.hpp">
376 <Filter>Header Files</Filter>
377 </ClInclude>
378 <ClInclude Include="..\src\FileSystem.hpp">
379 <Filter>Header Files</Filter>
380 </ClInclude>
381 <ClInclude Include="..\src\Font.hpp">
382 <Filter>Header Files</Filter>
383 </ClInclude>
384 <ClInclude Include="..\src\FontCache.hpp">
385 <Filter>Header Files</Filter>
386 </ClInclude>
387 <ClInclude Include="..\src\FontEngine.hpp">
388 <Filter>Header Files</Filter>
389 </ClInclude>
390 <ClInclude Include="..\src\FontManager.hpp">
391 <Filter>Header Files</Filter>
392 </ClInclude>
393 <ClInclude Include="..\src\FontMap.hpp">
394 <Filter>Header Files</Filter>
395 </ClInclude>
396 <ClInclude Include="..\src\GFGlyphTracer.hpp">
397 <Filter>Header Files</Filter>
398 </ClInclude>
399 <ClInclude Include="..\src\GFReader.hpp">
400 <Filter>Header Files</Filter>
401 </ClInclude>
402 <ClInclude Include="..\src\GFTracer.hpp">
403 <Filter>Header Files</Filter>
404 </ClInclude>
405 <ClInclude Include="..\src\Ghostscript.hpp">
406 <Filter>Header Files</Filter>
407 </ClInclude>
408 <ClInclude Include="..\src\Glyph.hpp">
409 <Filter>Header Files</Filter>
410 </ClInclude>
411 <ClInclude Include="..\src\InputBuffer.hpp">
412 <Filter>Header Files</Filter>
413 </ClInclude>
414 <ClInclude Include="..\src\Length.hpp">
415 <Filter>Header Files</Filter>
416 </ClInclude>
417 <ClInclude Include="..\src\Message.hpp">
418 <Filter>Header Files</Filter>
419 </ClInclude>
420 <ClInclude Include="..\src\MessageException.hpp">
421 <Filter>Header Files</Filter>
422 </ClInclude>
423 <ClInclude Include="..\src\MetafontWrapper.hpp">
424 <Filter>Header Files</Filter>
425 </ClInclude>
426 <ClInclude Include="..\src\PageSize.hpp">
427 <Filter>Header Files</Filter>
428 </ClInclude>
429 <ClInclude Include="..\src\Pair.hpp">
430 <Filter>Header Files</Filter>
431 </ClInclude>
432 <ClInclude Include="..\src\SpecialActions.hpp">
433 <Filter>Header Files</Filter>
434 </ClInclude>
435 <ClInclude Include="..\src\SpecialHandler.hpp">
436 <Filter>Header Files</Filter>
437 </ClInclude>
438 <ClInclude Include="..\src\SpecialManager.hpp">
439 <Filter>Header Files</Filter>
440 </ClInclude>
441 <ClInclude Include="..\src\StreamWriter.hpp">
442 <Filter>Header Files</Filter>
443 </ClInclude>
444 <ClInclude Include="..\src\TFM.hpp">
445 <Filter>Header Files</Filter>
446 </ClInclude>
447 <ClInclude Include="..\src\TpicSpecialHandler.hpp">
448 <Filter>Header Files</Filter>
449 </ClInclude>
450 <ClInclude Include="..\src\XMLDocument.hpp">
451 <Filter>Header Files</Filter>
452 </ClInclude>
453 <ClInclude Include="..\src\XMLNode.hpp">
454 <Filter>Header Files</Filter>
455 </ClInclude>
456 <ClInclude Include="..\src\XMLString.hpp">
457 <Filter>Header Files</Filter>
458 </ClInclude>
459 <ClInclude Include="..\src\FilePath.hpp">
460 <Filter>Header Files</Filter>
461 </ClInclude>
462 <ClInclude Include="..\src\PageRanges.hpp">
463 <Filter>Header Files</Filter>
464 </ClInclude>
465 <ClInclude Include="..\src\Terminal.hpp">
466 <Filter>Header Files</Filter>
467 </ClInclude>
468 <ClInclude Include="..\src\System.hpp">
469 <Filter>Header Files</Filter>
470 </ClInclude>
471 <ClInclude Include="..\src\SignalHandler.hpp">
472 <Filter>Header Files</Filter>
473 </ClInclude>
474 <ClInclude Include="..\src\Process.hpp">
475 <Filter>Header Files</Filter>
476 </ClInclude>
477 <ClInclude Include="..\src\MiKTeXCom.hpp">
478 <Filter>Header Files</Filter>
479 </ClInclude>
480 <ClInclude Include="..\src\MapLine.hpp">
481 <Filter>Header Files</Filter>
482 </ClInclude>
483 <ClInclude Include="..\src\PdfSpecialHandler.hpp">
484 <Filter>Header Files</Filter>
485 </ClInclude>
486 <ClInclude Include="..\src\Subfont.hpp">
487 <Filter>Header Files</Filter>
488 </ClInclude>
489 <ClInclude Include="..\src\EPSFile.hpp">
490 <Filter>Header Files</Filter>
491 </ClInclude>
492 <ClInclude Include="..\src\EPSToSVG.hpp">
493 <Filter>Header Files</Filter>
494 </ClInclude>
495 <ClInclude Include="..\src\PSInterpreter.hpp">
496 <Filter>Header Files</Filter>
497 </ClInclude>
498 <ClInclude Include="..\src\PSPattern.hpp">
499 <Filter>Header Files</Filter>
500 </ClInclude>
501 <ClInclude Include="..\src\PsSpecialHandler.hpp">
502 <Filter>Header Files</Filter>
503 </ClInclude>
504 <ClInclude Include="..\src\NoPsSpecialHandler.hpp">
505 <Filter>Header Files</Filter>
506 </ClInclude>
507 <ClInclude Include="..\src\JFM.hpp">
508 <Filter>Header Files</Filter>
509 </ClInclude>
510 <ClInclude Include="..\src\HtmlSpecialHandler.hpp">
511 <Filter>Header Files</Filter>
512 </ClInclude>
513 <ClInclude Include="..\src\PSFilter.hpp">
514 <Filter>Header Files</Filter>
515 </ClInclude>
516 <ClInclude Include="..\src\PSPreviewFilter.hpp">
517 <Filter>Header Files</Filter>
518 </ClInclude>
519 <ClInclude Include="..\src\CMap.hpp">
520 <Filter>Header Files</Filter>
521 </ClInclude>
522 <ClInclude Include="..\src\CMapManager.hpp">
523 <Filter>Header Files</Filter>
524 </ClInclude>
525 <ClInclude Include="..\src\CMapReader.hpp">
526 <Filter>Header Files</Filter>
527 </ClInclude>
528 <ClInclude Include="..\src\EncFile.hpp">
529 <Filter>Header Files</Filter>
530 </ClInclude>
531 <ClInclude Include="..\src\Character.hpp">
532 <Filter>Header Files</Filter>
533 </ClInclude>
534 <ClInclude Include="..\src\FontMetrics.hpp">
535 <Filter>Header Files</Filter>
536 </ClInclude>
537 <ClInclude Include="..\src\CharMapID.hpp">
538 <Filter>Header Files</Filter>
539 </ClInclude>
540 <ClInclude Include="..\src\RangeMap.hpp">
541 <Filter>Header Files</Filter>
542 </ClInclude>
543 <ClInclude Include="..\src\Unicode.hpp">
544 <Filter>Header Files</Filter>
545 </ClInclude>
546 <ClInclude Include="..\src\NumericRanges.hpp">
547 <Filter>Header Files</Filter>
548 </ClInclude>
549 <ClInclude Include="..\src\ToUnicodeMap.hpp">
550 <Filter>Header Files</Filter>
551 </ClInclude>
552 <ClInclude Include="..\src\BasicDVIReader.hpp">
553 <Filter>Header Files</Filter>
554 </ClInclude>
555 <ClInclude Include="..\src\PreScanDVIReader.hpp">
556 <Filter>Header Files</Filter>
557 </ClInclude>
558 <ClInclude Include="..\src\PathClipper.hpp">
559 <Filter>Header Files</Filter>
560 </ClInclude>
561 <ClInclude Include="..\src\Bezier.hpp">
562 <Filter>Header Files</Filter>
563 </ClInclude>
564 <ClInclude Include="..\src\TensorProductPatch.hpp">
565 <Filter>Header Files</Filter>
566 </ClInclude>
567 <ClInclude Include="..\src\TriangularPatch.hpp">
568 <Filter>Header Files</Filter>
569 </ClInclude>
570 <ClInclude Include="..\src\ShadingPatch.hpp">
571 <Filter>Header Files</Filter>
572 </ClInclude>
573 <ClInclude Include="..\src\VectorIterator.hpp">
574 <Filter>Header Files</Filter>
575 </ClInclude>
576 <ClInclude Include="..\src\SVGOutput.hpp">
577 <Filter>Header Files</Filter>
578 </ClInclude>
579 <ClInclude Include="..\src\SVGCharHandler.hpp">
580 <Filter>Header Files</Filter>
581 </ClInclude>
582 <ClInclude Include="..\src\SVGCharHandlerFactory.hpp">
583 <Filter>Header Files</Filter>
584 </ClInclude>
585 <ClInclude Include="..\src\SVGCharPathHandler.hpp">
586 <Filter>Header Files</Filter>
587 </ClInclude>
588 <ClInclude Include="..\src\SVGSingleCharTextHandler.hpp">
589 <Filter>Header Files</Filter>
590 </ClInclude>
591 <ClInclude Include="..\src\SVGCharTspanTextHandler.hpp">
592 <Filter>Header Files</Filter>
593 </ClInclude>
594 <ClInclude Include="..\src\PapersizeSpecialHandler.hpp">
595 <Filter>Header Files</Filter>
596 </ClInclude>
597 <ClInclude Include="..\src\AGLTable.hpp">
598 <Filter>Header Files</Filter>
599 </ClInclude>
600 <ClInclude Include="..\src\FixWord.hpp">
601 <Filter>Header Files</Filter>
602 </ClInclude>
603 <ClInclude Include="..\src\ZLibOutputStream.hpp">
604 <Filter>Header Files</Filter>
605 </ClInclude>
606 <ClInclude Include="..\src\CLCommandLine.hpp">
607 <Filter>Header Files</Filter>
608 </ClInclude>
609 <ClInclude Include="..\src\FontWriter.hpp">
610 <Filter>Header Files</Filter>
611 </ClInclude>
612 <ClInclude Include="..\src\utility.hpp">
613 <Filter>Header Files</Filter>
614 </ClInclude>
615 <ClInclude Include="..\src\macros.hpp">
616 <Filter>Header Files</Filter>
617 </ClInclude>
618 <ClInclude Include="..\src\ffwrapper.h">
619 <Filter>Header Files</Filter>
620 </ClInclude>
621 <ClInclude Include="..\src\PDFParser.hpp">
622 <Filter>Header Files</Filter>
623 </ClInclude>
624 <ClInclude Include="..\src\TrueTypeFont.hpp">
625 <Filter>Header Files</Filter>
626 </ClInclude>
627 <ClInclude Include="..\src\TTFAutohint.hpp">
628 <Filter>Header Files</Filter>
629 </ClInclude>
630 <ClInclude Include="..\src\SourceInput.hpp">
631 <Filter>Header Files</Filter>
632 </ClInclude>
633 <ClInclude Include="..\src\ImageToSVG.hpp">
634 <Filter>Header Files</Filter>
635 </ClInclude>
636 <ClInclude Include="..\src\PDFToSVG.hpp">
637 <Filter>Header Files</Filter>
638 </ClInclude>
639 <ClInclude Include="..\src\HashFunction.hpp">
640 <Filter>Header Files</Filter>
641 </ClInclude>
642 <ClInclude Include="..\src\MD5HashFunction.hpp">
643 <Filter>Header Files</Filter>
644 </ClInclude>
645 <ClInclude Include="..\src\XXHashFunction.hpp">
646 <Filter>Header Files</Filter>
647 </ClInclude>
648 <ClInclude Include="..\src\optimizer\AttributeExtractor.hpp">
649 <Filter>Header Files\optimizer</Filter>
650 </ClInclude>
651 <ClInclude Include="..\src\optimizer\DependencyGraph.hpp">
652 <Filter>Header Files\optimizer</Filter>
653 </ClInclude>
654 <ClInclude Include="..\src\optimizer\GroupCollapser.hpp">
655 <Filter>Header Files\optimizer</Filter>
656 </ClInclude>
657 <ClInclude Include="..\src\optimizer\RedundantElementRemover.hpp">
658 <Filter>Header Files\optimizer</Filter>
659 </ClInclude>
660 <ClInclude Include="..\src\optimizer\SVGOptimizer.hpp">
661 <Filter>Header Files\optimizer</Filter>
662 </ClInclude>
663 <ClInclude Include="..\src\optimizer\TransformSimplifier.hpp">
664 <Filter>Header Files\optimizer</Filter>
665 </ClInclude>
666 <ClInclude Include="..\src\optimizer\WSNodeRemover.hpp">
667 <Filter>Header Files\optimizer</Filter>
668 </ClInclude>
669 <ClInclude Include="..\src\optimizer\OptimizerModule.hpp">
670 <Filter>Header Files\optimizer</Filter>
671 </ClInclude>
672 <ClInclude Include="..\src\EllipticalArc.hpp">
673 <Filter>Header Files</Filter>
674 </ClInclude>
675 <ClInclude Include="..\src\optimizer\TextSimplifier.hpp">
676 <Filter>Header Files\optimizer</Filter>
677 </ClInclude>
678 </ItemGroup>
679 <ItemGroup>
680 <ResourceCompile Include="dvisvgm.rc">
681 <Filter>Resources</Filter>
682 </ResourceCompile>
683 </ItemGroup>
684 </Project>
0 <?xml version="1.0" encoding="utf-8"?>
1 <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2 <ItemGroup Label="ProjectConfigurations">
3 <ProjectConfiguration Include="Debug|Win32">
4 <Configuration>Debug</Configuration>
5 <Platform>Win32</Platform>
6 </ProjectConfiguration>
7 <ProjectConfiguration Include="Debug|x64">
8 <Configuration>Debug</Configuration>
9 <Platform>x64</Platform>
10 </ProjectConfiguration>
11 <ProjectConfiguration Include="Release|Win32">
12 <Configuration>Release</Configuration>
13 <Platform>Win32</Platform>
14 </ProjectConfiguration>
15 <ProjectConfiguration Include="Release|x64">
16 <Configuration>Release</Configuration>
17 <Platform>x64</Platform>
18 </ProjectConfiguration>
19 </ItemGroup>
20 <PropertyGroup Label="Globals">
21 <ProjectGUID>{2EA12A93-B90E-3F75-8D67-6B51F83A4298}</ProjectGUID>
22 <Keyword>Win32Proj</Keyword>
23 <Platform>Win32</Platform>
24 <ProjectName>fontforge</ProjectName>
25 <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
26 </PropertyGroup>
27 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
28 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
29 <ConfigurationType>StaticLibrary</ConfigurationType>
30 <UseOfMfc>false</UseOfMfc>
31 <CharacterSet>MultiByte</CharacterSet>
32 <PlatformToolset>v142</PlatformToolset>
33 </PropertyGroup>
34 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
35 <ConfigurationType>StaticLibrary</ConfigurationType>
36 <UseOfMfc>false</UseOfMfc>
37 <CharacterSet>MultiByte</CharacterSet>
38 <PlatformToolset>v142</PlatformToolset>
39 </PropertyGroup>
40 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
41 <ConfigurationType>StaticLibrary</ConfigurationType>
42 <UseOfMfc>false</UseOfMfc>
43 <CharacterSet>MultiByte</CharacterSet>
44 <PlatformToolset>v142</PlatformToolset>
45 </PropertyGroup>
46 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
47 <ConfigurationType>StaticLibrary</ConfigurationType>
48 <UseOfMfc>false</UseOfMfc>
49 <CharacterSet>MultiByte</CharacterSet>
50 <PlatformToolset>v142</PlatformToolset>
51 </PropertyGroup>
52 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
53 <ImportGroup Label="ExtensionSettings">
54 </ImportGroup>
55 <ImportGroup Label="PropertySheets">
56 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
57 </ImportGroup>
58 <PropertyGroup Label="UserMacros" />
59 <PropertyGroup>
60 <_ProjectFileVersion>10.0.20506.1</_ProjectFileVersion>
61 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
62 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
63 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
64 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
65 <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectName)</TargetName>
66 <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjectName)</TargetName>
67 <TargetExt Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.lib</TargetExt>
68 <TargetExt Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.lib</TargetExt>
69 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
70 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
71 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
72 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
73 <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectName)</TargetName>
74 <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ProjectName)</TargetName>
75 <TargetExt Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.lib</TargetExt>
76 <TargetExt Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.lib</TargetExt>
77 </PropertyGroup>
78 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
79 <ClCompile>
80 <AdditionalIncludeDirectories>..\..\libs\ff-woff\fontforge;..\..\libs\ff-woff\inc;..\zlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
81 <AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
82 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
83 <CompileAs>CompileAsC</CompileAs>
84 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
85 <ExceptionHandling>false</ExceptionHandling>
86 <InlineFunctionExpansion>Disabled</InlineFunctionExpansion>
87 <Optimization>Disabled</Optimization>
88 <PrecompiledHeader>NotUsing</PrecompiledHeader>
89 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
90 <SuppressStartupBanner>
91 </SuppressStartupBanner>
92 <WarningLevel>Level3</WarningLevel>
93 <PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
94 <ObjectFileName>$(IntDir)</ObjectFileName>
95 <MultiProcessorCompilation>true</MultiProcessorCompilation>
96 </ClCompile>
97 <Lib>
98 <AdditionalOptions>%(AdditionalOptions)</AdditionalOptions>
99 <TargetMachine>MachineX86</TargetMachine>
100 </Lib>
101 </ItemDefinitionGroup>
102 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
103 <ClCompile>
104 <AdditionalIncludeDirectories>..\..\libs\ff-woff\fontforge;..\..\libs\ff-woff\inc;..\zlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
105 <AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
106 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
107 <CompileAs>CompileAsC</CompileAs>
108 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
109 <ExceptionHandling>false</ExceptionHandling>
110 <InlineFunctionExpansion>Disabled</InlineFunctionExpansion>
111 <Optimization>Disabled</Optimization>
112 <PrecompiledHeader>NotUsing</PrecompiledHeader>
113 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
114 <SuppressStartupBanner>
115 </SuppressStartupBanner>
116 <WarningLevel>Level3</WarningLevel>
117 <PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
118 <ObjectFileName>$(IntDir)</ObjectFileName>
119 <MultiProcessorCompilation>true</MultiProcessorCompilation>
120 </ClCompile>
121 <Lib>
122 <AdditionalOptions>%(AdditionalOptions)</AdditionalOptions>
123 </Lib>
124 </ItemDefinitionGroup>
125 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
126 <ClCompile>
127 <AdditionalIncludeDirectories>..\..\libs\ff-woff\fontforge;..\..\libs\ff-woff\inc;..\zlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
128 <AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
129 <CompileAs>CompileAsC</CompileAs>
130 <ExceptionHandling>false</ExceptionHandling>
131 <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
132 <Optimization>MaxSpeed</Optimization>
133 <PrecompiledHeader>NotUsing</PrecompiledHeader>
134 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
135 <SuppressStartupBanner>
136 </SuppressStartupBanner>
137 <WarningLevel>Level3</WarningLevel>
138 <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
139 <ObjectFileName>$(IntDir)</ObjectFileName>
140 <DebugInformationFormat>
141 </DebugInformationFormat>
142 <MultiProcessorCompilation>true</MultiProcessorCompilation>
143 </ClCompile>
144 <Lib>
145 <AdditionalOptions>%(AdditionalOptions)</AdditionalOptions>
146 <TargetMachine>MachineX86</TargetMachine>
147 <LinkTimeCodeGeneration>true</LinkTimeCodeGeneration>
148 </Lib>
149 </ItemDefinitionGroup>
150 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
151 <ClCompile>
152 <AdditionalIncludeDirectories>..\..\libs\ff-woff\fontforge;..\..\libs\ff-woff\inc;..\zlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
153 <AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
154 <CompileAs>CompileAsC</CompileAs>
155 <ExceptionHandling>false</ExceptionHandling>
156 <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
157 <Optimization>MaxSpeed</Optimization>
158 <PrecompiledHeader>NotUsing</PrecompiledHeader>
159 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
160 <SuppressStartupBanner>
161 </SuppressStartupBanner>
162 <WarningLevel>Level3</WarningLevel>
163 <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
164 <ObjectFileName>$(IntDir)</ObjectFileName>
165 <DebugInformationFormat>
166 </DebugInformationFormat>
167 <MultiProcessorCompilation>true</MultiProcessorCompilation>
168 </ClCompile>
169 <Lib>
170 <AdditionalOptions>%(AdditionalOptions)</AdditionalOptions>
171 <LinkTimeCodeGeneration>true</LinkTimeCodeGeneration>
172 </Lib>
173 </ItemDefinitionGroup>
174 <ItemGroup>
175 <ClCompile Include="..\..\libs\ff-woff\fontforge\alphabet.c" />
176 <ClCompile Include="..\..\libs\ff-woff\fontforge\asmfpst.c" />
177 <ClCompile Include="..\..\libs\ff-woff\fontforge\autohint.c" />
178 <ClCompile Include="..\..\libs\ff-woff\fontforge\char.c" />
179 <ClCompile Include="..\..\libs\ff-woff\fontforge\cjk.c" />
180 <ClCompile Include="..\..\libs\ff-woff\fontforge\cvundoes.c" />
181 <ClCompile Include="..\..\libs\ff-woff\fontforge\dumppfa.c" />
182 <ClCompile Include="..\..\libs\ff-woff\fontforge\encoding.c" />
183 <ClCompile Include="..\..\libs\ff-woff\fontforge\fflocale.c" />
184 <ClCompile Include="..\..\libs\ff-woff\fontforge\fvfonts.c" />
185 <ClCompile Include="..\..\libs\ff-woff\fontforge\gwwiconv.c" />
186 <ClCompile Include="..\..\libs\ff-woff\fontforge\lookups.c" />
187 <ClCompile Include="..\..\libs\ff-woff\fontforge\macbinary.c" />
188 <ClCompile Include="..\..\libs\ff-woff\fontforge\macenc.c" />
189 <ClCompile Include="..\..\libs\ff-woff\fontforge\mathconstants.c" />
190 <ClCompile Include="..\..\libs\ff-woff\fontforge\memory.c" />
191 <ClCompile Include="..\..\libs\ff-woff\fontforge\mm.c" />
192 <ClCompile Include="..\..\libs\ff-woff\fontforge\namelist.c" />
193 <ClCompile Include="..\..\libs\ff-woff\fontforge\nouiutil.c" />
194 <ClCompile Include="..\..\libs\ff-woff\fontforge\nowakowskittfinstr.c" />
195 <ClCompile Include="..\..\libs\ff-woff\fontforge\parsepfa.c" />
196 <ClCompile Include="..\..\libs\ff-woff\fontforge\parsettf.c" />
197 <ClCompile Include="..\..\libs\ff-woff\fontforge\parsettfatt.c" />
198 <ClCompile Include="..\..\libs\ff-woff\fontforge\psread.c" />
199 <ClCompile Include="..\..\libs\ff-woff\fontforge\pua.c" />
200 <ClCompile Include="..\..\libs\ff-woff\fontforge\sfd.c" />
201 <ClCompile Include="..\..\libs\ff-woff\fontforge\sfd1.c" />
202 <ClCompile Include="..\..\libs\ff-woff\fontforge\splinechar.c" />
203 <ClCompile Include="..\..\libs\ff-woff\fontforge\splinefont.c" />
204 <ClCompile Include="..\..\libs\ff-woff\fontforge\splineorder2.c" />
205 <ClCompile Include="..\..\libs\ff-woff\fontforge\splineoverlap.c" />
206 <ClCompile Include="..\..\libs\ff-woff\fontforge\splinerefigure.c" />
207 <ClCompile Include="..\..\libs\ff-woff\fontforge\splinesave.c" />
208 <ClCompile Include="..\..\libs\ff-woff\fontforge\splinesaveafm.c" />
209 <ClCompile Include="..\..\libs\ff-woff\fontforge\splineutil.c" />
210 <ClCompile Include="..\..\libs\ff-woff\fontforge\splineutil2.c" />
211 <ClCompile Include="..\..\libs\ff-woff\fontforge\start.c" />
212 <ClCompile Include="..\..\libs\ff-woff\fontforge\stemdb.c" />
213 <ClCompile Include="..\..\libs\ff-woff\fontforge\tmpfile2.cpp">
214 <ExceptionHandling Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">SyncCThrow</ExceptionHandling>
215 <ExceptionHandling Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">SyncCThrow</ExceptionHandling>
216 <ExceptionHandling Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">SyncCThrow</ExceptionHandling>
217 <ExceptionHandling Condition="'$(Configuration)|$(Platform)'=='Release|x64'">SyncCThrow</ExceptionHandling>
218 <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
219 <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
220 <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">CompileAsCpp</CompileAs>
221 <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">CompileAsCpp</CompileAs>
222 </ClCompile>
223 <ClCompile Include="..\..\libs\ff-woff\fontforge\tottf.c" />
224 <ClCompile Include="..\..\libs\ff-woff\fontforge\tottfaat.c" />
225 <ClCompile Include="..\..\libs\ff-woff\fontforge\tottfgpos.c" />
226 <ClCompile Include="..\..\libs\ff-woff\fontforge\tottfvar.c" />
227 <ClCompile Include="..\..\libs\ff-woff\fontforge\ttfinstrs.c" />
228 <ClCompile Include="..\..\libs\ff-woff\fontforge\ttfspecial.c" />
229 <ClCompile Include="..\..\libs\ff-woff\fontforge\unialt.c" />
230 <ClCompile Include="..\..\libs\ff-woff\fontforge\ustring.c" />
231 <ClCompile Include="..\..\libs\ff-woff\fontforge\utype.c" />
232 <ClCompile Include="..\..\libs\ff-woff\fontforge\woff.c" />
233 </ItemGroup>
234 <ItemGroup>
235 <ClInclude Include="..\..\libs\ff-woff\fontforge\configure-fontforge.h" />
236 <ClInclude Include="..\..\libs\ff-woff\fontforge\edgelist.h" />
237 <ClInclude Include="..\..\libs\ff-woff\fontforge\edgelist2.h" />
238 <ClInclude Include="..\..\libs\ff-woff\fontforge\encoding.h" />
239 <ClInclude Include="..\..\libs\ff-woff\fontforge\fflocale.h" />
240 <ClInclude Include="..\..\libs\ff-woff\fontforge\fontforge-config.h" />
241 <ClInclude Include="..\..\libs\ff-woff\fontforge\fontforge.h" />
242 <ClInclude Include="..\..\libs\ff-woff\fontforge\fontforgevw.h" />
243 <ClInclude Include="..\..\libs\ff-woff\fontforge\libffstamp.h" />
244 <ClInclude Include="..\..\libs\ff-woff\fontforge\namehash.h" />
245 <ClInclude Include="..\..\libs\ff-woff\fontforge\PfEd.h" />
246 <ClInclude Include="..\..\libs\ff-woff\fontforge\psfont.h" />
247 <ClInclude Include="..\..\libs\ff-woff\fontforge\sd.h" />
248 <ClInclude Include="..\..\libs\ff-woff\fontforge\sfd1.h" />
249 <ClInclude Include="..\..\libs\ff-woff\fontforge\splinefont.h" />
250 <ClInclude Include="..\..\libs\ff-woff\fontforge\stemdb.h" />
251 <ClInclude Include="..\..\libs\ff-woff\fontforge\tables.h" />
252 <ClInclude Include="..\..\libs\ff-woff\fontforge\ttf.h" />
253 <ClInclude Include="..\..\libs\ff-woff\fontforge\ttfinstrs.h" />
254 <ClInclude Include="..\..\libs\ff-woff\fontforge\uiinterface.h" />
255 <ClInclude Include="..\..\libs\ff-woff\inc\basics.h" />
256 <ClInclude Include="..\..\libs\ff-woff\inc\chardata.h" />
257 <ClInclude Include="..\..\libs\ff-woff\inc\charset.h" />
258 <ClInclude Include="..\..\libs\ff-woff\inc\dlist.h" />
259 <ClInclude Include="..\..\libs\ff-woff\inc\gimage.h" />
260 <ClInclude Include="..\..\libs\ff-woff\inc\gnetwork.h" />
261 <ClInclude Include="..\..\libs\ff-woff\inc\gwwiconv.h" />
262 <ClInclude Include="..\..\libs\ff-woff\inc\intl.h" />
263 <ClInclude Include="..\..\libs\ff-woff\inc\ustring.h" />
264 <ClInclude Include="..\..\libs\ff-woff\inc\utype.h" />
265 </ItemGroup>
266 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
267 <ImportGroup Label="ExtensionTargets">
268 </ImportGroup>
269 </Project>
0 <?xml version="1.0" encoding="utf-8"?>
1 <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2 <ItemGroup>
3 <Filter Include="Source Files">
4 <UniqueIdentifier>{0AF8A512-C0BD-35F2-BD38-CC800FD8D2E7}</UniqueIdentifier>
5 </Filter>
6 <Filter Include="Header Files">
7 <UniqueIdentifier>{f247ec55-8e8b-464d-873d-acb8363f0b51}</UniqueIdentifier>
8 </Filter>
9 </ItemGroup>
10 <ItemGroup>
11 <ClCompile Include="..\..\libs\ff-woff\fontforge\alphabet.c">
12 <Filter>Source Files</Filter>
13 </ClCompile>
14 <ClCompile Include="..\..\libs\ff-woff\fontforge\asmfpst.c">
15 <Filter>Source Files</Filter>
16 </ClCompile>
17 <ClCompile Include="..\..\libs\ff-woff\fontforge\autohint.c">
18 <Filter>Source Files</Filter>
19 </ClCompile>
20 <ClCompile Include="..\..\libs\ff-woff\fontforge\char.c">
21 <Filter>Source Files</Filter>
22 </ClCompile>
23 <ClCompile Include="..\..\libs\ff-woff\fontforge\cjk.c">
24 <Filter>Source Files</Filter>
25 </ClCompile>
26 <ClCompile Include="..\..\libs\ff-woff\fontforge\cvundoes.c">
27 <Filter>Source Files</Filter>
28 </ClCompile>
29 <ClCompile Include="..\..\libs\ff-woff\fontforge\dumppfa.c">
30 <Filter>Source Files</Filter>
31 </ClCompile>
32 <ClCompile Include="..\..\libs\ff-woff\fontforge\encoding.c">
33 <Filter>Source Files</Filter>
34 </ClCompile>
35 <ClCompile Include="..\..\libs\ff-woff\fontforge\fvfonts.c">
36 <Filter>Source Files</Filter>
37 </ClCompile>
38 <ClCompile Include="..\..\libs\ff-woff\fontforge\gwwiconv.c">
39 <Filter>Source Files</Filter>
40 </ClCompile>
41 <ClCompile Include="..\..\libs\ff-woff\fontforge\lookups.c">
42 <Filter>Source Files</Filter>
43 </ClCompile>
44 <ClCompile Include="..\..\libs\ff-woff\fontforge\macbinary.c">
45 <Filter>Source Files</Filter>
46 </ClCompile>
47 <ClCompile Include="..\..\libs\ff-woff\fontforge\macenc.c">
48 <Filter>Source Files</Filter>
49 </ClCompile>
50 <ClCompile Include="..\..\libs\ff-woff\fontforge\mathconstants.c">
51 <Filter>Source Files</Filter>
52 </ClCompile>
53 <ClCompile Include="..\..\libs\ff-woff\fontforge\memory.c">
54 <Filter>Source Files</Filter>
55 </ClCompile>
56 <ClCompile Include="..\..\libs\ff-woff\fontforge\mm.c">
57 <Filter>Source Files</Filter>
58 </ClCompile>
59 <ClCompile Include="..\..\libs\ff-woff\fontforge\namelist.c">
60 <Filter>Source Files</Filter>
61 </ClCompile>
62 <ClCompile Include="..\..\libs\ff-woff\fontforge\nouiutil.c">
63 <Filter>Source Files</Filter>
64 </ClCompile>
65 <ClCompile Include="..\..\libs\ff-woff\fontforge\nowakowskittfinstr.c">
66 <Filter>Source Files</Filter>
67 </ClCompile>
68 <ClCompile Include="..\..\libs\ff-woff\fontforge\parsepfa.c">
69 <Filter>Source Files</Filter>
70 </ClCompile>
71 <ClCompile Include="..\..\libs\ff-woff\fontforge\parsettf.c">
72 <Filter>Source Files</Filter>
73 </ClCompile>
74 <ClCompile Include="..\..\libs\ff-woff\fontforge\parsettfatt.c">
75 <Filter>Source Files</Filter>
76 </ClCompile>
77 <ClCompile Include="..\..\libs\ff-woff\fontforge\psread.c">
78 <Filter>Source Files</Filter>
79 </ClCompile>
80 <ClCompile Include="..\..\libs\ff-woff\fontforge\pua.c">
81 <Filter>Source Files</Filter>
82 </ClCompile>
83 <ClCompile Include="..\..\libs\ff-woff\fontforge\sfd.c">
84 <Filter>Source Files</Filter>
85 </ClCompile>
86 <ClCompile Include="..\..\libs\ff-woff\fontforge\sfd1.c">
87 <Filter>Source Files</Filter>
88 </ClCompile>
89 <ClCompile Include="..\..\libs\ff-woff\fontforge\splinechar.c">
90 <Filter>Source Files</Filter>
91 </ClCompile>
92 <ClCompile Include="..\..\libs\ff-woff\fontforge\splinefont.c">
93 <Filter>Source Files</Filter>
94 </ClCompile>
95 <ClCompile Include="..\..\libs\ff-woff\fontforge\splineorder2.c">
96 <Filter>Source Files</Filter>
97 </ClCompile>
98 <ClCompile Include="..\..\libs\ff-woff\fontforge\splineoverlap.c">
99 <Filter>Source Files</Filter>
100 </ClCompile>
101 <ClCompile Include="..\..\libs\ff-woff\fontforge\splinerefigure.c">
102 <Filter>Source Files</Filter>
103 </ClCompile>
104 <ClCompile Include="..\..\libs\ff-woff\fontforge\splinesave.c">
105 <Filter>Source Files</Filter>
106 </ClCompile>
107 <ClCompile Include="..\..\libs\ff-woff\fontforge\splinesaveafm.c">
108 <Filter>Source Files</Filter>
109 </ClCompile>
110 <ClCompile Include="..\..\libs\ff-woff\fontforge\splineutil.c">
111 <Filter>Source Files</Filter>
112 </ClCompile>
113 <ClCompile Include="..\..\libs\ff-woff\fontforge\splineutil2.c">
114 <Filter>Source Files</Filter>
115 </ClCompile>
116 <ClCompile Include="..\..\libs\ff-woff\fontforge\start.c">
117 <Filter>Source Files</Filter>
118 </ClCompile>
119 <ClCompile Include="..\..\libs\ff-woff\fontforge\stemdb.c">
120 <Filter>Source Files</Filter>
121 </ClCompile>
122 <ClCompile Include="..\..\libs\ff-woff\fontforge\tottf.c">
123 <Filter>Source Files</Filter>
124 </ClCompile>
125 <ClCompile Include="..\..\libs\ff-woff\fontforge\tottfaat.c">
126 <Filter>Source Files</Filter>
127 </ClCompile>
128 <ClCompile Include="..\..\libs\ff-woff\fontforge\tottfgpos.c">
129 <Filter>Source Files</Filter>
130 </ClCompile>
131 <ClCompile Include="..\..\libs\ff-woff\fontforge\tottfvar.c">
132 <Filter>Source Files</Filter>
133 </ClCompile>
134 <ClCompile Include="..\..\libs\ff-woff\fontforge\ttfinstrs.c">
135 <Filter>Source Files</Filter>
136 </ClCompile>
137 <ClCompile Include="..\..\libs\ff-woff\fontforge\ttfspecial.c">
138 <Filter>Source Files</Filter>
139 </ClCompile>
140 <ClCompile Include="..\..\libs\ff-woff\fontforge\unialt.c">
141 <Filter>Source Files</Filter>
142 </ClCompile>
143 <ClCompile Include="..\..\libs\ff-woff\fontforge\ustring.c">
144 <Filter>Source Files</Filter>
145 </ClCompile>
146 <ClCompile Include="..\..\libs\ff-woff\fontforge\utype.c">
147 <Filter>Source Files</Filter>
148 </ClCompile>
149 <ClCompile Include="..\..\libs\ff-woff\fontforge\woff.c">
150 <Filter>Source Files</Filter>
151 </ClCompile>
152 <ClCompile Include="..\..\libs\ff-woff\fontforge\tmpfile2.cpp">
153 <Filter>Source Files</Filter>
154 </ClCompile>
155 <ClCompile Include="..\..\libs\ff-woff\fontforge\fflocale.c">
156 <Filter>Source Files</Filter>
157 </ClCompile>
158 </ItemGroup>
159 <ItemGroup>
160 <ClInclude Include="..\..\libs\ff-woff\fontforge\configure-fontforge.h">
161 <Filter>Header Files</Filter>
162 </ClInclude>
163 <ClInclude Include="..\..\libs\ff-woff\fontforge\edgelist.h">
164 <Filter>Header Files</Filter>
165 </ClInclude>
166 <ClInclude Include="..\..\libs\ff-woff\fontforge\edgelist2.h">
167 <Filter>Header Files</Filter>
168 </ClInclude>
169 <ClInclude Include="..\..\libs\ff-woff\fontforge\encoding.h">
170 <Filter>Header Files</Filter>
171 </ClInclude>
172 <ClInclude Include="..\..\libs\ff-woff\fontforge\fontforge.h">
173 <Filter>Header Files</Filter>
174 </ClInclude>
175 <ClInclude Include="..\..\libs\ff-woff\fontforge\fontforge-config.h">
176 <Filter>Header Files</Filter>
177 </ClInclude>
178 <ClInclude Include="..\..\libs\ff-woff\fontforge\fontforgevw.h">
179 <Filter>Header Files</Filter>
180 </ClInclude>
181 <ClInclude Include="..\..\libs\ff-woff\fontforge\libffstamp.h">
182 <Filter>Header Files</Filter>
183 </ClInclude>
184 <ClInclude Include="..\..\libs\ff-woff\fontforge\namehash.h">
185 <Filter>Header Files</Filter>
186 </ClInclude>
187 <ClInclude Include="..\..\libs\ff-woff\fontforge\PfEd.h">
188 <Filter>Header Files</Filter>
189 </ClInclude>
190 <ClInclude Include="..\..\libs\ff-woff\fontforge\psfont.h">
191 <Filter>Header Files</Filter>
192 </ClInclude>
193 <ClInclude Include="..\..\libs\ff-woff\fontforge\sd.h">
194 <Filter>Header Files</Filter>
195 </ClInclude>
196 <ClInclude Include="..\..\libs\ff-woff\fontforge\sfd1.h">
197 <Filter>Header Files</Filter>
198 </ClInclude>
199 <ClInclude Include="..\..\libs\ff-woff\fontforge\splinefont.h">
200 <Filter>Header Files</Filter>
201 </ClInclude>
202 <ClInclude Include="..\..\libs\ff-woff\fontforge\stemdb.h">
203 <Filter>Header Files</Filter>
204 </ClInclude>
205 <ClInclude Include="..\..\libs\ff-woff\fontforge\tables.h">
206 <Filter>Header Files</Filter>
207 </ClInclude>
208 <ClInclude Include="..\..\libs\ff-woff\fontforge\ttf.h">
209 <Filter>Header Files</Filter>
210 </ClInclude>
211 <ClInclude Include="..\..\libs\ff-woff\fontforge\ttfinstrs.h">
212 <Filter>Header Files</Filter>
213 </ClInclude>
214 <ClInclude Include="..\..\libs\ff-woff\fontforge\uiinterface.h">
215 <Filter>Header Files</Filter>
216 </ClInclude>
217 <ClInclude Include="..\..\libs\ff-woff\inc\basics.h">
218 <Filter>Header Files</Filter>
219 </ClInclude>
220 <ClInclude Include="..\..\libs\ff-woff\inc\chardata.h">
221 <Filter>Header Files</Filter>
222 </ClInclude>
223 <ClInclude Include="..\..\libs\ff-woff\inc\charset.h">
224 <Filter>Header Files</Filter>
225 </ClInclude>
226 <ClInclude Include="..\..\libs\ff-woff\inc\dlist.h">
227 <Filter>Header Files</Filter>
228 </ClInclude>
229 <ClInclude Include="..\..\libs\ff-woff\inc\gimage.h">
230 <Filter>Header Files</Filter>
231 </ClInclude>
232 <ClInclude Include="..\..\libs\ff-woff\inc\gnetwork.h">
233 <Filter>Header Files</Filter>
234 </ClInclude>
235 <ClInclude Include="..\..\libs\ff-woff\inc\gwwiconv.h">
236 <Filter>Header Files</Filter>
237 </ClInclude>
238 <ClInclude Include="..\..\libs\ff-woff\inc\intl.h">
239 <Filter>Header Files</Filter>
240 </ClInclude>
241 <ClInclude Include="..\..\libs\ff-woff\inc\ustring.h">
242 <Filter>Header Files</Filter>
243 </ClInclude>
244 <ClInclude Include="..\..\libs\ff-woff\inc\utype.h">
245 <Filter>Header Files</Filter>
246 </ClInclude>
247 <ClInclude Include="..\..\libs\ff-woff\fontforge\fflocale.h">
248 <Filter>Header Files</Filter>
249 </ClInclude>
250 </ItemGroup>
251 </Project>
0 <?xml version="1.0" encoding="utf-8"?>
1 <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build" ToolsVersion="15.0">
2 <ItemGroup Label="ProjectConfigurations">
3 <ProjectConfiguration Include="Debug|Win32">
4 <Configuration>Debug</Configuration>
5 <Platform>Win32</Platform>
6 </ProjectConfiguration>
7 <ProjectConfiguration Include="Debug|x64">
8 <Configuration>Debug</Configuration>
9 <Platform>x64</Platform>
10 </ProjectConfiguration>
11 <ProjectConfiguration Include="Release|Win32">
12 <Configuration>Release</Configuration>
13 <Platform>Win32</Platform>
14 </ProjectConfiguration>
15 <ProjectConfiguration Include="Release|x64">
16 <Configuration>Release</Configuration>
17 <Platform>x64</Platform>
18 </ProjectConfiguration>
19 </ItemGroup>
20 <PropertyGroup Label="Globals">
21 <ProjectGuid>{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}</ProjectGuid>
22 <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
23 </PropertyGroup>
24 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
25 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
26 <ConfigurationType>StaticLibrary</ConfigurationType>
27 <UseOfMfc>false</UseOfMfc>
28 <CharacterSet>Unicode</CharacterSet>
29 <PlatformToolset>v142</PlatformToolset>
30 </PropertyGroup>
31 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
32 <ConfigurationType>StaticLibrary</ConfigurationType>
33 <UseOfMfc>false</UseOfMfc>
34 <CharacterSet>MultiByte</CharacterSet>
35 <PlatformToolset>v142</PlatformToolset>
36 </PropertyGroup>
37 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
38 <ConfigurationType>StaticLibrary</ConfigurationType>
39 <UseOfMfc>false</UseOfMfc>
40 <PlatformToolset>v142</PlatformToolset>
41 <CharacterSet>Unicode</CharacterSet>
42 <WholeProgramOptimization>true</WholeProgramOptimization>
43 </PropertyGroup>
44 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
45 <ConfigurationType>StaticLibrary</ConfigurationType>
46 <UseOfMfc>false</UseOfMfc>
47 <CharacterSet>MultiByte</CharacterSet>
48 <PlatformToolset>v142</PlatformToolset>
49 </PropertyGroup>
50 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
51 <ImportGroup Label="ExtensionSettings">
52 </ImportGroup>
53 <PropertyGroup>
54 <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
55 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
56 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
57 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
58 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
59 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
60 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
61 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
62 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
63 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
64 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
65 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
66 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
67 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
68 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
69 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
70 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
71 <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectName)</TargetName>
72 <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjectName)</TargetName>
73 <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectName)</TargetName>
74 <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ProjectName)</TargetName>
75 </PropertyGroup>
76 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
77 <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
78 </PropertyGroup>
79 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
80 <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
81 </PropertyGroup>
82 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
83 <ClCompile />
84 <ResourceCompile>
85 <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
86 <Culture>0x0409</Culture>
87 </ResourceCompile>
88 <Lib>
89 <SuppressStartupBanner>true</SuppressStartupBanner>
90 </Lib>
91 <ClCompile>
92 <AdditionalIncludeDirectories>include</AdditionalIncludeDirectories>
93 <PreprocessorDefinitions>NDEBUG;WIN32;_LIB;_CRT_SECURE_NO_WARNINGS;FT2_BUILD_LIBRARY;%(PreprocessorDefinitions)</PreprocessorDefinitions>
94 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
95 <MinimalRebuild>false</MinimalRebuild>
96 <MultiProcessorCompilation>true</MultiProcessorCompilation>
97 <CompileAs>CompileAsC</CompileAs>
98 </ClCompile>
99 </ItemDefinitionGroup>
100 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
101 <ClCompile />
102 <ResourceCompile>
103 <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
104 <Culture>0x0409</Culture>
105 </ResourceCompile>
106 <Lib>
107 <SuppressStartupBanner>true</SuppressStartupBanner>
108 <LinkTimeCodeGeneration>true</LinkTimeCodeGeneration>
109 </Lib>
110 <ClCompile>
111 <AdditionalIncludeDirectories>include</AdditionalIncludeDirectories>
112 <MinimalRebuild>false</MinimalRebuild>
113 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
114 <PreprocessorDefinitions>NDEBUG;WIN32;_LIB;_CRT_SECURE_NO_WARNINGS;FT2_BUILD_LIBRARY;%(PreprocessorDefinitions)</PreprocessorDefinitions>
115 <MultiProcessorCompilation>true</MultiProcessorCompilation>
116 <CompileAs>CompileAsC</CompileAs>
117 </ClCompile>
118 </ItemDefinitionGroup>
119 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
120 <ClCompile />
121 <ResourceCompile>
122 <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
123 <Culture>0x0409</Culture>
124 </ResourceCompile>
125 <Lib>
126 <SuppressStartupBanner>true</SuppressStartupBanner>
127 </Lib>
128 <ClCompile>
129 <AdditionalIncludeDirectories>include</AdditionalIncludeDirectories>
130 <Optimization>Disabled</Optimization>
131 <PreprocessorDefinitions>WIN32;_LIB;_CRT_SECURE_NO_WARNINGS;FT2_BUILD_LIBRARY;%(PreprocessorDefinitions)</PreprocessorDefinitions>
132 <InlineFunctionExpansion>Disabled</InlineFunctionExpansion>
133 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
134 <MultiProcessorCompilation>true</MultiProcessorCompilation>
135 <CompileAs>CompileAsC</CompileAs>
136 </ClCompile>
137 </ItemDefinitionGroup>
138 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
139 <ClCompile />
140 <ResourceCompile>
141 <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
142 <Culture>0x0409</Culture>
143 </ResourceCompile>
144 <Lib>
145 <SuppressStartupBanner>true</SuppressStartupBanner>
146 </Lib>
147 <ClCompile>
148 <AdditionalIncludeDirectories>include</AdditionalIncludeDirectories>
149 <Optimization>Disabled</Optimization>
150 <PreprocessorDefinitions>WIN32;_LIB;_CRT_SECURE_NO_WARNINGS;FT2_BUILD_LIBRARY;%(PreprocessorDefinitions)</PreprocessorDefinitions>
151 <InlineFunctionExpansion>Disabled</InlineFunctionExpansion>
152 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
153 <MultiProcessorCompilation>true</MultiProcessorCompilation>
154 <CompileAs>CompileAsC</CompileAs>
155 </ClCompile>
156 </ItemDefinitionGroup>
157 <ItemGroup>
158 <ClCompile Include="src\autofit\autofit.c" />
159 <ClCompile Include="src\base\ftcid.c" />
160 <ClCompile Include="src\base\ftfntfmt.c" />
161 <ClCompile Include="src\bdf\bdf.c" />
162 <ClCompile Include="src\cff\cff.c" />
163 <ClCompile Include="src\base\ftbase.c" />
164 <ClCompile Include="src\base\ftbitmap.c" />
165 <ClCompile Include="src\cache\ftcache.c" />
166 <ClCompile Include="builds\windows\ftdebug.c" />
167 <ClCompile Include="src\base\ftfstype.c" />
168 <ClCompile Include="src\base\ftgasp.c" />
169 <ClCompile Include="src\base\ftglyph.c" />
170 <ClCompile Include="src\gzip\ftgzip.c" />
171 <ClCompile Include="src\base\ftinit.c" />
172 <ClCompile Include="src\lzw\ftlzw.c" />
173 <ClCompile Include="src\base\ftstroke.c" />
174 <ClCompile Include="src\base\ftsystem.c" />
175 <ClCompile Include="src\smooth\smooth.c" />
176 <ClCompile Include="src\base\ftbbox.c" />
177 <ClCompile Include="src\base\ftmm.c" />
178 <ClCompile Include="src\base\ftpfr.c" />
179 <ClCompile Include="src\base\ftsynth.c" />
180 <ClCompile Include="src\base\fttype1.c" />
181 <ClCompile Include="src\base\ftwinfnt.c" />
182 <ClCompile Include="src\base\ftlcdfil.c" />
183 <ClCompile Include="src\base\ftgxval.c" />
184 <ClCompile Include="src\base\ftotval.c" />
185 <ClCompile Include="src\base\ftpatent.c" />
186 <ClCompile Include="src\pcf\pcf.c" />
187 <ClCompile Include="src\pfr\pfr.c" />
188 <ClCompile Include="src\psaux\psaux.c" />
189 <ClCompile Include="src\pshinter\pshinter.c" />
190 <ClCompile Include="src\psnames\psmodule.c" />
191 <ClCompile Include="src\raster\raster.c" />
192 <ClCompile Include="src\sfnt\sfnt.c" />
193 <ClCompile Include="src\truetype\truetype.c" />
194 <ClCompile Include="src\type1\type1.c" />
195 <ClCompile Include="src\cid\type1cid.c" />
196 <ClCompile Include="src\type42\type42.c" />
197 <ClCompile Include="src\winfonts\winfnt.c" />
198 </ItemGroup>
199 <ItemGroup>
200 <ClInclude Include="include\ft2build.h" />
201 <ClInclude Include="include\config\ftconfig.h" />
202 <ClInclude Include="include\config\ftheader.h" />
203 <ClInclude Include="include\config\ftmodule.h" />
204 <ClInclude Include="include\config\ftoption.h" />
205 <ClInclude Include="include\config\ftstdlib.h" />
206 </ItemGroup>
207 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
208 <ImportGroup Label="ExtensionTargets">
209 </ImportGroup>
210 </Project>
0 <?xml version="1.0" encoding="utf-8"?>
1 <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2 <ItemGroup>
3 <Filter Include="Header Files">
4 <UniqueIdentifier>{e6cf6a0f-0404-4024-8bf8-ff5b29f35657}</UniqueIdentifier>
5 <Extensions>h;hpp;hxx;hm;inl</Extensions>
6 </Filter>
7 <Filter Include="Source Files">
8 <UniqueIdentifier>{b4c15893-ec11-491d-9507-0ac184f9cc78}</UniqueIdentifier>
9 <Extensions>cpp;c;cxx;rc;def;r;odl;idl;hpj;bat</Extensions>
10 </Filter>
11 <Filter Include="Source Files\FT_MODULES">
12 <UniqueIdentifier>{4d3e4eff-3fbc-4b20-b413-2743b23b7109}</UniqueIdentifier>
13 </Filter>
14 </ItemGroup>
15 <ItemGroup>
16 <ClCompile Include="src\autofit\autofit.c">
17 <Filter>Source Files</Filter>
18 </ClCompile>
19 <ClCompile Include="src\bdf\bdf.c">
20 <Filter>Source Files</Filter>
21 </ClCompile>
22 <ClCompile Include="src\cff\cff.c">
23 <Filter>Source Files</Filter>
24 </ClCompile>
25 <ClCompile Include="src\base\ftbase.c">
26 <Filter>Source Files</Filter>
27 </ClCompile>
28 <ClCompile Include="src\base\ftbitmap.c">
29 <Filter>Source Files</Filter>
30 </ClCompile>
31 <ClCompile Include="src\cache\ftcache.c">
32 <Filter>Source Files</Filter>
33 </ClCompile>
34 <ClCompile Include="src\base\ftfstype.c">
35 <Filter>Source Files</Filter>
36 </ClCompile>
37 <ClCompile Include="src\base\ftgasp.c">
38 <Filter>Source Files</Filter>
39 </ClCompile>
40 <ClCompile Include="src\base\ftglyph.c">
41 <Filter>Source Files</Filter>
42 </ClCompile>
43 <ClCompile Include="src\gzip\ftgzip.c">
44 <Filter>Source Files</Filter>
45 </ClCompile>
46 <ClCompile Include="src\base\ftinit.c">
47 <Filter>Source Files</Filter>
48 </ClCompile>
49 <ClCompile Include="src\lzw\ftlzw.c">
50 <Filter>Source Files</Filter>
51 </ClCompile>
52 <ClCompile Include="src\base\ftstroke.c">
53 <Filter>Source Files</Filter>
54 </ClCompile>
55 <ClCompile Include="src\base\ftsystem.c">
56 <Filter>Source Files</Filter>
57 </ClCompile>
58 <ClCompile Include="src\smooth\smooth.c">
59 <Filter>Source Files</Filter>
60 </ClCompile>
61 <ClCompile Include="src\base\ftbbox.c">
62 <Filter>Source Files\FT_MODULES</Filter>
63 </ClCompile>
64 <ClCompile Include="src\base\ftmm.c">
65 <Filter>Source Files\FT_MODULES</Filter>
66 </ClCompile>
67 <ClCompile Include="src\base\ftpfr.c">
68 <Filter>Source Files\FT_MODULES</Filter>
69 </ClCompile>
70 <ClCompile Include="src\base\ftsynth.c">
71 <Filter>Source Files\FT_MODULES</Filter>
72 </ClCompile>
73 <ClCompile Include="src\base\fttype1.c">
74 <Filter>Source Files\FT_MODULES</Filter>
75 </ClCompile>
76 <ClCompile Include="src\base\ftwinfnt.c">
77 <Filter>Source Files\FT_MODULES</Filter>
78 </ClCompile>
79 <ClCompile Include="src\base\ftxf86.c">
80 <Filter>Source Files\FT_MODULES</Filter>
81 </ClCompile>
82 <ClCompile Include="src\base\ftlcdfil.c">
83 <Filter>Source Files\FT_MODULES</Filter>
84 </ClCompile>
85 <ClCompile Include="src\base\ftgxval.c">
86 <Filter>Source Files\FT_MODULES</Filter>
87 </ClCompile>
88 <ClCompile Include="src\base\ftotval.c">
89 <Filter>Source Files\FT_MODULES</Filter>
90 </ClCompile>
91 <ClCompile Include="src\base\ftpatent.c">
92 <Filter>Source Files\FT_MODULES</Filter>
93 </ClCompile>
94 <ClCompile Include="src\pcf\pcf.c">
95 <Filter>Source Files\FT_MODULES</Filter>
96 </ClCompile>
97 <ClCompile Include="src\pfr\pfr.c">
98 <Filter>Source Files\FT_MODULES</Filter>
99 </ClCompile>
100 <ClCompile Include="src\psaux\psaux.c">
101 <Filter>Source Files\FT_MODULES</Filter>
102 </ClCompile>
103 <ClCompile Include="src\pshinter\pshinter.c">
104 <Filter>Source Files\FT_MODULES</Filter>
105 </ClCompile>
106 <ClCompile Include="src\psnames\psmodule.c">
107 <Filter>Source Files\FT_MODULES</Filter>
108 </ClCompile>
109 <ClCompile Include="src\raster\raster.c">
110 <Filter>Source Files\FT_MODULES</Filter>
111 </ClCompile>
112 <ClCompile Include="src\sfnt\sfnt.c">
113 <Filter>Source Files\FT_MODULES</Filter>
114 </ClCompile>
115 <ClCompile Include="src\truetype\truetype.c">
116 <Filter>Source Files\FT_MODULES</Filter>
117 </ClCompile>
118 <ClCompile Include="src\type1\type1.c">
119 <Filter>Source Files\FT_MODULES</Filter>
120 </ClCompile>
121 <ClCompile Include="src\cid\type1cid.c">
122 <Filter>Source Files\FT_MODULES</Filter>
123 </ClCompile>
124 <ClCompile Include="src\type42\type42.c">
125 <Filter>Source Files\FT_MODULES</Filter>
126 </ClCompile>
127 <ClCompile Include="src\winfonts\winfnt.c">
128 <Filter>Source Files\FT_MODULES</Filter>
129 </ClCompile>
130 <ClCompile Include="src\base\ftcid.c">
131 <Filter>Source Files</Filter>
132 </ClCompile>
133 <ClCompile Include="builds\windows\ftdebug.c">
134 <Filter>Source Files</Filter>
135 </ClCompile>
136 </ItemGroup>
137 <ItemGroup>
138 <ClInclude Include="include\ft2build.h">
139 <Filter>Header Files</Filter>
140 </ClInclude>
141 <ClInclude Include="include\config\ftconfig.h">
142 <Filter>Header Files</Filter>
143 </ClInclude>
144 <ClInclude Include="include\config\ftheader.h">
145 <Filter>Header Files</Filter>
146 </ClInclude>
147 <ClInclude Include="include\config\ftmodule.h">
148 <Filter>Header Files</Filter>
149 </ClInclude>
150 <ClInclude Include="include\config\ftoption.h">
151 <Filter>Header Files</Filter>
152 </ClInclude>
153 <ClInclude Include="include\config\ftstdlib.h">
154 <Filter>Header Files</Filter>
155 </ClInclude>
156 </ItemGroup>
157 </Project>
0 <?xml version="1.0" encoding="utf-8"?>
1 <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2 <ItemGroup Label="ProjectConfigurations">
3 <ProjectConfiguration Include="Debug|Win32">
4 <Configuration>Debug</Configuration>
5 <Platform>Win32</Platform>
6 </ProjectConfiguration>
7 <ProjectConfiguration Include="Release|Win32">
8 <Configuration>Release</Configuration>
9 <Platform>Win32</Platform>
10 </ProjectConfiguration>
11 <ProjectConfiguration Include="Debug|x64">
12 <Configuration>Debug</Configuration>
13 <Platform>x64</Platform>
14 </ProjectConfiguration>
15 <ProjectConfiguration Include="Release|x64">
16 <Configuration>Release</Configuration>
17 <Platform>x64</Platform>
18 </ProjectConfiguration>
19 </ItemGroup>
20 <PropertyGroup Label="Globals">
21 <VCProjectVersion>15.0</VCProjectVersion>
22 <ProjectGuid>{01089EEA-D32A-4A70-BDD4-221791380931}</ProjectGuid>
23 <RootNamespace>md5</RootNamespace>
24 <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
25 </PropertyGroup>
26 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
27 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
28 <ConfigurationType>StaticLibrary</ConfigurationType>
29 <UseDebugLibraries>true</UseDebugLibraries>
30 <PlatformToolset>v142</PlatformToolset>
31 <CharacterSet>MultiByte</CharacterSet>
32 </PropertyGroup>
33 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
34 <ConfigurationType>StaticLibrary</ConfigurationType>
35 <UseDebugLibraries>false</UseDebugLibraries>
36 <PlatformToolset>v142</PlatformToolset>
37 <WholeProgramOptimization>true</WholeProgramOptimization>
38 <CharacterSet>MultiByte</CharacterSet>
39 </PropertyGroup>
40 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
41 <ConfigurationType>StaticLibrary</ConfigurationType>
42 <UseDebugLibraries>true</UseDebugLibraries>
43 <PlatformToolset>v142</PlatformToolset>
44 <CharacterSet>MultiByte</CharacterSet>
45 </PropertyGroup>
46 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
47 <ConfigurationType>StaticLibrary</ConfigurationType>
48 <UseDebugLibraries>false</UseDebugLibraries>
49 <PlatformToolset>v142</PlatformToolset>
50 <WholeProgramOptimization>true</WholeProgramOptimization>
51 <CharacterSet>MultiByte</CharacterSet>
52 </PropertyGroup>
53 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
54 <ImportGroup Label="ExtensionSettings">
55 </ImportGroup>
56 <ImportGroup Label="Shared">
57 </ImportGroup>
58 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
59 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
60 </ImportGroup>
61 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
62 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
63 </ImportGroup>
64 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
65 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
66 </ImportGroup>
67 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
68 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
69 </ImportGroup>
70 <PropertyGroup Label="UserMacros" />
71 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
72 <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
73 <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
74 </PropertyGroup>
75 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
76 <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
77 <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
78 </PropertyGroup>
79 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
80 <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
81 </PropertyGroup>
82 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
83 <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
84 </PropertyGroup>
85 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
86 <ClCompile>
87 <WarningLevel>Level3</WarningLevel>
88 <Optimization>MaxSpeed</Optimization>
89 <FunctionLevelLinking>true</FunctionLevelLinking>
90 <IntrinsicFunctions>true</IntrinsicFunctions>
91 <ConformanceMode>false</ConformanceMode>
92 <MultiProcessorCompilation>true</MultiProcessorCompilation>
93 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
94 <CompileAs>CompileAsC</CompileAs>
95 </ClCompile>
96 <Link>
97 <EnableCOMDATFolding>true</EnableCOMDATFolding>
98 <OptimizeReferences>true</OptimizeReferences>
99 </Link>
100 </ItemDefinitionGroup>
101 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
102 <ClCompile>
103 <WarningLevel>Level3</WarningLevel>
104 <Optimization>Disabled</Optimization>
105 <ConformanceMode>false</ConformanceMode>
106 <MultiProcessorCompilation>true</MultiProcessorCompilation>
107 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
108 <CompileAs>CompileAsC</CompileAs>
109 </ClCompile>
110 </ItemDefinitionGroup>
111 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
112 <ClCompile>
113 <WarningLevel>Level3</WarningLevel>
114 <Optimization>Disabled</Optimization>
115 <ConformanceMode>false</ConformanceMode>
116 <MultiProcessorCompilation>true</MultiProcessorCompilation>
117 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
118 <CompileAs>CompileAsC</CompileAs>
119 </ClCompile>
120 </ItemDefinitionGroup>
121 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
122 <ClCompile>
123 <WarningLevel>Level3</WarningLevel>
124 <Optimization>MaxSpeed</Optimization>
125 <FunctionLevelLinking>true</FunctionLevelLinking>
126 <IntrinsicFunctions>true</IntrinsicFunctions>
127 <ConformanceMode>false</ConformanceMode>
128 <MultiProcessorCompilation>true</MultiProcessorCompilation>
129 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
130 <CompileAs>CompileAsC</CompileAs>
131 </ClCompile>
132 <Link>
133 <EnableCOMDATFolding>true</EnableCOMDATFolding>
134 <OptimizeReferences>true</OptimizeReferences>
135 </Link>
136 </ItemDefinitionGroup>
137 <ItemGroup>
138 <ClInclude Include="..\..\libs\md5\md5.h" />
139 </ItemGroup>
140 <ItemGroup>
141 <ClCompile Include="..\..\libs\md5\md5.c" />
142 </ItemGroup>
143 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
144 <ImportGroup Label="ExtensionTargets">
145 </ImportGroup>
146 </Project>
0 <?xml version="1.0" encoding="utf-8"?>
1 <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2 <ItemGroup>
3 <Filter Include="Quelldateien">
4 <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
5 <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
6 </Filter>
7 <Filter Include="Headerdateien">
8 <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
9 <Extensions>h;hh;hpp;hxx;hm;inl;inc;ipp;xsd</Extensions>
10 </Filter>
11 <Filter Include="Ressourcendateien">
12 <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
13 <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
14 </Filter>
15 </ItemGroup>
16 <ItemGroup>
17 <ClInclude Include="..\..\libs\md5\md5.h">
18 <Filter>Headerdateien</Filter>
19 </ClInclude>
20 </ItemGroup>
21 <ItemGroup>
22 <ClCompile Include="..\..\libs\md5\md5.c">
23 <Filter>Quelldateien</Filter>
24 </ClCompile>
25 </ItemGroup>
26 </Project>
0 <?xml version="1.0" encoding="utf-8"?>
1 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2 <ItemGroup Label="ProjectConfigurations">
3 <ProjectConfiguration Include="Debug|Win32">
4 <Configuration>Debug</Configuration>
5 <Platform>Win32</Platform>
6 </ProjectConfiguration>
7 <ProjectConfiguration Include="Release|Win32">
8 <Configuration>Release</Configuration>
9 <Platform>Win32</Platform>
10 </ProjectConfiguration>
11 <ProjectConfiguration Include="Debug|x64">
12 <Configuration>Debug</Configuration>
13 <Platform>x64</Platform>
14 </ProjectConfiguration>
15 <ProjectConfiguration Include="Release|x64">
16 <Configuration>Release</Configuration>
17 <Platform>x64</Platform>
18 </ProjectConfiguration>
19 </ItemGroup>
20 <ItemGroup>
21 <Midl Include="miktex-session.idl" />
22 <Midl Include="miktexidl.idl" />
23 </ItemGroup>
24 <PropertyGroup Label="Globals">
25 <VCProjectVersion>16.0</VCProjectVersion>
26 <ProjectGuid>{E22874EE-D0EE-4AAC-A7A5-7795917203F7}</ProjectGuid>
27 <RootNamespace>miktexcom</RootNamespace>
28 <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
29 <ProjectName>miktex-session</ProjectName>
30 </PropertyGroup>
31 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
32 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
33 <ConfigurationType>Application</ConfigurationType>
34 <UseDebugLibraries>true</UseDebugLibraries>
35 <PlatformToolset>v142</PlatformToolset>
36 <CharacterSet>MultiByte</CharacterSet>
37 </PropertyGroup>
38 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
39 <ConfigurationType>Application</ConfigurationType>
40 <UseDebugLibraries>false</UseDebugLibraries>
41 <PlatformToolset>v142</PlatformToolset>
42 <WholeProgramOptimization>true</WholeProgramOptimization>
43 <CharacterSet>MultiByte</CharacterSet>
44 </PropertyGroup>
45 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
46 <ConfigurationType>Application</ConfigurationType>
47 <UseDebugLibraries>true</UseDebugLibraries>
48 <PlatformToolset>v142</PlatformToolset>
49 <CharacterSet>MultiByte</CharacterSet>
50 </PropertyGroup>
51 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
52 <ConfigurationType>Application</ConfigurationType>
53 <UseDebugLibraries>false</UseDebugLibraries>
54 <PlatformToolset>v142</PlatformToolset>
55 <WholeProgramOptimization>true</WholeProgramOptimization>
56 <CharacterSet>MultiByte</CharacterSet>
57 </PropertyGroup>
58 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
59 <ImportGroup Label="ExtensionSettings">
60 </ImportGroup>
61 <ImportGroup Label="Shared">
62 </ImportGroup>
63 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
64 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
65 </ImportGroup>
66 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
67 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
68 </ImportGroup>
69 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
70 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
71 </ImportGroup>
72 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
73 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
74 </ImportGroup>
75 <PropertyGroup Label="UserMacros" />
76 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
77 <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
78 <IntDir>$(Platform)\$(Configuration)\</IntDir>
79 </PropertyGroup>
80 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
81 <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
82 <IntDir>$(Platform)\$(Configuration)\</IntDir>
83 </PropertyGroup>
84 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
85 <ClCompile>
86 <WarningLevel>Level3</WarningLevel>
87 <Optimization>MaxSpeed</Optimization>
88 <FunctionLevelLinking>true</FunctionLevelLinking>
89 <IntrinsicFunctions>true</IntrinsicFunctions>
90 <SDLCheck>true</SDLCheck>
91 <ConformanceMode>true</ConformanceMode>
92 </ClCompile>
93 <Link>
94 <SubSystem>Console</SubSystem>
95 <EnableCOMDATFolding>true</EnableCOMDATFolding>
96 <OptimizeReferences>true</OptimizeReferences>
97 </Link>
98 <Midl>
99 <GenerateClientFiles>Stub</GenerateClientFiles>
100 </Midl>
101 <Midl>
102 <GenerateServerFiles>None</GenerateServerFiles>
103 <HeaderFileName>%(Filename).h</HeaderFileName>
104 <OutputDirectory>$(IntDir)</OutputDirectory>
105 <TypeLibraryName>$(ProjectName).tlb</TypeLibraryName>
106 </Midl>
107 </ItemDefinitionGroup>
108 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
109 <ClCompile>
110 <WarningLevel>Level3</WarningLevel>
111 <Optimization>Disabled</Optimization>
112 <SDLCheck>true</SDLCheck>
113 <ConformanceMode>true</ConformanceMode>
114 </ClCompile>
115 <Link>
116 <SubSystem>Console</SubSystem>
117 </Link>
118 <Midl>
119 <GenerateClientFiles>Stub</GenerateClientFiles>
120 </Midl>
121 <Midl>
122 <GenerateServerFiles>None</GenerateServerFiles>
123 <HeaderFileName>%(Filename).h</HeaderFileName>
124 <OutputDirectory>$(IntDir)</OutputDirectory>
125 <TypeLibraryName>$(ProjectName).tlb</TypeLibraryName>
126 </Midl>
127 </ItemDefinitionGroup>
128 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
129 <ClCompile>
130 <WarningLevel>Level3</WarningLevel>
131 <Optimization>Disabled</Optimization>
132 <SDLCheck>true</SDLCheck>
133 <ConformanceMode>true</ConformanceMode>
134 </ClCompile>
135 <Link>
136 <SubSystem>Console</SubSystem>
137 </Link>
138 <Midl>
139 <GenerateClientFiles>Stub</GenerateClientFiles>
140 </Midl>
141 <Midl>
142 <GenerateServerFiles>None</GenerateServerFiles>
143 <HeaderFileName>%(Filename).h</HeaderFileName>
144 <OutputDirectory>$(IntDir)</OutputDirectory>
145 <TypeLibraryName>$(ProjectName).tlb</TypeLibraryName>
146 </Midl>
147 </ItemDefinitionGroup>
148 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
149 <ClCompile>
150 <WarningLevel>Level3</WarningLevel>
151 <Optimization>MaxSpeed</Optimization>
152 <FunctionLevelLinking>true</FunctionLevelLinking>
153 <IntrinsicFunctions>true</IntrinsicFunctions>
154 <SDLCheck>true</SDLCheck>
155 <ConformanceMode>true</ConformanceMode>
156 </ClCompile>
157 <Link>
158 <SubSystem>Console</SubSystem>
159 <EnableCOMDATFolding>true</EnableCOMDATFolding>
160 <OptimizeReferences>true</OptimizeReferences>
161 </Link>
162 <Midl>
163 <GenerateClientFiles>Stub</GenerateClientFiles>
164 </Midl>
165 <Midl>
166 <GenerateServerFiles>None</GenerateServerFiles>
167 <HeaderFileName>%(Filename).h</HeaderFileName>
168 <OutputDirectory>$(IntDir)</OutputDirectory>
169 <TypeLibraryName>$(ProjectName).tlb</TypeLibraryName>
170 </Midl>
171 </ItemDefinitionGroup>
172 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
173 <ImportGroup Label="ExtensionTargets">
174 </ImportGroup>
175 </Project>
0 <?xml version="1.0" encoding="utf-8"?>
1 <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2 <ItemGroup>
3 <Filter Include="Quelldateien">
4 <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
5 <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
6 </Filter>
7 <Filter Include="Headerdateien">
8 <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
9 <Extensions>h;hh;hpp;hxx;hm;inl;inc;ipp;xsd</Extensions>
10 </Filter>
11 <Filter Include="Ressourcendateien">
12 <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
13 <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
14 </Filter>
15 </ItemGroup>
16 <ItemGroup>
17 <Midl Include="miktex-session.idl">
18 <Filter>Quelldateien</Filter>
19 </Midl>
20 <Midl Include="miktexidl.idl">
21 <Filter>Quelldateien</Filter>
22 </Midl>
23 </ItemGroup>
24 </Project>
0 /* session.idl: -*- IDL -*-
1
2 Copyright (C) 2006-2007 Christian Schenk
3
4 This file is part of the MiKTeX Core Library.
5
6 The MiKTeX Core Library is free software; you can redistribute it
7 and/or modify it under the terms of the GNU General Public License
8 as published by the Free Software Foundation; either version 2, or
9 (at your option) any later version.
10
11 The MiKTeX Core Library is distributed in the hope that it will be
12 useful, but WITHOUT ANY WARRANTY; without even the implied warranty
13 of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with the MiKTeX Core Library; if not, write to the Free
18 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
19 02111-1307, USA. */
20
21 /// @file session.idl
22 /// @brief The MiKTeX core COM objetcs.
23
24 import "oaidl.idl";
25 import "ocidl.idl";
26
27 import "miktexidl.idl";
28
29 /* _________________________________________________________________________
30
31 MiKTeXSetupInfo
32 _________________________________________________________________________ */
33
34 /// @brief Information about the MiKTeX setup.
35 typedef [uuid(A889D812-7E98-4E73-A453-30C9B69A32B1)] struct MiKTeXSetupInfo
36 {
37 /// @brief Shared MiKTeX setup indicator.
38 VARIANT_BOOL sharedSetup;
39 /// @brief MiKTeX version number.
40 BSTR version;
41 /// @brief MiKTeX series number.
42 /// The MiKTeX series denoted as an integer (e.g., 209).
43 LONG series;
44 /// @brief MiKTeX bin directory.
45 BSTR binDirectory;
46 /// @brief Number of configured TEXMF root directories.
47 LONG numRoots;
48 /// @brief MiKTeX installation root directory.
49 BSTR installRoot;
50 /// @brief MiKTeX common configuration root directory.
51 /// Valid only for shared MiKTeX setup.
52 BSTR commonConfigRoot;
53 /// @brief MiKTeX common data root directory.
54 /// Valid only for a shared MiKTeX setup.
55 BSTR commonDataRoot;
56 /// @brief MiKTeX user configuration root directory.
57 BSTR userConfigRoot;
58 /// @brief MiKTeX user data root directory.
59 BSTR userDataRoot;
60 } MiKTeXSetupInfo;
61
62 /* _________________________________________________________________________
63
64 ISession
65 _________________________________________________________________________ */
66
67 /// @brief The MiKTeX session interface.
68 ///
69 /// This interface provides MiKTeX core functionality.
70 [
71 object,
72 uuid(8BE9F539-B949-4C7B-991C-DB6C6F737EC7),
73 dual,
74 nonextensible,
75 helpstring("ISession Interface"),
76 pointer_default(unique)
77 ]
78 interface ISession : IDispatch
79 {
80 /// @brief Register MiKTeX root directories.
81 /// @param[in] rootDirectories A semicolon-separated list of path names.
82 [
83 id(1),
84 helpstring("method RegisterRootDirectories")
85 ]
86 HRESULT
87 RegisterRootDirectories ([in] BSTR rootDirectories);
88
89 /// @brief Find a Pk file.
90 /// @param[in] fontName The name of the font (e.g. "cmr10").
91 /// @param[in] mode The METAFONT mode to be used (e.g. "ljfour").
92 /// @param[in] dpi The resolution to be used (e.g. 600).
93 /// @param[out] path The fully qualified path to the Pk file.
94 /// @return Returns VARIANT_TRUE, if the Pk file exists.
95 [
96 id(2),
97 helpstring("method FindPkFile")
98 ]
99 HRESULT
100 FindPkFile ([in] BSTR fontName,
101 [in] BSTR mode,
102 [in] LONG dpi,
103 [out] BSTR * path,
104 [out,retval] VARIANT_BOOL * found);
105
106 /// @brief Get information about the last error.
107 /// @return Returns an error information record.
108 [
109 id(3),
110 helpstring("method GetErrorInfo")
111 ]
112 HRESULT
113 GetErrorInfo ([out,retval] ErrorInfo * errorInfo);
114
115 /// @brief Get information about the MiKTeX setup.
116 /// @return Returns an MiKTeX setup info record.
117 [
118 id(4),
119 helpstring("method GetMiKTeXSetupInfo")
120 ]
121 HRESULT
122 GetMiKTeXSetupInfo ([out,retval] MiKTeXSetupInfo * setupInfo);
123
124 /// @brief Get a configured root directory.
125 /// @param[in] rootIdx Index of the requested root directory.
126 /// @return Returns the requested root directory.
127 [
128 id(5),
129 helpstring("method GetRootDirectory")
130 ]
131 HRESULT
132 GetRootDirectory ([in] LONG rootIdx,
133 [out,retval] BSTR * rootDirectory);
134 };
135
136 /* _________________________________________________________________________
137
138 ISession2
139 _________________________________________________________________________ */
140
141 /// @brief The MiKTeX session interface (version 2).
142 ///
143 /// This interface provides MiKTeX core functionality.
144 [
145 object,
146 uuid(49C9F0B8-3DF6-4BBA-9DCD-3FE289DF95D8),
147 dual,
148 nonextensible,
149 helpstring("ISession2 Interface"),
150 pointer_default(unique)
151 ]
152 interface ISession2 : ISession
153 {
154
155 /// @brief Find a file.
156 /// @param[in] fileName The name of the file (e.g. "ptmr.vf").
157 /// @param[out] path The fully qualified path to the file.
158 /// @return Returns VARIANT_TRUE, if the file exists.
159 [
160 id(6),
161 helpstring("method FindFile")
162 ]
163 HRESULT
164 FindFile ([in] BSTR fileName,
165 [out] BSTR * path,
166 [out,retval] VARIANT_BOOL * found);
167 };
168
169 /* _________________________________________________________________________
170
171 MiKTeXSession2_9
172 _________________________________________________________________________ */
173
174 /// @brief The MiKTeX Session type library.
175 [
176 uuid(392BFC08-8CD2-487F-87EE-B2DA213BBD20),
177 version(1.0),
178 helpstring("MiKTeX 2.9 Session")
179 ]
180 library MiKTeXSession2_9
181 {
182 importlib("stdole2.tlb");
183
184 /// @brief The MiKTeX session COM object.
185 ///
186 /// This COM object implements the
187 /// @link ISession @endlink
188 /// and
189 /// @link ISession2 @endlink
190 /// interfaces.
191 [
192 uuid(A2662D75-3286-4A8D-8050-C0FD76393A31),
193 helpstring("MiKTeX 2.9 Session")
194 ]
195 coclass MiKTeXSession2_9
196 {
197 interface ISession;
198 [default] interface ISession2;
199 };
200 };
0 /* miktexidl.idl:
1
2 Copyright (C) 2006-2007 Christian Schenk
3
4 This file is part of the MiKTeX Core Library.
5
6 The MiKTeX Core Library is free software; you can redistribute it
7 and/or modify it under the terms of the GNU General Public License
8 as published by the Free Software Foundation; either version 2, or
9 (at your option) any later version.
10
11 The MiKTeX Core Library is distributed in the hope that it will be
12 useful, but WITHOUT ANY WARRANTY; without even the implied warranty
13 of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with the MiKTeX Core Library; if not, write to the Free
18 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
19 02111-1307, USA. */
20
21 /// @file miktexidl.idl
22 /// @brief Common data types.
23
24 import "oaidl.idl";
25 import "ocidl.idl";
26
27 /* _________________________________________________________________________
28
29 ErrorInfo
30 _________________________________________________________________________ */
31
32 /// @brief Information about a MiKTeX error.
33 typedef [uuid(6AEC83E4-BF9A-4C21-8CC4-151D3E5A7C38)] struct ErrorInfo
34 {
35 /// @brief The error message.
36 BSTR message;
37 /// Additional information.
38 BSTR info;
39 /// @brief The name of the source file.
40 BSTR sourceFile;
41 /// @brief The line number in the source file.
42 LONG sourceLine;
43 } ErrorInfo;
44
0 <?xml version="1.0" encoding="utf-8"?>
1 <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2 <ItemGroup Label="ProjectConfigurations">
3 <ProjectConfiguration Include="Debug|Win32">
4 <Configuration>Debug</Configuration>
5 <Platform>Win32</Platform>
6 </ProjectConfiguration>
7 <ProjectConfiguration Include="Debug|x64">
8 <Configuration>Debug</Configuration>
9 <Platform>x64</Platform>
10 </ProjectConfiguration>
11 <ProjectConfiguration Include="Release|Win32">
12 <Configuration>Release</Configuration>
13 <Platform>Win32</Platform>
14 </ProjectConfiguration>
15 <ProjectConfiguration Include="Release|x64">
16 <Configuration>Release</Configuration>
17 <Platform>x64</Platform>
18 </ProjectConfiguration>
19 </ItemGroup>
20 <PropertyGroup Label="Globals">
21 <ProjectName>libpotrace</ProjectName>
22 <ProjectGuid>{6F17FBF1-4304-4AF2-81A8-C78787E8D0A5}</ProjectGuid>
23 <RootNamespace>libpotrace</RootNamespace>
24 <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
25 </PropertyGroup>
26 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
27 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
28 <ConfigurationType>StaticLibrary</ConfigurationType>
29 <CharacterSet>MultiByte</CharacterSet>
30 <WholeProgramOptimization>true</WholeProgramOptimization>
31 <PlatformToolset>v142</PlatformToolset>
32 </PropertyGroup>
33 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
34 <ConfigurationType>StaticLibrary</ConfigurationType>
35 <CharacterSet>MultiByte</CharacterSet>
36 <PlatformToolset>v142</PlatformToolset>
37 </PropertyGroup>
38 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
39 <ConfigurationType>StaticLibrary</ConfigurationType>
40 <CharacterSet>MultiByte</CharacterSet>
41 <WholeProgramOptimization>true</WholeProgramOptimization>
42 <PlatformToolset>v142</PlatformToolset>
43 </PropertyGroup>
44 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
45 <ConfigurationType>StaticLibrary</ConfigurationType>
46 <CharacterSet>MultiByte</CharacterSet>
47 <PlatformToolset>v142</PlatformToolset>
48 </PropertyGroup>
49 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
50 <ImportGroup Label="ExtensionSettings">
51 </ImportGroup>
52 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
53 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
54 </ImportGroup>
55 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
56 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
57 </ImportGroup>
58 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
59 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
60 </ImportGroup>
61 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
62 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
63 </ImportGroup>
64 <PropertyGroup Label="UserMacros" />
65 <PropertyGroup>
66 <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
67 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
68 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
69 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
70 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
71 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
72 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
73 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
74 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
75 </PropertyGroup>
76 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
77 <TargetName>$(ProjectName)</TargetName>
78 </PropertyGroup>
79 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
80 <TargetName>$(ProjectName)</TargetName>
81 </PropertyGroup>
82 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
83 <TargetName>$(ProjectName)</TargetName>
84 </PropertyGroup>
85 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
86 <TargetName>$(ProjectName)</TargetName>
87 </PropertyGroup>
88 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
89 <BuildLog>
90 <Path>$(TargetDir)\BuildLog.htm</Path>
91 </BuildLog>
92 <ClCompile>
93 <Optimization>Disabled</Optimization>
94 <AdditionalIncludeDirectories>..\..\libs\potrace</AdditionalIncludeDirectories>
95 <PreprocessorDefinitions>HAVE_CONFIG_H;HAVE_INTTYPES_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
96 <MinimalRebuild>false</MinimalRebuild>
97 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
98 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
99 <WarningLevel>Level3</WarningLevel>
100 <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
101 <CompileAs>CompileAsC</CompileAs>
102 <MultiProcessorCompilation>true</MultiProcessorCompilation>
103 </ClCompile>
104 <Lib>
105 <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
106 </Lib>
107 </ItemDefinitionGroup>
108 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
109 <BuildLog>
110 <Path>$(TargetDir)\BuildLog.htm</Path>
111 </BuildLog>
112 <ClCompile>
113 <Optimization>Full</Optimization>
114 <IntrinsicFunctions>true</IntrinsicFunctions>
115 <AdditionalIncludeDirectories>..\..\libs\potrace</AdditionalIncludeDirectories>
116 <PreprocessorDefinitions>HAVE_CONFIG_H;HAVE_INTTYPES_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
117 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
118 <FunctionLevelLinking>true</FunctionLevelLinking>
119 <WarningLevel>Level3</WarningLevel>
120 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
121 <CompileAs>CompileAsC</CompileAs>
122 <DisableLanguageExtensions>true</DisableLanguageExtensions>
123 <MultiProcessorCompilation>true</MultiProcessorCompilation>
124 </ClCompile>
125 <Lib>
126 <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
127 </Lib>
128 </ItemDefinitionGroup>
129 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
130 <BuildLog>
131 <Path>$(TargetDir)\BuildLog.htm</Path>
132 </BuildLog>
133 <Midl>
134 <TargetEnvironment>X64</TargetEnvironment>
135 </Midl>
136 <ClCompile>
137 <Optimization>Disabled</Optimization>
138 <AdditionalIncludeDirectories>..\..\libs\potrace</AdditionalIncludeDirectories>
139 <PreprocessorDefinitions>HAVE_CONFIG_H;HAVE_INTTYPES_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
140 <MinimalRebuild>false</MinimalRebuild>
141 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
142 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
143 <WarningLevel>Level3</WarningLevel>
144 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
145 <CompileAs>CompileAsC</CompileAs>
146 <MultiProcessorCompilation>true</MultiProcessorCompilation>
147 </ClCompile>
148 <Lib>
149 <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
150 </Lib>
151 </ItemDefinitionGroup>
152 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
153 <BuildLog>
154 <Path>$(TargetDir)\BuildLog.htm</Path>
155 </BuildLog>
156 <Midl>
157 <TargetEnvironment>X64</TargetEnvironment>
158 </Midl>
159 <ClCompile>
160 <Optimization>Full</Optimization>
161 <IntrinsicFunctions>true</IntrinsicFunctions>
162 <AdditionalIncludeDirectories>..\..\libs\potrace</AdditionalIncludeDirectories>
163 <PreprocessorDefinitions>HAVE_CONFIG_H;HAVE_INTTYPES_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
164 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
165 <FunctionLevelLinking>true</FunctionLevelLinking>
166 <WarningLevel>Level3</WarningLevel>
167 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
168 <CompileAs>CompileAsC</CompileAs>
169 <MultiProcessorCompilation>true</MultiProcessorCompilation>
170 </ClCompile>
171 <Lib>
172 <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
173 </Lib>
174 </ItemDefinitionGroup>
175 <ItemGroup>
176 <ClCompile Include="..\..\libs\potrace\curve.c" />
177 <ClCompile Include="..\..\libs\potrace\decompose.c" />
178 <ClCompile Include="..\..\libs\potrace\potracelib.c" />
179 <ClCompile Include="..\..\libs\potrace\trace.c" />
180 </ItemGroup>
181 <ItemGroup>
182 <ClInclude Include="..\..\libs\potrace\auxiliary.h" />
183 <ClInclude Include="..\..\libs\potrace\bitmap.h" />
184 <ClInclude Include="..\..\libs\potrace\config.h" />
185 <ClInclude Include="..\..\libs\potrace\curve.h" />
186 <ClInclude Include="..\..\libs\potrace\decompose.h" />
187 <ClInclude Include="..\..\libs\potrace\lists.h" />
188 <ClInclude Include="..\..\libs\potrace\potracelib.h" />
189 <ClInclude Include="..\..\libs\potrace\progress.h" />
190 <ClInclude Include="..\..\libs\potrace\trace.h" />
191 </ItemGroup>
192 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
193 <ImportGroup Label="ExtensionTargets">
194 </ImportGroup>
195 </Project>
0 <?xml version="1.0" encoding="utf-8"?>
1 <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2 <ItemGroup>
3 <Filter Include="Header Files">
4 <UniqueIdentifier>{cd909116-5008-4ff1-8d69-0be4cbd05f90}</UniqueIdentifier>
5 </Filter>
6 <Filter Include="Source Files">
7 <UniqueIdentifier>{2533df69-1701-41b5-9d5c-40e0fc3f36cc}</UniqueIdentifier>
8 </Filter>
9 </ItemGroup>
10 <ItemGroup>
11 <ClCompile Include="..\..\libs\potrace\curve.c">
12 <Filter>Source Files</Filter>
13 </ClCompile>
14 <ClCompile Include="..\..\libs\potrace\decompose.c">
15 <Filter>Source Files</Filter>
16 </ClCompile>
17 <ClCompile Include="..\..\libs\potrace\potracelib.c">
18 <Filter>Source Files</Filter>
19 </ClCompile>
20 <ClCompile Include="..\..\libs\potrace\trace.c">
21 <Filter>Source Files</Filter>
22 </ClCompile>
23 </ItemGroup>
24 <ItemGroup>
25 <ClInclude Include="..\..\libs\potrace\auxiliary.h">
26 <Filter>Header Files</Filter>
27 </ClInclude>
28 <ClInclude Include="..\..\libs\potrace\bitmap.h">
29 <Filter>Header Files</Filter>
30 </ClInclude>
31 <ClInclude Include="..\..\libs\potrace\curve.h">
32 <Filter>Header Files</Filter>
33 </ClInclude>
34 <ClInclude Include="..\..\libs\potrace\decompose.h">
35 <Filter>Header Files</Filter>
36 </ClInclude>
37 <ClInclude Include="..\..\libs\potrace\lists.h">
38 <Filter>Header Files</Filter>
39 </ClInclude>
40 <ClInclude Include="..\..\libs\potrace\potracelib.h">
41 <Filter>Header Files</Filter>
42 </ClInclude>
43 <ClInclude Include="..\..\libs\potrace\progress.h">
44 <Filter>Header Files</Filter>
45 </ClInclude>
46 <ClInclude Include="..\..\libs\potrace\trace.h">
47 <Filter>Header Files</Filter>
48 </ClInclude>
49 <ClInclude Include="..\..\libs\potrace\config.h">
50 <Filter>Header Files</Filter>
51 </ClInclude>
52 </ItemGroup>
53 </Project>
0 <?xml version="1.0" encoding="utf-8"?>
1 <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2 <ItemGroup Label="ProjectConfigurations">
3 <ProjectConfiguration Include="Debug|Win32">
4 <Configuration>Debug</Configuration>
5 <Platform>Win32</Platform>
6 </ProjectConfiguration>
7 <ProjectConfiguration Include="Release|Win32">
8 <Configuration>Release</Configuration>
9 <Platform>Win32</Platform>
10 </ProjectConfiguration>
11 <ProjectConfiguration Include="Debug|x64">
12 <Configuration>Debug</Configuration>
13 <Platform>x64</Platform>
14 </ProjectConfiguration>
15 <ProjectConfiguration Include="Release|x64">
16 <Configuration>Release</Configuration>
17 <Platform>x64</Platform>
18 </ProjectConfiguration>
19 </ItemGroup>
20 <PropertyGroup Label="Globals">
21 <ProjectGuid>{52C2C7C6-3BCE-4434-9A02-EA920C15FB65}</ProjectGuid>
22 <RootNamespace>woff2</RootNamespace>
23 <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
24 </PropertyGroup>
25 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
26 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
27 <ConfigurationType>StaticLibrary</ConfigurationType>
28 <UseDebugLibraries>true</UseDebugLibraries>
29 <PlatformToolset>v142</PlatformToolset>
30 <CharacterSet>Unicode</CharacterSet>
31 </PropertyGroup>
32 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
33 <ConfigurationType>StaticLibrary</ConfigurationType>
34 <UseDebugLibraries>false</UseDebugLibraries>
35 <PlatformToolset>v142</PlatformToolset>
36 <WholeProgramOptimization>true</WholeProgramOptimization>
37 <CharacterSet>Unicode</CharacterSet>
38 </PropertyGroup>
39 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
40 <ConfigurationType>StaticLibrary</ConfigurationType>
41 <UseDebugLibraries>true</UseDebugLibraries>
42 <PlatformToolset>v142</PlatformToolset>
43 <CharacterSet>Unicode</CharacterSet>
44 </PropertyGroup>
45 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
46 <ConfigurationType>StaticLibrary</ConfigurationType>
47 <UseDebugLibraries>false</UseDebugLibraries>
48 <PlatformToolset>v142</PlatformToolset>
49 <WholeProgramOptimization>true</WholeProgramOptimization>
50 <CharacterSet>MultiByte</CharacterSet>
51 </PropertyGroup>
52 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
53 <ImportGroup Label="ExtensionSettings">
54 </ImportGroup>
55 <ImportGroup Label="Shared">
56 </ImportGroup>
57 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
58 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
59 </ImportGroup>
60 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
61 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
62 </ImportGroup>
63 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
64 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
65 </ImportGroup>
66 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
67 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
68 </ImportGroup>
69 <PropertyGroup Label="UserMacros" />
70 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
71 <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
72 <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
73 </PropertyGroup>
74 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
75 <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
76 <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
77 </PropertyGroup>
78 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
79 <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
80 </PropertyGroup>
81 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
82 <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
83 </PropertyGroup>
84 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
85 <ClCompile>
86 <PrecompiledHeader>
87 </PrecompiledHeader>
88 <WarningLevel>Level3</WarningLevel>
89 <Optimization>Disabled</Optimization>
90 <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
91 <AdditionalIncludeDirectories>..\..\libs\woff2\include;..\..\libs\brotli\include</AdditionalIncludeDirectories>
92 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
93 <MultiProcessorCompilation>true</MultiProcessorCompilation>
94 </ClCompile>
95 <Link>
96 <SubSystem>Windows</SubSystem>
97 </Link>
98 <Lib>
99 <TargetMachine>MachineX86</TargetMachine>
100 </Lib>
101 </ItemDefinitionGroup>
102 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
103 <ClCompile>
104 <PrecompiledHeader>
105 </PrecompiledHeader>
106 <WarningLevel>Level3</WarningLevel>
107 <Optimization>Disabled</Optimization>
108 <PreprocessorDefinitions>_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
109 <AdditionalIncludeDirectories>..\..\libs\woff2\include;..\..\libs\brotli\include</AdditionalIncludeDirectories>
110 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
111 <MultiProcessorCompilation>true</MultiProcessorCompilation>
112 </ClCompile>
113 <Link>
114 <SubSystem>Windows</SubSystem>
115 </Link>
116 </ItemDefinitionGroup>
117 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
118 <ClCompile>
119 <WarningLevel>Level3</WarningLevel>
120 <PrecompiledHeader>
121 </PrecompiledHeader>
122 <Optimization>MaxSpeed</Optimization>
123 <FunctionLevelLinking>true</FunctionLevelLinking>
124 <IntrinsicFunctions>true</IntrinsicFunctions>
125 <PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
126 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
127 <AdditionalIncludeDirectories>..\..\libs\woff2\include;..\..\libs\brotli\include</AdditionalIncludeDirectories>
128 <MultiProcessorCompilation>true</MultiProcessorCompilation>
129 </ClCompile>
130 <Link>
131 <SubSystem>Windows</SubSystem>
132 <EnableCOMDATFolding>true</EnableCOMDATFolding>
133 <OptimizeReferences>true</OptimizeReferences>
134 </Link>
135 <Lib>
136 <TargetMachine>MachineX86</TargetMachine>
137 </Lib>
138 </ItemDefinitionGroup>
139 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
140 <ClCompile>
141 <WarningLevel>Level3</WarningLevel>
142 <PrecompiledHeader>
143 </PrecompiledHeader>
144 <Optimization>MaxSpeed</Optimization>
145 <FunctionLevelLinking>true</FunctionLevelLinking>
146 <IntrinsicFunctions>true</IntrinsicFunctions>
147 <PreprocessorDefinitions>NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
148 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
149 <AdditionalIncludeDirectories>..\..\libs\woff2\include;..\..\libs\brotli\include</AdditionalIncludeDirectories>
150 <MultiProcessorCompilation>true</MultiProcessorCompilation>
151 </ClCompile>
152 <Link>
153 <SubSystem>Windows</SubSystem>
154 <EnableCOMDATFolding>true</EnableCOMDATFolding>
155 <OptimizeReferences>true</OptimizeReferences>
156 </Link>
157 </ItemDefinitionGroup>
158 <ItemGroup>
159 <ClCompile Include="..\..\libs\woff2\src\font.cc" />
160 <ClCompile Include="..\..\libs\woff2\src\glyph.cc" />
161 <ClCompile Include="..\..\libs\woff2\src\normalize.cc" />
162 <ClCompile Include="..\..\libs\woff2\src\table_tags.cc" />
163 <ClCompile Include="..\..\libs\woff2\src\transform.cc" />
164 <ClCompile Include="..\..\libs\woff2\src\variable_length.cc" />
165 <ClCompile Include="..\..\libs\woff2\src\woff2_common.cc" />
166 <ClCompile Include="..\..\libs\woff2\src\woff2_enc.cc" />
167 <ClCompile Include="..\..\libs\woff2\src\woff2_out.cc" />
168 </ItemGroup>
169 <ItemGroup>
170 <ClInclude Include="..\..\libs\woff2\src\buffer.h" />
171 <ClInclude Include="..\..\libs\woff2\src\font.h" />
172 <ClInclude Include="..\..\libs\woff2\src\glyph.h" />
173 <ClInclude Include="..\..\libs\woff2\src\normalize.h" />
174 <ClInclude Include="..\..\libs\woff2\src\port.h" />
175 <ClInclude Include="..\..\libs\woff2\src\round.h" />
176 <ClInclude Include="..\..\libs\woff2\src\store_bytes.h" />
177 <ClInclude Include="..\..\libs\woff2\src\table_tags.h" />
178 <ClInclude Include="..\..\libs\woff2\src\transform.h" />
179 <ClInclude Include="..\..\libs\woff2\src\variable_length.h" />
180 <ClInclude Include="..\..\libs\woff2\src\woff2_common.h" />
181 <ClInclude Include="..\..\libs\woff2\src\woff2_dec.h" />
182 <ClInclude Include="..\..\libs\woff2\src\woff2_enc.h" />
183 <ClInclude Include="..\..\libs\woff2\src\woff2_out.h" />
184 </ItemGroup>
185 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
186 <ImportGroup Label="ExtensionTargets">
187 </ImportGroup>
188 </Project>
0 <?xml version="1.0" encoding="utf-8"?>
1 <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2 <ItemGroup>
3 <Filter Include="Headerdateien">
4 <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
5 <Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
6 </Filter>
7 <Filter Include="Source Files">
8 <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
9 <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
10 </Filter>
11 </ItemGroup>
12 <ItemGroup>
13 <ClCompile Include="..\..\libs\woff2\src\font.cc">
14 <Filter>Source Files</Filter>
15 </ClCompile>
16 <ClCompile Include="..\..\libs\woff2\src\glyph.cc">
17 <Filter>Source Files</Filter>
18 </ClCompile>
19 <ClCompile Include="..\..\libs\woff2\src\normalize.cc">
20 <Filter>Source Files</Filter>
21 </ClCompile>
22 <ClCompile Include="..\..\libs\woff2\src\table_tags.cc">
23 <Filter>Source Files</Filter>
24 </ClCompile>
25 <ClCompile Include="..\..\libs\woff2\src\transform.cc">
26 <Filter>Source Files</Filter>
27 </ClCompile>
28 <ClCompile Include="..\..\libs\woff2\src\variable_length.cc">
29 <Filter>Source Files</Filter>
30 </ClCompile>
31 <ClCompile Include="..\..\libs\woff2\src\woff2_common.cc">
32 <Filter>Source Files</Filter>
33 </ClCompile>
34 <ClCompile Include="..\..\libs\woff2\src\woff2_enc.cc">
35 <Filter>Source Files</Filter>
36 </ClCompile>
37 <ClCompile Include="..\..\libs\woff2\src\woff2_out.cc">
38 <Filter>Source Files</Filter>
39 </ClCompile>
40 </ItemGroup>
41 <ItemGroup>
42 <ClInclude Include="..\..\libs\woff2\src\buffer.h">
43 <Filter>Headerdateien</Filter>
44 </ClInclude>
45 <ClInclude Include="..\..\libs\woff2\src\font.h">
46 <Filter>Headerdateien</Filter>
47 </ClInclude>
48 <ClInclude Include="..\..\libs\woff2\src\glyph.h">
49 <Filter>Headerdateien</Filter>
50 </ClInclude>
51 <ClInclude Include="..\..\libs\woff2\src\normalize.h">
52 <Filter>Headerdateien</Filter>
53 </ClInclude>
54 <ClInclude Include="..\..\libs\woff2\src\port.h">
55 <Filter>Headerdateien</Filter>
56 </ClInclude>
57 <ClInclude Include="..\..\libs\woff2\src\round.h">
58 <Filter>Headerdateien</Filter>
59 </ClInclude>
60 <ClInclude Include="..\..\libs\woff2\src\store_bytes.h">
61 <Filter>Headerdateien</Filter>
62 </ClInclude>
63 <ClInclude Include="..\..\libs\woff2\src\table_tags.h">
64 <Filter>Headerdateien</Filter>
65 </ClInclude>
66 <ClInclude Include="..\..\libs\woff2\src\transform.h">
67 <Filter>Headerdateien</Filter>
68 </ClInclude>
69 <ClInclude Include="..\..\libs\woff2\src\variable_length.h">
70 <Filter>Headerdateien</Filter>
71 </ClInclude>
72 <ClInclude Include="..\..\libs\woff2\src\woff2_common.h">
73 <Filter>Headerdateien</Filter>
74 </ClInclude>
75 <ClInclude Include="..\..\libs\woff2\src\woff2_dec.h">
76 <Filter>Headerdateien</Filter>
77 </ClInclude>
78 <ClInclude Include="..\..\libs\woff2\src\woff2_enc.h">
79 <Filter>Headerdateien</Filter>
80 </ClInclude>
81 <ClInclude Include="..\..\libs\woff2\src\woff2_out.h">
82 <Filter>Headerdateien</Filter>
83 </ClInclude>
84 </ItemGroup>
85 </Project>
0 <?xml version="1.0" encoding="utf-8"?>
1 <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2 <ItemGroup Label="ProjectConfigurations">
3 <ProjectConfiguration Include="Debug|Win32">
4 <Configuration>Debug</Configuration>
5 <Platform>Win32</Platform>
6 </ProjectConfiguration>
7 <ProjectConfiguration Include="Debug|x64">
8 <Configuration>Debug</Configuration>
9 <Platform>x64</Platform>
10 </ProjectConfiguration>
11 <ProjectConfiguration Include="Release|Win32">
12 <Configuration>Release</Configuration>
13 <Platform>Win32</Platform>
14 </ProjectConfiguration>
15 <ProjectConfiguration Include="Release|x64">
16 <Configuration>Release</Configuration>
17 <Platform>x64</Platform>
18 </ProjectConfiguration>
19 </ItemGroup>
20 <PropertyGroup Label="Globals">
21 <ProjectGuid>{B3A84395-D889-4419-B313-B410350727FA}</ProjectGuid>
22 <RootNamespace>xxhash</RootNamespace>
23 <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
24 </PropertyGroup>
25 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
26 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
27 <ConfigurationType>StaticLibrary</ConfigurationType>
28 <UseDebugLibraries>true</UseDebugLibraries>
29 <PlatformToolset>v142</PlatformToolset>
30 <CharacterSet>MultiByte</CharacterSet>
31 </PropertyGroup>
32 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
33 <ConfigurationType>StaticLibrary</ConfigurationType>
34 <UseDebugLibraries>true</UseDebugLibraries>
35 <PlatformToolset>v142</PlatformToolset>
36 <CharacterSet>MultiByte</CharacterSet>
37 </PropertyGroup>
38 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
39 <ConfigurationType>StaticLibrary</ConfigurationType>
40 <UseDebugLibraries>false</UseDebugLibraries>
41 <PlatformToolset>v142</PlatformToolset>
42 <WholeProgramOptimization>true</WholeProgramOptimization>
43 <CharacterSet>MultiByte</CharacterSet>
44 </PropertyGroup>
45 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
46 <ConfigurationType>StaticLibrary</ConfigurationType>
47 <UseDebugLibraries>false</UseDebugLibraries>
48 <PlatformToolset>v142</PlatformToolset>
49 <WholeProgramOptimization>true</WholeProgramOptimization>
50 <CharacterSet>MultiByte</CharacterSet>
51 </PropertyGroup>
52 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
53 <ImportGroup Label="ExtensionSettings">
54 </ImportGroup>
55 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
56 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
57 </ImportGroup>
58 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
59 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
60 </ImportGroup>
61 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
62 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
63 </ImportGroup>
64 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
65 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
66 </ImportGroup>
67 <PropertyGroup Label="UserMacros" />
68 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
69 <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
70 <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
71 </PropertyGroup>
72 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
73 <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
74 <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
75 </PropertyGroup>
76 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
77 <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
78 </PropertyGroup>
79 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
80 <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
81 </PropertyGroup>
82 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
83 <ClCompile>
84 <WarningLevel>Level3</WarningLevel>
85 <Optimization>Disabled</Optimization>
86 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
87 <MultiProcessorCompilation>true</MultiProcessorCompilation>
88 <CompileAs>CompileAsC</CompileAs>
89 </ClCompile>
90 <Link>
91 <GenerateDebugInformation>true</GenerateDebugInformation>
92 </Link>
93 </ItemDefinitionGroup>
94 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
95 <ClCompile>
96 <WarningLevel>Level3</WarningLevel>
97 <Optimization>Disabled</Optimization>
98 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
99 <MultiProcessorCompilation>true</MultiProcessorCompilation>
100 <CompileAs>CompileAsC</CompileAs>
101 </ClCompile>
102 <Link>
103 <GenerateDebugInformation>true</GenerateDebugInformation>
104 </Link>
105 </ItemDefinitionGroup>
106 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
107 <ClCompile>
108 <WarningLevel>Level3</WarningLevel>
109 <Optimization>MaxSpeed</Optimization>
110 <FunctionLevelLinking>true</FunctionLevelLinking>
111 <IntrinsicFunctions>true</IntrinsicFunctions>
112 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
113 <MultiProcessorCompilation>true</MultiProcessorCompilation>
114 <CompileAs>CompileAsC</CompileAs>
115 </ClCompile>
116 <Link>
117 <GenerateDebugInformation>true</GenerateDebugInformation>
118 <EnableCOMDATFolding>true</EnableCOMDATFolding>
119 <OptimizeReferences>true</OptimizeReferences>
120 </Link>
121 </ItemDefinitionGroup>
122 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
123 <ClCompile>
124 <WarningLevel>Level3</WarningLevel>
125 <Optimization>MaxSpeed</Optimization>
126 <FunctionLevelLinking>true</FunctionLevelLinking>
127 <IntrinsicFunctions>true</IntrinsicFunctions>
128 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
129 <MultiProcessorCompilation>true</MultiProcessorCompilation>
130 <CompileAs>CompileAsC</CompileAs>
131 </ClCompile>
132 <Link>
133 <GenerateDebugInformation>true</GenerateDebugInformation>
134 <EnableCOMDATFolding>true</EnableCOMDATFolding>
135 <OptimizeReferences>true</OptimizeReferences>
136 </Link>
137 </ItemDefinitionGroup>
138 <ItemGroup>
139 <ClInclude Include="..\..\libs\xxHash\xxh3.h" />
140 <ClInclude Include="..\..\libs\xxHash\xxhash.h" />
141 </ItemGroup>
142 <ItemGroup>
143 <ClCompile Include="..\..\libs\xxHash\xxhash.c" />
144 </ItemGroup>
145 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
146 <ImportGroup Label="ExtensionTargets">
147 </ImportGroup>
148 </Project>
0 <?xml version="1.0" encoding="utf-8"?>
1 <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2 <ItemGroup>
3 <Filter Include="Quelldateien">
4 <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
5 <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
6 </Filter>
7 <Filter Include="Headerdateien">
8 <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
9 <Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
10 </Filter>
11 </ItemGroup>
12 <ItemGroup>
13 <ClInclude Include="..\..\libs\xxHash\xxhash.h">
14 <Filter>Headerdateien</Filter>
15 </ClInclude>
16 <ClInclude Include="..\..\libs\xxHash\xxh3.h">
17 <Filter>Headerdateien</Filter>
18 </ClInclude>
19 </ItemGroup>
20 <ItemGroup>
21 <ClCompile Include="..\..\libs\xxHash\xxhash.c">
22 <Filter>Quelldateien</Filter>
23 </ClCompile>
24 </ItemGroup>
25 </Project>
0 <?xml version="1.0" encoding="utf-8"?>
1 <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2 <ItemGroup Label="ProjectConfigurations">
3 <ProjectConfiguration Include="Debug|Win32">
4 <Configuration>Debug</Configuration>
5 <Platform>Win32</Platform>
6 </ProjectConfiguration>
7 <ProjectConfiguration Include="Debug|x64">
8 <Configuration>Debug</Configuration>
9 <Platform>x64</Platform>
10 </ProjectConfiguration>
11 <ProjectConfiguration Include="Release|Win32">
12 <Configuration>Release</Configuration>
13 <Platform>Win32</Platform>
14 </ProjectConfiguration>
15 <ProjectConfiguration Include="Release|x64">
16 <Configuration>Release</Configuration>
17 <Platform>x64</Platform>
18 </ProjectConfiguration>
19 </ItemGroup>
20 <PropertyGroup Label="Globals">
21 <ProjectGuid>{F296E0C2-0D37-44CD-961D-87681418683F}</ProjectGuid>
22 <RootNamespace>zlib</RootNamespace>
23 <Keyword>Win32Proj</Keyword>
24 <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
25 </PropertyGroup>
26 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
27 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
28 <ConfigurationType>StaticLibrary</ConfigurationType>
29 <CharacterSet>MultiByte</CharacterSet>
30 <WholeProgramOptimization>true</WholeProgramOptimization>
31 <PlatformToolset>v142</PlatformToolset>
32 </PropertyGroup>
33 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
34 <ConfigurationType>StaticLibrary</ConfigurationType>
35 <CharacterSet>MultiByte</CharacterSet>
36 <PlatformToolset>v142</PlatformToolset>
37 </PropertyGroup>
38 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
39 <ConfigurationType>StaticLibrary</ConfigurationType>
40 <CharacterSet>MultiByte</CharacterSet>
41 <WholeProgramOptimization>true</WholeProgramOptimization>
42 <PlatformToolset>v142</PlatformToolset>
43 </PropertyGroup>
44 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
45 <ConfigurationType>StaticLibrary</ConfigurationType>
46 <CharacterSet>MultiByte</CharacterSet>
47 <PlatformToolset>v142</PlatformToolset>
48 </PropertyGroup>
49 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
50 <ImportGroup Label="ExtensionSettings">
51 </ImportGroup>
52 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
53 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
54 </ImportGroup>
55 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
56 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
57 </ImportGroup>
58 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
59 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
60 </ImportGroup>
61 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
62 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
63 </ImportGroup>
64 <PropertyGroup Label="UserMacros" />
65 <PropertyGroup>
66 <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
67 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
68 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
69 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
70 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
71 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
72 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
73 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
74 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
75 </PropertyGroup>
76 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
77 <ClCompile>
78 <Optimization>Disabled</Optimization>
79 <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
80 <MinimalRebuild>false</MinimalRebuild>
81 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
82 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
83 <RuntimeTypeInfo>false</RuntimeTypeInfo>
84 <PrecompiledHeader>
85 </PrecompiledHeader>
86 <WarningLevel>Level3</WarningLevel>
87 <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
88 <CompileAs>CompileAsC</CompileAs>
89 <MultiProcessorCompilation>true</MultiProcessorCompilation>
90 </ClCompile>
91 </ItemDefinitionGroup>
92 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
93 <ClCompile>
94 <Optimization>Full</Optimization>
95 <IntrinsicFunctions>true</IntrinsicFunctions>
96 <PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
97 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
98 <FunctionLevelLinking>true</FunctionLevelLinking>
99 <PrecompiledHeader>
100 </PrecompiledHeader>
101 <WarningLevel>Level3</WarningLevel>
102 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
103 <CompileAs>CompileAsC</CompileAs>
104 <CompileAsManaged>false</CompileAsManaged>
105 <MultiProcessorCompilation>true</MultiProcessorCompilation>
106 </ClCompile>
107 </ItemDefinitionGroup>
108 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
109 <Midl>
110 <TargetEnvironment>X64</TargetEnvironment>
111 </Midl>
112 <ClCompile>
113 <Optimization>Disabled</Optimization>
114 <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
115 <MinimalRebuild>false</MinimalRebuild>
116 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
117 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
118 <RuntimeTypeInfo>false</RuntimeTypeInfo>
119 <PrecompiledHeader>
120 </PrecompiledHeader>
121 <WarningLevel>Level3</WarningLevel>
122 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
123 <CompileAs>CompileAsC</CompileAs>
124 <MultiProcessorCompilation>true</MultiProcessorCompilation>
125 </ClCompile>
126 </ItemDefinitionGroup>
127 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
128 <Midl>
129 <TargetEnvironment>X64</TargetEnvironment>
130 </Midl>
131 <ClCompile>
132 <Optimization>Full</Optimization>
133 <IntrinsicFunctions>true</IntrinsicFunctions>
134 <PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
135 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
136 <FunctionLevelLinking>true</FunctionLevelLinking>
137 <PrecompiledHeader>
138 </PrecompiledHeader>
139 <WarningLevel>Level3</WarningLevel>
140 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
141 <CompileAs>CompileAsC</CompileAs>
142 <MultiProcessorCompilation>true</MultiProcessorCompilation>
143 </ClCompile>
144 </ItemDefinitionGroup>
145 <ItemGroup>
146 <ClCompile Include="adler32.c" />
147 <ClCompile Include="compress.c" />
148 <ClCompile Include="crc32.c" />
149 <ClCompile Include="deflate.c" />
150 <ClCompile Include="gzclose.c" />
151 <ClCompile Include="gzlib.c" />
152 <ClCompile Include="gzread.c" />
153 <ClCompile Include="gzwrite.c" />
154 <ClCompile Include="infback.c" />
155 <ClCompile Include="inffast.c" />
156 <ClCompile Include="inflate.c" />
157 <ClCompile Include="inftrees.c" />
158 <ClCompile Include="trees.c" />
159 <ClCompile Include="uncompr.c" />
160 <ClCompile Include="zutil.c" />
161 </ItemGroup>
162 <ItemGroup>
163 <ClInclude Include="crc32.h" />
164 <ClInclude Include="deflate.h" />
165 <ClInclude Include="inffast.h" />
166 <ClInclude Include="inffixed.h" />
167 <ClInclude Include="inflate.h" />
168 <ClInclude Include="inftrees.h" />
169 <ClInclude Include="trees.h" />
170 <ClInclude Include="zconf.h" />
171 <ClInclude Include="zlib.h" />
172 <ClInclude Include="zutil.h" />
173 </ItemGroup>
174 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
175 <ImportGroup Label="ExtensionTargets">
176 </ImportGroup>
177 </Project>
0 <?xml version="1.0" encoding="utf-8"?>
1 <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2 <ItemGroup>
3 <ClCompile Include="adler32.c">
4 <Filter>Source Files</Filter>
5 </ClCompile>
6 <ClCompile Include="compress.c">
7 <Filter>Source Files</Filter>
8 </ClCompile>
9 <ClCompile Include="crc32.c">
10 <Filter>Source Files</Filter>
11 </ClCompile>
12 <ClCompile Include="deflate.c">
13 <Filter>Source Files</Filter>
14 </ClCompile>
15 <ClCompile Include="gzclose.c">
16 <Filter>Source Files</Filter>
17 </ClCompile>
18 <ClCompile Include="gzlib.c">
19 <Filter>Source Files</Filter>
20 </ClCompile>
21 <ClCompile Include="gzread.c">
22 <Filter>Source Files</Filter>
23 </ClCompile>
24 <ClCompile Include="gzwrite.c">
25 <Filter>Source Files</Filter>
26 </ClCompile>
27 <ClCompile Include="infback.c">
28 <Filter>Source Files</Filter>
29 </ClCompile>
30 <ClCompile Include="inffast.c">
31 <Filter>Source Files</Filter>
32 </ClCompile>
33 <ClCompile Include="inflate.c">
34 <Filter>Source Files</Filter>
35 </ClCompile>
36 <ClCompile Include="inftrees.c">
37 <Filter>Source Files</Filter>
38 </ClCompile>
39 <ClCompile Include="trees.c">
40 <Filter>Source Files</Filter>
41 </ClCompile>
42 <ClCompile Include="uncompr.c">
43 <Filter>Source Files</Filter>
44 </ClCompile>
45 <ClCompile Include="zutil.c">
46 <Filter>Source Files</Filter>
47 </ClCompile>
48 </ItemGroup>
49 <ItemGroup>
50 <ClInclude Include="crc32.h">
51 <Filter>Header Files</Filter>
52 </ClInclude>
53 <ClInclude Include="deflate.h">
54 <Filter>Header Files</Filter>
55 </ClInclude>
56 <ClInclude Include="inffast.h">
57 <Filter>Header Files</Filter>
58 </ClInclude>
59 <ClInclude Include="inffixed.h">
60 <Filter>Header Files</Filter>
61 </ClInclude>
62 <ClInclude Include="inflate.h">
63 <Filter>Header Files</Filter>
64 </ClInclude>
65 <ClInclude Include="inftrees.h">
66 <Filter>Header Files</Filter>
67 </ClInclude>
68 <ClInclude Include="trees.h">
69 <Filter>Header Files</Filter>
70 </ClInclude>
71 <ClInclude Include="zconf.h">
72 <Filter>Header Files</Filter>
73 </ClInclude>
74 <ClInclude Include="zlib.h">
75 <Filter>Header Files</Filter>
76 </ClInclude>
77 <ClInclude Include="zutil.h">
78 <Filter>Header Files</Filter>
79 </ClInclude>
80 </ItemGroup>
81 <ItemGroup>
82 <Filter Include="Header Files">
83 <UniqueIdentifier>{57dd7597-7a34-481c-af4b-29135424e271}</UniqueIdentifier>
84 </Filter>
85 <Filter Include="Source Files">
86 <UniqueIdentifier>{19b01253-40c8-416b-9ec5-28414e9b99a3}</UniqueIdentifier>
87 </Filter>
88 </ItemGroup>
89 </Project>