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,8 +1,8 @@
|
|
|
1
1
|
#! /bin/sh
|
|
2
2
|
# Configuration validation subroutine script.
|
|
3
|
-
# Copyright 1992-
|
|
3
|
+
# Copyright 1992-2018 Free Software Foundation, Inc.
|
|
4
4
|
|
|
5
|
-
timestamp='
|
|
5
|
+
timestamp='2018-02-22'
|
|
6
6
|
|
|
7
7
|
# This file is free software; you can redistribute it and/or modify it
|
|
8
8
|
# under the terms of the GNU General Public License as published by
|
|
@@ -15,7 +15,7 @@ timestamp='2014-09-11'
|
|
|
15
15
|
# General Public License for more details.
|
|
16
16
|
#
|
|
17
17
|
# You should have received a copy of the GNU General Public License
|
|
18
|
-
# along with this program; if not, see <
|
|
18
|
+
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
|
19
19
|
#
|
|
20
20
|
# As a special exception to the GNU General Public License, if you
|
|
21
21
|
# distribute this file as part of a program that contains a
|
|
@@ -25,7 +25,7 @@ timestamp='2014-09-11'
|
|
|
25
25
|
# of the GNU General Public License, version 3 ("GPLv3").
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
# Please send patches
|
|
28
|
+
# Please send patches to <config-patches@gnu.org>.
|
|
29
29
|
#
|
|
30
30
|
# Configuration subroutine to validate and canonicalize a configuration type.
|
|
31
31
|
# Supply the specified configuration type as an argument.
|
|
@@ -33,7 +33,7 @@ timestamp='2014-09-11'
|
|
|
33
33
|
# Otherwise, we print the canonical config type on stdout and succeed.
|
|
34
34
|
|
|
35
35
|
# You can get the latest version of this script from:
|
|
36
|
-
#
|
|
36
|
+
# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
|
|
37
37
|
|
|
38
38
|
# This file is supposed to be the same for all GNU packages
|
|
39
39
|
# and recognize all the CPU types, system types and aliases
|
|
@@ -53,12 +53,11 @@ timestamp='2014-09-11'
|
|
|
53
53
|
me=`echo "$0" | sed -e 's,.*/,,'`
|
|
54
54
|
|
|
55
55
|
usage="\
|
|
56
|
-
Usage: $0 [OPTION] CPU-MFR-OPSYS
|
|
57
|
-
$0 [OPTION] ALIAS
|
|
56
|
+
Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS
|
|
58
57
|
|
|
59
58
|
Canonicalize a configuration name.
|
|
60
59
|
|
|
61
|
-
|
|
60
|
+
Options:
|
|
62
61
|
-h, --help print this help, then exit
|
|
63
62
|
-t, --time-stamp print date of last modification, then exit
|
|
64
63
|
-v, --version print version number, then exit
|
|
@@ -68,7 +67,7 @@ Report bugs and patches to <config-patches@gnu.org>."
|
|
|
68
67
|
version="\
|
|
69
68
|
GNU config.sub ($timestamp)
|
|
70
69
|
|
|
71
|
-
Copyright 1992-
|
|
70
|
+
Copyright 1992-2018 Free Software Foundation, Inc.
|
|
72
71
|
|
|
73
72
|
This is free software; see the source for copying conditions. There is NO
|
|
74
73
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
|
@@ -95,7 +94,7 @@ while test $# -gt 0 ; do
|
|
|
95
94
|
|
|
96
95
|
*local*)
|
|
97
96
|
# First pass through any local machine types.
|
|
98
|
-
echo $1
|
|
97
|
+
echo "$1"
|
|
99
98
|
exit ;;
|
|
100
99
|
|
|
101
100
|
* )
|
|
@@ -113,24 +112,24 @@ esac
|
|
|
113
112
|
|
|
114
113
|
# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
|
|
115
114
|
# Here we must recognize all the valid KERNEL-OS combinations.
|
|
116
|
-
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
|
115
|
+
maybe_os=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
|
117
116
|
case $maybe_os in
|
|
118
117
|
nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
|
|
119
118
|
linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
|
|
120
|
-
knetbsd*-gnu* | netbsd*-gnu* | \
|
|
121
|
-
kopensolaris*-gnu* | \
|
|
119
|
+
knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \
|
|
120
|
+
kopensolaris*-gnu* | cloudabi*-eabi* | \
|
|
122
121
|
storm-chaos* | os2-emx* | rtmk-nova*)
|
|
123
122
|
os=-$maybe_os
|
|
124
|
-
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
|
|
123
|
+
basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
|
|
125
124
|
;;
|
|
126
125
|
android-linux)
|
|
127
126
|
os=-linux-android
|
|
128
|
-
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
|
|
127
|
+
basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
|
|
129
128
|
;;
|
|
130
129
|
*)
|
|
131
|
-
basic_machine=`echo $1 | sed 's/-[^-]*$//'`
|
|
132
|
-
if [ $basic_machine != $1 ]
|
|
133
|
-
then os=`echo $1 | sed 's/.*-/-/'`
|
|
130
|
+
basic_machine=`echo "$1" | sed 's/-[^-]*$//'`
|
|
131
|
+
if [ "$basic_machine" != "$1" ]
|
|
132
|
+
then os=`echo "$1" | sed 's/.*-/-/'`
|
|
134
133
|
else os=; fi
|
|
135
134
|
;;
|
|
136
135
|
esac
|
|
@@ -179,44 +178,44 @@ case $os in
|
|
|
179
178
|
;;
|
|
180
179
|
-sco6)
|
|
181
180
|
os=-sco5v6
|
|
182
|
-
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
|
181
|
+
basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
|
|
183
182
|
;;
|
|
184
183
|
-sco5)
|
|
185
184
|
os=-sco3.2v5
|
|
186
|
-
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
|
185
|
+
basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
|
|
187
186
|
;;
|
|
188
187
|
-sco4)
|
|
189
188
|
os=-sco3.2v4
|
|
190
|
-
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
|
189
|
+
basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
|
|
191
190
|
;;
|
|
192
191
|
-sco3.2.[4-9]*)
|
|
193
192
|
os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
|
|
194
|
-
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
|
193
|
+
basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
|
|
195
194
|
;;
|
|
196
195
|
-sco3.2v[4-9]*)
|
|
197
196
|
# Don't forget version if it is 3.2v4 or newer.
|
|
198
|
-
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
|
197
|
+
basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
|
|
199
198
|
;;
|
|
200
199
|
-sco5v6*)
|
|
201
200
|
# Don't forget version if it is 3.2v4 or newer.
|
|
202
|
-
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
|
201
|
+
basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
|
|
203
202
|
;;
|
|
204
203
|
-sco*)
|
|
205
204
|
os=-sco3.2v2
|
|
206
|
-
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
|
205
|
+
basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
|
|
207
206
|
;;
|
|
208
207
|
-udk*)
|
|
209
|
-
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
|
208
|
+
basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
|
|
210
209
|
;;
|
|
211
210
|
-isc)
|
|
212
211
|
os=-isc2.2
|
|
213
|
-
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
|
212
|
+
basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
|
|
214
213
|
;;
|
|
215
214
|
-clix*)
|
|
216
215
|
basic_machine=clipper-intergraph
|
|
217
216
|
;;
|
|
218
217
|
-isc*)
|
|
219
|
-
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
|
218
|
+
basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
|
|
220
219
|
;;
|
|
221
220
|
-lynx*178)
|
|
222
221
|
os=-lynxos178
|
|
@@ -228,10 +227,7 @@ case $os in
|
|
|
228
227
|
os=-lynxos
|
|
229
228
|
;;
|
|
230
229
|
-ptx*)
|
|
231
|
-
basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
|
|
232
|
-
;;
|
|
233
|
-
-windowsnt*)
|
|
234
|
-
os=`echo $os | sed -e 's/windowsnt/winnt/'`
|
|
230
|
+
basic_machine=`echo "$1" | sed -e 's/86-.*/86-sequent/'`
|
|
235
231
|
;;
|
|
236
232
|
-psos*)
|
|
237
233
|
os=-psos
|
|
@@ -255,15 +251,16 @@ case $basic_machine in
|
|
|
255
251
|
| arc | arceb \
|
|
256
252
|
| arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
|
|
257
253
|
| avr | avr32 \
|
|
254
|
+
| ba \
|
|
258
255
|
| be32 | be64 \
|
|
259
256
|
| bfin \
|
|
260
257
|
| c4x | c8051 | clipper \
|
|
261
258
|
| d10v | d30v | dlx | dsp16xx \
|
|
262
|
-
| epiphany \
|
|
263
|
-
| fido | fr30 | frv \
|
|
259
|
+
| e2k | epiphany \
|
|
260
|
+
| fido | fr30 | frv | ft32 \
|
|
264
261
|
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
|
|
265
262
|
| hexagon \
|
|
266
|
-
| i370 | i860 | i960 | ia64 \
|
|
263
|
+
| i370 | i860 | i960 | ia16 | ia64 \
|
|
267
264
|
| ip2k | iq2000 \
|
|
268
265
|
| k1om \
|
|
269
266
|
| le32 | le64 \
|
|
@@ -299,13 +296,14 @@ case $basic_machine in
|
|
|
299
296
|
| nios | nios2 | nios2eb | nios2el \
|
|
300
297
|
| ns16k | ns32k \
|
|
301
298
|
| open8 | or1k | or1knd | or32 \
|
|
302
|
-
| pdp10 |
|
|
299
|
+
| pdp10 | pj | pjl \
|
|
303
300
|
| powerpc | powerpc64 | powerpc64le | powerpcle \
|
|
301
|
+
| pru \
|
|
304
302
|
| pyramid \
|
|
305
303
|
| riscv32 | riscv64 \
|
|
306
304
|
| rl78 | rx \
|
|
307
305
|
| score \
|
|
308
|
-
| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[
|
|
306
|
+
| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
|
|
309
307
|
| sh64 | sh64le \
|
|
310
308
|
| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
|
|
311
309
|
| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
|
|
@@ -313,7 +311,8 @@ case $basic_machine in
|
|
|
313
311
|
| tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
|
|
314
312
|
| ubicom32 \
|
|
315
313
|
| v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
|
|
316
|
-
|
|
|
314
|
+
| visium \
|
|
315
|
+
| wasm32 \
|
|
317
316
|
| x86 | xc16x | xstormy16 | xtensa \
|
|
318
317
|
| z8k | z80)
|
|
319
318
|
basic_machine=$basic_machine-unknown
|
|
@@ -327,11 +326,14 @@ case $basic_machine in
|
|
|
327
326
|
c6x)
|
|
328
327
|
basic_machine=tic6x-unknown
|
|
329
328
|
;;
|
|
329
|
+
leon|leon[3-9])
|
|
330
|
+
basic_machine=sparc-$basic_machine
|
|
331
|
+
;;
|
|
330
332
|
m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
|
|
331
333
|
basic_machine=$basic_machine-unknown
|
|
332
334
|
os=-none
|
|
333
335
|
;;
|
|
334
|
-
m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65
|
|
336
|
+
m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65)
|
|
335
337
|
;;
|
|
336
338
|
ms1)
|
|
337
339
|
basic_machine=mt-unknown
|
|
@@ -360,7 +362,7 @@ case $basic_machine in
|
|
|
360
362
|
;;
|
|
361
363
|
# Object if more than one company name word.
|
|
362
364
|
*-*-*)
|
|
363
|
-
echo Invalid configuration
|
|
365
|
+
echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2
|
|
364
366
|
exit 1
|
|
365
367
|
;;
|
|
366
368
|
# Recognize the basic CPU types with company name.
|
|
@@ -372,17 +374,18 @@ case $basic_machine in
|
|
|
372
374
|
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
|
|
373
375
|
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
|
|
374
376
|
| avr-* | avr32-* \
|
|
377
|
+
| ba-* \
|
|
375
378
|
| be32-* | be64-* \
|
|
376
379
|
| bfin-* | bs2000-* \
|
|
377
380
|
| c[123]* | c30-* | [cjt]90-* | c4x-* \
|
|
378
381
|
| c8051-* | clipper-* | craynv-* | cydra-* \
|
|
379
382
|
| d10v-* | d30v-* | dlx-* \
|
|
380
|
-
| elxsi-* \
|
|
383
|
+
| e2k-* | elxsi-* \
|
|
381
384
|
| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
|
|
382
385
|
| h8300-* | h8500-* \
|
|
383
386
|
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
|
|
384
387
|
| hexagon-* \
|
|
385
|
-
| i*86-* | i860-* | i960-* | ia64-* \
|
|
388
|
+
| i*86-* | i860-* | i960-* | ia16-* | ia64-* \
|
|
386
389
|
| ip2k-* | iq2000-* \
|
|
387
390
|
| k1om-* \
|
|
388
391
|
| le32-* | le64-* \
|
|
@@ -423,13 +426,15 @@ case $basic_machine in
|
|
|
423
426
|
| orion-* \
|
|
424
427
|
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
|
|
425
428
|
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
|
|
429
|
+
| pru-* \
|
|
426
430
|
| pyramid-* \
|
|
431
|
+
| riscv32-* | riscv64-* \
|
|
427
432
|
| rl78-* | romp-* | rs6000-* | rx-* \
|
|
428
433
|
| sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
|
|
429
434
|
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
|
|
430
435
|
| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
|
|
431
436
|
| sparclite-* \
|
|
432
|
-
| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx
|
|
437
|
+
| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \
|
|
433
438
|
| tahoe-* \
|
|
434
439
|
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
|
|
435
440
|
| tile*-* \
|
|
@@ -437,6 +442,8 @@ case $basic_machine in
|
|
|
437
442
|
| ubicom32-* \
|
|
438
443
|
| v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
|
|
439
444
|
| vax-* \
|
|
445
|
+
| visium-* \
|
|
446
|
+
| wasm32-* \
|
|
440
447
|
| we32k-* \
|
|
441
448
|
| x86-* | x86_64-* | xc16x-* | xps100-* \
|
|
442
449
|
| xstormy16-* | xtensa*-* \
|
|
@@ -450,7 +457,7 @@ case $basic_machine in
|
|
|
450
457
|
# Recognize the various machine names and aliases which stand
|
|
451
458
|
# for a CPU type and a company and sometimes even an OS.
|
|
452
459
|
386bsd)
|
|
453
|
-
basic_machine=i386-
|
|
460
|
+
basic_machine=i386-pc
|
|
454
461
|
os=-bsd
|
|
455
462
|
;;
|
|
456
463
|
3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
|
|
@@ -484,7 +491,7 @@ case $basic_machine in
|
|
|
484
491
|
basic_machine=x86_64-pc
|
|
485
492
|
;;
|
|
486
493
|
amd64-*)
|
|
487
|
-
basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
494
|
+
basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
|
488
495
|
;;
|
|
489
496
|
amdahl)
|
|
490
497
|
basic_machine=580-amdahl
|
|
@@ -513,6 +520,9 @@ case $basic_machine in
|
|
|
513
520
|
basic_machine=i386-pc
|
|
514
521
|
os=-aros
|
|
515
522
|
;;
|
|
523
|
+
asmjs)
|
|
524
|
+
basic_machine=asmjs-unknown
|
|
525
|
+
;;
|
|
516
526
|
aux)
|
|
517
527
|
basic_machine=m68k-apple
|
|
518
528
|
os=-aux
|
|
@@ -526,7 +536,7 @@ case $basic_machine in
|
|
|
526
536
|
os=-linux
|
|
527
537
|
;;
|
|
528
538
|
blackfin-*)
|
|
529
|
-
basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
539
|
+
basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
|
530
540
|
os=-linux
|
|
531
541
|
;;
|
|
532
542
|
bluegene*)
|
|
@@ -534,13 +544,13 @@ case $basic_machine in
|
|
|
534
544
|
os=-cnk
|
|
535
545
|
;;
|
|
536
546
|
c54x-*)
|
|
537
|
-
basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
547
|
+
basic_machine=tic54x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
|
538
548
|
;;
|
|
539
549
|
c55x-*)
|
|
540
|
-
basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
550
|
+
basic_machine=tic55x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
|
541
551
|
;;
|
|
542
552
|
c6x-*)
|
|
543
|
-
basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
553
|
+
basic_machine=tic6x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
|
544
554
|
;;
|
|
545
555
|
c90)
|
|
546
556
|
basic_machine=c90-cray
|
|
@@ -629,10 +639,18 @@ case $basic_machine in
|
|
|
629
639
|
basic_machine=rs6000-bull
|
|
630
640
|
os=-bosx
|
|
631
641
|
;;
|
|
632
|
-
dpx2*
|
|
642
|
+
dpx2*)
|
|
633
643
|
basic_machine=m68k-bull
|
|
634
644
|
os=-sysv3
|
|
635
645
|
;;
|
|
646
|
+
e500v[12])
|
|
647
|
+
basic_machine=powerpc-unknown
|
|
648
|
+
os=$os"spe"
|
|
649
|
+
;;
|
|
650
|
+
e500v[12]-*)
|
|
651
|
+
basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
|
652
|
+
os=$os"spe"
|
|
653
|
+
;;
|
|
636
654
|
ebmon29k)
|
|
637
655
|
basic_machine=a29k-amd
|
|
638
656
|
os=-ebmon
|
|
@@ -722,9 +740,6 @@ case $basic_machine in
|
|
|
722
740
|
hp9k8[0-9][0-9] | hp8[0-9][0-9])
|
|
723
741
|
basic_machine=hppa1.0-hp
|
|
724
742
|
;;
|
|
725
|
-
hppa-next)
|
|
726
|
-
os=-nextstep3
|
|
727
|
-
;;
|
|
728
743
|
hppaosf)
|
|
729
744
|
basic_machine=hppa1.1-hp
|
|
730
745
|
os=-osf
|
|
@@ -737,26 +752,26 @@ case $basic_machine in
|
|
|
737
752
|
basic_machine=i370-ibm
|
|
738
753
|
;;
|
|
739
754
|
i*86v32)
|
|
740
|
-
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
|
755
|
+
basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
|
|
741
756
|
os=-sysv32
|
|
742
757
|
;;
|
|
743
758
|
i*86v4*)
|
|
744
|
-
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
|
759
|
+
basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
|
|
745
760
|
os=-sysv4
|
|
746
761
|
;;
|
|
747
762
|
i*86v)
|
|
748
|
-
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
|
763
|
+
basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
|
|
749
764
|
os=-sysv
|
|
750
765
|
;;
|
|
751
766
|
i*86sol2)
|
|
752
|
-
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
|
767
|
+
basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
|
|
753
768
|
os=-solaris2
|
|
754
769
|
;;
|
|
755
770
|
i386mach)
|
|
756
771
|
basic_machine=i386-mach
|
|
757
772
|
os=-mach
|
|
758
773
|
;;
|
|
759
|
-
|
|
774
|
+
vsta)
|
|
760
775
|
basic_machine=i386-unknown
|
|
761
776
|
os=-vsta
|
|
762
777
|
;;
|
|
@@ -774,17 +789,17 @@ case $basic_machine in
|
|
|
774
789
|
basic_machine=m68k-isi
|
|
775
790
|
os=-sysv
|
|
776
791
|
;;
|
|
792
|
+
leon-*|leon[3-9]-*)
|
|
793
|
+
basic_machine=sparc-`echo "$basic_machine" | sed 's/-.*//'`
|
|
794
|
+
;;
|
|
777
795
|
m68knommu)
|
|
778
796
|
basic_machine=m68k-unknown
|
|
779
797
|
os=-linux
|
|
780
798
|
;;
|
|
781
799
|
m68knommu-*)
|
|
782
|
-
basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
800
|
+
basic_machine=m68k-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
|
783
801
|
os=-linux
|
|
784
802
|
;;
|
|
785
|
-
m88k-omron*)
|
|
786
|
-
basic_machine=m88k-omron
|
|
787
|
-
;;
|
|
788
803
|
magnum | m3230)
|
|
789
804
|
basic_machine=mips-mips
|
|
790
805
|
os=-sysv
|
|
@@ -816,10 +831,10 @@ case $basic_machine in
|
|
|
816
831
|
os=-mint
|
|
817
832
|
;;
|
|
818
833
|
mips3*-*)
|
|
819
|
-
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
|
|
834
|
+
basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`
|
|
820
835
|
;;
|
|
821
836
|
mips3*)
|
|
822
|
-
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
|
|
837
|
+
basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`-unknown
|
|
823
838
|
;;
|
|
824
839
|
monitor)
|
|
825
840
|
basic_machine=m68k-rom68k
|
|
@@ -838,7 +853,7 @@ case $basic_machine in
|
|
|
838
853
|
os=-msdos
|
|
839
854
|
;;
|
|
840
855
|
ms1-*)
|
|
841
|
-
basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
|
|
856
|
+
basic_machine=`echo "$basic_machine" | sed -e 's/ms1-/mt-/'`
|
|
842
857
|
;;
|
|
843
858
|
msys)
|
|
844
859
|
basic_machine=i686-pc
|
|
@@ -880,7 +895,7 @@ case $basic_machine in
|
|
|
880
895
|
basic_machine=v70-nec
|
|
881
896
|
os=-sysv
|
|
882
897
|
;;
|
|
883
|
-
next | m*-next
|
|
898
|
+
next | m*-next)
|
|
884
899
|
basic_machine=m68k-next
|
|
885
900
|
case $os in
|
|
886
901
|
-nextstep* )
|
|
@@ -925,6 +940,12 @@ case $basic_machine in
|
|
|
925
940
|
nsr-tandem)
|
|
926
941
|
basic_machine=nsr-tandem
|
|
927
942
|
;;
|
|
943
|
+
nsv-tandem)
|
|
944
|
+
basic_machine=nsv-tandem
|
|
945
|
+
;;
|
|
946
|
+
nsx-tandem)
|
|
947
|
+
basic_machine=nsx-tandem
|
|
948
|
+
;;
|
|
928
949
|
op50n-* | op60c-*)
|
|
929
950
|
basic_machine=hppa1.1-oki
|
|
930
951
|
os=-proelf
|
|
@@ -957,7 +978,7 @@ case $basic_machine in
|
|
|
957
978
|
os=-linux
|
|
958
979
|
;;
|
|
959
980
|
parisc-*)
|
|
960
|
-
basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
981
|
+
basic_machine=hppa-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
|
961
982
|
os=-linux
|
|
962
983
|
;;
|
|
963
984
|
pbd)
|
|
@@ -973,7 +994,7 @@ case $basic_machine in
|
|
|
973
994
|
basic_machine=i386-pc
|
|
974
995
|
;;
|
|
975
996
|
pc98-*)
|
|
976
|
-
basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
997
|
+
basic_machine=i386-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
|
977
998
|
;;
|
|
978
999
|
pentium | p5 | k5 | k6 | nexgen | viac3)
|
|
979
1000
|
basic_machine=i586-pc
|
|
@@ -988,16 +1009,16 @@ case $basic_machine in
|
|
|
988
1009
|
basic_machine=i786-pc
|
|
989
1010
|
;;
|
|
990
1011
|
pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
|
|
991
|
-
basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
1012
|
+
basic_machine=i586-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
|
992
1013
|
;;
|
|
993
1014
|
pentiumpro-* | p6-* | 6x86-* | athlon-*)
|
|
994
|
-
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
1015
|
+
basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
|
995
1016
|
;;
|
|
996
1017
|
pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
|
|
997
|
-
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
1018
|
+
basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
|
998
1019
|
;;
|
|
999
1020
|
pentium4-*)
|
|
1000
|
-
basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
1021
|
+
basic_machine=i786-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
|
1001
1022
|
;;
|
|
1002
1023
|
pn)
|
|
1003
1024
|
basic_machine=pn-gould
|
|
@@ -1007,23 +1028,23 @@ case $basic_machine in
|
|
|
1007
1028
|
ppc | ppcbe) basic_machine=powerpc-unknown
|
|
1008
1029
|
;;
|
|
1009
1030
|
ppc-* | ppcbe-*)
|
|
1010
|
-
basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
1031
|
+
basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
|
1011
1032
|
;;
|
|
1012
|
-
ppcle | powerpclittle
|
|
1033
|
+
ppcle | powerpclittle)
|
|
1013
1034
|
basic_machine=powerpcle-unknown
|
|
1014
1035
|
;;
|
|
1015
1036
|
ppcle-* | powerpclittle-*)
|
|
1016
|
-
basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
1037
|
+
basic_machine=powerpcle-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
|
1017
1038
|
;;
|
|
1018
1039
|
ppc64) basic_machine=powerpc64-unknown
|
|
1019
1040
|
;;
|
|
1020
|
-
ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
1041
|
+
ppc64-*) basic_machine=powerpc64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
|
1021
1042
|
;;
|
|
1022
|
-
ppc64le | powerpc64little
|
|
1043
|
+
ppc64le | powerpc64little)
|
|
1023
1044
|
basic_machine=powerpc64le-unknown
|
|
1024
1045
|
;;
|
|
1025
1046
|
ppc64le-* | powerpc64little-*)
|
|
1026
|
-
basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
1047
|
+
basic_machine=powerpc64le-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
|
1027
1048
|
;;
|
|
1028
1049
|
ps2)
|
|
1029
1050
|
basic_machine=i386-ibm
|
|
@@ -1077,17 +1098,10 @@ case $basic_machine in
|
|
|
1077
1098
|
sequent)
|
|
1078
1099
|
basic_machine=i386-sequent
|
|
1079
1100
|
;;
|
|
1080
|
-
sh)
|
|
1081
|
-
basic_machine=sh-hitachi
|
|
1082
|
-
os=-hms
|
|
1083
|
-
;;
|
|
1084
1101
|
sh5el)
|
|
1085
1102
|
basic_machine=sh5le-unknown
|
|
1086
1103
|
;;
|
|
1087
|
-
|
|
1088
|
-
basic_machine=sh64-unknown
|
|
1089
|
-
;;
|
|
1090
|
-
sparclite-wrs | simso-wrs)
|
|
1104
|
+
simso-wrs)
|
|
1091
1105
|
basic_machine=sparclite-wrs
|
|
1092
1106
|
os=-vxworks
|
|
1093
1107
|
;;
|
|
@@ -1106,7 +1120,7 @@ case $basic_machine in
|
|
|
1106
1120
|
os=-sysv4
|
|
1107
1121
|
;;
|
|
1108
1122
|
strongarm-* | thumb-*)
|
|
1109
|
-
basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
1123
|
+
basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
|
1110
1124
|
;;
|
|
1111
1125
|
sun2)
|
|
1112
1126
|
basic_machine=m68000-sun
|
|
@@ -1228,6 +1242,9 @@ case $basic_machine in
|
|
|
1228
1242
|
basic_machine=hppa1.1-winbond
|
|
1229
1243
|
os=-proelf
|
|
1230
1244
|
;;
|
|
1245
|
+
x64)
|
|
1246
|
+
basic_machine=x86_64-pc
|
|
1247
|
+
;;
|
|
1231
1248
|
xbox)
|
|
1232
1249
|
basic_machine=i686-pc
|
|
1233
1250
|
os=-mingw32
|
|
@@ -1236,20 +1253,12 @@ case $basic_machine in
|
|
|
1236
1253
|
basic_machine=xps100-honeywell
|
|
1237
1254
|
;;
|
|
1238
1255
|
xscale-* | xscalee[bl]-*)
|
|
1239
|
-
basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
|
|
1256
|
+
basic_machine=`echo "$basic_machine" | sed 's/^xscale/arm/'`
|
|
1240
1257
|
;;
|
|
1241
1258
|
ymp)
|
|
1242
1259
|
basic_machine=ymp-cray
|
|
1243
1260
|
os=-unicos
|
|
1244
1261
|
;;
|
|
1245
|
-
z8k-*-coff)
|
|
1246
|
-
basic_machine=z8k-unknown
|
|
1247
|
-
os=-sim
|
|
1248
|
-
;;
|
|
1249
|
-
z80-*-coff)
|
|
1250
|
-
basic_machine=z80-unknown
|
|
1251
|
-
os=-sim
|
|
1252
|
-
;;
|
|
1253
1262
|
none)
|
|
1254
1263
|
basic_machine=none-none
|
|
1255
1264
|
os=-none
|
|
@@ -1278,10 +1287,6 @@ case $basic_machine in
|
|
|
1278
1287
|
vax)
|
|
1279
1288
|
basic_machine=vax-dec
|
|
1280
1289
|
;;
|
|
1281
|
-
pdp10)
|
|
1282
|
-
# there are many clones, so DEC is not a safe bet
|
|
1283
|
-
basic_machine=pdp10-unknown
|
|
1284
|
-
;;
|
|
1285
1290
|
pdp11)
|
|
1286
1291
|
basic_machine=pdp11-dec
|
|
1287
1292
|
;;
|
|
@@ -1291,9 +1296,6 @@ case $basic_machine in
|
|
|
1291
1296
|
sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
|
|
1292
1297
|
basic_machine=sh-unknown
|
|
1293
1298
|
;;
|
|
1294
|
-
sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
|
|
1295
|
-
basic_machine=sparc-sun
|
|
1296
|
-
;;
|
|
1297
1299
|
cydra)
|
|
1298
1300
|
basic_machine=cydra-cydrome
|
|
1299
1301
|
;;
|
|
@@ -1313,7 +1315,7 @@ case $basic_machine in
|
|
|
1313
1315
|
# Make sure to match an already-canonicalized machine name.
|
|
1314
1316
|
;;
|
|
1315
1317
|
*)
|
|
1316
|
-
echo Invalid configuration
|
|
1318
|
+
echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2
|
|
1317
1319
|
exit 1
|
|
1318
1320
|
;;
|
|
1319
1321
|
esac
|
|
@@ -1321,10 +1323,10 @@ esac
|
|
|
1321
1323
|
# Here we canonicalize certain aliases for manufacturers.
|
|
1322
1324
|
case $basic_machine in
|
|
1323
1325
|
*-digital*)
|
|
1324
|
-
basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
|
|
1326
|
+
basic_machine=`echo "$basic_machine" | sed 's/digital.*/dec/'`
|
|
1325
1327
|
;;
|
|
1326
1328
|
*-commodore*)
|
|
1327
|
-
basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
|
|
1329
|
+
basic_machine=`echo "$basic_machine" | sed 's/commodore.*/cbm/'`
|
|
1328
1330
|
;;
|
|
1329
1331
|
*)
|
|
1330
1332
|
;;
|
|
@@ -1335,8 +1337,8 @@ esac
|
|
|
1335
1337
|
if [ x"$os" != x"" ]
|
|
1336
1338
|
then
|
|
1337
1339
|
case $os in
|
|
1338
|
-
# First match some system type aliases
|
|
1339
|
-
#
|
|
1340
|
+
# First match some system type aliases that might get confused
|
|
1341
|
+
# with valid system types.
|
|
1340
1342
|
# -solaris* is a basic system type, with this one exception.
|
|
1341
1343
|
-auroraux)
|
|
1342
1344
|
os=-auroraux
|
|
@@ -1347,45 +1349,48 @@ case $os in
|
|
|
1347
1349
|
-solaris)
|
|
1348
1350
|
os=-solaris2
|
|
1349
1351
|
;;
|
|
1350
|
-
-svr4*)
|
|
1351
|
-
os=-sysv4
|
|
1352
|
-
;;
|
|
1353
1352
|
-unixware*)
|
|
1354
1353
|
os=-sysv4.2uw
|
|
1355
1354
|
;;
|
|
1356
1355
|
-gnu/linux*)
|
|
1357
1356
|
os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
|
|
1358
1357
|
;;
|
|
1359
|
-
#
|
|
1358
|
+
# es1800 is here to avoid being matched by es* (a different OS)
|
|
1359
|
+
-es1800*)
|
|
1360
|
+
os=-ose
|
|
1361
|
+
;;
|
|
1362
|
+
# Now accept the basic system types.
|
|
1360
1363
|
# The portable systems comes first.
|
|
1361
|
-
# Each alternative MUST
|
|
1364
|
+
# Each alternative MUST end in a * to match a version number.
|
|
1362
1365
|
# -sysv* is not here because it comes later, after sysvr4.
|
|
1363
1366
|
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
|
|
1364
1367
|
| -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
|
|
1365
1368
|
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
|
|
1366
1369
|
| -sym* | -kopensolaris* | -plan9* \
|
|
1367
1370
|
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
|
|
1368
|
-
| -aos* | -aros* \
|
|
1371
|
+
| -aos* | -aros* | -cloudabi* | -sortix* \
|
|
1369
1372
|
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
|
1370
1373
|
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
|
1371
|
-
| -hiux* | -
|
|
1372
|
-
| -bitrig* | -openbsd* | -solidbsd* \
|
|
1374
|
+
| -hiux* | -knetbsd* | -mirbsd* | -netbsd* \
|
|
1375
|
+
| -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \
|
|
1373
1376
|
| -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
|
|
1374
1377
|
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
|
|
1375
1378
|
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
|
1376
1379
|
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
|
1377
|
-
| -chorusos* | -chorusrdb* | -cegcc* \
|
|
1380
|
+
| -chorusos* | -chorusrdb* | -cegcc* | -glidix* \
|
|
1378
1381
|
| -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
|
1379
|
-
| -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
|
|
1382
|
+
| -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
|
|
1380
1383
|
| -linux-newlib* | -linux-musl* | -linux-uclibc* \
|
|
1381
1384
|
| -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
|
|
1382
|
-
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin*
|
|
1385
|
+
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* \
|
|
1383
1386
|
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
|
|
1384
1387
|
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
|
|
1385
1388
|
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
|
|
1386
|
-
| -morphos* | -superux* | -rtmk* | -
|
|
1389
|
+
| -morphos* | -superux* | -rtmk* | -windiss* \
|
|
1387
1390
|
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
|
|
1388
|
-
| -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*
|
|
1391
|
+
| -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
|
|
1392
|
+
| -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \
|
|
1393
|
+
| -midnightbsd*)
|
|
1389
1394
|
# Remember, each alternative MUST END IN *, to match a version number.
|
|
1390
1395
|
;;
|
|
1391
1396
|
-qnx*)
|
|
@@ -1402,12 +1407,12 @@ case $os in
|
|
|
1402
1407
|
-nto*)
|
|
1403
1408
|
os=`echo $os | sed -e 's|nto|nto-qnx|'`
|
|
1404
1409
|
;;
|
|
1405
|
-
-sim | -
|
|
1406
|
-
| -windows* | -osx | -abug | -netware* | -os9*
|
|
1410
|
+
-sim | -xray | -os68k* | -v88r* \
|
|
1411
|
+
| -windows* | -osx | -abug | -netware* | -os9* \
|
|
1407
1412
|
| -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
|
|
1408
1413
|
;;
|
|
1409
1414
|
-mac*)
|
|
1410
|
-
os=`echo $os | sed -e 's|mac|macos|'`
|
|
1415
|
+
os=`echo "$os" | sed -e 's|mac|macos|'`
|
|
1411
1416
|
;;
|
|
1412
1417
|
-linux-dietlibc)
|
|
1413
1418
|
os=-linux-dietlibc
|
|
@@ -1416,10 +1421,10 @@ case $os in
|
|
|
1416
1421
|
os=`echo $os | sed -e 's|linux|linux-gnu|'`
|
|
1417
1422
|
;;
|
|
1418
1423
|
-sunos5*)
|
|
1419
|
-
os=`echo $os | sed -e 's|sunos5|solaris2|'`
|
|
1424
|
+
os=`echo "$os" | sed -e 's|sunos5|solaris2|'`
|
|
1420
1425
|
;;
|
|
1421
1426
|
-sunos6*)
|
|
1422
|
-
os=`echo $os | sed -e 's|sunos6|solaris3|'`
|
|
1427
|
+
os=`echo "$os" | sed -e 's|sunos6|solaris3|'`
|
|
1423
1428
|
;;
|
|
1424
1429
|
-opened*)
|
|
1425
1430
|
os=-openedition
|
|
@@ -1430,12 +1435,6 @@ case $os in
|
|
|
1430
1435
|
-wince*)
|
|
1431
1436
|
os=-wince
|
|
1432
1437
|
;;
|
|
1433
|
-
-osfrose*)
|
|
1434
|
-
os=-osfrose
|
|
1435
|
-
;;
|
|
1436
|
-
-osf*)
|
|
1437
|
-
os=-osf
|
|
1438
|
-
;;
|
|
1439
1438
|
-utek*)
|
|
1440
1439
|
os=-bsd
|
|
1441
1440
|
;;
|
|
@@ -1460,7 +1459,7 @@ case $os in
|
|
|
1460
1459
|
-nova*)
|
|
1461
1460
|
os=-rtmk-nova
|
|
1462
1461
|
;;
|
|
1463
|
-
-ns2
|
|
1462
|
+
-ns2)
|
|
1464
1463
|
os=-nextstep2
|
|
1465
1464
|
;;
|
|
1466
1465
|
-nsk*)
|
|
@@ -1482,7 +1481,7 @@ case $os in
|
|
|
1482
1481
|
-oss*)
|
|
1483
1482
|
os=-sysv3
|
|
1484
1483
|
;;
|
|
1485
|
-
-svr4)
|
|
1484
|
+
-svr4*)
|
|
1486
1485
|
os=-sysv4
|
|
1487
1486
|
;;
|
|
1488
1487
|
-svr3)
|
|
@@ -1497,32 +1496,38 @@ case $os in
|
|
|
1497
1496
|
-ose*)
|
|
1498
1497
|
os=-ose
|
|
1499
1498
|
;;
|
|
1500
|
-
-es1800*)
|
|
1501
|
-
os=-ose
|
|
1502
|
-
;;
|
|
1503
|
-
-xenix)
|
|
1504
|
-
os=-xenix
|
|
1505
|
-
;;
|
|
1506
1499
|
-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
|
|
1507
1500
|
os=-mint
|
|
1508
1501
|
;;
|
|
1509
|
-
-aros*)
|
|
1510
|
-
os=-aros
|
|
1511
|
-
;;
|
|
1512
1502
|
-zvmoe)
|
|
1513
1503
|
os=-zvmoe
|
|
1514
1504
|
;;
|
|
1515
1505
|
-dicos*)
|
|
1516
1506
|
os=-dicos
|
|
1517
1507
|
;;
|
|
1508
|
+
-pikeos*)
|
|
1509
|
+
# Until real need of OS specific support for
|
|
1510
|
+
# particular features comes up, bare metal
|
|
1511
|
+
# configurations are quite functional.
|
|
1512
|
+
case $basic_machine in
|
|
1513
|
+
arm*)
|
|
1514
|
+
os=-eabi
|
|
1515
|
+
;;
|
|
1516
|
+
*)
|
|
1517
|
+
os=-elf
|
|
1518
|
+
;;
|
|
1519
|
+
esac
|
|
1520
|
+
;;
|
|
1518
1521
|
-nacl*)
|
|
1519
1522
|
;;
|
|
1523
|
+
-ios)
|
|
1524
|
+
;;
|
|
1520
1525
|
-none)
|
|
1521
1526
|
;;
|
|
1522
1527
|
*)
|
|
1523
1528
|
# Get rid of the `-' at the beginning of $os.
|
|
1524
1529
|
os=`echo $os | sed 's/[^-]*-//'`
|
|
1525
|
-
echo Invalid configuration
|
|
1530
|
+
echo Invalid configuration \`"$1"\': system \`"$os"\' not recognized 1>&2
|
|
1526
1531
|
exit 1
|
|
1527
1532
|
;;
|
|
1528
1533
|
esac
|
|
@@ -1612,12 +1617,12 @@ case $basic_machine in
|
|
|
1612
1617
|
sparc-* | *-sun)
|
|
1613
1618
|
os=-sunos4.1.1
|
|
1614
1619
|
;;
|
|
1620
|
+
pru-*)
|
|
1621
|
+
os=-elf
|
|
1622
|
+
;;
|
|
1615
1623
|
*-be)
|
|
1616
1624
|
os=-beos
|
|
1617
1625
|
;;
|
|
1618
|
-
*-haiku)
|
|
1619
|
-
os=-haiku
|
|
1620
|
-
;;
|
|
1621
1626
|
*-ibm)
|
|
1622
1627
|
os=-aix
|
|
1623
1628
|
;;
|
|
@@ -1657,7 +1662,7 @@ case $basic_machine in
|
|
|
1657
1662
|
m88k-omron*)
|
|
1658
1663
|
os=-luna
|
|
1659
1664
|
;;
|
|
1660
|
-
*-next
|
|
1665
|
+
*-next)
|
|
1661
1666
|
os=-nextstep
|
|
1662
1667
|
;;
|
|
1663
1668
|
*-sequent)
|
|
@@ -1672,9 +1677,6 @@ case $basic_machine in
|
|
|
1672
1677
|
i370-*)
|
|
1673
1678
|
os=-mvs
|
|
1674
1679
|
;;
|
|
1675
|
-
*-next)
|
|
1676
|
-
os=-nextstep3
|
|
1677
|
-
;;
|
|
1678
1680
|
*-gould)
|
|
1679
1681
|
os=-sysv
|
|
1680
1682
|
;;
|
|
@@ -1784,15 +1786,15 @@ case $basic_machine in
|
|
|
1784
1786
|
vendor=stratus
|
|
1785
1787
|
;;
|
|
1786
1788
|
esac
|
|
1787
|
-
basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
|
|
1789
|
+
basic_machine=`echo "$basic_machine" | sed "s/unknown/$vendor/"`
|
|
1788
1790
|
;;
|
|
1789
1791
|
esac
|
|
1790
1792
|
|
|
1791
|
-
echo $basic_machine$os
|
|
1793
|
+
echo "$basic_machine$os"
|
|
1792
1794
|
exit
|
|
1793
1795
|
|
|
1794
1796
|
# Local variables:
|
|
1795
|
-
# eval: (add-hook 'write-file-
|
|
1797
|
+
# eval: (add-hook 'write-file-functions 'time-stamp)
|
|
1796
1798
|
# time-stamp-start: "timestamp='"
|
|
1797
1799
|
# time-stamp-format: "%:y-%02m-%02d"
|
|
1798
1800
|
# time-stamp-end: "'"
|