passenger 6.2.0 → 6.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (650) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +33 -1
  3. data/CONTRIBUTING.md +7 -311
  4. data/CONTRIBUTORS +1 -0
  5. data/LICENSE +1 -1
  6. data/README.md +1 -1
  7. data/Rakefile +1 -1
  8. data/bin/passenger +1 -1
  9. data/bin/passenger-config +1 -1
  10. data/bin/passenger-install-apache2-module +1 -1
  11. data/bin/passenger-install-nginx-module +4 -9
  12. data/bin/passenger-memory-stats +1 -1
  13. data/bin/passenger-status +1 -1
  14. data/build/agent.rb +13 -15
  15. data/build/apache2.rb +13 -16
  16. data/build/basics.rb +10 -13
  17. data/build/common_library.rb +5 -9
  18. data/build/cxx_tests.rb +37 -12
  19. data/build/integration_tests.rb +5 -2
  20. data/build/misc.rb +1 -1
  21. data/build/nginx.rb +1 -1
  22. data/build/node_tests.rb +1 -1
  23. data/build/oxt_tests.rb +6 -8
  24. data/build/packaging.rb +1 -1
  25. data/build/ruby_extension.rb +1 -1
  26. data/build/ruby_tests.rb +1 -1
  27. data/build/schema_printer.rb +13 -15
  28. data/build/support/cplusplus.rb +61 -69
  29. data/build/support/cxx_dependency_map.rb +2 -1
  30. data/build/support/general.rb +1 -1
  31. data/build/support/vendor/cxx_hinted_parser/LICENSE.md +1 -1
  32. data/build/support/vendor/cxx_hinted_parser/lib/cxx_hinted_parser/parser.rb +1 -1
  33. data/build/support/vendor/cxx_hinted_parser/lib/cxx_hinted_parser.rb +1 -1
  34. data/build/support/vendor/cxxcodebuilder/LICENSE.md +1 -1
  35. data/build/support/vendor/cxxcodebuilder/lib/cxxcodebuilder/builder.rb +1 -1
  36. data/build/support/vendor/cxxcodebuilder/lib/cxxcodebuilder/initializer_builder.rb +1 -1
  37. data/build/support/vendor/cxxcodebuilder/lib/cxxcodebuilder.rb +1 -1
  38. data/build/test_basics.rb +1 -1
  39. data/dev/copy_boost_headers +1 -1
  40. data/dev/index_cxx_dependencies.rb +5 -1
  41. data/dev/libev-changes.patch +108 -0
  42. data/dev/nginx_version_sha256 +1 -1
  43. data/dev/ruby_server.rb +1 -6
  44. data/dev/upgrading_libuv.sh +16 -0
  45. data/doc/BasicArchitectureOverview.md +55 -0
  46. data/doc/BuildCaching.md +23 -0
  47. data/doc/BuildSystem.md +49 -0
  48. data/doc/DebuggingAndStressTesting.md +2 -0
  49. data/doc/DesignAspects/LimitedGemDependencies.md +1 -0
  50. data/doc/DevEnvironmentSetup.md +46 -0
  51. data/doc/DevHandbook.md +28 -0
  52. data/doc/Packaging.md +1 -1
  53. data/doc/RunningTests.md +88 -0
  54. data/doc/{TempFileHandling.md → SecureTempFileHandling.md} +1 -1
  55. data/doc/{CxxTestingGuide.md → WritingCxxTests.md} +1 -20
  56. data/src/agent/AgentMain.cpp +1 -1
  57. data/src/agent/Core/ApiServer.h +1 -1
  58. data/src/agent/Core/ApplicationPool/AbstractSession.h +1 -1
  59. data/src/agent/Core/ApplicationPool/BasicGroupInfo.h +1 -1
  60. data/src/agent/Core/ApplicationPool/BasicProcessInfo.h +1 -1
  61. data/src/agent/Core/ApplicationPool/Common.h +1 -1
  62. data/src/agent/Core/ApplicationPool/Context.h +1 -1
  63. data/src/agent/Core/ApplicationPool/Group/InitializationAndShutdown.cpp +1 -1
  64. data/src/agent/Core/ApplicationPool/Group/InternalUtils.cpp +1 -1
  65. data/src/agent/Core/ApplicationPool/Group/LifetimeAndBasics.cpp +1 -1
  66. data/src/agent/Core/ApplicationPool/Group/Miscellaneous.cpp +1 -1
  67. data/src/agent/Core/ApplicationPool/Group/OutOfBandWork.cpp +1 -1
  68. data/src/agent/Core/ApplicationPool/Group/ProcessListManagement.cpp +1 -1
  69. data/src/agent/Core/ApplicationPool/Group/SessionManagement.cpp +1 -1
  70. data/src/agent/Core/ApplicationPool/Group/SpawningAndRestarting.cpp +1 -1
  71. data/src/agent/Core/ApplicationPool/Group/StateInspection.cpp +1 -1
  72. data/src/agent/Core/ApplicationPool/Group/Verification.cpp +1 -1
  73. data/src/agent/Core/ApplicationPool/Group.h +1 -1
  74. data/src/agent/Core/ApplicationPool/Implementation.cpp +1 -1
  75. data/src/agent/Core/ApplicationPool/Options.h +1 -1
  76. data/src/agent/Core/ApplicationPool/Pool/AnalyticsCollection.cpp +1 -1
  77. data/src/agent/Core/ApplicationPool/Pool/GarbageCollection.cpp +1 -1
  78. data/src/agent/Core/ApplicationPool/Pool/GeneralUtils.cpp +1 -1
  79. data/src/agent/Core/ApplicationPool/Pool/GroupUtils.cpp +1 -1
  80. data/src/agent/Core/ApplicationPool/Pool/InitializationAndShutdown.cpp +1 -1
  81. data/src/agent/Core/ApplicationPool/Pool/Miscellaneous.cpp +1 -1
  82. data/src/agent/Core/ApplicationPool/Pool/ProcessUtils.cpp +1 -1
  83. data/src/agent/Core/ApplicationPool/Pool/StateInspection.cpp +1 -1
  84. data/src/agent/Core/ApplicationPool/Pool.h +1 -1
  85. data/src/agent/Core/ApplicationPool/Process.cpp +1 -1
  86. data/src/agent/Core/ApplicationPool/Process.h +1 -1
  87. data/src/agent/Core/ApplicationPool/Session.h +1 -1
  88. data/src/agent/Core/ApplicationPool/Socket.h +1 -1
  89. data/src/agent/Core/ApplicationPool/TestSession.h +1 -1
  90. data/src/agent/Core/Config.h +3 -2
  91. data/src/agent/Core/ConfigChange.cpp +1 -1
  92. data/src/agent/Core/ConfigChange.h +1 -1
  93. data/src/agent/Core/Controller/AppResponse.h +1 -1
  94. data/src/agent/Core/Controller/BufferBody.cpp +1 -1
  95. data/src/agent/Core/Controller/CheckoutSession.cpp +8 -5
  96. data/src/agent/Core/Controller/Client.h +1 -1
  97. data/src/agent/Core/Controller/Config.cpp +1 -1
  98. data/src/agent/Core/Controller/Config.h +2 -2
  99. data/src/agent/Core/Controller/ForwardResponse.cpp +2 -2
  100. data/src/agent/Core/Controller/Hooks.cpp +12 -9
  101. data/src/agent/Core/Controller/Implementation.cpp +1 -1
  102. data/src/agent/Core/Controller/InitRequest.cpp +1 -1
  103. data/src/agent/Core/Controller/InitializationAndShutdown.cpp +1 -1
  104. data/src/agent/Core/Controller/InternalUtils.cpp +1 -1
  105. data/src/agent/Core/Controller/Miscellaneous.cpp +1 -1
  106. data/src/agent/Core/Controller/Request.h +1 -1
  107. data/src/agent/Core/Controller/SendRequest.cpp +1 -1
  108. data/src/agent/Core/Controller/StateInspection.cpp +1 -1
  109. data/src/agent/Core/Controller/TurboCaching.h +1 -1
  110. data/src/agent/Core/Controller.h +1 -1
  111. data/src/agent/Core/CoreMain.cpp +1 -1
  112. data/src/agent/Core/OptionParser.h +1 -1
  113. data/src/agent/Core/ResponseCache.h +1 -1
  114. data/src/agent/Core/SecurityUpdateChecker.h +1 -1
  115. data/src/agent/Core/SpawningKit/Config/AutoGeneratedCode.h +1 -1
  116. data/src/agent/Core/SpawningKit/Config/AutoGeneratedCode.h.cxxcodebuilder +1 -1
  117. data/src/agent/Core/SpawningKit/Config.h +1 -1
  118. data/src/agent/Core/SpawningKit/Context.h +1 -1
  119. data/src/agent/Core/SpawningKit/DirectSpawner.h +1 -1
  120. data/src/agent/Core/SpawningKit/DummySpawner.h +1 -1
  121. data/src/agent/Core/SpawningKit/ErrorRenderer.h +1 -1
  122. data/src/agent/Core/SpawningKit/Exceptions.h +63 -2
  123. data/src/agent/Core/SpawningKit/Factory.h +1 -1
  124. data/src/agent/Core/SpawningKit/Handshake/BackgroundIOCapturer.h +1 -1
  125. data/src/agent/Core/SpawningKit/Handshake/Perform.h +3 -2
  126. data/src/agent/Core/SpawningKit/Handshake/Prepare.h +1 -1
  127. data/src/agent/Core/SpawningKit/Handshake/Session.h +1 -1
  128. data/src/agent/Core/SpawningKit/Handshake/WorkDir.h +1 -1
  129. data/src/agent/Core/SpawningKit/Journey.h +1 -1
  130. data/src/agent/Core/SpawningKit/PipeWatcher.h +1 -1
  131. data/src/agent/Core/SpawningKit/README.md +3 -3
  132. data/src/agent/Core/SpawningKit/Result/AutoGeneratedCode.h +1 -1
  133. data/src/agent/Core/SpawningKit/Result/AutoGeneratedCode.h.cxxcodebuilder +1 -1
  134. data/src/agent/Core/SpawningKit/Result.h +1 -1
  135. data/src/agent/Core/SpawningKit/SmartSpawner.h +17 -17
  136. data/src/agent/Core/SpawningKit/Spawner.h +1 -1
  137. data/src/agent/Core/SpawningKit/UserSwitchingRules.h +1 -1
  138. data/src/agent/Core/TelemetryCollector.h +1 -1
  139. data/src/agent/ExecHelper/ExecHelperMain.cpp +1 -1
  140. data/src/agent/FileReadHelper/FileReadHelperMain.cpp +1 -1
  141. data/src/agent/MainFunctions.h +1 -1
  142. data/src/agent/Shared/ApiAccountUtils.h +4 -3
  143. data/src/agent/Shared/ApiServerUtils.h +1 -2
  144. data/src/agent/Shared/ApplicationPoolApiKey.h +1 -1
  145. data/src/agent/Shared/Fundamentals/AbortHandler.cpp +1 -1
  146. data/src/agent/Shared/Fundamentals/AbortHandler.h +1 -1
  147. data/src/agent/Shared/Fundamentals/Initialization.cpp +1 -1
  148. data/src/agent/Shared/Fundamentals/Initialization.h +1 -1
  149. data/src/agent/Shared/Fundamentals/Utils.cpp +1 -1
  150. data/src/agent/Shared/Fundamentals/Utils.h +1 -1
  151. data/src/agent/SpawnEnvSetupper/SpawnEnvSetupperMain.cpp +1 -1
  152. data/src/agent/SystemMetrics/SystemMetricsMain.cpp +1 -1
  153. data/src/agent/TempDirToucher/TempDirToucherMain.cpp +1 -1
  154. data/src/agent/Watchdog/ApiServer.h +7 -6
  155. data/src/agent/Watchdog/Config.h +2 -2
  156. data/src/apache2_module/Bucket.cpp +1 -1
  157. data/src/apache2_module/Bucket.h +1 -1
  158. data/src/apache2_module/CBindings.cpp +1 -1
  159. data/src/apache2_module/Config.cpp +1 -1
  160. data/src/apache2_module/Config.h +1 -1
  161. data/src/apache2_module/ConfigGeneral/AutoGeneratedDefinitions.cpp +104 -104
  162. data/src/apache2_module/ConfigGeneral/AutoGeneratedDefinitions.cpp.cxxcodebuilder +2 -2
  163. data/src/apache2_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.cpp +1 -1
  164. data/src/apache2_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.cpp.cxxcodebuilder +1 -1
  165. data/src/apache2_module/ConfigGeneral/AutoGeneratedSetterFuncs.cpp +1 -1
  166. data/src/apache2_module/ConfigGeneral/AutoGeneratedSetterFuncs.cpp.cxxcodebuilder +1 -1
  167. data/src/apache2_module/ConfigGeneral/Common.h +1 -1
  168. data/src/apache2_module/ConfigGeneral/ManifestGeneration.h +1 -1
  169. data/src/apache2_module/ConfigGeneral/SetterFuncs.h +1 -1
  170. data/src/apache2_module/DirConfig/AutoGeneratedCreateFunction.cpp +1 -1
  171. data/src/apache2_module/DirConfig/AutoGeneratedCreateFunction.cpp.cxxcodebuilder +1 -1
  172. data/src/apache2_module/DirConfig/AutoGeneratedHeaderSerialization.cpp +1 -1
  173. data/src/apache2_module/DirConfig/AutoGeneratedHeaderSerialization.cpp.cxxcodebuilder +1 -1
  174. data/src/apache2_module/DirConfig/AutoGeneratedManifestGeneration.cpp +1 -1
  175. data/src/apache2_module/DirConfig/AutoGeneratedManifestGeneration.cpp.cxxcodebuilder +1 -1
  176. data/src/apache2_module/DirConfig/AutoGeneratedMergeFunction.cpp +1 -1
  177. data/src/apache2_module/DirConfig/AutoGeneratedMergeFunction.cpp.cxxcodebuilder +1 -1
  178. data/src/apache2_module/DirConfig/AutoGeneratedStruct.h +1 -1
  179. data/src/apache2_module/DirConfig/AutoGeneratedStruct.h.cxxcodebuilder +1 -1
  180. data/src/apache2_module/DirectoryMapper.h +1 -1
  181. data/src/apache2_module/Hooks.cpp +8 -2
  182. data/src/apache2_module/Hooks.h +1 -1
  183. data/src/apache2_module/ServerConfig/AutoGeneratedManifestGeneration.cpp +1 -1
  184. data/src/apache2_module/ServerConfig/AutoGeneratedManifestGeneration.cpp.cxxcodebuilder +1 -1
  185. data/src/apache2_module/ServerConfig/AutoGeneratedStruct.h +1 -1
  186. data/src/apache2_module/ServerConfig/AutoGeneratedStruct.h.cxxcodebuilder +1 -1
  187. data/src/apache2_module/Utils.h +1 -1
  188. data/src/apache2_module/mod_passenger.c +1 -1
  189. data/src/cxx_supportlib/Algorithms/Hasher.cpp +1 -1
  190. data/src/cxx_supportlib/Algorithms/Hasher.h +1 -1
  191. data/src/cxx_supportlib/Algorithms/MovingAverage.h +1 -1
  192. data/src/cxx_supportlib/AppLocalConfigFileUtils.h +1 -1
  193. data/src/cxx_supportlib/AppTypeDetector/CBindings.cpp +1 -1
  194. data/src/cxx_supportlib/AppTypeDetector/CBindings.h +1 -1
  195. data/src/cxx_supportlib/AppTypeDetector/Detector.h +1 -1
  196. data/src/cxx_supportlib/BackgroundEventLoop.cpp +1 -1
  197. data/src/cxx_supportlib/BackgroundEventLoop.h +1 -1
  198. data/src/cxx_supportlib/ConfigKit/AsyncUtils.h +1 -1
  199. data/src/cxx_supportlib/ConfigKit/Common.h +1 -1
  200. data/src/cxx_supportlib/ConfigKit/ConfigKit.h +1 -1
  201. data/src/cxx_supportlib/ConfigKit/DummyTranslator.h +1 -1
  202. data/src/cxx_supportlib/ConfigKit/IN_PRACTICE.md +1 -3
  203. data/src/cxx_supportlib/ConfigKit/PrefixTranslator.h +3 -3
  204. data/src/cxx_supportlib/ConfigKit/Schema.h +1 -1
  205. data/src/cxx_supportlib/ConfigKit/SchemaUtils.h +1 -1
  206. data/src/cxx_supportlib/ConfigKit/Store.h +1 -1
  207. data/src/cxx_supportlib/ConfigKit/SubComponentUtils.h +1 -1
  208. data/src/cxx_supportlib/ConfigKit/TableTranslator.h +1 -1
  209. data/src/cxx_supportlib/ConfigKit/Translator.h +1 -1
  210. data/src/cxx_supportlib/ConfigKit/Utils.h +1 -1
  211. data/src/cxx_supportlib/Constants.h +2 -2
  212. data/src/cxx_supportlib/Constants.h.cxxcodebuilder +1 -1
  213. data/src/cxx_supportlib/DataStructures/HashedStaticString.h +1 -1
  214. data/src/cxx_supportlib/DataStructures/LString.cpp +1 -1
  215. data/src/cxx_supportlib/DataStructures/LString.h +1 -1
  216. data/src/cxx_supportlib/DataStructures/StringKeyTable.h +1 -1
  217. data/src/cxx_supportlib/DataStructures/StringMap.h +1 -1
  218. data/src/cxx_supportlib/Exceptions.cpp +1 -1
  219. data/src/cxx_supportlib/Exceptions.h +1 -1
  220. data/src/cxx_supportlib/FileDescriptor.h +1 -1
  221. data/src/cxx_supportlib/FileTools/FileManip.cpp +1 -1
  222. data/src/cxx_supportlib/FileTools/FileManip.h +1 -1
  223. data/src/cxx_supportlib/FileTools/PathManip.cpp +1 -1
  224. data/src/cxx_supportlib/FileTools/PathManip.h +1 -1
  225. data/src/cxx_supportlib/FileTools/PathManipCBindings.cpp +1 -1
  226. data/src/cxx_supportlib/FileTools/PathManipCBindings.h +1 -1
  227. data/src/cxx_supportlib/FileTools/PathSecurityCheck.cpp +1 -1
  228. data/src/cxx_supportlib/FileTools/PathSecurityCheck.h +1 -1
  229. data/src/cxx_supportlib/Hooks.h +1 -1
  230. data/src/cxx_supportlib/IOTools/BufferedIO.h +1 -1
  231. data/src/cxx_supportlib/IOTools/IOUtils.cpp +10 -10
  232. data/src/cxx_supportlib/IOTools/IOUtils.h +1 -1
  233. data/src/cxx_supportlib/IOTools/MessageIO.h +1 -1
  234. data/src/cxx_supportlib/IOTools/MessageSerialization.h +1 -1
  235. data/src/cxx_supportlib/InstanceDirectory.h +1 -1
  236. data/src/cxx_supportlib/Integrations/LibevJsonUtils.h +1 -1
  237. data/src/cxx_supportlib/JsonTools/Autocast.h +1 -1
  238. data/src/cxx_supportlib/JsonTools/CBindings.cpp +1 -1
  239. data/src/cxx_supportlib/JsonTools/CBindings.h +1 -1
  240. data/src/cxx_supportlib/JsonTools/JsonUtils.h +1 -1
  241. data/src/cxx_supportlib/LoggingKit/Assert.h +1 -1
  242. data/src/cxx_supportlib/LoggingKit/Config.h +2 -1
  243. data/src/cxx_supportlib/LoggingKit/Context.h +1 -1
  244. data/src/cxx_supportlib/LoggingKit/Forward.h +1 -1
  245. data/src/cxx_supportlib/LoggingKit/Implementation.cpp +11 -1
  246. data/src/cxx_supportlib/LoggingKit/Logging.h +1 -1
  247. data/src/cxx_supportlib/LoggingKit/LoggingKit.h +1 -1
  248. data/src/cxx_supportlib/LveLoggingDecorator.h +1 -1
  249. data/src/cxx_supportlib/MemoryKit/mbuf.cpp +1 -1
  250. data/src/cxx_supportlib/MemoryKit/mbuf.h +1 -1
  251. data/src/cxx_supportlib/MemoryKit/palloc.cpp +1 -1
  252. data/src/cxx_supportlib/MemoryKit/palloc.h +1 -1
  253. data/src/cxx_supportlib/ProcessManagement/Ruby.cpp +1 -1
  254. data/src/cxx_supportlib/ProcessManagement/Ruby.h +1 -1
  255. data/src/cxx_supportlib/ProcessManagement/Spawn.cpp +1 -1
  256. data/src/cxx_supportlib/ProcessManagement/Spawn.h +1 -1
  257. data/src/cxx_supportlib/ProcessManagement/Utils.cpp +1 -1
  258. data/src/cxx_supportlib/ProcessManagement/Utils.h +1 -1
  259. data/src/cxx_supportlib/RandomGenerator.h +1 -1
  260. data/src/cxx_supportlib/ResourceLocator.h +1 -1
  261. data/src/cxx_supportlib/SafeLibev.h +1 -1
  262. data/src/cxx_supportlib/SecurityKit/Crypto.cpp +9 -27
  263. data/src/cxx_supportlib/SecurityKit/Crypto.h +2 -2
  264. data/src/cxx_supportlib/SecurityKit/MemZeroGuard.h +1 -1
  265. data/src/cxx_supportlib/ServerKit/AcceptLoadBalancer.h +1 -1
  266. data/src/cxx_supportlib/ServerKit/Channel.h +1 -1
  267. data/src/cxx_supportlib/ServerKit/Client.h +1 -1
  268. data/src/cxx_supportlib/ServerKit/ClientRef.h +1 -1
  269. data/src/cxx_supportlib/ServerKit/Config.h +1 -1
  270. data/src/cxx_supportlib/ServerKit/Context.h +1 -1
  271. data/src/cxx_supportlib/ServerKit/CookieUtils.h +1 -1
  272. data/src/cxx_supportlib/ServerKit/Errors.h +1 -1
  273. data/src/cxx_supportlib/ServerKit/FdSinkChannel.h +1 -1
  274. data/src/cxx_supportlib/ServerKit/FdSourceChannel.h +1 -1
  275. data/src/cxx_supportlib/ServerKit/FileBufferedChannel.h +54 -2
  276. data/src/cxx_supportlib/ServerKit/FileBufferedFdSinkChannel.h +1 -1
  277. data/src/cxx_supportlib/ServerKit/HeaderTable.h +1 -1
  278. data/src/cxx_supportlib/ServerKit/Hooks.h +1 -1
  279. data/src/cxx_supportlib/ServerKit/HttpChunkedBodyParser.h +1 -1
  280. data/src/cxx_supportlib/ServerKit/HttpChunkedBodyParserState.h +1 -1
  281. data/src/cxx_supportlib/ServerKit/HttpClient.h +1 -1
  282. data/src/cxx_supportlib/ServerKit/HttpHeaderParser.h +1 -1
  283. data/src/cxx_supportlib/ServerKit/HttpHeaderParserState.h +1 -1
  284. data/src/cxx_supportlib/ServerKit/HttpRequest.h +1 -1
  285. data/src/cxx_supportlib/ServerKit/HttpRequestRef.h +1 -1
  286. data/src/cxx_supportlib/ServerKit/HttpServer.h +1 -1
  287. data/src/cxx_supportlib/ServerKit/Implementation.cpp +1 -1
  288. data/src/cxx_supportlib/ServerKit/Server.h +4 -2
  289. data/src/cxx_supportlib/StaticString.h +1 -1
  290. data/src/cxx_supportlib/StrIntTools/DateParsing.h +1 -1
  291. data/src/cxx_supportlib/StrIntTools/StrIntUtils.cpp +1 -1
  292. data/src/cxx_supportlib/StrIntTools/StrIntUtils.h +1 -1
  293. data/src/cxx_supportlib/StrIntTools/StrIntUtilsNoStrictAliasing.cpp +1 -1
  294. data/src/cxx_supportlib/StrIntTools/StringScanning.h +1 -1
  295. data/src/cxx_supportlib/StrIntTools/Template.h +1 -1
  296. data/src/cxx_supportlib/SystemTools/ContainerHelpers.h +1 -1
  297. data/src/cxx_supportlib/SystemTools/ProcessMetricsCollector.h +1 -1
  298. data/src/cxx_supportlib/SystemTools/SystemMetricsCollector.h +1 -1
  299. data/src/cxx_supportlib/SystemTools/SystemTime.cpp +1 -1
  300. data/src/cxx_supportlib/SystemTools/SystemTime.h +1 -1
  301. data/src/cxx_supportlib/SystemTools/UserDatabase.cpp +1 -1
  302. data/src/cxx_supportlib/SystemTools/UserDatabase.h +1 -1
  303. data/src/cxx_supportlib/Utils/AnsiColorConstants.h +1 -1
  304. data/src/cxx_supportlib/Utils/AsyncSignalSafeUtils.h +1 -1
  305. data/src/cxx_supportlib/Utils/BlockingQueue.h +1 -1
  306. data/src/cxx_supportlib/Utils/CachedFileStat.cpp +1 -1
  307. data/src/cxx_supportlib/Utils/CachedFileStat.h +1 -1
  308. data/src/cxx_supportlib/Utils/CachedFileStat.hpp +1 -1
  309. data/src/cxx_supportlib/Utils/ClassUtils.h +1 -1
  310. data/src/cxx_supportlib/Utils/Curl.h +1 -1
  311. data/src/cxx_supportlib/Utils/FastStringStream.h +1 -1
  312. data/src/cxx_supportlib/Utils/FileChangeChecker.h +1 -1
  313. data/src/cxx_supportlib/Utils/HttpConstants.h +1 -1
  314. data/src/cxx_supportlib/Utils/IniFile.h +1 -1
  315. data/src/cxx_supportlib/Utils/MessagePassing.h +1 -1
  316. data/src/cxx_supportlib/Utils/OptionParsing.h +1 -1
  317. data/src/cxx_supportlib/Utils/ReleaseableScopedPointer.h +1 -1
  318. data/src/cxx_supportlib/Utils/ScopeGuard.h +1 -1
  319. data/src/cxx_supportlib/Utils/SpeedMeter.h +1 -1
  320. data/src/cxx_supportlib/Utils/Timer.h +1 -1
  321. data/src/cxx_supportlib/Utils/VariantMap.h +1 -1
  322. data/src/cxx_supportlib/Utils.cpp +1 -1
  323. data/src/cxx_supportlib/Utils.h +1 -1
  324. data/src/cxx_supportlib/WatchdogLauncher.cpp +1 -1
  325. data/src/cxx_supportlib/WatchdogLauncher.h +1 -1
  326. data/src/cxx_supportlib/WrapperRegistry/CBindings.cpp +1 -1
  327. data/src/cxx_supportlib/WrapperRegistry/CBindings.h +1 -1
  328. data/src/cxx_supportlib/WrapperRegistry/Entry.h +1 -1
  329. data/src/cxx_supportlib/WrapperRegistry/Registry.h +1 -1
  330. data/src/cxx_supportlib/oxt/backtrace.hpp +1 -1
  331. data/src/cxx_supportlib/oxt/detail/backtrace_disabled.hpp +1 -1
  332. data/src/cxx_supportlib/oxt/detail/backtrace_enabled.hpp +1 -1
  333. data/src/cxx_supportlib/oxt/detail/context.hpp +1 -1
  334. data/src/cxx_supportlib/oxt/detail/tracable_exception_disabled.hpp +1 -1
  335. data/src/cxx_supportlib/oxt/detail/tracable_exception_enabled.hpp +1 -1
  336. data/src/cxx_supportlib/oxt/dynamic_thread_group.hpp +1 -1
  337. data/src/cxx_supportlib/oxt/implementation.cpp +1 -1
  338. data/src/cxx_supportlib/oxt/initialize.hpp +1 -1
  339. data/src/cxx_supportlib/oxt/macros.hpp +1 -1
  340. data/src/cxx_supportlib/oxt/spin_lock.hpp +1 -1
  341. data/src/cxx_supportlib/oxt/system_calls.cpp +1 -1
  342. data/src/cxx_supportlib/oxt/system_calls.hpp +1 -1
  343. data/src/cxx_supportlib/oxt/thread.hpp +1 -1
  344. data/src/cxx_supportlib/oxt/tracable_exception.hpp +1 -1
  345. data/src/cxx_supportlib/vendor-copy/adhoc_lve.h +1 -1
  346. data/src/cxx_supportlib/vendor-copy/libuv/AUTHORS +353 -3
  347. data/src/cxx_supportlib/vendor-copy/libuv/ChangeLog +3981 -2
  348. data/src/cxx_supportlib/vendor-copy/libuv/LICENSE +1 -28
  349. data/src/cxx_supportlib/vendor-copy/libuv/LICENSE-docs +396 -0
  350. data/src/cxx_supportlib/vendor-copy/libuv/LICENSE-extra +36 -0
  351. data/src/cxx_supportlib/vendor-copy/libuv/Makefile.am +275 -58
  352. data/src/cxx_supportlib/vendor-copy/libuv/Makefile.in +4380 -2125
  353. data/src/cxx_supportlib/vendor-copy/libuv/aclocal.m4 +425 -221
  354. data/src/cxx_supportlib/vendor-copy/libuv/ar-lib +30 -10
  355. data/src/cxx_supportlib/vendor-copy/libuv/compile +31 -14
  356. data/src/cxx_supportlib/vendor-copy/libuv/config.guess +1084 -690
  357. data/src/cxx_supportlib/vendor-copy/libuv/config.sub +1844 -1297
  358. data/src/cxx_supportlib/vendor-copy/libuv/configure +6935 -3664
  359. data/src/cxx_supportlib/vendor-copy/libuv/configure.ac +43 -19
  360. data/src/cxx_supportlib/vendor-copy/libuv/depcomp +12 -11
  361. data/src/cxx_supportlib/vendor-copy/libuv/include/{uv-darwin.h → uv/darwin.h} +3 -3
  362. data/src/cxx_supportlib/vendor-copy/libuv/include/{uv-errno.h → uv/errno.h} +119 -60
  363. data/src/cxx_supportlib/vendor-copy/libuv/include/{uv-linux.h → uv/linux.h} +1 -1
  364. data/src/cxx_supportlib/vendor-copy/libuv/include/uv/os390.h +33 -0
  365. data/src/cxx_supportlib/vendor-copy/libuv/include/uv/posix.h +31 -0
  366. data/src/cxx_supportlib/vendor-copy/libuv/include/{uv-threadpool.h → uv/threadpool.h} +1 -1
  367. data/src/cxx_supportlib/vendor-copy/libuv/include/{tree.h → uv/tree.h} +3 -250
  368. data/src/cxx_supportlib/vendor-copy/libuv/include/{uv-unix.h → uv/unix.h} +186 -60
  369. data/src/cxx_supportlib/vendor-copy/libuv/include/{uv-version.h → uv/version.h} +3 -3
  370. data/src/cxx_supportlib/vendor-copy/libuv/include/uv/win.h +703 -0
  371. data/src/cxx_supportlib/vendor-copy/libuv/include/uv.h +528 -40
  372. data/src/cxx_supportlib/vendor-copy/libuv/install-sh +110 -70
  373. data/src/cxx_supportlib/vendor-copy/libuv/libuv-static.pc.in +12 -0
  374. data/src/cxx_supportlib/vendor-copy/libuv/libuv.pc.in +4 -2
  375. data/src/cxx_supportlib/vendor-copy/libuv/ltmain.sh +995 -619
  376. data/src/cxx_supportlib/vendor-copy/libuv/m4/ax_pthread.m4 +485 -0
  377. data/src/cxx_supportlib/vendor-copy/libuv/m4/libtool.m4 +438 -289
  378. data/src/cxx_supportlib/vendor-copy/libuv/m4/libuv-check-flags.m4 +21 -4
  379. data/src/cxx_supportlib/vendor-copy/libuv/m4/libuv-check-versions.m4 +7 -0
  380. data/src/cxx_supportlib/vendor-copy/libuv/m4/ltoptions.m4 +69 -39
  381. data/src/cxx_supportlib/vendor-copy/libuv/m4/ltsugar.m4 +1 -1
  382. data/src/cxx_supportlib/vendor-copy/libuv/m4/ltversion.m4 +7 -6
  383. data/src/cxx_supportlib/vendor-copy/libuv/m4/lt~obsolete.m4 +2 -2
  384. data/src/cxx_supportlib/vendor-copy/libuv/missing +55 -34
  385. data/src/cxx_supportlib/vendor-copy/libuv/src/fs-poll.c +52 -20
  386. data/src/cxx_supportlib/vendor-copy/libuv/src/idna.c +560 -0
  387. data/src/cxx_supportlib/vendor-copy/libuv/src/idna.h +31 -0
  388. data/src/cxx_supportlib/vendor-copy/libuv/src/inet.c +5 -16
  389. data/src/cxx_supportlib/vendor-copy/libuv/src/queue.h +68 -86
  390. data/src/cxx_supportlib/vendor-copy/libuv/src/random.c +123 -0
  391. data/src/cxx_supportlib/vendor-copy/libuv/src/strscpy.c +38 -0
  392. data/src/cxx_supportlib/vendor-copy/libuv/src/strscpy.h +39 -0
  393. data/src/cxx_supportlib/vendor-copy/libuv/src/strtok.c +52 -0
  394. data/src/cxx_supportlib/vendor-copy/libuv/src/strtok.h +27 -0
  395. data/src/cxx_supportlib/vendor-copy/libuv/src/thread-common.c +175 -0
  396. data/src/cxx_supportlib/vendor-copy/libuv/src/threadpool.c +172 -57
  397. data/src/cxx_supportlib/vendor-copy/libuv/src/{unix/timer.c → timer.c} +57 -29
  398. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/aix-common.c +89 -0
  399. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/aix.c +418 -256
  400. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/async.c +168 -129
  401. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/bsd-ifaddrs.c +163 -0
  402. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/bsd-proctitle.c +99 -0
  403. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/core.c +1312 -378
  404. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/cygwin.c +93 -0
  405. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/darwin-proctitle.c +18 -32
  406. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/darwin-stub.h +97 -0
  407. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/darwin-syscalls.h +17 -0
  408. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/darwin.c +41 -139
  409. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/dl.c +1 -1
  410. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/freebsd.c +75 -235
  411. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/fs.c +1308 -299
  412. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/fsevents.c +150 -148
  413. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/getaddrinfo.c +58 -8
  414. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/getnameinfo.c +3 -2
  415. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/haiku.c +172 -0
  416. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/hurd.c +172 -0
  417. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/ibmi.c +542 -0
  418. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/internal.h +297 -106
  419. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/kqueue.c +325 -94
  420. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/linux.c +2708 -0
  421. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/loop-watcher.c +11 -11
  422. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/loop.c +105 -24
  423. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/netbsd.c +51 -157
  424. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/no-fsevents.c +42 -0
  425. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/no-proctitle.c +45 -0
  426. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/openbsd.c +42 -183
  427. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/os390-proctitle.c +136 -0
  428. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/os390-syscalls.c +536 -0
  429. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/os390-syscalls.h +75 -0
  430. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/os390.c +1070 -0
  431. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/pipe.c +324 -55
  432. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/poll.c +58 -11
  433. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/posix-hrtime.c +36 -0
  434. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/posix-poll.c +385 -0
  435. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/process.c +795 -248
  436. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/procfs-exepath.c +45 -0
  437. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/proctitle.c +77 -22
  438. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/qnx.c +142 -0
  439. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/random-devurandom.c +93 -0
  440. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/random-getentropy.c +57 -0
  441. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/random-getrandom.c +86 -0
  442. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/random-sysctl-linux.c +99 -0
  443. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/signal.c +147 -39
  444. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/stream.c +426 -474
  445. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/sunos.c +240 -98
  446. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/sysinfo-loadavg.c +36 -0
  447. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/sysinfo-memory.c +42 -0
  448. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/tcp.c +402 -91
  449. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/thread.c +497 -145
  450. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/tty.c +269 -45
  451. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/udp.c +695 -165
  452. data/src/cxx_supportlib/vendor-copy/libuv/src/uv-common.c +463 -61
  453. data/src/cxx_supportlib/vendor-copy/libuv/src/uv-common.h +248 -44
  454. data/src/cxx_supportlib/vendor-copy/libuv/src/uv-data-getter-setters.c +119 -0
  455. data/src/cxx_supportlib/vendor-copy/libuv/tsansupp.txt +2 -0
  456. data/src/cxx_supportlib/vendor-modified/libev/Changes +109 -0
  457. data/src/cxx_supportlib/vendor-modified/libev/Makefile.am +2 -1
  458. data/src/cxx_supportlib/vendor-modified/libev/Makefile.in +47 -33
  459. data/src/cxx_supportlib/vendor-modified/libev/README +2 -1
  460. data/src/cxx_supportlib/vendor-modified/libev/aclocal.m4 +1653 -1224
  461. data/src/cxx_supportlib/vendor-modified/libev/config.guess +376 -316
  462. data/src/cxx_supportlib/vendor-modified/libev/config.h.in +13 -2
  463. data/src/cxx_supportlib/vendor-modified/libev/config.sub +156 -154
  464. data/src/cxx_supportlib/vendor-modified/libev/configure +1431 -940
  465. data/src/cxx_supportlib/vendor-modified/libev/configure.ac +3 -3
  466. data/src/cxx_supportlib/vendor-modified/libev/depcomp +5 -5
  467. data/src/cxx_supportlib/vendor-modified/libev/ev++.h +109 -107
  468. data/src/cxx_supportlib/vendor-modified/libev/ev.c +807 -319
  469. data/src/cxx_supportlib/vendor-modified/libev/ev.h +111 -105
  470. data/src/cxx_supportlib/vendor-modified/libev/ev_epoll.c +42 -29
  471. data/src/cxx_supportlib/vendor-modified/libev/ev_iouring.c +694 -0
  472. data/src/cxx_supportlib/vendor-modified/libev/ev_kqueue.c +15 -9
  473. data/src/cxx_supportlib/vendor-modified/libev/ev_linuxaio.c +620 -0
  474. data/src/cxx_supportlib/vendor-modified/libev/ev_poll.c +19 -14
  475. data/src/cxx_supportlib/vendor-modified/libev/ev_port.c +8 -5
  476. data/src/cxx_supportlib/vendor-modified/libev/ev_select.c +6 -6
  477. data/src/cxx_supportlib/vendor-modified/libev/ev_vars.h +48 -3
  478. data/src/cxx_supportlib/vendor-modified/libev/ev_win32.c +2 -2
  479. data/src/cxx_supportlib/vendor-modified/libev/ev_wrap.h +72 -0
  480. data/src/cxx_supportlib/vendor-modified/libev/install-sh +23 -13
  481. data/src/cxx_supportlib/vendor-modified/libev/libev.m4 +6 -1
  482. data/src/cxx_supportlib/vendor-modified/libev/ltmain.sh +3581 -1993
  483. data/src/cxx_supportlib/vendor-modified/libev/missing +8 -8
  484. data/src/cxx_supportlib/vendor-modified/libev/mkinstalldirs +3 -3
  485. data/src/cxx_supportlib/vendor-modified/modp_b64_strict_aliasing.cpp +1 -1
  486. data/src/helper-scripts/backtrace-sanitizer.rb +1 -1
  487. data/src/helper-scripts/crash-watch.rb +1 -1
  488. data/src/helper-scripts/download_binaries/extconf.rb +1 -1
  489. data/src/helper-scripts/meteor-loader.rb +1 -1
  490. data/src/helper-scripts/node-loader.js +1 -1
  491. data/src/helper-scripts/prespawn +1 -1
  492. data/src/helper-scripts/rack-loader.rb +1 -1
  493. data/src/helper-scripts/rack-preloader.rb +1 -1
  494. data/src/helper-scripts/wsgi-loader.py +1 -1
  495. data/src/nginx_module/ConfigGeneral/AutoGeneratedDefinitions.c +1 -1
  496. data/src/nginx_module/ConfigGeneral/AutoGeneratedDefinitions.c.cxxcodebuilder +1 -1
  497. data/src/nginx_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.c +1 -1
  498. data/src/nginx_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.c.cxxcodebuilder +1 -1
  499. data/src/nginx_module/ConfigGeneral/AutoGeneratedSetterFuncs.c +1 -1
  500. data/src/nginx_module/ConfigGeneral/AutoGeneratedSetterFuncs.c.cxxcodebuilder +1 -1
  501. data/src/nginx_module/Configuration.c +1 -1
  502. data/src/nginx_module/Configuration.h +1 -1
  503. data/src/nginx_module/ContentHandler.c +1 -1
  504. data/src/nginx_module/ContentHandler.h +1 -1
  505. data/src/nginx_module/LocationConfig/AutoGeneratedCreateFunction.c +1 -1
  506. data/src/nginx_module/LocationConfig/AutoGeneratedCreateFunction.c.cxxcodebuilder +1 -1
  507. data/src/nginx_module/LocationConfig/AutoGeneratedHeaderSerialization.c +1 -1
  508. data/src/nginx_module/LocationConfig/AutoGeneratedHeaderSerialization.c.cxxcodebuilder +1 -1
  509. data/src/nginx_module/LocationConfig/AutoGeneratedManifestGeneration.c +1 -1
  510. data/src/nginx_module/LocationConfig/AutoGeneratedManifestGeneration.c.cxxcodebuilder +1 -1
  511. data/src/nginx_module/LocationConfig/AutoGeneratedMergeFunction.c +1 -1
  512. data/src/nginx_module/LocationConfig/AutoGeneratedMergeFunction.c.cxxcodebuilder +1 -1
  513. data/src/nginx_module/LocationConfig/AutoGeneratedStruct.h +1 -1
  514. data/src/nginx_module/LocationConfig/AutoGeneratedStruct.h.cxxcodebuilder +1 -1
  515. data/src/nginx_module/MainConfig/AutoGeneratedCreateFunction.c +1 -1
  516. data/src/nginx_module/MainConfig/AutoGeneratedCreateFunction.c.cxxcodebuilder +1 -1
  517. data/src/nginx_module/MainConfig/AutoGeneratedManifestGeneration.c +1 -1
  518. data/src/nginx_module/MainConfig/AutoGeneratedManifestGeneration.c.cxxcodebuilder +1 -1
  519. data/src/nginx_module/MainConfig/AutoGeneratedStruct.h +1 -1
  520. data/src/nginx_module/MainConfig/AutoGeneratedStruct.h.cxxcodebuilder +1 -1
  521. data/src/nginx_module/StaticContentHandler.c +1 -1
  522. data/src/nginx_module/StaticContentHandler.h +1 -1
  523. data/src/nginx_module/ngx_http_passenger_module.c +1 -1
  524. data/src/nginx_module/ngx_http_passenger_module.h +1 -1
  525. data/src/nodejs_supportlib/phusion_passenger/line_reader.js +1 -1
  526. data/src/ruby_native_extension/extconf.rb +1 -1
  527. data/src/ruby_native_extension/passenger_native_support.c +1 -1
  528. data/src/ruby_supportlib/phusion_passenger/abstract_installer.rb +1 -1
  529. data/src/ruby_supportlib/phusion_passenger/admin_tools/instance.rb +1 -1
  530. data/src/ruby_supportlib/phusion_passenger/admin_tools/instance_registry.rb +1 -1
  531. data/src/ruby_supportlib/phusion_passenger/admin_tools/memory_stats.rb +2 -12
  532. data/src/ruby_supportlib/phusion_passenger/admin_tools.rb +1 -1
  533. data/src/ruby_supportlib/phusion_passenger/apache2/config_options.rb +1 -1
  534. data/src/ruby_supportlib/phusion_passenger/apache2/config_utils.rb +1 -1
  535. data/src/ruby_supportlib/phusion_passenger/common_library.rb +8 -10
  536. data/src/ruby_supportlib/phusion_passenger/config/about_command.rb +1 -1
  537. data/src/ruby_supportlib/phusion_passenger/config/agent_compiler.rb +1 -1
  538. data/src/ruby_supportlib/phusion_passenger/config/api_call_command.rb +1 -1
  539. data/src/ruby_supportlib/phusion_passenger/config/build_native_support_command.rb +1 -1
  540. data/src/ruby_supportlib/phusion_passenger/config/command.rb +1 -1
  541. data/src/ruby_supportlib/phusion_passenger/config/compile_agent_command.rb +1 -1
  542. data/src/ruby_supportlib/phusion_passenger/config/compile_nginx_engine_command.rb +1 -1
  543. data/src/ruby_supportlib/phusion_passenger/config/detach_process_command.rb +1 -1
  544. data/src/ruby_supportlib/phusion_passenger/config/download_agent_command.rb +1 -1
  545. data/src/ruby_supportlib/phusion_passenger/config/download_nginx_engine_command.rb +1 -1
  546. data/src/ruby_supportlib/phusion_passenger/config/install_agent_command.rb +1 -1
  547. data/src/ruby_supportlib/phusion_passenger/config/install_standalone_runtime_command.rb +1 -1
  548. data/src/ruby_supportlib/phusion_passenger/config/installation_utils.rb +1 -1
  549. data/src/ruby_supportlib/phusion_passenger/config/list_instances_command.rb +1 -1
  550. data/src/ruby_supportlib/phusion_passenger/config/main.rb +1 -1
  551. data/src/ruby_supportlib/phusion_passenger/config/nginx_engine_compiler.rb +3 -2
  552. data/src/ruby_supportlib/phusion_passenger/config/reopen_logs_command.rb +6 -1
  553. data/src/ruby_supportlib/phusion_passenger/config/restart_app_command.rb +1 -1
  554. data/src/ruby_supportlib/phusion_passenger/config/system_metrics_command.rb +1 -1
  555. data/src/ruby_supportlib/phusion_passenger/config/system_properties_command.rb +1 -1
  556. data/src/ruby_supportlib/phusion_passenger/config/utils.rb +1 -1
  557. data/src/ruby_supportlib/phusion_passenger/config/validate_install_command.rb +1 -1
  558. data/src/ruby_supportlib/phusion_passenger/console_text_template.rb +1 -1
  559. data/src/ruby_supportlib/phusion_passenger/constants.rb +1 -1
  560. data/src/ruby_supportlib/phusion_passenger/debug_logging.rb +1 -1
  561. data/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb +1 -1
  562. data/src/ruby_supportlib/phusion_passenger/message_channel.rb +1 -1
  563. data/src/ruby_supportlib/phusion_passenger/message_client.rb +1 -1
  564. data/src/ruby_supportlib/phusion_passenger/native_support.rb +1 -1
  565. data/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb +1 -1
  566. data/src/ruby_supportlib/phusion_passenger/packaging.rb +4 -3
  567. data/src/ruby_supportlib/phusion_passenger/platform_info/apache.rb +1 -1
  568. data/src/ruby_supportlib/phusion_passenger/platform_info/apache_detector.rb +1 -1
  569. data/src/ruby_supportlib/phusion_passenger/platform_info/binary_compatibility.rb +1 -1
  570. data/src/ruby_supportlib/phusion_passenger/platform_info/compiler.rb +195 -11
  571. data/src/ruby_supportlib/phusion_passenger/platform_info/crypto.rb +1 -1
  572. data/src/ruby_supportlib/phusion_passenger/platform_info/curl.rb +1 -1
  573. data/src/ruby_supportlib/phusion_passenger/platform_info/cxx_portability.rb +1 -1
  574. data/src/ruby_supportlib/phusion_passenger/platform_info/linux.rb +1 -1
  575. data/src/ruby_supportlib/phusion_passenger/platform_info/networking.rb +1 -1
  576. data/src/ruby_supportlib/phusion_passenger/platform_info/openssl.rb +1 -1
  577. data/src/ruby_supportlib/phusion_passenger/platform_info/operating_system.rb +1 -1
  578. data/src/ruby_supportlib/phusion_passenger/platform_info/pcre.rb +1 -1
  579. data/src/ruby_supportlib/phusion_passenger/platform_info/ruby.rb +1 -1
  580. data/src/ruby_supportlib/phusion_passenger/platform_info/zlib.rb +1 -1
  581. data/src/ruby_supportlib/phusion_passenger/platform_info.rb +1 -1
  582. data/src/ruby_supportlib/phusion_passenger/plugin.rb +1 -1
  583. data/src/ruby_supportlib/phusion_passenger/preloader_shared_helpers.rb +1 -1
  584. data/src/ruby_supportlib/phusion_passenger/public_api.rb +1 -1
  585. data/src/ruby_supportlib/phusion_passenger/rack/handler.rb +1 -1
  586. data/src/ruby_supportlib/phusion_passenger/rack/out_of_band_gc.rb +1 -1
  587. data/src/ruby_supportlib/phusion_passenger/rack/thread_handler_extension.rb +1 -1
  588. data/src/ruby_supportlib/phusion_passenger/rack_handler.rb +1 -1
  589. data/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb +2 -7
  590. data/src/ruby_supportlib/phusion_passenger/request_handler.rb +1 -1
  591. data/src/ruby_supportlib/phusion_passenger/ruby_core_enhancements.rb +1 -1
  592. data/src/ruby_supportlib/phusion_passenger/ruby_core_io_enhancements.rb +1 -1
  593. data/src/ruby_supportlib/phusion_passenger/simple_benchmarking.rb +1 -1
  594. data/src/ruby_supportlib/phusion_passenger/standalone/app_finder.rb +1 -1
  595. data/src/ruby_supportlib/phusion_passenger/standalone/command.rb +1 -1
  596. data/src/ruby_supportlib/phusion_passenger/standalone/config_options_list.rb +1 -1
  597. data/src/ruby_supportlib/phusion_passenger/standalone/config_utils.rb +1 -1
  598. data/src/ruby_supportlib/phusion_passenger/standalone/control_utils.rb +1 -1
  599. data/src/ruby_supportlib/phusion_passenger/standalone/main.rb +1 -1
  600. data/src/ruby_supportlib/phusion_passenger/standalone/start_command/builtin_engine.rb +2 -2
  601. data/src/ruby_supportlib/phusion_passenger/standalone/start_command/nginx_engine.rb +4 -8
  602. data/src/ruby_supportlib/phusion_passenger/standalone/start_command.rb +1 -1
  603. data/src/ruby_supportlib/phusion_passenger/standalone/status_command.rb +1 -1
  604. data/src/ruby_supportlib/phusion_passenger/standalone/stop_command.rb +1 -1
  605. data/src/ruby_supportlib/phusion_passenger/standalone/version_command.rb +1 -1
  606. data/src/ruby_supportlib/phusion_passenger/utils/ansi_colors.rb +1 -1
  607. data/src/ruby_supportlib/phusion_passenger/utils/download.rb +1 -1
  608. data/src/ruby_supportlib/phusion_passenger/utils/file_system_watcher.rb +1 -1
  609. data/src/ruby_supportlib/phusion_passenger/utils/hosts_file_parser.rb +1 -1
  610. data/src/ruby_supportlib/phusion_passenger/utils/lock.rb +1 -1
  611. data/src/ruby_supportlib/phusion_passenger/utils/native_support_utils.rb +1 -1
  612. data/src/ruby_supportlib/phusion_passenger/utils/progress_bar.rb +1 -1
  613. data/src/ruby_supportlib/phusion_passenger/utils/strscan.rb +1 -1
  614. data/src/ruby_supportlib/phusion_passenger/utils/terminal_choice_menu.rb +1 -1
  615. data/src/ruby_supportlib/phusion_passenger/utils/unseekable_socket.rb +3 -13
  616. data/src/ruby_supportlib/phusion_passenger/utils.rb +1 -1
  617. data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/app.rb +1 -1
  618. data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/base.rb +1 -1
  619. data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/gdb_controller.rb +1 -1
  620. data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/lldb_controller.rb +1 -1
  621. data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/utils.rb +1 -1
  622. data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/version.rb +1 -1
  623. data/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller/lock_file.rb +8 -6
  624. data/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller/spawn.rb +4 -3
  625. data/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller/version.rb +6 -4
  626. data/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller.rb +395 -579
  627. data/src/ruby_supportlib/phusion_passenger.rb +8 -8
  628. data/src/schema_printer/SchemaPrinterMain.cpp +1 -1
  629. data/src/schema_printer/SchemaPrinterMain.cpp.cxxcodebuilder +1 -1
  630. metadata +69 -32
  631. data/doc/DeveloperQuickstart.md +0 -70
  632. data/src/README.md +0 -7
  633. data/src/cxx_supportlib/vendor-copy/libuv/README.md +0 -245
  634. data/src/cxx_supportlib/vendor-copy/libuv/checksparse.sh +0 -234
  635. data/src/cxx_supportlib/vendor-copy/libuv/common.gypi +0 -210
  636. data/src/cxx_supportlib/vendor-copy/libuv/gyp_uv.py +0 -93
  637. data/src/cxx_supportlib/vendor-copy/libuv/include/android-ifaddrs.h +0 -54
  638. data/src/cxx_supportlib/vendor-copy/libuv/include/pthread-fixes.h +0 -72
  639. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/android-ifaddrs.c +0 -703
  640. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/atomic-ops.h +0 -77
  641. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/linux-core.c +0 -899
  642. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/linux-inotify.c +0 -285
  643. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/linux-syscalls.c +0 -471
  644. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/linux-syscalls.h +0 -158
  645. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/pthread-fixes.c +0 -104
  646. data/src/cxx_supportlib/vendor-copy/libuv/src/unix/spinlock.h +0 -53
  647. data/src/cxx_supportlib/vendor-copy/libuv/uv.gyp +0 -508
  648. /data/src/cxx_supportlib/vendor-copy/libuv/include/{uv-aix.h → uv/aix.h} +0 -0
  649. /data/src/cxx_supportlib/vendor-copy/libuv/include/{uv-bsd.h → uv/bsd.h} +0 -0
  650. /data/src/cxx_supportlib/vendor-copy/libuv/include/{uv-sunos.h → uv/sunos.h} +0 -0
@@ -1,6 +1,6 @@
1
1
  #! /bin/sh
2
2
  # Guess values for system-dependent variables and create Makefiles.
3
- # Generated by GNU Autoconf 2.69.
3
+ # Generated by GNU Autoconf 2.69 for libev 4.33.
4
4
  #
5
5
  #
6
6
  # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -585,12 +585,12 @@ MFLAGS=
585
585
  MAKEFLAGS=
586
586
 
587
587
  # Identity of this package.
588
- PACKAGE_NAME=
589
- PACKAGE_TARNAME=
590
- PACKAGE_VERSION=
591
- PACKAGE_STRING=
592
- PACKAGE_BUGREPORT=
593
- PACKAGE_URL=
588
+ PACKAGE_NAME='libev'
589
+ PACKAGE_TARNAME='libev'
590
+ PACKAGE_VERSION='4.33'
591
+ PACKAGE_STRING='libev 4.33'
592
+ PACKAGE_BUGREPORT=''
593
+ PACKAGE_URL=''
594
594
 
595
595
  ac_unique_file="ev_epoll.c"
596
596
  # Factoring default headers for most tests.
@@ -634,6 +634,7 @@ am__EXEEXT_TRUE
634
634
  LTLIBOBJS
635
635
  LIBOBJS
636
636
  CPP
637
+ LT_SYS_LIBRARY_PATH
637
638
  OTOOL64
638
639
  OTOOL
639
640
  LIPO
@@ -670,7 +671,6 @@ am__nodep
670
671
  AMDEPBACKSLASH
671
672
  AMDEP_FALSE
672
673
  AMDEP_TRUE
673
- am__quote
674
674
  am__include
675
675
  DEPDIR
676
676
  OBJEXT
@@ -748,7 +748,8 @@ PACKAGE_VERSION
748
748
  PACKAGE_TARNAME
749
749
  PACKAGE_NAME
750
750
  PATH_SEPARATOR
751
- SHELL'
751
+ SHELL
752
+ am__quote'
752
753
  ac_subst_files=''
753
754
  ac_user_opts='
754
755
  enable_option_checking
@@ -759,6 +760,7 @@ enable_shared
759
760
  enable_static
760
761
  with_pic
761
762
  enable_fast_install
763
+ with_aix_soname
762
764
  with_gnu_ld
763
765
  with_sysroot
764
766
  enable_libtool_lock
@@ -771,6 +773,7 @@ CFLAGS
771
773
  LDFLAGS
772
774
  LIBS
773
775
  CPPFLAGS
776
+ LT_SYS_LIBRARY_PATH
774
777
  CPP'
775
778
 
776
779
 
@@ -813,7 +816,7 @@ localstatedir='${prefix}/var'
813
816
  runstatedir='${localstatedir}/run'
814
817
  includedir='${prefix}/include'
815
818
  oldincludedir='/usr/include'
816
- docdir='${datarootdir}/doc/${PACKAGE}'
819
+ docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
817
820
  infodir='${datarootdir}/info'
818
821
  htmldir='${docdir}'
819
822
  dvidir='${docdir}'
@@ -1322,7 +1325,7 @@ if test "$ac_init_help" = "long"; then
1322
1325
  # Omit some internal or obsolete options to make the list less imposing.
1323
1326
  # This message is too long to be a string in the A/UX 3.1 sh.
1324
1327
  cat <<_ACEOF
1325
- \`configure' configures this package to adapt to many kinds of systems.
1328
+ \`configure' configures libev 4.33 to adapt to many kinds of systems.
1326
1329
 
1327
1330
  Usage: $0 [OPTION]... [VAR=VALUE]...
1328
1331
 
@@ -1371,7 +1374,7 @@ Fine tuning of the installation directories:
1371
1374
  --infodir=DIR info documentation [DATAROOTDIR/info]
1372
1375
  --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1373
1376
  --mandir=DIR man documentation [DATAROOTDIR/man]
1374
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1377
+ --docdir=DIR documentation root [DATAROOTDIR/doc/libev]
1375
1378
  --htmldir=DIR html documentation [DOCDIR]
1376
1379
  --dvidir=DIR dvi documentation [DOCDIR]
1377
1380
  --pdfdir=DIR pdf documentation [DOCDIR]
@@ -1392,7 +1395,9 @@ _ACEOF
1392
1395
  fi
1393
1396
 
1394
1397
  if test -n "$ac_init_help"; then
1395
-
1398
+ case $ac_init_help in
1399
+ short | recursive ) echo "Configuration of libev 4.33:";;
1400
+ esac
1396
1401
  cat <<\_ACEOF
1397
1402
 
1398
1403
  Optional Features:
@@ -1419,9 +1424,12 @@ Optional Packages:
1419
1424
  --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1420
1425
  --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1421
1426
  both]
1427
+ --with-aix-soname=aix|svr4|both
1428
+ shared library versioning (aka "SONAME") variant to
1429
+ provide on AIX, [default=aix].
1422
1430
  --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1423
- --with-sysroot=DIR Search for dependent libraries within DIR
1424
- (or the compiler's sysroot if not specified).
1431
+ --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1432
+ compiler's sysroot if not specified).
1425
1433
 
1426
1434
  Some influential environment variables:
1427
1435
  CC C compiler command
@@ -1431,6 +1439,8 @@ Some influential environment variables:
1431
1439
  LIBS libraries to pass to the linker, e.g. -l<library>
1432
1440
  CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1433
1441
  you have headers in a nonstandard directory <include dir>
1442
+ LT_SYS_LIBRARY_PATH
1443
+ User-defined run-time library search path.
1434
1444
  CPP C preprocessor
1435
1445
 
1436
1446
  Use these variables to override the choices made by `configure' or to help
@@ -1499,7 +1509,7 @@ fi
1499
1509
  test -n "$ac_init_help" && exit $ac_status
1500
1510
  if $ac_init_version; then
1501
1511
  cat <<\_ACEOF
1502
- configure
1512
+ libev configure 4.33
1503
1513
  generated by GNU Autoconf 2.69
1504
1514
 
1505
1515
  Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1860,11 +1870,65 @@ fi
1860
1870
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1861
1871
 
1862
1872
  } # ac_fn_c_check_header_mongrel
1873
+
1874
+ # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1875
+ # -------------------------------------------
1876
+ # Tests whether TYPE exists after having included INCLUDES, setting cache
1877
+ # variable VAR accordingly.
1878
+ ac_fn_c_check_type ()
1879
+ {
1880
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1881
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1882
+ $as_echo_n "checking for $2... " >&6; }
1883
+ if eval \${$3+:} false; then :
1884
+ $as_echo_n "(cached) " >&6
1885
+ else
1886
+ eval "$3=no"
1887
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1888
+ /* end confdefs.h. */
1889
+ $4
1890
+ int
1891
+ main ()
1892
+ {
1893
+ if (sizeof ($2))
1894
+ return 0;
1895
+ ;
1896
+ return 0;
1897
+ }
1898
+ _ACEOF
1899
+ if ac_fn_c_try_compile "$LINENO"; then :
1900
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1901
+ /* end confdefs.h. */
1902
+ $4
1903
+ int
1904
+ main ()
1905
+ {
1906
+ if (sizeof (($2)))
1907
+ return 0;
1908
+ ;
1909
+ return 0;
1910
+ }
1911
+ _ACEOF
1912
+ if ac_fn_c_try_compile "$LINENO"; then :
1913
+
1914
+ else
1915
+ eval "$3=yes"
1916
+ fi
1917
+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1918
+ fi
1919
+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1920
+ fi
1921
+ eval ac_res=\$$3
1922
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1923
+ $as_echo "$ac_res" >&6; }
1924
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1925
+
1926
+ } # ac_fn_c_check_type
1863
1927
  cat >config.log <<_ACEOF
1864
1928
  This file contains any messages produced by compilers while
1865
1929
  running configure, to aid debugging if configure makes a mistake.
1866
1930
 
1867
- It was created by $as_me, which was
1931
+ It was created by libev $as_me 4.33, which was
1868
1932
  generated by GNU Autoconf 2.69. Invocation command line was
1869
1933
 
1870
1934
  $ $0 $@
@@ -2216,8 +2280,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2216
2280
  orig_CFLAGS="$CFLAGS"
2217
2281
 
2218
2282
 
2219
-
2220
- am__api_version='1.15'
2283
+ am__api_version='1.16'
2221
2284
 
2222
2285
  ac_aux_dir=
2223
2286
  for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
@@ -2731,9 +2794,8 @@ fi
2731
2794
 
2732
2795
 
2733
2796
  # Define the identity of the package.
2734
-
2735
- PACKAGE=libev
2736
- VERSION=4.23
2797
+ PACKAGE='libev'
2798
+ VERSION='4.33'
2737
2799
 
2738
2800
 
2739
2801
  cat >>confdefs.h <<_ACEOF
@@ -2763,8 +2825,8 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2763
2825
 
2764
2826
  # For better backward compatibility. To be removed once Automake 1.9.x
2765
2827
  # dies out for good. For more background, see:
2766
- # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2767
- # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2828
+ # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2829
+ # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2768
2830
  mkdir_p='$(MKDIR_P)'
2769
2831
 
2770
2832
  # We need awk for the "check" target (and possibly the TAP driver). The
@@ -2815,7 +2877,7 @@ END
2815
2877
  Aborting the configuration process, to ensure you take notice of the issue.
2816
2878
 
2817
2879
  You can download and install GNU coreutils to get an 'rm' implementation
2818
- that behaves properly: <http://www.gnu.org/software/coreutils/>.
2880
+ that behaves properly: <https://www.gnu.org/software/coreutils/>.
2819
2881
 
2820
2882
  If you want to complete the configuration process using your problematic
2821
2883
  'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
@@ -2826,6 +2888,7 @@ END
2826
2888
  fi
2827
2889
  fi
2828
2890
 
2891
+
2829
2892
  ac_config_headers="$ac_config_headers config.h"
2830
2893
 
2831
2894
 
@@ -3703,45 +3766,45 @@ DEPDIR="${am__leading_dot}deps"
3703
3766
 
3704
3767
  ac_config_commands="$ac_config_commands depfiles"
3705
3768
 
3706
-
3707
- am_make=${MAKE-make}
3708
- cat > confinc << 'END'
3769
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3770
+ $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3771
+ cat > confinc.mk << 'END'
3709
3772
  am__doit:
3710
- @echo this is the am__doit target
3773
+ @echo this is the am__doit target >confinc.out
3711
3774
  .PHONY: am__doit
3712
3775
  END
3713
- # If we don't find an include directive, just comment out the code.
3714
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3715
- $as_echo_n "checking for style of include used by $am_make... " >&6; }
3716
3776
  am__include="#"
3717
3777
  am__quote=
3718
- _am_result=none
3719
- # First try GNU make style include.
3720
- echo "include confinc" > confmf
3721
- # Ignore all kinds of additional output from 'make'.
3722
- case `$am_make -s -f confmf 2> /dev/null` in #(
3723
- *the\ am__doit\ target*)
3724
- am__include=include
3725
- am__quote=
3726
- _am_result=GNU
3727
- ;;
3728
- esac
3729
- # Now try BSD make style include.
3730
- if test "$am__include" = "#"; then
3731
- echo '.include "confinc"' > confmf
3732
- case `$am_make -s -f confmf 2> /dev/null` in #(
3733
- *the\ am__doit\ target*)
3734
- am__include=.include
3735
- am__quote="\""
3736
- _am_result=BSD
3778
+ # BSD make does it like this.
3779
+ echo '.include "confinc.mk" # ignored' > confmf.BSD
3780
+ # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3781
+ echo 'include confinc.mk # ignored' > confmf.GNU
3782
+ _am_result=no
3783
+ for s in GNU BSD; do
3784
+ { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3785
+ (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3786
+ ac_status=$?
3787
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3788
+ (exit $ac_status); }
3789
+ case $?:`cat confinc.out 2>/dev/null` in #(
3790
+ '0:this is the am__doit target') :
3791
+ case $s in #(
3792
+ BSD) :
3793
+ am__include='.include' am__quote='"' ;; #(
3794
+ *) :
3795
+ am__include='include' am__quote='' ;;
3796
+ esac ;; #(
3797
+ *) :
3737
3798
  ;;
3738
- esac
3739
- fi
3740
-
3741
-
3742
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3743
- $as_echo "$_am_result" >&6; }
3744
- rm -f confinc confmf
3799
+ esac
3800
+ if test "$am__include" != "#"; then
3801
+ _am_result="yes ($s style)"
3802
+ break
3803
+ fi
3804
+ done
3805
+ rm -f confinc.* confmf.*
3806
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3807
+ $as_echo "${_am_result}" >&6; }
3745
3808
 
3746
3809
  # Check whether --enable-dependency-tracking was given.
3747
3810
  if test "${enable_dependency_tracking+set}" = set; then :
@@ -3907,8 +3970,8 @@ esac
3907
3970
 
3908
3971
 
3909
3972
 
3910
- macro_version='2.4.2'
3911
- macro_revision='1.3337'
3973
+ macro_version='2.4.6'
3974
+ macro_revision='2.4.6'
3912
3975
 
3913
3976
 
3914
3977
 
@@ -3922,7 +3985,7 @@ macro_revision='1.3337'
3922
3985
 
3923
3986
 
3924
3987
 
3925
- ltmain="$ac_aux_dir/ltmain.sh"
3988
+ ltmain=$ac_aux_dir/ltmain.sh
3926
3989
 
3927
3990
  # Make sure we can run config.sub.
3928
3991
  $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
@@ -4042,7 +4105,7 @@ func_echo_all ()
4042
4105
  $ECHO ""
4043
4106
  }
4044
4107
 
4045
- case "$ECHO" in
4108
+ case $ECHO in
4046
4109
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4047
4110
  $as_echo "printf" >&6; } ;;
4048
4111
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
@@ -4365,19 +4428,19 @@ test -z "$GREP" && GREP=grep
4365
4428
 
4366
4429
  # Check whether --with-gnu-ld was given.
4367
4430
  if test "${with_gnu_ld+set}" = set; then :
4368
- withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4431
+ withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4369
4432
  else
4370
4433
  with_gnu_ld=no
4371
4434
  fi
4372
4435
 
4373
4436
  ac_prog=ld
4374
- if test "$GCC" = yes; then
4437
+ if test yes = "$GCC"; then
4375
4438
  # Check if gcc -print-prog-name=ld gives a path.
4376
4439
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4377
4440
  $as_echo_n "checking for ld used by $CC... " >&6; }
4378
4441
  case $host in
4379
4442
  *-*-mingw*)
4380
- # gcc leaves a trailing carriage return which upsets mingw
4443
+ # gcc leaves a trailing carriage return, which upsets mingw
4381
4444
  ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4382
4445
  *)
4383
4446
  ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
@@ -4391,7 +4454,7 @@ $as_echo_n "checking for ld used by $CC... " >&6; }
4391
4454
  while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4392
4455
  ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4393
4456
  done
4394
- test -z "$LD" && LD="$ac_prog"
4457
+ test -z "$LD" && LD=$ac_prog
4395
4458
  ;;
4396
4459
  "")
4397
4460
  # If it fails, then pretend we aren't using GCC.
@@ -4402,7 +4465,7 @@ $as_echo_n "checking for ld used by $CC... " >&6; }
4402
4465
  with_gnu_ld=unknown
4403
4466
  ;;
4404
4467
  esac
4405
- elif test "$with_gnu_ld" = yes; then
4468
+ elif test yes = "$with_gnu_ld"; then
4406
4469
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4407
4470
  $as_echo_n "checking for GNU ld... " >&6; }
4408
4471
  else
@@ -4413,32 +4476,32 @@ if ${lt_cv_path_LD+:} false; then :
4413
4476
  $as_echo_n "(cached) " >&6
4414
4477
  else
4415
4478
  if test -z "$LD"; then
4416
- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4479
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4417
4480
  for ac_dir in $PATH; do
4418
- IFS="$lt_save_ifs"
4481
+ IFS=$lt_save_ifs
4419
4482
  test -z "$ac_dir" && ac_dir=.
4420
4483
  if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4421
- lt_cv_path_LD="$ac_dir/$ac_prog"
4484
+ lt_cv_path_LD=$ac_dir/$ac_prog
4422
4485
  # Check to see if the program is GNU ld. I'd rather use --version,
4423
4486
  # but apparently some variants of GNU ld only accept -v.
4424
4487
  # Break only if it was the GNU/non-GNU ld that we prefer.
4425
4488
  case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4426
4489
  *GNU* | *'with BFD'*)
4427
- test "$with_gnu_ld" != no && break
4490
+ test no != "$with_gnu_ld" && break
4428
4491
  ;;
4429
4492
  *)
4430
- test "$with_gnu_ld" != yes && break
4493
+ test yes != "$with_gnu_ld" && break
4431
4494
  ;;
4432
4495
  esac
4433
4496
  fi
4434
4497
  done
4435
- IFS="$lt_save_ifs"
4498
+ IFS=$lt_save_ifs
4436
4499
  else
4437
- lt_cv_path_LD="$LD" # Let the user override the test with a path.
4500
+ lt_cv_path_LD=$LD # Let the user override the test with a path.
4438
4501
  fi
4439
4502
  fi
4440
4503
 
4441
- LD="$lt_cv_path_LD"
4504
+ LD=$lt_cv_path_LD
4442
4505
  if test -n "$LD"; then
4443
4506
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4444
4507
  $as_echo "$LD" >&6; }
@@ -4481,33 +4544,38 @@ if ${lt_cv_path_NM+:} false; then :
4481
4544
  else
4482
4545
  if test -n "$NM"; then
4483
4546
  # Let the user override the test.
4484
- lt_cv_path_NM="$NM"
4547
+ lt_cv_path_NM=$NM
4485
4548
  else
4486
- lt_nm_to_check="${ac_tool_prefix}nm"
4549
+ lt_nm_to_check=${ac_tool_prefix}nm
4487
4550
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4488
4551
  lt_nm_to_check="$lt_nm_to_check nm"
4489
4552
  fi
4490
4553
  for lt_tmp_nm in $lt_nm_to_check; do
4491
- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4554
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4492
4555
  for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4493
- IFS="$lt_save_ifs"
4556
+ IFS=$lt_save_ifs
4494
4557
  test -z "$ac_dir" && ac_dir=.
4495
- tmp_nm="$ac_dir/$lt_tmp_nm"
4496
- if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4558
+ tmp_nm=$ac_dir/$lt_tmp_nm
4559
+ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4497
4560
  # Check to see if the nm accepts a BSD-compat flag.
4498
- # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4561
+ # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4499
4562
  # nm: unknown option "B" ignored
4500
4563
  # Tru64's nm complains that /dev/null is an invalid object file
4501
- case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4502
- */dev/null* | *'Invalid file or object type'*)
4564
+ # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4565
+ case $build_os in
4566
+ mingw*) lt_bad_file=conftest.nm/nofile ;;
4567
+ *) lt_bad_file=/dev/null ;;
4568
+ esac
4569
+ case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4570
+ *$lt_bad_file* | *'Invalid file or object type'*)
4503
4571
  lt_cv_path_NM="$tmp_nm -B"
4504
- break
4572
+ break 2
4505
4573
  ;;
4506
4574
  *)
4507
4575
  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4508
4576
  */dev/null*)
4509
4577
  lt_cv_path_NM="$tmp_nm -p"
4510
- break
4578
+ break 2
4511
4579
  ;;
4512
4580
  *)
4513
4581
  lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
@@ -4518,15 +4586,15 @@ else
4518
4586
  esac
4519
4587
  fi
4520
4588
  done
4521
- IFS="$lt_save_ifs"
4589
+ IFS=$lt_save_ifs
4522
4590
  done
4523
4591
  : ${lt_cv_path_NM=no}
4524
4592
  fi
4525
4593
  fi
4526
4594
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4527
4595
  $as_echo "$lt_cv_path_NM" >&6; }
4528
- if test "$lt_cv_path_NM" != "no"; then
4529
- NM="$lt_cv_path_NM"
4596
+ if test no != "$lt_cv_path_NM"; then
4597
+ NM=$lt_cv_path_NM
4530
4598
  else
4531
4599
  # Didn't find any BSD compatible name lister, look for dumpbin.
4532
4600
  if test -n "$DUMPBIN"; then :
@@ -4632,9 +4700,9 @@ esac
4632
4700
  fi
4633
4701
  fi
4634
4702
 
4635
- case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4703
+ case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4636
4704
  *COFF*)
4637
- DUMPBIN="$DUMPBIN -symbols"
4705
+ DUMPBIN="$DUMPBIN -symbols -headers"
4638
4706
  ;;
4639
4707
  *)
4640
4708
  DUMPBIN=:
@@ -4642,8 +4710,8 @@ fi
4642
4710
  esac
4643
4711
  fi
4644
4712
 
4645
- if test "$DUMPBIN" != ":"; then
4646
- NM="$DUMPBIN"
4713
+ if test : != "$DUMPBIN"; then
4714
+ NM=$DUMPBIN
4647
4715
  fi
4648
4716
  fi
4649
4717
  test -z "$NM" && NM=nm
@@ -4694,7 +4762,7 @@ if ${lt_cv_sys_max_cmd_len+:} false; then :
4694
4762
  $as_echo_n "(cached) " >&6
4695
4763
  else
4696
4764
  i=0
4697
- teststring="ABCD"
4765
+ teststring=ABCD
4698
4766
 
4699
4767
  case $build_os in
4700
4768
  msdosdjgpp*)
@@ -4734,7 +4802,7 @@ else
4734
4802
  lt_cv_sys_max_cmd_len=8192;
4735
4803
  ;;
4736
4804
 
4737
- netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4805
+ bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4738
4806
  # This has been around since 386BSD, at least. Likely further.
4739
4807
  if test -x /sbin/sysctl; then
4740
4808
  lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
@@ -4785,22 +4853,22 @@ else
4785
4853
  *)
4786
4854
  lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4787
4855
  if test -n "$lt_cv_sys_max_cmd_len" && \
4788
- test undefined != "$lt_cv_sys_max_cmd_len"; then
4856
+ test undefined != "$lt_cv_sys_max_cmd_len"; then
4789
4857
  lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4790
4858
  lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4791
4859
  else
4792
4860
  # Make teststring a little bigger before we do anything with it.
4793
4861
  # a 1K string should be a reasonable start.
4794
- for i in 1 2 3 4 5 6 7 8 ; do
4862
+ for i in 1 2 3 4 5 6 7 8; do
4795
4863
  teststring=$teststring$teststring
4796
4864
  done
4797
4865
  SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4798
4866
  # If test is not a shell built-in, we'll probably end up computing a
4799
4867
  # maximum length that is only half of the actual maximum length, but
4800
4868
  # we can't tell.
4801
- while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4869
+ while { test X`env echo "$teststring$teststring" 2>/dev/null` \
4802
4870
  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4803
- test $i != 17 # 1/2 MB should be enough
4871
+ test 17 != "$i" # 1/2 MB should be enough
4804
4872
  do
4805
4873
  i=`expr $i + 1`
4806
4874
  teststring=$teststring$teststring
@@ -4818,7 +4886,7 @@ else
4818
4886
 
4819
4887
  fi
4820
4888
 
4821
- if test -n $lt_cv_sys_max_cmd_len ; then
4889
+ if test -n "$lt_cv_sys_max_cmd_len"; then
4822
4890
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4823
4891
  $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4824
4892
  else
@@ -4836,30 +4904,6 @@ max_cmd_len=$lt_cv_sys_max_cmd_len
4836
4904
  : ${MV="mv -f"}
4837
4905
  : ${RM="rm -f"}
4838
4906
 
4839
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4840
- $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4841
- # Try some XSI features
4842
- xsi_shell=no
4843
- ( _lt_dummy="a/b/c"
4844
- test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4845
- = c,a/b,b/c, \
4846
- && eval 'test $(( 1 + 1 )) -eq 2 \
4847
- && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4848
- && xsi_shell=yes
4849
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4850
- $as_echo "$xsi_shell" >&6; }
4851
-
4852
-
4853
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4854
- $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4855
- lt_shell_append=no
4856
- ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4857
- >/dev/null 2>&1 \
4858
- && lt_shell_append=yes
4859
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4860
- $as_echo "$lt_shell_append" >&6; }
4861
-
4862
-
4863
4907
  if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4864
4908
  lt_unset=unset
4865
4909
  else
@@ -4982,13 +5026,13 @@ esac
4982
5026
  reload_cmds='$LD$reload_flag -o $output$reload_objs'
4983
5027
  case $host_os in
4984
5028
  cygwin* | mingw* | pw32* | cegcc*)
4985
- if test "$GCC" != yes; then
5029
+ if test yes != "$GCC"; then
4986
5030
  reload_cmds=false
4987
5031
  fi
4988
5032
  ;;
4989
5033
  darwin*)
4990
- if test "$GCC" = yes; then
4991
- reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5034
+ if test yes = "$GCC"; then
5035
+ reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
4992
5036
  else
4993
5037
  reload_cmds='$LD$reload_flag -o $output$reload_objs'
4994
5038
  fi
@@ -5116,13 +5160,13 @@ lt_cv_deplibs_check_method='unknown'
5116
5160
  # Need to set the preceding variable on all platforms that support
5117
5161
  # interlibrary dependencies.
5118
5162
  # 'none' -- dependencies not supported.
5119
- # `unknown' -- same as none, but documents that we really don't know.
5163
+ # 'unknown' -- same as none, but documents that we really don't know.
5120
5164
  # 'pass_all' -- all dependencies passed with no checks.
5121
5165
  # 'test_compile' -- check by making test program.
5122
5166
  # 'file_magic [[regex]]' -- check by looking for files in library path
5123
- # which responds to the $file_magic_cmd with a given extended regex.
5124
- # If you have `file' or equivalent on your system and you're not sure
5125
- # whether `pass_all' will *always* work, you probably want this one.
5167
+ # that responds to the $file_magic_cmd with a given extended regex.
5168
+ # If you have 'file' or equivalent on your system and you're not sure
5169
+ # whether 'pass_all' will *always* work, you probably want this one.
5126
5170
 
5127
5171
  case $host_os in
5128
5172
  aix[4-9]*)
@@ -5149,8 +5193,7 @@ mingw* | pw32*)
5149
5193
  # Base MSYS/MinGW do not provide the 'file' command needed by
5150
5194
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5151
5195
  # unless we find 'file', for example because we are cross-compiling.
5152
- # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5153
- if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5196
+ if ( file / ) >/dev/null 2>&1; then
5154
5197
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5155
5198
  lt_cv_file_magic_cmd='func_win32_libid'
5156
5199
  else
@@ -5246,8 +5289,8 @@ newos6*)
5246
5289
  lt_cv_deplibs_check_method=pass_all
5247
5290
  ;;
5248
5291
 
5249
- openbsd*)
5250
- if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5292
+ openbsd* | bitrig*)
5293
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5251
5294
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5252
5295
  else
5253
5296
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
@@ -5300,6 +5343,9 @@ sysv4 | sysv4.3*)
5300
5343
  tpf*)
5301
5344
  lt_cv_deplibs_check_method=pass_all
5302
5345
  ;;
5346
+ os2*)
5347
+ lt_cv_deplibs_check_method=pass_all
5348
+ ;;
5303
5349
  esac
5304
5350
 
5305
5351
  fi
@@ -5457,8 +5503,8 @@ else
5457
5503
 
5458
5504
  case $host_os in
5459
5505
  cygwin* | mingw* | pw32* | cegcc*)
5460
- # two different shell functions defined in ltmain.sh
5461
- # decide which to use based on capabilities of $DLLTOOL
5506
+ # two different shell functions defined in ltmain.sh;
5507
+ # decide which one to use based on capabilities of $DLLTOOL
5462
5508
  case `$DLLTOOL --help 2>&1` in
5463
5509
  *--identify-strict*)
5464
5510
  lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
@@ -5470,7 +5516,7 @@ cygwin* | mingw* | pw32* | cegcc*)
5470
5516
  ;;
5471
5517
  *)
5472
5518
  # fallback: assume linklib IS sharedlib
5473
- lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5519
+ lt_cv_sharedlib_from_linklib_cmd=$ECHO
5474
5520
  ;;
5475
5521
  esac
5476
5522
 
@@ -5625,7 +5671,7 @@ if ac_fn_c_try_compile "$LINENO"; then :
5625
5671
  ac_status=$?
5626
5672
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5627
5673
  test $ac_status = 0; }
5628
- if test "$ac_status" -eq 0; then
5674
+ if test 0 -eq "$ac_status"; then
5629
5675
  # Ensure the archiver fails upon bogus file names.
5630
5676
  rm -f conftest.$ac_objext libconftest.a
5631
5677
  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
@@ -5633,7 +5679,7 @@ if ac_fn_c_try_compile "$LINENO"; then :
5633
5679
  ac_status=$?
5634
5680
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5635
5681
  test $ac_status = 0; }
5636
- if test "$ac_status" -ne 0; then
5682
+ if test 0 -ne "$ac_status"; then
5637
5683
  lt_cv_ar_at_file=@
5638
5684
  fi
5639
5685
  fi
@@ -5646,7 +5692,7 @@ fi
5646
5692
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5647
5693
  $as_echo "$lt_cv_ar_at_file" >&6; }
5648
5694
 
5649
- if test "x$lt_cv_ar_at_file" = xno; then
5695
+ if test no = "$lt_cv_ar_at_file"; then
5650
5696
  archiver_list_spec=
5651
5697
  else
5652
5698
  archiver_list_spec=$lt_cv_ar_at_file
@@ -5863,7 +5909,7 @@ old_postuninstall_cmds=
5863
5909
 
5864
5910
  if test -n "$RANLIB"; then
5865
5911
  case $host_os in
5866
- openbsd*)
5912
+ bitrig* | openbsd*)
5867
5913
  old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5868
5914
  ;;
5869
5915
  *)
@@ -5953,7 +5999,7 @@ cygwin* | mingw* | pw32* | cegcc*)
5953
5999
  symcode='[ABCDGISTW]'
5954
6000
  ;;
5955
6001
  hpux*)
5956
- if test "$host_cpu" = ia64; then
6002
+ if test ia64 = "$host_cpu"; then
5957
6003
  symcode='[ABCDEGRST]'
5958
6004
  fi
5959
6005
  ;;
@@ -5986,14 +6032,44 @@ case `$NM -V 2>&1` in
5986
6032
  symcode='[ABCDGIRSTW]' ;;
5987
6033
  esac
5988
6034
 
6035
+ if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6036
+ # Gets list of data symbols to import.
6037
+ lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6038
+ # Adjust the below global symbol transforms to fixup imported variables.
6039
+ lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6040
+ lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6041
+ lt_c_name_lib_hook="\
6042
+ -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6043
+ -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6044
+ else
6045
+ # Disable hooks by default.
6046
+ lt_cv_sys_global_symbol_to_import=
6047
+ lt_cdecl_hook=
6048
+ lt_c_name_hook=
6049
+ lt_c_name_lib_hook=
6050
+ fi
6051
+
5989
6052
  # Transform an extracted symbol line into a proper C declaration.
5990
6053
  # Some systems (esp. on ia64) link data and code symbols differently,
5991
6054
  # so use this general approach.
5992
- lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6055
+ lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6056
+ $lt_cdecl_hook\
6057
+ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6058
+ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
5993
6059
 
5994
6060
  # Transform an extracted symbol line into symbol name and symbol address
5995
- lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5996
- lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6061
+ lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6062
+ $lt_c_name_hook\
6063
+ " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6064
+ " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6065
+
6066
+ # Transform an extracted symbol line into symbol name with lib prefix and
6067
+ # symbol address.
6068
+ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6069
+ $lt_c_name_lib_hook\
6070
+ " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6071
+ " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6072
+ " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
5997
6073
 
5998
6074
  # Handle CRLF in mingw tool chain
5999
6075
  opt_cr=
@@ -6011,21 +6087,24 @@ for ac_symprfx in "" "_"; do
6011
6087
 
6012
6088
  # Write the raw and C identifiers.
6013
6089
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6014
- # Fake it for dumpbin and say T for any non-static function
6015
- # and D for any global variable.
6090
+ # Fake it for dumpbin and say T for any non-static function,
6091
+ # D for any global variable and I for any imported variable.
6016
6092
  # Also find C++ and __fastcall symbols from MSVC++,
6017
6093
  # which start with @ or ?.
6018
6094
  lt_cv_sys_global_symbol_pipe="$AWK '"\
6019
6095
  " {last_section=section; section=\$ 3};"\
6020
6096
  " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6021
6097
  " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6098
+ " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6099
+ " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6100
+ " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6022
6101
  " \$ 0!~/External *\|/{next};"\
6023
6102
  " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6024
6103
  " {if(hide[section]) next};"\
6025
- " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6026
- " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6027
- " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6028
- " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6104
+ " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6105
+ " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6106
+ " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6107
+ " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6029
6108
  " ' prfx=^$ac_symprfx"
6030
6109
  else
6031
6110
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
@@ -6056,11 +6135,8 @@ _LT_EOF
6056
6135
  test $ac_status = 0; }; then
6057
6136
  # Now try to grab the symbols.
6058
6137
  nlist=conftest.nm
6059
- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6060
- (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6061
- ac_status=$?
6062
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6063
- test $ac_status = 0; } && test -s "$nlist"; then
6138
+ $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
6139
+ if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
6064
6140
  # Try sorting and uniquifying the output.
6065
6141
  if sort "$nlist" | uniq > "$nlist"T; then
6066
6142
  mv -f "$nlist"T "$nlist"
@@ -6073,11 +6149,11 @@ _LT_EOF
6073
6149
  if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6074
6150
  cat <<_LT_EOF > conftest.$ac_ext
6075
6151
  /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6076
- #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6077
- /* DATA imports from DLLs on WIN32 con't be const, because runtime
6152
+ #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6153
+ /* DATA imports from DLLs on WIN32 can't be const, because runtime
6078
6154
  relocations are performed -- see ld's documentation on pseudo-relocs. */
6079
6155
  # define LT_DLSYM_CONST
6080
- #elif defined(__osf__)
6156
+ #elif defined __osf__
6081
6157
  /* This system does not cope well with relocations in const data. */
6082
6158
  # define LT_DLSYM_CONST
6083
6159
  #else
@@ -6103,7 +6179,7 @@ lt__PROGRAM__LTX_preloaded_symbols[] =
6103
6179
  {
6104
6180
  { "@PROGRAM@", (void *) 0 },
6105
6181
  _LT_EOF
6106
- $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6182
+ $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6107
6183
  cat <<\_LT_EOF >> conftest.$ac_ext
6108
6184
  {0, (void *) 0}
6109
6185
  };
@@ -6123,13 +6199,13 @@ _LT_EOF
6123
6199
  mv conftest.$ac_objext conftstm.$ac_objext
6124
6200
  lt_globsym_save_LIBS=$LIBS
6125
6201
  lt_globsym_save_CFLAGS=$CFLAGS
6126
- LIBS="conftstm.$ac_objext"
6202
+ LIBS=conftstm.$ac_objext
6127
6203
  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6128
6204
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6129
6205
  (eval $ac_link) 2>&5
6130
6206
  ac_status=$?
6131
6207
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6132
- test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6208
+ test $ac_status = 0; } && test -s conftest$ac_exeext; then
6133
6209
  pipe_works=yes
6134
6210
  fi
6135
6211
  LIBS=$lt_globsym_save_LIBS
@@ -6150,7 +6226,7 @@ _LT_EOF
6150
6226
  rm -rf conftest* conftst*
6151
6227
 
6152
6228
  # Do not use the global_symbol_pipe unless it works.
6153
- if test "$pipe_works" = yes; then
6229
+ if test yes = "$pipe_works"; then
6154
6230
  break
6155
6231
  else
6156
6232
  lt_cv_sys_global_symbol_pipe=
@@ -6192,6 +6268,16 @@ fi
6192
6268
 
6193
6269
 
6194
6270
 
6271
+
6272
+
6273
+
6274
+
6275
+
6276
+
6277
+
6278
+
6279
+
6280
+
6195
6281
 
6196
6282
 
6197
6283
 
@@ -6215,9 +6301,9 @@ fi
6215
6301
 
6216
6302
 
6217
6303
  lt_sysroot=
6218
- case ${with_sysroot} in #(
6304
+ case $with_sysroot in #(
6219
6305
  yes)
6220
- if test "$GCC" = yes; then
6306
+ if test yes = "$GCC"; then
6221
6307
  lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6222
6308
  fi
6223
6309
  ;; #(
@@ -6227,8 +6313,8 @@ case ${with_sysroot} in #(
6227
6313
  no|'')
6228
6314
  ;; #(
6229
6315
  *)
6230
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6231
- $as_echo "${with_sysroot}" >&6; }
6316
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6317
+ $as_echo "$with_sysroot" >&6; }
6232
6318
  as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6233
6319
  ;;
6234
6320
  esac
@@ -6240,18 +6326,99 @@ $as_echo "${lt_sysroot:-no}" >&6; }
6240
6326
 
6241
6327
 
6242
6328
 
6329
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6330
+ $as_echo_n "checking for a working dd... " >&6; }
6331
+ if ${ac_cv_path_lt_DD+:} false; then :
6332
+ $as_echo_n "(cached) " >&6
6333
+ else
6334
+ printf 0123456789abcdef0123456789abcdef >conftest.i
6335
+ cat conftest.i conftest.i >conftest2.i
6336
+ : ${lt_DD:=$DD}
6337
+ if test -z "$lt_DD"; then
6338
+ ac_path_lt_DD_found=false
6339
+ # Loop through the user's path and test for each of PROGNAME-LIST
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_prog in dd; do
6346
+ for ac_exec_ext in '' $ac_executable_extensions; do
6347
+ ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6348
+ as_fn_executable_p "$ac_path_lt_DD" || continue
6349
+ if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6350
+ cmp -s conftest.i conftest.out \
6351
+ && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6352
+ fi
6353
+ $ac_path_lt_DD_found && break 3
6354
+ done
6355
+ done
6356
+ done
6357
+ IFS=$as_save_IFS
6358
+ if test -z "$ac_cv_path_lt_DD"; then
6359
+ :
6360
+ fi
6361
+ else
6362
+ ac_cv_path_lt_DD=$lt_DD
6363
+ fi
6364
+
6365
+ rm -f conftest.i conftest2.i conftest.out
6366
+ fi
6367
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6368
+ $as_echo "$ac_cv_path_lt_DD" >&6; }
6369
+
6370
+
6371
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6372
+ $as_echo_n "checking how to truncate binary pipes... " >&6; }
6373
+ if ${lt_cv_truncate_bin+:} false; then :
6374
+ $as_echo_n "(cached) " >&6
6375
+ else
6376
+ printf 0123456789abcdef0123456789abcdef >conftest.i
6377
+ cat conftest.i conftest.i >conftest2.i
6378
+ lt_cv_truncate_bin=
6379
+ if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6380
+ cmp -s conftest.i conftest.out \
6381
+ && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6382
+ fi
6383
+ rm -f conftest.i conftest2.i conftest.out
6384
+ test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6385
+ fi
6386
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6387
+ $as_echo "$lt_cv_truncate_bin" >&6; }
6388
+
6389
+
6390
+
6391
+
6392
+
6393
+
6394
+
6395
+ # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
6396
+ func_cc_basename ()
6397
+ {
6398
+ for cc_temp in $*""; do
6399
+ case $cc_temp in
6400
+ compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6401
+ distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6402
+ \-*) ;;
6403
+ *) break;;
6404
+ esac
6405
+ done
6406
+ func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6407
+ }
6408
+
6243
6409
  # Check whether --enable-libtool-lock was given.
6244
6410
  if test "${enable_libtool_lock+set}" = set; then :
6245
6411
  enableval=$enable_libtool_lock;
6246
6412
  fi
6247
6413
 
6248
- test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6414
+ test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6249
6415
 
6250
6416
  # Some flags need to be propagated to the compiler or linker for good
6251
6417
  # libtool support.
6252
6418
  case $host in
6253
6419
  ia64-*-hpux*)
6254
- # Find out which ABI we are using.
6420
+ # Find out what ABI is being produced by ac_compile, and set mode
6421
+ # options accordingly.
6255
6422
  echo 'int i;' > conftest.$ac_ext
6256
6423
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6257
6424
  (eval $ac_compile) 2>&5
@@ -6260,24 +6427,25 @@ ia64-*-hpux*)
6260
6427
  test $ac_status = 0; }; then
6261
6428
  case `/usr/bin/file conftest.$ac_objext` in
6262
6429
  *ELF-32*)
6263
- HPUX_IA64_MODE="32"
6430
+ HPUX_IA64_MODE=32
6264
6431
  ;;
6265
6432
  *ELF-64*)
6266
- HPUX_IA64_MODE="64"
6433
+ HPUX_IA64_MODE=64
6267
6434
  ;;
6268
6435
  esac
6269
6436
  fi
6270
6437
  rm -rf conftest*
6271
6438
  ;;
6272
6439
  *-*-irix6*)
6273
- # Find out which ABI we are using.
6440
+ # Find out what ABI is being produced by ac_compile, and set linker
6441
+ # options accordingly.
6274
6442
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6275
6443
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6276
6444
  (eval $ac_compile) 2>&5
6277
6445
  ac_status=$?
6278
6446
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6279
6447
  test $ac_status = 0; }; then
6280
- if test "$lt_cv_prog_gnu_ld" = yes; then
6448
+ if test yes = "$lt_cv_prog_gnu_ld"; then
6281
6449
  case `/usr/bin/file conftest.$ac_objext` in
6282
6450
  *32-bit*)
6283
6451
  LD="${LD-ld} -melf32bsmip"
@@ -6306,9 +6474,50 @@ ia64-*-hpux*)
6306
6474
  rm -rf conftest*
6307
6475
  ;;
6308
6476
 
6477
+ mips64*-*linux*)
6478
+ # Find out what ABI is being produced by ac_compile, and set linker
6479
+ # options accordingly.
6480
+ echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6481
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6482
+ (eval $ac_compile) 2>&5
6483
+ ac_status=$?
6484
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6485
+ test $ac_status = 0; }; then
6486
+ emul=elf
6487
+ case `/usr/bin/file conftest.$ac_objext` in
6488
+ *32-bit*)
6489
+ emul="${emul}32"
6490
+ ;;
6491
+ *64-bit*)
6492
+ emul="${emul}64"
6493
+ ;;
6494
+ esac
6495
+ case `/usr/bin/file conftest.$ac_objext` in
6496
+ *MSB*)
6497
+ emul="${emul}btsmip"
6498
+ ;;
6499
+ *LSB*)
6500
+ emul="${emul}ltsmip"
6501
+ ;;
6502
+ esac
6503
+ case `/usr/bin/file conftest.$ac_objext` in
6504
+ *N32*)
6505
+ emul="${emul}n32"
6506
+ ;;
6507
+ esac
6508
+ LD="${LD-ld} -m $emul"
6509
+ fi
6510
+ rm -rf conftest*
6511
+ ;;
6512
+
6309
6513
  x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6310
6514
  s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6311
- # Find out which ABI we are using.
6515
+ # Find out what ABI is being produced by ac_compile, and set linker
6516
+ # options accordingly. Note that the listed cases only cover the
6517
+ # situations where additional linker options are needed (such as when
6518
+ # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6519
+ # vice versa); the common cases where no linker options are needed do
6520
+ # not appear in the list.
6312
6521
  echo 'int i;' > conftest.$ac_ext
6313
6522
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6314
6523
  (eval $ac_compile) 2>&5
@@ -6331,10 +6540,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6331
6540
  ;;
6332
6541
  esac
6333
6542
  ;;
6334
- powerpc64le-*)
6543
+ powerpc64le-*linux*)
6335
6544
  LD="${LD-ld} -m elf32lppclinux"
6336
6545
  ;;
6337
- powerpc64-*)
6546
+ powerpc64-*linux*)
6338
6547
  LD="${LD-ld} -m elf32ppclinux"
6339
6548
  ;;
6340
6549
  s390x-*linux*)
@@ -6353,10 +6562,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6353
6562
  x86_64-*linux*)
6354
6563
  LD="${LD-ld} -m elf_x86_64"
6355
6564
  ;;
6356
- powerpcle-*)
6565
+ powerpcle-*linux*)
6357
6566
  LD="${LD-ld} -m elf64lppc"
6358
6567
  ;;
6359
- powerpc-*)
6568
+ powerpc-*linux*)
6360
6569
  LD="${LD-ld} -m elf64ppc"
6361
6570
  ;;
6362
6571
  s390*-*linux*|s390*-*tpf*)
@@ -6374,7 +6583,7 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6374
6583
 
6375
6584
  *-*-sco3.2v5*)
6376
6585
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6377
- SAVE_CFLAGS="$CFLAGS"
6586
+ SAVE_CFLAGS=$CFLAGS
6378
6587
  CFLAGS="$CFLAGS -belf"
6379
6588
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6380
6589
  $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
@@ -6414,13 +6623,14 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
6414
6623
  fi
6415
6624
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6416
6625
  $as_echo "$lt_cv_cc_needs_belf" >&6; }
6417
- if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6626
+ if test yes != "$lt_cv_cc_needs_belf"; then
6418
6627
  # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6419
- CFLAGS="$SAVE_CFLAGS"
6628
+ CFLAGS=$SAVE_CFLAGS
6420
6629
  fi
6421
6630
  ;;
6422
6631
  *-*solaris*)
6423
- # Find out which ABI we are using.
6632
+ # Find out what ABI is being produced by ac_compile, and set linker
6633
+ # options accordingly.
6424
6634
  echo 'int i;' > conftest.$ac_ext
6425
6635
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6426
6636
  (eval $ac_compile) 2>&5
@@ -6432,7 +6642,7 @@ $as_echo "$lt_cv_cc_needs_belf" >&6; }
6432
6642
  case $lt_cv_prog_gnu_ld in
6433
6643
  yes*)
6434
6644
  case $host in
6435
- i?86-*-solaris*)
6645
+ i?86-*-solaris*|x86_64-*-solaris*)
6436
6646
  LD="${LD-ld} -m elf_x86_64"
6437
6647
  ;;
6438
6648
  sparc*-*-solaris*)
@@ -6441,7 +6651,7 @@ $as_echo "$lt_cv_cc_needs_belf" >&6; }
6441
6651
  esac
6442
6652
  # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6443
6653
  if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6444
- LD="${LD-ld}_sol2"
6654
+ LD=${LD-ld}_sol2
6445
6655
  fi
6446
6656
  ;;
6447
6657
  *)
@@ -6457,7 +6667,7 @@ $as_echo "$lt_cv_cc_needs_belf" >&6; }
6457
6667
  ;;
6458
6668
  esac
6459
6669
 
6460
- need_locks="$enable_libtool_lock"
6670
+ need_locks=$enable_libtool_lock
6461
6671
 
6462
6672
  if test -n "$ac_tool_prefix"; then
6463
6673
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
@@ -6568,7 +6778,7 @@ else
6568
6778
  fi
6569
6779
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6570
6780
  $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6571
- if test "x$lt_cv_path_mainfest_tool" != xyes; then
6781
+ if test yes != "$lt_cv_path_mainfest_tool"; then
6572
6782
  MANIFEST_TOOL=:
6573
6783
  fi
6574
6784
 
@@ -7071,7 +7281,7 @@ if ${lt_cv_apple_cc_single_mod+:} false; then :
7071
7281
  $as_echo_n "(cached) " >&6
7072
7282
  else
7073
7283
  lt_cv_apple_cc_single_mod=no
7074
- if test -z "${LT_MULTI_MODULE}"; then
7284
+ if test -z "$LT_MULTI_MODULE"; then
7075
7285
  # By default we will add the -single_module flag. You can override
7076
7286
  # by either setting the environment variable LT_MULTI_MODULE
7077
7287
  # non-empty at configure time, or by adding -multi_module to the
@@ -7089,7 +7299,7 @@ else
7089
7299
  cat conftest.err >&5
7090
7300
  # Otherwise, if the output was created with a 0 exit code from
7091
7301
  # the compiler, it worked.
7092
- elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7302
+ elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7093
7303
  lt_cv_apple_cc_single_mod=yes
7094
7304
  else
7095
7305
  cat conftest.err >&5
@@ -7128,7 +7338,7 @@ else
7128
7338
  fi
7129
7339
  rm -f core conftest.err conftest.$ac_objext \
7130
7340
  conftest$ac_exeext conftest.$ac_ext
7131
- LDFLAGS="$save_LDFLAGS"
7341
+ LDFLAGS=$save_LDFLAGS
7132
7342
 
7133
7343
  fi
7134
7344
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
@@ -7157,7 +7367,7 @@ _LT_EOF
7157
7367
  _lt_result=$?
7158
7368
  if test -s conftest.err && $GREP force_load conftest.err; then
7159
7369
  cat conftest.err >&5
7160
- elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7370
+ elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7161
7371
  lt_cv_ld_force_load=yes
7162
7372
  else
7163
7373
  cat conftest.err >&5
@@ -7170,32 +7380,32 @@ fi
7170
7380
  $as_echo "$lt_cv_ld_force_load" >&6; }
7171
7381
  case $host_os in
7172
7382
  rhapsody* | darwin1.[012])
7173
- _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7383
+ _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7174
7384
  darwin1.*)
7175
- _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7385
+ _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7176
7386
  darwin*) # darwin 5.x on
7177
7387
  # if running on 10.5 or later, the deployment target defaults
7178
7388
  # to the OS version, if on x86, and 10.4, the deployment
7179
7389
  # target defaults to 10.4. Don't you love it?
7180
7390
  case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7181
7391
  10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7182
- _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7183
- 10.[012]*)
7184
- _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7392
+ _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7393
+ 10.[012][,.]*)
7394
+ _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7185
7395
  10.*)
7186
- _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7396
+ _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7187
7397
  esac
7188
7398
  ;;
7189
7399
  esac
7190
- if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7400
+ if test yes = "$lt_cv_apple_cc_single_mod"; then
7191
7401
  _lt_dar_single_mod='$single_module'
7192
7402
  fi
7193
- if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7194
- _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7403
+ if test yes = "$lt_cv_ld_exported_symbols_list"; then
7404
+ _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7195
7405
  else
7196
- _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7406
+ _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7197
7407
  fi
7198
- if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7408
+ if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7199
7409
  _lt_dsymutil='~$DSYMUTIL $lib || :'
7200
7410
  else
7201
7411
  _lt_dsymutil=
@@ -7203,6 +7413,41 @@ $as_echo "$lt_cv_ld_force_load" >&6; }
7203
7413
  ;;
7204
7414
  esac
7205
7415
 
7416
+ # func_munge_path_list VARIABLE PATH
7417
+ # -----------------------------------
7418
+ # VARIABLE is name of variable containing _space_ separated list of
7419
+ # directories to be munged by the contents of PATH, which is string
7420
+ # having a format:
7421
+ # "DIR[:DIR]:"
7422
+ # string "DIR[ DIR]" will be prepended to VARIABLE
7423
+ # ":DIR[:DIR]"
7424
+ # string "DIR[ DIR]" will be appended to VARIABLE
7425
+ # "DIRP[:DIRP]::[DIRA:]DIRA"
7426
+ # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7427
+ # "DIRA[ DIRA]" will be appended to VARIABLE
7428
+ # "DIR[:DIR]"
7429
+ # VARIABLE will be replaced by "DIR[ DIR]"
7430
+ func_munge_path_list ()
7431
+ {
7432
+ case x$2 in
7433
+ x)
7434
+ ;;
7435
+ *:)
7436
+ eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7437
+ ;;
7438
+ x:*)
7439
+ eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7440
+ ;;
7441
+ *::*)
7442
+ eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7443
+ eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7444
+ ;;
7445
+ *)
7446
+ eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7447
+ ;;
7448
+ esac
7449
+ }
7450
+
7206
7451
  ac_ext=c
7207
7452
  ac_cpp='$CPP $CPPFLAGS'
7208
7453
  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -7506,14 +7751,14 @@ if test "${enable_shared+set}" = set; then :
7506
7751
  *)
7507
7752
  enable_shared=no
7508
7753
  # Look at the argument we got. We use all the common list separators.
7509
- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7754
+ lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7510
7755
  for pkg in $enableval; do
7511
- IFS="$lt_save_ifs"
7756
+ IFS=$lt_save_ifs
7512
7757
  if test "X$pkg" = "X$p"; then
7513
7758
  enable_shared=yes
7514
7759
  fi
7515
7760
  done
7516
- IFS="$lt_save_ifs"
7761
+ IFS=$lt_save_ifs
7517
7762
  ;;
7518
7763
  esac
7519
7764
  else
@@ -7537,14 +7782,14 @@ if test "${enable_static+set}" = set; then :
7537
7782
  *)
7538
7783
  enable_static=no
7539
7784
  # Look at the argument we got. We use all the common list separators.
7540
- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7785
+ lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7541
7786
  for pkg in $enableval; do
7542
- IFS="$lt_save_ifs"
7787
+ IFS=$lt_save_ifs
7543
7788
  if test "X$pkg" = "X$p"; then
7544
7789
  enable_static=yes
7545
7790
  fi
7546
7791
  done
7547
- IFS="$lt_save_ifs"
7792
+ IFS=$lt_save_ifs
7548
7793
  ;;
7549
7794
  esac
7550
7795
  else
@@ -7568,14 +7813,14 @@ if test "${with_pic+set}" = set; then :
7568
7813
  *)
7569
7814
  pic_mode=default
7570
7815
  # Look at the argument we got. We use all the common list separators.
7571
- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7816
+ lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7572
7817
  for lt_pkg in $withval; do
7573
- IFS="$lt_save_ifs"
7818
+ IFS=$lt_save_ifs
7574
7819
  if test "X$lt_pkg" = "X$lt_p"; then
7575
7820
  pic_mode=yes
7576
7821
  fi
7577
7822
  done
7578
- IFS="$lt_save_ifs"
7823
+ IFS=$lt_save_ifs
7579
7824
  ;;
7580
7825
  esac
7581
7826
  else
@@ -7583,8 +7828,6 @@ else
7583
7828
  fi
7584
7829
 
7585
7830
 
7586
- test -z "$pic_mode" && pic_mode=default
7587
-
7588
7831
 
7589
7832
 
7590
7833
 
@@ -7600,14 +7843,14 @@ if test "${enable_fast_install+set}" = set; then :
7600
7843
  *)
7601
7844
  enable_fast_install=no
7602
7845
  # Look at the argument we got. We use all the common list separators.
7603
- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7846
+ lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7604
7847
  for pkg in $enableval; do
7605
- IFS="$lt_save_ifs"
7848
+ IFS=$lt_save_ifs
7606
7849
  if test "X$pkg" = "X$p"; then
7607
7850
  enable_fast_install=yes
7608
7851
  fi
7609
7852
  done
7610
- IFS="$lt_save_ifs"
7853
+ IFS=$lt_save_ifs
7611
7854
  ;;
7612
7855
  esac
7613
7856
  else
@@ -7621,11 +7864,63 @@ fi
7621
7864
 
7622
7865
 
7623
7866
 
7867
+ shared_archive_member_spec=
7868
+ case $host,$enable_shared in
7869
+ power*-*-aix[5-9]*,yes)
7870
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7871
+ $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7872
+
7873
+ # Check whether --with-aix-soname was given.
7874
+ if test "${with_aix_soname+set}" = set; then :
7875
+ withval=$with_aix_soname; case $withval in
7876
+ aix|svr4|both)
7877
+ ;;
7878
+ *)
7879
+ as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
7880
+ ;;
7881
+ esac
7882
+ lt_cv_with_aix_soname=$with_aix_soname
7883
+ else
7884
+ if ${lt_cv_with_aix_soname+:} false; then :
7885
+ $as_echo_n "(cached) " >&6
7886
+ else
7887
+ lt_cv_with_aix_soname=aix
7888
+ fi
7889
+
7890
+ with_aix_soname=$lt_cv_with_aix_soname
7891
+ fi
7892
+
7893
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7894
+ $as_echo "$with_aix_soname" >&6; }
7895
+ if test aix != "$with_aix_soname"; then
7896
+ # For the AIX way of multilib, we name the shared archive member
7897
+ # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
7898
+ # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
7899
+ # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
7900
+ # the AIX toolchain works better with OBJECT_MODE set (default 32).
7901
+ if test 64 = "${OBJECT_MODE-32}"; then
7902
+ shared_archive_member_spec=shr_64
7903
+ else
7904
+ shared_archive_member_spec=shr
7905
+ fi
7906
+ fi
7907
+ ;;
7908
+ *)
7909
+ with_aix_soname=aix
7910
+ ;;
7911
+ esac
7912
+
7913
+
7914
+
7915
+
7916
+
7917
+
7918
+
7624
7919
 
7625
7920
 
7626
7921
 
7627
7922
  # This can be used to rebuild libtool when needed
7628
- LIBTOOL_DEPS="$ltmain"
7923
+ LIBTOOL_DEPS=$ltmain
7629
7924
 
7630
7925
  # Always use our own libtool.
7631
7926
  LIBTOOL='$(SHELL) $(top_builddir)/libtool'
@@ -7674,7 +7969,7 @@ test -z "$LN_S" && LN_S="ln -s"
7674
7969
 
7675
7970
 
7676
7971
 
7677
- if test -n "${ZSH_VERSION+set}" ; then
7972
+ if test -n "${ZSH_VERSION+set}"; then
7678
7973
  setopt NO_GLOB_SUBST
7679
7974
  fi
7680
7975
 
@@ -7713,7 +8008,7 @@ aix3*)
7713
8008
  # AIX sometimes has problems with the GCC collect2 program. For some
7714
8009
  # reason, if we set the COLLECT_NAMES environment variable, the problems
7715
8010
  # vanish in a puff of smoke.
7716
- if test "X${COLLECT_NAMES+set}" != Xset; then
8011
+ if test set != "${COLLECT_NAMES+set}"; then
7717
8012
  COLLECT_NAMES=
7718
8013
  export COLLECT_NAMES
7719
8014
  fi
@@ -7724,14 +8019,14 @@ esac
7724
8019
  ofile=libtool
7725
8020
  can_build_shared=yes
7726
8021
 
7727
- # All known linkers require a `.a' archive for static linking (except MSVC,
8022
+ # All known linkers require a '.a' archive for static linking (except MSVC,
7728
8023
  # which needs '.lib').
7729
8024
  libext=a
7730
8025
 
7731
- with_gnu_ld="$lt_cv_prog_gnu_ld"
8026
+ with_gnu_ld=$lt_cv_prog_gnu_ld
7732
8027
 
7733
- old_CC="$CC"
7734
- old_CFLAGS="$CFLAGS"
8028
+ old_CC=$CC
8029
+ old_CFLAGS=$CFLAGS
7735
8030
 
7736
8031
  # Set sane defaults for various variables
7737
8032
  test -z "$CC" && CC=cc
@@ -7740,15 +8035,8 @@ test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7740
8035
  test -z "$LD" && LD=ld
7741
8036
  test -z "$ac_objext" && ac_objext=o
7742
8037
 
7743
- for cc_temp in $compiler""; do
7744
- case $cc_temp in
7745
- compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7746
- distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7747
- \-*) ;;
7748
- *) break;;
7749
- esac
7750
- done
7751
- cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8038
+ func_cc_basename $compiler
8039
+ cc_basename=$func_cc_basename_result
7752
8040
 
7753
8041
 
7754
8042
  # Only perform the check for file, if the check method requires it
@@ -7763,22 +8051,22 @@ if ${lt_cv_path_MAGIC_CMD+:} false; then :
7763
8051
  else
7764
8052
  case $MAGIC_CMD in
7765
8053
  [\\/*] | ?:[\\/]*)
7766
- lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8054
+ lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
7767
8055
  ;;
7768
8056
  *)
7769
- lt_save_MAGIC_CMD="$MAGIC_CMD"
7770
- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8057
+ lt_save_MAGIC_CMD=$MAGIC_CMD
8058
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
7771
8059
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7772
8060
  for ac_dir in $ac_dummy; do
7773
- IFS="$lt_save_ifs"
8061
+ IFS=$lt_save_ifs
7774
8062
  test -z "$ac_dir" && ac_dir=.
7775
- if test -f $ac_dir/${ac_tool_prefix}file; then
7776
- lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8063
+ if test -f "$ac_dir/${ac_tool_prefix}file"; then
8064
+ lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
7777
8065
  if test -n "$file_magic_test_file"; then
7778
8066
  case $deplibs_check_method in
7779
8067
  "file_magic "*)
7780
8068
  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7781
- MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8069
+ MAGIC_CMD=$lt_cv_path_MAGIC_CMD
7782
8070
  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7783
8071
  $EGREP "$file_magic_regex" > /dev/null; then
7784
8072
  :
@@ -7801,13 +8089,13 @@ _LT_EOF
7801
8089
  break
7802
8090
  fi
7803
8091
  done
7804
- IFS="$lt_save_ifs"
7805
- MAGIC_CMD="$lt_save_MAGIC_CMD"
8092
+ IFS=$lt_save_ifs
8093
+ MAGIC_CMD=$lt_save_MAGIC_CMD
7806
8094
  ;;
7807
8095
  esac
7808
8096
  fi
7809
8097
 
7810
- MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8098
+ MAGIC_CMD=$lt_cv_path_MAGIC_CMD
7811
8099
  if test -n "$MAGIC_CMD"; then
7812
8100
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7813
8101
  $as_echo "$MAGIC_CMD" >&6; }
@@ -7829,22 +8117,22 @@ if ${lt_cv_path_MAGIC_CMD+:} false; then :
7829
8117
  else
7830
8118
  case $MAGIC_CMD in
7831
8119
  [\\/*] | ?:[\\/]*)
7832
- lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8120
+ lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
7833
8121
  ;;
7834
8122
  *)
7835
- lt_save_MAGIC_CMD="$MAGIC_CMD"
7836
- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8123
+ lt_save_MAGIC_CMD=$MAGIC_CMD
8124
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
7837
8125
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7838
8126
  for ac_dir in $ac_dummy; do
7839
- IFS="$lt_save_ifs"
8127
+ IFS=$lt_save_ifs
7840
8128
  test -z "$ac_dir" && ac_dir=.
7841
- if test -f $ac_dir/file; then
7842
- lt_cv_path_MAGIC_CMD="$ac_dir/file"
8129
+ if test -f "$ac_dir/file"; then
8130
+ lt_cv_path_MAGIC_CMD=$ac_dir/"file"
7843
8131
  if test -n "$file_magic_test_file"; then
7844
8132
  case $deplibs_check_method in
7845
8133
  "file_magic "*)
7846
8134
  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7847
- MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8135
+ MAGIC_CMD=$lt_cv_path_MAGIC_CMD
7848
8136
  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7849
8137
  $EGREP "$file_magic_regex" > /dev/null; then
7850
8138
  :
@@ -7867,13 +8155,13 @@ _LT_EOF
7867
8155
  break
7868
8156
  fi
7869
8157
  done
7870
- IFS="$lt_save_ifs"
7871
- MAGIC_CMD="$lt_save_MAGIC_CMD"
8158
+ IFS=$lt_save_ifs
8159
+ MAGIC_CMD=$lt_save_MAGIC_CMD
7872
8160
  ;;
7873
8161
  esac
7874
8162
  fi
7875
8163
 
7876
- MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8164
+ MAGIC_CMD=$lt_cv_path_MAGIC_CMD
7877
8165
  if test -n "$MAGIC_CMD"; then
7878
8166
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7879
8167
  $as_echo "$MAGIC_CMD" >&6; }
@@ -7894,7 +8182,7 @@ esac
7894
8182
 
7895
8183
  # Use C for the default configuration in the libtool script
7896
8184
 
7897
- lt_save_CC="$CC"
8185
+ lt_save_CC=$CC
7898
8186
  ac_ext=c
7899
8187
  ac_cpp='$CPP $CPPFLAGS'
7900
8188
  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -7952,7 +8240,7 @@ if test -n "$compiler"; then
7952
8240
 
7953
8241
  lt_prog_compiler_no_builtin_flag=
7954
8242
 
7955
- if test "$GCC" = yes; then
8243
+ if test yes = "$GCC"; then
7956
8244
  case $cc_basename in
7957
8245
  nvcc*)
7958
8246
  lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
@@ -7968,7 +8256,7 @@ else
7968
8256
  lt_cv_prog_compiler_rtti_exceptions=no
7969
8257
  ac_outfile=conftest.$ac_objext
7970
8258
  echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7971
- lt_compiler_flag="-fno-rtti -fno-exceptions"
8259
+ lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
7972
8260
  # Insert the option either (1) after the last *FLAGS variable, or
7973
8261
  # (2) before a word containing "conftest.", or (3) at the end.
7974
8262
  # Note that $ac_compile itself does not contain backslashes and begins
@@ -7998,7 +8286,7 @@ fi
7998
8286
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7999
8287
  $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8000
8288
 
8001
- if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8289
+ if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8002
8290
  lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8003
8291
  else
8004
8292
  :
@@ -8016,17 +8304,18 @@ lt_prog_compiler_pic=
8016
8304
  lt_prog_compiler_static=
8017
8305
 
8018
8306
 
8019
- if test "$GCC" = yes; then
8307
+ if test yes = "$GCC"; then
8020
8308
  lt_prog_compiler_wl='-Wl,'
8021
8309
  lt_prog_compiler_static='-static'
8022
8310
 
8023
8311
  case $host_os in
8024
8312
  aix*)
8025
8313
  # All AIX code is PIC.
8026
- if test "$host_cpu" = ia64; then
8314
+ if test ia64 = "$host_cpu"; then
8027
8315
  # AIX 5 now supports IA64 processor
8028
8316
  lt_prog_compiler_static='-Bstatic'
8029
8317
  fi
8318
+ lt_prog_compiler_pic='-fPIC'
8030
8319
  ;;
8031
8320
 
8032
8321
  amigaos*)
@@ -8037,8 +8326,8 @@ lt_prog_compiler_static=
8037
8326
  ;;
8038
8327
  m68k)
8039
8328
  # FIXME: we need at least 68020 code to build shared libraries, but
8040
- # adding the `-m68020' flag to GCC prevents building anything better,
8041
- # like `-m68040'.
8329
+ # adding the '-m68020' flag to GCC prevents building anything better,
8330
+ # like '-m68040'.
8042
8331
  lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8043
8332
  ;;
8044
8333
  esac
@@ -8054,6 +8343,11 @@ lt_prog_compiler_static=
8054
8343
  # Although the cygwin gcc ignores -fPIC, still need this for old-style
8055
8344
  # (--disable-auto-import) libraries
8056
8345
  lt_prog_compiler_pic='-DDLL_EXPORT'
8346
+ case $host_os in
8347
+ os2*)
8348
+ lt_prog_compiler_static='$wl-static'
8349
+ ;;
8350
+ esac
8057
8351
  ;;
8058
8352
 
8059
8353
  darwin* | rhapsody*)
@@ -8124,7 +8418,7 @@ lt_prog_compiler_static=
8124
8418
  case $host_os in
8125
8419
  aix*)
8126
8420
  lt_prog_compiler_wl='-Wl,'
8127
- if test "$host_cpu" = ia64; then
8421
+ if test ia64 = "$host_cpu"; then
8128
8422
  # AIX 5 now supports IA64 processor
8129
8423
  lt_prog_compiler_static='-Bstatic'
8130
8424
  else
@@ -8132,10 +8426,29 @@ lt_prog_compiler_static=
8132
8426
  fi
8133
8427
  ;;
8134
8428
 
8429
+ darwin* | rhapsody*)
8430
+ # PIC is the default on this platform
8431
+ # Common symbols not allowed in MH_DYLIB files
8432
+ lt_prog_compiler_pic='-fno-common'
8433
+ case $cc_basename in
8434
+ nagfor*)
8435
+ # NAG Fortran compiler
8436
+ lt_prog_compiler_wl='-Wl,-Wl,,'
8437
+ lt_prog_compiler_pic='-PIC'
8438
+ lt_prog_compiler_static='-Bstatic'
8439
+ ;;
8440
+ esac
8441
+ ;;
8442
+
8135
8443
  mingw* | cygwin* | pw32* | os2* | cegcc*)
8136
8444
  # This hack is so that the source file can tell whether it is being
8137
8445
  # built for inclusion in a dll (and should export symbols for example).
8138
8446
  lt_prog_compiler_pic='-DDLL_EXPORT'
8447
+ case $host_os in
8448
+ os2*)
8449
+ lt_prog_compiler_static='$wl-static'
8450
+ ;;
8451
+ esac
8139
8452
  ;;
8140
8453
 
8141
8454
  hpux9* | hpux10* | hpux11*)
@@ -8151,7 +8464,7 @@ lt_prog_compiler_static=
8151
8464
  ;;
8152
8465
  esac
8153
8466
  # Is there a better lt_prog_compiler_static that works with the bundled CC?
8154
- lt_prog_compiler_static='${wl}-a ${wl}archive'
8467
+ lt_prog_compiler_static='$wl-a ${wl}archive'
8155
8468
  ;;
8156
8469
 
8157
8470
  irix5* | irix6* | nonstopux*)
@@ -8162,7 +8475,7 @@ lt_prog_compiler_static=
8162
8475
 
8163
8476
  linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8164
8477
  case $cc_basename in
8165
- # old Intel for x86_64 which still supported -KPIC.
8478
+ # old Intel for x86_64, which still supported -KPIC.
8166
8479
  ecc*)
8167
8480
  lt_prog_compiler_wl='-Wl,'
8168
8481
  lt_prog_compiler_pic='-KPIC'
@@ -8187,6 +8500,12 @@ lt_prog_compiler_static=
8187
8500
  lt_prog_compiler_pic='-PIC'
8188
8501
  lt_prog_compiler_static='-Bstatic'
8189
8502
  ;;
8503
+ tcc*)
8504
+ # Fabrice Bellard et al's Tiny C Compiler
8505
+ lt_prog_compiler_wl='-Wl,'
8506
+ lt_prog_compiler_pic='-fPIC'
8507
+ lt_prog_compiler_static='-static'
8508
+ ;;
8190
8509
  pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8191
8510
  # Portland Group compilers (*not* the Pentium gcc compiler,
8192
8511
  # which looks to be a dead project)
@@ -8284,7 +8603,7 @@ lt_prog_compiler_static=
8284
8603
  ;;
8285
8604
 
8286
8605
  sysv4*MP*)
8287
- if test -d /usr/nec ;then
8606
+ if test -d /usr/nec; then
8288
8607
  lt_prog_compiler_pic='-Kconform_pic'
8289
8608
  lt_prog_compiler_static='-Bstatic'
8290
8609
  fi
@@ -8313,7 +8632,7 @@ lt_prog_compiler_static=
8313
8632
  fi
8314
8633
 
8315
8634
  case $host_os in
8316
- # For platforms which do not support PIC, -DPIC is meaningless:
8635
+ # For platforms that do not support PIC, -DPIC is meaningless:
8317
8636
  *djgpp*)
8318
8637
  lt_prog_compiler_pic=
8319
8638
  ;;
@@ -8345,7 +8664,7 @@ else
8345
8664
  lt_cv_prog_compiler_pic_works=no
8346
8665
  ac_outfile=conftest.$ac_objext
8347
8666
  echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8348
- lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8667
+ lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
8349
8668
  # Insert the option either (1) after the last *FLAGS variable, or
8350
8669
  # (2) before a word containing "conftest.", or (3) at the end.
8351
8670
  # Note that $ac_compile itself does not contain backslashes and begins
@@ -8375,7 +8694,7 @@ fi
8375
8694
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8376
8695
  $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8377
8696
 
8378
- if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8697
+ if test yes = "$lt_cv_prog_compiler_pic_works"; then
8379
8698
  case $lt_prog_compiler_pic in
8380
8699
  "" | " "*) ;;
8381
8700
  *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
@@ -8407,7 +8726,7 @@ if ${lt_cv_prog_compiler_static_works+:} false; then :
8407
8726
  $as_echo_n "(cached) " >&6
8408
8727
  else
8409
8728
  lt_cv_prog_compiler_static_works=no
8410
- save_LDFLAGS="$LDFLAGS"
8729
+ save_LDFLAGS=$LDFLAGS
8411
8730
  LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8412
8731
  echo "$lt_simple_link_test_code" > conftest.$ac_ext
8413
8732
  if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
@@ -8426,13 +8745,13 @@ else
8426
8745
  fi
8427
8746
  fi
8428
8747
  $RM -r conftest*
8429
- LDFLAGS="$save_LDFLAGS"
8748
+ LDFLAGS=$save_LDFLAGS
8430
8749
 
8431
8750
  fi
8432
8751
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8433
8752
  $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8434
8753
 
8435
- if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8754
+ if test yes = "$lt_cv_prog_compiler_static_works"; then
8436
8755
  :
8437
8756
  else
8438
8757
  lt_prog_compiler_static=
@@ -8552,8 +8871,8 @@ $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8552
8871
 
8553
8872
 
8554
8873
 
8555
- hard_links="nottested"
8556
- if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8874
+ hard_links=nottested
8875
+ if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
8557
8876
  # do not overwrite the value of need_locks provided by the user
8558
8877
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8559
8878
  $as_echo_n "checking if we can lock with hard links... " >&6; }
@@ -8565,9 +8884,9 @@ $as_echo_n "checking if we can lock with hard links... " >&6; }
8565
8884
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8566
8885
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8567
8886
  $as_echo "$hard_links" >&6; }
8568
- if test "$hard_links" = no; then
8569
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8570
- $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8887
+ if test no = "$hard_links"; then
8888
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8889
+ $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
8571
8890
  need_locks=warn
8572
8891
  fi
8573
8892
  else
@@ -8610,9 +8929,9 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
8610
8929
  # included in the symbol list
8611
8930
  include_expsyms=
8612
8931
  # exclude_expsyms can be an extended regexp of symbols to exclude
8613
- # it will be wrapped by ` (' and `)$', so one must not match beginning or
8614
- # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8615
- # as well as any symbol that contains `d'.
8932
+ # it will be wrapped by ' (' and ')$', so one must not match beginning or
8933
+ # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
8934
+ # as well as any symbol that contains 'd'.
8616
8935
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8617
8936
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8618
8937
  # platforms (ab)use it in PIC code, but their linkers get confused if
@@ -8627,7 +8946,7 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
8627
8946
  # FIXME: the MSVC++ port hasn't been tested in a loooong time
8628
8947
  # When not using gcc, we currently assume that we are using
8629
8948
  # Microsoft Visual C++.
8630
- if test "$GCC" != yes; then
8949
+ if test yes != "$GCC"; then
8631
8950
  with_gnu_ld=no
8632
8951
  fi
8633
8952
  ;;
@@ -8635,7 +8954,7 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
8635
8954
  # we just hope/assume this is gcc and not c89 (= MSVC++)
8636
8955
  with_gnu_ld=yes
8637
8956
  ;;
8638
- openbsd*)
8957
+ openbsd* | bitrig*)
8639
8958
  with_gnu_ld=no
8640
8959
  ;;
8641
8960
  linux* | k*bsd*-gnu | gnu*)
@@ -8648,7 +8967,7 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
8648
8967
  # On some targets, GNU ld is compatible enough with the native linker
8649
8968
  # that we're better off using the native interface for both.
8650
8969
  lt_use_gnu_ld_interface=no
8651
- if test "$with_gnu_ld" = yes; then
8970
+ if test yes = "$with_gnu_ld"; then
8652
8971
  case $host_os in
8653
8972
  aix*)
8654
8973
  # The AIX port of GNU ld has always aspired to compatibility
@@ -8670,24 +8989,24 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
8670
8989
  esac
8671
8990
  fi
8672
8991
 
8673
- if test "$lt_use_gnu_ld_interface" = yes; then
8992
+ if test yes = "$lt_use_gnu_ld_interface"; then
8674
8993
  # If archive_cmds runs LD, not CC, wlarc should be empty
8675
- wlarc='${wl}'
8994
+ wlarc='$wl'
8676
8995
 
8677
8996
  # Set some defaults for GNU ld with shared library support. These
8678
8997
  # are reset later if shared libraries are not supported. Putting them
8679
8998
  # here allows them to be overridden if necessary.
8680
8999
  runpath_var=LD_RUN_PATH
8681
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8682
- export_dynamic_flag_spec='${wl}--export-dynamic'
9000
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9001
+ export_dynamic_flag_spec='$wl--export-dynamic'
8683
9002
  # ancient GNU ld didn't support --whole-archive et. al.
8684
9003
  if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8685
- whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9004
+ whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
8686
9005
  else
8687
9006
  whole_archive_flag_spec=
8688
9007
  fi
8689
9008
  supports_anon_versioning=no
8690
- case `$LD -v 2>&1` in
9009
+ case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
8691
9010
  *GNU\ gold*) supports_anon_versioning=yes ;;
8692
9011
  *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8693
9012
  *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
@@ -8700,7 +9019,7 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
8700
9019
  case $host_os in
8701
9020
  aix[3-9]*)
8702
9021
  # On AIX/PPC, the GNU linker is very broken
8703
- if test "$host_cpu" != ia64; then
9022
+ if test ia64 != "$host_cpu"; then
8704
9023
  ld_shlibs=no
8705
9024
  cat <<_LT_EOF 1>&2
8706
9025
 
@@ -8719,7 +9038,7 @@ _LT_EOF
8719
9038
  case $host_cpu in
8720
9039
  powerpc)
8721
9040
  # see comment about AmigaOS4 .so support
8722
- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9041
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8723
9042
  archive_expsym_cmds=''
8724
9043
  ;;
8725
9044
  m68k)
@@ -8735,7 +9054,7 @@ _LT_EOF
8735
9054
  allow_undefined_flag=unsupported
8736
9055
  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8737
9056
  # support --undefined. This deserves some investigation. FIXME
8738
- archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9057
+ archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8739
9058
  else
8740
9059
  ld_shlibs=no
8741
9060
  fi
@@ -8745,7 +9064,7 @@ _LT_EOF
8745
9064
  # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8746
9065
  # as there is no search path for DLLs.
8747
9066
  hardcode_libdir_flag_spec='-L$libdir'
8748
- export_dynamic_flag_spec='${wl}--export-all-symbols'
9067
+ export_dynamic_flag_spec='$wl--export-all-symbols'
8749
9068
  allow_undefined_flag=unsupported
8750
9069
  always_export_symbols=no
8751
9070
  enable_shared_with_static_runtimes=yes
@@ -8753,61 +9072,89 @@ _LT_EOF
8753
9072
  exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8754
9073
 
8755
9074
  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8756
- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8757
- # If the export-symbols file already is a .def file (1st line
8758
- # is EXPORTS), use it as is; otherwise, prepend...
8759
- archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8760
- cp $export_symbols $output_objdir/$soname.def;
8761
- else
8762
- echo EXPORTS > $output_objdir/$soname.def;
8763
- cat $export_symbols >> $output_objdir/$soname.def;
8764
- fi~
8765
- $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9075
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9076
+ # If the export-symbols file already is a .def file, use it as
9077
+ # is; otherwise, prepend EXPORTS...
9078
+ archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9079
+ cp $export_symbols $output_objdir/$soname.def;
9080
+ else
9081
+ echo EXPORTS > $output_objdir/$soname.def;
9082
+ cat $export_symbols >> $output_objdir/$soname.def;
9083
+ fi~
9084
+ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8766
9085
  else
8767
9086
  ld_shlibs=no
8768
9087
  fi
8769
9088
  ;;
8770
9089
 
8771
9090
  haiku*)
8772
- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9091
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8773
9092
  link_all_deplibs=yes
8774
9093
  ;;
8775
9094
 
9095
+ os2*)
9096
+ hardcode_libdir_flag_spec='-L$libdir'
9097
+ hardcode_minus_L=yes
9098
+ allow_undefined_flag=unsupported
9099
+ shrext_cmds=.dll
9100
+ archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9101
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9102
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9103
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
9104
+ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9105
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9106
+ emximp -o $lib $output_objdir/$libname.def'
9107
+ archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9108
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9109
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9110
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
9111
+ prefix_cmds="$SED"~
9112
+ if test EXPORTS = "`$SED 1q $export_symbols`"; then
9113
+ prefix_cmds="$prefix_cmds -e 1d";
9114
+ fi~
9115
+ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9116
+ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9117
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9118
+ emximp -o $lib $output_objdir/$libname.def'
9119
+ old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9120
+ enable_shared_with_static_runtimes=yes
9121
+ ;;
9122
+
8776
9123
  interix[3-9]*)
8777
9124
  hardcode_direct=no
8778
9125
  hardcode_shlibpath_var=no
8779
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8780
- export_dynamic_flag_spec='${wl}-E'
9126
+ hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9127
+ export_dynamic_flag_spec='$wl-E'
8781
9128
  # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8782
9129
  # Instead, shared libraries are loaded at an image base (0x10000000 by
8783
9130
  # default) and relocated if they conflict, which is a slow very memory
8784
9131
  # consuming and fragmenting process. To avoid this, we pick a random,
8785
9132
  # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8786
9133
  # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8787
- archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8788
- 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'
9134
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9135
+ 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'
8789
9136
  ;;
8790
9137
 
8791
9138
  gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8792
9139
  tmp_diet=no
8793
- if test "$host_os" = linux-dietlibc; then
9140
+ if test linux-dietlibc = "$host_os"; then
8794
9141
  case $cc_basename in
8795
9142
  diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8796
9143
  esac
8797
9144
  fi
8798
9145
  if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8799
- && test "$tmp_diet" = no
9146
+ && test no = "$tmp_diet"
8800
9147
  then
8801
9148
  tmp_addflag=' $pic_flag'
8802
9149
  tmp_sharedflag='-shared'
8803
9150
  case $cc_basename,$host_cpu in
8804
9151
  pgcc*) # Portland Group C compiler
8805
- 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'
9152
+ 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'
8806
9153
  tmp_addflag=' $pic_flag'
8807
9154
  ;;
8808
9155
  pgf77* | pgf90* | pgf95* | pgfortran*)
8809
9156
  # Portland Group f77 and f90 compilers
8810
- 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'
9157
+ 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'
8811
9158
  tmp_addflag=' $pic_flag -Mnomain' ;;
8812
9159
  ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8813
9160
  tmp_addflag=' -i_dynamic' ;;
@@ -8818,42 +9165,47 @@ _LT_EOF
8818
9165
  lf95*) # Lahey Fortran 8.1
8819
9166
  whole_archive_flag_spec=
8820
9167
  tmp_sharedflag='--shared' ;;
9168
+ nagfor*) # NAGFOR 5.3
9169
+ tmp_sharedflag='-Wl,-shared' ;;
8821
9170
  xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8822
9171
  tmp_sharedflag='-qmkshrobj'
8823
9172
  tmp_addflag= ;;
8824
9173
  nvcc*) # Cuda Compiler Driver 2.2
8825
- 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'
9174
+ 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'
8826
9175
  compiler_needs_object=yes
8827
9176
  ;;
8828
9177
  esac
8829
9178
  case `$CC -V 2>&1 | sed 5q` in
8830
9179
  *Sun\ C*) # Sun C 5.9
8831
- 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'
9180
+ 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'
8832
9181
  compiler_needs_object=yes
8833
9182
  tmp_sharedflag='-G' ;;
8834
9183
  *Sun\ F*) # Sun Fortran 8.3
8835
9184
  tmp_sharedflag='-G' ;;
8836
9185
  esac
8837
- archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9186
+ archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8838
9187
 
8839
- if test "x$supports_anon_versioning" = xyes; then
9188
+ if test yes = "$supports_anon_versioning"; then
8840
9189
  archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8841
- cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8842
- echo "local: *; };" >> $output_objdir/$libname.ver~
8843
- $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9190
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9191
+ echo "local: *; };" >> $output_objdir/$libname.ver~
9192
+ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
8844
9193
  fi
8845
9194
 
8846
9195
  case $cc_basename in
9196
+ tcc*)
9197
+ export_dynamic_flag_spec='-rdynamic'
9198
+ ;;
8847
9199
  xlf* | bgf* | bgxlf* | mpixlf*)
8848
9200
  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8849
9201
  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8850
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9202
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
8851
9203
  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8852
- if test "x$supports_anon_versioning" = xyes; then
9204
+ if test yes = "$supports_anon_versioning"; then
8853
9205
  archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8854
- cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8855
- echo "local: *; };" >> $output_objdir/$libname.ver~
8856
- $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9206
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9207
+ echo "local: *; };" >> $output_objdir/$libname.ver~
9208
+ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8857
9209
  fi
8858
9210
  ;;
8859
9211
  esac
@@ -8867,8 +9219,8 @@ _LT_EOF
8867
9219
  archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8868
9220
  wlarc=
8869
9221
  else
8870
- archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8871
- archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9222
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9223
+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8872
9224
  fi
8873
9225
  ;;
8874
9226
 
@@ -8886,8 +9238,8 @@ _LT_EOF
8886
9238
 
8887
9239
  _LT_EOF
8888
9240
  elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8889
- archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8890
- archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9241
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9242
+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8891
9243
  else
8892
9244
  ld_shlibs=no
8893
9245
  fi
@@ -8899,7 +9251,7 @@ _LT_EOF
8899
9251
  ld_shlibs=no
8900
9252
  cat <<_LT_EOF 1>&2
8901
9253
 
8902
- *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9254
+ *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
8903
9255
  *** reliably create shared libraries on SCO systems. Therefore, libtool
8904
9256
  *** is disabling shared libraries support. We urge you to upgrade GNU
8905
9257
  *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
@@ -8914,9 +9266,9 @@ _LT_EOF
8914
9266
  # DT_RUNPATH tag from executables and libraries. But doing so
8915
9267
  # requires that you compile everything twice, which is a pain.
8916
9268
  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8917
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8918
- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8919
- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9269
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9270
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9271
+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8920
9272
  else
8921
9273
  ld_shlibs=no
8922
9274
  fi
@@ -8933,15 +9285,15 @@ _LT_EOF
8933
9285
 
8934
9286
  *)
8935
9287
  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8936
- archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8937
- archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9288
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9289
+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8938
9290
  else
8939
9291
  ld_shlibs=no
8940
9292
  fi
8941
9293
  ;;
8942
9294
  esac
8943
9295
 
8944
- if test "$ld_shlibs" = no; then
9296
+ if test no = "$ld_shlibs"; then
8945
9297
  runpath_var=
8946
9298
  hardcode_libdir_flag_spec=
8947
9299
  export_dynamic_flag_spec=
@@ -8957,7 +9309,7 @@ _LT_EOF
8957
9309
  # Note: this linker hardcodes the directories in LIBPATH if there
8958
9310
  # are no directories specified by -L.
8959
9311
  hardcode_minus_L=yes
8960
- if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9312
+ if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
8961
9313
  # Neither direct hardcoding nor static linking is supported with a
8962
9314
  # broken collect2.
8963
9315
  hardcode_direct=unsupported
@@ -8965,34 +9317,57 @@ _LT_EOF
8965
9317
  ;;
8966
9318
 
8967
9319
  aix[4-9]*)
8968
- if test "$host_cpu" = ia64; then
9320
+ if test ia64 = "$host_cpu"; then
8969
9321
  # On IA64, the linker does run time linking by default, so we don't
8970
9322
  # have to do anything special.
8971
9323
  aix_use_runtimelinking=no
8972
9324
  exp_sym_flag='-Bexport'
8973
- no_entry_flag=""
9325
+ no_entry_flag=
8974
9326
  else
8975
9327
  # If we're using GNU nm, then we don't want the "-C" option.
8976
- # -C means demangle to AIX nm, but means don't demangle with GNU nm
8977
- # Also, AIX nm treats weak defined symbols like other global
8978
- # defined symbols, whereas GNU nm marks them as "W".
9328
+ # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9329
+ # Without the "-l" option, or with the "-B" option, AIX nm treats
9330
+ # weak defined symbols like other global defined symbols, whereas
9331
+ # GNU nm marks them as "W".
9332
+ # While the 'weak' keyword is ignored in the Export File, we need
9333
+ # it in the Import File for the 'aix-soname' feature, so we have
9334
+ # to replace the "-B" option with "-P" for AIX nm.
8979
9335
  if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8980
- export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9336
+ 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'
8981
9337
  else
8982
- export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9338
+ 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'
8983
9339
  fi
8984
9340
  aix_use_runtimelinking=no
8985
9341
 
8986
9342
  # Test if we are trying to use run time linking or normal
8987
9343
  # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8988
- # need to do runtime linking.
9344
+ # have runtime linking enabled, and use it for executables.
9345
+ # For shared libraries, we enable/disable runtime linking
9346
+ # depending on the kind of the shared library created -
9347
+ # when "with_aix_soname,aix_use_runtimelinking" is:
9348
+ # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
9349
+ # "aix,yes" lib.so shared, rtl:yes, for executables
9350
+ # lib.a static archive
9351
+ # "both,no" lib.so.V(shr.o) shared, rtl:yes
9352
+ # lib.a(lib.so.V) shared, rtl:no, for executables
9353
+ # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9354
+ # lib.a(lib.so.V) shared, rtl:no
9355
+ # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
9356
+ # lib.a static archive
8989
9357
  case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8990
9358
  for ld_flag in $LDFLAGS; do
8991
- if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9359
+ if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
8992
9360
  aix_use_runtimelinking=yes
8993
9361
  break
8994
9362
  fi
8995
9363
  done
9364
+ if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9365
+ # With aix-soname=svr4, we create the lib.so.V shared archives only,
9366
+ # so we don't have lib.a shared libs to link our executables.
9367
+ # We have to force runtime linking in this case.
9368
+ aix_use_runtimelinking=yes
9369
+ LDFLAGS="$LDFLAGS -Wl,-brtl"
9370
+ fi
8996
9371
  ;;
8997
9372
  esac
8998
9373
 
@@ -9011,13 +9386,21 @@ _LT_EOF
9011
9386
  hardcode_direct_absolute=yes
9012
9387
  hardcode_libdir_separator=':'
9013
9388
  link_all_deplibs=yes
9014
- file_list_spec='${wl}-f,'
9389
+ file_list_spec='$wl-f,'
9390
+ case $with_aix_soname,$aix_use_runtimelinking in
9391
+ aix,*) ;; # traditional, no import file
9392
+ svr4,* | *,yes) # use import file
9393
+ # The Import File defines what to hardcode.
9394
+ hardcode_direct=no
9395
+ hardcode_direct_absolute=no
9396
+ ;;
9397
+ esac
9015
9398
 
9016
- if test "$GCC" = yes; then
9399
+ if test yes = "$GCC"; then
9017
9400
  case $host_os in aix4.[012]|aix4.[012].*)
9018
9401
  # We only want to do this on AIX 4.2 and lower, the check
9019
9402
  # below for broken collect2 doesn't work under 4.3+
9020
- collect2name=`${CC} -print-prog-name=collect2`
9403
+ collect2name=`$CC -print-prog-name=collect2`
9021
9404
  if test -f "$collect2name" &&
9022
9405
  strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9023
9406
  then
@@ -9036,36 +9419,42 @@ _LT_EOF
9036
9419
  ;;
9037
9420
  esac
9038
9421
  shared_flag='-shared'
9039
- if test "$aix_use_runtimelinking" = yes; then
9040
- shared_flag="$shared_flag "'${wl}-G'
9422
+ if test yes = "$aix_use_runtimelinking"; then
9423
+ shared_flag="$shared_flag "'$wl-G'
9041
9424
  fi
9042
- link_all_deplibs=no
9425
+ # Need to ensure runtime linking is disabled for the traditional
9426
+ # shared library, or the linker may eventually find shared libraries
9427
+ # /with/ Import File - we do not want to mix them.
9428
+ shared_flag_aix='-shared'
9429
+ shared_flag_svr4='-shared $wl-G'
9043
9430
  else
9044
9431
  # not using gcc
9045
- if test "$host_cpu" = ia64; then
9432
+ if test ia64 = "$host_cpu"; then
9046
9433
  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9047
9434
  # chokes on -Wl,-G. The following line is correct:
9048
9435
  shared_flag='-G'
9049
9436
  else
9050
- if test "$aix_use_runtimelinking" = yes; then
9051
- shared_flag='${wl}-G'
9437
+ if test yes = "$aix_use_runtimelinking"; then
9438
+ shared_flag='$wl-G'
9052
9439
  else
9053
- shared_flag='${wl}-bM:SRE'
9440
+ shared_flag='$wl-bM:SRE'
9054
9441
  fi
9442
+ shared_flag_aix='$wl-bM:SRE'
9443
+ shared_flag_svr4='$wl-G'
9055
9444
  fi
9056
9445
  fi
9057
9446
 
9058
- export_dynamic_flag_spec='${wl}-bexpall'
9447
+ export_dynamic_flag_spec='$wl-bexpall'
9059
9448
  # It seems that -bexpall does not export symbols beginning with
9060
9449
  # underscore (_), so it is better to generate a list of symbols to export.
9061
9450
  always_export_symbols=yes
9062
- if test "$aix_use_runtimelinking" = yes; then
9451
+ if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9063
9452
  # Warning - without using the other runtime loading flags (-brtl),
9064
9453
  # -berok will link without error, but may produce a broken library.
9065
9454
  allow_undefined_flag='-berok'
9066
9455
  # Determine the default libpath from the value encoded in an
9067
9456
  # empty executable.
9068
- if test "${lt_cv_aix_libpath+set}" = set; then
9457
+ if test set = "${lt_cv_aix_libpath+set}"; then
9069
9458
  aix_libpath=$lt_cv_aix_libpath
9070
9459
  else
9071
9460
  if ${lt_cv_aix_libpath_+:} false; then :
@@ -9100,7 +9489,7 @@ fi
9100
9489
  rm -f core conftest.err conftest.$ac_objext \
9101
9490
  conftest$ac_exeext conftest.$ac_ext
9102
9491
  if test -z "$lt_cv_aix_libpath_"; then
9103
- lt_cv_aix_libpath_="/usr/lib:/lib"
9492
+ lt_cv_aix_libpath_=/usr/lib:/lib
9104
9493
  fi
9105
9494
 
9106
9495
  fi
@@ -9108,17 +9497,17 @@ fi
9108
9497
  aix_libpath=$lt_cv_aix_libpath_
9109
9498
  fi
9110
9499
 
9111
- hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9112
- archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9500
+ hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9501
+ 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
9113
9502
  else
9114
- if test "$host_cpu" = ia64; then
9115
- hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9503
+ if test ia64 = "$host_cpu"; then
9504
+ hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9116
9505
  allow_undefined_flag="-z nodefs"
9117
- 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"
9506
+ 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"
9118
9507
  else
9119
9508
  # Determine the default libpath from the value encoded in an
9120
9509
  # empty executable.
9121
- if test "${lt_cv_aix_libpath+set}" = set; then
9510
+ if test set = "${lt_cv_aix_libpath+set}"; then
9122
9511
  aix_libpath=$lt_cv_aix_libpath
9123
9512
  else
9124
9513
  if ${lt_cv_aix_libpath_+:} false; then :
@@ -9153,7 +9542,7 @@ fi
9153
9542
  rm -f core conftest.err conftest.$ac_objext \
9154
9543
  conftest$ac_exeext conftest.$ac_ext
9155
9544
  if test -z "$lt_cv_aix_libpath_"; then
9156
- lt_cv_aix_libpath_="/usr/lib:/lib"
9545
+ lt_cv_aix_libpath_=/usr/lib:/lib
9157
9546
  fi
9158
9547
 
9159
9548
  fi
@@ -9161,21 +9550,33 @@ fi
9161
9550
  aix_libpath=$lt_cv_aix_libpath_
9162
9551
  fi
9163
9552
 
9164
- hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9553
+ hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9165
9554
  # Warning - without using the other run time loading flags,
9166
9555
  # -berok will link without error, but may produce a broken library.
9167
- no_undefined_flag=' ${wl}-bernotok'
9168
- allow_undefined_flag=' ${wl}-berok'
9169
- if test "$with_gnu_ld" = yes; then
9556
+ no_undefined_flag=' $wl-bernotok'
9557
+ allow_undefined_flag=' $wl-berok'
9558
+ if test yes = "$with_gnu_ld"; then
9170
9559
  # We only use this code for GNU lds that support --whole-archive.
9171
- whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9560
+ whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9172
9561
  else
9173
9562
  # Exported symbols can be pulled into shared objects from archives
9174
9563
  whole_archive_flag_spec='$convenience'
9175
9564
  fi
9176
9565
  archive_cmds_need_lc=yes
9177
- # This is similar to how AIX traditionally builds its shared libraries.
9178
- archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9566
+ archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9567
+ # -brtl affects multiple linker settings, -berok does not and is overridden later
9568
+ compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9569
+ if test svr4 != "$with_aix_soname"; then
9570
+ # This is similar to how AIX traditionally builds its shared libraries.
9571
+ 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'
9572
+ fi
9573
+ if test aix != "$with_aix_soname"; then
9574
+ 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'
9575
+ else
9576
+ # used by -dlpreopen to get the symbols
9577
+ archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
9578
+ fi
9579
+ archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9179
9580
  fi
9180
9581
  fi
9181
9582
  ;;
@@ -9184,7 +9585,7 @@ fi
9184
9585
  case $host_cpu in
9185
9586
  powerpc)
9186
9587
  # see comment about AmigaOS4 .so support
9187
- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9588
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9188
9589
  archive_expsym_cmds=''
9189
9590
  ;;
9190
9591
  m68k)
@@ -9214,16 +9615,17 @@ fi
9214
9615
  # Tell ltmain to make .lib files, not .a files.
9215
9616
  libext=lib
9216
9617
  # Tell ltmain to make .dll files, not .so files.
9217
- shrext_cmds=".dll"
9618
+ shrext_cmds=.dll
9218
9619
  # FIXME: Setting linknames here is a bad hack.
9219
- archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9220
- archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9221
- sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9222
- else
9223
- sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9224
- fi~
9225
- $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9226
- linknames='
9620
+ archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9621
+ archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9622
+ cp "$export_symbols" "$output_objdir/$soname.def";
9623
+ echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9624
+ else
9625
+ $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9626
+ fi~
9627
+ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9628
+ linknames='
9227
9629
  # The linker will not automatically build a static lib if we build a DLL.
9228
9630
  # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9229
9631
  enable_shared_with_static_runtimes=yes
@@ -9232,18 +9634,18 @@ fi
9232
9634
  # Don't use ranlib
9233
9635
  old_postinstall_cmds='chmod 644 $oldlib'
9234
9636
  postlink_cmds='lt_outputfile="@OUTPUT@"~
9235
- lt_tool_outputfile="@TOOL_OUTPUT@"~
9236
- case $lt_outputfile in
9237
- *.exe|*.EXE) ;;
9238
- *)
9239
- lt_outputfile="$lt_outputfile.exe"
9240
- lt_tool_outputfile="$lt_tool_outputfile.exe"
9241
- ;;
9242
- esac~
9243
- if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9244
- $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9245
- $RM "$lt_outputfile.manifest";
9246
- fi'
9637
+ lt_tool_outputfile="@TOOL_OUTPUT@"~
9638
+ case $lt_outputfile in
9639
+ *.exe|*.EXE) ;;
9640
+ *)
9641
+ lt_outputfile=$lt_outputfile.exe
9642
+ lt_tool_outputfile=$lt_tool_outputfile.exe
9643
+ ;;
9644
+ esac~
9645
+ if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9646
+ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9647
+ $RM "$lt_outputfile.manifest";
9648
+ fi'
9247
9649
  ;;
9248
9650
  *)
9249
9651
  # Assume MSVC wrapper
@@ -9252,7 +9654,7 @@ fi
9252
9654
  # Tell ltmain to make .lib files, not .a files.
9253
9655
  libext=lib
9254
9656
  # Tell ltmain to make .dll files, not .so files.
9255
- shrext_cmds=".dll"
9657
+ shrext_cmds=.dll
9256
9658
  # FIXME: Setting linknames here is a bad hack.
9257
9659
  archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9258
9660
  # The linker will automatically build a .lib file if we build a DLL.
@@ -9271,24 +9673,24 @@ fi
9271
9673
  hardcode_direct=no
9272
9674
  hardcode_automatic=yes
9273
9675
  hardcode_shlibpath_var=unsupported
9274
- if test "$lt_cv_ld_force_load" = "yes"; then
9275
- 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\"`'
9676
+ if test yes = "$lt_cv_ld_force_load"; then
9677
+ 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\"`'
9276
9678
 
9277
9679
  else
9278
9680
  whole_archive_flag_spec=''
9279
9681
  fi
9280
9682
  link_all_deplibs=yes
9281
- allow_undefined_flag="$_lt_dar_allow_undefined"
9683
+ allow_undefined_flag=$_lt_dar_allow_undefined
9282
9684
  case $cc_basename in
9283
- ifort*) _lt_dar_can_shared=yes ;;
9685
+ ifort*|nagfor*) _lt_dar_can_shared=yes ;;
9284
9686
  *) _lt_dar_can_shared=$GCC ;;
9285
9687
  esac
9286
- if test "$_lt_dar_can_shared" = "yes"; then
9688
+ if test yes = "$_lt_dar_can_shared"; then
9287
9689
  output_verbose_link_cmd=func_echo_all
9288
- archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9289
- module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9290
- 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}"
9291
- 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}"
9690
+ archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9691
+ module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9692
+ 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"
9693
+ 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"
9292
9694
 
9293
9695
  else
9294
9696
  ld_shlibs=no
@@ -9330,33 +9732,33 @@ fi
9330
9732
  ;;
9331
9733
 
9332
9734
  hpux9*)
9333
- if test "$GCC" = yes; then
9334
- archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9735
+ if test yes = "$GCC"; then
9736
+ 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'
9335
9737
  else
9336
- archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9738
+ 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'
9337
9739
  fi
9338
- hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9740
+ hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9339
9741
  hardcode_libdir_separator=:
9340
9742
  hardcode_direct=yes
9341
9743
 
9342
9744
  # hardcode_minus_L: Not really in the search PATH,
9343
9745
  # but as the default location of the library.
9344
9746
  hardcode_minus_L=yes
9345
- export_dynamic_flag_spec='${wl}-E'
9747
+ export_dynamic_flag_spec='$wl-E'
9346
9748
  ;;
9347
9749
 
9348
9750
  hpux10*)
9349
- if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9350
- archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9751
+ if test yes,no = "$GCC,$with_gnu_ld"; then
9752
+ archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9351
9753
  else
9352
9754
  archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9353
9755
  fi
9354
- if test "$with_gnu_ld" = no; then
9355
- hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9756
+ if test no = "$with_gnu_ld"; then
9757
+ hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9356
9758
  hardcode_libdir_separator=:
9357
9759
  hardcode_direct=yes
9358
9760
  hardcode_direct_absolute=yes
9359
- export_dynamic_flag_spec='${wl}-E'
9761
+ export_dynamic_flag_spec='$wl-E'
9360
9762
  # hardcode_minus_L: Not really in the search PATH,
9361
9763
  # but as the default location of the library.
9362
9764
  hardcode_minus_L=yes
@@ -9364,25 +9766,25 @@ fi
9364
9766
  ;;
9365
9767
 
9366
9768
  hpux11*)
9367
- if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9769
+ if test yes,no = "$GCC,$with_gnu_ld"; then
9368
9770
  case $host_cpu in
9369
9771
  hppa*64*)
9370
- archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9772
+ archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9371
9773
  ;;
9372
9774
  ia64*)
9373
- archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9775
+ archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9374
9776
  ;;
9375
9777
  *)
9376
- archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9778
+ archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9377
9779
  ;;
9378
9780
  esac
9379
9781
  else
9380
9782
  case $host_cpu in
9381
9783
  hppa*64*)
9382
- archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9784
+ archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9383
9785
  ;;
9384
9786
  ia64*)
9385
- archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9787
+ archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9386
9788
  ;;
9387
9789
  *)
9388
9790
 
@@ -9394,7 +9796,7 @@ if ${lt_cv_prog_compiler__b+:} false; then :
9394
9796
  $as_echo_n "(cached) " >&6
9395
9797
  else
9396
9798
  lt_cv_prog_compiler__b=no
9397
- save_LDFLAGS="$LDFLAGS"
9799
+ save_LDFLAGS=$LDFLAGS
9398
9800
  LDFLAGS="$LDFLAGS -b"
9399
9801
  echo "$lt_simple_link_test_code" > conftest.$ac_ext
9400
9802
  if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
@@ -9413,14 +9815,14 @@ else
9413
9815
  fi
9414
9816
  fi
9415
9817
  $RM -r conftest*
9416
- LDFLAGS="$save_LDFLAGS"
9818
+ LDFLAGS=$save_LDFLAGS
9417
9819
 
9418
9820
  fi
9419
9821
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9420
9822
  $as_echo "$lt_cv_prog_compiler__b" >&6; }
9421
9823
 
9422
- if test x"$lt_cv_prog_compiler__b" = xyes; then
9423
- archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9824
+ if test yes = "$lt_cv_prog_compiler__b"; then
9825
+ archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9424
9826
  else
9425
9827
  archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9426
9828
  fi
@@ -9428,8 +9830,8 @@ fi
9428
9830
  ;;
9429
9831
  esac
9430
9832
  fi
9431
- if test "$with_gnu_ld" = no; then
9432
- hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9833
+ if test no = "$with_gnu_ld"; then
9834
+ hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9433
9835
  hardcode_libdir_separator=:
9434
9836
 
9435
9837
  case $host_cpu in
@@ -9440,7 +9842,7 @@ fi
9440
9842
  *)
9441
9843
  hardcode_direct=yes
9442
9844
  hardcode_direct_absolute=yes
9443
- export_dynamic_flag_spec='${wl}-E'
9845
+ export_dynamic_flag_spec='$wl-E'
9444
9846
 
9445
9847
  # hardcode_minus_L: Not really in the search PATH,
9446
9848
  # but as the default location of the library.
@@ -9451,8 +9853,8 @@ fi
9451
9853
  ;;
9452
9854
 
9453
9855
  irix5* | irix6* | nonstopux*)
9454
- if test "$GCC" = yes; then
9455
- 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'
9856
+ if test yes = "$GCC"; then
9857
+ 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'
9456
9858
  # Try to use the -exported_symbol ld option, if it does not
9457
9859
  # work, assume that -exports_file does not work either and
9458
9860
  # implicitly export all symbols.
@@ -9462,8 +9864,8 @@ $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >
9462
9864
  if ${lt_cv_irix_exported_symbol+:} false; then :
9463
9865
  $as_echo_n "(cached) " >&6
9464
9866
  else
9465
- save_LDFLAGS="$LDFLAGS"
9466
- LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9867
+ save_LDFLAGS=$LDFLAGS
9868
+ LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9467
9869
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9468
9870
  /* end confdefs.h. */
9469
9871
  int foo (void) { return 0; }
@@ -9475,24 +9877,35 @@ else
9475
9877
  fi
9476
9878
  rm -f core conftest.err conftest.$ac_objext \
9477
9879
  conftest$ac_exeext conftest.$ac_ext
9478
- LDFLAGS="$save_LDFLAGS"
9880
+ LDFLAGS=$save_LDFLAGS
9479
9881
  fi
9480
9882
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9481
9883
  $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9482
- if test "$lt_cv_irix_exported_symbol" = yes; then
9483
- 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'
9884
+ if test yes = "$lt_cv_irix_exported_symbol"; then
9885
+ 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'
9484
9886
  fi
9887
+ link_all_deplibs=no
9485
9888
  else
9486
- 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'
9487
- 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'
9889
+ 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'
9890
+ 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'
9488
9891
  fi
9489
9892
  archive_cmds_need_lc='no'
9490
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9893
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9491
9894
  hardcode_libdir_separator=:
9492
9895
  inherit_rpath=yes
9493
9896
  link_all_deplibs=yes
9494
9897
  ;;
9495
9898
 
9899
+ linux*)
9900
+ case $cc_basename in
9901
+ tcc*)
9902
+ # Fabrice Bellard et al's Tiny C Compiler
9903
+ ld_shlibs=yes
9904
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9905
+ ;;
9906
+ esac
9907
+ ;;
9908
+
9496
9909
  netbsd* | netbsdelf*-gnu)
9497
9910
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9498
9911
  archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
@@ -9507,7 +9920,7 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9507
9920
  newsos6)
9508
9921
  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9509
9922
  hardcode_direct=yes
9510
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9923
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9511
9924
  hardcode_libdir_separator=:
9512
9925
  hardcode_shlibpath_var=no
9513
9926
  ;;
@@ -9515,27 +9928,19 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9515
9928
  *nto* | *qnx*)
9516
9929
  ;;
9517
9930
 
9518
- openbsd*)
9931
+ openbsd* | bitrig*)
9519
9932
  if test -f /usr/libexec/ld.so; then
9520
9933
  hardcode_direct=yes
9521
9934
  hardcode_shlibpath_var=no
9522
9935
  hardcode_direct_absolute=yes
9523
- if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9936
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
9524
9937
  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9525
- archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9526
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9527
- export_dynamic_flag_spec='${wl}-E'
9938
+ archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
9939
+ hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9940
+ export_dynamic_flag_spec='$wl-E'
9528
9941
  else
9529
- case $host_os in
9530
- openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9531
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9532
- hardcode_libdir_flag_spec='-R$libdir'
9533
- ;;
9534
- *)
9535
- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9536
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9537
- ;;
9538
- esac
9942
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9943
+ hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9539
9944
  fi
9540
9945
  else
9541
9946
  ld_shlibs=no
@@ -9546,33 +9951,53 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9546
9951
  hardcode_libdir_flag_spec='-L$libdir'
9547
9952
  hardcode_minus_L=yes
9548
9953
  allow_undefined_flag=unsupported
9549
- archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9550
- old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9954
+ shrext_cmds=.dll
9955
+ archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9956
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9957
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9958
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
9959
+ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9960
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9961
+ emximp -o $lib $output_objdir/$libname.def'
9962
+ archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9963
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9964
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9965
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
9966
+ prefix_cmds="$SED"~
9967
+ if test EXPORTS = "`$SED 1q $export_symbols`"; then
9968
+ prefix_cmds="$prefix_cmds -e 1d";
9969
+ fi~
9970
+ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9971
+ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9972
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9973
+ emximp -o $lib $output_objdir/$libname.def'
9974
+ old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9975
+ enable_shared_with_static_runtimes=yes
9551
9976
  ;;
9552
9977
 
9553
9978
  osf3*)
9554
- if test "$GCC" = yes; then
9555
- allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9556
- 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'
9979
+ if test yes = "$GCC"; then
9980
+ allow_undefined_flag=' $wl-expect_unresolved $wl\*'
9981
+ 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'
9557
9982
  else
9558
9983
  allow_undefined_flag=' -expect_unresolved \*'
9559
- 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'
9984
+ 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'
9560
9985
  fi
9561
9986
  archive_cmds_need_lc='no'
9562
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9987
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9563
9988
  hardcode_libdir_separator=:
9564
9989
  ;;
9565
9990
 
9566
9991
  osf4* | osf5*) # as osf3* with the addition of -msym flag
9567
- if test "$GCC" = yes; then
9568
- allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9569
- 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'
9570
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9992
+ if test yes = "$GCC"; then
9993
+ allow_undefined_flag=' $wl-expect_unresolved $wl\*'
9994
+ 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'
9995
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9571
9996
  else
9572
9997
  allow_undefined_flag=' -expect_unresolved \*'
9573
- 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'
9998
+ 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'
9574
9999
  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~
9575
- $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'
10000
+ $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'
9576
10001
 
9577
10002
  # Both c and cxx compiler support -rpath directly
9578
10003
  hardcode_libdir_flag_spec='-rpath $libdir'
@@ -9583,24 +10008,24 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9583
10008
 
9584
10009
  solaris*)
9585
10010
  no_undefined_flag=' -z defs'
9586
- if test "$GCC" = yes; then
9587
- wlarc='${wl}'
9588
- archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10011
+ if test yes = "$GCC"; then
10012
+ wlarc='$wl'
10013
+ archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9589
10014
  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9590
- $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'
10015
+ $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'
9591
10016
  else
9592
10017
  case `$CC -V 2>&1` in
9593
10018
  *"Compilers 5.0"*)
9594
10019
  wlarc=''
9595
- archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10020
+ archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
9596
10021
  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9597
- $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10022
+ $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9598
10023
  ;;
9599
10024
  *)
9600
- wlarc='${wl}'
9601
- archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10025
+ wlarc='$wl'
10026
+ archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9602
10027
  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9603
- $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10028
+ $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9604
10029
  ;;
9605
10030
  esac
9606
10031
  fi
@@ -9610,11 +10035,11 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9610
10035
  solaris2.[0-5] | solaris2.[0-5].*) ;;
9611
10036
  *)
9612
10037
  # The compiler driver will combine and reorder linker options,
9613
- # but understands `-z linker_flag'. GCC discards it without `$wl',
10038
+ # but understands '-z linker_flag'. GCC discards it without '$wl',
9614
10039
  # but is careful enough not to reorder.
9615
10040
  # Supported since Solaris 2.6 (maybe 2.5.1?)
9616
- if test "$GCC" = yes; then
9617
- whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10041
+ if test yes = "$GCC"; then
10042
+ whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
9618
10043
  else
9619
10044
  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9620
10045
  fi
@@ -9624,10 +10049,10 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9624
10049
  ;;
9625
10050
 
9626
10051
  sunos4*)
9627
- if test "x$host_vendor" = xsequent; then
10052
+ if test sequent = "$host_vendor"; then
9628
10053
  # Use $CC to link under sequent, because it throws in some extra .o
9629
10054
  # files that make .init and .fini sections work.
9630
- archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10055
+ archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9631
10056
  else
9632
10057
  archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9633
10058
  fi
@@ -9676,43 +10101,43 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9676
10101
  ;;
9677
10102
 
9678
10103
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9679
- no_undefined_flag='${wl}-z,text'
10104
+ no_undefined_flag='$wl-z,text'
9680
10105
  archive_cmds_need_lc=no
9681
10106
  hardcode_shlibpath_var=no
9682
10107
  runpath_var='LD_RUN_PATH'
9683
10108
 
9684
- if test "$GCC" = yes; then
9685
- archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9686
- archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10109
+ if test yes = "$GCC"; then
10110
+ archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10111
+ archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9687
10112
  else
9688
- archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9689
- archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10113
+ archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10114
+ archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9690
10115
  fi
9691
10116
  ;;
9692
10117
 
9693
10118
  sysv5* | sco3.2v5* | sco5v6*)
9694
- # Note: We can NOT use -z defs as we might desire, because we do not
10119
+ # Note: We CANNOT use -z defs as we might desire, because we do not
9695
10120
  # link with -lc, and that would cause any symbols used from libc to
9696
10121
  # always be unresolved, which means just about no library would
9697
10122
  # ever link correctly. If we're not using GNU ld we use -z text
9698
10123
  # though, which does catch some bad symbols but isn't as heavy-handed
9699
10124
  # as -z defs.
9700
- no_undefined_flag='${wl}-z,text'
9701
- allow_undefined_flag='${wl}-z,nodefs'
10125
+ no_undefined_flag='$wl-z,text'
10126
+ allow_undefined_flag='$wl-z,nodefs'
9702
10127
  archive_cmds_need_lc=no
9703
10128
  hardcode_shlibpath_var=no
9704
- hardcode_libdir_flag_spec='${wl}-R,$libdir'
10129
+ hardcode_libdir_flag_spec='$wl-R,$libdir'
9705
10130
  hardcode_libdir_separator=':'
9706
10131
  link_all_deplibs=yes
9707
- export_dynamic_flag_spec='${wl}-Bexport'
10132
+ export_dynamic_flag_spec='$wl-Bexport'
9708
10133
  runpath_var='LD_RUN_PATH'
9709
10134
 
9710
- if test "$GCC" = yes; then
9711
- archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9712
- archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10135
+ if test yes = "$GCC"; then
10136
+ archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10137
+ archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9713
10138
  else
9714
- archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9715
- archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10139
+ archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10140
+ archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9716
10141
  fi
9717
10142
  ;;
9718
10143
 
@@ -9727,10 +10152,10 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9727
10152
  ;;
9728
10153
  esac
9729
10154
 
9730
- if test x$host_vendor = xsni; then
10155
+ if test sni = "$host_vendor"; then
9731
10156
  case $host in
9732
10157
  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9733
- export_dynamic_flag_spec='${wl}-Blargedynsym'
10158
+ export_dynamic_flag_spec='$wl-Blargedynsym'
9734
10159
  ;;
9735
10160
  esac
9736
10161
  fi
@@ -9738,7 +10163,7 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9738
10163
 
9739
10164
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9740
10165
  $as_echo "$ld_shlibs" >&6; }
9741
- test "$ld_shlibs" = no && can_build_shared=no
10166
+ test no = "$ld_shlibs" && can_build_shared=no
9742
10167
 
9743
10168
  with_gnu_ld=$with_gnu_ld
9744
10169
 
@@ -9764,7 +10189,7 @@ x|xyes)
9764
10189
  # Assume -lc should be added
9765
10190
  archive_cmds_need_lc=yes
9766
10191
 
9767
- if test "$enable_shared" = yes && test "$GCC" = yes; then
10192
+ if test yes,yes = "$GCC,$enable_shared"; then
9768
10193
  case $archive_cmds in
9769
10194
  *'~'*)
9770
10195
  # FIXME: we may have to deal with multi-command sequences.
@@ -9979,14 +10404,14 @@ esac
9979
10404
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9980
10405
  $as_echo_n "checking dynamic linker characteristics... " >&6; }
9981
10406
 
9982
- if test "$GCC" = yes; then
10407
+ if test yes = "$GCC"; then
9983
10408
  case $host_os in
9984
- darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9985
- *) lt_awk_arg="/^libraries:/" ;;
10409
+ darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10410
+ *) lt_awk_arg='/^libraries:/' ;;
9986
10411
  esac
9987
10412
  case $host_os in
9988
- mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9989
- *) lt_sed_strip_eq="s,=/,/,g" ;;
10413
+ mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10414
+ *) lt_sed_strip_eq='s|=/|/|g' ;;
9990
10415
  esac
9991
10416
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9992
10417
  case $lt_search_path_spec in
@@ -10002,28 +10427,35 @@ if test "$GCC" = yes; then
10002
10427
  ;;
10003
10428
  esac
10004
10429
  # Ok, now we have the path, separated by spaces, we can step through it
10005
- # and add multilib dir if necessary.
10430
+ # and add multilib dir if necessary...
10006
10431
  lt_tmp_lt_search_path_spec=
10007
- lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10432
+ lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10433
+ # ...but if some path component already ends with the multilib dir we assume
10434
+ # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10435
+ case "$lt_multi_os_dir; $lt_search_path_spec " in
10436
+ "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10437
+ lt_multi_os_dir=
10438
+ ;;
10439
+ esac
10008
10440
  for lt_sys_path in $lt_search_path_spec; do
10009
- if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10010
- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10011
- else
10441
+ if test -d "$lt_sys_path$lt_multi_os_dir"; then
10442
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10443
+ elif test -n "$lt_multi_os_dir"; then
10012
10444
  test -d "$lt_sys_path" && \
10013
10445
  lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10014
10446
  fi
10015
10447
  done
10016
10448
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10017
- BEGIN {RS=" "; FS="/|\n";} {
10018
- lt_foo="";
10019
- lt_count=0;
10449
+ BEGIN {RS = " "; FS = "/|\n";} {
10450
+ lt_foo = "";
10451
+ lt_count = 0;
10020
10452
  for (lt_i = NF; lt_i > 0; lt_i--) {
10021
10453
  if ($lt_i != "" && $lt_i != ".") {
10022
10454
  if ($lt_i == "..") {
10023
10455
  lt_count++;
10024
10456
  } else {
10025
10457
  if (lt_count == 0) {
10026
- lt_foo="/" $lt_i lt_foo;
10458
+ lt_foo = "/" $lt_i lt_foo;
10027
10459
  } else {
10028
10460
  lt_count--;
10029
10461
  }
@@ -10037,7 +10469,7 @@ BEGIN {RS=" "; FS="/|\n";} {
10037
10469
  # for these hosts.
10038
10470
  case $host_os in
10039
10471
  mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10040
- $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10472
+ $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10041
10473
  esac
10042
10474
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10043
10475
  else
@@ -10046,7 +10478,7 @@ fi
10046
10478
  library_names_spec=
10047
10479
  libname_spec='lib$name'
10048
10480
  soname_spec=
10049
- shrext_cmds=".so"
10481
+ shrext_cmds=.so
10050
10482
  postinstall_cmds=
10051
10483
  postuninstall_cmds=
10052
10484
  finish_cmds=
@@ -10063,14 +10495,16 @@ hardcode_into_libs=no
10063
10495
  # flags to be left without arguments
10064
10496
  need_version=unknown
10065
10497
 
10498
+
10499
+
10066
10500
  case $host_os in
10067
10501
  aix3*)
10068
10502
  version_type=linux # correct to gnu/linux during the next big refactor
10069
- library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10503
+ library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10070
10504
  shlibpath_var=LIBPATH
10071
10505
 
10072
10506
  # AIX 3 has no versioning support, so we append a major version to the name.
10073
- soname_spec='${libname}${release}${shared_ext}$major'
10507
+ soname_spec='$libname$release$shared_ext$major'
10074
10508
  ;;
10075
10509
 
10076
10510
  aix[4-9]*)
@@ -10078,41 +10512,91 @@ aix[4-9]*)
10078
10512
  need_lib_prefix=no
10079
10513
  need_version=no
10080
10514
  hardcode_into_libs=yes
10081
- if test "$host_cpu" = ia64; then
10515
+ if test ia64 = "$host_cpu"; then
10082
10516
  # AIX 5 supports IA64
10083
- library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10517
+ library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10084
10518
  shlibpath_var=LD_LIBRARY_PATH
10085
10519
  else
10086
10520
  # With GCC up to 2.95.x, collect2 would create an import file
10087
10521
  # for dependence libraries. The import file would start with
10088
- # the line `#! .'. This would cause the generated library to
10089
- # depend on `.', always an invalid library. This was fixed in
10522
+ # the line '#! .'. This would cause the generated library to
10523
+ # depend on '.', always an invalid library. This was fixed in
10090
10524
  # development snapshots of GCC prior to 3.0.
10091
10525
  case $host_os in
10092
10526
  aix4 | aix4.[01] | aix4.[01].*)
10093
10527
  if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10094
10528
  echo ' yes '
10095
- echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10529
+ echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10096
10530
  :
10097
10531
  else
10098
10532
  can_build_shared=no
10099
10533
  fi
10100
10534
  ;;
10101
10535
  esac
10102
- # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10536
+ # Using Import Files as archive members, it is possible to support
10537
+ # filename-based versioning of shared library archives on AIX. While
10538
+ # this would work for both with and without runtime linking, it will
10539
+ # prevent static linking of such archives. So we do filename-based
10540
+ # shared library versioning with .so extension only, which is used
10541
+ # when both runtime linking and shared linking is enabled.
10542
+ # Unfortunately, runtime linking may impact performance, so we do
10543
+ # not want this to be the default eventually. Also, we use the
10544
+ # versioned .so libs for executables only if there is the -brtl
10545
+ # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10546
+ # To allow for filename-based versioning support, we need to create
10547
+ # libNAME.so.V as an archive file, containing:
10548
+ # *) an Import File, referring to the versioned filename of the
10549
+ # archive as well as the shared archive member, telling the
10550
+ # bitwidth (32 or 64) of that shared object, and providing the
10551
+ # list of exported symbols of that shared object, eventually
10552
+ # decorated with the 'weak' keyword
10553
+ # *) the shared object with the F_LOADONLY flag set, to really avoid
10554
+ # it being seen by the linker.
10555
+ # At run time we better use the real file rather than another symlink,
10556
+ # but for link time we create the symlink libNAME.so -> libNAME.so.V
10557
+
10558
+ case $with_aix_soname,$aix_use_runtimelinking in
10559
+ # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10103
10560
  # soname into executable. Probably we can add versioning support to
10104
10561
  # collect2, so additional links can be useful in future.
10105
- if test "$aix_use_runtimelinking" = yes; then
10562
+ aix,yes) # traditional libtool
10563
+ dynamic_linker='AIX unversionable lib.so'
10106
10564
  # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10107
10565
  # instead of lib<name>.a to let people know that these are not
10108
10566
  # typical AIX shared libraries.
10109
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10110
- else
10567
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10568
+ ;;
10569
+ aix,no) # traditional AIX only
10570
+ dynamic_linker='AIX lib.a(lib.so.V)'
10111
10571
  # We preserve .a as extension for shared libraries through AIX4.2
10112
10572
  # and later when we are not doing run time linking.
10113
- library_names_spec='${libname}${release}.a $libname.a'
10114
- soname_spec='${libname}${release}${shared_ext}$major'
10115
- fi
10573
+ library_names_spec='$libname$release.a $libname.a'
10574
+ soname_spec='$libname$release$shared_ext$major'
10575
+ ;;
10576
+ svr4,*) # full svr4 only
10577
+ dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10578
+ library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10579
+ # We do not specify a path in Import Files, so LIBPATH fires.
10580
+ shlibpath_overrides_runpath=yes
10581
+ ;;
10582
+ *,yes) # both, prefer svr4
10583
+ dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10584
+ library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10585
+ # unpreferred sharedlib libNAME.a needs extra handling
10586
+ 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"'
10587
+ 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"'
10588
+ # We do not specify a path in Import Files, so LIBPATH fires.
10589
+ shlibpath_overrides_runpath=yes
10590
+ ;;
10591
+ *,no) # both, prefer aix
10592
+ dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10593
+ library_names_spec='$libname$release.a $libname.a'
10594
+ soname_spec='$libname$release$shared_ext$major'
10595
+ # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10596
+ 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)'
10597
+ 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"'
10598
+ ;;
10599
+ esac
10116
10600
  shlibpath_var=LIBPATH
10117
10601
  fi
10118
10602
  ;;
@@ -10122,18 +10606,18 @@ amigaos*)
10122
10606
  powerpc)
10123
10607
  # Since July 2007 AmigaOS4 officially supports .so libraries.
10124
10608
  # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10125
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10609
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10126
10610
  ;;
10127
10611
  m68k)
10128
10612
  library_names_spec='$libname.ixlibrary $libname.a'
10129
10613
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
10130
- finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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'
10614
+ 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'
10131
10615
  ;;
10132
10616
  esac
10133
10617
  ;;
10134
10618
 
10135
10619
  beos*)
10136
- library_names_spec='${libname}${shared_ext}'
10620
+ library_names_spec='$libname$shared_ext'
10137
10621
  dynamic_linker="$host_os ld.so"
10138
10622
  shlibpath_var=LIBRARY_PATH
10139
10623
  ;;
@@ -10141,8 +10625,8 @@ beos*)
10141
10625
  bsdi[45]*)
10142
10626
  version_type=linux # correct to gnu/linux during the next big refactor
10143
10627
  need_version=no
10144
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10145
- soname_spec='${libname}${release}${shared_ext}$major'
10628
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10629
+ soname_spec='$libname$release$shared_ext$major'
10146
10630
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10147
10631
  shlibpath_var=LD_LIBRARY_PATH
10148
10632
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
@@ -10154,7 +10638,7 @@ bsdi[45]*)
10154
10638
 
10155
10639
  cygwin* | mingw* | pw32* | cegcc*)
10156
10640
  version_type=windows
10157
- shrext_cmds=".dll"
10641
+ shrext_cmds=.dll
10158
10642
  need_version=no
10159
10643
  need_lib_prefix=no
10160
10644
 
@@ -10163,8 +10647,8 @@ cygwin* | mingw* | pw32* | cegcc*)
10163
10647
  # gcc
10164
10648
  library_names_spec='$libname.dll.a'
10165
10649
  # DLL is installed to $(libdir)/../bin by postinstall_cmds
10166
- postinstall_cmds='base_file=`basename \${file}`~
10167
- dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10650
+ postinstall_cmds='base_file=`basename \$file`~
10651
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10168
10652
  dldir=$destdir/`dirname \$dlpath`~
10169
10653
  test -d \$dldir || mkdir -p \$dldir~
10170
10654
  $install_prog $dir/$dlname \$dldir/$dlname~
@@ -10180,17 +10664,17 @@ cygwin* | mingw* | pw32* | cegcc*)
10180
10664
  case $host_os in
10181
10665
  cygwin*)
10182
10666
  # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10183
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10667
+ soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10184
10668
 
10185
10669
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10186
10670
  ;;
10187
10671
  mingw* | cegcc*)
10188
10672
  # MinGW DLLs use traditional 'lib' prefix
10189
- soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10673
+ soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10190
10674
  ;;
10191
10675
  pw32*)
10192
10676
  # pw32 DLLs use 'pw' prefix rather than 'lib'
10193
- library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10677
+ library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10194
10678
  ;;
10195
10679
  esac
10196
10680
  dynamic_linker='Win32 ld.exe'
@@ -10199,8 +10683,8 @@ cygwin* | mingw* | pw32* | cegcc*)
10199
10683
  *,cl*)
10200
10684
  # Native MSVC
10201
10685
  libname_spec='$name'
10202
- soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10203
- library_names_spec='${libname}.dll.lib'
10686
+ soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10687
+ library_names_spec='$libname.dll.lib'
10204
10688
 
10205
10689
  case $build_os in
10206
10690
  mingw*)
@@ -10227,7 +10711,7 @@ cygwin* | mingw* | pw32* | cegcc*)
10227
10711
  sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10228
10712
  ;;
10229
10713
  *)
10230
- sys_lib_search_path_spec="$LIB"
10714
+ sys_lib_search_path_spec=$LIB
10231
10715
  if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10232
10716
  # It is most probably a Windows format PATH.
10233
10717
  sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
@@ -10240,8 +10724,8 @@ cygwin* | mingw* | pw32* | cegcc*)
10240
10724
  esac
10241
10725
 
10242
10726
  # DLL is installed to $(libdir)/../bin by postinstall_cmds
10243
- postinstall_cmds='base_file=`basename \${file}`~
10244
- dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10727
+ postinstall_cmds='base_file=`basename \$file`~
10728
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10245
10729
  dldir=$destdir/`dirname \$dlpath`~
10246
10730
  test -d \$dldir || mkdir -p \$dldir~
10247
10731
  $install_prog $dir/$dlname \$dldir/$dlname'
@@ -10254,7 +10738,7 @@ cygwin* | mingw* | pw32* | cegcc*)
10254
10738
 
10255
10739
  *)
10256
10740
  # Assume MSVC wrapper
10257
- library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10741
+ library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
10258
10742
  dynamic_linker='Win32 ld.exe'
10259
10743
  ;;
10260
10744
  esac
@@ -10267,8 +10751,8 @@ darwin* | rhapsody*)
10267
10751
  version_type=darwin
10268
10752
  need_lib_prefix=no
10269
10753
  need_version=no
10270
- library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10271
- soname_spec='${libname}${release}${major}$shared_ext'
10754
+ library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
10755
+ soname_spec='$libname$release$major$shared_ext'
10272
10756
  shlibpath_overrides_runpath=yes
10273
10757
  shlibpath_var=DYLD_LIBRARY_PATH
10274
10758
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
@@ -10281,8 +10765,8 @@ dgux*)
10281
10765
  version_type=linux # correct to gnu/linux during the next big refactor
10282
10766
  need_lib_prefix=no
10283
10767
  need_version=no
10284
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10285
- soname_spec='${libname}${release}${shared_ext}$major'
10768
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10769
+ soname_spec='$libname$release$shared_ext$major'
10286
10770
  shlibpath_var=LD_LIBRARY_PATH
10287
10771
  ;;
10288
10772
 
@@ -10300,12 +10784,13 @@ freebsd* | dragonfly*)
10300
10784
  version_type=freebsd-$objformat
10301
10785
  case $version_type in
10302
10786
  freebsd-elf*)
10303
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10787
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10788
+ soname_spec='$libname$release$shared_ext$major'
10304
10789
  need_version=no
10305
10790
  need_lib_prefix=no
10306
10791
  ;;
10307
10792
  freebsd-*)
10308
- library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10793
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10309
10794
  need_version=yes
10310
10795
  ;;
10311
10796
  esac
@@ -10335,10 +10820,10 @@ haiku*)
10335
10820
  need_lib_prefix=no
10336
10821
  need_version=no
10337
10822
  dynamic_linker="$host_os runtime_loader"
10338
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10339
- soname_spec='${libname}${release}${shared_ext}$major'
10823
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10824
+ soname_spec='$libname$release$shared_ext$major'
10340
10825
  shlibpath_var=LIBRARY_PATH
10341
- shlibpath_overrides_runpath=yes
10826
+ shlibpath_overrides_runpath=no
10342
10827
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10343
10828
  hardcode_into_libs=yes
10344
10829
  ;;
@@ -10356,14 +10841,15 @@ hpux9* | hpux10* | hpux11*)
10356
10841
  dynamic_linker="$host_os dld.so"
10357
10842
  shlibpath_var=LD_LIBRARY_PATH
10358
10843
  shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10359
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10360
- soname_spec='${libname}${release}${shared_ext}$major'
10361
- if test "X$HPUX_IA64_MODE" = X32; then
10844
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10845
+ soname_spec='$libname$release$shared_ext$major'
10846
+ if test 32 = "$HPUX_IA64_MODE"; then
10362
10847
  sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10848
+ sys_lib_dlsearch_path_spec=/usr/lib/hpux32
10363
10849
  else
10364
10850
  sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10851
+ sys_lib_dlsearch_path_spec=/usr/lib/hpux64
10365
10852
  fi
10366
- sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10367
10853
  ;;
10368
10854
  hppa*64*)
10369
10855
  shrext_cmds='.sl'
@@ -10371,8 +10857,8 @@ hpux9* | hpux10* | hpux11*)
10371
10857
  dynamic_linker="$host_os dld.sl"
10372
10858
  shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10373
10859
  shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10374
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10375
- soname_spec='${libname}${release}${shared_ext}$major'
10860
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10861
+ soname_spec='$libname$release$shared_ext$major'
10376
10862
  sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10377
10863
  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10378
10864
  ;;
@@ -10381,8 +10867,8 @@ hpux9* | hpux10* | hpux11*)
10381
10867
  dynamic_linker="$host_os dld.sl"
10382
10868
  shlibpath_var=SHLIB_PATH
10383
10869
  shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10384
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10385
- soname_spec='${libname}${release}${shared_ext}$major'
10870
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10871
+ soname_spec='$libname$release$shared_ext$major'
10386
10872
  ;;
10387
10873
  esac
10388
10874
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
@@ -10395,8 +10881,8 @@ interix[3-9]*)
10395
10881
  version_type=linux # correct to gnu/linux during the next big refactor
10396
10882
  need_lib_prefix=no
10397
10883
  need_version=no
10398
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10399
- soname_spec='${libname}${release}${shared_ext}$major'
10884
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10885
+ soname_spec='$libname$release$shared_ext$major'
10400
10886
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10401
10887
  shlibpath_var=LD_LIBRARY_PATH
10402
10888
  shlibpath_overrides_runpath=no
@@ -10407,7 +10893,7 @@ irix5* | irix6* | nonstopux*)
10407
10893
  case $host_os in
10408
10894
  nonstopux*) version_type=nonstopux ;;
10409
10895
  *)
10410
- if test "$lt_cv_prog_gnu_ld" = yes; then
10896
+ if test yes = "$lt_cv_prog_gnu_ld"; then
10411
10897
  version_type=linux # correct to gnu/linux during the next big refactor
10412
10898
  else
10413
10899
  version_type=irix
@@ -10415,8 +10901,8 @@ irix5* | irix6* | nonstopux*)
10415
10901
  esac
10416
10902
  need_lib_prefix=no
10417
10903
  need_version=no
10418
- soname_spec='${libname}${release}${shared_ext}$major'
10419
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10904
+ soname_spec='$libname$release$shared_ext$major'
10905
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
10420
10906
  case $host_os in
10421
10907
  irix5* | nonstopux*)
10422
10908
  libsuff= shlibsuff=
@@ -10435,8 +10921,8 @@ irix5* | irix6* | nonstopux*)
10435
10921
  esac
10436
10922
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10437
10923
  shlibpath_overrides_runpath=no
10438
- sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10439
- sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10924
+ sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
10925
+ sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
10440
10926
  hardcode_into_libs=yes
10441
10927
  ;;
10442
10928
 
@@ -10445,13 +10931,33 @@ linux*oldld* | linux*aout* | linux*coff*)
10445
10931
  dynamic_linker=no
10446
10932
  ;;
10447
10933
 
10934
+ linux*android*)
10935
+ version_type=none # Android doesn't support versioned libraries.
10936
+ need_lib_prefix=no
10937
+ need_version=no
10938
+ library_names_spec='$libname$release$shared_ext'
10939
+ soname_spec='$libname$release$shared_ext'
10940
+ finish_cmds=
10941
+ shlibpath_var=LD_LIBRARY_PATH
10942
+ shlibpath_overrides_runpath=yes
10943
+
10944
+ # This implies no fast_install, which is unacceptable.
10945
+ # Some rework will be needed to allow for fast_install
10946
+ # before this can be enabled.
10947
+ hardcode_into_libs=yes
10948
+
10949
+ dynamic_linker='Android linker'
10950
+ # Don't embed -rpath directories since the linker doesn't support them.
10951
+ hardcode_libdir_flag_spec='-L$libdir'
10952
+ ;;
10953
+
10448
10954
  # This must be glibc/ELF.
10449
10955
  linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10450
10956
  version_type=linux # correct to gnu/linux during the next big refactor
10451
10957
  need_lib_prefix=no
10452
10958
  need_version=no
10453
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10454
- soname_spec='${libname}${release}${shared_ext}$major'
10959
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10960
+ soname_spec='$libname$release$shared_ext$major'
10455
10961
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10456
10962
  shlibpath_var=LD_LIBRARY_PATH
10457
10963
  shlibpath_overrides_runpath=no
@@ -10495,7 +11001,12 @@ fi
10495
11001
  # before this can be enabled.
10496
11002
  hardcode_into_libs=yes
10497
11003
 
10498
- # Append ld.so.conf contents to the search path
11004
+ # Ideally, we could use ldconfig to report *all* directores which are
11005
+ # searched for libraries, however this is still not possible. Aside from not
11006
+ # being certain /sbin/ldconfig is available, command
11007
+ # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11008
+ # even though it is searched at run-time. Try to do the best guess by
11009
+ # appending ld.so.conf contents (and includes) to the search path.
10499
11010
  if test -f /etc/ld.so.conf; then
10500
11011
  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' ' '`
10501
11012
  sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
@@ -10527,12 +11038,12 @@ netbsd*)
10527
11038
  need_lib_prefix=no
10528
11039
  need_version=no
10529
11040
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10530
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11041
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10531
11042
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10532
11043
  dynamic_linker='NetBSD (a.out) ld.so'
10533
11044
  else
10534
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10535
- soname_spec='${libname}${release}${shared_ext}$major'
11045
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11046
+ soname_spec='$libname$release$shared_ext$major'
10536
11047
  dynamic_linker='NetBSD ld.elf_so'
10537
11048
  fi
10538
11049
  shlibpath_var=LD_LIBRARY_PATH
@@ -10542,7 +11053,7 @@ netbsd*)
10542
11053
 
10543
11054
  newsos6)
10544
11055
  version_type=linux # correct to gnu/linux during the next big refactor
10545
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11056
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10546
11057
  shlibpath_var=LD_LIBRARY_PATH
10547
11058
  shlibpath_overrides_runpath=yes
10548
11059
  ;;
@@ -10551,58 +11062,68 @@ newsos6)
10551
11062
  version_type=qnx
10552
11063
  need_lib_prefix=no
10553
11064
  need_version=no
10554
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10555
- soname_spec='${libname}${release}${shared_ext}$major'
11065
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11066
+ soname_spec='$libname$release$shared_ext$major'
10556
11067
  shlibpath_var=LD_LIBRARY_PATH
10557
11068
  shlibpath_overrides_runpath=no
10558
11069
  hardcode_into_libs=yes
10559
11070
  dynamic_linker='ldqnx.so'
10560
11071
  ;;
10561
11072
 
10562
- openbsd*)
11073
+ openbsd* | bitrig*)
10563
11074
  version_type=sunos
10564
- sys_lib_dlsearch_path_spec="/usr/lib"
11075
+ sys_lib_dlsearch_path_spec=/usr/lib
10565
11076
  need_lib_prefix=no
10566
- # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10567
- case $host_os in
10568
- openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10569
- *) need_version=no ;;
10570
- esac
10571
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10572
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10573
- shlibpath_var=LD_LIBRARY_PATH
10574
- if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10575
- case $host_os in
10576
- openbsd2.[89] | openbsd2.[89].*)
10577
- shlibpath_overrides_runpath=no
10578
- ;;
10579
- *)
10580
- shlibpath_overrides_runpath=yes
10581
- ;;
10582
- esac
11077
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11078
+ need_version=no
10583
11079
  else
10584
- shlibpath_overrides_runpath=yes
11080
+ need_version=yes
10585
11081
  fi
11082
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11083
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11084
+ shlibpath_var=LD_LIBRARY_PATH
11085
+ shlibpath_overrides_runpath=yes
10586
11086
  ;;
10587
11087
 
10588
11088
  os2*)
10589
11089
  libname_spec='$name'
10590
- shrext_cmds=".dll"
11090
+ version_type=windows
11091
+ shrext_cmds=.dll
11092
+ need_version=no
10591
11093
  need_lib_prefix=no
10592
- library_names_spec='$libname${shared_ext} $libname.a'
11094
+ # OS/2 can only load a DLL with a base name of 8 characters or less.
11095
+ soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11096
+ v=$($ECHO $release$versuffix | tr -d .-);
11097
+ n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11098
+ $ECHO $n$v`$shared_ext'
11099
+ library_names_spec='${libname}_dll.$libext'
10593
11100
  dynamic_linker='OS/2 ld.exe'
10594
- shlibpath_var=LIBPATH
11101
+ shlibpath_var=BEGINLIBPATH
11102
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11103
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11104
+ postinstall_cmds='base_file=`basename \$file`~
11105
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11106
+ dldir=$destdir/`dirname \$dlpath`~
11107
+ test -d \$dldir || mkdir -p \$dldir~
11108
+ $install_prog $dir/$dlname \$dldir/$dlname~
11109
+ chmod a+x \$dldir/$dlname~
11110
+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11111
+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11112
+ fi'
11113
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11114
+ dlpath=$dir/\$dldll~
11115
+ $RM \$dlpath'
10595
11116
  ;;
10596
11117
 
10597
11118
  osf3* | osf4* | osf5*)
10598
11119
  version_type=osf
10599
11120
  need_lib_prefix=no
10600
11121
  need_version=no
10601
- soname_spec='${libname}${release}${shared_ext}$major'
10602
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11122
+ soname_spec='$libname$release$shared_ext$major'
11123
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10603
11124
  shlibpath_var=LD_LIBRARY_PATH
10604
11125
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10605
- sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11126
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10606
11127
  ;;
10607
11128
 
10608
11129
  rdos*)
@@ -10613,8 +11134,8 @@ solaris*)
10613
11134
  version_type=linux # correct to gnu/linux during the next big refactor
10614
11135
  need_lib_prefix=no
10615
11136
  need_version=no
10616
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10617
- soname_spec='${libname}${release}${shared_ext}$major'
11137
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11138
+ soname_spec='$libname$release$shared_ext$major'
10618
11139
  shlibpath_var=LD_LIBRARY_PATH
10619
11140
  shlibpath_overrides_runpath=yes
10620
11141
  hardcode_into_libs=yes
@@ -10624,11 +11145,11 @@ solaris*)
10624
11145
 
10625
11146
  sunos4*)
10626
11147
  version_type=sunos
10627
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11148
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10628
11149
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10629
11150
  shlibpath_var=LD_LIBRARY_PATH
10630
11151
  shlibpath_overrides_runpath=yes
10631
- if test "$with_gnu_ld" = yes; then
11152
+ if test yes = "$with_gnu_ld"; then
10632
11153
  need_lib_prefix=no
10633
11154
  fi
10634
11155
  need_version=yes
@@ -10636,8 +11157,8 @@ sunos4*)
10636
11157
 
10637
11158
  sysv4 | sysv4.3*)
10638
11159
  version_type=linux # correct to gnu/linux during the next big refactor
10639
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10640
- soname_spec='${libname}${release}${shared_ext}$major'
11160
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11161
+ soname_spec='$libname$release$shared_ext$major'
10641
11162
  shlibpath_var=LD_LIBRARY_PATH
10642
11163
  case $host_vendor in
10643
11164
  sni)
@@ -10658,24 +11179,24 @@ sysv4 | sysv4.3*)
10658
11179
  ;;
10659
11180
 
10660
11181
  sysv4*MP*)
10661
- if test -d /usr/nec ;then
11182
+ if test -d /usr/nec; then
10662
11183
  version_type=linux # correct to gnu/linux during the next big refactor
10663
- library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10664
- soname_spec='$libname${shared_ext}.$major'
11184
+ library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11185
+ soname_spec='$libname$shared_ext.$major'
10665
11186
  shlibpath_var=LD_LIBRARY_PATH
10666
11187
  fi
10667
11188
  ;;
10668
11189
 
10669
11190
  sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10670
- version_type=freebsd-elf
11191
+ version_type=sco
10671
11192
  need_lib_prefix=no
10672
11193
  need_version=no
10673
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10674
- soname_spec='${libname}${release}${shared_ext}$major'
11194
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11195
+ soname_spec='$libname$release$shared_ext$major'
10675
11196
  shlibpath_var=LD_LIBRARY_PATH
10676
11197
  shlibpath_overrides_runpath=yes
10677
11198
  hardcode_into_libs=yes
10678
- if test "$with_gnu_ld" = yes; then
11199
+ if test yes = "$with_gnu_ld"; then
10679
11200
  sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10680
11201
  else
10681
11202
  sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
@@ -10693,7 +11214,7 @@ tpf*)
10693
11214
  version_type=linux # correct to gnu/linux during the next big refactor
10694
11215
  need_lib_prefix=no
10695
11216
  need_version=no
10696
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11217
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10697
11218
  shlibpath_var=LD_LIBRARY_PATH
10698
11219
  shlibpath_overrides_runpath=no
10699
11220
  hardcode_into_libs=yes
@@ -10701,8 +11222,8 @@ tpf*)
10701
11222
 
10702
11223
  uts4*)
10703
11224
  version_type=linux # correct to gnu/linux during the next big refactor
10704
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10705
- soname_spec='${libname}${release}${shared_ext}$major'
11225
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11226
+ soname_spec='$libname$release$shared_ext$major'
10706
11227
  shlibpath_var=LD_LIBRARY_PATH
10707
11228
  ;;
10708
11229
 
@@ -10712,20 +11233,35 @@ uts4*)
10712
11233
  esac
10713
11234
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10714
11235
  $as_echo "$dynamic_linker" >&6; }
10715
- test "$dynamic_linker" = no && can_build_shared=no
11236
+ test no = "$dynamic_linker" && can_build_shared=no
10716
11237
 
10717
11238
  variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10718
- if test "$GCC" = yes; then
11239
+ if test yes = "$GCC"; then
10719
11240
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10720
11241
  fi
10721
11242
 
10722
- if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10723
- sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11243
+ if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11244
+ sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
10724
11245
  fi
10725
- if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10726
- sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11246
+
11247
+ if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11248
+ sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
10727
11249
  fi
10728
11250
 
11251
+ # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11252
+ configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11253
+
11254
+ # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11255
+ func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11256
+
11257
+ # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11258
+ configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11259
+
11260
+
11261
+
11262
+
11263
+
11264
+
10729
11265
 
10730
11266
 
10731
11267
 
@@ -10822,15 +11358,15 @@ $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10822
11358
  hardcode_action=
10823
11359
  if test -n "$hardcode_libdir_flag_spec" ||
10824
11360
  test -n "$runpath_var" ||
10825
- test "X$hardcode_automatic" = "Xyes" ; then
11361
+ test yes = "$hardcode_automatic"; then
10826
11362
 
10827
11363
  # We can hardcode non-existent directories.
10828
- if test "$hardcode_direct" != no &&
11364
+ if test no != "$hardcode_direct" &&
10829
11365
  # If the only mechanism to avoid hardcoding is shlibpath_var, we
10830
11366
  # have to relink, otherwise we might link with an installed library
10831
11367
  # when we should be linking with a yet-to-be-installed one
10832
- ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10833
- test "$hardcode_minus_L" != no; then
11368
+ ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11369
+ test no != "$hardcode_minus_L"; then
10834
11370
  # Linking always hardcodes the temporary library directory.
10835
11371
  hardcode_action=relink
10836
11372
  else
@@ -10845,12 +11381,12 @@ fi
10845
11381
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10846
11382
  $as_echo "$hardcode_action" >&6; }
10847
11383
 
10848
- if test "$hardcode_action" = relink ||
10849
- test "$inherit_rpath" = yes; then
11384
+ if test relink = "$hardcode_action" ||
11385
+ test yes = "$inherit_rpath"; then
10850
11386
  # Fast installation is not supported
10851
11387
  enable_fast_install=no
10852
- elif test "$shlibpath_overrides_runpath" = yes ||
10853
- test "$enable_shared" = no; then
11388
+ elif test yes = "$shlibpath_overrides_runpath" ||
11389
+ test no = "$enable_shared"; then
10854
11390
  # Fast installation is not necessary
10855
11391
  enable_fast_install=needless
10856
11392
  fi
@@ -10860,7 +11396,7 @@ fi
10860
11396
 
10861
11397
 
10862
11398
 
10863
- if test "x$enable_dlopen" != xyes; then
11399
+ if test yes != "$enable_dlopen"; then
10864
11400
  enable_dlopen=unknown
10865
11401
  enable_dlopen_self=unknown
10866
11402
  enable_dlopen_self_static=unknown
@@ -10870,23 +11406,23 @@ else
10870
11406
 
10871
11407
  case $host_os in
10872
11408
  beos*)
10873
- lt_cv_dlopen="load_add_on"
11409
+ lt_cv_dlopen=load_add_on
10874
11410
  lt_cv_dlopen_libs=
10875
11411
  lt_cv_dlopen_self=yes
10876
11412
  ;;
10877
11413
 
10878
11414
  mingw* | pw32* | cegcc*)
10879
- lt_cv_dlopen="LoadLibrary"
11415
+ lt_cv_dlopen=LoadLibrary
10880
11416
  lt_cv_dlopen_libs=
10881
11417
  ;;
10882
11418
 
10883
11419
  cygwin*)
10884
- lt_cv_dlopen="dlopen"
11420
+ lt_cv_dlopen=dlopen
10885
11421
  lt_cv_dlopen_libs=
10886
11422
  ;;
10887
11423
 
10888
11424
  darwin*)
10889
- # if libdl is installed we need to link against it
11425
+ # if libdl is installed we need to link against it
10890
11426
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10891
11427
  $as_echo_n "checking for dlopen in -ldl... " >&6; }
10892
11428
  if ${ac_cv_lib_dl_dlopen+:} false; then :
@@ -10924,10 +11460,10 @@ fi
10924
11460
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10925
11461
  $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10926
11462
  if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10927
- lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11463
+ lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
10928
11464
  else
10929
11465
 
10930
- lt_cv_dlopen="dyld"
11466
+ lt_cv_dlopen=dyld
10931
11467
  lt_cv_dlopen_libs=
10932
11468
  lt_cv_dlopen_self=yes
10933
11469
 
@@ -10935,10 +11471,18 @@ fi
10935
11471
 
10936
11472
  ;;
10937
11473
 
11474
+ tpf*)
11475
+ # Don't try to run any link tests for TPF. We know it's impossible
11476
+ # because TPF is a cross-compiler, and we know how we open DSOs.
11477
+ lt_cv_dlopen=dlopen
11478
+ lt_cv_dlopen_libs=
11479
+ lt_cv_dlopen_self=no
11480
+ ;;
11481
+
10938
11482
  *)
10939
11483
  ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10940
11484
  if test "x$ac_cv_func_shl_load" = xyes; then :
10941
- lt_cv_dlopen="shl_load"
11485
+ lt_cv_dlopen=shl_load
10942
11486
  else
10943
11487
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10944
11488
  $as_echo_n "checking for shl_load in -ldld... " >&6; }
@@ -10977,11 +11521,11 @@ fi
10977
11521
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10978
11522
  $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10979
11523
  if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10980
- lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11524
+ lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
10981
11525
  else
10982
11526
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10983
11527
  if test "x$ac_cv_func_dlopen" = xyes; then :
10984
- lt_cv_dlopen="dlopen"
11528
+ lt_cv_dlopen=dlopen
10985
11529
  else
10986
11530
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10987
11531
  $as_echo_n "checking for dlopen in -ldl... " >&6; }
@@ -11020,7 +11564,7 @@ fi
11020
11564
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11021
11565
  $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11022
11566
  if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11023
- lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11567
+ lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11024
11568
  else
11025
11569
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11026
11570
  $as_echo_n "checking for dlopen in -lsvld... " >&6; }
@@ -11059,7 +11603,7 @@ fi
11059
11603
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11060
11604
  $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11061
11605
  if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11062
- lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11606
+ lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11063
11607
  else
11064
11608
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11065
11609
  $as_echo_n "checking for dld_link in -ldld... " >&6; }
@@ -11098,7 +11642,7 @@ fi
11098
11642
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11099
11643
  $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11100
11644
  if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11101
- lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11645
+ lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11102
11646
  fi
11103
11647
 
11104
11648
 
@@ -11119,21 +11663,21 @@ fi
11119
11663
  ;;
11120
11664
  esac
11121
11665
 
11122
- if test "x$lt_cv_dlopen" != xno; then
11123
- enable_dlopen=yes
11124
- else
11666
+ if test no = "$lt_cv_dlopen"; then
11125
11667
  enable_dlopen=no
11668
+ else
11669
+ enable_dlopen=yes
11126
11670
  fi
11127
11671
 
11128
11672
  case $lt_cv_dlopen in
11129
11673
  dlopen)
11130
- save_CPPFLAGS="$CPPFLAGS"
11131
- test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11674
+ save_CPPFLAGS=$CPPFLAGS
11675
+ test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11132
11676
 
11133
- save_LDFLAGS="$LDFLAGS"
11677
+ save_LDFLAGS=$LDFLAGS
11134
11678
  wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11135
11679
 
11136
- save_LIBS="$LIBS"
11680
+ save_LIBS=$LIBS
11137
11681
  LIBS="$lt_cv_dlopen_libs $LIBS"
11138
11682
 
11139
11683
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
@@ -11141,7 +11685,7 @@ $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11141
11685
  if ${lt_cv_dlopen_self+:} false; then :
11142
11686
  $as_echo_n "(cached) " >&6
11143
11687
  else
11144
- if test "$cross_compiling" = yes; then :
11688
+ if test yes = "$cross_compiling"; then :
11145
11689
  lt_cv_dlopen_self=cross
11146
11690
  else
11147
11691
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
@@ -11188,9 +11732,9 @@ else
11188
11732
  # endif
11189
11733
  #endif
11190
11734
 
11191
- /* When -fvisbility=hidden is used, assume the code has been annotated
11735
+ /* When -fvisibility=hidden is used, assume the code has been annotated
11192
11736
  correspondingly for the symbols needed. */
11193
- #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11737
+ #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11194
11738
  int fnord () __attribute__((visibility("default")));
11195
11739
  #endif
11196
11740
 
@@ -11220,7 +11764,7 @@ _LT_EOF
11220
11764
  (eval $ac_link) 2>&5
11221
11765
  ac_status=$?
11222
11766
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11223
- test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11767
+ test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11224
11768
  (./conftest; exit; ) >&5 2>/dev/null
11225
11769
  lt_status=$?
11226
11770
  case x$lt_status in
@@ -11240,14 +11784,14 @@ fi
11240
11784
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11241
11785
  $as_echo "$lt_cv_dlopen_self" >&6; }
11242
11786
 
11243
- if test "x$lt_cv_dlopen_self" = xyes; then
11787
+ if test yes = "$lt_cv_dlopen_self"; then
11244
11788
  wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11245
11789
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11246
11790
  $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11247
11791
  if ${lt_cv_dlopen_self_static+:} false; then :
11248
11792
  $as_echo_n "(cached) " >&6
11249
11793
  else
11250
- if test "$cross_compiling" = yes; then :
11794
+ if test yes = "$cross_compiling"; then :
11251
11795
  lt_cv_dlopen_self_static=cross
11252
11796
  else
11253
11797
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
@@ -11294,9 +11838,9 @@ else
11294
11838
  # endif
11295
11839
  #endif
11296
11840
 
11297
- /* When -fvisbility=hidden is used, assume the code has been annotated
11841
+ /* When -fvisibility=hidden is used, assume the code has been annotated
11298
11842
  correspondingly for the symbols needed. */
11299
- #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11843
+ #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11300
11844
  int fnord () __attribute__((visibility("default")));
11301
11845
  #endif
11302
11846
 
@@ -11326,7 +11870,7 @@ _LT_EOF
11326
11870
  (eval $ac_link) 2>&5
11327
11871
  ac_status=$?
11328
11872
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11329
- test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11873
+ test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11330
11874
  (./conftest; exit; ) >&5 2>/dev/null
11331
11875
  lt_status=$?
11332
11876
  case x$lt_status in
@@ -11347,9 +11891,9 @@ fi
11347
11891
  $as_echo "$lt_cv_dlopen_self_static" >&6; }
11348
11892
  fi
11349
11893
 
11350
- CPPFLAGS="$save_CPPFLAGS"
11351
- LDFLAGS="$save_LDFLAGS"
11352
- LIBS="$save_LIBS"
11894
+ CPPFLAGS=$save_CPPFLAGS
11895
+ LDFLAGS=$save_LDFLAGS
11896
+ LIBS=$save_LIBS
11353
11897
  ;;
11354
11898
  esac
11355
11899
 
@@ -11393,7 +11937,7 @@ else
11393
11937
  # FIXME - insert some real tests, host_os isn't really good enough
11394
11938
  case $host_os in
11395
11939
  darwin*)
11396
- if test -n "$STRIP" ; then
11940
+ if test -n "$STRIP"; then
11397
11941
  striplib="$STRIP -x"
11398
11942
  old_striplib="$STRIP -S"
11399
11943
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
@@ -11421,7 +11965,7 @@ fi
11421
11965
 
11422
11966
 
11423
11967
 
11424
- # Report which library types will actually be built
11968
+ # Report what library types will actually be built
11425
11969
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11426
11970
  $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11427
11971
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
@@ -11429,13 +11973,13 @@ $as_echo "$can_build_shared" >&6; }
11429
11973
 
11430
11974
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11431
11975
  $as_echo_n "checking whether to build shared libraries... " >&6; }
11432
- test "$can_build_shared" = "no" && enable_shared=no
11976
+ test no = "$can_build_shared" && enable_shared=no
11433
11977
 
11434
11978
  # On AIX, shared libraries and static libraries use the same namespace, and
11435
11979
  # are all built from PIC.
11436
11980
  case $host_os in
11437
11981
  aix3*)
11438
- test "$enable_shared" = yes && enable_static=no
11982
+ test yes = "$enable_shared" && enable_static=no
11439
11983
  if test -n "$RANLIB"; then
11440
11984
  archive_cmds="$archive_cmds~\$RANLIB \$lib"
11441
11985
  postinstall_cmds='$RANLIB $lib'
@@ -11443,8 +11987,12 @@ $as_echo_n "checking whether to build shared libraries... " >&6; }
11443
11987
  ;;
11444
11988
 
11445
11989
  aix[4-9]*)
11446
- if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11447
- test "$enable_shared" = yes && enable_static=no
11990
+ if test ia64 != "$host_cpu"; then
11991
+ case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
11992
+ yes,aix,yes) ;; # shared object as lib.so file only
11993
+ yes,svr4,*) ;; # shared object as lib.so archive member only
11994
+ yes,*) enable_static=no ;; # shared object in lib.a archive as well
11995
+ esac
11448
11996
  fi
11449
11997
  ;;
11450
11998
  esac
@@ -11454,7 +12002,7 @@ $as_echo "$enable_shared" >&6; }
11454
12002
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11455
12003
  $as_echo_n "checking whether to build static libraries... " >&6; }
11456
12004
  # Make sure either enable_shared or enable_static is yes.
11457
- test "$enable_shared" = yes || enable_static=yes
12005
+ test yes = "$enable_shared" || enable_static=yes
11458
12006
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11459
12007
  $as_echo "$enable_static" >&6; }
11460
12008
 
@@ -11468,7 +12016,7 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11468
12016
  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11469
12017
  ac_compiler_gnu=$ac_cv_c_compiler_gnu
11470
12018
 
11471
- CC="$lt_save_CC"
12019
+ CC=$lt_save_CC
11472
12020
 
11473
12021
 
11474
12022
 
@@ -11494,7 +12042,20 @@ CC="$lt_save_CC"
11494
12042
 
11495
12043
 
11496
12044
 
11497
- for ac_header in sys/inotify.h sys/epoll.h sys/event.h port.h poll.h sys/select.h sys/eventfd.h sys/signalfd.h
12045
+ for ac_header in sys/inotify.h sys/epoll.h sys/event.h port.h poll.h sys/timerfd.h
12046
+ do :
12047
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12048
+ ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12049
+ if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12050
+ cat >>confdefs.h <<_ACEOF
12051
+ #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12052
+ _ACEOF
12053
+
12054
+ fi
12055
+
12056
+ done
12057
+
12058
+ for ac_header in sys/select.h sys/eventfd.h sys/signalfd.h linux/aio_abi.h linux/fs.h
11498
12059
  do :
11499
12060
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11500
12061
  ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
@@ -11699,6 +12260,17 @@ fi
11699
12260
  done
11700
12261
 
11701
12262
 
12263
+ ac_fn_c_check_type "$LINENO" "__kernel_rwf_t" "ac_cv_type___kernel_rwf_t" "#include <linux/fs.h>
12264
+ "
12265
+ if test "x$ac_cv_type___kernel_rwf_t" = xyes; then :
12266
+
12267
+
12268
+ $as_echo "#define HAVE_KERNEL_RWF_T 1" >>confdefs.h
12269
+
12270
+
12271
+ fi
12272
+
12273
+
11702
12274
  if test -z "$LIBEV_M4_AVOID_LIBM"; then
11703
12275
  LIBM=m
11704
12276
  fi
@@ -12299,7 +12871,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12299
12871
  # report actual input values of CONFIG_FILES etc. instead of their
12300
12872
  # values after options handling.
12301
12873
  ac_log="
12302
- This file was extended by $as_me, which was
12874
+ This file was extended by libev $as_me 4.33, which was
12303
12875
  generated by GNU Autoconf 2.69. Invocation command line was
12304
12876
 
12305
12877
  CONFIG_FILES = $CONFIG_FILES
@@ -12365,7 +12937,7 @@ _ACEOF
12365
12937
  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12366
12938
  ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12367
12939
  ac_cs_version="\\
12368
- config.status
12940
+ libev config.status 4.33
12369
12941
  configured by $0, generated by GNU Autoconf 2.69,
12370
12942
  with options \\"\$ac_cs_config\\"
12371
12943
 
@@ -12484,7 +13056,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12484
13056
  #
12485
13057
  # INIT-COMMANDS
12486
13058
  #
12487
- AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13059
+ AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
12488
13060
 
12489
13061
 
12490
13062
  # The HP-UX ksh and POSIX shell print the target directory to stdout
@@ -12500,6 +13072,7 @@ enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12500
13072
  enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12501
13073
  pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12502
13074
  enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13075
+ shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
12503
13076
  SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12504
13077
  ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12505
13078
  PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
@@ -12549,10 +13122,13 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12549
13122
  GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12550
13123
  lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12551
13124
  lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13125
+ lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
12552
13126
  lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12553
13127
  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"`'
13128
+ lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
12554
13129
  nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12555
13130
  lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13131
+ lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
12556
13132
  objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12557
13133
  MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12558
13134
  lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
@@ -12617,7 +13193,8 @@ finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12617
13193
  finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12618
13194
  hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12619
13195
  sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12620
- sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13196
+ configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
13197
+ configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
12621
13198
  hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12622
13199
  enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12623
13200
  enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
@@ -12668,9 +13245,12 @@ CFLAGS \
12668
13245
  compiler \
12669
13246
  lt_cv_sys_global_symbol_pipe \
12670
13247
  lt_cv_sys_global_symbol_to_cdecl \
13248
+ lt_cv_sys_global_symbol_to_import \
12671
13249
  lt_cv_sys_global_symbol_to_c_name_address \
12672
13250
  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13251
+ lt_cv_nm_interface \
12673
13252
  nm_file_list_spec \
13253
+ lt_cv_truncate_bin \
12674
13254
  lt_prog_compiler_no_builtin_flag \
12675
13255
  lt_prog_compiler_pic \
12676
13256
  lt_prog_compiler_wl \
@@ -12705,7 +13285,7 @@ old_striplib \
12705
13285
  striplib; do
12706
13286
  case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12707
13287
  *[\\\\\\\`\\"\\\$]*)
12708
- eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13288
+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
12709
13289
  ;;
12710
13290
  *)
12711
13291
  eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
@@ -12732,10 +13312,11 @@ postinstall_cmds \
12732
13312
  postuninstall_cmds \
12733
13313
  finish_cmds \
12734
13314
  sys_lib_search_path_spec \
12735
- sys_lib_dlsearch_path_spec; do
13315
+ configure_time_dlsearch_path \
13316
+ configure_time_lt_sys_library_path; do
12736
13317
  case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12737
13318
  *[\\\\\\\`\\"\\\$]*)
12738
- eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13319
+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
12739
13320
  ;;
12740
13321
  *)
12741
13322
  eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
@@ -12744,19 +13325,16 @@ sys_lib_dlsearch_path_spec; do
12744
13325
  done
12745
13326
 
12746
13327
  ac_aux_dir='$ac_aux_dir'
12747
- xsi_shell='$xsi_shell'
12748
- lt_shell_append='$lt_shell_append'
12749
13328
 
12750
- # See if we are running on zsh, and set the options which allow our
13329
+ # See if we are running on zsh, and set the options that allow our
12751
13330
  # commands through without removal of \ escapes INIT.
12752
- if test -n "\${ZSH_VERSION+set}" ; then
13331
+ if test -n "\${ZSH_VERSION+set}"; then
12753
13332
  setopt NO_GLOB_SUBST
12754
13333
  fi
12755
13334
 
12756
13335
 
12757
13336
  PACKAGE='$PACKAGE'
12758
13337
  VERSION='$VERSION'
12759
- TIMESTAMP='$TIMESTAMP'
12760
13338
  RM='$RM'
12761
13339
  ofile='$ofile'
12762
13340
 
@@ -13374,29 +13952,35 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
13374
13952
  # Older Autoconf quotes --file arguments for eval, but not when files
13375
13953
  # are listed without --file. Let's play safe and only enable the eval
13376
13954
  # if we detect the quoting.
13377
- case $CONFIG_FILES in
13378
- *\'*) eval set x "$CONFIG_FILES" ;;
13379
- *) set x $CONFIG_FILES ;;
13380
- esac
13955
+ # TODO: see whether this extra hack can be removed once we start
13956
+ # requiring Autoconf 2.70 or later.
13957
+ case $CONFIG_FILES in #(
13958
+ *\'*) :
13959
+ eval set x "$CONFIG_FILES" ;; #(
13960
+ *) :
13961
+ set x $CONFIG_FILES ;; #(
13962
+ *) :
13963
+ ;;
13964
+ esac
13381
13965
  shift
13382
- for mf
13966
+ # Used to flag and report bootstrapping failures.
13967
+ am_rc=0
13968
+ for am_mf
13383
13969
  do
13384
13970
  # Strip MF so we end up with the name of the file.
13385
- mf=`echo "$mf" | sed -e 's/:.*$//'`
13386
- # Check whether this is an Automake generated Makefile or not.
13387
- # We used to match only the files named 'Makefile.in', but
13388
- # some people rename them; so instead we look at the file content.
13389
- # Grep'ing the first line is not enough: some people post-process
13390
- # each Makefile.in and add a new line on top of each file to say so.
13391
- # Grep'ing the whole file is not good either: AIX grep has a line
13971
+ am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
13972
+ # Check whether this is an Automake generated Makefile which includes
13973
+ # dependency-tracking related rules and includes.
13974
+ # Grep'ing the whole file directly is not great: AIX grep has a line
13392
13975
  # limit of 2048, but all sed's we know have understand at least 4000.
13393
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13394
- dirpart=`$as_dirname -- "$mf" ||
13395
- $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13396
- X"$mf" : 'X\(//\)[^/]' \| \
13397
- X"$mf" : 'X\(//\)$' \| \
13398
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13399
- $as_echo X"$mf" |
13976
+ sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
13977
+ || continue
13978
+ am_dirpart=`$as_dirname -- "$am_mf" ||
13979
+ $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13980
+ X"$am_mf" : 'X\(//\)[^/]' \| \
13981
+ X"$am_mf" : 'X\(//\)$' \| \
13982
+ X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
13983
+ $as_echo X"$am_mf" |
13400
13984
  sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13401
13985
  s//\1/
13402
13986
  q
@@ -13414,106 +13998,98 @@ $as_echo X"$mf" |
13414
13998
  q
13415
13999
  }
13416
14000
  s/.*/./; q'`
13417
- else
13418
- continue
13419
- fi
13420
- # Extract the definition of DEPDIR, am__include, and am__quote
13421
- # from the Makefile without running 'make'.
13422
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13423
- test -z "$DEPDIR" && continue
13424
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
13425
- test -z "$am__include" && continue
13426
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13427
- # Find all dependency output files, they are included files with
13428
- # $(DEPDIR) in their names. We invoke sed twice because it is the
13429
- # simplest approach to changing $(DEPDIR) to its actual value in the
13430
- # expansion.
13431
- for file in `sed -n "
13432
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13433
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
13434
- # Make sure the directory exists.
13435
- test -f "$dirpart/$file" && continue
13436
- fdir=`$as_dirname -- "$file" ||
13437
- $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13438
- X"$file" : 'X\(//\)[^/]' \| \
13439
- X"$file" : 'X\(//\)$' \| \
13440
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13441
- $as_echo X"$file" |
13442
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13443
- s//\1/
13444
- q
13445
- }
13446
- /^X\(\/\/\)[^/].*/{
14001
+ am_filepart=`$as_basename -- "$am_mf" ||
14002
+ $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
14003
+ X"$am_mf" : 'X\(//\)$' \| \
14004
+ X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
14005
+ $as_echo X/"$am_mf" |
14006
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
13447
14007
  s//\1/
13448
14008
  q
13449
14009
  }
13450
- /^X\(\/\/\)$/{
14010
+ /^X\/\(\/\/\)$/{
13451
14011
  s//\1/
13452
14012
  q
13453
14013
  }
13454
- /^X\(\/\).*/{
14014
+ /^X\/\(\/\).*/{
13455
14015
  s//\1/
13456
14016
  q
13457
14017
  }
13458
14018
  s/.*/./; q'`
13459
- as_dir=$dirpart/$fdir; as_fn_mkdir_p
13460
- # echo "creating $dirpart/$file"
13461
- echo '# dummy' > "$dirpart/$file"
13462
- done
14019
+ { echo "$as_me:$LINENO: cd "$am_dirpart" \
14020
+ && sed -e '/# am--include-marker/d' "$am_filepart" \
14021
+ | $MAKE -f - am--depfiles" >&5
14022
+ (cd "$am_dirpart" \
14023
+ && sed -e '/# am--include-marker/d' "$am_filepart" \
14024
+ | $MAKE -f - am--depfiles) >&5 2>&5
14025
+ ac_status=$?
14026
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
14027
+ (exit $ac_status); } || am_rc=$?
13463
14028
  done
14029
+ if test $am_rc -ne 0; then
14030
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14031
+ $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14032
+ as_fn_error $? "Something went wrong bootstrapping makefile fragments
14033
+ for automatic dependency tracking. Try re-running configure with the
14034
+ '--disable-dependency-tracking' option to at least be able to build
14035
+ the package (albeit without support for automatic dependency tracking).
14036
+ See \`config.log' for more details" "$LINENO" 5; }
14037
+ fi
14038
+ { am_dirpart=; unset am_dirpart;}
14039
+ { am_filepart=; unset am_filepart;}
14040
+ { am_mf=; unset am_mf;}
14041
+ { am_rc=; unset am_rc;}
14042
+ rm -f conftest-deps.mk
13464
14043
  }
13465
14044
  ;;
13466
14045
  "libtool":C)
13467
14046
 
13468
- # See if we are running on zsh, and set the options which allow our
14047
+ # See if we are running on zsh, and set the options that allow our
13469
14048
  # commands through without removal of \ escapes.
13470
- if test -n "${ZSH_VERSION+set}" ; then
14049
+ if test -n "${ZSH_VERSION+set}"; then
13471
14050
  setopt NO_GLOB_SUBST
13472
14051
  fi
13473
14052
 
13474
- cfgfile="${ofile}T"
14053
+ cfgfile=${ofile}T
13475
14054
  trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13476
14055
  $RM "$cfgfile"
13477
14056
 
13478
14057
  cat <<_LT_EOF >> "$cfgfile"
13479
14058
  #! $SHELL
13480
-
13481
- # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13482
- # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13483
- # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14059
+ # Generated automatically by $as_me ($PACKAGE) $VERSION
13484
14060
  # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14061
+
14062
+ # Provide generalized library-building support services.
14063
+ # Written by Gordon Matzigkeit, 1996
14064
+
14065
+ # Copyright (C) 2014 Free Software Foundation, Inc.
14066
+ # This is free software; see the source for copying conditions. There is NO
14067
+ # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14068
+
14069
+ # GNU Libtool is free software; you can redistribute it and/or modify
14070
+ # it under the terms of the GNU General Public License as published by
14071
+ # the Free Software Foundation; either version 2 of of the License, or
14072
+ # (at your option) any later version.
13485
14073
  #
13486
- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13487
- # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
13488
- # Foundation, Inc.
13489
- # Written by Gordon Matzigkeit, 1996
13490
- #
13491
- # This file is part of GNU Libtool.
13492
- #
13493
- # GNU Libtool is free software; you can redistribute it and/or
13494
- # modify it under the terms of the GNU General Public License as
13495
- # published by the Free Software Foundation; either version 2 of
13496
- # the License, or (at your option) any later version.
13497
- #
13498
- # As a special exception to the GNU General Public License,
13499
- # if you distribute this file as part of a program or library that
13500
- # is built using GNU Libtool, you may include this file under the
13501
- # same distribution terms that you use for the rest of that program.
14074
+ # As a special exception to the GNU General Public License, if you
14075
+ # distribute this file as part of a program or library that is built
14076
+ # using GNU Libtool, you may include this file under the same
14077
+ # distribution terms that you use for the rest of that program.
13502
14078
  #
13503
- # GNU Libtool is distributed in the hope that it will be useful,
13504
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
14079
+ # GNU Libtool is distributed in the hope that it will be useful, but
14080
+ # WITHOUT ANY WARRANTY; without even the implied warranty of
13505
14081
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13506
14082
  # GNU General Public License for more details.
13507
14083
  #
13508
14084
  # You should have received a copy of the GNU General Public License
13509
- # along with GNU Libtool; see the file COPYING. If not, a copy
13510
- # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13511
- # obtained by writing to the Free Software Foundation, Inc.,
13512
- # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14085
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
13513
14086
 
13514
14087
 
13515
14088
  # The names of the tagged configurations supported by this script.
13516
- available_tags=""
14089
+ available_tags=''
14090
+
14091
+ # Configured defaults for sys_lib_dlsearch_path munging.
14092
+ : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
13517
14093
 
13518
14094
  # ### BEGIN LIBTOOL CONFIG
13519
14095
 
@@ -13533,6 +14109,9 @@ pic_mode=$pic_mode
13533
14109
  # Whether or not to optimize for fast installation.
13534
14110
  fast_install=$enable_fast_install
13535
14111
 
14112
+ # Shared archive member basename,for filename based shared library versioning on AIX.
14113
+ shared_archive_member_spec=$shared_archive_member_spec
14114
+
13536
14115
  # Shell to use when invoking shell scripts.
13537
14116
  SHELL=$lt_SHELL
13538
14117
 
@@ -13650,18 +14229,27 @@ global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13650
14229
  # Transform the output of nm in a proper C declaration.
13651
14230
  global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13652
14231
 
14232
+ # Transform the output of nm into a list of symbols to manually relocate.
14233
+ global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
14234
+
13653
14235
  # Transform the output of nm in a C name address pair.
13654
14236
  global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13655
14237
 
13656
14238
  # Transform the output of nm in a C name address pair when lib prefix is needed.
13657
14239
  global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13658
14240
 
14241
+ # The name lister interface.
14242
+ nm_interface=$lt_lt_cv_nm_interface
14243
+
13659
14244
  # Specify filename containing input files for \$NM.
13660
14245
  nm_file_list_spec=$lt_nm_file_list_spec
13661
14246
 
13662
- # The root where to search for dependent libraries,and in which our libraries should be installed.
14247
+ # The root where to search for dependent libraries,and where our libraries should be installed.
13663
14248
  lt_sysroot=$lt_sysroot
13664
14249
 
14250
+ # Command to truncate a binary pipe.
14251
+ lt_truncate_bin=$lt_lt_cv_truncate_bin
14252
+
13665
14253
  # The name of the directory that contains temporary libtool files.
13666
14254
  objdir=$objdir
13667
14255
 
@@ -13752,8 +14340,11 @@ hardcode_into_libs=$hardcode_into_libs
13752
14340
  # Compile-time system search path for libraries.
13753
14341
  sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13754
14342
 
13755
- # Run-time system search path for libraries.
13756
- sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14343
+ # Detected run-time system search path for libraries.
14344
+ sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
14345
+
14346
+ # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
14347
+ configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
13757
14348
 
13758
14349
  # Whether dlopen is supported.
13759
14350
  dlopen_support=$enable_dlopen
@@ -13846,13 +14437,13 @@ hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13846
14437
  # Whether we need a single "-rpath" flag with a separated argument.
13847
14438
  hardcode_libdir_separator=$lt_hardcode_libdir_separator
13848
14439
 
13849
- # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14440
+ # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
13850
14441
  # DIR into the resulting binary.
13851
14442
  hardcode_direct=$hardcode_direct
13852
14443
 
13853
- # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14444
+ # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
13854
14445
  # DIR into the resulting binary and the resulting library dependency is
13855
- # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14446
+ # "absolute",i.e impossible to change by setting \$shlibpath_var if the
13856
14447
  # library is relocated.
13857
14448
  hardcode_direct_absolute=$hardcode_direct_absolute
13858
14449
 
@@ -13902,6 +14493,65 @@ hardcode_action=$hardcode_action
13902
14493
 
13903
14494
  # ### END LIBTOOL CONFIG
13904
14495
 
14496
+ _LT_EOF
14497
+
14498
+ cat <<'_LT_EOF' >> "$cfgfile"
14499
+
14500
+ # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
14501
+
14502
+ # func_munge_path_list VARIABLE PATH
14503
+ # -----------------------------------
14504
+ # VARIABLE is name of variable containing _space_ separated list of
14505
+ # directories to be munged by the contents of PATH, which is string
14506
+ # having a format:
14507
+ # "DIR[:DIR]:"
14508
+ # string "DIR[ DIR]" will be prepended to VARIABLE
14509
+ # ":DIR[:DIR]"
14510
+ # string "DIR[ DIR]" will be appended to VARIABLE
14511
+ # "DIRP[:DIRP]::[DIRA:]DIRA"
14512
+ # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
14513
+ # "DIRA[ DIRA]" will be appended to VARIABLE
14514
+ # "DIR[:DIR]"
14515
+ # VARIABLE will be replaced by "DIR[ DIR]"
14516
+ func_munge_path_list ()
14517
+ {
14518
+ case x$2 in
14519
+ x)
14520
+ ;;
14521
+ *:)
14522
+ eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
14523
+ ;;
14524
+ x:*)
14525
+ eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
14526
+ ;;
14527
+ *::*)
14528
+ eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
14529
+ eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
14530
+ ;;
14531
+ *)
14532
+ eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
14533
+ ;;
14534
+ esac
14535
+ }
14536
+
14537
+
14538
+ # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
14539
+ func_cc_basename ()
14540
+ {
14541
+ for cc_temp in $*""; do
14542
+ case $cc_temp in
14543
+ compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14544
+ distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14545
+ \-*) ;;
14546
+ *) break;;
14547
+ esac
14548
+ done
14549
+ func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14550
+ }
14551
+
14552
+
14553
+ # ### END FUNCTIONS SHARED WITH CONFIGURE
14554
+
13905
14555
  _LT_EOF
13906
14556
 
13907
14557
  case $host_os in
@@ -13910,7 +14560,7 @@ _LT_EOF
13910
14560
  # AIX sometimes has problems with the GCC collect2 program. For some
13911
14561
  # reason, if we set the COLLECT_NAMES environment variable, the problems
13912
14562
  # vanish in a puff of smoke.
13913
- if test "X${COLLECT_NAMES+set}" != Xset; then
14563
+ if test set != "${COLLECT_NAMES+set}"; then
13914
14564
  COLLECT_NAMES=
13915
14565
  export COLLECT_NAMES
13916
14566
  fi
@@ -13919,7 +14569,7 @@ _LT_EOF
13919
14569
  esac
13920
14570
 
13921
14571
 
13922
- ltmain="$ac_aux_dir/ltmain.sh"
14572
+ ltmain=$ac_aux_dir/ltmain.sh
13923
14573
 
13924
14574
 
13925
14575
  # We use sed instead of cat because bash on DJGPP gets confused if
@@ -13929,165 +14579,6 @@ ltmain="$ac_aux_dir/ltmain.sh"
13929
14579
  sed '$q' "$ltmain" >> "$cfgfile" \
13930
14580
  || (rm -f "$cfgfile"; exit 1)
13931
14581
 
13932
- if test x"$xsi_shell" = xyes; then
13933
- sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
13934
- func_dirname ()\
13935
- {\
13936
- \ case ${1} in\
13937
- \ */*) func_dirname_result="${1%/*}${2}" ;;\
13938
- \ * ) func_dirname_result="${3}" ;;\
13939
- \ esac\
13940
- } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
13941
- && mv -f "$cfgfile.tmp" "$cfgfile" \
13942
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13943
- test 0 -eq $? || _lt_function_replace_fail=:
13944
-
13945
-
13946
- sed -e '/^func_basename ()$/,/^} # func_basename /c\
13947
- func_basename ()\
13948
- {\
13949
- \ func_basename_result="${1##*/}"\
13950
- } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
13951
- && mv -f "$cfgfile.tmp" "$cfgfile" \
13952
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13953
- test 0 -eq $? || _lt_function_replace_fail=:
13954
-
13955
-
13956
- sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
13957
- func_dirname_and_basename ()\
13958
- {\
13959
- \ case ${1} in\
13960
- \ */*) func_dirname_result="${1%/*}${2}" ;;\
13961
- \ * ) func_dirname_result="${3}" ;;\
13962
- \ esac\
13963
- \ func_basename_result="${1##*/}"\
13964
- } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
13965
- && mv -f "$cfgfile.tmp" "$cfgfile" \
13966
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13967
- test 0 -eq $? || _lt_function_replace_fail=:
13968
-
13969
-
13970
- sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
13971
- func_stripname ()\
13972
- {\
13973
- \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
13974
- \ # positional parameters, so assign one to ordinary parameter first.\
13975
- \ func_stripname_result=${3}\
13976
- \ func_stripname_result=${func_stripname_result#"${1}"}\
13977
- \ func_stripname_result=${func_stripname_result%"${2}"}\
13978
- } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
13979
- && mv -f "$cfgfile.tmp" "$cfgfile" \
13980
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13981
- test 0 -eq $? || _lt_function_replace_fail=:
13982
-
13983
-
13984
- sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
13985
- func_split_long_opt ()\
13986
- {\
13987
- \ func_split_long_opt_name=${1%%=*}\
13988
- \ func_split_long_opt_arg=${1#*=}\
13989
- } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
13990
- && mv -f "$cfgfile.tmp" "$cfgfile" \
13991
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13992
- test 0 -eq $? || _lt_function_replace_fail=:
13993
-
13994
-
13995
- sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
13996
- func_split_short_opt ()\
13997
- {\
13998
- \ func_split_short_opt_arg=${1#??}\
13999
- \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14000
- } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14001
- && mv -f "$cfgfile.tmp" "$cfgfile" \
14002
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14003
- test 0 -eq $? || _lt_function_replace_fail=:
14004
-
14005
-
14006
- sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14007
- func_lo2o ()\
14008
- {\
14009
- \ case ${1} in\
14010
- \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14011
- \ *) func_lo2o_result=${1} ;;\
14012
- \ esac\
14013
- } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14014
- && mv -f "$cfgfile.tmp" "$cfgfile" \
14015
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14016
- test 0 -eq $? || _lt_function_replace_fail=:
14017
-
14018
-
14019
- sed -e '/^func_xform ()$/,/^} # func_xform /c\
14020
- func_xform ()\
14021
- {\
14022
- func_xform_result=${1%.*}.lo\
14023
- } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14024
- && mv -f "$cfgfile.tmp" "$cfgfile" \
14025
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14026
- test 0 -eq $? || _lt_function_replace_fail=:
14027
-
14028
-
14029
- sed -e '/^func_arith ()$/,/^} # func_arith /c\
14030
- func_arith ()\
14031
- {\
14032
- func_arith_result=$(( $* ))\
14033
- } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14034
- && mv -f "$cfgfile.tmp" "$cfgfile" \
14035
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14036
- test 0 -eq $? || _lt_function_replace_fail=:
14037
-
14038
-
14039
- sed -e '/^func_len ()$/,/^} # func_len /c\
14040
- func_len ()\
14041
- {\
14042
- func_len_result=${#1}\
14043
- } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14044
- && mv -f "$cfgfile.tmp" "$cfgfile" \
14045
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14046
- test 0 -eq $? || _lt_function_replace_fail=:
14047
-
14048
- fi
14049
-
14050
- if test x"$lt_shell_append" = xyes; then
14051
- sed -e '/^func_append ()$/,/^} # func_append /c\
14052
- func_append ()\
14053
- {\
14054
- eval "${1}+=\\${2}"\
14055
- } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14056
- && mv -f "$cfgfile.tmp" "$cfgfile" \
14057
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14058
- test 0 -eq $? || _lt_function_replace_fail=:
14059
-
14060
-
14061
- sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14062
- func_append_quoted ()\
14063
- {\
14064
- \ func_quote_for_eval "${2}"\
14065
- \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14066
- } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14067
- && mv -f "$cfgfile.tmp" "$cfgfile" \
14068
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14069
- test 0 -eq $? || _lt_function_replace_fail=:
14070
-
14071
-
14072
- # Save a `func_append' function call where possible by direct use of '+='
14073
- sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14074
- && mv -f "$cfgfile.tmp" "$cfgfile" \
14075
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14076
- test 0 -eq $? || _lt_function_replace_fail=:
14077
- else
14078
- # Save a `func_append' function call even when '+=' is not available
14079
- sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14080
- && mv -f "$cfgfile.tmp" "$cfgfile" \
14081
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14082
- test 0 -eq $? || _lt_function_replace_fail=:
14083
- fi
14084
-
14085
- if test x"$_lt_function_replace_fail" = x":"; then
14086
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14087
- $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14088
- fi
14089
-
14090
-
14091
14582
  mv -f "$cfgfile" "$ofile" ||
14092
14583
  (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14093
14584
  chmod +x "$ofile"