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.
- checksums.yaml +4 -4
- data/CHANGELOG +33 -1
- data/CONTRIBUTING.md +7 -311
- data/CONTRIBUTORS +1 -0
- data/LICENSE +1 -1
- data/README.md +1 -1
- data/Rakefile +1 -1
- data/bin/passenger +1 -1
- data/bin/passenger-config +1 -1
- data/bin/passenger-install-apache2-module +1 -1
- data/bin/passenger-install-nginx-module +4 -9
- data/bin/passenger-memory-stats +1 -1
- data/bin/passenger-status +1 -1
- data/build/agent.rb +13 -15
- data/build/apache2.rb +13 -16
- data/build/basics.rb +10 -13
- data/build/common_library.rb +5 -9
- data/build/cxx_tests.rb +37 -12
- data/build/integration_tests.rb +5 -2
- data/build/misc.rb +1 -1
- data/build/nginx.rb +1 -1
- data/build/node_tests.rb +1 -1
- data/build/oxt_tests.rb +6 -8
- data/build/packaging.rb +1 -1
- data/build/ruby_extension.rb +1 -1
- data/build/ruby_tests.rb +1 -1
- data/build/schema_printer.rb +13 -15
- data/build/support/cplusplus.rb +61 -69
- data/build/support/cxx_dependency_map.rb +2 -1
- data/build/support/general.rb +1 -1
- data/build/support/vendor/cxx_hinted_parser/LICENSE.md +1 -1
- data/build/support/vendor/cxx_hinted_parser/lib/cxx_hinted_parser/parser.rb +1 -1
- data/build/support/vendor/cxx_hinted_parser/lib/cxx_hinted_parser.rb +1 -1
- data/build/support/vendor/cxxcodebuilder/LICENSE.md +1 -1
- data/build/support/vendor/cxxcodebuilder/lib/cxxcodebuilder/builder.rb +1 -1
- data/build/support/vendor/cxxcodebuilder/lib/cxxcodebuilder/initializer_builder.rb +1 -1
- data/build/support/vendor/cxxcodebuilder/lib/cxxcodebuilder.rb +1 -1
- data/build/test_basics.rb +1 -1
- data/dev/copy_boost_headers +1 -1
- data/dev/index_cxx_dependencies.rb +5 -1
- data/dev/libev-changes.patch +108 -0
- data/dev/nginx_version_sha256 +1 -1
- data/dev/ruby_server.rb +1 -6
- data/dev/upgrading_libuv.sh +16 -0
- data/doc/BasicArchitectureOverview.md +55 -0
- data/doc/BuildCaching.md +23 -0
- data/doc/BuildSystem.md +49 -0
- data/doc/DebuggingAndStressTesting.md +2 -0
- data/doc/DesignAspects/LimitedGemDependencies.md +1 -0
- data/doc/DevEnvironmentSetup.md +46 -0
- data/doc/DevHandbook.md +28 -0
- data/doc/Packaging.md +1 -1
- data/doc/RunningTests.md +88 -0
- data/doc/{TempFileHandling.md → SecureTempFileHandling.md} +1 -1
- data/doc/{CxxTestingGuide.md → WritingCxxTests.md} +1 -20
- data/src/agent/AgentMain.cpp +1 -1
- data/src/agent/Core/ApiServer.h +1 -1
- data/src/agent/Core/ApplicationPool/AbstractSession.h +1 -1
- data/src/agent/Core/ApplicationPool/BasicGroupInfo.h +1 -1
- data/src/agent/Core/ApplicationPool/BasicProcessInfo.h +1 -1
- data/src/agent/Core/ApplicationPool/Common.h +1 -1
- data/src/agent/Core/ApplicationPool/Context.h +1 -1
- data/src/agent/Core/ApplicationPool/Group/InitializationAndShutdown.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Group/InternalUtils.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Group/LifetimeAndBasics.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Group/Miscellaneous.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Group/OutOfBandWork.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Group/ProcessListManagement.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Group/SessionManagement.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Group/SpawningAndRestarting.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Group/StateInspection.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Group/Verification.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Group.h +1 -1
- data/src/agent/Core/ApplicationPool/Implementation.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Options.h +1 -1
- data/src/agent/Core/ApplicationPool/Pool/AnalyticsCollection.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Pool/GarbageCollection.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Pool/GeneralUtils.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Pool/GroupUtils.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Pool/InitializationAndShutdown.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Pool/Miscellaneous.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Pool/ProcessUtils.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Pool/StateInspection.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Pool.h +1 -1
- data/src/agent/Core/ApplicationPool/Process.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Process.h +1 -1
- data/src/agent/Core/ApplicationPool/Session.h +1 -1
- data/src/agent/Core/ApplicationPool/Socket.h +1 -1
- data/src/agent/Core/ApplicationPool/TestSession.h +1 -1
- data/src/agent/Core/Config.h +3 -2
- data/src/agent/Core/ConfigChange.cpp +1 -1
- data/src/agent/Core/ConfigChange.h +1 -1
- data/src/agent/Core/Controller/AppResponse.h +1 -1
- data/src/agent/Core/Controller/BufferBody.cpp +1 -1
- data/src/agent/Core/Controller/CheckoutSession.cpp +8 -5
- data/src/agent/Core/Controller/Client.h +1 -1
- data/src/agent/Core/Controller/Config.cpp +1 -1
- data/src/agent/Core/Controller/Config.h +2 -2
- data/src/agent/Core/Controller/ForwardResponse.cpp +2 -2
- data/src/agent/Core/Controller/Hooks.cpp +12 -9
- data/src/agent/Core/Controller/Implementation.cpp +1 -1
- data/src/agent/Core/Controller/InitRequest.cpp +1 -1
- data/src/agent/Core/Controller/InitializationAndShutdown.cpp +1 -1
- data/src/agent/Core/Controller/InternalUtils.cpp +1 -1
- data/src/agent/Core/Controller/Miscellaneous.cpp +1 -1
- data/src/agent/Core/Controller/Request.h +1 -1
- data/src/agent/Core/Controller/SendRequest.cpp +1 -1
- data/src/agent/Core/Controller/StateInspection.cpp +1 -1
- data/src/agent/Core/Controller/TurboCaching.h +1 -1
- data/src/agent/Core/Controller.h +1 -1
- data/src/agent/Core/CoreMain.cpp +1 -1
- data/src/agent/Core/OptionParser.h +1 -1
- data/src/agent/Core/ResponseCache.h +1 -1
- data/src/agent/Core/SecurityUpdateChecker.h +1 -1
- data/src/agent/Core/SpawningKit/Config/AutoGeneratedCode.h +1 -1
- data/src/agent/Core/SpawningKit/Config/AutoGeneratedCode.h.cxxcodebuilder +1 -1
- data/src/agent/Core/SpawningKit/Config.h +1 -1
- data/src/agent/Core/SpawningKit/Context.h +1 -1
- data/src/agent/Core/SpawningKit/DirectSpawner.h +1 -1
- data/src/agent/Core/SpawningKit/DummySpawner.h +1 -1
- data/src/agent/Core/SpawningKit/ErrorRenderer.h +1 -1
- data/src/agent/Core/SpawningKit/Exceptions.h +63 -2
- data/src/agent/Core/SpawningKit/Factory.h +1 -1
- data/src/agent/Core/SpawningKit/Handshake/BackgroundIOCapturer.h +1 -1
- data/src/agent/Core/SpawningKit/Handshake/Perform.h +3 -2
- data/src/agent/Core/SpawningKit/Handshake/Prepare.h +1 -1
- data/src/agent/Core/SpawningKit/Handshake/Session.h +1 -1
- data/src/agent/Core/SpawningKit/Handshake/WorkDir.h +1 -1
- data/src/agent/Core/SpawningKit/Journey.h +1 -1
- data/src/agent/Core/SpawningKit/PipeWatcher.h +1 -1
- data/src/agent/Core/SpawningKit/README.md +3 -3
- data/src/agent/Core/SpawningKit/Result/AutoGeneratedCode.h +1 -1
- data/src/agent/Core/SpawningKit/Result/AutoGeneratedCode.h.cxxcodebuilder +1 -1
- data/src/agent/Core/SpawningKit/Result.h +1 -1
- data/src/agent/Core/SpawningKit/SmartSpawner.h +17 -17
- data/src/agent/Core/SpawningKit/Spawner.h +1 -1
- data/src/agent/Core/SpawningKit/UserSwitchingRules.h +1 -1
- data/src/agent/Core/TelemetryCollector.h +1 -1
- data/src/agent/ExecHelper/ExecHelperMain.cpp +1 -1
- data/src/agent/FileReadHelper/FileReadHelperMain.cpp +1 -1
- data/src/agent/MainFunctions.h +1 -1
- data/src/agent/Shared/ApiAccountUtils.h +4 -3
- data/src/agent/Shared/ApiServerUtils.h +1 -2
- data/src/agent/Shared/ApplicationPoolApiKey.h +1 -1
- data/src/agent/Shared/Fundamentals/AbortHandler.cpp +1 -1
- data/src/agent/Shared/Fundamentals/AbortHandler.h +1 -1
- data/src/agent/Shared/Fundamentals/Initialization.cpp +1 -1
- data/src/agent/Shared/Fundamentals/Initialization.h +1 -1
- data/src/agent/Shared/Fundamentals/Utils.cpp +1 -1
- data/src/agent/Shared/Fundamentals/Utils.h +1 -1
- data/src/agent/SpawnEnvSetupper/SpawnEnvSetupperMain.cpp +1 -1
- data/src/agent/SystemMetrics/SystemMetricsMain.cpp +1 -1
- data/src/agent/TempDirToucher/TempDirToucherMain.cpp +1 -1
- data/src/agent/Watchdog/ApiServer.h +7 -6
- data/src/agent/Watchdog/Config.h +2 -2
- data/src/apache2_module/Bucket.cpp +1 -1
- data/src/apache2_module/Bucket.h +1 -1
- data/src/apache2_module/CBindings.cpp +1 -1
- data/src/apache2_module/Config.cpp +1 -1
- data/src/apache2_module/Config.h +1 -1
- data/src/apache2_module/ConfigGeneral/AutoGeneratedDefinitions.cpp +104 -104
- data/src/apache2_module/ConfigGeneral/AutoGeneratedDefinitions.cpp.cxxcodebuilder +2 -2
- data/src/apache2_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.cpp +1 -1
- data/src/apache2_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.cpp.cxxcodebuilder +1 -1
- data/src/apache2_module/ConfigGeneral/AutoGeneratedSetterFuncs.cpp +1 -1
- data/src/apache2_module/ConfigGeneral/AutoGeneratedSetterFuncs.cpp.cxxcodebuilder +1 -1
- data/src/apache2_module/ConfigGeneral/Common.h +1 -1
- data/src/apache2_module/ConfigGeneral/ManifestGeneration.h +1 -1
- data/src/apache2_module/ConfigGeneral/SetterFuncs.h +1 -1
- data/src/apache2_module/DirConfig/AutoGeneratedCreateFunction.cpp +1 -1
- data/src/apache2_module/DirConfig/AutoGeneratedCreateFunction.cpp.cxxcodebuilder +1 -1
- data/src/apache2_module/DirConfig/AutoGeneratedHeaderSerialization.cpp +1 -1
- data/src/apache2_module/DirConfig/AutoGeneratedHeaderSerialization.cpp.cxxcodebuilder +1 -1
- data/src/apache2_module/DirConfig/AutoGeneratedManifestGeneration.cpp +1 -1
- data/src/apache2_module/DirConfig/AutoGeneratedManifestGeneration.cpp.cxxcodebuilder +1 -1
- data/src/apache2_module/DirConfig/AutoGeneratedMergeFunction.cpp +1 -1
- data/src/apache2_module/DirConfig/AutoGeneratedMergeFunction.cpp.cxxcodebuilder +1 -1
- data/src/apache2_module/DirConfig/AutoGeneratedStruct.h +1 -1
- data/src/apache2_module/DirConfig/AutoGeneratedStruct.h.cxxcodebuilder +1 -1
- data/src/apache2_module/DirectoryMapper.h +1 -1
- data/src/apache2_module/Hooks.cpp +8 -2
- data/src/apache2_module/Hooks.h +1 -1
- data/src/apache2_module/ServerConfig/AutoGeneratedManifestGeneration.cpp +1 -1
- data/src/apache2_module/ServerConfig/AutoGeneratedManifestGeneration.cpp.cxxcodebuilder +1 -1
- data/src/apache2_module/ServerConfig/AutoGeneratedStruct.h +1 -1
- data/src/apache2_module/ServerConfig/AutoGeneratedStruct.h.cxxcodebuilder +1 -1
- data/src/apache2_module/Utils.h +1 -1
- data/src/apache2_module/mod_passenger.c +1 -1
- data/src/cxx_supportlib/Algorithms/Hasher.cpp +1 -1
- data/src/cxx_supportlib/Algorithms/Hasher.h +1 -1
- data/src/cxx_supportlib/Algorithms/MovingAverage.h +1 -1
- data/src/cxx_supportlib/AppLocalConfigFileUtils.h +1 -1
- data/src/cxx_supportlib/AppTypeDetector/CBindings.cpp +1 -1
- data/src/cxx_supportlib/AppTypeDetector/CBindings.h +1 -1
- data/src/cxx_supportlib/AppTypeDetector/Detector.h +1 -1
- data/src/cxx_supportlib/BackgroundEventLoop.cpp +1 -1
- data/src/cxx_supportlib/BackgroundEventLoop.h +1 -1
- data/src/cxx_supportlib/ConfigKit/AsyncUtils.h +1 -1
- data/src/cxx_supportlib/ConfigKit/Common.h +1 -1
- data/src/cxx_supportlib/ConfigKit/ConfigKit.h +1 -1
- data/src/cxx_supportlib/ConfigKit/DummyTranslator.h +1 -1
- data/src/cxx_supportlib/ConfigKit/IN_PRACTICE.md +1 -3
- data/src/cxx_supportlib/ConfigKit/PrefixTranslator.h +3 -3
- data/src/cxx_supportlib/ConfigKit/Schema.h +1 -1
- data/src/cxx_supportlib/ConfigKit/SchemaUtils.h +1 -1
- data/src/cxx_supportlib/ConfigKit/Store.h +1 -1
- data/src/cxx_supportlib/ConfigKit/SubComponentUtils.h +1 -1
- data/src/cxx_supportlib/ConfigKit/TableTranslator.h +1 -1
- data/src/cxx_supportlib/ConfigKit/Translator.h +1 -1
- data/src/cxx_supportlib/ConfigKit/Utils.h +1 -1
- data/src/cxx_supportlib/Constants.h +2 -2
- data/src/cxx_supportlib/Constants.h.cxxcodebuilder +1 -1
- data/src/cxx_supportlib/DataStructures/HashedStaticString.h +1 -1
- data/src/cxx_supportlib/DataStructures/LString.cpp +1 -1
- data/src/cxx_supportlib/DataStructures/LString.h +1 -1
- data/src/cxx_supportlib/DataStructures/StringKeyTable.h +1 -1
- data/src/cxx_supportlib/DataStructures/StringMap.h +1 -1
- data/src/cxx_supportlib/Exceptions.cpp +1 -1
- data/src/cxx_supportlib/Exceptions.h +1 -1
- data/src/cxx_supportlib/FileDescriptor.h +1 -1
- data/src/cxx_supportlib/FileTools/FileManip.cpp +1 -1
- data/src/cxx_supportlib/FileTools/FileManip.h +1 -1
- data/src/cxx_supportlib/FileTools/PathManip.cpp +1 -1
- data/src/cxx_supportlib/FileTools/PathManip.h +1 -1
- data/src/cxx_supportlib/FileTools/PathManipCBindings.cpp +1 -1
- data/src/cxx_supportlib/FileTools/PathManipCBindings.h +1 -1
- data/src/cxx_supportlib/FileTools/PathSecurityCheck.cpp +1 -1
- data/src/cxx_supportlib/FileTools/PathSecurityCheck.h +1 -1
- data/src/cxx_supportlib/Hooks.h +1 -1
- data/src/cxx_supportlib/IOTools/BufferedIO.h +1 -1
- data/src/cxx_supportlib/IOTools/IOUtils.cpp +10 -10
- data/src/cxx_supportlib/IOTools/IOUtils.h +1 -1
- data/src/cxx_supportlib/IOTools/MessageIO.h +1 -1
- data/src/cxx_supportlib/IOTools/MessageSerialization.h +1 -1
- data/src/cxx_supportlib/InstanceDirectory.h +1 -1
- data/src/cxx_supportlib/Integrations/LibevJsonUtils.h +1 -1
- data/src/cxx_supportlib/JsonTools/Autocast.h +1 -1
- data/src/cxx_supportlib/JsonTools/CBindings.cpp +1 -1
- data/src/cxx_supportlib/JsonTools/CBindings.h +1 -1
- data/src/cxx_supportlib/JsonTools/JsonUtils.h +1 -1
- data/src/cxx_supportlib/LoggingKit/Assert.h +1 -1
- data/src/cxx_supportlib/LoggingKit/Config.h +2 -1
- data/src/cxx_supportlib/LoggingKit/Context.h +1 -1
- data/src/cxx_supportlib/LoggingKit/Forward.h +1 -1
- data/src/cxx_supportlib/LoggingKit/Implementation.cpp +11 -1
- data/src/cxx_supportlib/LoggingKit/Logging.h +1 -1
- data/src/cxx_supportlib/LoggingKit/LoggingKit.h +1 -1
- data/src/cxx_supportlib/LveLoggingDecorator.h +1 -1
- data/src/cxx_supportlib/MemoryKit/mbuf.cpp +1 -1
- data/src/cxx_supportlib/MemoryKit/mbuf.h +1 -1
- data/src/cxx_supportlib/MemoryKit/palloc.cpp +1 -1
- data/src/cxx_supportlib/MemoryKit/palloc.h +1 -1
- data/src/cxx_supportlib/ProcessManagement/Ruby.cpp +1 -1
- data/src/cxx_supportlib/ProcessManagement/Ruby.h +1 -1
- data/src/cxx_supportlib/ProcessManagement/Spawn.cpp +1 -1
- data/src/cxx_supportlib/ProcessManagement/Spawn.h +1 -1
- data/src/cxx_supportlib/ProcessManagement/Utils.cpp +1 -1
- data/src/cxx_supportlib/ProcessManagement/Utils.h +1 -1
- data/src/cxx_supportlib/RandomGenerator.h +1 -1
- data/src/cxx_supportlib/ResourceLocator.h +1 -1
- data/src/cxx_supportlib/SafeLibev.h +1 -1
- data/src/cxx_supportlib/SecurityKit/Crypto.cpp +9 -27
- data/src/cxx_supportlib/SecurityKit/Crypto.h +2 -2
- data/src/cxx_supportlib/SecurityKit/MemZeroGuard.h +1 -1
- data/src/cxx_supportlib/ServerKit/AcceptLoadBalancer.h +1 -1
- data/src/cxx_supportlib/ServerKit/Channel.h +1 -1
- data/src/cxx_supportlib/ServerKit/Client.h +1 -1
- data/src/cxx_supportlib/ServerKit/ClientRef.h +1 -1
- data/src/cxx_supportlib/ServerKit/Config.h +1 -1
- data/src/cxx_supportlib/ServerKit/Context.h +1 -1
- data/src/cxx_supportlib/ServerKit/CookieUtils.h +1 -1
- data/src/cxx_supportlib/ServerKit/Errors.h +1 -1
- data/src/cxx_supportlib/ServerKit/FdSinkChannel.h +1 -1
- data/src/cxx_supportlib/ServerKit/FdSourceChannel.h +1 -1
- data/src/cxx_supportlib/ServerKit/FileBufferedChannel.h +54 -2
- data/src/cxx_supportlib/ServerKit/FileBufferedFdSinkChannel.h +1 -1
- data/src/cxx_supportlib/ServerKit/HeaderTable.h +1 -1
- data/src/cxx_supportlib/ServerKit/Hooks.h +1 -1
- data/src/cxx_supportlib/ServerKit/HttpChunkedBodyParser.h +1 -1
- data/src/cxx_supportlib/ServerKit/HttpChunkedBodyParserState.h +1 -1
- data/src/cxx_supportlib/ServerKit/HttpClient.h +1 -1
- data/src/cxx_supportlib/ServerKit/HttpHeaderParser.h +1 -1
- data/src/cxx_supportlib/ServerKit/HttpHeaderParserState.h +1 -1
- data/src/cxx_supportlib/ServerKit/HttpRequest.h +1 -1
- data/src/cxx_supportlib/ServerKit/HttpRequestRef.h +1 -1
- data/src/cxx_supportlib/ServerKit/HttpServer.h +1 -1
- data/src/cxx_supportlib/ServerKit/Implementation.cpp +1 -1
- data/src/cxx_supportlib/ServerKit/Server.h +4 -2
- data/src/cxx_supportlib/StaticString.h +1 -1
- data/src/cxx_supportlib/StrIntTools/DateParsing.h +1 -1
- data/src/cxx_supportlib/StrIntTools/StrIntUtils.cpp +1 -1
- data/src/cxx_supportlib/StrIntTools/StrIntUtils.h +1 -1
- data/src/cxx_supportlib/StrIntTools/StrIntUtilsNoStrictAliasing.cpp +1 -1
- data/src/cxx_supportlib/StrIntTools/StringScanning.h +1 -1
- data/src/cxx_supportlib/StrIntTools/Template.h +1 -1
- data/src/cxx_supportlib/SystemTools/ContainerHelpers.h +1 -1
- data/src/cxx_supportlib/SystemTools/ProcessMetricsCollector.h +1 -1
- data/src/cxx_supportlib/SystemTools/SystemMetricsCollector.h +1 -1
- data/src/cxx_supportlib/SystemTools/SystemTime.cpp +1 -1
- data/src/cxx_supportlib/SystemTools/SystemTime.h +1 -1
- data/src/cxx_supportlib/SystemTools/UserDatabase.cpp +1 -1
- data/src/cxx_supportlib/SystemTools/UserDatabase.h +1 -1
- data/src/cxx_supportlib/Utils/AnsiColorConstants.h +1 -1
- data/src/cxx_supportlib/Utils/AsyncSignalSafeUtils.h +1 -1
- data/src/cxx_supportlib/Utils/BlockingQueue.h +1 -1
- data/src/cxx_supportlib/Utils/CachedFileStat.cpp +1 -1
- data/src/cxx_supportlib/Utils/CachedFileStat.h +1 -1
- data/src/cxx_supportlib/Utils/CachedFileStat.hpp +1 -1
- data/src/cxx_supportlib/Utils/ClassUtils.h +1 -1
- data/src/cxx_supportlib/Utils/Curl.h +1 -1
- data/src/cxx_supportlib/Utils/FastStringStream.h +1 -1
- data/src/cxx_supportlib/Utils/FileChangeChecker.h +1 -1
- data/src/cxx_supportlib/Utils/HttpConstants.h +1 -1
- data/src/cxx_supportlib/Utils/IniFile.h +1 -1
- data/src/cxx_supportlib/Utils/MessagePassing.h +1 -1
- data/src/cxx_supportlib/Utils/OptionParsing.h +1 -1
- data/src/cxx_supportlib/Utils/ReleaseableScopedPointer.h +1 -1
- data/src/cxx_supportlib/Utils/ScopeGuard.h +1 -1
- data/src/cxx_supportlib/Utils/SpeedMeter.h +1 -1
- data/src/cxx_supportlib/Utils/Timer.h +1 -1
- data/src/cxx_supportlib/Utils/VariantMap.h +1 -1
- data/src/cxx_supportlib/Utils.cpp +1 -1
- data/src/cxx_supportlib/Utils.h +1 -1
- data/src/cxx_supportlib/WatchdogLauncher.cpp +1 -1
- data/src/cxx_supportlib/WatchdogLauncher.h +1 -1
- data/src/cxx_supportlib/WrapperRegistry/CBindings.cpp +1 -1
- data/src/cxx_supportlib/WrapperRegistry/CBindings.h +1 -1
- data/src/cxx_supportlib/WrapperRegistry/Entry.h +1 -1
- data/src/cxx_supportlib/WrapperRegistry/Registry.h +1 -1
- data/src/cxx_supportlib/oxt/backtrace.hpp +1 -1
- data/src/cxx_supportlib/oxt/detail/backtrace_disabled.hpp +1 -1
- data/src/cxx_supportlib/oxt/detail/backtrace_enabled.hpp +1 -1
- data/src/cxx_supportlib/oxt/detail/context.hpp +1 -1
- data/src/cxx_supportlib/oxt/detail/tracable_exception_disabled.hpp +1 -1
- data/src/cxx_supportlib/oxt/detail/tracable_exception_enabled.hpp +1 -1
- data/src/cxx_supportlib/oxt/dynamic_thread_group.hpp +1 -1
- data/src/cxx_supportlib/oxt/implementation.cpp +1 -1
- data/src/cxx_supportlib/oxt/initialize.hpp +1 -1
- data/src/cxx_supportlib/oxt/macros.hpp +1 -1
- data/src/cxx_supportlib/oxt/spin_lock.hpp +1 -1
- data/src/cxx_supportlib/oxt/system_calls.cpp +1 -1
- data/src/cxx_supportlib/oxt/system_calls.hpp +1 -1
- data/src/cxx_supportlib/oxt/thread.hpp +1 -1
- data/src/cxx_supportlib/oxt/tracable_exception.hpp +1 -1
- data/src/cxx_supportlib/vendor-copy/adhoc_lve.h +1 -1
- data/src/cxx_supportlib/vendor-copy/libuv/AUTHORS +353 -3
- data/src/cxx_supportlib/vendor-copy/libuv/ChangeLog +3981 -2
- data/src/cxx_supportlib/vendor-copy/libuv/LICENSE +1 -28
- data/src/cxx_supportlib/vendor-copy/libuv/LICENSE-docs +396 -0
- data/src/cxx_supportlib/vendor-copy/libuv/LICENSE-extra +36 -0
- data/src/cxx_supportlib/vendor-copy/libuv/Makefile.am +275 -58
- data/src/cxx_supportlib/vendor-copy/libuv/Makefile.in +4380 -2125
- data/src/cxx_supportlib/vendor-copy/libuv/aclocal.m4 +425 -221
- data/src/cxx_supportlib/vendor-copy/libuv/ar-lib +30 -10
- data/src/cxx_supportlib/vendor-copy/libuv/compile +31 -14
- data/src/cxx_supportlib/vendor-copy/libuv/config.guess +1084 -690
- data/src/cxx_supportlib/vendor-copy/libuv/config.sub +1844 -1297
- data/src/cxx_supportlib/vendor-copy/libuv/configure +6935 -3664
- data/src/cxx_supportlib/vendor-copy/libuv/configure.ac +43 -19
- data/src/cxx_supportlib/vendor-copy/libuv/depcomp +12 -11
- data/src/cxx_supportlib/vendor-copy/libuv/include/{uv-darwin.h → uv/darwin.h} +3 -3
- data/src/cxx_supportlib/vendor-copy/libuv/include/{uv-errno.h → uv/errno.h} +119 -60
- data/src/cxx_supportlib/vendor-copy/libuv/include/{uv-linux.h → uv/linux.h} +1 -1
- data/src/cxx_supportlib/vendor-copy/libuv/include/uv/os390.h +33 -0
- data/src/cxx_supportlib/vendor-copy/libuv/include/uv/posix.h +31 -0
- data/src/cxx_supportlib/vendor-copy/libuv/include/{uv-threadpool.h → uv/threadpool.h} +1 -1
- data/src/cxx_supportlib/vendor-copy/libuv/include/{tree.h → uv/tree.h} +3 -250
- data/src/cxx_supportlib/vendor-copy/libuv/include/{uv-unix.h → uv/unix.h} +186 -60
- data/src/cxx_supportlib/vendor-copy/libuv/include/{uv-version.h → uv/version.h} +3 -3
- data/src/cxx_supportlib/vendor-copy/libuv/include/uv/win.h +703 -0
- data/src/cxx_supportlib/vendor-copy/libuv/include/uv.h +528 -40
- data/src/cxx_supportlib/vendor-copy/libuv/install-sh +110 -70
- data/src/cxx_supportlib/vendor-copy/libuv/libuv-static.pc.in +12 -0
- data/src/cxx_supportlib/vendor-copy/libuv/libuv.pc.in +4 -2
- data/src/cxx_supportlib/vendor-copy/libuv/ltmain.sh +995 -619
- data/src/cxx_supportlib/vendor-copy/libuv/m4/ax_pthread.m4 +485 -0
- data/src/cxx_supportlib/vendor-copy/libuv/m4/libtool.m4 +438 -289
- data/src/cxx_supportlib/vendor-copy/libuv/m4/libuv-check-flags.m4 +21 -4
- data/src/cxx_supportlib/vendor-copy/libuv/m4/libuv-check-versions.m4 +7 -0
- data/src/cxx_supportlib/vendor-copy/libuv/m4/ltoptions.m4 +69 -39
- data/src/cxx_supportlib/vendor-copy/libuv/m4/ltsugar.m4 +1 -1
- data/src/cxx_supportlib/vendor-copy/libuv/m4/ltversion.m4 +7 -6
- data/src/cxx_supportlib/vendor-copy/libuv/m4/lt~obsolete.m4 +2 -2
- data/src/cxx_supportlib/vendor-copy/libuv/missing +55 -34
- data/src/cxx_supportlib/vendor-copy/libuv/src/fs-poll.c +52 -20
- data/src/cxx_supportlib/vendor-copy/libuv/src/idna.c +560 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/idna.h +31 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/inet.c +5 -16
- data/src/cxx_supportlib/vendor-copy/libuv/src/queue.h +68 -86
- data/src/cxx_supportlib/vendor-copy/libuv/src/random.c +123 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/strscpy.c +38 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/strscpy.h +39 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/strtok.c +52 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/strtok.h +27 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/thread-common.c +175 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/threadpool.c +172 -57
- data/src/cxx_supportlib/vendor-copy/libuv/src/{unix/timer.c → timer.c} +57 -29
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/aix-common.c +89 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/aix.c +418 -256
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/async.c +168 -129
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/bsd-ifaddrs.c +163 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/bsd-proctitle.c +99 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/core.c +1312 -378
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/cygwin.c +93 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/darwin-proctitle.c +18 -32
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/darwin-stub.h +97 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/darwin-syscalls.h +17 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/darwin.c +41 -139
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/dl.c +1 -1
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/freebsd.c +75 -235
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/fs.c +1308 -299
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/fsevents.c +150 -148
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/getaddrinfo.c +58 -8
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/getnameinfo.c +3 -2
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/haiku.c +172 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/hurd.c +172 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/ibmi.c +542 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/internal.h +297 -106
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/kqueue.c +325 -94
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/linux.c +2708 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/loop-watcher.c +11 -11
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/loop.c +105 -24
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/netbsd.c +51 -157
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/no-fsevents.c +42 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/no-proctitle.c +45 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/openbsd.c +42 -183
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/os390-proctitle.c +136 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/os390-syscalls.c +536 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/os390-syscalls.h +75 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/os390.c +1070 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/pipe.c +324 -55
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/poll.c +58 -11
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/posix-hrtime.c +36 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/posix-poll.c +385 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/process.c +795 -248
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/procfs-exepath.c +45 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/proctitle.c +77 -22
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/qnx.c +142 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/random-devurandom.c +93 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/random-getentropy.c +57 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/random-getrandom.c +86 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/random-sysctl-linux.c +99 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/signal.c +147 -39
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/stream.c +426 -474
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/sunos.c +240 -98
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/sysinfo-loadavg.c +36 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/sysinfo-memory.c +42 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/tcp.c +402 -91
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/thread.c +497 -145
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/tty.c +269 -45
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/udp.c +695 -165
- data/src/cxx_supportlib/vendor-copy/libuv/src/uv-common.c +463 -61
- data/src/cxx_supportlib/vendor-copy/libuv/src/uv-common.h +248 -44
- data/src/cxx_supportlib/vendor-copy/libuv/src/uv-data-getter-setters.c +119 -0
- data/src/cxx_supportlib/vendor-copy/libuv/tsansupp.txt +2 -0
- data/src/cxx_supportlib/vendor-modified/libev/Changes +109 -0
- data/src/cxx_supportlib/vendor-modified/libev/Makefile.am +2 -1
- data/src/cxx_supportlib/vendor-modified/libev/Makefile.in +47 -33
- data/src/cxx_supportlib/vendor-modified/libev/README +2 -1
- data/src/cxx_supportlib/vendor-modified/libev/aclocal.m4 +1653 -1224
- data/src/cxx_supportlib/vendor-modified/libev/config.guess +376 -316
- data/src/cxx_supportlib/vendor-modified/libev/config.h.in +13 -2
- data/src/cxx_supportlib/vendor-modified/libev/config.sub +156 -154
- data/src/cxx_supportlib/vendor-modified/libev/configure +1431 -940
- data/src/cxx_supportlib/vendor-modified/libev/configure.ac +3 -3
- data/src/cxx_supportlib/vendor-modified/libev/depcomp +5 -5
- data/src/cxx_supportlib/vendor-modified/libev/ev++.h +109 -107
- data/src/cxx_supportlib/vendor-modified/libev/ev.c +807 -319
- data/src/cxx_supportlib/vendor-modified/libev/ev.h +111 -105
- data/src/cxx_supportlib/vendor-modified/libev/ev_epoll.c +42 -29
- data/src/cxx_supportlib/vendor-modified/libev/ev_iouring.c +694 -0
- data/src/cxx_supportlib/vendor-modified/libev/ev_kqueue.c +15 -9
- data/src/cxx_supportlib/vendor-modified/libev/ev_linuxaio.c +620 -0
- data/src/cxx_supportlib/vendor-modified/libev/ev_poll.c +19 -14
- data/src/cxx_supportlib/vendor-modified/libev/ev_port.c +8 -5
- data/src/cxx_supportlib/vendor-modified/libev/ev_select.c +6 -6
- data/src/cxx_supportlib/vendor-modified/libev/ev_vars.h +48 -3
- data/src/cxx_supportlib/vendor-modified/libev/ev_win32.c +2 -2
- data/src/cxx_supportlib/vendor-modified/libev/ev_wrap.h +72 -0
- data/src/cxx_supportlib/vendor-modified/libev/install-sh +23 -13
- data/src/cxx_supportlib/vendor-modified/libev/libev.m4 +6 -1
- data/src/cxx_supportlib/vendor-modified/libev/ltmain.sh +3581 -1993
- data/src/cxx_supportlib/vendor-modified/libev/missing +8 -8
- data/src/cxx_supportlib/vendor-modified/libev/mkinstalldirs +3 -3
- data/src/cxx_supportlib/vendor-modified/modp_b64_strict_aliasing.cpp +1 -1
- data/src/helper-scripts/backtrace-sanitizer.rb +1 -1
- data/src/helper-scripts/crash-watch.rb +1 -1
- data/src/helper-scripts/download_binaries/extconf.rb +1 -1
- data/src/helper-scripts/meteor-loader.rb +1 -1
- data/src/helper-scripts/node-loader.js +1 -1
- data/src/helper-scripts/prespawn +1 -1
- data/src/helper-scripts/rack-loader.rb +1 -1
- data/src/helper-scripts/rack-preloader.rb +1 -1
- data/src/helper-scripts/wsgi-loader.py +1 -1
- data/src/nginx_module/ConfigGeneral/AutoGeneratedDefinitions.c +1 -1
- data/src/nginx_module/ConfigGeneral/AutoGeneratedDefinitions.c.cxxcodebuilder +1 -1
- data/src/nginx_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.c +1 -1
- data/src/nginx_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.c.cxxcodebuilder +1 -1
- data/src/nginx_module/ConfigGeneral/AutoGeneratedSetterFuncs.c +1 -1
- data/src/nginx_module/ConfigGeneral/AutoGeneratedSetterFuncs.c.cxxcodebuilder +1 -1
- data/src/nginx_module/Configuration.c +1 -1
- data/src/nginx_module/Configuration.h +1 -1
- data/src/nginx_module/ContentHandler.c +1 -1
- data/src/nginx_module/ContentHandler.h +1 -1
- data/src/nginx_module/LocationConfig/AutoGeneratedCreateFunction.c +1 -1
- data/src/nginx_module/LocationConfig/AutoGeneratedCreateFunction.c.cxxcodebuilder +1 -1
- data/src/nginx_module/LocationConfig/AutoGeneratedHeaderSerialization.c +1 -1
- data/src/nginx_module/LocationConfig/AutoGeneratedHeaderSerialization.c.cxxcodebuilder +1 -1
- data/src/nginx_module/LocationConfig/AutoGeneratedManifestGeneration.c +1 -1
- data/src/nginx_module/LocationConfig/AutoGeneratedManifestGeneration.c.cxxcodebuilder +1 -1
- data/src/nginx_module/LocationConfig/AutoGeneratedMergeFunction.c +1 -1
- data/src/nginx_module/LocationConfig/AutoGeneratedMergeFunction.c.cxxcodebuilder +1 -1
- data/src/nginx_module/LocationConfig/AutoGeneratedStruct.h +1 -1
- data/src/nginx_module/LocationConfig/AutoGeneratedStruct.h.cxxcodebuilder +1 -1
- data/src/nginx_module/MainConfig/AutoGeneratedCreateFunction.c +1 -1
- data/src/nginx_module/MainConfig/AutoGeneratedCreateFunction.c.cxxcodebuilder +1 -1
- data/src/nginx_module/MainConfig/AutoGeneratedManifestGeneration.c +1 -1
- data/src/nginx_module/MainConfig/AutoGeneratedManifestGeneration.c.cxxcodebuilder +1 -1
- data/src/nginx_module/MainConfig/AutoGeneratedStruct.h +1 -1
- data/src/nginx_module/MainConfig/AutoGeneratedStruct.h.cxxcodebuilder +1 -1
- data/src/nginx_module/StaticContentHandler.c +1 -1
- data/src/nginx_module/StaticContentHandler.h +1 -1
- data/src/nginx_module/ngx_http_passenger_module.c +1 -1
- data/src/nginx_module/ngx_http_passenger_module.h +1 -1
- data/src/nodejs_supportlib/phusion_passenger/line_reader.js +1 -1
- data/src/ruby_native_extension/extconf.rb +1 -1
- data/src/ruby_native_extension/passenger_native_support.c +1 -1
- data/src/ruby_supportlib/phusion_passenger/abstract_installer.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/admin_tools/instance.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/admin_tools/instance_registry.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/admin_tools/memory_stats.rb +2 -12
- data/src/ruby_supportlib/phusion_passenger/admin_tools.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/apache2/config_options.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/apache2/config_utils.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/common_library.rb +8 -10
- data/src/ruby_supportlib/phusion_passenger/config/about_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/agent_compiler.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/api_call_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/build_native_support_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/compile_agent_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/compile_nginx_engine_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/detach_process_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/download_agent_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/download_nginx_engine_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/install_agent_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/install_standalone_runtime_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/installation_utils.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/list_instances_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/main.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/nginx_engine_compiler.rb +3 -2
- data/src/ruby_supportlib/phusion_passenger/config/reopen_logs_command.rb +6 -1
- data/src/ruby_supportlib/phusion_passenger/config/restart_app_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/system_metrics_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/system_properties_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/utils.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/validate_install_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/console_text_template.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/constants.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/debug_logging.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/message_channel.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/message_client.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/native_support.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/packaging.rb +4 -3
- data/src/ruby_supportlib/phusion_passenger/platform_info/apache.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/apache_detector.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/binary_compatibility.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/compiler.rb +195 -11
- data/src/ruby_supportlib/phusion_passenger/platform_info/crypto.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/curl.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/cxx_portability.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/linux.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/networking.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/openssl.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/operating_system.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/pcre.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/ruby.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/zlib.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/plugin.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/preloader_shared_helpers.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/public_api.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/rack/handler.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/rack/out_of_band_gc.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/rack/thread_handler_extension.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/rack_handler.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb +2 -7
- data/src/ruby_supportlib/phusion_passenger/request_handler.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/ruby_core_enhancements.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/ruby_core_io_enhancements.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/simple_benchmarking.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/standalone/app_finder.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/standalone/command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/standalone/config_options_list.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/standalone/config_utils.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/standalone/control_utils.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/standalone/main.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command/builtin_engine.rb +2 -2
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command/nginx_engine.rb +4 -8
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/standalone/status_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/standalone/stop_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/standalone/version_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/utils/ansi_colors.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/utils/download.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/utils/file_system_watcher.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/utils/hosts_file_parser.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/utils/lock.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/utils/native_support_utils.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/utils/progress_bar.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/utils/strscan.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/utils/terminal_choice_menu.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/utils/unseekable_socket.rb +3 -13
- data/src/ruby_supportlib/phusion_passenger/utils.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/app.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/base.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/gdb_controller.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/lldb_controller.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/utils.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/version.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller/lock_file.rb +8 -6
- data/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller/spawn.rb +4 -3
- data/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller/version.rb +6 -4
- data/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller.rb +395 -579
- data/src/ruby_supportlib/phusion_passenger.rb +8 -8
- data/src/schema_printer/SchemaPrinterMain.cpp +1 -1
- data/src/schema_printer/SchemaPrinterMain.cpp.cxxcodebuilder +1 -1
- metadata +69 -32
- data/doc/DeveloperQuickstart.md +0 -70
- data/src/README.md +0 -7
- data/src/cxx_supportlib/vendor-copy/libuv/README.md +0 -245
- data/src/cxx_supportlib/vendor-copy/libuv/checksparse.sh +0 -234
- data/src/cxx_supportlib/vendor-copy/libuv/common.gypi +0 -210
- data/src/cxx_supportlib/vendor-copy/libuv/gyp_uv.py +0 -93
- data/src/cxx_supportlib/vendor-copy/libuv/include/android-ifaddrs.h +0 -54
- data/src/cxx_supportlib/vendor-copy/libuv/include/pthread-fixes.h +0 -72
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/android-ifaddrs.c +0 -703
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/atomic-ops.h +0 -77
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/linux-core.c +0 -899
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/linux-inotify.c +0 -285
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/linux-syscalls.c +0 -471
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/linux-syscalls.h +0 -158
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/pthread-fixes.c +0 -104
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/spinlock.h +0 -53
- data/src/cxx_supportlib/vendor-copy/libuv/uv.gyp +0 -508
- /data/src/cxx_supportlib/vendor-copy/libuv/include/{uv-aix.h → uv/aix.h} +0 -0
- /data/src/cxx_supportlib/vendor-copy/libuv/include/{uv-bsd.h → uv/bsd.h} +0 -0
- /data/src/cxx_supportlib/vendor-copy/libuv/include/{uv-sunos.h → uv/sunos.h} +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
|
|
2
2
|
#
|
|
3
|
-
# Copyright (C) 1996-2001, 2003-
|
|
3
|
+
# Copyright (C) 1996-2001, 2003-2019, 2021-2024 Free Software
|
|
4
|
+
# Foundation, Inc.
|
|
4
5
|
# Written by Gordon Matzigkeit, 1996
|
|
5
6
|
#
|
|
6
7
|
# This file is free software; the Free Software Foundation gives
|
|
@@ -8,13 +9,13 @@
|
|
|
8
9
|
# modifications, as long as this notice is preserved.
|
|
9
10
|
|
|
10
11
|
m4_define([_LT_COPYING], [dnl
|
|
11
|
-
# Copyright (C)
|
|
12
|
+
# Copyright (C) 2024 Free Software Foundation, Inc.
|
|
12
13
|
# This is free software; see the source for copying conditions. There is NO
|
|
13
14
|
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
14
15
|
|
|
15
16
|
# GNU Libtool is free software; you can redistribute it and/or modify
|
|
16
17
|
# it under the terms of the GNU General Public License as published by
|
|
17
|
-
# the Free Software Foundation; either version 2 of
|
|
18
|
+
# the Free Software Foundation; either version 2 of the License, or
|
|
18
19
|
# (at your option) any later version.
|
|
19
20
|
#
|
|
20
21
|
# As a special exception to the GNU General Public License, if you
|
|
@@ -31,7 +32,7 @@ m4_define([_LT_COPYING], [dnl
|
|
|
31
32
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
32
33
|
])
|
|
33
34
|
|
|
34
|
-
# serial
|
|
35
|
+
# serial 63 LT_INIT
|
|
35
36
|
|
|
36
37
|
|
|
37
38
|
# LT_PREREQ(VERSION)
|
|
@@ -59,7 +60,7 @@ esac
|
|
|
59
60
|
# LT_INIT([OPTIONS])
|
|
60
61
|
# ------------------
|
|
61
62
|
AC_DEFUN([LT_INIT],
|
|
62
|
-
[AC_PREREQ([2.
|
|
63
|
+
[AC_PREREQ([2.64])dnl We use AC_PATH_PROGS_FEATURE_CHECK
|
|
63
64
|
AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
|
|
64
65
|
AC_BEFORE([$0], [LT_LANG])dnl
|
|
65
66
|
AC_BEFORE([$0], [LT_OUTPUT])dnl
|
|
@@ -181,6 +182,7 @@ m4_require([_LT_FILEUTILS_DEFAULTS])dnl
|
|
|
181
182
|
m4_require([_LT_CHECK_SHELL_FEATURES])dnl
|
|
182
183
|
m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
|
|
183
184
|
m4_require([_LT_CMD_RELOAD])dnl
|
|
185
|
+
m4_require([_LT_DECL_FILECMD])dnl
|
|
184
186
|
m4_require([_LT_CHECK_MAGIC_METHOD])dnl
|
|
185
187
|
m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
|
|
186
188
|
m4_require([_LT_CMD_OLD_ARCHIVE])dnl
|
|
@@ -219,8 +221,8 @@ esac
|
|
|
219
221
|
ofile=libtool
|
|
220
222
|
can_build_shared=yes
|
|
221
223
|
|
|
222
|
-
# All known linkers require a '.a' archive for static linking (except MSVC
|
|
223
|
-
# which
|
|
224
|
+
# All known linkers require a '.a' archive for static linking (except MSVC and
|
|
225
|
+
# ICC, which need '.lib').
|
|
224
226
|
libext=a
|
|
225
227
|
|
|
226
228
|
with_gnu_ld=$lt_cv_prog_gnu_ld
|
|
@@ -614,7 +616,7 @@ m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
|
|
|
614
616
|
# LT_OUTPUT
|
|
615
617
|
# ---------
|
|
616
618
|
# This macro allows early generation of the libtool script (before
|
|
617
|
-
# AC_OUTPUT is called),
|
|
619
|
+
# AC_OUTPUT is called), in case it is used in configure for compilation
|
|
618
620
|
# tests.
|
|
619
621
|
AC_DEFUN([LT_OUTPUT],
|
|
620
622
|
[: ${CONFIG_LT=./config.lt}
|
|
@@ -649,9 +651,9 @@ m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
|
|
|
649
651
|
m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
|
|
650
652
|
configured by $[0], generated by m4_PACKAGE_STRING.
|
|
651
653
|
|
|
652
|
-
Copyright (C)
|
|
654
|
+
Copyright (C) 2024 Free Software Foundation, Inc.
|
|
653
655
|
This config.lt script is free software; the Free Software Foundation
|
|
654
|
-
gives unlimited
|
|
656
|
+
gives unlimited permission to copy, distribute and modify it."
|
|
655
657
|
|
|
656
658
|
while test 0 != $[#]
|
|
657
659
|
do
|
|
@@ -728,7 +730,6 @@ _LT_CONFIG_SAVE_COMMANDS([
|
|
|
728
730
|
cat <<_LT_EOF >> "$cfgfile"
|
|
729
731
|
#! $SHELL
|
|
730
732
|
# Generated automatically by $as_me ($PACKAGE) $VERSION
|
|
731
|
-
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
|
|
732
733
|
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
|
|
733
734
|
|
|
734
735
|
# Provide generalized library-building support services.
|
|
@@ -738,7 +739,7 @@ _LT_COPYING
|
|
|
738
739
|
_LT_LIBTOOL_TAGS
|
|
739
740
|
|
|
740
741
|
# Configured defaults for sys_lib_dlsearch_path munging.
|
|
741
|
-
: \${LT_SYS_LIBRARY_PATH="$
|
|
742
|
+
: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
|
|
742
743
|
|
|
743
744
|
# ### BEGIN LIBTOOL CONFIG
|
|
744
745
|
_LT_LIBTOOL_CONFIG_VARS
|
|
@@ -748,13 +749,14 @@ _LT_LIBTOOL_TAG_VARS
|
|
|
748
749
|
_LT_EOF
|
|
749
750
|
|
|
750
751
|
cat <<'_LT_EOF' >> "$cfgfile"
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
## -------------------------------------- ##
|
|
752
|
+
|
|
753
|
+
# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
|
|
754
754
|
|
|
755
755
|
_LT_PREPARE_MUNGE_PATH_LIST
|
|
756
756
|
_LT_PREPARE_CC_BASENAME
|
|
757
757
|
|
|
758
|
+
# ### END FUNCTIONS SHARED WITH CONFIGURE
|
|
759
|
+
|
|
758
760
|
_LT_EOF
|
|
759
761
|
|
|
760
762
|
case $host_os in
|
|
@@ -777,7 +779,7 @@ _LT_EOF
|
|
|
777
779
|
# if finds mixed CR/LF and LF-only lines. Since sed operates in
|
|
778
780
|
# text mode, it properly converts lines to CR/LF. This bash problem
|
|
779
781
|
# is reportedly fixed, but why not run on old versions too?
|
|
780
|
-
|
|
782
|
+
$SED '$q' "$ltmain" >> "$cfgfile" \
|
|
781
783
|
|| (rm -f "$cfgfile"; exit 1)
|
|
782
784
|
|
|
783
785
|
mv -f "$cfgfile" "$ofile" ||
|
|
@@ -972,6 +974,7 @@ _lt_linker_boilerplate=`cat conftest.err`
|
|
|
972
974
|
$RM -r conftest*
|
|
973
975
|
])# _LT_LINKER_BOILERPLATE
|
|
974
976
|
|
|
977
|
+
|
|
975
978
|
# _LT_REQUIRED_DARWIN_CHECKS
|
|
976
979
|
# -------------------------
|
|
977
980
|
m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
|
|
@@ -1022,6 +1025,21 @@ m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
|
|
|
1022
1025
|
rm -f conftest.*
|
|
1023
1026
|
fi])
|
|
1024
1027
|
|
|
1028
|
+
# Feature test to disable chained fixups since it is not
|
|
1029
|
+
# compatible with '-undefined dynamic_lookup'
|
|
1030
|
+
AC_CACHE_CHECK([for -no_fixup_chains linker flag],
|
|
1031
|
+
[lt_cv_support_no_fixup_chains],
|
|
1032
|
+
[ save_LDFLAGS=$LDFLAGS
|
|
1033
|
+
LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
|
|
1034
|
+
AC_LINK_IFELSE(
|
|
1035
|
+
[AC_LANG_PROGRAM([],[])],
|
|
1036
|
+
lt_cv_support_no_fixup_chains=yes,
|
|
1037
|
+
lt_cv_support_no_fixup_chains=no
|
|
1038
|
+
)
|
|
1039
|
+
LDFLAGS=$save_LDFLAGS
|
|
1040
|
+
]
|
|
1041
|
+
)
|
|
1042
|
+
|
|
1025
1043
|
AC_CACHE_CHECK([for -exported_symbols_list linker flag],
|
|
1026
1044
|
[lt_cv_ld_exported_symbols_list],
|
|
1027
1045
|
[lt_cv_ld_exported_symbols_list=no
|
|
@@ -1041,12 +1059,12 @@ int forced_loaded() { return 2;}
|
|
|
1041
1059
|
_LT_EOF
|
|
1042
1060
|
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
|
|
1043
1061
|
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
|
|
1044
|
-
echo "$AR
|
|
1045
|
-
$AR
|
|
1062
|
+
echo "$AR $AR_FLAGS libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
|
|
1063
|
+
$AR $AR_FLAGS libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
|
|
1046
1064
|
echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
|
|
1047
1065
|
$RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
|
|
1048
1066
|
cat > conftest.c << _LT_EOF
|
|
1049
|
-
int main() { return 0;}
|
|
1067
|
+
int main(void) { return 0;}
|
|
1050
1068
|
_LT_EOF
|
|
1051
1069
|
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
|
|
1052
1070
|
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
|
|
@@ -1066,23 +1084,37 @@ _LT_EOF
|
|
|
1066
1084
|
_lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
|
|
1067
1085
|
darwin1.*)
|
|
1068
1086
|
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
|
1069
|
-
darwin*)
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
|
|
1087
|
+
darwin*)
|
|
1088
|
+
case $MACOSX_DEPLOYMENT_TARGET,$host in
|
|
1089
|
+
10.[[012]],*|,*powerpc*-darwin[[5-8]]*)
|
|
1090
|
+
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
|
1091
|
+
*)
|
|
1092
|
+
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
|
|
1093
|
+
if test yes = "$lt_cv_support_no_fixup_chains"; then
|
|
1094
|
+
AS_VAR_APPEND([_lt_dar_allow_undefined], [' $wl-no_fixup_chains'])
|
|
1095
|
+
fi
|
|
1096
|
+
;;
|
|
1080
1097
|
esac
|
|
1081
1098
|
;;
|
|
1082
1099
|
esac
|
|
1083
1100
|
if test yes = "$lt_cv_apple_cc_single_mod"; then
|
|
1084
1101
|
_lt_dar_single_mod='$single_module'
|
|
1085
1102
|
fi
|
|
1103
|
+
_lt_dar_needs_single_mod=no
|
|
1104
|
+
case $host_os in
|
|
1105
|
+
rhapsody* | darwin1.*)
|
|
1106
|
+
_lt_dar_needs_single_mod=yes ;;
|
|
1107
|
+
darwin*)
|
|
1108
|
+
# When targeting Mac OS X 10.4 (darwin 8) or later,
|
|
1109
|
+
# -single_module is the default and -multi_module is unsupported.
|
|
1110
|
+
# The toolchain on macOS 10.14 (darwin 18) and later cannot
|
|
1111
|
+
# target any OS version that needs -single_module.
|
|
1112
|
+
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
|
|
1113
|
+
10.0,*-darwin[[567]].*|10.[[0-3]],*-darwin[[5-9]].*|10.[[0-3]],*-darwin1[[0-7]].*)
|
|
1114
|
+
_lt_dar_needs_single_mod=yes ;;
|
|
1115
|
+
esac
|
|
1116
|
+
;;
|
|
1117
|
+
esac
|
|
1086
1118
|
if test yes = "$lt_cv_ld_exported_symbols_list"; then
|
|
1087
1119
|
_lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
|
|
1088
1120
|
else
|
|
@@ -1125,12 +1157,12 @@ m4_defun([_LT_DARWIN_LINKER_FEATURES],
|
|
|
1125
1157
|
output_verbose_link_cmd=func_echo_all
|
|
1126
1158
|
_LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
|
|
1127
1159
|
_LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
|
|
1128
|
-
_LT_TAGVAR(archive_expsym_cmds, $1)="
|
|
1129
|
-
_LT_TAGVAR(module_expsym_cmds, $1)="
|
|
1160
|
+
_LT_TAGVAR(archive_expsym_cmds, $1)="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
|
|
1161
|
+
_LT_TAGVAR(module_expsym_cmds, $1)="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
|
|
1130
1162
|
m4_if([$1], [CXX],
|
|
1131
|
-
[ if test yes != "$lt_cv_apple_cc_single_mod"; then
|
|
1163
|
+
[ if test yes = "$_lt_dar_needs_single_mod" -a yes != "$lt_cv_apple_cc_single_mod"; then
|
|
1132
1164
|
_LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
|
|
1133
|
-
_LT_TAGVAR(archive_expsym_cmds, $1)="
|
|
1165
|
+
_LT_TAGVAR(archive_expsym_cmds, $1)="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
|
|
1134
1166
|
fi
|
|
1135
1167
|
],[])
|
|
1136
1168
|
else
|
|
@@ -1244,7 +1276,8 @@ _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
|
|
|
1244
1276
|
# _LT_WITH_SYSROOT
|
|
1245
1277
|
# ----------------
|
|
1246
1278
|
AC_DEFUN([_LT_WITH_SYSROOT],
|
|
1247
|
-
[
|
|
1279
|
+
[m4_require([_LT_DECL_SED])dnl
|
|
1280
|
+
AC_MSG_CHECKING([for sysroot])
|
|
1248
1281
|
AC_ARG_WITH([sysroot],
|
|
1249
1282
|
[AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
|
|
1250
1283
|
[Search for dependent libraries within DIR (or the compiler's sysroot
|
|
@@ -1257,11 +1290,13 @@ lt_sysroot=
|
|
|
1257
1290
|
case $with_sysroot in #(
|
|
1258
1291
|
yes)
|
|
1259
1292
|
if test yes = "$GCC"; then
|
|
1260
|
-
|
|
1293
|
+
# Trim trailing / since we'll always append absolute paths and we want
|
|
1294
|
+
# to avoid //, if only for less confusing output for the user.
|
|
1295
|
+
lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
|
|
1261
1296
|
fi
|
|
1262
1297
|
;; #(
|
|
1263
1298
|
/*)
|
|
1264
|
-
lt_sysroot=`echo "$with_sysroot" |
|
|
1299
|
+
lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
|
|
1265
1300
|
;; #(
|
|
1266
1301
|
no|'')
|
|
1267
1302
|
;; #(
|
|
@@ -1291,7 +1326,7 @@ ia64-*-hpux*)
|
|
|
1291
1326
|
# options accordingly.
|
|
1292
1327
|
echo 'int i;' > conftest.$ac_ext
|
|
1293
1328
|
if AC_TRY_EVAL(ac_compile); then
|
|
1294
|
-
case
|
|
1329
|
+
case `$FILECMD conftest.$ac_objext` in
|
|
1295
1330
|
*ELF-32*)
|
|
1296
1331
|
HPUX_IA64_MODE=32
|
|
1297
1332
|
;;
|
|
@@ -1308,7 +1343,7 @@ ia64-*-hpux*)
|
|
|
1308
1343
|
echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
|
|
1309
1344
|
if AC_TRY_EVAL(ac_compile); then
|
|
1310
1345
|
if test yes = "$lt_cv_prog_gnu_ld"; then
|
|
1311
|
-
case
|
|
1346
|
+
case `$FILECMD conftest.$ac_objext` in
|
|
1312
1347
|
*32-bit*)
|
|
1313
1348
|
LD="${LD-ld} -melf32bsmip"
|
|
1314
1349
|
;;
|
|
@@ -1320,7 +1355,7 @@ ia64-*-hpux*)
|
|
|
1320
1355
|
;;
|
|
1321
1356
|
esac
|
|
1322
1357
|
else
|
|
1323
|
-
case
|
|
1358
|
+
case `$FILECMD conftest.$ac_objext` in
|
|
1324
1359
|
*32-bit*)
|
|
1325
1360
|
LD="${LD-ld} -32"
|
|
1326
1361
|
;;
|
|
@@ -1342,7 +1377,7 @@ mips64*-*linux*)
|
|
|
1342
1377
|
echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
|
|
1343
1378
|
if AC_TRY_EVAL(ac_compile); then
|
|
1344
1379
|
emul=elf
|
|
1345
|
-
case
|
|
1380
|
+
case `$FILECMD conftest.$ac_objext` in
|
|
1346
1381
|
*32-bit*)
|
|
1347
1382
|
emul="${emul}32"
|
|
1348
1383
|
;;
|
|
@@ -1350,7 +1385,7 @@ mips64*-*linux*)
|
|
|
1350
1385
|
emul="${emul}64"
|
|
1351
1386
|
;;
|
|
1352
1387
|
esac
|
|
1353
|
-
case
|
|
1388
|
+
case `$FILECMD conftest.$ac_objext` in
|
|
1354
1389
|
*MSB*)
|
|
1355
1390
|
emul="${emul}btsmip"
|
|
1356
1391
|
;;
|
|
@@ -1358,7 +1393,7 @@ mips64*-*linux*)
|
|
|
1358
1393
|
emul="${emul}ltsmip"
|
|
1359
1394
|
;;
|
|
1360
1395
|
esac
|
|
1361
|
-
case
|
|
1396
|
+
case `$FILECMD conftest.$ac_objext` in
|
|
1362
1397
|
*N32*)
|
|
1363
1398
|
emul="${emul}n32"
|
|
1364
1399
|
;;
|
|
@@ -1369,7 +1404,7 @@ mips64*-*linux*)
|
|
|
1369
1404
|
;;
|
|
1370
1405
|
|
|
1371
1406
|
x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
|
|
1372
|
-
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
|
1407
|
+
s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
|
|
1373
1408
|
# Find out what ABI is being produced by ac_compile, and set linker
|
|
1374
1409
|
# options accordingly. Note that the listed cases only cover the
|
|
1375
1410
|
# situations where additional linker options are needed (such as when
|
|
@@ -1378,14 +1413,14 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
|
|
1378
1413
|
# not appear in the list.
|
|
1379
1414
|
echo 'int i;' > conftest.$ac_ext
|
|
1380
1415
|
if AC_TRY_EVAL(ac_compile); then
|
|
1381
|
-
case
|
|
1416
|
+
case `$FILECMD conftest.o` in
|
|
1382
1417
|
*32-bit*)
|
|
1383
1418
|
case $host in
|
|
1384
1419
|
x86_64-*kfreebsd*-gnu)
|
|
1385
1420
|
LD="${LD-ld} -m elf_i386_fbsd"
|
|
1386
1421
|
;;
|
|
1387
|
-
x86_64-*linux*)
|
|
1388
|
-
case
|
|
1422
|
+
x86_64-*linux*|x86_64-gnu*)
|
|
1423
|
+
case `$FILECMD conftest.o` in
|
|
1389
1424
|
*x86-64*)
|
|
1390
1425
|
LD="${LD-ld} -m elf32_x86_64"
|
|
1391
1426
|
;;
|
|
@@ -1413,7 +1448,7 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
|
|
1413
1448
|
x86_64-*kfreebsd*-gnu)
|
|
1414
1449
|
LD="${LD-ld} -m elf_x86_64_fbsd"
|
|
1415
1450
|
;;
|
|
1416
|
-
x86_64-*linux*)
|
|
1451
|
+
x86_64-*linux*|x86_64-gnu*)
|
|
1417
1452
|
LD="${LD-ld} -m elf_x86_64"
|
|
1418
1453
|
;;
|
|
1419
1454
|
powerpcle-*linux*)
|
|
@@ -1453,7 +1488,7 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
|
|
1453
1488
|
# options accordingly.
|
|
1454
1489
|
echo 'int i;' > conftest.$ac_ext
|
|
1455
1490
|
if AC_TRY_EVAL(ac_compile); then
|
|
1456
|
-
case
|
|
1491
|
+
case `$FILECMD conftest.o` in
|
|
1457
1492
|
*64-bit*)
|
|
1458
1493
|
case $lt_cv_prog_gnu_ld in
|
|
1459
1494
|
yes*)
|
|
@@ -1492,9 +1527,22 @@ need_locks=$enable_libtool_lock
|
|
|
1492
1527
|
m4_defun([_LT_PROG_AR],
|
|
1493
1528
|
[AC_CHECK_TOOLS(AR, [ar], false)
|
|
1494
1529
|
: ${AR=ar}
|
|
1495
|
-
: ${AR_FLAGS=cru}
|
|
1496
1530
|
_LT_DECL([], [AR], [1], [The archiver])
|
|
1497
|
-
|
|
1531
|
+
|
|
1532
|
+
# Use ARFLAGS variable as AR's operation code to sync the variable naming with
|
|
1533
|
+
# Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
|
|
1534
|
+
# higher priority because that's what people were doing historically (setting
|
|
1535
|
+
# ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
|
|
1536
|
+
# variable obsoleted/removed.
|
|
1537
|
+
|
|
1538
|
+
test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
|
|
1539
|
+
lt_ar_flags=$AR_FLAGS
|
|
1540
|
+
_LT_DECL([], [lt_ar_flags], [0], [Flags to create an archive (by configure)])
|
|
1541
|
+
|
|
1542
|
+
# Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
|
|
1543
|
+
# by AR_FLAGS because that was never working and AR_FLAGS is about to die.
|
|
1544
|
+
_LT_DECL([], [AR_FLAGS], [\@S|@{ARFLAGS-"\@S|@lt_ar_flags"}],
|
|
1545
|
+
[Flags to create an archive])
|
|
1498
1546
|
|
|
1499
1547
|
AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
|
|
1500
1548
|
[lt_cv_ar_at_file=no
|
|
@@ -1533,7 +1581,7 @@ AC_CHECK_TOOL(STRIP, strip, :)
|
|
|
1533
1581
|
test -z "$STRIP" && STRIP=:
|
|
1534
1582
|
_LT_DECL([], [STRIP], [1], [A symbol stripping program])
|
|
1535
1583
|
|
|
1536
|
-
|
|
1584
|
+
AC_REQUIRE([AC_PROG_RANLIB])
|
|
1537
1585
|
test -z "$RANLIB" && RANLIB=:
|
|
1538
1586
|
_LT_DECL([], [RANLIB], [1],
|
|
1539
1587
|
[Commands used to install an old-style archive])
|
|
@@ -1544,15 +1592,8 @@ old_postinstall_cmds='chmod 644 $oldlib'
|
|
|
1544
1592
|
old_postuninstall_cmds=
|
|
1545
1593
|
|
|
1546
1594
|
if test -n "$RANLIB"; then
|
|
1547
|
-
case $host_os in
|
|
1548
|
-
bitrig* | openbsd*)
|
|
1549
|
-
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
|
|
1550
|
-
;;
|
|
1551
|
-
*)
|
|
1552
|
-
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
|
|
1553
|
-
;;
|
|
1554
|
-
esac
|
|
1555
1595
|
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
|
|
1596
|
+
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
|
|
1556
1597
|
fi
|
|
1557
1598
|
|
|
1558
1599
|
case $host_os in
|
|
@@ -1684,14 +1725,14 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
|
|
|
1684
1725
|
lt_cv_sys_max_cmd_len=12288; # 12K is about right
|
|
1685
1726
|
;;
|
|
1686
1727
|
|
|
1687
|
-
gnu*)
|
|
1688
|
-
# Under GNU Hurd, this test is not required because there
|
|
1689
|
-
# no limit to the length of command line arguments.
|
|
1728
|
+
gnu* | ironclad*)
|
|
1729
|
+
# Under GNU Hurd and Ironclad, this test is not required because there
|
|
1730
|
+
# is no limit to the length of command line arguments.
|
|
1690
1731
|
# Libtool will interpret -1 as no limit whatsoever
|
|
1691
1732
|
lt_cv_sys_max_cmd_len=-1;
|
|
1692
1733
|
;;
|
|
1693
1734
|
|
|
1694
|
-
cygwin* | mingw* | cegcc*)
|
|
1735
|
+
cygwin* | mingw* | windows* | cegcc*)
|
|
1695
1736
|
# On Win9x/ME, this test blows up -- it succeeds, but takes
|
|
1696
1737
|
# about 5 minutes as the teststring grows exponentially.
|
|
1697
1738
|
# Worse, since 9x/ME are not pre-emptively multitasking,
|
|
@@ -1713,7 +1754,7 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
|
|
|
1713
1754
|
lt_cv_sys_max_cmd_len=8192;
|
|
1714
1755
|
;;
|
|
1715
1756
|
|
|
1716
|
-
|
|
1757
|
+
darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
|
|
1717
1758
|
# This has been around since 386BSD, at least. Likely further.
|
|
1718
1759
|
if test -x /sbin/sysctl; then
|
|
1719
1760
|
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
|
|
@@ -1756,7 +1797,7 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
|
|
|
1756
1797
|
sysv5* | sco5v6* | sysv4.2uw2*)
|
|
1757
1798
|
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
|
|
1758
1799
|
if test -n "$kargmax"; then
|
|
1759
|
-
lt_cv_sys_max_cmd_len=`echo $kargmax |
|
|
1800
|
+
lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[[ ]]//'`
|
|
1760
1801
|
else
|
|
1761
1802
|
lt_cv_sys_max_cmd_len=32768
|
|
1762
1803
|
fi
|
|
@@ -1873,11 +1914,11 @@ else
|
|
|
1873
1914
|
/* When -fvisibility=hidden is used, assume the code has been annotated
|
|
1874
1915
|
correspondingly for the symbols needed. */
|
|
1875
1916
|
#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
|
|
1876
|
-
int fnord () __attribute__((visibility("default")));
|
|
1917
|
+
int fnord (void) __attribute__((visibility("default")));
|
|
1877
1918
|
#endif
|
|
1878
1919
|
|
|
1879
|
-
int fnord () { return 42; }
|
|
1880
|
-
int main ()
|
|
1920
|
+
int fnord (void) { return 42; }
|
|
1921
|
+
int main (void)
|
|
1881
1922
|
{
|
|
1882
1923
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
|
|
1883
1924
|
int status = $lt_dlunknown;
|
|
@@ -1934,7 +1975,7 @@ else
|
|
|
1934
1975
|
lt_cv_dlopen_self=yes
|
|
1935
1976
|
;;
|
|
1936
1977
|
|
|
1937
|
-
mingw* | pw32* | cegcc*)
|
|
1978
|
+
mingw* | windows* | pw32* | cegcc*)
|
|
1938
1979
|
lt_cv_dlopen=LoadLibrary
|
|
1939
1980
|
lt_cv_dlopen_libs=
|
|
1940
1981
|
;;
|
|
@@ -2206,26 +2247,35 @@ m4_defun([_LT_CMD_STRIPLIB],
|
|
|
2206
2247
|
striplib=
|
|
2207
2248
|
old_striplib=
|
|
2208
2249
|
AC_MSG_CHECKING([whether stripping libraries is possible])
|
|
2209
|
-
if test -
|
|
2210
|
-
|
|
2211
|
-
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
|
|
2212
|
-
AC_MSG_RESULT([yes])
|
|
2250
|
+
if test -z "$STRIP"; then
|
|
2251
|
+
AC_MSG_RESULT([no])
|
|
2213
2252
|
else
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2253
|
+
if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
|
|
2254
|
+
old_striplib="$STRIP --strip-debug"
|
|
2255
|
+
striplib="$STRIP --strip-unneeded"
|
|
2256
|
+
AC_MSG_RESULT([yes])
|
|
2257
|
+
else
|
|
2258
|
+
case $host_os in
|
|
2259
|
+
darwin*)
|
|
2260
|
+
# FIXME - insert some real tests, host_os isn't really good enough
|
|
2218
2261
|
striplib="$STRIP -x"
|
|
2219
2262
|
old_striplib="$STRIP -S"
|
|
2220
2263
|
AC_MSG_RESULT([yes])
|
|
2221
|
-
|
|
2264
|
+
;;
|
|
2265
|
+
freebsd*)
|
|
2266
|
+
if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
|
|
2267
|
+
old_striplib="$STRIP --strip-debug"
|
|
2268
|
+
striplib="$STRIP --strip-unneeded"
|
|
2269
|
+
AC_MSG_RESULT([yes])
|
|
2270
|
+
else
|
|
2271
|
+
AC_MSG_RESULT([no])
|
|
2272
|
+
fi
|
|
2273
|
+
;;
|
|
2274
|
+
*)
|
|
2222
2275
|
AC_MSG_RESULT([no])
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
AC_MSG_RESULT([no])
|
|
2227
|
-
;;
|
|
2228
|
-
esac
|
|
2276
|
+
;;
|
|
2277
|
+
esac
|
|
2278
|
+
fi
|
|
2229
2279
|
fi
|
|
2230
2280
|
_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
|
|
2231
2281
|
_LT_DECL([], [striplib], [1])
|
|
@@ -2256,7 +2306,7 @@ func_munge_path_list ()
|
|
|
2256
2306
|
x)
|
|
2257
2307
|
;;
|
|
2258
2308
|
*:)
|
|
2259
|
-
eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`
|
|
2309
|
+
eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
|
|
2260
2310
|
;;
|
|
2261
2311
|
x:*)
|
|
2262
2312
|
eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
|
|
@@ -2293,7 +2343,7 @@ if test yes = "$GCC"; then
|
|
|
2293
2343
|
*) lt_awk_arg='/^libraries:/' ;;
|
|
2294
2344
|
esac
|
|
2295
2345
|
case $host_os in
|
|
2296
|
-
mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;;
|
|
2346
|
+
mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;;
|
|
2297
2347
|
*) lt_sed_strip_eq='s|=/|/|g' ;;
|
|
2298
2348
|
esac
|
|
2299
2349
|
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
|
|
@@ -2351,7 +2401,7 @@ BEGIN {RS = " "; FS = "/|\n";} {
|
|
|
2351
2401
|
# AWK program above erroneously prepends '/' to C:/dos/paths
|
|
2352
2402
|
# for these hosts.
|
|
2353
2403
|
case $host_os in
|
|
2354
|
-
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
|
|
2404
|
+
mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
|
|
2355
2405
|
$SED 's|/\([[A-Za-z]]:\)|\1|g'` ;;
|
|
2356
2406
|
esac
|
|
2357
2407
|
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
|
|
@@ -2426,7 +2476,7 @@ aix[[4-9]]*)
|
|
|
2426
2476
|
# Unfortunately, runtime linking may impact performance, so we do
|
|
2427
2477
|
# not want this to be the default eventually. Also, we use the
|
|
2428
2478
|
# versioned .so libs for executables only if there is the -brtl
|
|
2429
|
-
# linker flag in LDFLAGS as well, or --
|
|
2479
|
+
# linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
|
|
2430
2480
|
# To allow for filename-based versioning support, we need to create
|
|
2431
2481
|
# libNAME.so.V as an archive file, containing:
|
|
2432
2482
|
# *) an Import File, referring to the versioned filename of the
|
|
@@ -2520,7 +2570,7 @@ bsdi[[45]]*)
|
|
|
2520
2570
|
# libtool to hard-code these into programs
|
|
2521
2571
|
;;
|
|
2522
2572
|
|
|
2523
|
-
cygwin* | mingw* | pw32* | cegcc*)
|
|
2573
|
+
cygwin* | mingw* | windows* | pw32* | cegcc*)
|
|
2524
2574
|
version_type=windows
|
|
2525
2575
|
shrext_cmds=.dll
|
|
2526
2576
|
need_version=no
|
|
@@ -2531,15 +2581,29 @@ cygwin* | mingw* | pw32* | cegcc*)
|
|
|
2531
2581
|
# gcc
|
|
2532
2582
|
library_names_spec='$libname.dll.a'
|
|
2533
2583
|
# DLL is installed to $(libdir)/../bin by postinstall_cmds
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2584
|
+
# If user builds GCC with multilib enabled,
|
|
2585
|
+
# it should just install on $(libdir)
|
|
2586
|
+
# not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
|
|
2587
|
+
if test xyes = x"$multilib"; then
|
|
2588
|
+
postinstall_cmds='base_file=`basename \$file`~
|
|
2589
|
+
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
|
|
2590
|
+
dldir=$destdir/`dirname \$dlpath`~
|
|
2591
|
+
$install_prog $dir/$dlname $destdir/$dlname~
|
|
2592
|
+
chmod a+x $destdir/$dlname~
|
|
2593
|
+
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
|
|
2594
|
+
eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
|
|
2595
|
+
fi'
|
|
2596
|
+
else
|
|
2597
|
+
postinstall_cmds='base_file=`basename \$file`~
|
|
2598
|
+
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
|
|
2599
|
+
dldir=$destdir/`dirname \$dlpath`~
|
|
2600
|
+
test -d \$dldir || mkdir -p \$dldir~
|
|
2601
|
+
$install_prog $dir/$dlname \$dldir/$dlname~
|
|
2602
|
+
chmod a+x \$dldir/$dlname~
|
|
2603
|
+
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
|
|
2604
|
+
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
|
|
2605
|
+
fi'
|
|
2606
|
+
fi
|
|
2543
2607
|
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
|
|
2544
2608
|
dlpath=$dir/\$dldll~
|
|
2545
2609
|
$RM \$dlpath'
|
|
@@ -2548,30 +2612,30 @@ cygwin* | mingw* | pw32* | cegcc*)
|
|
|
2548
2612
|
case $host_os in
|
|
2549
2613
|
cygwin*)
|
|
2550
2614
|
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
|
|
2551
|
-
soname_spec='`echo $libname |
|
|
2615
|
+
soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
|
|
2552
2616
|
m4_if([$1], [],[
|
|
2553
2617
|
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
|
|
2554
2618
|
;;
|
|
2555
|
-
mingw* | cegcc*)
|
|
2619
|
+
mingw* | windows* | cegcc*)
|
|
2556
2620
|
# MinGW DLLs use traditional 'lib' prefix
|
|
2557
2621
|
soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
|
|
2558
2622
|
;;
|
|
2559
2623
|
pw32*)
|
|
2560
2624
|
# pw32 DLLs use 'pw' prefix rather than 'lib'
|
|
2561
|
-
library_names_spec='`echo $libname |
|
|
2625
|
+
library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
|
|
2562
2626
|
;;
|
|
2563
2627
|
esac
|
|
2564
2628
|
dynamic_linker='Win32 ld.exe'
|
|
2565
2629
|
;;
|
|
2566
2630
|
|
|
2567
|
-
*,cl*)
|
|
2568
|
-
# Native MSVC
|
|
2631
|
+
*,cl* | *,icl*)
|
|
2632
|
+
# Native MSVC or ICC
|
|
2569
2633
|
libname_spec='$name'
|
|
2570
2634
|
soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
|
|
2571
2635
|
library_names_spec='$libname.dll.lib'
|
|
2572
2636
|
|
|
2573
2637
|
case $build_os in
|
|
2574
|
-
mingw*)
|
|
2638
|
+
mingw* | windows*)
|
|
2575
2639
|
sys_lib_search_path_spec=
|
|
2576
2640
|
lt_save_ifs=$IFS
|
|
2577
2641
|
IFS=';'
|
|
@@ -2584,7 +2648,7 @@ m4_if([$1], [],[
|
|
|
2584
2648
|
done
|
|
2585
2649
|
IFS=$lt_save_ifs
|
|
2586
2650
|
# Convert to MSYS style.
|
|
2587
|
-
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" |
|
|
2651
|
+
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`
|
|
2588
2652
|
;;
|
|
2589
2653
|
cygwin*)
|
|
2590
2654
|
# Convert to unix form, then to dos form, then back to unix form
|
|
@@ -2621,7 +2685,7 @@ m4_if([$1], [],[
|
|
|
2621
2685
|
;;
|
|
2622
2686
|
|
|
2623
2687
|
*)
|
|
2624
|
-
# Assume MSVC wrapper
|
|
2688
|
+
# Assume MSVC and ICC wrapper
|
|
2625
2689
|
library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib'
|
|
2626
2690
|
dynamic_linker='Win32 ld.exe'
|
|
2627
2691
|
;;
|
|
@@ -2654,7 +2718,7 @@ dgux*)
|
|
|
2654
2718
|
shlibpath_var=LD_LIBRARY_PATH
|
|
2655
2719
|
;;
|
|
2656
2720
|
|
|
2657
|
-
freebsd* | dragonfly*)
|
|
2721
|
+
freebsd* | dragonfly* | midnightbsd*)
|
|
2658
2722
|
# DragonFly does not have aout. When/if they implement a new
|
|
2659
2723
|
# versioning mechanism, adjust this.
|
|
2660
2724
|
if test -x /usr/bin/objformat; then
|
|
@@ -2678,7 +2742,21 @@ freebsd* | dragonfly*)
|
|
|
2678
2742
|
need_version=yes
|
|
2679
2743
|
;;
|
|
2680
2744
|
esac
|
|
2681
|
-
|
|
2745
|
+
case $host_cpu in
|
|
2746
|
+
powerpc64)
|
|
2747
|
+
# On FreeBSD bi-arch platforms, a different variable is used for 32-bit
|
|
2748
|
+
# binaries. See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
|
|
2749
|
+
AC_COMPILE_IFELSE(
|
|
2750
|
+
[AC_LANG_SOURCE(
|
|
2751
|
+
[[int test_pointer_size[sizeof (void *) - 5];
|
|
2752
|
+
]])],
|
|
2753
|
+
[shlibpath_var=LD_LIBRARY_PATH],
|
|
2754
|
+
[shlibpath_var=LD_32_LIBRARY_PATH])
|
|
2755
|
+
;;
|
|
2756
|
+
*)
|
|
2757
|
+
shlibpath_var=LD_LIBRARY_PATH
|
|
2758
|
+
;;
|
|
2759
|
+
esac
|
|
2682
2760
|
case $host_os in
|
|
2683
2761
|
freebsd2.*)
|
|
2684
2762
|
shlibpath_overrides_runpath=yes
|
|
@@ -2708,8 +2786,9 @@ haiku*)
|
|
|
2708
2786
|
soname_spec='$libname$release$shared_ext$major'
|
|
2709
2787
|
shlibpath_var=LIBRARY_PATH
|
|
2710
2788
|
shlibpath_overrides_runpath=no
|
|
2711
|
-
|
|
2712
|
-
|
|
2789
|
+
sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
|
|
2790
|
+
sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
|
|
2791
|
+
hardcode_into_libs=no
|
|
2713
2792
|
;;
|
|
2714
2793
|
|
|
2715
2794
|
hpux9* | hpux10* | hpux11*)
|
|
@@ -2819,7 +2898,7 @@ linux*android*)
|
|
|
2819
2898
|
version_type=none # Android doesn't support versioned libraries.
|
|
2820
2899
|
need_lib_prefix=no
|
|
2821
2900
|
need_version=no
|
|
2822
|
-
library_names_spec='$libname$release$shared_ext'
|
|
2901
|
+
library_names_spec='$libname$release$shared_ext $libname$shared_ext'
|
|
2823
2902
|
soname_spec='$libname$release$shared_ext'
|
|
2824
2903
|
finish_cmds=
|
|
2825
2904
|
shlibpath_var=LD_LIBRARY_PATH
|
|
@@ -2831,8 +2910,9 @@ linux*android*)
|
|
|
2831
2910
|
hardcode_into_libs=yes
|
|
2832
2911
|
|
|
2833
2912
|
dynamic_linker='Android linker'
|
|
2834
|
-
#
|
|
2835
|
-
|
|
2913
|
+
# -rpath works at least for libraries that are not overridden by
|
|
2914
|
+
# libraries installed in system locations.
|
|
2915
|
+
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
|
|
2836
2916
|
;;
|
|
2837
2917
|
|
|
2838
2918
|
# This must be glibc/ELF.
|
|
@@ -2866,7 +2946,7 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
|
|
|
2866
2946
|
# before this can be enabled.
|
|
2867
2947
|
hardcode_into_libs=yes
|
|
2868
2948
|
|
|
2869
|
-
# Ideally, we could use ldconfig to report *all*
|
|
2949
|
+
# Ideally, we could use ldconfig to report *all* directories which are
|
|
2870
2950
|
# searched for libraries, however this is still not possible. Aside from not
|
|
2871
2951
|
# being certain /sbin/ldconfig is available, command
|
|
2872
2952
|
# 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
|
|
@@ -2886,6 +2966,30 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
|
|
|
2886
2966
|
dynamic_linker='GNU/Linux ld.so'
|
|
2887
2967
|
;;
|
|
2888
2968
|
|
|
2969
|
+
netbsdelf*-gnu)
|
|
2970
|
+
version_type=linux
|
|
2971
|
+
need_lib_prefix=no
|
|
2972
|
+
need_version=no
|
|
2973
|
+
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
|
|
2974
|
+
soname_spec='$libname$release$shared_ext$major'
|
|
2975
|
+
shlibpath_var=LD_LIBRARY_PATH
|
|
2976
|
+
shlibpath_overrides_runpath=no
|
|
2977
|
+
hardcode_into_libs=yes
|
|
2978
|
+
dynamic_linker='NetBSD ld.elf_so'
|
|
2979
|
+
;;
|
|
2980
|
+
|
|
2981
|
+
netbsdelf*-gnu)
|
|
2982
|
+
version_type=linux
|
|
2983
|
+
need_lib_prefix=no
|
|
2984
|
+
need_version=no
|
|
2985
|
+
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
2986
|
+
soname_spec='${libname}${release}${shared_ext}$major'
|
|
2987
|
+
shlibpath_var=LD_LIBRARY_PATH
|
|
2988
|
+
shlibpath_overrides_runpath=no
|
|
2989
|
+
hardcode_into_libs=yes
|
|
2990
|
+
dynamic_linker='NetBSD ld.elf_so'
|
|
2991
|
+
;;
|
|
2992
|
+
|
|
2889
2993
|
netbsd*)
|
|
2890
2994
|
version_type=sunos
|
|
2891
2995
|
need_lib_prefix=no
|
|
@@ -2904,6 +3008,18 @@ netbsd*)
|
|
|
2904
3008
|
hardcode_into_libs=yes
|
|
2905
3009
|
;;
|
|
2906
3010
|
|
|
3011
|
+
*-mlibc)
|
|
3012
|
+
version_type=linux # correct to gnu/linux during the next big refactor
|
|
3013
|
+
need_lib_prefix=no
|
|
3014
|
+
need_version=no
|
|
3015
|
+
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
|
|
3016
|
+
soname_spec='$libname$release$shared_ext$major'
|
|
3017
|
+
dynamic_linker='mlibc ld.so'
|
|
3018
|
+
shlibpath_var=LD_LIBRARY_PATH
|
|
3019
|
+
shlibpath_overrides_runpath=no
|
|
3020
|
+
hardcode_into_libs=yes
|
|
3021
|
+
;;
|
|
3022
|
+
|
|
2907
3023
|
newsos6)
|
|
2908
3024
|
version_type=linux # correct to gnu/linux during the next big refactor
|
|
2909
3025
|
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
|
|
@@ -2923,7 +3039,7 @@ newsos6)
|
|
|
2923
3039
|
dynamic_linker='ldqnx.so'
|
|
2924
3040
|
;;
|
|
2925
3041
|
|
|
2926
|
-
openbsd*
|
|
3042
|
+
openbsd*)
|
|
2927
3043
|
version_type=sunos
|
|
2928
3044
|
sys_lib_dlsearch_path_spec=/usr/lib
|
|
2929
3045
|
need_lib_prefix=no
|
|
@@ -2983,6 +3099,17 @@ rdos*)
|
|
|
2983
3099
|
dynamic_linker=no
|
|
2984
3100
|
;;
|
|
2985
3101
|
|
|
3102
|
+
serenity*)
|
|
3103
|
+
version_type=linux # correct to gnu/linux during the next big refactor
|
|
3104
|
+
need_lib_prefix=no
|
|
3105
|
+
need_version=no
|
|
3106
|
+
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
|
|
3107
|
+
soname_spec='$libname$release$shared_ext$major'
|
|
3108
|
+
shlibpath_var=LD_LIBRARY_PATH
|
|
3109
|
+
shlibpath_overrides_runpath=no
|
|
3110
|
+
dynamic_linker='SerenityOS LibELF'
|
|
3111
|
+
;;
|
|
3112
|
+
|
|
2986
3113
|
solaris*)
|
|
2987
3114
|
version_type=linux # correct to gnu/linux during the next big refactor
|
|
2988
3115
|
need_lib_prefix=no
|
|
@@ -3080,6 +3207,21 @@ uts4*)
|
|
|
3080
3207
|
shlibpath_var=LD_LIBRARY_PATH
|
|
3081
3208
|
;;
|
|
3082
3209
|
|
|
3210
|
+
emscripten*)
|
|
3211
|
+
version_type=none
|
|
3212
|
+
need_lib_prefix=no
|
|
3213
|
+
need_version=no
|
|
3214
|
+
library_names_spec='$libname$release$shared_ext'
|
|
3215
|
+
soname_spec='$libname$release$shared_ext'
|
|
3216
|
+
finish_cmds=
|
|
3217
|
+
dynamic_linker="Emscripten linker"
|
|
3218
|
+
_LT_COMPILER_PIC($1)='-fPIC'
|
|
3219
|
+
_LT_TAGVAR(archive_cmds, $1)='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
|
|
3220
|
+
_LT_TAGVAR(archive_expsym_cmds, $1)='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib -s EXPORTED_FUNCTIONS=@$output_objdir/$soname.expsym'
|
|
3221
|
+
_LT_TAGVAR(archive_cmds_need_lc, $1)=no
|
|
3222
|
+
_LT_TAGVAR(no_undefined_flag, $1)=
|
|
3223
|
+
;;
|
|
3224
|
+
|
|
3083
3225
|
*)
|
|
3084
3226
|
dynamic_linker=no
|
|
3085
3227
|
;;
|
|
@@ -3100,13 +3242,15 @@ if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
|
|
|
3100
3242
|
sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
|
|
3101
3243
|
fi
|
|
3102
3244
|
|
|
3103
|
-
#
|
|
3104
|
-
|
|
3245
|
+
# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
|
|
3246
|
+
configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
|
|
3105
3247
|
|
|
3106
|
-
#
|
|
3107
|
-
# LT_SYS_DLSEARCH_PATH macro in ltdl.m4 to work with the correct paths:
|
|
3248
|
+
# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
|
|
3108
3249
|
func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
|
|
3109
3250
|
|
|
3251
|
+
# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
|
|
3252
|
+
configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
|
|
3253
|
+
|
|
3110
3254
|
_LT_DECL([], [variables_saved_for_relink], [1],
|
|
3111
3255
|
[Variables whose values should be saved in libtool wrapper scripts and
|
|
3112
3256
|
restored at link time])
|
|
@@ -3139,8 +3283,10 @@ _LT_DECL([], [hardcode_into_libs], [0],
|
|
|
3139
3283
|
[Whether we should hardcode library paths into libraries])
|
|
3140
3284
|
_LT_DECL([], [sys_lib_search_path_spec], [2],
|
|
3141
3285
|
[Compile-time system search path for libraries])
|
|
3142
|
-
_LT_DECL([sys_lib_dlsearch_path_spec], [
|
|
3143
|
-
[
|
|
3286
|
+
_LT_DECL([sys_lib_dlsearch_path_spec], [configure_time_dlsearch_path], [2],
|
|
3287
|
+
[Detected run-time system search path for libraries])
|
|
3288
|
+
_LT_DECL([], [configure_time_lt_sys_library_path], [2],
|
|
3289
|
+
[Explicit LT_SYS_LIBRARY_PATH set during ./configure time])
|
|
3144
3290
|
])# _LT_SYS_DYNAMIC_LINKER
|
|
3145
3291
|
|
|
3146
3292
|
|
|
@@ -3251,7 +3397,7 @@ if test yes = "$GCC"; then
|
|
|
3251
3397
|
# Check if gcc -print-prog-name=ld gives a path.
|
|
3252
3398
|
AC_MSG_CHECKING([for ld used by $CC])
|
|
3253
3399
|
case $host in
|
|
3254
|
-
*-*-mingw*)
|
|
3400
|
+
*-*-mingw* | *-*-windows*)
|
|
3255
3401
|
# gcc leaves a trailing carriage return, which upsets mingw
|
|
3256
3402
|
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
|
|
3257
3403
|
*)
|
|
@@ -3360,7 +3506,7 @@ case $reload_flag in
|
|
|
3360
3506
|
esac
|
|
3361
3507
|
reload_cmds='$LD$reload_flag -o $output$reload_objs'
|
|
3362
3508
|
case $host_os in
|
|
3363
|
-
cygwin* | mingw* | pw32* | cegcc*)
|
|
3509
|
+
cygwin* | mingw* | windows* | pw32* | cegcc*)
|
|
3364
3510
|
if test yes != "$GCC"; then
|
|
3365
3511
|
reload_cmds=false
|
|
3366
3512
|
fi
|
|
@@ -3432,7 +3578,6 @@ lt_cv_deplibs_check_method='unknown'
|
|
|
3432
3578
|
# 'none' -- dependencies not supported.
|
|
3433
3579
|
# 'unknown' -- same as none, but documents that we really don't know.
|
|
3434
3580
|
# 'pass_all' -- all dependencies passed with no checks.
|
|
3435
|
-
# 'test_compile' -- check by making test program.
|
|
3436
3581
|
# 'file_magic [[regex]]' -- check by looking for files in library path
|
|
3437
3582
|
# that responds to the $file_magic_cmd with a given extended regex.
|
|
3438
3583
|
# If you have 'file' or equivalent on your system and you're not sure
|
|
@@ -3449,7 +3594,7 @@ beos*)
|
|
|
3449
3594
|
|
|
3450
3595
|
bsdi[[45]]*)
|
|
3451
3596
|
lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
|
|
3452
|
-
lt_cv_file_magic_cmd='
|
|
3597
|
+
lt_cv_file_magic_cmd='$FILECMD -L'
|
|
3453
3598
|
lt_cv_file_magic_test_file=/shlib/libc.so
|
|
3454
3599
|
;;
|
|
3455
3600
|
|
|
@@ -3459,7 +3604,7 @@ cygwin*)
|
|
|
3459
3604
|
lt_cv_file_magic_cmd='func_win32_libid'
|
|
3460
3605
|
;;
|
|
3461
3606
|
|
|
3462
|
-
mingw* | pw32*)
|
|
3607
|
+
mingw* | windows* | pw32*)
|
|
3463
3608
|
# Base MSYS/MinGW do not provide the 'file' command needed by
|
|
3464
3609
|
# func_win32_libid shell function, so use a weaker test based on 'objdump',
|
|
3465
3610
|
# unless we find 'file', for example because we are cross-compiling.
|
|
@@ -3468,7 +3613,7 @@ mingw* | pw32*)
|
|
|
3468
3613
|
lt_cv_file_magic_cmd='func_win32_libid'
|
|
3469
3614
|
else
|
|
3470
3615
|
# Keep this pattern in sync with the one in func_win32_libid.
|
|
3471
|
-
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
|
|
3616
|
+
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
|
|
3472
3617
|
lt_cv_file_magic_cmd='$OBJDUMP -f'
|
|
3473
3618
|
fi
|
|
3474
3619
|
;;
|
|
@@ -3483,14 +3628,14 @@ darwin* | rhapsody*)
|
|
|
3483
3628
|
lt_cv_deplibs_check_method=pass_all
|
|
3484
3629
|
;;
|
|
3485
3630
|
|
|
3486
|
-
freebsd* | dragonfly*)
|
|
3631
|
+
freebsd* | dragonfly* | midnightbsd*)
|
|
3487
3632
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
|
|
3488
3633
|
case $host_cpu in
|
|
3489
3634
|
i*86 )
|
|
3490
3635
|
# Not sure whether the presence of OpenBSD here was a mistake.
|
|
3491
3636
|
# Let's accept both of them until this is cleared up.
|
|
3492
3637
|
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
|
|
3493
|
-
lt_cv_file_magic_cmd
|
|
3638
|
+
lt_cv_file_magic_cmd=$FILECMD
|
|
3494
3639
|
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
|
|
3495
3640
|
;;
|
|
3496
3641
|
esac
|
|
@@ -3504,7 +3649,7 @@ haiku*)
|
|
|
3504
3649
|
;;
|
|
3505
3650
|
|
|
3506
3651
|
hpux10.20* | hpux11*)
|
|
3507
|
-
lt_cv_file_magic_cmd
|
|
3652
|
+
lt_cv_file_magic_cmd=$FILECMD
|
|
3508
3653
|
case $host_cpu in
|
|
3509
3654
|
ia64*)
|
|
3510
3655
|
lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
|
|
@@ -3541,7 +3686,11 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
|
|
|
3541
3686
|
lt_cv_deplibs_check_method=pass_all
|
|
3542
3687
|
;;
|
|
3543
3688
|
|
|
3544
|
-
|
|
3689
|
+
*-mlibc)
|
|
3690
|
+
lt_cv_deplibs_check_method=pass_all
|
|
3691
|
+
;;
|
|
3692
|
+
|
|
3693
|
+
netbsd* | netbsdelf*-gnu)
|
|
3545
3694
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
|
|
3546
3695
|
lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
|
|
3547
3696
|
else
|
|
@@ -3551,7 +3700,7 @@ netbsd*)
|
|
|
3551
3700
|
|
|
3552
3701
|
newos6*)
|
|
3553
3702
|
lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
|
|
3554
|
-
lt_cv_file_magic_cmd
|
|
3703
|
+
lt_cv_file_magic_cmd=$FILECMD
|
|
3555
3704
|
lt_cv_file_magic_test_file=/usr/lib/libnls.so
|
|
3556
3705
|
;;
|
|
3557
3706
|
|
|
@@ -3559,7 +3708,7 @@ newos6*)
|
|
|
3559
3708
|
lt_cv_deplibs_check_method=pass_all
|
|
3560
3709
|
;;
|
|
3561
3710
|
|
|
3562
|
-
openbsd*
|
|
3711
|
+
openbsd*)
|
|
3563
3712
|
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
|
|
3564
3713
|
lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
|
|
3565
3714
|
else
|
|
@@ -3575,6 +3724,10 @@ rdos*)
|
|
|
3575
3724
|
lt_cv_deplibs_check_method=pass_all
|
|
3576
3725
|
;;
|
|
3577
3726
|
|
|
3727
|
+
serenity*)
|
|
3728
|
+
lt_cv_deplibs_check_method=pass_all
|
|
3729
|
+
;;
|
|
3730
|
+
|
|
3578
3731
|
solaris*)
|
|
3579
3732
|
lt_cv_deplibs_check_method=pass_all
|
|
3580
3733
|
;;
|
|
@@ -3623,7 +3776,7 @@ file_magic_glob=
|
|
|
3623
3776
|
want_nocaseglob=no
|
|
3624
3777
|
if test "$build" = "$host"; then
|
|
3625
3778
|
case $host_os in
|
|
3626
|
-
mingw* | pw32*)
|
|
3779
|
+
mingw* | windows* | pw32*)
|
|
3627
3780
|
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
|
|
3628
3781
|
want_nocaseglob=yes
|
|
3629
3782
|
else
|
|
@@ -3675,16 +3828,16 @@ else
|
|
|
3675
3828
|
# Tru64's nm complains that /dev/null is an invalid object file
|
|
3676
3829
|
# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
|
|
3677
3830
|
case $build_os in
|
|
3678
|
-
mingw*) lt_bad_file=conftest.nm/nofile ;;
|
|
3831
|
+
mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
|
|
3679
3832
|
*) lt_bad_file=/dev/null ;;
|
|
3680
3833
|
esac
|
|
3681
|
-
case `"$tmp_nm" -B $lt_bad_file 2>&1 |
|
|
3834
|
+
case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
|
|
3682
3835
|
*$lt_bad_file* | *'Invalid file or object type'*)
|
|
3683
3836
|
lt_cv_path_NM="$tmp_nm -B"
|
|
3684
3837
|
break 2
|
|
3685
3838
|
;;
|
|
3686
3839
|
*)
|
|
3687
|
-
case `"$tmp_nm" -p /dev/null 2>&1 |
|
|
3840
|
+
case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
|
|
3688
3841
|
*/dev/null*)
|
|
3689
3842
|
lt_cv_path_NM="$tmp_nm -p"
|
|
3690
3843
|
break 2
|
|
@@ -3710,7 +3863,7 @@ else
|
|
|
3710
3863
|
# Let the user override the test.
|
|
3711
3864
|
else
|
|
3712
3865
|
AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
|
|
3713
|
-
case `$DUMPBIN -symbols -headers /dev/null 2>&1 |
|
|
3866
|
+
case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
|
|
3714
3867
|
*COFF*)
|
|
3715
3868
|
DUMPBIN="$DUMPBIN -symbols -headers"
|
|
3716
3869
|
;;
|
|
@@ -3766,7 +3919,7 @@ lt_cv_sharedlib_from_linklib_cmd,
|
|
|
3766
3919
|
[lt_cv_sharedlib_from_linklib_cmd='unknown'
|
|
3767
3920
|
|
|
3768
3921
|
case $host_os in
|
|
3769
|
-
cygwin* | mingw* | pw32* | cegcc*)
|
|
3922
|
+
cygwin* | mingw* | windows* | pw32* | cegcc*)
|
|
3770
3923
|
# two different shell functions defined in ltmain.sh;
|
|
3771
3924
|
# decide which one to use based on capabilities of $DLLTOOL
|
|
3772
3925
|
case `$DLLTOOL --help 2>&1` in
|
|
@@ -3798,16 +3951,16 @@ _LT_DECL([], [sharedlib_from_linklib_cmd], [1],
|
|
|
3798
3951
|
m4_defun([_LT_PATH_MANIFEST_TOOL],
|
|
3799
3952
|
[AC_CHECK_TOOL(MANIFEST_TOOL, mt, :)
|
|
3800
3953
|
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
|
|
3801
|
-
AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [
|
|
3802
|
-
[
|
|
3954
|
+
AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_manifest_tool],
|
|
3955
|
+
[lt_cv_path_manifest_tool=no
|
|
3803
3956
|
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD
|
|
3804
3957
|
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
|
|
3805
3958
|
cat conftest.err >&AS_MESSAGE_LOG_FD
|
|
3806
3959
|
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
|
|
3807
|
-
|
|
3960
|
+
lt_cv_path_manifest_tool=yes
|
|
3808
3961
|
fi
|
|
3809
3962
|
rm -f conftest*])
|
|
3810
|
-
if test yes != "$
|
|
3963
|
+
if test yes != "$lt_cv_path_manifest_tool"; then
|
|
3811
3964
|
MANIFEST_TOOL=:
|
|
3812
3965
|
fi
|
|
3813
3966
|
_LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl
|
|
@@ -3836,7 +3989,7 @@ AC_DEFUN([LT_LIB_M],
|
|
|
3836
3989
|
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
|
3837
3990
|
LIBM=
|
|
3838
3991
|
case $host in
|
|
3839
|
-
*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
|
|
3992
|
+
*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-mingw* | *-*-pw32* | *-*-darwin*)
|
|
3840
3993
|
# These system don't have libm, or don't need it
|
|
3841
3994
|
;;
|
|
3842
3995
|
*-ncr-sysv4.3*)
|
|
@@ -3911,7 +4064,7 @@ case $host_os in
|
|
|
3911
4064
|
aix*)
|
|
3912
4065
|
symcode='[[BCDT]]'
|
|
3913
4066
|
;;
|
|
3914
|
-
cygwin* | mingw* | pw32* | cegcc*)
|
|
4067
|
+
cygwin* | mingw* | windows* | pw32* | cegcc*)
|
|
3915
4068
|
symcode='[[ABCDGISTW]]'
|
|
3916
4069
|
;;
|
|
3917
4070
|
hpux*)
|
|
@@ -3926,7 +4079,7 @@ osf*)
|
|
|
3926
4079
|
symcode='[[BCDEGQRST]]'
|
|
3927
4080
|
;;
|
|
3928
4081
|
solaris*)
|
|
3929
|
-
symcode='[[
|
|
4082
|
+
symcode='[[BCDRT]]'
|
|
3930
4083
|
;;
|
|
3931
4084
|
sco3.2v5*)
|
|
3932
4085
|
symcode='[[DT]]'
|
|
@@ -3950,7 +4103,7 @@ esac
|
|
|
3950
4103
|
|
|
3951
4104
|
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
|
|
3952
4105
|
# Gets list of data symbols to import.
|
|
3953
|
-
lt_cv_sys_global_symbol_to_import="
|
|
4106
|
+
lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
|
|
3954
4107
|
# Adjust the below global symbol transforms to fixup imported variables.
|
|
3955
4108
|
lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
|
|
3956
4109
|
lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
|
|
@@ -3968,20 +4121,20 @@ fi
|
|
|
3968
4121
|
# Transform an extracted symbol line into a proper C declaration.
|
|
3969
4122
|
# Some systems (esp. on ia64) link data and code symbols differently,
|
|
3970
4123
|
# so use this general approach.
|
|
3971
|
-
lt_cv_sys_global_symbol_to_cdecl="
|
|
4124
|
+
lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
|
|
3972
4125
|
$lt_cdecl_hook\
|
|
3973
4126
|
" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
|
|
3974
4127
|
" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
|
|
3975
4128
|
|
|
3976
4129
|
# Transform an extracted symbol line into symbol name and symbol address
|
|
3977
|
-
lt_cv_sys_global_symbol_to_c_name_address="
|
|
4130
|
+
lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
|
|
3978
4131
|
$lt_c_name_hook\
|
|
3979
4132
|
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
|
|
3980
4133
|
" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
|
|
3981
4134
|
|
|
3982
4135
|
# Transform an extracted symbol line into symbol name with lib prefix and
|
|
3983
4136
|
# symbol address.
|
|
3984
|
-
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="
|
|
4137
|
+
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
|
|
3985
4138
|
$lt_c_name_lib_hook\
|
|
3986
4139
|
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
|
|
3987
4140
|
" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
|
|
@@ -3990,7 +4143,7 @@ $lt_c_name_lib_hook\
|
|
|
3990
4143
|
# Handle CRLF in mingw tool chain
|
|
3991
4144
|
opt_cr=
|
|
3992
4145
|
case $build_os in
|
|
3993
|
-
mingw*)
|
|
4146
|
+
mingw* | windows*)
|
|
3994
4147
|
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
|
|
3995
4148
|
;;
|
|
3996
4149
|
esac
|
|
@@ -4005,7 +4158,7 @@ for ac_symprfx in "" "_"; do
|
|
|
4005
4158
|
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
|
|
4006
4159
|
# Fake it for dumpbin and say T for any non-static function,
|
|
4007
4160
|
# D for any global variable and I for any imported variable.
|
|
4008
|
-
# Also find C++ and __fastcall symbols from MSVC
|
|
4161
|
+
# Also find C++ and __fastcall symbols from MSVC++ or ICC,
|
|
4009
4162
|
# which start with @ or ?.
|
|
4010
4163
|
lt_cv_sys_global_symbol_pipe="$AWK ['"\
|
|
4011
4164
|
" {last_section=section; section=\$ 3};"\
|
|
@@ -4023,9 +4176,9 @@ for ac_symprfx in "" "_"; do
|
|
|
4023
4176
|
" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
|
|
4024
4177
|
" ' prfx=^$ac_symprfx]"
|
|
4025
4178
|
else
|
|
4026
|
-
lt_cv_sys_global_symbol_pipe="
|
|
4179
|
+
lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
|
|
4027
4180
|
fi
|
|
4028
|
-
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
|
|
4181
|
+
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
|
|
4029
4182
|
|
|
4030
4183
|
# Check to see that the pipe works correctly.
|
|
4031
4184
|
pipe_works=no
|
|
@@ -4041,13 +4194,14 @@ void nm_test_func(void){}
|
|
|
4041
4194
|
#ifdef __cplusplus
|
|
4042
4195
|
}
|
|
4043
4196
|
#endif
|
|
4044
|
-
int main(){nm_test_var='a';nm_test_func();return(0);}
|
|
4197
|
+
int main(void){nm_test_var='a';nm_test_func();return(0);}
|
|
4045
4198
|
_LT_EOF
|
|
4046
4199
|
|
|
4047
4200
|
if AC_TRY_EVAL(ac_compile); then
|
|
4048
4201
|
# Now try to grab the symbols.
|
|
4049
4202
|
nlist=conftest.nm
|
|
4050
|
-
|
|
4203
|
+
$ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&AS_MESSAGE_LOG_FD
|
|
4204
|
+
if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&AS_MESSAGE_LOG_FD && test -s "$nlist"; then
|
|
4051
4205
|
# Try sorting and uniquifying the output.
|
|
4052
4206
|
if sort "$nlist" | uniq > "$nlist"T; then
|
|
4053
4207
|
mv -f "$nlist"T "$nlist"
|
|
@@ -4217,7 +4371,7 @@ m4_if([$1], [CXX], [
|
|
|
4217
4371
|
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
|
4218
4372
|
# PIC is the default for these OSes.
|
|
4219
4373
|
;;
|
|
4220
|
-
mingw* | cygwin* | os2* | pw32* | cegcc*)
|
|
4374
|
+
mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
|
|
4221
4375
|
# This hack is so that the source file can tell whether it is being
|
|
4222
4376
|
# built for inclusion in a dll (and should export symbols for example).
|
|
4223
4377
|
# Although the cygwin gcc ignores -fPIC, still need this for old-style
|
|
@@ -4293,7 +4447,7 @@ m4_if([$1], [CXX], [
|
|
|
4293
4447
|
;;
|
|
4294
4448
|
esac
|
|
4295
4449
|
;;
|
|
4296
|
-
mingw* | cygwin* | os2* | pw32* | cegcc*)
|
|
4450
|
+
mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
|
|
4297
4451
|
# This hack is so that the source file can tell whether it is being
|
|
4298
4452
|
# built for inclusion in a dll (and should export symbols for example).
|
|
4299
4453
|
m4_if([$1], [GCJ], [],
|
|
@@ -4312,7 +4466,7 @@ m4_if([$1], [CXX], [
|
|
|
4312
4466
|
;;
|
|
4313
4467
|
esac
|
|
4314
4468
|
;;
|
|
4315
|
-
freebsd* | dragonfly*)
|
|
4469
|
+
freebsd* | dragonfly* | midnightbsd*)
|
|
4316
4470
|
# FreeBSD uses GNU C++
|
|
4317
4471
|
;;
|
|
4318
4472
|
hpux9* | hpux10* | hpux11*)
|
|
@@ -4395,7 +4549,7 @@ m4_if([$1], [CXX], [
|
|
|
4395
4549
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
|
|
4396
4550
|
;;
|
|
4397
4551
|
*)
|
|
4398
|
-
case `$CC -V 2>&1 |
|
|
4552
|
+
case `$CC -V 2>&1 | $SED 5q` in
|
|
4399
4553
|
*Sun\ C*)
|
|
4400
4554
|
# Sun C++ 5.9
|
|
4401
4555
|
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
|
|
@@ -4419,7 +4573,9 @@ m4_if([$1], [CXX], [
|
|
|
4419
4573
|
;;
|
|
4420
4574
|
esac
|
|
4421
4575
|
;;
|
|
4422
|
-
netbsd*)
|
|
4576
|
+
netbsd* | netbsdelf*-gnu)
|
|
4577
|
+
;;
|
|
4578
|
+
*-mlibc)
|
|
4423
4579
|
;;
|
|
4424
4580
|
*qnx* | *nto*)
|
|
4425
4581
|
# QNX uses GNU C++, but need to define -shared option too, otherwise
|
|
@@ -4449,6 +4605,8 @@ m4_if([$1], [CXX], [
|
|
|
4449
4605
|
;;
|
|
4450
4606
|
psos*)
|
|
4451
4607
|
;;
|
|
4608
|
+
serenity*)
|
|
4609
|
+
;;
|
|
4452
4610
|
solaris*)
|
|
4453
4611
|
case $cc_basename in
|
|
4454
4612
|
CC* | sunCC*)
|
|
@@ -4541,7 +4699,7 @@ m4_if([$1], [CXX], [
|
|
|
4541
4699
|
# PIC is the default for these OSes.
|
|
4542
4700
|
;;
|
|
4543
4701
|
|
|
4544
|
-
mingw* | cygwin* | pw32* | os2* | cegcc*)
|
|
4702
|
+
mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
|
|
4545
4703
|
# This hack is so that the source file can tell whether it is being
|
|
4546
4704
|
# built for inclusion in a dll (and should export symbols for example).
|
|
4547
4705
|
# Although the cygwin gcc ignores -fPIC, still need this for old-style
|
|
@@ -4645,7 +4803,7 @@ m4_if([$1], [CXX], [
|
|
|
4645
4803
|
esac
|
|
4646
4804
|
;;
|
|
4647
4805
|
|
|
4648
|
-
mingw* | cygwin* | pw32* | os2* | cegcc*)
|
|
4806
|
+
mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
|
|
4649
4807
|
# This hack is so that the source file can tell whether it is being
|
|
4650
4808
|
# built for inclusion in a dll (and should export symbols for example).
|
|
4651
4809
|
m4_if([$1], [GCJ], [],
|
|
@@ -4687,6 +4845,18 @@ m4_if([$1], [CXX], [
|
|
|
4687
4845
|
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
|
|
4688
4846
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
|
|
4689
4847
|
;;
|
|
4848
|
+
*flang* | ftn | f18* | f95*)
|
|
4849
|
+
# Flang compiler.
|
|
4850
|
+
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
|
|
4851
|
+
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
|
|
4852
|
+
_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
|
|
4853
|
+
;;
|
|
4854
|
+
# flang / f18. f95 an alias for gfortran or flang on Debian
|
|
4855
|
+
flang* | f18* | f95*)
|
|
4856
|
+
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
|
|
4857
|
+
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
|
|
4858
|
+
_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
|
|
4859
|
+
;;
|
|
4690
4860
|
# icc used to be incompatible with GCC.
|
|
4691
4861
|
# ICC 10 doesn't accept -KPIC any more.
|
|
4692
4862
|
icc* | ifort*)
|
|
@@ -4731,7 +4901,7 @@ m4_if([$1], [CXX], [
|
|
|
4731
4901
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
|
|
4732
4902
|
;;
|
|
4733
4903
|
*)
|
|
4734
|
-
case `$CC -V 2>&1 |
|
|
4904
|
+
case `$CC -V 2>&1 | $SED 5q` in
|
|
4735
4905
|
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
|
|
4736
4906
|
# Sun Fortran 8.3 passes all unrecognized flags to the linker
|
|
4737
4907
|
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
|
|
@@ -4769,6 +4939,12 @@ m4_if([$1], [CXX], [
|
|
|
4769
4939
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
|
|
4770
4940
|
;;
|
|
4771
4941
|
|
|
4942
|
+
*-mlibc)
|
|
4943
|
+
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
|
|
4944
|
+
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
|
|
4945
|
+
_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
|
|
4946
|
+
;;
|
|
4947
|
+
|
|
4772
4948
|
*nto* | *qnx*)
|
|
4773
4949
|
# QNX uses GNU C++, but need to define -shared option too, otherwise
|
|
4774
4950
|
# it will coredump.
|
|
@@ -4785,6 +4961,9 @@ m4_if([$1], [CXX], [
|
|
|
4785
4961
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
|
|
4786
4962
|
;;
|
|
4787
4963
|
|
|
4964
|
+
serenity*)
|
|
4965
|
+
;;
|
|
4966
|
+
|
|
4788
4967
|
solaris*)
|
|
4789
4968
|
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
|
|
4790
4969
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
|
|
@@ -4914,15 +5093,15 @@ m4_if([$1], [CXX], [
|
|
|
4914
5093
|
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
|
|
4915
5094
|
_LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
|
|
4916
5095
|
else
|
|
4917
|
-
_LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
|
|
5096
|
+
_LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 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'
|
|
4918
5097
|
fi
|
|
4919
5098
|
;;
|
|
4920
5099
|
pw32*)
|
|
4921
5100
|
_LT_TAGVAR(export_symbols_cmds, $1)=$ltdll_cmds
|
|
4922
5101
|
;;
|
|
4923
|
-
cygwin* | mingw* | cegcc*)
|
|
5102
|
+
cygwin* | mingw* | windows* | cegcc*)
|
|
4924
5103
|
case $cc_basename in
|
|
4925
|
-
cl*)
|
|
5104
|
+
cl* | icl*)
|
|
4926
5105
|
_LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
|
|
4927
5106
|
;;
|
|
4928
5107
|
*)
|
|
@@ -4931,6 +5110,9 @@ m4_if([$1], [CXX], [
|
|
|
4931
5110
|
;;
|
|
4932
5111
|
esac
|
|
4933
5112
|
;;
|
|
5113
|
+
linux* | k*bsd*-gnu | gnu*)
|
|
5114
|
+
_LT_TAGVAR(link_all_deplibs, $1)=no
|
|
5115
|
+
;;
|
|
4934
5116
|
*)
|
|
4935
5117
|
_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
|
|
4936
5118
|
;;
|
|
@@ -4978,20 +5160,20 @@ dnl Note also adjust exclude_expsyms for C++ above.
|
|
|
4978
5160
|
extract_expsyms_cmds=
|
|
4979
5161
|
|
|
4980
5162
|
case $host_os in
|
|
4981
|
-
cygwin* | mingw* | pw32* | cegcc*)
|
|
4982
|
-
# FIXME: the MSVC++ port hasn't been tested in a loooong time
|
|
5163
|
+
cygwin* | mingw* | windows* | pw32* | cegcc*)
|
|
5164
|
+
# FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
|
|
4983
5165
|
# When not using gcc, we currently assume that we are using
|
|
4984
|
-
# Microsoft Visual C
|
|
5166
|
+
# Microsoft Visual C++ or Intel C++ Compiler.
|
|
4985
5167
|
if test yes != "$GCC"; then
|
|
4986
5168
|
with_gnu_ld=no
|
|
4987
5169
|
fi
|
|
4988
5170
|
;;
|
|
4989
5171
|
interix*)
|
|
4990
|
-
# we just hope/assume this is gcc and not c89 (= MSVC++)
|
|
5172
|
+
# we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
|
|
4991
5173
|
with_gnu_ld=yes
|
|
4992
5174
|
;;
|
|
4993
|
-
|
|
4994
|
-
|
|
5175
|
+
linux* | k*bsd*-gnu | gnu*)
|
|
5176
|
+
_LT_TAGVAR(link_all_deplibs, $1)=no
|
|
4995
5177
|
;;
|
|
4996
5178
|
esac
|
|
4997
5179
|
|
|
@@ -5039,7 +5221,7 @@ dnl Note also adjust exclude_expsyms for C++ above.
|
|
|
5039
5221
|
_LT_TAGVAR(whole_archive_flag_spec, $1)=
|
|
5040
5222
|
fi
|
|
5041
5223
|
supports_anon_versioning=no
|
|
5042
|
-
case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
|
|
5224
|
+
case `$LD -v | $SED -e 's/([[^)]]\+)\s\+//' 2>&1` in
|
|
5043
5225
|
*GNU\ gold*) supports_anon_versioning=yes ;;
|
|
5044
5226
|
*\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
|
|
5045
5227
|
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
|
|
@@ -5093,7 +5275,7 @@ _LT_EOF
|
|
|
5093
5275
|
fi
|
|
5094
5276
|
;;
|
|
5095
5277
|
|
|
5096
|
-
cygwin* | mingw* | pw32* | cegcc*)
|
|
5278
|
+
cygwin* | mingw* | windows* | pw32* | cegcc*)
|
|
5097
5279
|
# _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
|
|
5098
5280
|
# as there is no search path for DLLs.
|
|
5099
5281
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
|
|
@@ -5103,6 +5285,7 @@ _LT_EOF
|
|
|
5103
5285
|
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
|
|
5104
5286
|
_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
|
|
5105
5287
|
_LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
|
|
5288
|
+
_LT_TAGVAR(file_list_spec, $1)='@'
|
|
5106
5289
|
|
|
5107
5290
|
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
|
|
5108
5291
|
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
|
|
@@ -5122,7 +5305,7 @@ _LT_EOF
|
|
|
5122
5305
|
|
|
5123
5306
|
haiku*)
|
|
5124
5307
|
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
|
|
5125
|
-
_LT_TAGVAR(link_all_deplibs, $1)=
|
|
5308
|
+
_LT_TAGVAR(link_all_deplibs, $1)=no
|
|
5126
5309
|
;;
|
|
5127
5310
|
|
|
5128
5311
|
os2*)
|
|
@@ -5149,8 +5332,9 @@ _LT_EOF
|
|
|
5149
5332
|
cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
|
|
5150
5333
|
$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
|
|
5151
5334
|
emximp -o $lib $output_objdir/$libname.def'
|
|
5152
|
-
_LT_TAGVAR(
|
|
5335
|
+
_LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
|
|
5153
5336
|
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
|
|
5337
|
+
_LT_TAGVAR(file_list_spec, $1)='@'
|
|
5154
5338
|
;;
|
|
5155
5339
|
|
|
5156
5340
|
interix[[3-9]]*)
|
|
@@ -5165,7 +5349,7 @@ _LT_EOF
|
|
|
5165
5349
|
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
|
|
5166
5350
|
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
|
|
5167
5351
|
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
|
5168
|
-
_LT_TAGVAR(archive_expsym_cmds, $1)='
|
|
5352
|
+
_LT_TAGVAR(archive_expsym_cmds, $1)='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
|
5169
5353
|
;;
|
|
5170
5354
|
|
|
5171
5355
|
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
|
|
@@ -5208,7 +5392,7 @@ _LT_EOF
|
|
|
5208
5392
|
_LT_TAGVAR(compiler_needs_object, $1)=yes
|
|
5209
5393
|
;;
|
|
5210
5394
|
esac
|
|
5211
|
-
case `$CC -V 2>&1 |
|
|
5395
|
+
case `$CC -V 2>&1 | $SED 5q` in
|
|
5212
5396
|
*Sun\ C*) # Sun C 5.9
|
|
5213
5397
|
_LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
|
|
5214
5398
|
_LT_TAGVAR(compiler_needs_object, $1)=yes
|
|
@@ -5220,13 +5404,14 @@ _LT_EOF
|
|
|
5220
5404
|
|
|
5221
5405
|
if test yes = "$supports_anon_versioning"; then
|
|
5222
5406
|
_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
|
|
5223
|
-
cat $export_symbols |
|
|
5407
|
+
cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
|
5224
5408
|
echo "local: *; };" >> $output_objdir/$libname.ver~
|
|
5225
5409
|
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
|
|
5226
5410
|
fi
|
|
5227
5411
|
|
|
5228
5412
|
case $cc_basename in
|
|
5229
5413
|
tcc*)
|
|
5414
|
+
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
|
|
5230
5415
|
_LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic'
|
|
5231
5416
|
;;
|
|
5232
5417
|
xlf* | bgf* | bgxlf* | mpixlf*)
|
|
@@ -5236,7 +5421,7 @@ _LT_EOF
|
|
|
5236
5421
|
_LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
|
|
5237
5422
|
if test yes = "$supports_anon_versioning"; then
|
|
5238
5423
|
_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
|
|
5239
|
-
cat $export_symbols |
|
|
5424
|
+
cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
|
5240
5425
|
echo "local: *; };" >> $output_objdir/$libname.ver~
|
|
5241
5426
|
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
|
|
5242
5427
|
fi
|
|
@@ -5247,7 +5432,12 @@ _LT_EOF
|
|
|
5247
5432
|
fi
|
|
5248
5433
|
;;
|
|
5249
5434
|
|
|
5250
|
-
|
|
5435
|
+
*-mlibc)
|
|
5436
|
+
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
|
|
5437
|
+
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
|
|
5438
|
+
;;
|
|
5439
|
+
|
|
5440
|
+
netbsd* | netbsdelf*-gnu)
|
|
5251
5441
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
|
5252
5442
|
_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
|
5253
5443
|
wlarc=
|
|
@@ -5368,7 +5558,7 @@ _LT_EOF
|
|
|
5368
5558
|
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
|
|
5369
5559
|
_LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
|
|
5370
5560
|
else
|
|
5371
|
-
_LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
|
|
5561
|
+
_LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 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'
|
|
5372
5562
|
fi
|
|
5373
5563
|
aix_use_runtimelinking=no
|
|
5374
5564
|
|
|
@@ -5549,14 +5739,14 @@ _LT_EOF
|
|
|
5549
5739
|
_LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
|
|
5550
5740
|
;;
|
|
5551
5741
|
|
|
5552
|
-
cygwin* | mingw* | pw32* | cegcc*)
|
|
5742
|
+
cygwin* | mingw* | windows* | pw32* | cegcc*)
|
|
5553
5743
|
# When not using gcc, we currently assume that we are using
|
|
5554
|
-
# Microsoft Visual C
|
|
5744
|
+
# Microsoft Visual C++ or Intel C++ Compiler.
|
|
5555
5745
|
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
|
5556
5746
|
# no search path for DLLs.
|
|
5557
5747
|
case $cc_basename in
|
|
5558
|
-
cl*)
|
|
5559
|
-
# Native MSVC
|
|
5748
|
+
cl* | icl*)
|
|
5749
|
+
# Native MSVC or ICC
|
|
5560
5750
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
|
|
5561
5751
|
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported
|
|
5562
5752
|
_LT_TAGVAR(always_export_symbols, $1)=yes
|
|
@@ -5566,14 +5756,14 @@ _LT_EOF
|
|
|
5566
5756
|
# Tell ltmain to make .dll files, not .so files.
|
|
5567
5757
|
shrext_cmds=.dll
|
|
5568
5758
|
# FIXME: Setting linknames here is a bad hack.
|
|
5569
|
-
_LT_TAGVAR(archive_cmds, $1)='$CC -
|
|
5759
|
+
_LT_TAGVAR(archive_cmds, $1)='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
|
|
5570
5760
|
_LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
|
|
5571
5761
|
cp "$export_symbols" "$output_objdir/$soname.def";
|
|
5572
5762
|
echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
|
|
5573
5763
|
else
|
|
5574
5764
|
$SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
|
|
5575
5765
|
fi~
|
|
5576
|
-
$CC -
|
|
5766
|
+
$CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
|
|
5577
5767
|
linknames='
|
|
5578
5768
|
# The linker will not automatically build a static lib if we build a DLL.
|
|
5579
5769
|
# _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
|
|
@@ -5597,7 +5787,7 @@ _LT_EOF
|
|
|
5597
5787
|
fi'
|
|
5598
5788
|
;;
|
|
5599
5789
|
*)
|
|
5600
|
-
# Assume MSVC wrapper
|
|
5790
|
+
# Assume MSVC and ICC wrapper
|
|
5601
5791
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
|
|
5602
5792
|
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported
|
|
5603
5793
|
# Tell ltmain to make .lib files, not .a files.
|
|
@@ -5645,7 +5835,7 @@ _LT_EOF
|
|
|
5645
5835
|
;;
|
|
5646
5836
|
|
|
5647
5837
|
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
|
|
5648
|
-
freebsd* | dragonfly*)
|
|
5838
|
+
freebsd* | dragonfly* | midnightbsd*)
|
|
5649
5839
|
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
|
5650
5840
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
|
|
5651
5841
|
_LT_TAGVAR(hardcode_direct, $1)=yes
|
|
@@ -5768,6 +5958,7 @@ _LT_EOF
|
|
|
5768
5958
|
if test yes = "$lt_cv_irix_exported_symbol"; then
|
|
5769
5959
|
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
|
|
5770
5960
|
fi
|
|
5961
|
+
_LT_TAGVAR(link_all_deplibs, $1)=no
|
|
5771
5962
|
else
|
|
5772
5963
|
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
|
|
5773
5964
|
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
|
|
@@ -5785,11 +5976,15 @@ _LT_EOF
|
|
|
5785
5976
|
# Fabrice Bellard et al's Tiny C Compiler
|
|
5786
5977
|
_LT_TAGVAR(ld_shlibs, $1)=yes
|
|
5787
5978
|
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
|
5979
|
+
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
|
|
5788
5980
|
;;
|
|
5789
5981
|
esac
|
|
5790
5982
|
;;
|
|
5791
5983
|
|
|
5792
|
-
|
|
5984
|
+
*-mlibc)
|
|
5985
|
+
;;
|
|
5986
|
+
|
|
5987
|
+
netbsd* | netbsdelf*-gnu)
|
|
5793
5988
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
|
5794
5989
|
_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
|
5795
5990
|
else
|
|
@@ -5811,7 +6006,7 @@ _LT_EOF
|
|
|
5811
6006
|
*nto* | *qnx*)
|
|
5812
6007
|
;;
|
|
5813
6008
|
|
|
5814
|
-
openbsd*
|
|
6009
|
+
openbsd*)
|
|
5815
6010
|
if test -f /usr/libexec/ld.so; then
|
|
5816
6011
|
_LT_TAGVAR(hardcode_direct, $1)=yes
|
|
5817
6012
|
_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
|
|
@@ -5854,8 +6049,9 @@ _LT_EOF
|
|
|
5854
6049
|
cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
|
|
5855
6050
|
$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
|
|
5856
6051
|
emximp -o $lib $output_objdir/$libname.def'
|
|
5857
|
-
_LT_TAGVAR(
|
|
6052
|
+
_LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
|
|
5858
6053
|
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
|
|
6054
|
+
_LT_TAGVAR(file_list_spec, $1)='@'
|
|
5859
6055
|
;;
|
|
5860
6056
|
|
|
5861
6057
|
osf3*)
|
|
@@ -5889,6 +6085,9 @@ _LT_EOF
|
|
|
5889
6085
|
_LT_TAGVAR(hardcode_libdir_separator, $1)=:
|
|
5890
6086
|
;;
|
|
5891
6087
|
|
|
6088
|
+
serenity*)
|
|
6089
|
+
;;
|
|
6090
|
+
|
|
5892
6091
|
solaris*)
|
|
5893
6092
|
_LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
|
|
5894
6093
|
if test yes = "$GCC"; then
|
|
@@ -6147,7 +6346,7 @@ _LT_TAGDECL([], [hardcode_direct], [0],
|
|
|
6147
6346
|
_LT_TAGDECL([], [hardcode_direct_absolute], [0],
|
|
6148
6347
|
[Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes
|
|
6149
6348
|
DIR into the resulting binary and the resulting library dependency is
|
|
6150
|
-
"absolute", i.e impossible to change by setting $shlibpath_var if the
|
|
6349
|
+
"absolute", i.e. impossible to change by setting $shlibpath_var if the
|
|
6151
6350
|
library is relocated])
|
|
6152
6351
|
_LT_TAGDECL([], [hardcode_minus_L], [0],
|
|
6153
6352
|
[Set to "yes" if using the -LDIR flag during linking hardcodes DIR
|
|
@@ -6205,7 +6404,7 @@ _LT_TAGVAR(objext, $1)=$objext
|
|
|
6205
6404
|
lt_simple_compile_test_code="int some_variable = 0;"
|
|
6206
6405
|
|
|
6207
6406
|
# Code to be used in simple link tests
|
|
6208
|
-
lt_simple_link_test_code='int main(){return(0);}'
|
|
6407
|
+
lt_simple_link_test_code='int main(void){return(0);}'
|
|
6209
6408
|
|
|
6210
6409
|
_LT_TAG_COMPILER
|
|
6211
6410
|
# Save the default compiler, since it gets overwritten when the other
|
|
@@ -6394,8 +6593,7 @@ if test yes != "$_lt_caught_CXX_error"; then
|
|
|
6394
6593
|
wlarc='$wl'
|
|
6395
6594
|
|
|
6396
6595
|
# ancient GNU ld didn't support --whole-archive et. al.
|
|
6397
|
-
if
|
|
6398
|
-
$GREP 'no-whole-archive' > /dev/null; then
|
|
6596
|
+
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
|
|
6399
6597
|
_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
|
|
6400
6598
|
else
|
|
6401
6599
|
_LT_TAGVAR(whole_archive_flag_spec, $1)=
|
|
@@ -6415,7 +6613,7 @@ if test yes != "$_lt_caught_CXX_error"; then
|
|
|
6415
6613
|
# Commands to make compiler produce verbose output that lists
|
|
6416
6614
|
# what "hidden" libraries, object files and flags are used when
|
|
6417
6615
|
# linking a shared library.
|
|
6418
|
-
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "
|
|
6616
|
+
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [[-]]L"'
|
|
6419
6617
|
|
|
6420
6618
|
else
|
|
6421
6619
|
GXX=no
|
|
@@ -6624,10 +6822,10 @@ if test yes != "$_lt_caught_CXX_error"; then
|
|
|
6624
6822
|
esac
|
|
6625
6823
|
;;
|
|
6626
6824
|
|
|
6627
|
-
cygwin* | mingw* | pw32* | cegcc*)
|
|
6825
|
+
cygwin* | mingw* | windows* | pw32* | cegcc*)
|
|
6628
6826
|
case $GXX,$cc_basename in
|
|
6629
|
-
,cl* | no,cl*)
|
|
6630
|
-
# Native MSVC
|
|
6827
|
+
,cl* | no,cl* | ,icl* | no,icl*)
|
|
6828
|
+
# Native MSVC or ICC
|
|
6631
6829
|
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
|
6632
6830
|
# no search path for DLLs.
|
|
6633
6831
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
|
|
@@ -6677,6 +6875,7 @@ if test yes != "$_lt_caught_CXX_error"; then
|
|
|
6677
6875
|
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported
|
|
6678
6876
|
_LT_TAGVAR(always_export_symbols, $1)=no
|
|
6679
6877
|
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
|
|
6878
|
+
_LT_TAGVAR(file_list_spec, $1)='@'
|
|
6680
6879
|
|
|
6681
6880
|
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
|
|
6682
6881
|
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
|
|
@@ -6723,8 +6922,9 @@ if test yes != "$_lt_caught_CXX_error"; then
|
|
|
6723
6922
|
cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
|
|
6724
6923
|
$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
|
|
6725
6924
|
emximp -o $lib $output_objdir/$libname.def'
|
|
6726
|
-
_LT_TAGVAR(
|
|
6925
|
+
_LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
|
|
6727
6926
|
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
|
|
6927
|
+
_LT_TAGVAR(file_list_spec, $1)='@'
|
|
6728
6928
|
;;
|
|
6729
6929
|
|
|
6730
6930
|
dgux*)
|
|
@@ -6755,7 +6955,7 @@ if test yes != "$_lt_caught_CXX_error"; then
|
|
|
6755
6955
|
_LT_TAGVAR(archive_cmds_need_lc, $1)=no
|
|
6756
6956
|
;;
|
|
6757
6957
|
|
|
6758
|
-
freebsd* | dragonfly*)
|
|
6958
|
+
freebsd* | dragonfly* | midnightbsd*)
|
|
6759
6959
|
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
|
|
6760
6960
|
# conventions
|
|
6761
6961
|
_LT_TAGVAR(ld_shlibs, $1)=yes
|
|
@@ -6763,7 +6963,7 @@ if test yes != "$_lt_caught_CXX_error"; then
|
|
|
6763
6963
|
|
|
6764
6964
|
haiku*)
|
|
6765
6965
|
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
|
|
6766
|
-
_LT_TAGVAR(link_all_deplibs, $1)=
|
|
6966
|
+
_LT_TAGVAR(link_all_deplibs, $1)=no
|
|
6767
6967
|
;;
|
|
6768
6968
|
|
|
6769
6969
|
hpux9*)
|
|
@@ -6790,7 +6990,7 @@ if test yes != "$_lt_caught_CXX_error"; then
|
|
|
6790
6990
|
# explicitly linking system object files so we need to strip them
|
|
6791
6991
|
# from the output so that they don't get included in the library
|
|
6792
6992
|
# dependencies.
|
|
6793
|
-
output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "
|
|
6993
|
+
output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "[[-]]L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
|
|
6794
6994
|
;;
|
|
6795
6995
|
*)
|
|
6796
6996
|
if test yes = "$GXX"; then
|
|
@@ -6855,7 +7055,7 @@ if test yes != "$_lt_caught_CXX_error"; then
|
|
|
6855
7055
|
# explicitly linking system object files so we need to strip them
|
|
6856
7056
|
# from the output so that they don't get included in the library
|
|
6857
7057
|
# dependencies.
|
|
6858
|
-
output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "
|
|
7058
|
+
output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP " [[-]]L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
|
|
6859
7059
|
;;
|
|
6860
7060
|
*)
|
|
6861
7061
|
if test yes = "$GXX"; then
|
|
@@ -6892,7 +7092,7 @@ if test yes != "$_lt_caught_CXX_error"; then
|
|
|
6892
7092
|
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
|
|
6893
7093
|
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
|
|
6894
7094
|
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
|
6895
|
-
_LT_TAGVAR(archive_expsym_cmds, $1)='
|
|
7095
|
+
_LT_TAGVAR(archive_expsym_cmds, $1)='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
|
6896
7096
|
;;
|
|
6897
7097
|
irix5* | irix6*)
|
|
6898
7098
|
case $cc_basename in
|
|
@@ -7032,13 +7232,13 @@ if test yes != "$_lt_caught_CXX_error"; then
|
|
|
7032
7232
|
_LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
|
|
7033
7233
|
if test yes = "$supports_anon_versioning"; then
|
|
7034
7234
|
_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
|
|
7035
|
-
cat $export_symbols |
|
|
7235
|
+
cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
|
7036
7236
|
echo "local: *; };" >> $output_objdir/$libname.ver~
|
|
7037
7237
|
$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
|
|
7038
7238
|
fi
|
|
7039
7239
|
;;
|
|
7040
7240
|
*)
|
|
7041
|
-
case `$CC -V 2>&1 |
|
|
7241
|
+
case `$CC -V 2>&1 | $SED 5q` in
|
|
7042
7242
|
*Sun\ C*)
|
|
7043
7243
|
# Sun C++ 5.9
|
|
7044
7244
|
_LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
|
|
@@ -7087,6 +7287,10 @@ if test yes != "$_lt_caught_CXX_error"; then
|
|
|
7087
7287
|
esac
|
|
7088
7288
|
;;
|
|
7089
7289
|
|
|
7290
|
+
*-mlibc)
|
|
7291
|
+
_LT_TAGVAR(ld_shlibs, $1)=yes
|
|
7292
|
+
;;
|
|
7293
|
+
|
|
7090
7294
|
netbsd*)
|
|
7091
7295
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
|
7092
7296
|
_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
|
|
@@ -7103,7 +7307,7 @@ if test yes != "$_lt_caught_CXX_error"; then
|
|
|
7103
7307
|
_LT_TAGVAR(ld_shlibs, $1)=yes
|
|
7104
7308
|
;;
|
|
7105
7309
|
|
|
7106
|
-
openbsd*
|
|
7310
|
+
openbsd*)
|
|
7107
7311
|
if test -f /usr/libexec/ld.so; then
|
|
7108
7312
|
_LT_TAGVAR(hardcode_direct, $1)=yes
|
|
7109
7313
|
_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
|
|
@@ -7194,7 +7398,7 @@ if test yes != "$_lt_caught_CXX_error"; then
|
|
|
7194
7398
|
# Commands to make compiler produce verbose output that lists
|
|
7195
7399
|
# what "hidden" libraries, object files and flags are used when
|
|
7196
7400
|
# linking a shared library.
|
|
7197
|
-
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "
|
|
7401
|
+
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [[-]]L"'
|
|
7198
7402
|
|
|
7199
7403
|
else
|
|
7200
7404
|
# FIXME: insert proper C++ library support
|
|
@@ -7209,6 +7413,9 @@ if test yes != "$_lt_caught_CXX_error"; then
|
|
|
7209
7413
|
_LT_TAGVAR(ld_shlibs, $1)=no
|
|
7210
7414
|
;;
|
|
7211
7415
|
|
|
7416
|
+
serenity*)
|
|
7417
|
+
;;
|
|
7418
|
+
|
|
7212
7419
|
sunos4*)
|
|
7213
7420
|
case $cc_basename in
|
|
7214
7421
|
CC*)
|
|
@@ -7278,7 +7485,7 @@ if test yes != "$_lt_caught_CXX_error"; then
|
|
|
7278
7485
|
# Commands to make compiler produce verbose output that lists
|
|
7279
7486
|
# what "hidden" libraries, object files and flags are used when
|
|
7280
7487
|
# linking a shared library.
|
|
7281
|
-
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "
|
|
7488
|
+
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [[-]]L"'
|
|
7282
7489
|
else
|
|
7283
7490
|
# g++ 2.7 appears to require '-G' NOT '-shared' on this
|
|
7284
7491
|
# platform.
|
|
@@ -7289,7 +7496,7 @@ if test yes != "$_lt_caught_CXX_error"; then
|
|
|
7289
7496
|
# Commands to make compiler produce verbose output that lists
|
|
7290
7497
|
# what "hidden" libraries, object files and flags are used when
|
|
7291
7498
|
# linking a shared library.
|
|
7292
|
-
output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "
|
|
7499
|
+
output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [[-]]L"'
|
|
7293
7500
|
fi
|
|
7294
7501
|
|
|
7295
7502
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir'
|
|
@@ -7527,10 +7734,11 @@ if AC_TRY_EVAL(ac_compile); then
|
|
|
7527
7734
|
case $prev$p in
|
|
7528
7735
|
|
|
7529
7736
|
-L* | -R* | -l*)
|
|
7530
|
-
# Some compilers place space between "-{L,R}" and the path.
|
|
7737
|
+
# Some compilers place space between "-{L,R,l}" and the path.
|
|
7531
7738
|
# Remove the space.
|
|
7532
|
-
if test x-L = "$p" ||
|
|
7533
|
-
test x-R = "$p"
|
|
7739
|
+
if test x-L = x"$p" ||
|
|
7740
|
+
test x-R = x"$p" ||
|
|
7741
|
+
test x-l = x"$p"; then
|
|
7534
7742
|
prev=$p
|
|
7535
7743
|
continue
|
|
7536
7744
|
fi
|
|
@@ -8184,6 +8392,14 @@ _LT_DECL([], [DLLTOOL], [1], [DLL creation program])
|
|
|
8184
8392
|
AC_SUBST([DLLTOOL])
|
|
8185
8393
|
])
|
|
8186
8394
|
|
|
8395
|
+
# _LT_DECL_FILECMD
|
|
8396
|
+
# ----------------
|
|
8397
|
+
# Check for a file(cmd) program that can be used to detect file type and magic
|
|
8398
|
+
m4_defun([_LT_DECL_FILECMD],
|
|
8399
|
+
[AC_CHECK_PROG([FILECMD], [file], [file], [:])
|
|
8400
|
+
_LT_DECL([], [FILECMD], [1], [A file(cmd) program that detects file types])
|
|
8401
|
+
])# _LD_DECL_FILECMD
|
|
8402
|
+
|
|
8187
8403
|
# _LT_DECL_SED
|
|
8188
8404
|
# ------------
|
|
8189
8405
|
# Check for a fully-functional sed program, that truncates
|
|
@@ -8196,73 +8412,6 @@ _LT_DECL([], [SED], [1], [A sed program that does not truncate output])
|
|
|
8196
8412
|
_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
|
|
8197
8413
|
[Sed that helps us avoid accidentally triggering echo(1) options like -n])
|
|
8198
8414
|
])# _LT_DECL_SED
|
|
8199
|
-
|
|
8200
|
-
m4_ifndef([AC_PROG_SED], [
|
|
8201
|
-
############################################################
|
|
8202
|
-
# NOTE: This macro has been submitted for inclusion into #
|
|
8203
|
-
# GNU Autoconf as AC_PROG_SED. When it is available in #
|
|
8204
|
-
# a released version of Autoconf we should remove this #
|
|
8205
|
-
# macro and use it instead. #
|
|
8206
|
-
############################################################
|
|
8207
|
-
|
|
8208
|
-
m4_defun([AC_PROG_SED],
|
|
8209
|
-
[AC_MSG_CHECKING([for a sed that does not truncate output])
|
|
8210
|
-
AC_CACHE_VAL(lt_cv_path_SED,
|
|
8211
|
-
[# Loop through the user's path and test for sed and gsed.
|
|
8212
|
-
# Then use that list of sed's as ones to test for truncation.
|
|
8213
|
-
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
8214
|
-
for as_dir in $PATH
|
|
8215
|
-
do
|
|
8216
|
-
IFS=$as_save_IFS
|
|
8217
|
-
test -z "$as_dir" && as_dir=.
|
|
8218
|
-
for lt_ac_prog in sed gsed; do
|
|
8219
|
-
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
8220
|
-
if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
|
|
8221
|
-
lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
|
|
8222
|
-
fi
|
|
8223
|
-
done
|
|
8224
|
-
done
|
|
8225
|
-
done
|
|
8226
|
-
IFS=$as_save_IFS
|
|
8227
|
-
lt_ac_max=0
|
|
8228
|
-
lt_ac_count=0
|
|
8229
|
-
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
|
|
8230
|
-
# along with /bin/sed that truncates output.
|
|
8231
|
-
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
|
|
8232
|
-
test ! -f "$lt_ac_sed" && continue
|
|
8233
|
-
cat /dev/null > conftest.in
|
|
8234
|
-
lt_ac_count=0
|
|
8235
|
-
echo $ECHO_N "0123456789$ECHO_C" >conftest.in
|
|
8236
|
-
# Check for GNU sed and select it if it is found.
|
|
8237
|
-
if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
|
|
8238
|
-
lt_cv_path_SED=$lt_ac_sed
|
|
8239
|
-
break
|
|
8240
|
-
fi
|
|
8241
|
-
while true; do
|
|
8242
|
-
cat conftest.in conftest.in >conftest.tmp
|
|
8243
|
-
mv conftest.tmp conftest.in
|
|
8244
|
-
cp conftest.in conftest.nl
|
|
8245
|
-
echo >>conftest.nl
|
|
8246
|
-
$lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
|
|
8247
|
-
cmp -s conftest.out conftest.nl || break
|
|
8248
|
-
# 10000 chars as input seems more than enough
|
|
8249
|
-
test 10 -lt "$lt_ac_count" && break
|
|
8250
|
-
lt_ac_count=`expr $lt_ac_count + 1`
|
|
8251
|
-
if test "$lt_ac_count" -gt "$lt_ac_max"; then
|
|
8252
|
-
lt_ac_max=$lt_ac_count
|
|
8253
|
-
lt_cv_path_SED=$lt_ac_sed
|
|
8254
|
-
fi
|
|
8255
|
-
done
|
|
8256
|
-
done
|
|
8257
|
-
])
|
|
8258
|
-
SED=$lt_cv_path_SED
|
|
8259
|
-
AC_SUBST([SED])
|
|
8260
|
-
AC_MSG_RESULT([$SED])
|
|
8261
|
-
])#AC_PROG_SED
|
|
8262
|
-
])#m4_ifndef
|
|
8263
|
-
|
|
8264
|
-
# Old name:
|
|
8265
|
-
AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED])
|
|
8266
8415
|
dnl aclocal-1.4 backwards compatibility:
|
|
8267
8416
|
dnl AC_DEFUN([LT_AC_PROG_SED], [])
|
|
8268
8417
|
|
|
@@ -8309,7 +8458,7 @@ AC_CACHE_VAL(lt_cv_to_host_file_cmd,
|
|
|
8309
8458
|
[case $host in
|
|
8310
8459
|
*-*-mingw* )
|
|
8311
8460
|
case $build in
|
|
8312
|
-
*-*-mingw* ) # actually msys
|
|
8461
|
+
*-*-mingw* | *-*-windows* ) # actually msys
|
|
8313
8462
|
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
|
|
8314
8463
|
;;
|
|
8315
8464
|
*-*-cygwin* )
|
|
@@ -8322,7 +8471,7 @@ AC_CACHE_VAL(lt_cv_to_host_file_cmd,
|
|
|
8322
8471
|
;;
|
|
8323
8472
|
*-*-cygwin* )
|
|
8324
8473
|
case $build in
|
|
8325
|
-
*-*-mingw* ) # actually msys
|
|
8474
|
+
*-*-mingw* | *-*-windows* ) # actually msys
|
|
8326
8475
|
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
|
|
8327
8476
|
;;
|
|
8328
8477
|
*-*-cygwin* )
|
|
@@ -8348,9 +8497,9 @@ AC_CACHE_VAL(lt_cv_to_tool_file_cmd,
|
|
|
8348
8497
|
[#assume ordinary cross tools, or native build.
|
|
8349
8498
|
lt_cv_to_tool_file_cmd=func_convert_file_noop
|
|
8350
8499
|
case $host in
|
|
8351
|
-
*-*-mingw* )
|
|
8500
|
+
*-*-mingw* | *-*-windows* )
|
|
8352
8501
|
case $build in
|
|
8353
|
-
*-*-mingw* ) # actually msys
|
|
8502
|
+
*-*-mingw* | *-*-windows* ) # actually msys
|
|
8354
8503
|
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
|
|
8355
8504
|
;;
|
|
8356
8505
|
esac
|