diff --git a/.gitignore b/.gitignore index f100b4d0..f4383ad0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,3 @@ -_auto_* - # GYP-generated files. Makefile *.Makefile @@ -14,3 +12,7 @@ out/ # Ignoring backup files. *~ + +# Configure logs from protobuf. +config.status +config.log diff --git a/README.pdf b/README.pdf index d51470e2..daf5faf3 100644 Binary files a/README.pdf and b/README.pdf differ diff --git a/build.py b/build.py index f9106b49..1a266070 100755 --- a/build.py +++ b/build.py @@ -88,8 +88,9 @@ def ImportPlatform(name, gyp_args): if hasattr(target, 'export_variables'): for k, v in target.export_variables.iteritems(): - os.environ[k] = v - print ' set %s to %s' % (k, v) + if not os.environ.get(k): + os.environ[k] = v + print ' set %s to %s' % (k, v) return output_path diff --git a/cdm/include/cdm.h b/cdm/include/cdm.h index 9a6554fc..15ddd8d9 100644 --- a/cdm/include/cdm.h +++ b/cdm/include/cdm.h @@ -130,6 +130,20 @@ class CDM_EXPORT Cdm : public ITimerClient { // See Cdm::createSession(). class IEventListener { public: + // A URL to be added to a renewal request message. + // This call will immediately precede the onMessage() call. + // Do not override this call if the URL is not needed. + // + // WARNING: this call exists temporarily to allow interoperation with + // older versions of Chromium and the prefixed EME API. This call will + // be removed in a future release. Therefore: (1) Do not use this call + // unless you are certain that it is needed on your platform for your + // application, and (2) If it is needed, figure how move to a new version + // of Chromium and the unprefixed EME API as soon as possible. + // TODO: Remove this call (see b/24776024). + virtual void onMessageUrl(const std::string& session_id, + const std::string& server_url) {} + // A message (license request, renewal, etc.) to be dispatched to the // application's license server. // The response, if successful, should be provided back to the CDM via a diff --git a/cdm/include/cdm_version.h b/cdm/include/cdm_version.h index 75614f98..232ab469 100644 --- a/cdm/include/cdm_version.h +++ b/cdm/include/cdm_version.h @@ -1,2 +1,2 @@ // Widevine CE CDM Version -#define CDM_VERSION "v3.0.1-0-g41710d9-ce" +#define CDM_VERSION "v3.0.2-0-g161de1b-ce" diff --git a/cdm/src/cdm.cpp b/cdm/src/cdm.cpp index 04ceb214..154eb136 100644 --- a/cdm/src/cdm.cpp +++ b/cdm/src/cdm.cpp @@ -288,13 +288,20 @@ Cdm::Status CdmImpl::generateRequest(const std::string& session_id, return kInvalidAccess; } - InitializationData init_data_obj(init_data_type_name, init_data); - - if (init_data_obj.IsEmpty()) { - LOGE("Failed to parse init data."); + if (init_data.empty()) { + LOGE("Empty init data is not valid."); return kInvalidAccess; } + InitializationData init_data_obj(init_data_type_name, init_data); + if (init_data_obj.IsEmpty()) { + // Note that InitializationData's idea of "empty" includes "failed to find + // and parse a Widevine PSSH". This should not happen for WebM init data, + // which requires no parsing. + LOGE("Failed to parse init data, may not contain a Widevine PSSH."); + return kNotSupported; + } + std::string key_request; CdmKeyRequestType key_request_type; std::string ignored_server_url; @@ -404,6 +411,8 @@ Cdm::Status CdmImpl::update(const std::string& session_id, bool predicted_to_be_server_cert_response = property_set_.use_privacy_mode() && property_set_.service_certificate().empty(); + (void)predicted_to_be_server_cert_response; + // predicted_to_be_server_cert_response is now used when assertions are off. // NOTE: If the CdmSession object recognizes that this is not the first // AddKey(), it will internally delegate to RenewKey(). @@ -640,6 +649,11 @@ void CdmImpl::OnSessionRenewalNeeded(const CdmSessionId& session_id) { LOGI("A license renewal has been generated."); MessageType message_type = kLicenseRenewal; + + // Post the server_url before providing the message. + // For systems that still require the server URL, + // the listener will add the URL to its renewal request. + listener_->onMessageUrl(session_id, server_url); listener_->onMessage(session_id, message_type, message); } @@ -650,7 +664,6 @@ void CdmImpl::OnSessionKeysChange(const CdmSessionId& session_id, CdmKeyStatusMap::const_iterator it; for (it = keys_status.begin(); it != keys_status.end(); ++it) { - KeyStatus status; switch (it->second) { case kKeyStatusUsable: map[it->first] = kUsable; @@ -835,7 +848,8 @@ int64_t Clock::GetCurrentTime() { return host.clock->now() / 1000; } -struct File::Impl { +class File::Impl { + public: std::string name; bool read_only; bool truncate; diff --git a/cdm/src/lock.cpp b/cdm/src/lock.cpp index 48767a47..3263ca44 100644 --- a/cdm/src/lock.cpp +++ b/cdm/src/lock.cpp @@ -8,7 +8,8 @@ namespace wvcdm { -struct Lock::Impl { +class Lock::Impl { + public: pthread_mutex_t mutex; }; diff --git a/cdm/test/cdm_test.cpp b/cdm/test/cdm_test.cpp index 8831b4b3..a667ad6d 100644 --- a/cdm/test/cdm_test.cpp +++ b/cdm/test/cdm_test.cpp @@ -76,6 +76,16 @@ const std::string kCencPersistentInitData = a2bs_hex( // pssh data: "08011a0d7769646576696e655f746573" "74220d6f66666c696e655f636c697032"); +const std::string kInvalidCencInitData = a2bs_hex( + "0000000c" // blob size + "61736466" // "asdf" (wrong box type) + "01020304"); // nonsense +const std::string kNonWidevineCencInitData = a2bs_hex( + "00000020" // blob size + "70737368" // "pssh" + "00000000" // flags + "000102030405060708090a0b0c0d0e0f" // unknown system id + "00000000"); // pssh data size const std::string kWebMInitData = a2bs_hex("deadbeefdeadbeefdeadbeefdeadbeef"); const std::string kKeyIdsInitData = "{\"kids\":[\"67ef0gd8pvfd0\",\"77ef0gd8pvfd0\"]}"; @@ -582,6 +592,23 @@ TEST_F(CdmTest, GenerateRequest) { EXPECT_EQ(Cdm::kInvalidAccess, status); Mock::VerifyAndClear(this); + // Try to pass invalid CENC init data. + status = cdm_->createSession(Cdm::kTemporary, &session_id); + ASSERT_EQ(Cdm::kSuccess, status); + EXPECT_CALL(*this, onMessage(session_id, Cdm::kLicenseRequest, _)).Times(0); + status = cdm_->generateRequest(session_id, Cdm::kCenc, kInvalidCencInitData); + EXPECT_EQ(Cdm::kNotSupported, status); + Mock::VerifyAndClear(this); + + // Try to pass non-Widevine CENC init data. + status = cdm_->createSession(Cdm::kTemporary, &session_id); + ASSERT_EQ(Cdm::kSuccess, status); + EXPECT_CALL(*this, onMessage(session_id, Cdm::kLicenseRequest, _)).Times(0); + status = cdm_->generateRequest(session_id, Cdm::kCenc, + kNonWidevineCencInitData); + EXPECT_EQ(Cdm::kNotSupported, status); + Mock::VerifyAndClear(this); + // Try a bogus session ID. EXPECT_CALL(*this, onMessage(_, _, _)).Times(0); status = cdm_->generateRequest(kBogusSessionId, Cdm::kCenc, kCencInitData); diff --git a/cdm/test/cdm_test_main.cpp b/cdm/test/cdm_test_main.cpp index b339322c..ed68408e 100644 --- a/cdm/test/cdm_test_main.cpp +++ b/cdm/test/cdm_test_main.cpp @@ -72,6 +72,7 @@ int main(int argc, char** argv) { Cdm::Status status = Cdm::initialize( Cdm::kNoSecureOutput, client_info, g_host, g_host, g_host, &cert_request, static_cast(verbosity)); + (void)status; // status is now used when assertions are turned off. assert(status == Cdm::kSuccess); assert(cert_request.needed == false); diff --git a/core/include/buffer_reader.h b/core/include/buffer_reader.h index 9211a56c..f08ddda5 100644 --- a/core/include/buffer_reader.h +++ b/core/include/buffer_reader.h @@ -26,7 +26,8 @@ class BufferReader { BufferReader(const uint8_t* buf, size_t size) : buf_(buf), size_(buf != NULL ? size : 0), pos_(0) {} - bool HasBytes(size_t count) { return (pos() + count <= size()); } + bool HasBytes(size_t count) const { return pos_ + count <= size_; } + bool IsEOF() const { return pos_ >= size_; } // Read a value from the stream, performing endian correction, // and advance the stream pointer. diff --git a/core/include/cdm_engine.h b/core/include/cdm_engine.h index ce6ec57e..db8cf5bb 100644 --- a/core/include/cdm_engine.h +++ b/core/include/cdm_engine.h @@ -100,7 +100,8 @@ class CdmEngine { // Query system information virtual CdmResponseType QueryStatus(SecurityLevel security_level, - CdmQueryMap* info); + const std::string& key, + std::string* value); // Query session information virtual CdmResponseType QuerySessionStatus(const CdmSessionId& session_id, diff --git a/core/include/device_files.h b/core/include/device_files.h index 05e1cf42..f7cc0636 100644 --- a/core/include/device_files.h +++ b/core/include/device_files.h @@ -136,6 +136,7 @@ class DeviceFiles { FRIEND_TEST(WvCdmRequestLicenseTest, UnprovisionTest); FRIEND_TEST(WvCdmRequestLicenseTest, ForceL3Test); FRIEND_TEST(WvCdmRequestLicenseTest, UsageInfoRetryTest); + FRIEND_TEST(WvCdmRequestLicenseTest, UsageReleaseAllTest); FRIEND_TEST(WvCdmUsageInfoTest, UsageInfo); FRIEND_TEST(WvCdmUsageTest, WithClientId); FRIEND_TEST(WvCdmExtendedDurationTest, UsageOverflowTest); diff --git a/core/include/policy_engine.h b/core/include/policy_engine.h index 77f752b8..aefe3c1e 100644 --- a/core/include/policy_engine.h +++ b/core/include/policy_engine.h @@ -85,6 +85,8 @@ class PolicyEngine { bool IsLicenseOrPlaybackDurationExpired(int64_t current_time); + bool CanRenew() { return policy_.can_renew(); } + private: friend class PolicyEngineTest; diff --git a/core/include/wv_cdm_types.h b/core/include/wv_cdm_types.h index 925105de..4de2d9c1 100644 --- a/core/include/wv_cdm_types.h +++ b/core/include/wv_cdm_types.h @@ -203,8 +203,10 @@ enum CdmResponseType { LICENSE_REQUEST_NONCE_GENERATION_ERROR, LICENSE_REQUEST_SIGNING_ERROR, EMPTY_LICENSE_REQUEST, - EMPTY_PROVISIONING_CERTIFICATE_2, + SECURE_BUFFER_REQUIRED, DUPLICATE_SESSION_ID_SPECIFIED, + LICENSE_RENEWAL_PROHIBITED, + EMPTY_PROVISIONING_CERTIFICATE_2, }; enum CdmKeyStatus { diff --git a/core/src/cdm_engine.cpp b/core/src/cdm_engine.cpp index fc5bb60b..53509858 100644 --- a/core/src/cdm_engine.cpp +++ b/core/src/cdm_engine.cpp @@ -405,91 +405,115 @@ CdmResponseType CdmEngine::RenewKey(const CdmSessionId& session_id, } CdmResponseType CdmEngine::QueryStatus(SecurityLevel security_level, - CdmQueryMap* key_info) { + const std::string& key, + std::string* value) { LOGI("CdmEngine::QueryStatus"); CryptoSession crypto_session; if (security_level == kLevel3) { CdmResponseType status = crypto_session.Open(kLevel3); if (NO_ERROR != status) return INVALID_QUERY_STATUS; } - switch (crypto_session.GetSecurityLevel()) { - case kSecurityLevelL1: - (*key_info)[QUERY_KEY_SECURITY_LEVEL] = QUERY_VALUE_SECURITY_LEVEL_L1; - break; - case kSecurityLevelL2: - (*key_info)[QUERY_KEY_SECURITY_LEVEL] = QUERY_VALUE_SECURITY_LEVEL_L2; - break; - case kSecurityLevelL3: - (*key_info)[QUERY_KEY_SECURITY_LEVEL] = QUERY_VALUE_SECURITY_LEVEL_L3; - break; - case kSecurityLevelUninitialized: - case kSecurityLevelUnknown: - (*key_info)[QUERY_KEY_SECURITY_LEVEL] = - QUERY_VALUE_SECURITY_LEVEL_UNKNOWN; - break; - default: - return INVALID_QUERY_KEY; - } - std::string deviceId; - bool success = crypto_session.GetDeviceUniqueId(&deviceId); - if (success) { - (*key_info)[QUERY_KEY_DEVICE_ID] = deviceId; - } + if (key == QUERY_KEY_SECURITY_LEVEL) { + CdmSecurityLevel security_level = crypto_session.GetSecurityLevel(); + switch (security_level) { + case kSecurityLevelL1: + *value = QUERY_VALUE_SECURITY_LEVEL_L1; + break; + case kSecurityLevelL2: + *value = QUERY_VALUE_SECURITY_LEVEL_L2; + break; + case kSecurityLevelL3: + *value = QUERY_VALUE_SECURITY_LEVEL_L3; + break; + case kSecurityLevelUninitialized: + case kSecurityLevelUnknown: + *value = QUERY_VALUE_SECURITY_LEVEL_UNKNOWN; + break; + default: + LOGW("CdmEngine::QueryStatus: Unknown security level: %d", + security_level); + return UNKNOWN_ERROR; + } + } else if (key == QUERY_KEY_DEVICE_ID) { + std::string deviceId; + if (!crypto_session.GetDeviceUniqueId(&deviceId)) { + LOGW("CdmEngine::QueryStatus: GetDeviceUniqueId failed"); + return UNKNOWN_ERROR; + } + + *value = deviceId; + } else if (key == QUERY_KEY_SYSTEM_ID) { + uint32_t system_id; + if (!crypto_session.GetSystemId(&system_id)) { + LOGW("CdmEngine::QueryStatus: GetSystemId failed"); + return UNKNOWN_ERROR; + } - uint32_t system_id; - success = crypto_session.GetSystemId(&system_id); - if (success) { std::ostringstream system_id_stream; system_id_stream << system_id; - (*key_info)[QUERY_KEY_SYSTEM_ID] = system_id_stream.str(); - } + *value = system_id_stream.str(); + } else if (key == QUERY_KEY_PROVISIONING_ID) { + std::string provisioning_id; + if (!crypto_session.GetProvisioningId(&provisioning_id)) { + LOGW("CdmEngine::QueryStatus: GetProvisioningId failed"); + return UNKNOWN_ERROR; + } - std::string provisioning_id; - success = crypto_session.GetProvisioningId(&provisioning_id); - if (success) { - (*key_info)[QUERY_KEY_PROVISIONING_ID] = provisioning_id; - } + *value = provisioning_id; + } else if (key == QUERY_KEY_CURRENT_HDCP_LEVEL || + key == QUERY_KEY_MAX_HDCP_LEVEL) { + CryptoSession::HdcpCapability current_hdcp; + CryptoSession::HdcpCapability max_hdcp; + if (!crypto_session.GetHdcpCapabilities(¤t_hdcp, &max_hdcp)) { + LOGW("CdmEngine::QueryStatus: GetHdcpCapabilities failed"); + return UNKNOWN_ERROR; + } - CryptoSession::HdcpCapability current_hdcp; - CryptoSession::HdcpCapability max_hdcp; - success = crypto_session.GetHdcpCapabilities(¤t_hdcp, &max_hdcp); - if (success) { - (*key_info)[QUERY_KEY_CURRENT_HDCP_LEVEL] = MapHdcpVersion(current_hdcp); - (*key_info)[QUERY_KEY_MAX_HDCP_LEVEL] = MapHdcpVersion(max_hdcp); - } + *value = MapHdcpVersion(key == QUERY_KEY_CURRENT_HDCP_LEVEL ? current_hdcp + : max_hdcp); + } else if (key == QUERY_KEY_USAGE_SUPPORT) { + bool supports_usage_reporting; + if (!crypto_session.UsageInformationSupport(&supports_usage_reporting)) { + LOGW("CdmEngine::QueryStatus: UsageInformationSupport failed"); + return UNKNOWN_ERROR; + } - bool supports_usage_reporting; - success = crypto_session.UsageInformationSupport(&supports_usage_reporting); - if (success) { - (*key_info)[QUERY_KEY_USAGE_SUPPORT] = - supports_usage_reporting ? QUERY_VALUE_TRUE : QUERY_VALUE_FALSE; - } + *value = supports_usage_reporting ? QUERY_VALUE_TRUE : QUERY_VALUE_FALSE; + } else if (key == QUERY_KEY_NUMBER_OF_OPEN_SESSIONS) { + size_t number_of_open_sessions; + if (!crypto_session.GetNumberOfOpenSessions(&number_of_open_sessions)) { + LOGW("CdmEngine::QueryStatus: GetNumberOfOpenSessions failed"); + return UNKNOWN_ERROR; + } - size_t number_of_open_sessions; - success = crypto_session.GetNumberOfOpenSessions(&number_of_open_sessions); - if (success) { std::ostringstream open_sessions_stream; open_sessions_stream << number_of_open_sessions; - (*key_info)[QUERY_KEY_NUMBER_OF_OPEN_SESSIONS] = - open_sessions_stream.str(); - } + *value = open_sessions_stream.str(); + } else if (key == QUERY_KEY_MAX_NUMBER_OF_SESSIONS) { + size_t maximum_number_of_sessions; + if (!crypto_session.GetMaxNumberOfSessions(&maximum_number_of_sessions)) { + LOGW("CdmEngine::QueryStatus: GetMaxNumberOfOpenSessions failed"); + return UNKNOWN_ERROR; + } - size_t maximum_number_of_sessions; - success = crypto_session.GetMaxNumberOfSessions(&maximum_number_of_sessions); - if (success) { std::ostringstream max_sessions_stream; max_sessions_stream << maximum_number_of_sessions; - (*key_info)[QUERY_KEY_MAX_NUMBER_OF_SESSIONS] = - max_sessions_stream.str(); - } + *value = max_sessions_stream.str(); + } else if (key == QUERY_KEY_OEMCRYPTO_API_VERSION) { + uint32_t api_version; + if (!crypto_session.GetApiVersion(&api_version)) { + LOGW("CdmEngine::QueryStatus: GetApiVersion failed"); + return UNKNOWN_ERROR; + } - uint32_t api_version; - success = crypto_session.GetApiVersion(&api_version); - if (success) { std::ostringstream api_version_stream; api_version_stream << api_version; - (*key_info)[QUERY_KEY_OEMCRYPTO_API_VERSION] = api_version_stream.str(); + *value = api_version_stream.str(); + } else { + LOGW("CdmEngine::QueryStatus: Unknown status requested, key = %s", + key.c_str()); + return INVALID_QUERY_KEY; } return NO_ERROR; @@ -844,6 +868,11 @@ CdmResponseType CdmEngine::GetUsageInfo(const std::string& app_id, } CdmResponseType CdmEngine::ReleaseAllUsageInfo(const std::string& app_id) { + if (NULL == usage_property_set_.get()) { + usage_property_set_.reset(new UsagePropertySet()); + } + usage_property_set_->set_app_id(app_id); + CdmResponseType status = NO_ERROR; for (int j = kSecurityLevelL1; j < kSecurityLevelUnknown; ++j) { DeviceFiles handle; @@ -854,6 +883,14 @@ CdmResponseType CdmEngine::ReleaseAllUsageInfo(const std::string& app_id) { "stops", j); status = RELEASE_ALL_USAGE_INFO_ERROR_1; } else { + SecurityLevel security_level = + static_cast(j) == kSecurityLevelL3 + ? kLevel3 + : kLevelDefault; + usage_property_set_->set_security_level(security_level); + usage_session_.reset( + new CdmSession(usage_property_set_.get(), + EMPTY_ORIGIN, NULL, NULL)); CdmResponseType status2 = usage_session_-> DeleteMultipleUsageInformation(provider_session_tokens); if (status2 != NO_ERROR) { @@ -866,6 +903,7 @@ CdmResponseType CdmEngine::ReleaseAllUsageInfo(const std::string& app_id) { status = RELEASE_ALL_USAGE_INFO_ERROR_2; } } + usage_session_.reset(NULL); return status; } diff --git a/core/src/cdm_session.cpp b/core/src/cdm_session.cpp index a5b4da0e..050cfdba 100644 --- a/core/src/cdm_session.cpp +++ b/core/src/cdm_session.cpp @@ -48,6 +48,7 @@ CdmSession::CdmSession(CdmClientPropertySet* cdm_client_property_set, key_set_id_ = *forced_session_id; } else { bool ok = GenerateKeySetId(&key_set_id_); + (void)ok; // ok is now used when assertions are turned off. assert(ok); } session_id_ = key_set_id_; diff --git a/core/src/crypto_session.cpp b/core/src/crypto_session.cpp index e5fc002c..ec255d20 100644 --- a/core/src/crypto_session.cpp +++ b/core/src/crypto_session.cpp @@ -641,6 +641,11 @@ CdmResponseType CryptoSession::Decrypt(const CdmDecryptionParameters& params) { buffer_descriptor.type = params.is_secure ? destination_buffer_type_ : OEMCrypto_BufferType_Clear; + if (params.is_secure && + buffer_descriptor.type == OEMCrypto_BufferType_Clear) { + return SECURE_BUFFER_REQUIRED; + } + switch (buffer_descriptor.type) { case OEMCrypto_BufferType_Clear: buffer_descriptor.buffer.clear.address = diff --git a/core/src/initialization_data.cpp b/core/src/initialization_data.cpp index 1c6c1a6e..a8378586 100644 --- a/core/src/initialization_data.cpp +++ b/core/src/initialization_data.cpp @@ -55,7 +55,7 @@ bool InitializationData::ExtractWidevinePssh(const CdmInitData& init_data, // (optional, if version == 1) K * 16 byte key ID. // 4 byte size of PSSH data, exclusive. (N) // N byte PSSH data. - while (1) { + while (!reader.IsEOF()) { size_t start_pos = reader.pos(); // atom size, used for skipping. @@ -128,6 +128,7 @@ bool InitializationData::ExtractWidevinePssh(const CdmInitData& init_data, "the atom."); return false; } + LOGV("CdmEngine::ExtractWidevinePssh: Skipping non-Widevine PSSH."); continue; } diff --git a/core/src/license.cpp b/core/src/license.cpp index aeec96d8..a2a5d297 100644 --- a/core/src/license.cpp +++ b/core/src/license.cpp @@ -327,6 +327,11 @@ CdmResponseType CdmLicense::PrepareKeyUpdateRequest( return INVALID_PARAMETERS_LIC_2; } + if (is_renewal && !policy_engine_->CanRenew()) { + LOGE("CdmLicense::PrepareKeyUpdateRequest: license renewal prohibited"); + return LICENSE_RENEWAL_PROHIBITED; + } + LicenseRequest license_request; if (is_renewal) license_request.set_type(LicenseRequest::RENEWAL); diff --git a/core/src/privacy_crypto_apple.cpp b/core/src/privacy_crypto_apple.cpp new file mode 100644 index 00000000..3058d11c --- /dev/null +++ b/core/src/privacy_crypto_apple.cpp @@ -0,0 +1,374 @@ +// Copyright 2015 Google Inc. All Rights Reserved. +// +// Description: +// Privacy crypto implementation for iOS. This fully implements the +// privacy_crypto methods. This assumes this is compiled on a Mac and is +// being compiled for iOS. Requires iOS 2.0 or later. +// +// This is never included in the default builds. If compiling using the gyp +// files, setting privacy_crypto_impl to "apple" with use this file rather +// than the openssl version. + +#include "privacy_crypto.h" + +#include +#include +#include +#include +#include +#include + +#include "string_conversions.h" +#include "log.h" + +#define KEYSTORE_NAME "com.google.widevine.publicKey" + +namespace { + +const int kPssSaltLength = 20; +const int kOaepMinPadding = 2 * CC_SHA1_DIGEST_LENGTH + 1; + +template +struct CFDeleter { + void operator()(T arg) { + CFRelease(arg); + } +}; + +template +using CF = + std::unique_ptr::type, CFDeleter >; + +SecKeyRef ImportPublicKey(const std::string& key) { + std::string peerStr = KEYSTORE_NAME; + CF peerData(CFDataCreate(NULL, + reinterpret_cast(peerStr.c_str()), peerStr.length())); + CF keyData(CFDataCreate(NULL, + reinterpret_cast(key.c_str()), key.length())); + + // Create a selector and delete all old keys. + CF deleteAttributes(CFDictionaryCreateMutable( + NULL, 0, NULL, NULL)); + CFDictionarySetValue(deleteAttributes.get(), kSecClass, kSecClassKey); + CFDictionarySetValue(deleteAttributes.get(), kSecAttrKeyType, + kSecAttrKeyTypeRSA); + CFDictionarySetValue(deleteAttributes.get(), kSecAttrApplicationTag, + peerData.get()); + SecItemDelete(deleteAttributes.get()); + + // Create attributes to add to the keystore. + CF addAttributes(CFDictionaryCreateMutable( + NULL, 0, NULL, NULL)); + CFDictionarySetValue(addAttributes.get(), kSecClass, kSecClassKey); + CFDictionarySetValue(addAttributes.get(), kSecAttrKeyType, + kSecAttrKeyTypeRSA); + CFDictionarySetValue(addAttributes.get(), kSecAttrApplicationTag, + peerData.get()); + CFDictionarySetValue(addAttributes.get(), kSecValueData, + keyData.get()); + CFDictionarySetValue(addAttributes.get(), kSecAttrKeyClass, + kSecAttrKeyClassPublic); + CFDictionarySetValue(addAttributes.get(), kSecReturnPersistentRef, + kCFBooleanTrue); + + // Add the key to the keystore. + CFTypeRef temp; + OSStatus status = SecItemAdd(addAttributes.get(), &temp); + CF peer(temp); + if (!peer || (status != noErr && status != errSecDuplicateItem)) { + LOGE("RsaPublicKey::Init: Error adding key to keychain %d", status); + return NULL; + } + + // Create attributes for for the query. + CF queryAttributes(CFDictionaryCreateMutable( + NULL, 0, NULL, NULL)); + CFDictionarySetValue(queryAttributes.get(), kSecClass, kSecClassKey); + CFDictionarySetValue(queryAttributes.get(), kSecAttrApplicationTag, + peerData.get()); + CFDictionarySetValue(queryAttributes.get(), kSecAttrKeyType, + kSecAttrKeyTypeRSA); + CFDictionarySetValue(queryAttributes.get(), kSecAttrKeyClass, + kSecAttrKeyClassPublic); + CFDictionarySetValue(queryAttributes.get(), kSecReturnRef, kCFBooleanTrue); + + // Query the keychain to get the public key ref. + CFTypeRef keyRef = NULL; + status = SecItemCopyMatching(queryAttributes.get(), &keyRef); + if (status != noErr) { + LOGE("RsaPublicKey::Init: Error getting key from keystore %d", status); + return NULL; + } + + return reinterpret_cast(const_cast(keyRef)); +} + +// Apply a custom mask generation function (MGF) using the hash function SHA1, +// this is from OpenSSL. +void ApplyMGF1_SHA1(uint8_t *output, size_t outputLength, + const uint8_t* seed, size_t seedLength) { + size_t outputIndex = 0; + for (int i = 0; outputIndex < outputLength; i++) { + uint8_t extra[4]; + extra[0] = (uint8_t)((i >> 24) & 0xFF); + extra[1] = (uint8_t)((i >> 16) & 0xFF); + extra[2] = (uint8_t)((i >> 8) & 0xFF); + extra[3] = (uint8_t)(i & 0xFF); + + CC_SHA1_CTX ctx; + CC_SHA1_Init(&ctx); + CC_SHA1_Update(&ctx, seed, seedLength); + CC_SHA1_Update(&ctx, extra, 4); + + if (outputIndex + CC_SHA1_DIGEST_LENGTH <= outputLength) { + CC_SHA1_Final(output + outputIndex, &ctx); + } else { + uint8_t temp[CC_SHA1_DIGEST_LENGTH]; + CC_SHA1_Final(temp, &ctx); + memcpy(output + outputIndex, temp, outputLength - outputIndex); + } + outputIndex += CC_SHA1_DIGEST_LENGTH; + } +} + +std::string ApplyOAEPPadding(const std::string& messageStr, size_t rsaSize) { + if (messageStr.length() > rsaSize - kOaepMinPadding ) { + LOGE("RsaPublicKey::Encrypt: message too large to be encrypted (actual %d", + " max allowed %d)", messageStr.size(), + rsaSize - kOaepMinPadding ); + return ""; + } + + // https://tools.ietf.org/html/rfc2437#section-9.1.1.2 + // + // result db + // |------------------------------------------------------------------------| + // |0| seed | pHash |000000000|1| M | + // |------------------------------------------------------------------------| + // | |<-mdLength->|<-mdLength->|<-psLen->| |<-------messageLength---------->| + // |<------------paddingLength------------>| + + std::string ret; + ret.resize(rsaSize); + size_t messageLength = messageStr.length(); + size_t paddingLength = rsaSize - messageLength; + size_t psLen = paddingLength - kOaepMinPadding; + const uint8_t *message = reinterpret_cast(messageStr.data()); + uint8_t *result = reinterpret_cast(&ret[0]); + uint8_t *seed = result + 1; + uint8_t *db = result + CC_SHA1_DIGEST_LENGTH + 1; + + // Initialize db and message + CC_SHA1(NULL, 0, db); // Hash of empty string. + result[rsaSize - messageLength - 1] = 0x1; + memcpy(result + paddingLength, message, messageLength); + + // Initialize seed + if (SecRandomCopyBytes(kSecRandomDefault, CC_SHA1_DIGEST_LENGTH, seed)) { + LOGE("RsaPublicKey::Encrypt: unable to get random data %d", errno); + return ""; + } + + // Create the first mask + std::vector dbmask; + dbmask.resize(rsaSize - CC_SHA1_DIGEST_LENGTH - 1); + ApplyMGF1_SHA1(dbmask.data(), dbmask.size(), seed, CC_SHA1_DIGEST_LENGTH); + for (int i = 0; i < dbmask.size(); i++) { + db[i] ^= dbmask[i]; + } + + // Create the second mask + uint8_t seedmask[CC_SHA1_DIGEST_LENGTH]; + ApplyMGF1_SHA1(seedmask, CC_SHA1_DIGEST_LENGTH, db, dbmask.size()); + for (int i = 0; i < CC_SHA1_DIGEST_LENGTH; i++) { + seed[i] ^= seedmask[i]; + } + + return ret; +} + +bool PSSVerify(const uint8_t *message, size_t messageLength, + const uint8_t *encodedMessage, size_t encodedMessageLength) { + // https://tools.ietf.org/html/rfc3447#section-9.1.2 + // + // M' + // |---------------------------------------------------| + // | 00 00 00 00 00 00 00 00 | mHash | salt | + // |---------------------------------------------------| + // + // H = hash(M') + // dbMask = MGF(H) + // + // db + // |------------------------| + // | 00 00 ... 00 01 | salt | + // |------------------------| + // |<----messageLength----->| + // + // maskedDb = db ^ dbMask + // encodedMessage + // |--------------------------------------------------| + // | maskedDb | H | bc | + // |--------------------------------------------------| + + if (encodedMessage[encodedMessageLength - 1] != 0xbc) { + return false; + } + + const uint8_t *maskedDb = encodedMessage; + size_t dbLength = encodedMessageLength - CC_SHA1_DIGEST_LENGTH - 1; + const uint8_t *H = maskedDb + dbLength; + + // Decode db + std::vector dbMask; + dbMask.resize(dbLength); + ApplyMGF1_SHA1(dbMask.data(), dbMask.size(), H, CC_SHA1_DIGEST_LENGTH); + for (int i = 0; i < dbLength; i++) { + dbMask[i] ^= maskedDb[i]; + } + + // Verify db + for (int i = 0; i < dbLength - kPssSaltLength - 1; i++) { + if (dbMask[i] != 0) { + return false; + } + } + if (dbMask[dbLength - kPssSaltLength - 1] != 0x01) { + return false; + } + + uint8_t *salt = dbMask.data() + (dbLength - kPssSaltLength); + uint8_t mHash[CC_SHA1_DIGEST_LENGTH]; + CC_SHA1(message, messageLength, mHash); + + // Create our version of the message data (M') + std::vector dataVec; + dataVec.resize(8 + CC_SHA1_DIGEST_LENGTH + kPssSaltLength); + uint8_t *data = dataVec.data(); + memcpy(data + 8, mHash, CC_SHA1_DIGEST_LENGTH); + memcpy(data + 8 + CC_SHA1_DIGEST_LENGTH, salt, kPssSaltLength); + + // Verify the hash of the message data. + uint8_t H2[CC_SHA1_DIGEST_LENGTH]; + CC_SHA1(data, dataVec.size(), H2); + return !memcmp(H, H2, CC_SHA1_DIGEST_LENGTH); +} + +} // namespace + +namespace wvcdm { + +AesCbcKey::AesCbcKey() {} + +AesCbcKey::~AesCbcKey() {} + +bool AesCbcKey::Init(const std::string& key) { + assert(key.size() == kCCBlockSizeAES128); + this->key_ = key; + return true; +} + +bool AesCbcKey::Encrypt(const std::string& in, std::string* out, + std::string* iv) { + assert(!in.empty()); + assert(iv != NULL); + assert(iv->size() == kCCBlockSizeAES128); + assert(out != NULL); + assert(!key_.empty()); + + std::string temp; + temp.resize(in.length() + kCCBlockSizeAES128); + size_t length; + CCCryptorStatus result = CCCrypt(kCCEncrypt, kCCAlgorithmAES128, + kCCOptionPKCS7Padding, key_.c_str(), key_.length(), iv->c_str(), + in.c_str(), in.length(), &temp[0], temp.size(), &length); + + if (result != kCCSuccess) { + LOGE("AesCbcKey::Encrypt: Encryption failure: %d", result); + return false; + } + + out->assign(temp, 0, length); + return true; +} + +RsaPublicKey::RsaPublicKey() {} + +RsaPublicKey::~RsaPublicKey() {} + +bool RsaPublicKey::Init(const std::string& serialized_key) { + assert(!serialized_key.empty()); + + this->serialized_key_ = serialized_key; + return true; +} + +bool RsaPublicKey::Encrypt(const std::string& clear_message, + std::string* encrypted_message) { + assert(!clear_message.empty()); + assert(encrypted_message != NULL); + + SecKeyRef key = ImportPublicKey(serialized_key_); + if (!key) { + return false; + } + + size_t rsaSize = SecKeyGetBlockSize(key); + std::string paddedMessage = ApplyOAEPPadding(clear_message, rsaSize); + if (paddedMessage.empty()) { + return false; + } + + size_t size = paddedMessage.length(); + std::string buffer; + buffer.resize(size); + OSStatus status = SecKeyEncrypt(key, kSecPaddingNone, + reinterpret_cast(paddedMessage.c_str()), + paddedMessage.length(), + reinterpret_cast(&buffer[0]), &size); + if (status != errSecSuccess) { + LOGE("RsaPublicKey::Encrypt: Unable to encrypt data %d", status); + return false; + } + + encrypted_message->assign(buffer, 0, size); + return true; +} + +bool RsaPublicKey::VerifySignature(const std::string& message, + const std::string& signature) { + assert(!message.empty()); + assert(!signature.empty()); + + SecKeyRef key = ImportPublicKey(serialized_key_); + if (!key) { + return false; + } + + // "decrypt" the signature + std::vector buffer; + buffer.resize(signature.length()); + size_t size = buffer.size(); + OSStatus status = SecKeyEncrypt(key, kSecPaddingNone, + reinterpret_cast(signature.c_str()), + signature.length(), + buffer.data(), &size); + if (status != errSecSuccess) { + LOGE("RsaPublicKey::VerifySignature: Unable to decrypt signature %d", + status); + return false; + } + + // Verify the signature + if (!PSSVerify(reinterpret_cast(message.c_str()), + message.length(), + buffer.data(), buffer.size())) { + LOGE("RsaPublicKey::VerifySignature: Unable to verify signature %d", + status); + return false; + } + + return true; +} + +} // namespace wvcdm diff --git a/core/test/cdm_session_unittest.cpp b/core/test/cdm_session_unittest.cpp index 785cb0d6..682be2a4 100644 --- a/core/test/cdm_session_unittest.cpp +++ b/core/test/cdm_session_unittest.cpp @@ -230,7 +230,6 @@ TEST_F(CdmSessionTest, ReInitFail) { } TEST_F(CdmSessionTest, InitFailCryptoError) { - CdmSecurityLevel level = kSecurityLevelL1; EXPECT_CALL(*crypto_session_, Open(Eq(kLevelDefault))) .WillOnce(Return(UNKNOWN_ERROR)); diff --git a/core/test/config_test_env.cpp b/core/test/config_test_env.cpp index 171eaf8a..4af0b2f1 100644 --- a/core/test/config_test_env.cpp +++ b/core/test/config_test_env.cpp @@ -146,7 +146,7 @@ ConfigTestEnv::ConfigTestEnv(LicenseServerId server_id, bool streaming, if (!streaming) { key_id_ = license_servers[server_id].offline_key_id; - if (wvcdm::kGooglePlayServer == server_id) { + if (kGooglePlayServer == server_id) { if (renew) { client_auth_.append(kGpClientOfflineRenewalQueryParameters); } else if (release) { diff --git a/core/test/config_test_env.h b/core/test/config_test_env.h index d26e0ea3..6e02425a 100644 --- a/core/test/config_test_env.h +++ b/core/test/config_test_env.h @@ -29,7 +29,7 @@ class ConfigTestEnv { ConfigTestEnv(LicenseServerId server_id, bool streaming); ConfigTestEnv(LicenseServerId server_id, bool streaming, bool renew, bool release); - ~ConfigTestEnv(){}; + ~ConfigTestEnv() {}; const std::string& client_auth() const { return client_auth_; } const KeyId& key_id() const { return key_id_; } diff --git a/core/test/device_files_unittest.cpp b/core/test/device_files_unittest.cpp index a6187bfd..4c757932 100644 --- a/core/test/device_files_unittest.cpp +++ b/core/test/device_files_unittest.cpp @@ -1469,7 +1469,6 @@ class DeviceFilesTest : public ::testing::Test { CdmAppParameterMap app_parameters; size_t start_pos = 0; size_t len = str.length(); - bool more = true; while (start_pos < len) { size_t name_end_pos = str.find(' ', start_pos); if (name_end_pos == std::string::npos) return app_parameters; @@ -1841,7 +1840,6 @@ TEST_F(DeviceFilesTest, RetrieveLicenses) { DeviceFiles device_files; EXPECT_TRUE(device_files.Init(kSecurityLevelL1)); device_files.SetTestFile(&file); - DeviceFiles::LicenseState license_state; CdmInitData pssh_data; CdmKeyMessage key_request; CdmKeyResponse key_response; diff --git a/core/test/http_socket.cpp b/core/test/http_socket.cpp index f06ef484..2a8eb7e6 100644 --- a/core/test/http_socket.cpp +++ b/core/test/http_socket.cpp @@ -47,6 +47,7 @@ SSL_CTX* InitSslContext() { return ctx; } +#if 0 // unused, may be useful for debugging SSL-related issues. void ShowServerCertificate(const SSL* ssl) { // gets the server certificate @@ -64,6 +65,7 @@ void ShowServerCertificate(const SSL* ssl) { LOGE("Failed to get server certificate"); } } +#endif // Wait for a socket to be ready for reading or writing. // Establishing a connection counts as "ready for write". diff --git a/core/test/license_unittest.cpp b/core/test/license_unittest.cpp index ababf2a5..11f88504 100644 --- a/core/test/license_unittest.cpp +++ b/core/test/license_unittest.cpp @@ -16,7 +16,6 @@ namespace wvcdm { namespace { -const uint32_t kAesBlockSize = 16; const std::string kAesKey = a2bs_hex("000102030405060708090a0b0c0d0e0f"); const std::string kAesIv = a2bs_hex("000102030405060708090a0b0c0d0e0f"); const std::string kCencInitDataHdr = a2bs_hex( diff --git a/core/test/test_printers.cpp b/core/test/test_printers.cpp index c4c2fc7b..d77d984a 100644 --- a/core/test/test_printers.cpp +++ b/core/test/test_printers.cpp @@ -338,6 +338,8 @@ void PrintTo(const enum CdmResponseType& value, ::std::ostream* os) { case EMPTY_LICENSE_REQUEST: *os << "EMPTY_LICENSE_REQUEST"; break; case DUPLICATE_SESSION_ID_SPECIFIED: *os << "DUPLICATE_SESSION_ID_SPECIFIED"; + case LICENSE_RENEWAL_PROHIBITED: *os << "LICENSE_RENEWAL_PROHIBITED"; + break; default: *os << "Unknown CdmResponseType"; break; diff --git a/install_third_party.sh b/install_third_party.sh deleted file mode 100755 index a716ade7..00000000 --- a/install_third_party.sh +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/bash - -ROOT=$(dirname "$0") -if [ ! -e "$ROOT"/third_party ]; then - # Potentially run from a different folder before packaging. - ROOT=$(dirname "$ROOT") -fi - -if [ ! -e "$ROOT"/third_party ]; then - echo "Unable to find third_party sources!" 1>&2 - exit 1 -fi - -ROOT=$(realpath "$ROOT") -TMP=$(mktemp -d) -trap "rm -rf $TMP" EXIT - -set -x -set -e - -cd $TMP - -# Check out and install gyp locally -svn checkout https://gyp.googlecode.com/svn/trunk/ gyp -r1846 -rm -rf "$ROOT"/third_party/gyp -mv gyp/pylib/gyp "$ROOT"/third_party/ - -# Check out and install stringencoders locally -wget https://stringencoders.googlecode.com/files/stringencoders-v3.10.3.tar.gz -tar xzf stringencoders-v3.10.3.tar.gz -( - cd stringencoders-v3.10.3 - ./configure --with-b64wchars='-_=' - make modp_b64w_data.h - make src/modp_b64w.c - mkdir -p "$ROOT"/third_party/stringencoders/src - cp src/modp_b64w.c "$ROOT"/third_party/stringencoders/src/modp_b64w.cpp - cp src/modp_b64w.h modp_b64w_data.h "$ROOT"/third_party/stringencoders/src/ - >"$ROOT"/third_party/stringencoders/src/config.h -) - -# Check out and install gmock locally -wget https://googlemock.googlecode.com/files/gmock-1.7.0.zip -unzip gmock-1.7.0.zip -rm -rf "$ROOT"/third_party/gmock -mv gmock-1.7.0 "$ROOT"/third_party/gmock - -# Check out and install protobuf locally -wget https://protobuf.googlecode.com/files/protobuf-2.5.0.tar.gz -tar xzf protobuf-2.5.0.tar.gz -(cd protobuf-2.5.0 && ./configure) -rm -rf "$ROOT"/third_party/protobuf -mv protobuf-2.5.0 "$ROOT"/third_party/protobuf diff --git a/oemcrypto/include/OEMCryptoCENC.h b/oemcrypto/include/OEMCryptoCENC.h index b92797dc..1dd964b6 100644 --- a/oemcrypto/include/OEMCryptoCENC.h +++ b/oemcrypto/include/OEMCryptoCENC.h @@ -243,7 +243,7 @@ typedef enum OEMCrypto_HDCP_Capability { HDCP_V1 = 1, // HDCP version 1.0 HDCP_V2 = 2, // HDCP version 2.0 HDCP_V2_1 = 3, // HDCP version 2.1 - HDCP_V2_2 = 4, // HDCP version 2.2 + HDCP_V2_2 = 4, // HDCP version 2.2 Type 1. HDCP_NO_DIGITAL_OUTPUT = 0xff // No digital output. } OEMCrypto_HDCP_Capability; diff --git a/oemcrypto/test/oemcrypto_test.cpp b/oemcrypto/test/oemcrypto_test.cpp index 934966b6..2c649c50 100644 --- a/oemcrypto/test/oemcrypto_test.cpp +++ b/oemcrypto/test/oemcrypto_test.cpp @@ -72,9 +72,9 @@ typedef struct { // Note: The API does not specify a maximum key id length. We specify a // maximum just for these tests, so that we have a fixed message size. -const size_t kTestKeyIdMaxLength = 48; -// Most content will use a key id that is 12 bytes long. -const int kDefaultKeyIdLength = 12; +const size_t kTestKeyIdMaxLength = 16; +// Most content will use a key id that is 16 bytes long. +const int kDefaultKeyIdLength = 16; typedef struct { uint8_t key_id[kTestKeyIdMaxLength]; size_t key_id_length; @@ -101,11 +101,6 @@ struct RSAPrivateKeyMessage { uint32_t nonce; }; -struct PaddedPSTReport { - OEMCrypto_PST_Report report; - uint8_t padding[256]; -}; - // These are test keyboxes. They will not be accepted by production systems. // By using known keyboxes for these tests, the results for a given set of // inputs to a test are predictable and can be compared to the actual results. @@ -364,239 +359,6 @@ static const uint8_t kTestRSAPKCS8PrivateKeyInfo2_2048[] = { 0x72, 0x2c, 0xf7, 0xc1, 0x22, 0x36, 0xd9, 0x18, 0x56, 0xfe, 0x39, 0x28, 0x33, 0xe0, 0xdb, 0x03 }; -// A 2048 bit RSA Public key -// Used to verify the functions that manipulate RSA keys. -static const uint8_t kTestRSAPublicKey2_2048[] = { - 0x30, 0x82, 0x01, 0x0a, 0x02, 0x82, 0x01, 0x01, - 0x00, 0xa7, 0x00, 0x36, 0x60, 0x65, 0xdc, 0xbd, - 0x54, 0x5a, 0x2a, 0x40, 0xb4, 0xe1, 0x15, 0x94, - 0x58, 0x11, 0x4f, 0x94, 0x58, 0xdd, 0xde, 0xa7, - 0x1f, 0x3c, 0x2c, 0xe0, 0x88, 0x09, 0x29, 0x61, - 0x57, 0x67, 0x5e, 0x56, 0x7e, 0xee, 0x27, 0x8f, - 0x59, 0x34, 0x9a, 0x2a, 0xaa, 0x9d, 0xb4, 0x4e, - 0xfa, 0xa7, 0x6a, 0xd4, 0xc9, 0x7a, 0x53, 0xc1, - 0x4e, 0x9f, 0xe3, 0x34, 0xf7, 0x3d, 0xb7, 0xc9, - 0x10, 0x47, 0x4f, 0x28, 0xda, 0x3f, 0xce, 0x31, - 0x7b, 0xfd, 0x06, 0x10, 0xeb, 0xf7, 0xbe, 0x92, - 0xf9, 0xaf, 0xfb, 0x3e, 0x68, 0xda, 0xee, 0x1a, - 0x64, 0x4c, 0xf3, 0x29, 0xf2, 0x73, 0x9e, 0x39, - 0xd8, 0xf6, 0x6f, 0xd8, 0xb2, 0x80, 0x82, 0x71, - 0x8e, 0xb5, 0xa4, 0xf2, 0xc2, 0x3e, 0xcd, 0x0a, - 0xca, 0xb6, 0x04, 0xcd, 0x9a, 0x13, 0x8b, 0x54, - 0x73, 0x54, 0x25, 0x54, 0x8c, 0xbe, 0x98, 0x7a, - 0x67, 0xad, 0xda, 0xb3, 0x4e, 0xb3, 0xfa, 0x82, - 0xa8, 0x4a, 0x67, 0x98, 0x56, 0x57, 0x54, 0x71, - 0xcd, 0x12, 0x7f, 0xed, 0xa3, 0x01, 0xc0, 0x6a, - 0x8b, 0x24, 0x03, 0x96, 0x88, 0xbe, 0x97, 0x66, - 0x2a, 0xbc, 0x53, 0xc9, 0x83, 0x06, 0x51, 0x5a, - 0x88, 0x65, 0x13, 0x18, 0xe4, 0x3a, 0xed, 0x6b, - 0xf1, 0x61, 0x5b, 0x4c, 0xc8, 0x1e, 0xf4, 0xc2, - 0xae, 0x08, 0x5e, 0x2d, 0x5f, 0xf8, 0x12, 0x7f, - 0xa2, 0xfc, 0xbb, 0x21, 0x18, 0x30, 0xda, 0xfe, - 0x40, 0xfb, 0x01, 0xca, 0x2e, 0x37, 0x0e, 0xce, - 0xdd, 0x76, 0x87, 0x82, 0x46, 0x0b, 0x3a, 0x77, - 0x8f, 0xc0, 0x72, 0x07, 0x2c, 0x7f, 0x9d, 0x1e, - 0x86, 0x5b, 0xed, 0x27, 0x29, 0xdf, 0x03, 0x97, - 0x62, 0xef, 0x44, 0xd3, 0x5b, 0x3d, 0xdb, 0x9c, - 0x5e, 0x1b, 0x7b, 0x39, 0xb4, 0x0b, 0x6d, 0x04, - 0x6b, 0xbb, 0xbb, 0x2c, 0x5f, 0xcf, 0xb3, 0x7a, - 0x05, 0x02, 0x03, 0x01, 0x00, 0x01 }; - -// A second 2048 bit RSA key in PKCS#8 PrivateKeyInfo format -// Used to verify the functions that manipulate RSA keys. -static const uint8_t kTestRSAPKCS8PrivateKeyInfo3_2048[] = { - 0x30, 0x82, 0x04, 0xbe, 0x02, 0x01, 0x00, 0x30, - 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, - 0x0d, 0x01, 0x01, 0x01, 0x05, 0x00, 0x04, 0x82, - 0x04, 0xa8, 0x30, 0x82, 0x04, 0xa4, 0x02, 0x01, - 0x00, 0x02, 0x82, 0x01, 0x01, 0x00, 0xa5, 0xd0, - 0xd7, 0x3e, 0x0e, 0x2d, 0xfb, 0x43, 0x51, 0x99, - 0xea, 0x40, 0x1e, 0x2d, 0x89, 0xe4, 0xa2, 0x3e, - 0xfc, 0x51, 0x3d, 0x0e, 0x83, 0xa7, 0xe0, 0xa5, - 0x41, 0x04, 0x1e, 0x14, 0xc5, 0xa7, 0x5c, 0x61, - 0x36, 0x44, 0xb3, 0x08, 0x05, 0x5b, 0x14, 0xde, - 0x01, 0x0c, 0x32, 0x3c, 0x9a, 0x91, 0x00, 0x50, - 0xa8, 0x1d, 0xcc, 0x9f, 0x8f, 0x35, 0xb7, 0xc2, - 0x75, 0x08, 0x32, 0x8b, 0x10, 0x3a, 0x86, 0xf9, - 0xd7, 0x78, 0xa3, 0x9d, 0x74, 0x10, 0xc6, 0x24, - 0xb1, 0x7f, 0xa5, 0xbf, 0x5f, 0xc2, 0xd7, 0x15, - 0xa3, 0x1d, 0xe0, 0x15, 0x6b, 0x1b, 0x0e, 0x38, - 0xba, 0x34, 0xbc, 0x95, 0x47, 0x94, 0x40, 0x70, - 0xac, 0x99, 0x1f, 0x0b, 0x8e, 0x56, 0x93, 0x36, - 0x2b, 0x6d, 0x04, 0xe7, 0x95, 0x1a, 0x37, 0xda, - 0x16, 0x57, 0x99, 0xee, 0x03, 0x68, 0x16, 0x31, - 0xaa, 0xc3, 0xb7, 0x92, 0x75, 0x53, 0xfc, 0xf6, - 0x20, 0x55, 0x44, 0xf8, 0xd4, 0x8d, 0x78, 0x15, - 0xc7, 0x1a, 0xb6, 0xde, 0x6c, 0xe8, 0x49, 0x5d, - 0xaf, 0xa8, 0x4e, 0x6f, 0x7c, 0xe2, 0x6a, 0x4c, - 0xd5, 0xe7, 0x8c, 0x8f, 0x0b, 0x5d, 0x3a, 0x09, - 0xd6, 0xb3, 0x44, 0xab, 0xe0, 0x35, 0x52, 0x7c, - 0x66, 0x85, 0xa4, 0x40, 0xd7, 0x20, 0xec, 0x24, - 0x05, 0x06, 0xd9, 0x84, 0x51, 0x5a, 0xd2, 0x38, - 0xd5, 0x1d, 0xea, 0x70, 0x2a, 0x21, 0xe6, 0x82, - 0xfd, 0xa4, 0x46, 0x1c, 0x4f, 0x59, 0x6e, 0x29, - 0x3d, 0xae, 0xb8, 0x8e, 0xee, 0x77, 0x1f, 0x15, - 0x33, 0xcf, 0x94, 0x1d, 0x87, 0x3c, 0x37, 0xc5, - 0x89, 0xe8, 0x7d, 0x85, 0xb3, 0xbc, 0xe8, 0x62, - 0x6a, 0x84, 0x7f, 0xfe, 0x9a, 0x85, 0x3f, 0x39, - 0xe8, 0xaa, 0x16, 0xa6, 0x8f, 0x87, 0x7f, 0xcb, - 0xc1, 0xd6, 0xf2, 0xec, 0x2b, 0xa7, 0xdd, 0x49, - 0x98, 0x7b, 0x6f, 0xdd, 0x69, 0x6d, 0x02, 0x03, - 0x01, 0x00, 0x01, 0x02, 0x82, 0x01, 0x00, 0x43, - 0x8f, 0x19, 0x83, 0xb1, 0x27, 0x4e, 0xee, 0x98, - 0xba, 0xcb, 0x54, 0xa0, 0x77, 0x11, 0x6d, 0xd4, - 0x25, 0x31, 0x8c, 0xb0, 0x01, 0xcf, 0xe6, 0x80, - 0x83, 0x14, 0x40, 0x67, 0x39, 0x33, 0x67, 0x03, - 0x1e, 0xa0, 0x8b, 0xd1, 0x1d, 0xfd, 0x80, 0xa4, - 0xb9, 0xe7, 0x57, 0x5e, 0xc8, 0x8e, 0x79, 0x71, - 0xd5, 0x6b, 0x09, 0xe9, 0x2b, 0x41, 0xa0, 0x33, - 0x64, 0xc9, 0x66, 0x33, 0xa1, 0xb1, 0x55, 0x07, - 0x55, 0x98, 0x53, 0x10, 0xe6, 0xc0, 0x39, 0x6d, - 0x61, 0xd9, 0xe8, 0x16, 0x52, 0x28, 0xe4, 0x2b, - 0xda, 0x27, 0x01, 0xaf, 0x21, 0x4a, 0xe8, 0x55, - 0x1d, 0x0b, 0xd1, 0x1c, 0xdc, 0xfd, 0xb3, 0x0b, - 0xa6, 0x5c, 0xcc, 0x6e, 0x77, 0xb8, 0xe0, 0xd1, - 0x4e, 0x0a, 0xd7, 0x7a, 0x5e, 0x18, 0xc3, 0xfb, - 0xe9, 0xa1, 0x9c, 0xc3, 0x9c, 0xd4, 0x4a, 0x7e, - 0x70, 0x72, 0x11, 0x18, 0x24, 0x56, 0x24, 0xdf, - 0xf8, 0xba, 0xac, 0x5b, 0x54, 0xd3, 0xc4, 0x65, - 0x69, 0xc8, 0x79, 0x94, 0x16, 0x88, 0x9a, 0x68, - 0x1c, 0xbc, 0xd4, 0xca, 0xec, 0x5e, 0x07, 0x4a, - 0xc9, 0x54, 0x7a, 0x4b, 0xdb, 0x19, 0x88, 0xf6, - 0xbe, 0x50, 0x9d, 0x9e, 0x9d, 0x88, 0x5b, 0x4a, - 0x23, 0x86, 0x2b, 0xa9, 0xa6, 0x6c, 0x70, 0x7d, - 0xe1, 0x11, 0xba, 0xbf, 0x03, 0x2e, 0xf1, 0x46, - 0x7e, 0x1b, 0xed, 0x06, 0x11, 0x57, 0xad, 0x4a, - 0xcb, 0xe5, 0xb1, 0x11, 0x05, 0x0a, 0x30, 0xb1, - 0x73, 0x79, 0xcd, 0x7a, 0x04, 0xcc, 0x70, 0xe9, - 0x95, 0xe4, 0x27, 0xc2, 0xd5, 0x2d, 0x92, 0x44, - 0xdf, 0xb4, 0x94, 0xa8, 0x73, 0xa1, 0x4a, 0xc3, - 0xcc, 0xc4, 0x0e, 0x8d, 0xa1, 0x6a, 0xc2, 0xd8, - 0x03, 0x7f, 0xfa, 0xa7, 0x76, 0x0d, 0xad, 0x87, - 0x88, 0xa0, 0x77, 0xaf, 0x3b, 0x23, 0xd1, 0x66, - 0x0b, 0x31, 0x2b, 0xaf, 0xef, 0xd5, 0x41, 0x02, - 0x81, 0x81, 0x00, 0xdb, 0xc1, 0xe7, 0xdd, 0xba, - 0x3c, 0x1f, 0x9c, 0x64, 0xca, 0xa0, 0x63, 0xdb, - 0xd2, 0x47, 0x5c, 0x6e, 0x8a, 0xa3, 0x16, 0xd5, - 0xda, 0xc2, 0x25, 0x64, 0x0a, 0x02, 0xbc, 0x7d, - 0x7f, 0x50, 0xab, 0xe0, 0x66, 0x03, 0x53, 0x7d, - 0x77, 0x6d, 0x6c, 0x61, 0x58, 0x09, 0x73, 0xcd, - 0x18, 0xe9, 0x53, 0x0b, 0x5c, 0xa2, 0x71, 0x14, - 0x02, 0xfd, 0x55, 0xda, 0xe9, 0x77, 0x24, 0x7c, - 0x2a, 0x4e, 0xb9, 0xd9, 0x5d, 0x58, 0xf6, 0x26, - 0xd0, 0xd8, 0x3d, 0xcf, 0x8c, 0x89, 0x65, 0x6c, - 0x35, 0x19, 0xb6, 0x63, 0xff, 0xa0, 0x71, 0x49, - 0xcd, 0x6d, 0x5b, 0x3d, 0x8f, 0xea, 0x6f, 0xa9, - 0xba, 0x43, 0xe5, 0xdd, 0x39, 0x3a, 0x78, 0x8f, - 0x07, 0xb8, 0xab, 0x58, 0x07, 0xb7, 0xd2, 0xf8, - 0x07, 0x02, 0x9b, 0x79, 0x26, 0x32, 0x22, 0x38, - 0x91, 0x01, 0x90, 0x81, 0x29, 0x94, 0xad, 0x77, - 0xeb, 0x86, 0xb9, 0x02, 0x81, 0x81, 0x00, 0xc1, - 0x29, 0x88, 0xbd, 0x96, 0x31, 0x33, 0x7b, 0x77, - 0x5d, 0x32, 0x12, 0x5e, 0xdf, 0x28, 0x0c, 0x96, - 0x0d, 0xa8, 0x22, 0xdf, 0xd3, 0x35, 0xd7, 0xb0, - 0x41, 0xcb, 0xe7, 0x94, 0x8a, 0xa4, 0xed, 0xd2, - 0xfb, 0xd2, 0xf3, 0xf2, 0x95, 0xff, 0xd8, 0x33, - 0x3f, 0x8c, 0xd7, 0x65, 0xe4, 0x0c, 0xcc, 0xfe, - 0x32, 0x66, 0xfa, 0x50, 0xe2, 0xcf, 0xf0, 0xbe, - 0x05, 0xb1, 0xbc, 0xbe, 0x44, 0x09, 0xb4, 0xfe, - 0x95, 0x06, 0x18, 0xd7, 0x59, 0xc6, 0xef, 0x2d, - 0x22, 0xa0, 0x73, 0x5e, 0x77, 0xdf, 0x8d, 0x09, - 0x2c, 0xb8, 0xcc, 0xeb, 0x10, 0x4d, 0xa7, 0xd0, - 0x4b, 0x46, 0xba, 0x7d, 0x8b, 0x6a, 0x55, 0x47, - 0x55, 0xd3, 0xd7, 0xb1, 0x88, 0xfd, 0x27, 0x3e, - 0xf9, 0x5b, 0x7b, 0xae, 0x6d, 0x08, 0x9f, 0x0c, - 0x2a, 0xe1, 0xdd, 0xb9, 0xe3, 0x55, 0x13, 0x55, - 0xa3, 0x6d, 0x06, 0xbb, 0xe0, 0x1e, 0x55, 0x02, - 0x81, 0x80, 0x61, 0x73, 0x3d, 0x64, 0xff, 0xdf, - 0x05, 0x8d, 0x8e, 0xcc, 0xa4, 0x0f, 0x64, 0x3d, - 0x7d, 0x53, 0xa9, 0xd9, 0x64, 0xb5, 0x0d, 0xa4, - 0x72, 0x8f, 0xae, 0x2b, 0x1a, 0x47, 0x87, 0xc7, - 0x5b, 0x78, 0xbc, 0x8b, 0xc0, 0x51, 0xd7, 0xc3, - 0x8c, 0x0c, 0x91, 0xa6, 0x3e, 0x9a, 0xd1, 0x8a, - 0x88, 0x7d, 0x40, 0xfe, 0x95, 0x32, 0x5b, 0xd3, - 0x6f, 0x90, 0x11, 0x01, 0x92, 0xc9, 0xe5, 0x1d, - 0xc5, 0xc7, 0x78, 0x72, 0x82, 0xae, 0xb5, 0x4b, - 0xcb, 0x78, 0xad, 0x7e, 0xfe, 0xb6, 0xb1, 0x23, - 0x63, 0x01, 0x94, 0x9a, 0x99, 0x05, 0x63, 0xda, - 0xea, 0xf1, 0x98, 0xfd, 0x26, 0xd2, 0xd9, 0x8b, - 0x35, 0xec, 0xcb, 0x0b, 0x43, 0xb8, 0x8e, 0x84, - 0xb8, 0x09, 0x93, 0x81, 0xe8, 0xac, 0x6f, 0x3c, - 0x7c, 0x95, 0x81, 0x45, 0xc4, 0xd9, 0x94, 0x08, - 0x09, 0x8f, 0x91, 0x17, 0x65, 0x4c, 0xff, 0x6e, - 0xbc, 0x51, 0x02, 0x81, 0x81, 0x00, 0xc1, 0x0d, - 0x9d, 0xd8, 0xbd, 0xaf, 0x56, 0xe0, 0xe3, 0x1f, - 0x85, 0xd7, 0xce, 0x72, 0x02, 0x38, 0xf2, 0x0f, - 0x9c, 0x27, 0x9e, 0xc4, 0x1d, 0x60, 0x00, 0x8d, - 0x02, 0x19, 0xe5, 0xdf, 0xdb, 0x8e, 0xc5, 0xfb, - 0x61, 0x8e, 0xe6, 0xb8, 0xfc, 0x07, 0x3c, 0xd1, - 0x1b, 0x16, 0x7c, 0x83, 0x3c, 0x37, 0xf5, 0x26, - 0xb2, 0xbd, 0x22, 0xf2, 0x4d, 0x19, 0x33, 0x11, - 0xc5, 0xdd, 0xf9, 0xdb, 0x4e, 0x48, 0x52, 0xd8, - 0xe6, 0x4b, 0x15, 0x90, 0x68, 0xbe, 0xca, 0xc1, - 0x7c, 0xd3, 0x51, 0x6b, 0x45, 0x46, 0x54, 0x11, - 0x1a, 0x71, 0xd3, 0xcd, 0x6b, 0x8f, 0x79, 0x22, - 0x83, 0x02, 0x08, 0x4f, 0xba, 0x6a, 0x98, 0xed, - 0x32, 0xd8, 0xb4, 0x5b, 0x51, 0x88, 0x53, 0xec, - 0x2c, 0x7e, 0xa4, 0x89, 0xdc, 0xbf, 0xf9, 0x0d, - 0x32, 0xc8, 0xc3, 0xec, 0x6d, 0x2e, 0xf1, 0xbc, - 0x70, 0x4e, 0xf6, 0x9e, 0xbc, 0x31, 0x02, 0x81, - 0x81, 0x00, 0xd3, 0x35, 0x1b, 0x19, 0x75, 0x3f, - 0x61, 0xf2, 0x55, 0x03, 0xce, 0x25, 0xa9, 0xdf, - 0x0c, 0x0a, 0x3b, 0x47, 0x42, 0xdc, 0x38, 0x4b, - 0x13, 0x4d, 0x1f, 0x86, 0x58, 0x4f, 0xd8, 0xee, - 0xfa, 0x76, 0x15, 0xfb, 0x6e, 0x55, 0x31, 0xf2, - 0xd2, 0x62, 0x32, 0xa5, 0xc4, 0x23, 0x5e, 0x08, - 0xa9, 0x83, 0x07, 0xac, 0x8c, 0xa3, 0x7e, 0x18, - 0xc0, 0x1c, 0x57, 0x63, 0x8d, 0x05, 0x17, 0x47, - 0x1b, 0xd3, 0x74, 0x73, 0x20, 0x04, 0xfb, 0xc8, - 0x1a, 0x43, 0x04, 0x36, 0xc8, 0x19, 0xbe, 0xdc, - 0xa6, 0xe5, 0x0f, 0x25, 0x62, 0x24, 0x96, 0x92, - 0xb6, 0xb3, 0x97, 0xad, 0x57, 0x9a, 0x90, 0x37, - 0x4e, 0x31, 0x44, 0x74, 0xfa, 0x7c, 0xb4, 0xea, - 0xfc, 0x15, 0xa7, 0xb0, 0x51, 0xcc, 0xee, 0x1e, - 0xed, 0x5b, 0x98, 0x18, 0x0e, 0x65, 0xb6, 0x4b, - 0x69, 0x0b, 0x21, 0xdc, 0x86, 0x17, 0x6e, 0xc8, - 0xee, 0x24 }; - -// A second 2048 bit RSA Public key -// Used to verify the functions that manipulate RSA keys. -static const uint8_t kTestRSAPublicKey3_2048[] = { - 0x30, 0x82, 0x01, 0x0a, 0x02, 0x82, 0x01, 0x01, - 0x00, 0xa5, 0xd0, 0xd7, 0x3e, 0x0e, 0x2d, 0xfb, - 0x43, 0x51, 0x99, 0xea, 0x40, 0x1e, 0x2d, 0x89, - 0xe4, 0xa2, 0x3e, 0xfc, 0x51, 0x3d, 0x0e, 0x83, - 0xa7, 0xe0, 0xa5, 0x41, 0x04, 0x1e, 0x14, 0xc5, - 0xa7, 0x5c, 0x61, 0x36, 0x44, 0xb3, 0x08, 0x05, - 0x5b, 0x14, 0xde, 0x01, 0x0c, 0x32, 0x3c, 0x9a, - 0x91, 0x00, 0x50, 0xa8, 0x1d, 0xcc, 0x9f, 0x8f, - 0x35, 0xb7, 0xc2, 0x75, 0x08, 0x32, 0x8b, 0x10, - 0x3a, 0x86, 0xf9, 0xd7, 0x78, 0xa3, 0x9d, 0x74, - 0x10, 0xc6, 0x24, 0xb1, 0x7f, 0xa5, 0xbf, 0x5f, - 0xc2, 0xd7, 0x15, 0xa3, 0x1d, 0xe0, 0x15, 0x6b, - 0x1b, 0x0e, 0x38, 0xba, 0x34, 0xbc, 0x95, 0x47, - 0x94, 0x40, 0x70, 0xac, 0x99, 0x1f, 0x0b, 0x8e, - 0x56, 0x93, 0x36, 0x2b, 0x6d, 0x04, 0xe7, 0x95, - 0x1a, 0x37, 0xda, 0x16, 0x57, 0x99, 0xee, 0x03, - 0x68, 0x16, 0x31, 0xaa, 0xc3, 0xb7, 0x92, 0x75, - 0x53, 0xfc, 0xf6, 0x20, 0x55, 0x44, 0xf8, 0xd4, - 0x8d, 0x78, 0x15, 0xc7, 0x1a, 0xb6, 0xde, 0x6c, - 0xe8, 0x49, 0x5d, 0xaf, 0xa8, 0x4e, 0x6f, 0x7c, - 0xe2, 0x6a, 0x4c, 0xd5, 0xe7, 0x8c, 0x8f, 0x0b, - 0x5d, 0x3a, 0x09, 0xd6, 0xb3, 0x44, 0xab, 0xe0, - 0x35, 0x52, 0x7c, 0x66, 0x85, 0xa4, 0x40, 0xd7, - 0x20, 0xec, 0x24, 0x05, 0x06, 0xd9, 0x84, 0x51, - 0x5a, 0xd2, 0x38, 0xd5, 0x1d, 0xea, 0x70, 0x2a, - 0x21, 0xe6, 0x82, 0xfd, 0xa4, 0x46, 0x1c, 0x4f, - 0x59, 0x6e, 0x29, 0x3d, 0xae, 0xb8, 0x8e, 0xee, - 0x77, 0x1f, 0x15, 0x33, 0xcf, 0x94, 0x1d, 0x87, - 0x3c, 0x37, 0xc5, 0x89, 0xe8, 0x7d, 0x85, 0xb3, - 0xbc, 0xe8, 0x62, 0x6a, 0x84, 0x7f, 0xfe, 0x9a, - 0x85, 0x3f, 0x39, 0xe8, 0xaa, 0x16, 0xa6, 0x8f, - 0x87, 0x7f, 0xcb, 0xc1, 0xd6, 0xf2, 0xec, 0x2b, - 0xa7, 0xdd, 0x49, 0x98, 0x7b, 0x6f, 0xdd, 0x69, - 0x6d, 0x02, 0x03, 0x01, 0x00, 0x01 }; - DeviceFeatures global_features; void DeviceFeatures::Initialize(bool is_cast_receiver, bool force_load_test_keybox) { @@ -1364,7 +1126,8 @@ class Session { int status = RSA_public_encrypt(session_key.size(), &session_key[0], &(enc_session_key->front()), public_rsa_, RSA_PKCS1_OAEP_PADDING); - if (static_cast(status) != RSA_size(public_rsa_)) { + int size = static_cast(RSA_size(public_rsa_)); + if (status != size) { cout << "GenerateRSASessionKey error encrypting session key. "; dump_openssl_error(); return false; @@ -1403,16 +1166,17 @@ class Session { size_t length = 0; OEMCryptoResult sts = OEMCrypto_ReportUsage( session_id(), reinterpret_cast(pst.c_str()), - pst.length(), &pst_report_.report, &length); + pst.length(), pst_report(), &length); if (expect_success) { ASSERT_EQ(OEMCrypto_ERROR_SHORT_BUFFER, sts); } if (sts == OEMCrypto_ERROR_SHORT_BUFFER) { - ASSERT_GE(sizeof(PaddedPSTReport), length); + ASSERT_LE(sizeof(OEMCrypto_PST_Report), length); + pst_report_buffer_.resize(length); } sts = OEMCrypto_ReportUsage(session_id(), reinterpret_cast(pst.c_str()), - pst.length(), &pst_report_.report, &length); + pst.length(), pst_report(), &length); if (!expect_success) { ASSERT_NE(OEMCrypto_SUCCESS, sts); return; @@ -1421,16 +1185,19 @@ class Session { vector computed_signature(SHA_DIGEST_LENGTH); unsigned int sig_len = SHA_DIGEST_LENGTH; HMAC(EVP_sha1(), &mac_key_client_[0], mac_key_client_.size(), - reinterpret_cast(&pst_report_.report) + SHA_DIGEST_LENGTH, + reinterpret_cast(pst_report()) + SHA_DIGEST_LENGTH, length - SHA_DIGEST_LENGTH, &computed_signature[0], &sig_len); - EXPECT_EQ(0, memcmp(&computed_signature[0], pst_report_.report.signature, + EXPECT_EQ(0, memcmp(&computed_signature[0], pst_report()->signature, SHA_DIGEST_LENGTH)); - EXPECT_GE(kInactive, pst_report_.report.status); - EXPECT_GE(kHardwareSecureClock, pst_report_.report.clock_security_level); - EXPECT_EQ(pst.length(), pst_report_.report.pst_length); - EXPECT_EQ(0, memcmp(pst.c_str(), pst_report_.report.pst, pst.length())); + EXPECT_GE(kInactive, pst_report()->status); + EXPECT_GE(kHardwareSecureClock, pst_report()->clock_security_level); + EXPECT_EQ(pst.length(), pst_report()->pst_length); + EXPECT_EQ(0, memcmp(pst.c_str(), pst_report()->pst, pst.length())); + } + + OEMCrypto_PST_Report* pst_report() { + return reinterpret_cast(&pst_report_buffer_[0]); } - OEMCrypto_PST_Report* pst_report() { return &pst_report_.report; } void DeleteEntry(const std::string& pst) { uint8_t* pst_ptr = encrypted_license_.pst; @@ -1465,7 +1232,7 @@ class Session { vector enc_key_; uint32_t nonce_; RSA* public_rsa_; - PaddedPSTReport pst_report_; + vector pst_report_buffer_; MessageData license_; MessageData encrypted_license_; OEMCrypto_KeyObject key_array_[kNumKeys]; @@ -2445,7 +2212,6 @@ INSTANTIATE_TEST_CASE_P(TestRefreshEachKeys, SessionTestRefreshKeyTest, // Decrypt Tests // TEST_F(OEMCryptoSessionTests, Decrypt) { - OEMCryptoResult sts; Session s; s.open(); @@ -2526,7 +2292,6 @@ TEST_F(OEMCryptoSessionTests, DecryptPerformance) { } TEST_F(OEMCryptoSessionTests, DecryptZeroDuration) { - OEMCryptoResult sts; Session s; s.open(); @@ -2592,9 +2357,9 @@ class OEMCryptoSessionTestsDecryptEdgeCases : public OEMCryptoSessionTests { s.FillSimpleMessage(kDuration, 0, 0); s.EncryptAndSign(); s.LoadTestKeys(); - // Select the key (from FillSimpleMessage) - vector keyId = wvcdm::a2b_hex("000000000000000000000000"); - sts = OEMCrypto_SelectKey(s.session_id(), &keyId[0], keyId.size()); + sts = OEMCrypto_SelectKey(s.session_id(), + s.license().keys[0].key_id, + s.license().keys[0].key_id_length); ASSERT_EQ(OEMCrypto_SUCCESS, sts); // We decrypt three subsamples. each with a block offset. @@ -2797,7 +2562,6 @@ TEST_F(OEMCryptoSessionTests, DecryptUnencryptedNoKey) { } TEST_F(OEMCryptoSessionTests, DecryptSecureToClear) { - OEMCryptoResult sts; Session s; s.open(); s.GenerateTestSessionKeys(); @@ -2809,7 +2573,6 @@ TEST_F(OEMCryptoSessionTests, DecryptSecureToClear) { } TEST_F(OEMCryptoSessionTests, KeyDuration) { - OEMCryptoResult sts; Session s; s.open(); s.GenerateTestSessionKeys(); @@ -2846,7 +2609,8 @@ class OEMCryptoLoadsCertificate : public OEMCryptoSessionTestKeyboxTest { s.RewrapRSAKey(encrypted, signature, wrapped_key, force); // Verify that the clear key is not contained in the wrapped key. // It should be encrypted. - ASSERT_EQ(NULL, find(*wrapped_key, encoded_rsa_key_)); } + ASSERT_EQ(NULL, find(*wrapped_key, encoded_rsa_key_)); + } std::vector encoded_rsa_key_; }; @@ -4622,7 +4386,6 @@ TEST_F(GenericCryptoTest, KeyDurationDecrypt) { } TEST_F(GenericCryptoTest, KeyDurationSign) { - OEMCryptoResult sts; EncryptAndLoadKeys(); unsigned int key_index = 2; @@ -4655,7 +4418,6 @@ TEST_F(GenericCryptoTest, KeyDurationSign) { } TEST_F(GenericCryptoTest, KeyDurationVerify) { - OEMCryptoResult sts; EncryptAndLoadKeys(); unsigned int key_index = 3; @@ -4692,10 +4454,20 @@ class GenericCryptoKeyIdLengthTest : public GenericCryptoTest { session_.FillSimpleMessage(kDuration, wvoec_mock::kControlAllowDecrypt, kNoNonce); // We are testing that the key ids do not have to have the same length. - session_.SetKeyId(0, "123456789012"); // 12 bytes (default key id length). + session_.SetKeyId(0, "123456789012"); // 12 bytes (common key id length). session_.SetKeyId(1, "12345"); // short key id. - session_.SetKeyId(2, "123456789012-very-long-key-id"); - ASSERT_EQ(2, kLongKeyId); + session_.SetKeyId(2, "1234567890123456"); // 16 byte key id. (default) + session_.SetKeyId(3, "12345678901234"); // 14 byte. (uncommon) + ASSERT_EQ(2u, kLongKeyId); + } + + // Make all four keys have the same length. + void SetUniformKeyIdLength(size_t key_id_length) { + for(unsigned int i = 0; i < 4; i++) { + string key_id; + key_id.resize(key_id_length, i + 'a'); + session_.SetKeyId(i, key_id); + } } void TestWithKey(unsigned int key_index) { @@ -4738,6 +4510,16 @@ TEST_F(GenericCryptoKeyIdLengthTest, LongKeyId) { TestWithKey(2); } +TEST_F(GenericCryptoKeyIdLengthTest, UniformShortKeyId) { + SetUniformKeyIdLength(5); + TestWithKey(2); +} + +TEST_F(GenericCryptoKeyIdLengthTest, UniformLongKeyId) { + SetUniformKeyIdLength(kTestKeyIdMaxLength); + TestWithKey(2); +} + TEST_F(OEMCryptoClientTest, UpdateUsageTableTest) { EXPECT_EQ(OEMCrypto_SUCCESS, OEMCrypto_UpdateUsageTable()); } diff --git a/platforms/x86-64/environment.py b/platforms/x86-64/environment.py index 81e568e9..d3b85474 100644 --- a/platforms/x86-64/environment.py +++ b/platforms/x86-64/environment.py @@ -1,5 +1,5 @@ export_variables = { - 'CC': 'gcc', - 'CXX': 'g++', + 'CC': 'clang', + 'CXX': 'clang++', 'AR': 'ar', } diff --git a/platforms/x86-64/settings.gypi b/platforms/x86-64/settings.gypi index 38c64d70..c15b8e92 100644 --- a/platforms/x86-64/settings.gypi +++ b/platforms/x86-64/settings.gypi @@ -12,6 +12,9 @@ 'cflags': [ '-fPIC', '-fno-exceptions', + # Enable all warnings, and treat warnings as errors. + '-Wall', + '-Werror', ], # These are flags passed to the compiler for plain C only. diff --git a/run_test.sh b/run_test.sh deleted file mode 100755 index 6cc8124d..00000000 --- a/run_test.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash -set -ex -./build.py x86-64 -r -./out/x86-64/Release/widevine_ce_cdm_unittest diff --git a/third_party/gmock/scripts/generator/cpp/__init__.py b/third_party/gmock/scripts/generator/cpp/__init__.py index 9ce06a81..e69de29b 100755 --- a/third_party/gmock/scripts/generator/cpp/__init__.py +++ b/third_party/gmock/scripts/generator/cpp/__init__.py @@ -1 +0,0 @@ -# dummy diff --git a/third_party/gyp/generator/__init__.py b/third_party/gyp/generator/__init__.py index 9ce06a81..e69de29b 100644 --- a/third_party/gyp/generator/__init__.py +++ b/third_party/gyp/generator/__init__.py @@ -1 +0,0 @@ -# dummy diff --git a/third_party/protobuf.gypi b/third_party/protobuf.gypi index 60d2b0ac..1aa44ff8 100644 --- a/third_party/protobuf.gypi +++ b/third_party/protobuf.gypi @@ -31,6 +31,20 @@ '<(protobuf_source)/src/google/protobuf/stubs/stringprintf.cc', ], }, + 'target_defaults': { + # These flags silence warnings that appear in protobuf upstream. + # We will not maintain a divergent copy of protobuf to fix them. + 'cflags': [ + # Ignore unknown warning options, to support both gcc & clang at once. + '-Wno-unknown-warning-option', + # GCC: + '-Wno-sign-compare', + '-Wno-unused-local-typedefs', + # Clang: + '-Wno-unused-const-variable', + '-Wno-unused-function', + ], + }, 'targets': [ { 'target_name': 'protobuf_lite', diff --git a/third_party/protobuf/config.log b/third_party/protobuf/config.log deleted file mode 100644 index 12da1d1d..00000000 --- a/third_party/protobuf/config.log +++ /dev/null @@ -1,1737 +0,0 @@ -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. - -It was created by Protocol Buffers configure 2.5.0, which was -generated by GNU Autoconf 2.68. Invocation command line was - - $ ./configure - -## --------- ## -## Platform. ## -## --------- ## - -hostname = horcrux.kir.corp.google.com -uname -m = x86_64 -uname -r = 3.13.0-53-generic -uname -s = Linux -uname -v = #89-Ubuntu SMP Wed May 20 10:34:39 UTC 2015 - -/usr/bin/uname -p = unknown -/bin/uname -X = unknown - -/bin/arch = unknown -/usr/bin/arch -k = unknown -/usr/convex/getsysinfo = unknown -/usr/bin/hostinfo = unknown -/bin/machine = unknown -/usr/bin/oslevel = unknown -/bin/universe = unknown - -PATH: /usr/local/google/home/joeyparrish/hacking/steel/external/chromium/third_party/llvm-build/Release+Asserts/bin -PATH: /usr/lib/google-golang/bin -PATH: /usr/local/buildtools/java/jdk/bin -PATH: /usr/local/sbin -PATH: /usr/local/bin -PATH: /usr/sbin -PATH: /usr/bin -PATH: /sbin -PATH: /bin -PATH: /usr/local/google/home/joeyparrish/hacking/depot_tools - - -## ----------- ## -## Core tests. ## -## ----------- ## - -configure:2455: checking whether to enable maintainer-specific portions of Makefiles -configure:2464: result: yes -configure:2525: checking build system type -configure:2539: result: x86_64-unknown-linux-gnu -configure:2559: checking host system type -configure:2572: result: x86_64-unknown-linux-gnu -configure:2592: checking target system type -configure:2605: result: x86_64-unknown-linux-gnu -configure:2648: checking for a BSD-compatible install -configure:2716: result: /usr/bin/install -c -configure:2727: checking whether build environment is sane -configure:2777: result: yes -configure:2918: checking for a thread-safe mkdir -p -configure:2957: result: /bin/mkdir -p -configure:2970: checking for gawk -configure:2986: found /usr/bin/gawk -configure:2997: result: gawk -configure:3008: checking whether make sets $(MAKE) -configure:3030: result: yes -configure:3178: checking for gcc -configure:3194: found /usr/bin/gcc -configure:3205: result: gcc -configure:3434: checking for C compiler version -configure:3443: gcc --version >&5 -gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2 -Copyright (C) 2013 Free Software Foundation, Inc. -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -configure:3454: $? = 0 -configure:3443: gcc -v >&5 -Using built-in specs. -COLLECT_GCC=gcc -COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper -Target: x86_64-linux-gnu -Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.2-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu -Thread model: posix -gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) -configure:3454: $? = 0 -configure:3443: gcc -V >&5 -gcc: error: unrecognized command line option '-V' -gcc: fatal error: no input files -compilation terminated. -configure:3454: $? = 4 -configure:3443: gcc -qversion >&5 -gcc: error: unrecognized command line option '-qversion' -gcc: fatal error: no input files -compilation terminated. -configure:3454: $? = 4 -configure:3474: checking whether the C compiler works -configure:3496: gcc conftest.c >&5 -configure:3500: $? = 0 -configure:3548: result: yes -configure:3551: checking for C compiler default output file name -configure:3553: result: a.out -configure:3559: checking for suffix of executables -configure:3566: gcc -o conftest conftest.c >&5 -configure:3570: $? = 0 -configure:3592: result: -configure:3614: checking whether we are cross compiling -configure:3622: gcc -o conftest conftest.c >&5 -configure:3626: $? = 0 -configure:3633: ./conftest -configure:3637: $? = 0 -configure:3652: result: no -configure:3657: checking for suffix of object files -configure:3679: gcc -c conftest.c >&5 -configure:3683: $? = 0 -configure:3704: result: o -configure:3708: checking whether we are using the GNU C compiler -configure:3727: gcc -c conftest.c >&5 -configure:3727: $? = 0 -configure:3736: result: yes -configure:3745: checking whether gcc accepts -g -configure:3765: gcc -c -g conftest.c >&5 -configure:3765: $? = 0 -configure:3806: result: yes -configure:3823: checking for gcc option to accept ISO C89 -configure:3887: gcc -c conftest.c >&5 -configure:3887: $? = 0 -configure:3900: result: none needed -configure:3931: checking for style of include used by make -configure:3959: result: GNU -configure:3985: checking dependency style of gcc -configure:4096: result: gcc3 -configure:4169: checking for g++ -configure:4185: found /usr/bin/g++ -configure:4196: result: g++ -configure:4223: checking for C++ compiler version -configure:4232: g++ --version >&5 -g++ (Ubuntu 4.8.2-19ubuntu1) 4.8.2 -Copyright (C) 2013 Free Software Foundation, Inc. -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -configure:4243: $? = 0 -configure:4232: g++ -v >&5 -Using built-in specs. -COLLECT_GCC=g++ -COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper -Target: x86_64-linux-gnu -Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.2-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu -Thread model: posix -gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) -configure:4243: $? = 0 -configure:4232: g++ -V >&5 -g++: error: unrecognized command line option '-V' -g++: fatal error: no input files -compilation terminated. -configure:4243: $? = 4 -configure:4232: g++ -qversion >&5 -g++: error: unrecognized command line option '-qversion' -g++: fatal error: no input files -compilation terminated. -configure:4243: $? = 4 -configure:4247: checking whether we are using the GNU C++ compiler -configure:4266: g++ -c conftest.cpp >&5 -configure:4266: $? = 0 -configure:4275: result: yes -configure:4284: checking whether g++ accepts -g -configure:4304: g++ -c -g conftest.cpp >&5 -configure:4304: $? = 0 -configure:4345: result: yes -configure:4370: checking dependency style of g++ -configure:4481: result: gcc3 -configure:4508: checking how to run the C++ preprocessor -configure:4535: g++ -E conftest.cpp -configure:4535: $? = 0 -configure:4549: g++ -E conftest.cpp -conftest.cpp:11:28: fatal error: ac_nonexistent.h: No such file or directory - #include - ^ -compilation terminated. -configure:4549: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "Protocol Buffers" -| #define PACKAGE_TARNAME "protobuf" -| #define PACKAGE_VERSION "2.5.0" -| #define PACKAGE_STRING "Protocol Buffers 2.5.0" -| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" -| #define PACKAGE_URL "" -| #define PACKAGE "protobuf" -| #define VERSION "2.5.0" -| /* end confdefs.h. */ -| #include -configure:4574: result: g++ -E -configure:4594: g++ -E conftest.cpp -configure:4594: $? = 0 -configure:4608: g++ -E conftest.cpp -conftest.cpp:11:28: fatal error: ac_nonexistent.h: No such file or directory - #include - ^ -compilation terminated. -configure:4608: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "Protocol Buffers" -| #define PACKAGE_TARNAME "protobuf" -| #define PACKAGE_VERSION "2.5.0" -| #define PACKAGE_STRING "Protocol Buffers 2.5.0" -| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" -| #define PACKAGE_URL "" -| #define PACKAGE "protobuf" -| #define VERSION "2.5.0" -| /* end confdefs.h. */ -| #include -configure:4637: checking for grep that handles long lines and -e -configure:4695: result: /bin/grep -configure:4700: checking for egrep -configure:4762: result: /bin/grep -E -configure:4767: checking for ANSI C header files -configure:4787: g++ -c conftest.cpp >&5 -configure:4787: $? = 0 -configure:4860: g++ -o conftest conftest.cpp >&5 -configure:4860: $? = 0 -configure:4860: ./conftest -configure:4860: $? = 0 -configure:4871: result: yes -configure:4884: checking for sys/types.h -configure:4884: g++ -c conftest.cpp >&5 -configure:4884: $? = 0 -configure:4884: result: yes -configure:4884: checking for sys/stat.h -configure:4884: g++ -c conftest.cpp >&5 -configure:4884: $? = 0 -configure:4884: result: yes -configure:4884: checking for stdlib.h -configure:4884: g++ -c conftest.cpp >&5 -configure:4884: $? = 0 -configure:4884: result: yes -configure:4884: checking for string.h -configure:4884: g++ -c conftest.cpp >&5 -configure:4884: $? = 0 -configure:4884: result: yes -configure:4884: checking for memory.h -configure:4884: g++ -c conftest.cpp >&5 -configure:4884: $? = 0 -configure:4884: result: yes -configure:4884: checking for strings.h -configure:4884: g++ -c conftest.cpp >&5 -configure:4884: $? = 0 -configure:4884: result: yes -configure:4884: checking for inttypes.h -configure:4884: g++ -c conftest.cpp >&5 -configure:4884: $? = 0 -configure:4884: result: yes -configure:4884: checking for stdint.h -configure:4884: g++ -c conftest.cpp >&5 -configure:4884: $? = 0 -configure:4884: result: yes -configure:4884: checking for unistd.h -configure:4884: g++ -c conftest.cpp >&5 -configure:4884: $? = 0 -configure:4884: result: yes -configure:4897: checking minix/config.h usability -configure:4897: g++ -c conftest.cpp >&5 -conftest.cpp:54:26: fatal error: minix/config.h: No such file or directory - #include - ^ -compilation terminated. -configure:4897: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "Protocol Buffers" -| #define PACKAGE_TARNAME "protobuf" -| #define PACKAGE_VERSION "2.5.0" -| #define PACKAGE_STRING "Protocol Buffers 2.5.0" -| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" -| #define PACKAGE_URL "" -| #define PACKAGE "protobuf" -| #define VERSION "2.5.0" -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| /* end confdefs.h. */ -| #include -| #ifdef HAVE_SYS_TYPES_H -| # include -| #endif -| #ifdef HAVE_SYS_STAT_H -| # include -| #endif -| #ifdef STDC_HEADERS -| # include -| # include -| #else -| # ifdef HAVE_STDLIB_H -| # include -| # endif -| #endif -| #ifdef HAVE_STRING_H -| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H -| # include -| # endif -| # include -| #endif -| #ifdef HAVE_STRINGS_H -| # include -| #endif -| #ifdef HAVE_INTTYPES_H -| # include -| #endif -| #ifdef HAVE_STDINT_H -| # include -| #endif -| #ifdef HAVE_UNISTD_H -| # include -| #endif -| #include -configure:4897: result: no -configure:4897: checking minix/config.h presence -configure:4897: g++ -E conftest.cpp -conftest.cpp:21:26: fatal error: minix/config.h: No such file or directory - #include - ^ -compilation terminated. -configure:4897: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "Protocol Buffers" -| #define PACKAGE_TARNAME "protobuf" -| #define PACKAGE_VERSION "2.5.0" -| #define PACKAGE_STRING "Protocol Buffers 2.5.0" -| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" -| #define PACKAGE_URL "" -| #define PACKAGE "protobuf" -| #define VERSION "2.5.0" -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| /* end confdefs.h. */ -| #include -configure:4897: result: no -configure:4897: checking for minix/config.h -configure:4897: result: no -configure:4918: checking whether it is safe to define __EXTENSIONS__ -configure:4936: g++ -c conftest.cpp >&5 -configure:4936: $? = 0 -configure:4943: result: yes -configure:4972: checking C++ compiler flags... -configure:4988: result: use default: -O2 -g -DNDEBUG -configure:5008: checking whether __SUNPRO_CC is declared -configure:5008: g++ -c -g -DNDEBUG conftest.cpp >&5 -conftest.cpp: In function 'int main()': -conftest.cpp:64:10: error: '__SUNPRO_CC' was not declared in this scope - (void) __SUNPRO_CC; - ^ -configure:5008: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "Protocol Buffers" -| #define PACKAGE_TARNAME "protobuf" -| #define PACKAGE_VERSION "2.5.0" -| #define PACKAGE_STRING "Protocol Buffers 2.5.0" -| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" -| #define PACKAGE_URL "" -| #define PACKAGE "protobuf" -| #define VERSION "2.5.0" -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define __EXTENSIONS__ 1 -| #define _ALL_SOURCE 1 -| #define _GNU_SOURCE 1 -| #define _POSIX_PTHREAD_SEMANTICS 1 -| #define _TANDEM_SOURCE 1 -| /* end confdefs.h. */ -| #include -| #ifdef HAVE_SYS_TYPES_H -| # include -| #endif -| #ifdef HAVE_SYS_STAT_H -| # include -| #endif -| #ifdef STDC_HEADERS -| # include -| # include -| #else -| # ifdef HAVE_STDLIB_H -| # include -| # endif -| #endif -| #ifdef HAVE_STRING_H -| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H -| # include -| # endif -| # include -| #endif -| #ifdef HAVE_STRINGS_H -| # include -| #endif -| #ifdef HAVE_INTTYPES_H -| # include -| #endif -| #ifdef HAVE_STDINT_H -| # include -| #endif -| #ifdef HAVE_UNISTD_H -| # include -| #endif -| int -| main () -| { -| #ifndef __SUNPRO_CC -| #ifdef __cplusplus -| (void) __SUNPRO_CC; -| #else -| (void) __SUNPRO_CC; -| #endif -| #endif -| -| ; -| return 0; -| } -configure:5008: result: no -configure:5180: checking how to print strings -configure:5207: result: printf -configure:5228: checking for a sed that does not truncate output -configure:5292: result: /bin/sed -configure:5310: checking for fgrep -configure:5372: result: /bin/grep -F -configure:5407: checking for ld used by gcc -configure:5474: result: /usr/bin/ld -configure:5481: checking if the linker (/usr/bin/ld) is GNU ld -configure:5496: result: yes -configure:5508: checking for BSD- or MS-compatible name lister (nm) -configure:5557: result: /usr/bin/nm -B -configure:5687: checking the name lister (/usr/bin/nm -B) interface -configure:5694: g++ -c -g -DNDEBUG conftest.cpp >&5 -configure:5697: /usr/bin/nm -B "conftest.o" -configure:5700: output -0000000000000000 B some_variable -configure:5707: result: BSD nm -configure:5710: checking whether ln -s works -configure:5714: result: yes -configure:5722: checking the maximum length of command line arguments -configure:5852: result: 1572864 -configure:5869: checking whether the shell understands some XSI constructs -configure:5879: result: yes -configure:5883: checking whether the shell understands "+=" -configure:5889: result: yes -configure:5924: checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format -configure:5964: result: func_convert_file_noop -configure:5971: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format -configure:5991: result: func_convert_file_noop -configure:5998: checking for /usr/bin/ld option to reload object files -configure:6005: result: -r -configure:6079: checking for objdump -configure:6095: found /usr/bin/objdump -configure:6106: result: objdump -configure:6138: checking how to recognize dependent libraries -configure:6340: result: pass_all -configure:6425: checking for dlltool -configure:6455: result: no -configure:6485: checking how to associate runtime and link libraries -configure:6512: result: printf %s\n -configure:6572: checking for ar -configure:6588: found /usr/bin/ar -configure:6599: result: ar -configure:6636: checking for archiver @FILE support -configure:6653: g++ -c -g -DNDEBUG conftest.cpp >&5 -configure:6653: $? = 0 -configure:6656: ar cru libconftest.a @conftest.lst >&5 -configure:6659: $? = 0 -configure:6664: ar cru libconftest.a @conftest.lst >&5 -ar: conftest.o: No such file or directory -configure:6667: $? = 1 -configure:6679: result: @ -configure:6737: checking for strip -configure:6753: found /usr/bin/strip -configure:6764: result: strip -configure:6836: checking for ranlib -configure:6852: found /usr/bin/ranlib -configure:6863: result: ranlib -configure:6965: checking command to parse /usr/bin/nm -B output from gcc object -configure:7085: g++ -c -g -DNDEBUG conftest.cpp >&5 -configure:7088: $? = 0 -configure:7092: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm -configure:7095: $? = 0 -configure:7161: g++ -o conftest -g -DNDEBUG conftest.cpp conftstm.o >&5 -configure:7164: $? = 0 -configure:7202: result: ok -configure:7239: checking for sysroot -configure:7269: result: no -configure:7347: g++ -c -g -DNDEBUG conftest.cpp >&5 -configure:7350: $? = 0 -configure:7526: checking for mt -configure:7542: found /bin/mt -configure:7553: result: mt -configure:7576: checking if mt is a manifest tool -configure:7582: mt '-?' -configure:7590: result: no -configure:8229: checking for dlfcn.h -configure:8229: g++ -c -g -DNDEBUG conftest.cpp >&5 -configure:8229: $? = 0 -configure:8229: result: yes -configure:8445: checking for objdir -configure:8460: result: .libs -configure:8731: checking if gcc supports -fno-rtti -fno-exceptions -configure:8749: gcc -c -fno-rtti -fno-exceptions conftest.c >&5 -cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default] -configure:8753: $? = 0 -configure:8766: result: no -configure:9093: checking for gcc option to produce PIC -configure:9100: result: -fPIC -DPIC -configure:9108: checking if gcc PIC flag -fPIC -DPIC works -configure:9126: gcc -c -fPIC -DPIC -DPIC conftest.c >&5 -configure:9130: $? = 0 -configure:9143: result: yes -configure:9172: checking if gcc static flag -static works -configure:9200: result: yes -configure:9215: checking if gcc supports -c -o file.o -configure:9236: gcc -c -o out/conftest2.o conftest.c >&5 -configure:9240: $? = 0 -configure:9262: result: yes -configure:9270: checking if gcc supports -c -o file.o -configure:9317: result: yes -configure:9350: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries -configure:10507: result: yes -configure:10544: checking whether -lc should be explicitly linked in -configure:10552: gcc -c conftest.c >&5 -configure:10555: $? = 0 -configure:10570: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1 -configure:10573: $? = 0 -configure:10587: result: no -configure:10747: checking dynamic linker characteristics -configure:11258: gcc -o conftest -Wl,-rpath -Wl,/foo conftest.c >&5 -configure:11258: $? = 0 -configure:11492: result: GNU/Linux ld.so -configure:11599: checking how to hardcode library paths into programs -configure:11624: result: immediate -configure:12164: checking whether stripping libraries is possible -configure:12169: result: yes -configure:12204: checking if libtool supports shared libraries -configure:12206: result: yes -configure:12209: checking whether to build shared libraries -configure:12230: result: yes -configure:12233: checking whether to build static libraries -configure:12237: result: yes -configure:12260: checking how to run the C++ preprocessor -configure:12326: result: g++ -E -configure:12346: g++ -E conftest.cpp -configure:12346: $? = 0 -configure:12360: g++ -E conftest.cpp -conftest.cpp:28:28: fatal error: ac_nonexistent.h: No such file or directory - #include - ^ -compilation terminated. -configure:12360: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "Protocol Buffers" -| #define PACKAGE_TARNAME "protobuf" -| #define PACKAGE_VERSION "2.5.0" -| #define PACKAGE_STRING "Protocol Buffers 2.5.0" -| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" -| #define PACKAGE_URL "" -| #define PACKAGE "protobuf" -| #define VERSION "2.5.0" -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define __EXTENSIONS__ 1 -| #define _ALL_SOURCE 1 -| #define _GNU_SOURCE 1 -| #define _POSIX_PTHREAD_SEMANTICS 1 -| #define _TANDEM_SOURCE 1 -| #define HAVE_DLFCN_H 1 -| #define LT_OBJDIR ".libs/" -| /* end confdefs.h. */ -| #include -configure:12529: checking for ld used by g++ -configure:12596: result: /usr/bin/ld -m elf_x86_64 -configure:12603: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld -configure:12618: result: yes -configure:12673: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries -configure:13678: result: yes -configure:13714: g++ -c -g -DNDEBUG conftest.cpp >&5 -configure:13717: $? = 0 -configure:14237: checking for g++ option to produce PIC -configure:14244: result: -fPIC -DPIC -configure:14252: checking if g++ PIC flag -fPIC -DPIC works -configure:14270: g++ -c -g -DNDEBUG -fPIC -DPIC -DPIC conftest.cpp >&5 -configure:14274: $? = 0 -configure:14287: result: yes -configure:14310: checking if g++ static flag -static works -configure:14338: result: yes -configure:14350: checking if g++ supports -c -o file.o -configure:14371: g++ -c -g -DNDEBUG -o out/conftest2.o conftest.cpp >&5 -configure:14375: $? = 0 -configure:14397: result: yes -configure:14402: checking if g++ supports -c -o file.o -configure:14449: result: yes -configure:14479: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries -configure:14518: result: yes -configure:14659: checking dynamic linker characteristics -configure:15338: result: GNU/Linux ld.so -configure:15391: checking how to hardcode library paths into programs -configure:15416: result: immediate -configure:15479: checking for ANSI C header files -configure:15583: result: yes -configure:15594: checking fcntl.h usability -configure:15594: g++ -c -g -DNDEBUG conftest.cpp >&5 -configure:15594: $? = 0 -configure:15594: result: yes -configure:15594: checking fcntl.h presence -configure:15594: g++ -E conftest.cpp -configure:15594: $? = 0 -configure:15594: result: yes -configure:15594: checking for fcntl.h -configure:15594: result: yes -configure:15594: checking for inttypes.h -configure:15594: result: yes -configure:15594: checking limits.h usability -configure:15594: g++ -c -g -DNDEBUG conftest.cpp >&5 -configure:15594: $? = 0 -configure:15594: result: yes -configure:15594: checking limits.h presence -configure:15594: g++ -E conftest.cpp -configure:15594: $? = 0 -configure:15594: result: yes -configure:15594: checking for limits.h -configure:15594: result: yes -configure:15594: checking for stdlib.h -configure:15594: result: yes -configure:15594: checking for unistd.h -configure:15594: result: yes -configure:15606: checking for working memcmp -configure:15649: g++ -o conftest -g -DNDEBUG conftest.cpp >&5 -configure:15649: $? = 0 -configure:15649: ./conftest -configure:15649: $? = 0 -configure:15659: result: yes -configure:15668: checking for working strtod -configure:15709: g++ -o conftest -g -DNDEBUG conftest.cpp >&5 -conftest.cpp: In function 'int main()': -conftest.cpp:76:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] - char *string = " +69"; - ^ -conftest.cpp:87:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] - char *string = "NaN"; - ^ -configure:15709: $? = 0 -configure:15709: ./conftest -configure:15709: $? = 0 -configure:15719: result: yes -configure:15784: checking for ftruncate -configure:15784: g++ -o conftest -g -DNDEBUG conftest.cpp >&5 -configure:15784: $? = 0 -configure:15784: result: yes -configure:15784: checking for memset -configure:15784: g++ -o conftest -g -DNDEBUG conftest.cpp >&5 -configure:15784: $? = 0 -configure:15784: result: yes -configure:15784: checking for mkdir -configure:15784: g++ -o conftest -g -DNDEBUG conftest.cpp >&5 -configure:15784: $? = 0 -configure:15784: result: yes -configure:15784: checking for strchr -configure:15784: g++ -o conftest -g -DNDEBUG conftest.cpp >&5 -configure:15784: $? = 0 -configure:15784: result: yes -configure:15784: checking for strerror -configure:15784: g++ -o conftest -g -DNDEBUG conftest.cpp >&5 -configure:15784: $? = 0 -configure:15784: result: yes -configure:15784: checking for strtol -configure:15784: g++ -o conftest -g -DNDEBUG conftest.cpp >&5 -configure:15784: $? = 0 -configure:15784: result: yes -configure:15798: checking zlib version -configure:15818: g++ -c -g -DNDEBUG conftest.cpp >&5 -configure:15818: $? = 0 -configure:15820: result: ok (1.2.0.4 or later) -configure:15824: checking for library containing zlibVersion -configure:15855: g++ -o conftest -g -DNDEBUG conftest.cpp >&5 -/tmp/cc87cscr.o: In function `main': -/tmp/tmp.Y9MHI5h24O/protobuf-2.5.0/conftest.cpp:51: undefined reference to `zlibVersion' -collect2: error: ld returned 1 exit status -configure:15855: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "Protocol Buffers" -| #define PACKAGE_TARNAME "protobuf" -| #define PACKAGE_VERSION "2.5.0" -| #define PACKAGE_STRING "Protocol Buffers 2.5.0" -| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" -| #define PACKAGE_URL "" -| #define PACKAGE "protobuf" -| #define VERSION "2.5.0" -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define __EXTENSIONS__ 1 -| #define _ALL_SOURCE 1 -| #define _GNU_SOURCE 1 -| #define _POSIX_PTHREAD_SEMANTICS 1 -| #define _TANDEM_SOURCE 1 -| #define HAVE_DLFCN_H 1 -| #define LT_OBJDIR ".libs/" -| #define STDC_HEADERS 1 -| #define HAVE_FCNTL_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_LIMITS_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_FTRUNCATE 1 -| #define HAVE_MEMSET 1 -| #define HAVE_MKDIR 1 -| #define HAVE_STRCHR 1 -| #define HAVE_STRERROR 1 -| #define HAVE_STRTOL 1 -| /* end confdefs.h. */ -| -| /* Override any GCC internal prototype to avoid an error. -| Use char because int might match the return type of a GCC -| builtin and then its argument prototype would still apply. */ -| #ifdef __cplusplus -| extern "C" -| #endif -| char zlibVersion (); -| int -| main () -| { -| return zlibVersion (); -| ; -| return 0; -| } -configure:15855: g++ -o conftest -g -DNDEBUG conftest.cpp -lz >&5 -configure:15855: $? = 0 -configure:15872: result: -lz -configure:16123: checking for the pthreads library -lpthreads -configure:16156: gcc -o conftest conftest.c -lpthreads -lz >&5 -conftest.c: In function 'main': -conftest.c:46:22: warning: null argument where non-null required (argument 1) [-Wnonnull] - pthread_attr_init(0); pthread_cleanup_push(0, 0); - ^ -conftest.c:47:22: warning: null argument where non-null required (argument 1) [-Wnonnull] - pthread_create(0,0,0,0); pthread_cleanup_pop(0); - ^ -conftest.c:47:22: warning: null argument where non-null required (argument 3) [-Wnonnull] -/usr/bin/ld: cannot find -lpthreads -collect2: error: ld returned 1 exit status -configure:16156: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "Protocol Buffers" -| #define PACKAGE_TARNAME "protobuf" -| #define PACKAGE_VERSION "2.5.0" -| #define PACKAGE_STRING "Protocol Buffers 2.5.0" -| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" -| #define PACKAGE_URL "" -| #define PACKAGE "protobuf" -| #define VERSION "2.5.0" -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define __EXTENSIONS__ 1 -| #define _ALL_SOURCE 1 -| #define _GNU_SOURCE 1 -| #define _POSIX_PTHREAD_SEMANTICS 1 -| #define _TANDEM_SOURCE 1 -| #define HAVE_DLFCN_H 1 -| #define LT_OBJDIR ".libs/" -| #define STDC_HEADERS 1 -| #define HAVE_FCNTL_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_LIMITS_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_FTRUNCATE 1 -| #define HAVE_MEMSET 1 -| #define HAVE_MKDIR 1 -| #define HAVE_STRCHR 1 -| #define HAVE_STRERROR 1 -| #define HAVE_STRTOL 1 -| #define HAVE_ZLIB 1 -| /* end confdefs.h. */ -| #include -| int -| main () -| { -| pthread_t th; pthread_join(th, 0); -| pthread_attr_init(0); pthread_cleanup_push(0, 0); -| pthread_create(0,0,0,0); pthread_cleanup_pop(0); -| ; -| return 0; -| } -configure:16165: result: no -configure:16068: checking whether pthreads work without any flags -configure:16156: gcc -o conftest conftest.c -lz >&5 -conftest.c: In function 'main': -conftest.c:46:22: warning: null argument where non-null required (argument 1) [-Wnonnull] - pthread_attr_init(0); pthread_cleanup_push(0, 0); - ^ -conftest.c:47:22: warning: null argument where non-null required (argument 1) [-Wnonnull] - pthread_create(0,0,0,0); pthread_cleanup_pop(0); - ^ -conftest.c:47:22: warning: null argument where non-null required (argument 3) [-Wnonnull] -/tmp/cc0JcQDE.o: In function `main': -conftest.c:(.text+0x1b): undefined reference to `pthread_join' -conftest.c:(.text+0x7e): undefined reference to `__pthread_register_cancel' -conftest.c:(.text+0x97): undefined reference to `pthread_create' -conftest.c:(.text+0xa3): undefined reference to `__pthread_unregister_cancel' -collect2: error: ld returned 1 exit status -configure:16156: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "Protocol Buffers" -| #define PACKAGE_TARNAME "protobuf" -| #define PACKAGE_VERSION "2.5.0" -| #define PACKAGE_STRING "Protocol Buffers 2.5.0" -| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" -| #define PACKAGE_URL "" -| #define PACKAGE "protobuf" -| #define VERSION "2.5.0" -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define __EXTENSIONS__ 1 -| #define _ALL_SOURCE 1 -| #define _GNU_SOURCE 1 -| #define _POSIX_PTHREAD_SEMANTICS 1 -| #define _TANDEM_SOURCE 1 -| #define HAVE_DLFCN_H 1 -| #define LT_OBJDIR ".libs/" -| #define STDC_HEADERS 1 -| #define HAVE_FCNTL_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_LIMITS_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_FTRUNCATE 1 -| #define HAVE_MEMSET 1 -| #define HAVE_MKDIR 1 -| #define HAVE_STRCHR 1 -| #define HAVE_STRERROR 1 -| #define HAVE_STRTOL 1 -| #define HAVE_ZLIB 1 -| /* end confdefs.h. */ -| #include -| int -| main () -| { -| pthread_t th; pthread_join(th, 0); -| pthread_attr_init(0); pthread_cleanup_push(0, 0); -| pthread_create(0,0,0,0); pthread_cleanup_pop(0); -| ; -| return 0; -| } -configure:16165: result: no -configure:16073: checking whether pthreads work with -Kthread -configure:16156: gcc -o conftest -Kthread conftest.c -lz >&5 -gcc: error: unrecognized command line option '-Kthread' -configure:16156: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "Protocol Buffers" -| #define PACKAGE_TARNAME "protobuf" -| #define PACKAGE_VERSION "2.5.0" -| #define PACKAGE_STRING "Protocol Buffers 2.5.0" -| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" -| #define PACKAGE_URL "" -| #define PACKAGE "protobuf" -| #define VERSION "2.5.0" -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define __EXTENSIONS__ 1 -| #define _ALL_SOURCE 1 -| #define _GNU_SOURCE 1 -| #define _POSIX_PTHREAD_SEMANTICS 1 -| #define _TANDEM_SOURCE 1 -| #define HAVE_DLFCN_H 1 -| #define LT_OBJDIR ".libs/" -| #define STDC_HEADERS 1 -| #define HAVE_FCNTL_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_LIMITS_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_FTRUNCATE 1 -| #define HAVE_MEMSET 1 -| #define HAVE_MKDIR 1 -| #define HAVE_STRCHR 1 -| #define HAVE_STRERROR 1 -| #define HAVE_STRTOL 1 -| #define HAVE_ZLIB 1 -| /* end confdefs.h. */ -| #include -| int -| main () -| { -| pthread_t th; pthread_join(th, 0); -| pthread_attr_init(0); pthread_cleanup_push(0, 0); -| pthread_create(0,0,0,0); pthread_cleanup_pop(0); -| ; -| return 0; -| } -configure:16165: result: no -configure:16073: checking whether pthreads work with -kthread -configure:16156: gcc -o conftest -kthread conftest.c -lz >&5 -gcc: error: unrecognized command line option '-kthread' -configure:16156: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "Protocol Buffers" -| #define PACKAGE_TARNAME "protobuf" -| #define PACKAGE_VERSION "2.5.0" -| #define PACKAGE_STRING "Protocol Buffers 2.5.0" -| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" -| #define PACKAGE_URL "" -| #define PACKAGE "protobuf" -| #define VERSION "2.5.0" -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define __EXTENSIONS__ 1 -| #define _ALL_SOURCE 1 -| #define _GNU_SOURCE 1 -| #define _POSIX_PTHREAD_SEMANTICS 1 -| #define _TANDEM_SOURCE 1 -| #define HAVE_DLFCN_H 1 -| #define LT_OBJDIR ".libs/" -| #define STDC_HEADERS 1 -| #define HAVE_FCNTL_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_LIMITS_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_FTRUNCATE 1 -| #define HAVE_MEMSET 1 -| #define HAVE_MKDIR 1 -| #define HAVE_STRCHR 1 -| #define HAVE_STRERROR 1 -| #define HAVE_STRTOL 1 -| #define HAVE_ZLIB 1 -| /* end confdefs.h. */ -| #include -| int -| main () -| { -| pthread_t th; pthread_join(th, 0); -| pthread_attr_init(0); pthread_cleanup_push(0, 0); -| pthread_create(0,0,0,0); pthread_cleanup_pop(0); -| ; -| return 0; -| } -configure:16165: result: no -configure:16123: checking for the pthreads library -llthread -configure:16156: gcc -o conftest conftest.c -llthread -lz >&5 -conftest.c: In function 'main': -conftest.c:46:22: warning: null argument where non-null required (argument 1) [-Wnonnull] - pthread_attr_init(0); pthread_cleanup_push(0, 0); - ^ -conftest.c:47:22: warning: null argument where non-null required (argument 1) [-Wnonnull] - pthread_create(0,0,0,0); pthread_cleanup_pop(0); - ^ -conftest.c:47:22: warning: null argument where non-null required (argument 3) [-Wnonnull] -/usr/bin/ld: cannot find -llthread -collect2: error: ld returned 1 exit status -configure:16156: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "Protocol Buffers" -| #define PACKAGE_TARNAME "protobuf" -| #define PACKAGE_VERSION "2.5.0" -| #define PACKAGE_STRING "Protocol Buffers 2.5.0" -| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" -| #define PACKAGE_URL "" -| #define PACKAGE "protobuf" -| #define VERSION "2.5.0" -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define __EXTENSIONS__ 1 -| #define _ALL_SOURCE 1 -| #define _GNU_SOURCE 1 -| #define _POSIX_PTHREAD_SEMANTICS 1 -| #define _TANDEM_SOURCE 1 -| #define HAVE_DLFCN_H 1 -| #define LT_OBJDIR ".libs/" -| #define STDC_HEADERS 1 -| #define HAVE_FCNTL_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_LIMITS_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_FTRUNCATE 1 -| #define HAVE_MEMSET 1 -| #define HAVE_MKDIR 1 -| #define HAVE_STRCHR 1 -| #define HAVE_STRERROR 1 -| #define HAVE_STRTOL 1 -| #define HAVE_ZLIB 1 -| /* end confdefs.h. */ -| #include -| int -| main () -| { -| pthread_t th; pthread_join(th, 0); -| pthread_attr_init(0); pthread_cleanup_push(0, 0); -| pthread_create(0,0,0,0); pthread_cleanup_pop(0); -| ; -| return 0; -| } -configure:16165: result: no -configure:16073: checking whether pthreads work with -pthread -configure:16156: gcc -o conftest -pthread conftest.c -lz >&5 -conftest.c: In function 'main': -conftest.c:46:22: warning: null argument where non-null required (argument 1) [-Wnonnull] - pthread_attr_init(0); pthread_cleanup_push(0, 0); - ^ -conftest.c:47:22: warning: null argument where non-null required (argument 1) [-Wnonnull] - pthread_create(0,0,0,0); pthread_cleanup_pop(0); - ^ -conftest.c:47:22: warning: null argument where non-null required (argument 3) [-Wnonnull] -configure:16156: $? = 0 -configure:16165: result: yes -configure:16184: checking for joinable pthread attribute -configure:16199: gcc -o conftest -pthread conftest.c -lz >&5 -configure:16199: $? = 0 -configure:16205: result: PTHREAD_CREATE_JOINABLE -configure:16215: checking if more special flags are required for pthreads -configure:16222: result: no -configure:16311: checking whether to check for GCC pthread/shared inconsistencies -configure:16324: gcc -o conftest -shared -fPIC -Wl,-z,defs -pthread conftest.c -lz >&5 -configure:16324: $? = 0 -configure:16336: result: yes -configure:16342: checking whether -pthread is sufficient with -shared -configure:16357: gcc -o conftest -shared -fPIC -Wl,-z,defs -pthread conftest.c -lz >&5 -conftest.c: In function 'main': -conftest.c:46:8: warning: null argument where non-null required (argument 1) [-Wnonnull] - pthread_attr_init(0); pthread_cleanup_push(0, 0); - ^ -conftest.c:47:8: warning: null argument where non-null required (argument 1) [-Wnonnull] - pthread_create(0,0,0,0); pthread_cleanup_pop(0); - ^ -conftest.c:47:8: warning: null argument where non-null required (argument 3) [-Wnonnull] -configure:16357: $? = 0 -configure:16364: result: yes -configure:16452: checking whether what we have so far is sufficient with -nostdlib -configure:16470: gcc -o conftest -nostdlib -shared -fPIC -Wl,-z,defs -pthread conftest.c -lz -lc >&5 -conftest.c: In function 'main': -conftest.c:46:9: warning: null argument where non-null required (argument 1) [-Wnonnull] - pthread_attr_init(0); pthread_cleanup_push(0, 0); - ^ -conftest.c:47:9: warning: null argument where non-null required (argument 1) [-Wnonnull] - pthread_create(0,0,0,0); pthread_cleanup_pop(0); - ^ -conftest.c:47:9: warning: null argument where non-null required (argument 3) [-Wnonnull] -/tmp/ccyIysm9.o: In function `main': -conftest.c:(.text+0x18): undefined reference to `pthread_join' -conftest.c:(.text+0x7e): undefined reference to `__pthread_register_cancel' -conftest.c:(.text+0x97): undefined reference to `pthread_create' -conftest.c:(.text+0xa6): undefined reference to `__pthread_unregister_cancel' -collect2: error: ld returned 1 exit status -configure:16470: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "Protocol Buffers" -| #define PACKAGE_TARNAME "protobuf" -| #define PACKAGE_VERSION "2.5.0" -| #define PACKAGE_STRING "Protocol Buffers 2.5.0" -| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" -| #define PACKAGE_URL "" -| #define PACKAGE "protobuf" -| #define VERSION "2.5.0" -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define __EXTENSIONS__ 1 -| #define _ALL_SOURCE 1 -| #define _GNU_SOURCE 1 -| #define _POSIX_PTHREAD_SEMANTICS 1 -| #define _TANDEM_SOURCE 1 -| #define HAVE_DLFCN_H 1 -| #define LT_OBJDIR ".libs/" -| #define STDC_HEADERS 1 -| #define HAVE_FCNTL_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_LIMITS_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_FTRUNCATE 1 -| #define HAVE_MEMSET 1 -| #define HAVE_MKDIR 1 -| #define HAVE_STRCHR 1 -| #define HAVE_STRERROR 1 -| #define HAVE_STRTOL 1 -| #define HAVE_ZLIB 1 -| /* end confdefs.h. */ -| #include -| int -| main () -| { -| pthread_t th; pthread_join(th, 0); -| pthread_attr_init(0); pthread_cleanup_push(0, 0); -| pthread_create(0,0,0,0); pthread_cleanup_pop(0); -| ; -| return 0; -| } -configure:16482: result: no -configure:16487: checking whether -lpthread saves the day -configure:16503: gcc -o conftest -nostdlib -shared -fPIC -Wl,-z,defs -pthread conftest.c -lpthread -lz -lc >&5 -conftest.c: In function 'main': -conftest.c:46:9: warning: null argument where non-null required (argument 1) [-Wnonnull] - pthread_attr_init(0); pthread_cleanup_push(0, 0); - ^ -conftest.c:47:9: warning: null argument where non-null required (argument 1) [-Wnonnull] - pthread_create(0,0,0,0); pthread_cleanup_pop(0); - ^ -conftest.c:47:9: warning: null argument where non-null required (argument 3) [-Wnonnull] -configure:16503: $? = 0 -configure:16512: result: yes -configure:16552: checking the location of hash_map -configure:16578: g++ -c -g -DNDEBUG conftest.cpp >&5 -configure:16578: $? = 0 -configure:16600: g++ -c -g -DNDEBUG conftest.cpp >&5 -In file included from /usr/include/c++/4.8/unordered_map:35:0, - from conftest.cpp:42: -/usr/include/c++/4.8/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options. - #error This file requires compiler and library support for the \ - ^ -conftest.cpp: In function 'int main()': -conftest.cpp:46:7: error: 'unordered_map' in namespace 'std' does not name a type - const std::unordered_map t; - ^ -conftest.cpp:47:33: error: 't' was not declared in this scope - return t.find(5) == t.end(); - ^ -configure:16600: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "Protocol Buffers" -| #define PACKAGE_TARNAME "protobuf" -| #define PACKAGE_VERSION "2.5.0" -| #define PACKAGE_STRING "Protocol Buffers 2.5.0" -| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" -| #define PACKAGE_URL "" -| #define PACKAGE "protobuf" -| #define VERSION "2.5.0" -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define __EXTENSIONS__ 1 -| #define _ALL_SOURCE 1 -| #define _GNU_SOURCE 1 -| #define _POSIX_PTHREAD_SEMANTICS 1 -| #define _TANDEM_SOURCE 1 -| #define HAVE_DLFCN_H 1 -| #define LT_OBJDIR ".libs/" -| #define STDC_HEADERS 1 -| #define HAVE_FCNTL_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_LIMITS_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_FTRUNCATE 1 -| #define HAVE_MEMSET 1 -| #define HAVE_MKDIR 1 -| #define HAVE_STRCHR 1 -| #define HAVE_STRERROR 1 -| #define HAVE_STRTOL 1 -| #define HAVE_ZLIB 1 -| #define HAVE_PTHREAD 1 -| /* end confdefs.h. */ -| #include -| int -| main () -| { -| const std::unordered_map t; -| return t.find(5) == t.end(); -| ; -| return 0; -| } -configure:16600: g++ -c -g -DNDEBUG conftest.cpp >&5 -In file included from /usr/include/c++/4.8/unordered_map:35:0, - from conftest.cpp:42: -/usr/include/c++/4.8/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options. - #error This file requires compiler and library support for the \ - ^ -conftest.cpp: In function 'int main()': -conftest.cpp:46:7: error: 'tr1' in namespace 'std' does not name a type - const std::tr1::unordered_map t; - ^ -conftest.cpp:47:33: error: 't' was not declared in this scope - return t.find(5) == t.end(); - ^ -configure:16600: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "Protocol Buffers" -| #define PACKAGE_TARNAME "protobuf" -| #define PACKAGE_VERSION "2.5.0" -| #define PACKAGE_STRING "Protocol Buffers 2.5.0" -| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" -| #define PACKAGE_URL "" -| #define PACKAGE "protobuf" -| #define VERSION "2.5.0" -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define __EXTENSIONS__ 1 -| #define _ALL_SOURCE 1 -| #define _GNU_SOURCE 1 -| #define _POSIX_PTHREAD_SEMANTICS 1 -| #define _TANDEM_SOURCE 1 -| #define HAVE_DLFCN_H 1 -| #define LT_OBJDIR ".libs/" -| #define STDC_HEADERS 1 -| #define HAVE_FCNTL_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_LIMITS_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_FTRUNCATE 1 -| #define HAVE_MEMSET 1 -| #define HAVE_MKDIR 1 -| #define HAVE_STRCHR 1 -| #define HAVE_STRERROR 1 -| #define HAVE_STRTOL 1 -| #define HAVE_ZLIB 1 -| #define HAVE_PTHREAD 1 -| /* end confdefs.h. */ -| #include -| int -| main () -| { -| const std::tr1::unordered_map t; -| return t.find(5) == t.end(); -| ; -| return 0; -| } -configure:16600: g++ -c -g -DNDEBUG conftest.cpp >&5 -conftest.cpp: In function 'int main()': -conftest.cpp:46:7: error: 'unordered_map' in namespace 'std' does not name a type - const std::unordered_map t; - ^ -conftest.cpp:47:33: error: 't' was not declared in this scope - return t.find(5) == t.end(); - ^ -configure:16600: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "Protocol Buffers" -| #define PACKAGE_TARNAME "protobuf" -| #define PACKAGE_VERSION "2.5.0" -| #define PACKAGE_STRING "Protocol Buffers 2.5.0" -| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" -| #define PACKAGE_URL "" -| #define PACKAGE "protobuf" -| #define VERSION "2.5.0" -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define __EXTENSIONS__ 1 -| #define _ALL_SOURCE 1 -| #define _GNU_SOURCE 1 -| #define _POSIX_PTHREAD_SEMANTICS 1 -| #define _TANDEM_SOURCE 1 -| #define HAVE_DLFCN_H 1 -| #define LT_OBJDIR ".libs/" -| #define STDC_HEADERS 1 -| #define HAVE_FCNTL_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_LIMITS_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_FTRUNCATE 1 -| #define HAVE_MEMSET 1 -| #define HAVE_MKDIR 1 -| #define HAVE_STRCHR 1 -| #define HAVE_STRERROR 1 -| #define HAVE_STRTOL 1 -| #define HAVE_ZLIB 1 -| #define HAVE_PTHREAD 1 -| /* end confdefs.h. */ -| #include -| int -| main () -| { -| const std::unordered_map t; -| return t.find(5) == t.end(); -| ; -| return 0; -| } -configure:16600: g++ -c -g -DNDEBUG conftest.cpp >&5 -configure:16600: $? = 0 -configure:16667: result: -configure:16839: creating ./config.status - -## ---------------------- ## -## Running config.status. ## -## ---------------------- ## - -This file was extended by Protocol Buffers config.status 2.5.0, which was -generated by GNU Autoconf 2.68. Invocation command line was - - CONFIG_FILES = - CONFIG_HEADERS = - CONFIG_LINKS = - CONFIG_COMMANDS = - $ ./config.status - -on horcrux.kir.corp.google.com - -config.status:1201: creating Makefile -config.status:1201: creating src/Makefile -config.status:1201: creating protobuf.pc -config.status:1201: creating protobuf-lite.pc -config.status:1201: creating config.h -config.status:1430: executing depfiles commands -config.status:1430: executing libtool commands -configure:19411: === configuring in gtest (/tmp/tmp.Y9MHI5h24O/protobuf-2.5.0/gtest) -configure:19474: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. - -## ---------------- ## -## Cache variables. ## -## ---------------- ## - -ac_cv_build=x86_64-unknown-linux-gnu -ac_cv_c_compiler_gnu=yes -ac_cv_cxx_compiler_gnu=yes -ac_cv_cxx_hash_map='' -ac_cv_cxx_hash_map_class=unordered_map -ac_cv_cxx_hash_namespace=std::tr1 -ac_cv_cxx_hash_set='' -ac_cv_cxx_hash_set_class=unordered_set -ac_cv_env_CCC_set= -ac_cv_env_CCC_value= -ac_cv_env_CC_set= -ac_cv_env_CC_value= -ac_cv_env_CFLAGS_set= -ac_cv_env_CFLAGS_value= -ac_cv_env_CPPFLAGS_set= -ac_cv_env_CPPFLAGS_value= -ac_cv_env_CXXCPP_set= -ac_cv_env_CXXCPP_value= -ac_cv_env_CXXFLAGS_set= -ac_cv_env_CXXFLAGS_value= -ac_cv_env_CXX_set= -ac_cv_env_CXX_value= -ac_cv_env_LDFLAGS_set= -ac_cv_env_LDFLAGS_value= -ac_cv_env_LIBS_set= -ac_cv_env_LIBS_value= -ac_cv_env_build_alias_set= -ac_cv_env_build_alias_value= -ac_cv_env_host_alias_set= -ac_cv_env_host_alias_value= -ac_cv_env_target_alias_set= -ac_cv_env_target_alias_value= -ac_cv_func_ftruncate=yes -ac_cv_func_memcmp_working=yes -ac_cv_func_memset=yes -ac_cv_func_mkdir=yes -ac_cv_func_strchr=yes -ac_cv_func_strerror=yes -ac_cv_func_strtod=yes -ac_cv_func_strtol=yes -ac_cv_have_decl___SUNPRO_CC=no -ac_cv_header_dlfcn_h=yes -ac_cv_header_fcntl_h=yes -ac_cv_header_inttypes_h=yes -ac_cv_header_limits_h=yes -ac_cv_header_memory_h=yes -ac_cv_header_minix_config_h=no -ac_cv_header_stdc=yes -ac_cv_header_stdint_h=yes -ac_cv_header_stdlib_h=yes -ac_cv_header_string_h=yes -ac_cv_header_strings_h=yes -ac_cv_header_sys_stat_h=yes -ac_cv_header_sys_types_h=yes -ac_cv_header_unistd_h=yes -ac_cv_host=x86_64-unknown-linux-gnu -ac_cv_objext=o -ac_cv_path_EGREP='/bin/grep -E' -ac_cv_path_FGREP='/bin/grep -F' -ac_cv_path_GREP=/bin/grep -ac_cv_path_SED=/bin/sed -ac_cv_path_install='/usr/bin/install -c' -ac_cv_path_mkdir=/bin/mkdir -ac_cv_prog_AWK=gawk -ac_cv_prog_CXXCPP='g++ -E' -ac_cv_prog_ac_ct_AR=ar -ac_cv_prog_ac_ct_CC=gcc -ac_cv_prog_ac_ct_CXX=g++ -ac_cv_prog_ac_ct_MANIFEST_TOOL=mt -ac_cv_prog_ac_ct_OBJDUMP=objdump -ac_cv_prog_ac_ct_RANLIB=ranlib -ac_cv_prog_ac_ct_STRIP=strip -ac_cv_prog_cc_c89= -ac_cv_prog_cc_g=yes -ac_cv_prog_cxx_g=yes -ac_cv_prog_make_make_set=yes -ac_cv_safe_to_define___extensions__=yes -ac_cv_search_zlibVersion=-lz -ac_cv_target=x86_64-unknown-linux-gnu -am_cv_CC_dependencies_compiler_type=gcc3 -am_cv_CXX_dependencies_compiler_type=gcc3 -lt_cv_ar_at_file=@ -lt_cv_archive_cmds_need_lc=no -lt_cv_deplibs_check_method=pass_all -lt_cv_file_magic_cmd='$MAGIC_CMD' -lt_cv_file_magic_test_file= -lt_cv_ld_reload_flag=-r -lt_cv_nm_interface='BSD nm' -lt_cv_objdir=.libs -lt_cv_path_LD=/usr/bin/ld -lt_cv_path_LDCXX='/usr/bin/ld -m elf_x86_64' -lt_cv_path_NM='/usr/bin/nm -B' -lt_cv_path_mainfest_tool=no -lt_cv_prog_compiler_c_o=yes -lt_cv_prog_compiler_c_o_CXX=yes -lt_cv_prog_compiler_pic='-fPIC -DPIC' -lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC' -lt_cv_prog_compiler_pic_works=yes -lt_cv_prog_compiler_pic_works_CXX=yes -lt_cv_prog_compiler_rtti_exceptions=no -lt_cv_prog_compiler_static_works=yes -lt_cv_prog_compiler_static_works_CXX=yes -lt_cv_prog_gnu_ld=yes -lt_cv_prog_gnu_ldcxx=yes -lt_cv_sharedlib_from_linklib_cmd='printf %s\n' -lt_cv_shlibpath_overrides_runpath=no -lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' -lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' -lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' -lt_cv_sys_max_cmd_len=1572864 -lt_cv_to_host_file_cmd=func_convert_file_noop -lt_cv_to_tool_file_cmd=func_convert_file_noop - -## ----------------- ## -## Output variables. ## -## ----------------- ## - -ACLOCAL='${SHELL} /tmp/tmp.Y9MHI5h24O/protobuf-2.5.0/missing --run aclocal-1.11' -AMDEPBACKSLASH='\' -AMDEP_FALSE='#' -AMDEP_TRUE='' -AMTAR='$${TAR-tar}' -AR='ar' -AUTOCONF='${SHELL} /tmp/tmp.Y9MHI5h24O/protobuf-2.5.0/missing --run autoconf' -AUTOHEADER='${SHELL} /tmp/tmp.Y9MHI5h24O/protobuf-2.5.0/missing --run autoheader' -AUTOMAKE='${SHELL} /tmp/tmp.Y9MHI5h24O/protobuf-2.5.0/missing --run automake-1.11' -AWK='gawk' -CC='gcc' -CCDEPMODE='depmode=gcc3' -CFLAGS='' -CPPFLAGS='' -CXX='g++' -CXXCPP='g++ -E' -CXXDEPMODE='depmode=gcc3' -CXXFLAGS=' -g -DNDEBUG' -CYGPATH_W='echo' -DEFS='-DHAVE_CONFIG_H' -DEPDIR='.deps' -DLLTOOL='false' -DSYMUTIL='' -DUMPBIN='' -ECHO_C='' -ECHO_N='-n' -ECHO_T='' -EGREP='/bin/grep -E' -EXEEXT='' -FGREP='/bin/grep -F' -GCC_FALSE='#' -GCC_TRUE='' -GREP='/bin/grep' -HAVE_ZLIB_FALSE='#' -HAVE_ZLIB_TRUE='' -INSTALL_DATA='${INSTALL} -m 644' -INSTALL_PROGRAM='${INSTALL}' -INSTALL_SCRIPT='${INSTALL}' -INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' -ISAINFO='' -LD='/usr/bin/ld -m elf_x86_64' -LDFLAGS='' -LIBOBJS='' -LIBS='-lz ' -LIBTOOL='$(SHELL) $(top_builddir)/libtool' -LIPO='' -LN_S='ln -s' -LTLIBOBJS='' -MAINT='' -MAINTAINER_MODE_FALSE='#' -MAINTAINER_MODE_TRUE='' -MAKEINFO='${SHELL} /tmp/tmp.Y9MHI5h24O/protobuf-2.5.0/missing --run makeinfo' -MANIFEST_TOOL=':' -MKDIR_P='/bin/mkdir -p' -NM='/usr/bin/nm -B' -NMEDIT='' -OBJDUMP='objdump' -OBJEXT='o' -OTOOL64='' -OTOOL='' -PACKAGE='protobuf' -PACKAGE_BUGREPORT='protobuf@googlegroups.com' -PACKAGE_NAME='Protocol Buffers' -PACKAGE_STRING='Protocol Buffers 2.5.0' -PACKAGE_TARNAME='protobuf' -PACKAGE_URL='' -PACKAGE_VERSION='2.5.0' -PATH_SEPARATOR=':' -POW_LIB='' -PROTOBUF_OPT_FLAG='-O2' -PROTOC='' -PTHREAD_CC='gcc' -PTHREAD_CFLAGS='-pthread' -PTHREAD_LIBS=' -lpthread' -RANLIB='ranlib' -SED='/bin/sed' -SET_MAKE='' -SHELL='/bin/sh' -STRIP='strip' -USE_EXTERNAL_PROTOC_FALSE='' -USE_EXTERNAL_PROTOC_TRUE='#' -VERSION='2.5.0' -ac_ct_AR='ar' -ac_ct_CC='gcc' -ac_ct_CXX='g++' -ac_ct_DUMPBIN='' -acx_pthread_config='' -am__EXEEXT_FALSE='' -am__EXEEXT_TRUE='#' -am__fastdepCC_FALSE='#' -am__fastdepCC_TRUE='' -am__fastdepCXX_FALSE='#' -am__fastdepCXX_TRUE='' -am__include='include' -am__isrc='' -am__leading_dot='.' -am__nodep='_no' -am__quote='' -am__tar='$${TAR-tar} chof - "$$tardir"' -am__untar='$${TAR-tar} xf -' -bindir='${exec_prefix}/bin' -build='x86_64-unknown-linux-gnu' -build_alias='' -build_cpu='x86_64' -build_os='linux-gnu' -build_vendor='unknown' -datadir='${datarootdir}' -datarootdir='${prefix}/share' -docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' -dvidir='${docdir}' -exec_prefix='${prefix}' -host='x86_64-unknown-linux-gnu' -host_alias='' -host_cpu='x86_64' -host_os='linux-gnu' -host_vendor='unknown' -htmldir='${docdir}' -includedir='${prefix}/include' -infodir='${datarootdir}/info' -install_sh='${SHELL} /tmp/tmp.Y9MHI5h24O/protobuf-2.5.0/install-sh' -libdir='${exec_prefix}/lib' -libexecdir='${exec_prefix}/libexec' -localedir='${datarootdir}/locale' -localstatedir='${prefix}/var' -mandir='${datarootdir}/man' -mkdir_p='/bin/mkdir -p' -oldincludedir='/usr/include' -pdfdir='${docdir}' -prefix='/usr/local' -program_transform_name='s,x,x,' -psdir='${docdir}' -sbindir='${exec_prefix}/sbin' -sharedstatedir='${prefix}/com' -subdirs=' gtest' -sysconfdir='${prefix}/etc' -target='x86_64-unknown-linux-gnu' -target_alias='' -target_cpu='x86_64' -target_os='linux-gnu' -target_vendor='unknown' - -## ----------- ## -## confdefs.h. ## -## ----------- ## - -/* confdefs.h */ -#define PACKAGE_NAME "Protocol Buffers" -#define PACKAGE_TARNAME "protobuf" -#define PACKAGE_VERSION "2.5.0" -#define PACKAGE_STRING "Protocol Buffers 2.5.0" -#define PACKAGE_BUGREPORT "protobuf@googlegroups.com" -#define PACKAGE_URL "" -#define PACKAGE "protobuf" -#define VERSION "2.5.0" -#define STDC_HEADERS 1 -#define HAVE_SYS_TYPES_H 1 -#define HAVE_SYS_STAT_H 1 -#define HAVE_STDLIB_H 1 -#define HAVE_STRING_H 1 -#define HAVE_MEMORY_H 1 -#define HAVE_STRINGS_H 1 -#define HAVE_INTTYPES_H 1 -#define HAVE_STDINT_H 1 -#define HAVE_UNISTD_H 1 -#define __EXTENSIONS__ 1 -#define _ALL_SOURCE 1 -#define _GNU_SOURCE 1 -#define _POSIX_PTHREAD_SEMANTICS 1 -#define _TANDEM_SOURCE 1 -#define HAVE_DLFCN_H 1 -#define LT_OBJDIR ".libs/" -#define STDC_HEADERS 1 -#define HAVE_FCNTL_H 1 -#define HAVE_INTTYPES_H 1 -#define HAVE_LIMITS_H 1 -#define HAVE_STDLIB_H 1 -#define HAVE_UNISTD_H 1 -#define HAVE_FTRUNCATE 1 -#define HAVE_MEMSET 1 -#define HAVE_MKDIR 1 -#define HAVE_STRCHR 1 -#define HAVE_STRERROR 1 -#define HAVE_STRTOL 1 -#define HAVE_ZLIB 1 -#define HAVE_PTHREAD 1 -#define HAVE_HASH_MAP 1 -#define HAVE_HASH_SET 1 -#define HASH_MAP_H -#define HASH_SET_H -#define HASH_NAMESPACE std::tr1 -#define HASH_MAP_CLASS unordered_map -#define HASH_SET_CLASS unordered_set - -configure: exit 0 diff --git a/third_party/protobuf/config.status b/third_party/protobuf/config.status deleted file mode 100755 index ae6e696f..00000000 --- a/third_party/protobuf/config.status +++ /dev/null @@ -1,2334 +0,0 @@ -#! /bin/sh -# Generated by configure. -# Run this file to recreate the current configuration. -# Compiler output produced by configure, useful for debugging -# configure, is in config.log if it exists. - -debug=false -ac_cs_recheck=false -ac_cs_silent=false - -SHELL=${CONFIG_SHELL-/bin/sh} -export SHELL -## -------------------- ## -## M4sh Initialization. ## -## -------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in #( - *posix*) : - set -o posix ;; #( - *) : - ;; -esac -fi - - -as_nl=' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -as_myself= -case $0 in #(( - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break - done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - exit 1 -fi - -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - - -# as_fn_error STATUS ERROR [LINENO LOG_FD] -# ---------------------------------------- -# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are -# provided, also output the error to LOG_FD, referencing LINENO. Then exit the -# script with STATUS, using 1 if that was 0. -as_fn_error () -{ - as_status=$1; test $as_status -eq 0 && as_status=1 - if test "$4"; then - as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 - fi - $as_echo "$as_me: error: $2" >&2 - as_fn_exit $as_status -} # as_fn_error - - -# as_fn_set_status STATUS -# ----------------------- -# Set $? to STATUS, without forking. -as_fn_set_status () -{ - return $1 -} # as_fn_set_status - -# as_fn_exit STATUS -# ----------------- -# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. -as_fn_exit () -{ - set +e - as_fn_set_status $1 - exit $1 -} # as_fn_exit - -# as_fn_unset VAR -# --------------- -# Portably unset VAR. -as_fn_unset () -{ - { eval $1=; unset $1;} -} -as_unset=as_fn_unset -# as_fn_append VAR VALUE -# ---------------------- -# Append the text in VALUE to the end of the definition contained in VAR. Take -# advantage of any shell optimizations that allow amortized linear growth over -# repeated appends, instead of the typical quadratic growth present in naive -# implementations. -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : - eval 'as_fn_append () - { - eval $1+=\$2 - }' -else - as_fn_append () - { - eval $1=\$$1\$2 - } -fi # as_fn_append - -# as_fn_arith ARG... -# ------------------ -# Perform arithmetic evaluation on the ARGs, and store the result in the -# global $as_val. Take advantage of shells that can avoid forks. The arguments -# must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : - eval 'as_fn_arith () - { - as_val=$(( $* )) - }' -else - as_fn_arith () - { - as_val=`expr "$@" || test $? -eq 1` - } -fi # as_fn_arith - - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in #((((( --n*) - case `echo 'xy\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - xy) ECHO_C='\c';; - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null - ECHO_T=' ';; - esac;; -*) - ECHO_N='-n';; -esac - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir 2>/dev/null -fi -if (echo >conf$$.file) 2>/dev/null; then - if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln - else - as_ln_s='cp -p' - fi -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - - -# as_fn_mkdir_p -# ------------- -# Create "$as_dir" as a directory, including parents if necessary. -as_fn_mkdir_p () -{ - - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || eval $as_mkdir_p || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" - - -} # as_fn_mkdir_p -if mkdir -p . 2>/dev/null; then - as_mkdir_p='mkdir -p "$as_dir"' -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in #( - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - -exec 6>&1 -## ----------------------------------- ## -## Main body of $CONFIG_STATUS script. ## -## ----------------------------------- ## -# Save the log message, to keep $0 and so on meaningful, and to -# report actual input values of CONFIG_FILES etc. instead of their -# values after options handling. -ac_log=" -This file was extended by Protocol Buffers $as_me 2.5.0, which was -generated by GNU Autoconf 2.68. Invocation command line was - - CONFIG_FILES = $CONFIG_FILES - CONFIG_HEADERS = $CONFIG_HEADERS - CONFIG_LINKS = $CONFIG_LINKS - CONFIG_COMMANDS = $CONFIG_COMMANDS - $ $0 $@ - -on `(hostname || uname -n) 2>/dev/null | sed 1q` -" - -# Files that config.status was made for. -config_files=" Makefile src/Makefile protobuf.pc protobuf-lite.pc" -config_headers=" config.h" -config_commands=" depfiles libtool" - -ac_cs_usage="\ -\`$as_me' instantiates files and other configuration actions -from templates according to the current configuration. Unless the files -and actions are specified as TAGs, all are instantiated by default. - -Usage: $0 [OPTION]... [TAG]... - - -h, --help print this help, then exit - -V, --version print version number and configuration settings, then exit - --config print configuration, then exit - -q, --quiet, --silent - do not print progress messages - -d, --debug don't remove temporary files - --recheck update $as_me by reconfiguring in the same conditions - --file=FILE[:TEMPLATE] - instantiate the configuration file FILE - --header=FILE[:TEMPLATE] - instantiate the configuration header FILE - -Configuration files: -$config_files - -Configuration headers: -$config_headers - -Configuration commands: -$config_commands - -Report bugs to ." - -ac_cs_config="" -ac_cs_version="\ -Protocol Buffers config.status 2.5.0 -configured by ./configure, generated by GNU Autoconf 2.68, - with options \"$ac_cs_config\" - -Copyright (C) 2010 Free Software Foundation, Inc. -This config.status script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it." - -ac_pwd='/tmp/tmp.Y9MHI5h24O/protobuf-2.5.0' -srcdir='.' -INSTALL='/usr/bin/install -c' -MKDIR_P='/bin/mkdir -p' -AWK='gawk' -test -n "$AWK" || AWK=awk -# The default lists apply if the user does not specify any file. -ac_need_defaults=: -while test $# != 0 -do - case $1 in - --*=?*) - ac_option=`expr "X$1" : 'X\([^=]*\)='` - ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` - ac_shift=: - ;; - --*=) - ac_option=`expr "X$1" : 'X\([^=]*\)='` - ac_optarg= - ac_shift=: - ;; - *) - ac_option=$1 - ac_optarg=$2 - ac_shift=shift - ;; - esac - - case $ac_option in - # Handling of the options. - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - ac_cs_recheck=: ;; - --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - $as_echo "$ac_cs_version"; exit ;; - --config | --confi | --conf | --con | --co | --c ) - $as_echo "$ac_cs_config"; exit ;; - --debug | --debu | --deb | --de | --d | -d ) - debug=: ;; - --file | --fil | --fi | --f ) - $ac_shift - case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; - '') as_fn_error $? "missing file argument" ;; - esac - as_fn_append CONFIG_FILES " '$ac_optarg'" - ac_need_defaults=false;; - --header | --heade | --head | --hea ) - $ac_shift - case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - as_fn_append CONFIG_HEADERS " '$ac_optarg'" - ac_need_defaults=false;; - --he | --h) - # Conflict between --help and --header - as_fn_error $? "ambiguous option: \`$1' -Try \`$0 --help' for more information.";; - --help | --hel | -h ) - $as_echo "$ac_cs_usage"; exit ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil | --si | --s) - ac_cs_silent=: ;; - - # This is an error. - -*) as_fn_error $? "unrecognized option: \`$1' -Try \`$0 --help' for more information." ;; - - *) as_fn_append ac_config_targets " $1" - ac_need_defaults=false ;; - - esac - shift -done - -ac_configure_extra_args= - -if $ac_cs_silent; then - exec 6>/dev/null - ac_configure_extra_args="$ac_configure_extra_args --silent" -fi - -if $ac_cs_recheck; then - set X '/bin/sh' './configure' $ac_configure_extra_args --no-create --no-recursion - shift - $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6 - CONFIG_SHELL='/bin/sh' - export CONFIG_SHELL - exec "$@" -fi - -exec 5>>config.log -{ - echo - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX -## Running $as_me. ## -_ASBOX - $as_echo "$ac_log" -} >&5 - -# -# INIT-COMMANDS -# -AMDEP_TRUE="" ac_aux_dir="." - - -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -sed_quote_subst='s/\(["`$\\]\)/\\\1/g' -double_quote_subst='s/\(["`\\]\)/\\\1/g' -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' -macro_version='2.4.2' -macro_revision='1.3337' -enable_shared='yes' -enable_static='yes' -pic_mode='default' -enable_fast_install='yes' -SHELL='/bin/sh' -ECHO='printf %s\n' -PATH_SEPARATOR=':' -host_alias='' -host='x86_64-unknown-linux-gnu' -host_os='linux-gnu' -build_alias='' -build='x86_64-unknown-linux-gnu' -build_os='linux-gnu' -SED='/bin/sed' -Xsed='/bin/sed -e 1s/^X//' -GREP='/bin/grep' -EGREP='/bin/grep -E' -FGREP='/bin/grep -F' -LD='/usr/bin/ld -m elf_x86_64' -NM='/usr/bin/nm -B' -LN_S='ln -s' -max_cmd_len='1572864' -ac_objext='o' -exeext='' -lt_unset='unset' -lt_SP2NL='tr \040 \012' -lt_NL2SP='tr \015\012 \040\040' -lt_cv_to_host_file_cmd='func_convert_file_noop' -lt_cv_to_tool_file_cmd='func_convert_file_noop' -reload_flag=' -r' -reload_cmds='$LD$reload_flag -o $output$reload_objs' -OBJDUMP='objdump' -deplibs_check_method='pass_all' -file_magic_cmd='$MAGIC_CMD' -file_magic_glob='' -want_nocaseglob='no' -DLLTOOL='false' -sharedlib_from_linklib_cmd='printf %s\n' -AR='ar' -AR_FLAGS='cru' -archiver_list_spec='@' -STRIP='strip' -RANLIB='ranlib' -old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $tool_oldlib' -old_postuninstall_cmds='' -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib' -lock_old_archive_extraction='no' -CC='gcc' -CFLAGS='' -compiler='g++' -GCC='yes' -lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' -lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' -lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' -nm_file_list_spec='@' -lt_sysroot='' -objdir='.libs' -MAGIC_CMD='file' -lt_prog_compiler_no_builtin_flag=' -fno-builtin' -lt_prog_compiler_pic=' -fPIC -DPIC' -lt_prog_compiler_wl='-Wl,' -lt_prog_compiler_static='-static' -lt_cv_prog_compiler_c_o='yes' -need_locks='no' -MANIFEST_TOOL=':' -DSYMUTIL='' -NMEDIT='' -LIPO='' -OTOOL='' -OTOOL64='' -libext='a' -shrext_cmds='.so' -extract_expsyms_cmds='' -archive_cmds_need_lc='no' -enable_shared_with_static_runtimes='no' -export_dynamic_flag_spec='${wl}--export-dynamic' -whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' -compiler_needs_object='no' -old_archive_from_new_cmds='' -old_archive_from_expsyms_cmds='' -archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' -module_cmds='' -module_expsym_cmds='' -with_gnu_ld='yes' -allow_undefined_flag='' -no_undefined_flag='' -hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' -hardcode_libdir_separator='' -hardcode_direct='no' -hardcode_direct_absolute='no' -hardcode_minus_L='no' -hardcode_shlibpath_var='unsupported' -hardcode_automatic='no' -inherit_rpath='no' -link_all_deplibs='no' -always_export_symbols='no' -export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' -exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' -include_expsyms='' -prelink_cmds='' -postlink_cmds='' -file_list_spec='' -variables_saved_for_relink='PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH' -need_lib_prefix='no' -need_version='no' -version_type='linux' -runpath_var='LD_RUN_PATH' -shlibpath_var='LD_LIBRARY_PATH' -shlibpath_overrides_runpath='no' -libname_spec='lib$name' -library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -soname_spec='${libname}${release}${shared_ext}$major' -install_override_mode='' -postinstall_cmds='' -postuninstall_cmds='' -finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' -finish_eval='' -hardcode_into_libs='yes' -sys_lib_search_path_spec='/usr/lib/gcc/x86_64-linux-gnu/4.8 /usr/lib/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib ' -sys_lib_dlsearch_path_spec='/lib /usr/lib /usr/lib/x86_64-linux-gnu/fakechroot /usr/lib/x86_64-linux-gnu/libfakeroot /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /lib/i686-linux-gnu /usr/lib/i686-linux-gnu /usr/local/lib /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/mesa-egl /usr/lib/nvidia-340 /usr/lib32/nvidia-340 /usr/lib/x86_64-linux-gnu/mir/clientplatform/mesa /lib32 /usr/lib32 /libx32 /usr/libx32 ' -hardcode_action='immediate' -enable_dlopen='unknown' -enable_dlopen_self='unknown' -enable_dlopen_self_static='unknown' -old_striplib='strip --strip-debug' -striplib='strip --strip-unneeded' -compiler_lib_search_dirs='' -predep_objects='' -postdep_objects='' -predeps='' -postdeps='' -compiler_lib_search_path='' -LD_CXX='/usr/bin/ld -m elf_x86_64' -reload_flag_CXX=' -r' -reload_cmds_CXX='$LD$reload_flag -o $output$reload_objs' -old_archive_cmds_CXX='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib' -compiler_CXX='g++' -GCC_CXX='yes' -lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' -lt_prog_compiler_pic_CXX=' -fPIC -DPIC' -lt_prog_compiler_wl_CXX='-Wl,' -lt_prog_compiler_static_CXX='-static' -lt_cv_prog_compiler_c_o_CXX='yes' -archive_cmds_need_lc_CXX='no' -enable_shared_with_static_runtimes_CXX='no' -export_dynamic_flag_spec_CXX='${wl}--export-dynamic' -whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' -compiler_needs_object_CXX='no' -old_archive_from_new_cmds_CXX='' -old_archive_from_expsyms_cmds_CXX='' -archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' -archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' -module_cmds_CXX='' -module_expsym_cmds_CXX='' -with_gnu_ld_CXX='yes' -allow_undefined_flag_CXX='' -no_undefined_flag_CXX='' -hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' -hardcode_libdir_separator_CXX='' -hardcode_direct_CXX='no' -hardcode_direct_absolute_CXX='no' -hardcode_minus_L_CXX='no' -hardcode_shlibpath_var_CXX='unsupported' -hardcode_automatic_CXX='no' -inherit_rpath_CXX='no' -link_all_deplibs_CXX='no' -always_export_symbols_CXX='no' -export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' -exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' -include_expsyms_CXX='' -prelink_cmds_CXX='' -postlink_cmds_CXX='' -file_list_spec_CXX='' -hardcode_action_CXX='immediate' -compiler_lib_search_dirs_CXX='/usr/lib/gcc/x86_64-linux-gnu/4.8 /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /usr/lib/gcc/x86_64-linux-gnu/4.8/../../..' -predep_objects_CXX='/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.8/crtbeginS.o' -postdep_objects_CXX='/usr/lib/gcc/x86_64-linux-gnu/4.8/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crtn.o' -predeps_CXX='' -postdeps_CXX='-lstdc++ -lm -lgcc_s -lc -lgcc_s' -compiler_lib_search_path_CXX='-L/usr/lib/gcc/x86_64-linux-gnu/4.8 -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../..' - -LTCC='gcc' -LTCFLAGS='' -compiler='gcc' - -# A function that is used when there is no print builtin or printf. -func_fallback_echo () -{ - eval 'cat <<_LTECHO_EOF -$1 -_LTECHO_EOF' -} - -# Quote evaled strings. -for var in SHELL ECHO PATH_SEPARATOR SED GREP EGREP FGREP LD NM LN_S lt_SP2NL lt_NL2SP reload_flag OBJDUMP deplibs_check_method file_magic_cmd file_magic_glob want_nocaseglob DLLTOOL sharedlib_from_linklib_cmd AR AR_FLAGS archiver_list_spec STRIP RANLIB CC CFLAGS compiler lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl lt_cv_sys_global_symbol_to_c_name_address lt_cv_sys_global_symbol_to_c_name_address_lib_prefix nm_file_list_spec lt_prog_compiler_no_builtin_flag lt_prog_compiler_pic lt_prog_compiler_wl lt_prog_compiler_static lt_cv_prog_compiler_c_o need_locks MANIFEST_TOOL DSYMUTIL NMEDIT LIPO OTOOL OTOOL64 shrext_cmds export_dynamic_flag_spec whole_archive_flag_spec compiler_needs_object with_gnu_ld allow_undefined_flag no_undefined_flag hardcode_libdir_flag_spec hardcode_libdir_separator exclude_expsyms include_expsyms file_list_spec variables_saved_for_relink libname_spec library_names_spec soname_spec install_override_mode finish_eval old_striplib striplib compiler_lib_search_dirs predep_objects postdep_objects predeps postdeps compiler_lib_search_path LD_CXX reload_flag_CXX compiler_CXX lt_prog_compiler_no_builtin_flag_CXX lt_prog_compiler_pic_CXX lt_prog_compiler_wl_CXX lt_prog_compiler_static_CXX lt_cv_prog_compiler_c_o_CXX export_dynamic_flag_spec_CXX whole_archive_flag_spec_CXX compiler_needs_object_CXX with_gnu_ld_CXX allow_undefined_flag_CXX no_undefined_flag_CXX hardcode_libdir_flag_spec_CXX hardcode_libdir_separator_CXX exclude_expsyms_CXX include_expsyms_CXX file_list_spec_CXX compiler_lib_search_dirs_CXX predep_objects_CXX postdep_objects_CXX predeps_CXX postdeps_CXX compiler_lib_search_path_CXX; do - case `eval \\$ECHO \\""\\$$var"\\"` in - *[\\\`\"\$]*) - eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED \"\$sed_quote_subst\"\`\\\"" - ;; - *) - eval "lt_$var=\\\"\$$var\\\"" - ;; - esac -done - -# Double-quote double-evaled strings. -for var in reload_cmds old_postinstall_cmds old_postuninstall_cmds old_archive_cmds extract_expsyms_cmds old_archive_from_new_cmds old_archive_from_expsyms_cmds archive_cmds archive_expsym_cmds module_cmds module_expsym_cmds export_symbols_cmds prelink_cmds postlink_cmds postinstall_cmds postuninstall_cmds finish_cmds sys_lib_search_path_spec sys_lib_dlsearch_path_spec reload_cmds_CXX old_archive_cmds_CXX old_archive_from_new_cmds_CXX old_archive_from_expsyms_cmds_CXX archive_cmds_CXX archive_expsym_cmds_CXX module_cmds_CXX module_expsym_cmds_CXX export_symbols_cmds_CXX prelink_cmds_CXX postlink_cmds_CXX; do - case `eval \\$ECHO \\""\\$$var"\\"` in - *[\\\`\"\$]*) - eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" - ;; - *) - eval "lt_$var=\\\"\$$var\\\"" - ;; - esac -done - -ac_aux_dir='.' -xsi_shell='yes' -lt_shell_append='yes' - -# See if we are running on zsh, and set the options which allow our -# commands through without removal of \ escapes INIT. -if test -n "${ZSH_VERSION+set}" ; then - setopt NO_GLOB_SUBST -fi - - - PACKAGE='protobuf' - VERSION='2.5.0' - TIMESTAMP='' - RM='rm -f' - ofile='libtool' - - - - - - - -# Handling of arguments. -for ac_config_target in $ac_config_targets -do - case $ac_config_target in - "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; - "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; - "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; - "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; - "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; - "protobuf.pc") CONFIG_FILES="$CONFIG_FILES protobuf.pc" ;; - "protobuf-lite.pc") CONFIG_FILES="$CONFIG_FILES protobuf-lite.pc" ;; - - *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; - esac -done - - -# If the user did not use the arguments to specify the items to instantiate, -# then the envvar interface is used. Set only those that are not. -# We use the long form for the default assignment because of an extremely -# bizarre bug on SunOS 4.1.3. -if $ac_need_defaults; then - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands -fi - -# Have a temporary directory for convenience. Make it in the build tree -# simply because there is no reason against having it here, and in addition, -# creating and moving files from /tmp can sometimes cause problems. -# Hook for its removal unless debugging. -# Note that there is a small window in which the directory will not be cleaned: -# after its creation but before its name has been assigned to `$tmp'. -$debug || -{ - tmp= ac_tmp= - trap 'exit_status=$? - : "${ac_tmp:=$tmp}" - { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status -' 0 - trap 'as_fn_exit 1' 1 2 13 15 -} -# Create a (secure) tmp directory for tmp files. - -{ - tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && - test -d "$tmp" -} || -{ - tmp=./conf$$-$RANDOM - (umask 077 && mkdir "$tmp") -} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 -ac_tmp=$tmp - -# Set up the scripts for CONFIG_FILES section. -# No need to generate them if there are no CONFIG_FILES. -# This happens for instance with `./config.status config.h'. -if test -n "$CONFIG_FILES"; then - - -ac_cr=`echo X | tr X '\015'` -# On cygwin, bash can eat \r inside `` if the user requested igncr. -# But we know of no other shell where ac_cr would be empty at this -# point, so we can use a bashism as a fallback. -if test "x$ac_cr" = x; then - eval ac_cr=\$\'\\r\' -fi -ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` -if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then - ac_cs_awk_cr='\\r' -else - ac_cs_awk_cr=$ac_cr -fi - -echo 'BEGIN {' >"$ac_tmp/subs1.awk" && -cat >>"$ac_tmp/subs1.awk" <<\_ACAWK && -S["am__EXEEXT_FALSE"]="" -S["am__EXEEXT_TRUE"]="#" -S["LTLIBOBJS"]="" -S["subdirs"]=" gtest" -S["PTHREAD_CFLAGS"]="-pthread" -S["PTHREAD_LIBS"]=" -lpthread" -S["PTHREAD_CC"]="gcc" -S["acx_pthread_config"]="" -S["USE_EXTERNAL_PROTOC_FALSE"]="" -S["USE_EXTERNAL_PROTOC_TRUE"]="#" -S["PROTOC"]="" -S["HAVE_ZLIB_FALSE"]="#" -S["HAVE_ZLIB_TRUE"]="" -S["POW_LIB"]="" -S["LIBOBJS"]="" -S["OTOOL64"]="" -S["OTOOL"]="" -S["LIPO"]="" -S["NMEDIT"]="" -S["DSYMUTIL"]="" -S["MANIFEST_TOOL"]=":" -S["RANLIB"]="ranlib" -S["ac_ct_AR"]="ar" -S["AR"]="ar" -S["DLLTOOL"]="false" -S["OBJDUMP"]="objdump" -S["LN_S"]="ln -s" -S["NM"]="/usr/bin/nm -B" -S["ac_ct_DUMPBIN"]="" -S["DUMPBIN"]="" -S["LD"]="/usr/bin/ld -m elf_x86_64" -S["FGREP"]="/bin/grep -F" -S["SED"]="/bin/sed" -S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool" -S["ISAINFO"]="" -S["PROTOBUF_OPT_FLAG"]="-O2" -S["GCC_FALSE"]="#" -S["GCC_TRUE"]="" -S["EGREP"]="/bin/grep -E" -S["GREP"]="/bin/grep" -S["CXXCPP"]="g++ -E" -S["am__fastdepCXX_FALSE"]="#" -S["am__fastdepCXX_TRUE"]="" -S["CXXDEPMODE"]="depmode=gcc3" -S["ac_ct_CXX"]="g++" -S["CXXFLAGS"]=" -g -DNDEBUG" -S["CXX"]="g++" -S["am__fastdepCC_FALSE"]="#" -S["am__fastdepCC_TRUE"]="" -S["CCDEPMODE"]="depmode=gcc3" -S["am__nodep"]="_no" -S["AMDEPBACKSLASH"]="\\" -S["AMDEP_FALSE"]="#" -S["AMDEP_TRUE"]="" -S["am__quote"]="" -S["am__include"]="include" -S["DEPDIR"]=".deps" -S["OBJEXT"]="o" -S["EXEEXT"]="" -S["ac_ct_CC"]="gcc" -S["CPPFLAGS"]="" -S["LDFLAGS"]="" -S["CFLAGS"]="" -S["CC"]="gcc" -S["am__untar"]="$${TAR-tar} xf -" -S["am__tar"]="$${TAR-tar} chof - \"$$tardir\"" -S["AMTAR"]="$${TAR-tar}" -S["am__leading_dot"]="." -S["SET_MAKE"]="" -S["AWK"]="gawk" -S["mkdir_p"]="/bin/mkdir -p" -S["MKDIR_P"]="/bin/mkdir -p" -S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s" -S["STRIP"]="strip" -S["install_sh"]="${SHELL} /tmp/tmp.Y9MHI5h24O/protobuf-2.5.0/install-sh" -S["MAKEINFO"]="${SHELL} /tmp/tmp.Y9MHI5h24O/protobuf-2.5.0/missing --run makeinfo" -S["AUTOHEADER"]="${SHELL} /tmp/tmp.Y9MHI5h24O/protobuf-2.5.0/missing --run autoheader" -S["AUTOMAKE"]="${SHELL} /tmp/tmp.Y9MHI5h24O/protobuf-2.5.0/missing --run automake-1.11" -S["AUTOCONF"]="${SHELL} /tmp/tmp.Y9MHI5h24O/protobuf-2.5.0/missing --run autoconf" -S["ACLOCAL"]="${SHELL} /tmp/tmp.Y9MHI5h24O/protobuf-2.5.0/missing --run aclocal-1.11" -S["VERSION"]="2.5.0" -S["PACKAGE"]="protobuf" -S["CYGPATH_W"]="echo" -S["am__isrc"]="" -S["INSTALL_DATA"]="${INSTALL} -m 644" -S["INSTALL_SCRIPT"]="${INSTALL}" -S["INSTALL_PROGRAM"]="${INSTALL}" -S["target_os"]="linux-gnu" -S["target_vendor"]="unknown" -S["target_cpu"]="x86_64" -S["target"]="x86_64-unknown-linux-gnu" -S["host_os"]="linux-gnu" -S["host_vendor"]="unknown" -S["host_cpu"]="x86_64" -S["host"]="x86_64-unknown-linux-gnu" -S["build_os"]="linux-gnu" -S["build_vendor"]="unknown" -S["build_cpu"]="x86_64" -S["build"]="x86_64-unknown-linux-gnu" -S["MAINT"]="" -S["MAINTAINER_MODE_FALSE"]="#" -S["MAINTAINER_MODE_TRUE"]="" -S["target_alias"]="" -S["host_alias"]="" -S["build_alias"]="" -S["LIBS"]="-lz " -S["ECHO_T"]="" -S["ECHO_N"]="-n" -S["ECHO_C"]="" -S["DEFS"]="-DHAVE_CONFIG_H" -S["mandir"]="${datarootdir}/man" -S["localedir"]="${datarootdir}/locale" -S["libdir"]="${exec_prefix}/lib" -S["psdir"]="${docdir}" -S["pdfdir"]="${docdir}" -S["dvidir"]="${docdir}" -S["htmldir"]="${docdir}" -S["infodir"]="${datarootdir}/info" -S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}" -S["oldincludedir"]="/usr/include" -S["includedir"]="${prefix}/include" -S["localstatedir"]="${prefix}/var" -S["sharedstatedir"]="${prefix}/com" -S["sysconfdir"]="${prefix}/etc" -S["datadir"]="${datarootdir}" -S["datarootdir"]="${prefix}/share" -S["libexecdir"]="${exec_prefix}/libexec" -S["sbindir"]="${exec_prefix}/sbin" -S["bindir"]="${exec_prefix}/bin" -S["program_transform_name"]="s,x,x," -S["prefix"]="/usr/local" -S["exec_prefix"]="${prefix}" -S["PACKAGE_URL"]="" -S["PACKAGE_BUGREPORT"]="protobuf@googlegroups.com" -S["PACKAGE_STRING"]="Protocol Buffers 2.5.0" -S["PACKAGE_VERSION"]="2.5.0" -S["PACKAGE_TARNAME"]="protobuf" -S["PACKAGE_NAME"]="Protocol Buffers" -S["PATH_SEPARATOR"]=":" -S["SHELL"]="/bin/sh" -_ACAWK -cat >>"$ac_tmp/subs1.awk" <<_ACAWK && - for (key in S) S_is_set[key] = 1 - FS = "" - -} -{ - line = $ 0 - nfields = split(line, field, "@") - substed = 0 - len = length(field[1]) - for (i = 2; i < nfields; i++) { - key = field[i] - keylen = length(key) - if (S_is_set[key]) { - value = S[key] - line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) - len += length(value) + length(field[++i]) - substed = 1 - } else - len += 1 + keylen - } - - print line -} - -_ACAWK -if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then - sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" -else - cat -fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ - || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 -fi # test -n "$CONFIG_FILES" - -# Set up the scripts for CONFIG_HEADERS section. -# No need to generate them if there are no CONFIG_HEADERS. -# This happens for instance with `./config.status Makefile'. -if test -n "$CONFIG_HEADERS"; then -cat >"$ac_tmp/defines.awk" <<\_ACAWK || -BEGIN { -D["PACKAGE_NAME"]=" \"Protocol Buffers\"" -D["PACKAGE_TARNAME"]=" \"protobuf\"" -D["PACKAGE_VERSION"]=" \"2.5.0\"" -D["PACKAGE_STRING"]=" \"Protocol Buffers 2.5.0\"" -D["PACKAGE_BUGREPORT"]=" \"protobuf@googlegroups.com\"" -D["PACKAGE_URL"]=" \"\"" -D["PACKAGE"]=" \"protobuf\"" -D["VERSION"]=" \"2.5.0\"" -D["STDC_HEADERS"]=" 1" -D["HAVE_SYS_TYPES_H"]=" 1" -D["HAVE_SYS_STAT_H"]=" 1" -D["HAVE_STDLIB_H"]=" 1" -D["HAVE_STRING_H"]=" 1" -D["HAVE_MEMORY_H"]=" 1" -D["HAVE_STRINGS_H"]=" 1" -D["HAVE_INTTYPES_H"]=" 1" -D["HAVE_STDINT_H"]=" 1" -D["HAVE_UNISTD_H"]=" 1" -D["__EXTENSIONS__"]=" 1" -D["_ALL_SOURCE"]=" 1" -D["_GNU_SOURCE"]=" 1" -D["_POSIX_PTHREAD_SEMANTICS"]=" 1" -D["_TANDEM_SOURCE"]=" 1" -D["HAVE_DLFCN_H"]=" 1" -D["LT_OBJDIR"]=" \".libs/\"" -D["STDC_HEADERS"]=" 1" -D["HAVE_FCNTL_H"]=" 1" -D["HAVE_INTTYPES_H"]=" 1" -D["HAVE_LIMITS_H"]=" 1" -D["HAVE_STDLIB_H"]=" 1" -D["HAVE_UNISTD_H"]=" 1" -D["HAVE_FTRUNCATE"]=" 1" -D["HAVE_MEMSET"]=" 1" -D["HAVE_MKDIR"]=" 1" -D["HAVE_STRCHR"]=" 1" -D["HAVE_STRERROR"]=" 1" -D["HAVE_STRTOL"]=" 1" -D["HAVE_ZLIB"]=" 1" -D["HAVE_PTHREAD"]=" 1" -D["HAVE_HASH_MAP"]=" 1" -D["HAVE_HASH_SET"]=" 1" -D["HASH_MAP_H"]=" " -D["HASH_SET_H"]=" " -D["HASH_NAMESPACE"]=" std::tr1" -D["HASH_MAP_CLASS"]=" unordered_map" -D["HASH_SET_CLASS"]=" unordered_set" - for (key in D) D_is_set[key] = 1 - FS = "" -} -/^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ { - line = $ 0 - split(line, arg, " ") - if (arg[1] == "#") { - defundef = arg[2] - mac1 = arg[3] - } else { - defundef = substr(arg[1], 2) - mac1 = arg[2] - } - split(mac1, mac2, "(") #) - macro = mac2[1] - prefix = substr(line, 1, index(line, defundef) - 1) - if (D_is_set[macro]) { - # Preserve the white space surrounding the "#". - print prefix "define", macro P[macro] D[macro] - next - } else { - # Replace #undef with comments. This is necessary, for example, - # in the case of _POSIX_SOURCE, which is predefined and required - # on some systems where configure will not decide to define it. - if (defundef == "undef") { - print "/*", prefix defundef, macro, "*/" - next - } - } -} -{ print } -_ACAWK - as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 -fi # test -n "$CONFIG_HEADERS" - - -eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" -shift -for ac_tag -do - case $ac_tag in - :[FHLC]) ac_mode=$ac_tag; continue;; - esac - case $ac_mode$ac_tag in - :[FHL]*:*);; - :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; - :[FH]-) ac_tag=-:-;; - :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; - esac - ac_save_IFS=$IFS - IFS=: - set x $ac_tag - IFS=$ac_save_IFS - shift - ac_file=$1 - shift - - case $ac_mode in - :L) ac_source=$1;; - :[FH]) - ac_file_inputs= - for ac_f - do - case $ac_f in - -) ac_f="$ac_tmp/stdin";; - *) # Look for the file first in the build tree, then in the source tree - # (if the path is not absolute). The absolute path cannot be DOS-style, - # because $ac_f cannot contain `:'. - test -f "$ac_f" || - case $ac_f in - [\\/$]*) false;; - *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; - esac || - as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; - esac - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac - as_fn_append ac_file_inputs " '$ac_f'" - done - - # Let's still pretend it is `configure' which instantiates (i.e., don't - # use $as_me), people would be surprised to read: - # /* config.h. Generated by config.status. */ - configure_input='Generated from '` - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' - `' by configure.' - if test x"$ac_file" != x-; then - configure_input="$ac_file. $configure_input" - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 -$as_echo "$as_me: creating $ac_file" >&6;} - fi - # Neutralize special characters interpreted by sed in replacement strings. - case $configure_input in #( - *\&* | *\|* | *\\* ) - ac_sed_conf_input=`$as_echo "$configure_input" | - sed 's/[\\\\&|]/\\\\&/g'`;; #( - *) ac_sed_conf_input=$configure_input;; - esac - - case $ac_tag in - *:-:* | *:-) cat >"$ac_tmp/stdin" \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; - esac - ;; - esac - - ac_dir=`$as_dirname -- "$ac_file" || -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$ac_file" : 'X\(//\)[^/]' \| \ - X"$ac_file" : 'X\(//\)$' \| \ - X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$ac_file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - as_dir="$ac_dir"; as_fn_mkdir_p - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - - case $ac_mode in - :F) - # - # CONFIG_FILE - # - - case $INSTALL in - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; - *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; - esac - ac_MKDIR_P=$MKDIR_P - case $MKDIR_P in - [\\/$]* | ?:[\\/]* ) ;; - */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; - esac -# If the template does not know about datarootdir, expand it. -# FIXME: This hack should be removed a few years after 2.60. -ac_datarootdir_hack=; ac_datarootdir_seen= -ac_sed_dataroot=' -/datarootdir/ { - p - q -} -/@datadir@/p -/@docdir@/p -/@infodir@/p -/@localedir@/p -/@mandir@/p' -case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in -*datarootdir*) ac_datarootdir_seen=yes;; -*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} - ac_datarootdir_hack=' - s&@datadir@&${datarootdir}&g - s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g - s&@infodir@&${datarootdir}/info&g - s&@localedir@&${datarootdir}/locale&g - s&@mandir@&${datarootdir}/man&g - s&\${datarootdir}&${prefix}/share&g' ;; -esac -ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{ -h -s/// -s/^/:/ -s/[ ]*$/:/ -s/:\$(srcdir):/:/g -s/:\${srcdir}:/:/g -s/:@srcdir@:/:/g -s/^:*// -s/:*$// -x -s/\(=[ ]*\).*/\1/ -G -s/\n// -s/^[^=]*=[ ]*$// -} - -:t -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -s|@configure_input@|$ac_sed_conf_input|;t t -s&@top_builddir@&$ac_top_builddir_sub&;t t -s&@top_build_prefix@&$ac_top_build_prefix&;t t -s&@srcdir@&$ac_srcdir&;t t -s&@abs_srcdir@&$ac_abs_srcdir&;t t -s&@top_srcdir@&$ac_top_srcdir&;t t -s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t -s&@builddir@&$ac_builddir&;t t -s&@abs_builddir@&$ac_abs_builddir&;t t -s&@abs_top_builddir@&$ac_abs_top_builddir&;t t -s&@INSTALL@&$ac_INSTALL&;t t -s&@MKDIR_P@&$ac_MKDIR_P&;t t -$ac_datarootdir_hack -" -eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ - >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 - -test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && - { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ - "$ac_tmp/out"`; test -z "$ac_out"; } && - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined" >&5 -$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined" >&2;} - - rm -f "$ac_tmp/stdin" - case $ac_file in - -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; - *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; - esac \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 - ;; - :H) - # - # CONFIG_HEADER - # - if test x"$ac_file" != x-; then - { - $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" - } >"$ac_tmp/config.h" \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 - if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 -$as_echo "$as_me: $ac_file is unchanged" >&6;} - else - rm -f "$ac_file" - mv "$ac_tmp/config.h" "$ac_file" \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 - fi - else - $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ - || as_fn_error $? "could not create -" "$LINENO" 5 - fi -# Compute "$ac_file"'s index in $config_headers. -_am_arg="$ac_file" -_am_stamp_count=1 -for _am_header in $config_headers :; do - case $_am_header in - $_am_arg | $_am_arg:* ) - break ;; - * ) - _am_stamp_count=`expr $_am_stamp_count + 1` ;; - esac -done -echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || -$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$_am_arg" : 'X\(//\)[^/]' \| \ - X"$_am_arg" : 'X\(//\)$' \| \ - X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$_am_arg" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'`/stamp-h$_am_stamp_count - ;; - - :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 -$as_echo "$as_me: executing $ac_file commands" >&6;} - ;; - esac - - - case $ac_file$ac_mode in - "depfiles":C) test x"$AMDEP_TRUE" != x"" || { - # Autoconf 2.62 quotes --file arguments for eval, but not when files - # are listed without --file. Let's play safe and only enable the eval - # if we detect the quoting. - case $CONFIG_FILES in - *\'*) eval set x "$CONFIG_FILES" ;; - *) set x $CONFIG_FILES ;; - esac - shift - for mf - do - # Strip MF so we end up with the name of the file. - mf=`echo "$mf" | sed -e 's/:.*$//'` - # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named `Makefile.in', but - # some people rename them; so instead we look at the file content. - # Grep'ing the first line is not enough: some people post-process - # each Makefile.in and add a new line on top of each file to say so. - # Grep'ing the whole file is not good either: AIX grep has a line - # limit of 2048, but all sed's we know have understand at least 4000. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then - dirpart=`$as_dirname -- "$mf" || -$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$mf" : 'X\(//\)[^/]' \| \ - X"$mf" : 'X\(//\)$' \| \ - X"$mf" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$mf" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - else - continue - fi - # Extract the definition of DEPDIR, am__include, and am__quote - # from the Makefile without running `make'. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` - test -z "$DEPDIR" && continue - am__include=`sed -n 's/^am__include = //p' < "$mf"` - test -z "am__include" && continue - am__quote=`sed -n 's/^am__quote = //p' < "$mf"` - # When using ansi2knr, U may be empty or an underscore; expand it - U=`sed -n 's/^U = //p' < "$mf"` - # Find all dependency output files, they are included files with - # $(DEPDIR) in their names. We invoke sed twice because it is the - # simplest approach to changing $(DEPDIR) to its actual value in the - # expansion. - for file in `sed -n " - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do - # Make sure the directory exists. - test -f "$dirpart/$file" && continue - fdir=`$as_dirname -- "$file" || -$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$file" : 'X\(//\)[^/]' \| \ - X"$file" : 'X\(//\)$' \| \ - X"$file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - as_dir=$dirpart/$fdir; as_fn_mkdir_p - # echo "creating $dirpart/$file" - echo '# dummy' > "$dirpart/$file" - done - done -} - ;; - "libtool":C) - - # See if we are running on zsh, and set the options which allow our - # commands through without removal of \ escapes. - if test -n "${ZSH_VERSION+set}" ; then - setopt NO_GLOB_SUBST - fi - - cfgfile="${ofile}T" - trap "$RM \"$cfgfile\"; exit 1" 1 2 15 - $RM "$cfgfile" - - cat <<_LT_EOF >> "$cfgfile" -#! $SHELL - -# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. -# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: -# NOTE: Changes made to this file will be lost: look at ltmain.sh. -# -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, -# 2006, 2007, 2008, 2009, 2010, 2011 Free Software -# Foundation, Inc. -# Written by Gordon Matzigkeit, 1996 -# -# This file is part of GNU Libtool. -# -# GNU Libtool is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of -# the License, or (at your option) any later version. -# -# As a special exception to the GNU General Public License, -# if you distribute this file as part of a program or library that -# is built using GNU Libtool, you may include this file under the -# same distribution terms that you use for the rest of that program. -# -# GNU Libtool is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with GNU Libtool; see the file COPYING. If not, a copy -# can be downloaded from http://www.gnu.org/licenses/gpl.html, or -# obtained by writing to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -# The names of the tagged configurations supported by this script. -available_tags="CXX " - -# ### BEGIN LIBTOOL CONFIG - -# Which release of libtool.m4 was used? -macro_version=$macro_version -macro_revision=$macro_revision - -# Whether or not to build shared libraries. -build_libtool_libs=$enable_shared - -# Whether or not to build static libraries. -build_old_libs=$enable_static - -# What type of objects to build. -pic_mode=$pic_mode - -# Whether or not to optimize for fast installation. -fast_install=$enable_fast_install - -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL - -# An echo program that protects backslashes. -ECHO=$lt_ECHO - -# The PATH separator for the build system. -PATH_SEPARATOR=$lt_PATH_SEPARATOR - -# The host system. -host_alias=$host_alias -host=$host -host_os=$host_os - -# The build system. -build_alias=$build_alias -build=$build -build_os=$build_os - -# A sed program that does not truncate output. -SED=$lt_SED - -# Sed that helps us avoid accidentally triggering echo(1) options like -n. -Xsed="\$SED -e 1s/^X//" - -# A grep program that handles long lines. -GREP=$lt_GREP - -# An ERE matcher. -EGREP=$lt_EGREP - -# A literal string matcher. -FGREP=$lt_FGREP - -# A BSD- or MS-compatible name lister. -NM=$lt_NM - -# Whether we need soft or hard links. -LN_S=$lt_LN_S - -# What is the maximum length of a command? -max_cmd_len=$max_cmd_len - -# Object file suffix (normally "o"). -objext=$ac_objext - -# Executable file suffix (normally ""). -exeext=$exeext - -# whether the shell understands "unset". -lt_unset=$lt_unset - -# turn spaces into newlines. -SP2NL=$lt_lt_SP2NL - -# turn newlines into spaces. -NL2SP=$lt_lt_NL2SP - -# convert \$build file names to \$host format. -to_host_file_cmd=$lt_cv_to_host_file_cmd - -# convert \$build files to toolchain format. -to_tool_file_cmd=$lt_cv_to_tool_file_cmd - -# An object symbol dumper. -OBJDUMP=$lt_OBJDUMP - -# Method to check whether dependent libraries are shared objects. -deplibs_check_method=$lt_deplibs_check_method - -# Command to use when deplibs_check_method = "file_magic". -file_magic_cmd=$lt_file_magic_cmd - -# How to find potential files when deplibs_check_method = "file_magic". -file_magic_glob=$lt_file_magic_glob - -# Find potential files using nocaseglob when deplibs_check_method = "file_magic". -want_nocaseglob=$lt_want_nocaseglob - -# DLL creation program. -DLLTOOL=$lt_DLLTOOL - -# Command to associate shared and link libraries. -sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd - -# The archiver. -AR=$lt_AR - -# Flags to create an archive. -AR_FLAGS=$lt_AR_FLAGS - -# How to feed a file listing to the archiver. -archiver_list_spec=$lt_archiver_list_spec - -# A symbol stripping program. -STRIP=$lt_STRIP - -# Commands used to install an old-style archive. -RANLIB=$lt_RANLIB -old_postinstall_cmds=$lt_old_postinstall_cmds -old_postuninstall_cmds=$lt_old_postuninstall_cmds - -# Whether to use a lock for old archive extraction. -lock_old_archive_extraction=$lock_old_archive_extraction - -# A C compiler. -LTCC=$lt_CC - -# LTCC compiler flags. -LTCFLAGS=$lt_CFLAGS - -# Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe - -# Transform the output of nm in a proper C declaration. -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl - -# Transform the output of nm in a C name address pair. -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address - -# Transform the output of nm in a C name address pair when lib prefix is needed. -global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix - -# Specify filename containing input files for \$NM. -nm_file_list_spec=$lt_nm_file_list_spec - -# The root where to search for dependent libraries,and in which our libraries should be installed. -lt_sysroot=$lt_sysroot - -# The name of the directory that contains temporary libtool files. -objdir=$objdir - -# Used to examine libraries when file_magic_cmd begins with "file". -MAGIC_CMD=$MAGIC_CMD - -# Must we lock files when doing compilation? -need_locks=$lt_need_locks - -# Manifest tool. -MANIFEST_TOOL=$lt_MANIFEST_TOOL - -# Tool to manipulate archived DWARF debug symbol files on Mac OS X. -DSYMUTIL=$lt_DSYMUTIL - -# Tool to change global to local symbols on Mac OS X. -NMEDIT=$lt_NMEDIT - -# Tool to manipulate fat objects and archives on Mac OS X. -LIPO=$lt_LIPO - -# ldd/readelf like tool for Mach-O binaries on Mac OS X. -OTOOL=$lt_OTOOL - -# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. -OTOOL64=$lt_OTOOL64 - -# Old archive suffix (normally "a"). -libext=$libext - -# Shared library suffix (normally ".so"). -shrext_cmds=$lt_shrext_cmds - -# The commands to extract the exported symbol list from a shared archive. -extract_expsyms_cmds=$lt_extract_expsyms_cmds - -# Variables whose values should be saved in libtool wrapper scripts and -# restored at link time. -variables_saved_for_relink=$lt_variables_saved_for_relink - -# Do we need the "lib" prefix for modules? -need_lib_prefix=$need_lib_prefix - -# Do we need a version for libraries? -need_version=$need_version - -# Library versioning type. -version_type=$version_type - -# Shared library runtime path variable. -runpath_var=$runpath_var - -# Shared library path variable. -shlibpath_var=$shlibpath_var - -# Is shlibpath searched before the hard-coded library search path? -shlibpath_overrides_runpath=$shlibpath_overrides_runpath - -# Format of library name prefix. -libname_spec=$lt_libname_spec - -# List of archive names. First name is the real one, the rest are links. -# The last name is the one that the linker finds with -lNAME -library_names_spec=$lt_library_names_spec - -# The coded name of the library, if different from the real name. -soname_spec=$lt_soname_spec - -# Permission mode override for installation of shared libraries. -install_override_mode=$lt_install_override_mode - -# Command to use after installation of a shared archive. -postinstall_cmds=$lt_postinstall_cmds - -# Command to use after uninstallation of a shared archive. -postuninstall_cmds=$lt_postuninstall_cmds - -# Commands used to finish a libtool library installation in a directory. -finish_cmds=$lt_finish_cmds - -# As "finish_cmds", except a single script fragment to be evaled but -# not shown. -finish_eval=$lt_finish_eval - -# Whether we should hardcode library paths into libraries. -hardcode_into_libs=$hardcode_into_libs - -# Compile-time system search path for libraries. -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec - -# Run-time system search path for libraries. -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec - -# Whether dlopen is supported. -dlopen_support=$enable_dlopen - -# Whether dlopen of programs is supported. -dlopen_self=$enable_dlopen_self - -# Whether dlopen of statically linked programs is supported. -dlopen_self_static=$enable_dlopen_self_static - -# Commands to strip libraries. -old_striplib=$lt_old_striplib -striplib=$lt_striplib - - -# The linker used to build libraries. -LD=$lt_LD - -# How to create reloadable object files. -reload_flag=$lt_reload_flag -reload_cmds=$lt_reload_cmds - -# Commands used to build an old-style archive. -old_archive_cmds=$lt_old_archive_cmds - -# A language specific compiler. -CC=$lt_compiler - -# Is the compiler the GNU compiler? -with_gcc=$GCC - -# Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag - -# Additional compiler flags for building library objects. -pic_flag=$lt_lt_prog_compiler_pic - -# How to pass a linker flag through the compiler. -wl=$lt_lt_prog_compiler_wl - -# Compiler flag to prevent dynamic linking. -link_static_flag=$lt_lt_prog_compiler_static - -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_lt_cv_prog_compiler_c_o - -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$archive_cmds_need_lc - -# Whether or not to disallow shared libs when runtime libs are static. -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes - -# Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec - -# Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec - -# Whether the compiler copes with passing no objects directly. -compiler_needs_object=$lt_compiler_needs_object - -# Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds - -# Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds - -# Commands used to build a shared archive. -archive_cmds=$lt_archive_cmds -archive_expsym_cmds=$lt_archive_expsym_cmds - -# Commands used to build a loadable module if different from building -# a shared archive. -module_cmds=$lt_module_cmds -module_expsym_cmds=$lt_module_expsym_cmds - -# Whether we are building with GNU ld or not. -with_gnu_ld=$lt_with_gnu_ld - -# Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag - -# Flag that enforces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag - -# Flag to hardcode \$libdir into a binary during linking. -# This must work even if \$libdir does not exist -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec - -# Whether we need a single "-rpath" flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator - -# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes -# DIR into the resulting binary. -hardcode_direct=$hardcode_direct - -# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes -# DIR into the resulting binary and the resulting library dependency is -# "absolute",i.e impossible to change by setting \${shlibpath_var} if the -# library is relocated. -hardcode_direct_absolute=$hardcode_direct_absolute - -# Set to "yes" if using the -LDIR flag during linking hardcodes DIR -# into the resulting binary. -hardcode_minus_L=$hardcode_minus_L - -# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR -# into the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var - -# Set to "yes" if building a shared library automatically hardcodes DIR -# into the library and all subsequent libraries and executables linked -# against it. -hardcode_automatic=$hardcode_automatic - -# Set to yes if linker adds runtime paths of dependent libraries -# to runtime path list. -inherit_rpath=$inherit_rpath - -# Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs - -# Set to "yes" if exported symbols are required. -always_export_symbols=$always_export_symbols - -# The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds - -# Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms - -# Symbols that must always be exported. -include_expsyms=$lt_include_expsyms - -# Commands necessary for linking programs (against libraries) with templates. -prelink_cmds=$lt_prelink_cmds - -# Commands necessary for finishing linking programs. -postlink_cmds=$lt_postlink_cmds - -# Specify filename containing input files. -file_list_spec=$lt_file_list_spec - -# How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action - -# The directories searched by this compiler when creating a shared library. -compiler_lib_search_dirs=$lt_compiler_lib_search_dirs - -# Dependencies to place before and after the objects being linked to -# create a shared library. -predep_objects=$lt_predep_objects -postdep_objects=$lt_postdep_objects -predeps=$lt_predeps -postdeps=$lt_postdeps - -# The library search path used internally by the compiler when linking -# a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path - -# ### END LIBTOOL CONFIG - -_LT_EOF - - case $host_os in - aix3*) - cat <<\_LT_EOF >> "$cfgfile" -# AIX sometimes has problems with the GCC collect2 program. For some -# reason, if we set the COLLECT_NAMES environment variable, the problems -# vanish in a puff of smoke. -if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES -fi -_LT_EOF - ;; - esac - - -ltmain="$ac_aux_dir/ltmain.sh" - - - # We use sed instead of cat because bash on DJGPP gets confused if - # if finds mixed CR/LF and LF-only lines. Since sed operates in - # text mode, it properly converts lines to CR/LF. This bash problem - # is reportedly fixed, but why not run on old versions too? - sed '$q' "$ltmain" >> "$cfgfile" \ - || (rm -f "$cfgfile"; exit 1) - - if test x"$xsi_shell" = xyes; then - sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ -func_dirname ()\ -{\ -\ case ${1} in\ -\ */*) func_dirname_result="${1%/*}${2}" ;;\ -\ * ) func_dirname_result="${3}" ;;\ -\ esac\ -} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - sed -e '/^func_basename ()$/,/^} # func_basename /c\ -func_basename ()\ -{\ -\ func_basename_result="${1##*/}"\ -} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ -func_dirname_and_basename ()\ -{\ -\ case ${1} in\ -\ */*) func_dirname_result="${1%/*}${2}" ;;\ -\ * ) func_dirname_result="${3}" ;;\ -\ esac\ -\ func_basename_result="${1##*/}"\ -} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ -func_stripname ()\ -{\ -\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ -\ # positional parameters, so assign one to ordinary parameter first.\ -\ func_stripname_result=${3}\ -\ func_stripname_result=${func_stripname_result#"${1}"}\ -\ func_stripname_result=${func_stripname_result%"${2}"}\ -} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ -func_split_long_opt ()\ -{\ -\ func_split_long_opt_name=${1%%=*}\ -\ func_split_long_opt_arg=${1#*=}\ -} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ -func_split_short_opt ()\ -{\ -\ func_split_short_opt_arg=${1#??}\ -\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ -} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ -func_lo2o ()\ -{\ -\ case ${1} in\ -\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ -\ *) func_lo2o_result=${1} ;;\ -\ esac\ -} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - sed -e '/^func_xform ()$/,/^} # func_xform /c\ -func_xform ()\ -{\ - func_xform_result=${1%.*}.lo\ -} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - sed -e '/^func_arith ()$/,/^} # func_arith /c\ -func_arith ()\ -{\ - func_arith_result=$(( $* ))\ -} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - sed -e '/^func_len ()$/,/^} # func_len /c\ -func_len ()\ -{\ - func_len_result=${#1}\ -} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - -fi - -if test x"$lt_shell_append" = xyes; then - sed -e '/^func_append ()$/,/^} # func_append /c\ -func_append ()\ -{\ - eval "${1}+=\\${2}"\ -} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ -func_append_quoted ()\ -{\ -\ func_quote_for_eval "${2}"\ -\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ -} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - # Save a `func_append' function call where possible by direct use of '+=' - sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") - test 0 -eq $? || _lt_function_replace_fail=: -else - # Save a `func_append' function call even when '+=' is not available - sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") - test 0 -eq $? || _lt_function_replace_fail=: -fi - -if test x"$_lt_function_replace_fail" = x":"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 -$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} -fi - - - mv -f "$cfgfile" "$ofile" || - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") - chmod +x "$ofile" - - - cat <<_LT_EOF >> "$ofile" - -# ### BEGIN LIBTOOL TAG CONFIG: CXX - -# The linker used to build libraries. -LD=$lt_LD_CXX - -# How to create reloadable object files. -reload_flag=$lt_reload_flag_CXX -reload_cmds=$lt_reload_cmds_CXX - -# Commands used to build an old-style archive. -old_archive_cmds=$lt_old_archive_cmds_CXX - -# A language specific compiler. -CC=$lt_compiler_CXX - -# Is the compiler the GNU compiler? -with_gcc=$GCC_CXX - -# Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX - -# Additional compiler flags for building library objects. -pic_flag=$lt_lt_prog_compiler_pic_CXX - -# How to pass a linker flag through the compiler. -wl=$lt_lt_prog_compiler_wl_CXX - -# Compiler flag to prevent dynamic linking. -link_static_flag=$lt_lt_prog_compiler_static_CXX - -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX - -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$archive_cmds_need_lc_CXX - -# Whether or not to disallow shared libs when runtime libs are static. -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX - -# Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX - -# Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX - -# Whether the compiler copes with passing no objects directly. -compiler_needs_object=$lt_compiler_needs_object_CXX - -# Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX - -# Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX - -# Commands used to build a shared archive. -archive_cmds=$lt_archive_cmds_CXX -archive_expsym_cmds=$lt_archive_expsym_cmds_CXX - -# Commands used to build a loadable module if different from building -# a shared archive. -module_cmds=$lt_module_cmds_CXX -module_expsym_cmds=$lt_module_expsym_cmds_CXX - -# Whether we are building with GNU ld or not. -with_gnu_ld=$lt_with_gnu_ld_CXX - -# Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag_CXX - -# Flag that enforces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag_CXX - -# Flag to hardcode \$libdir into a binary during linking. -# This must work even if \$libdir does not exist -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX - -# Whether we need a single "-rpath" flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX - -# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes -# DIR into the resulting binary. -hardcode_direct=$hardcode_direct_CXX - -# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes -# DIR into the resulting binary and the resulting library dependency is -# "absolute",i.e impossible to change by setting \${shlibpath_var} if the -# library is relocated. -hardcode_direct_absolute=$hardcode_direct_absolute_CXX - -# Set to "yes" if using the -LDIR flag during linking hardcodes DIR -# into the resulting binary. -hardcode_minus_L=$hardcode_minus_L_CXX - -# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR -# into the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX - -# Set to "yes" if building a shared library automatically hardcodes DIR -# into the library and all subsequent libraries and executables linked -# against it. -hardcode_automatic=$hardcode_automatic_CXX - -# Set to yes if linker adds runtime paths of dependent libraries -# to runtime path list. -inherit_rpath=$inherit_rpath_CXX - -# Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs_CXX - -# Set to "yes" if exported symbols are required. -always_export_symbols=$always_export_symbols_CXX - -# The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds_CXX - -# Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms_CXX - -# Symbols that must always be exported. -include_expsyms=$lt_include_expsyms_CXX - -# Commands necessary for linking programs (against libraries) with templates. -prelink_cmds=$lt_prelink_cmds_CXX - -# Commands necessary for finishing linking programs. -postlink_cmds=$lt_postlink_cmds_CXX - -# Specify filename containing input files. -file_list_spec=$lt_file_list_spec_CXX - -# How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action_CXX - -# The directories searched by this compiler when creating a shared library. -compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX - -# Dependencies to place before and after the objects being linked to -# create a shared library. -predep_objects=$lt_predep_objects_CXX -postdep_objects=$lt_postdep_objects_CXX -predeps=$lt_predeps_CXX -postdeps=$lt_postdeps_CXX - -# The library search path used internally by the compiler when linking -# a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path_CXX - -# ### END LIBTOOL TAG CONFIG: CXX -_LT_EOF - - ;; - - esac -done # for ac_tag - - -as_fn_exit 0 diff --git a/third_party/protobuf/gtest/config.log b/third_party/protobuf/gtest/config.log deleted file mode 100644 index 570f0afa..00000000 --- a/third_party/protobuf/gtest/config.log +++ /dev/null @@ -1,1020 +0,0 @@ -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. - -It was created by Google C++ Testing Framework configure 1.6.0, which was -generated by GNU Autoconf 2.68. Invocation command line was - - $ ./configure --disable-option-checking --prefix=/usr/local --cache-file=/dev/null --srcdir=. - -## --------- ## -## Platform. ## -## --------- ## - -hostname = horcrux.kir.corp.google.com -uname -m = x86_64 -uname -r = 3.13.0-53-generic -uname -s = Linux -uname -v = #89-Ubuntu SMP Wed May 20 10:34:39 UTC 2015 - -/usr/bin/uname -p = unknown -/bin/uname -X = unknown - -/bin/arch = unknown -/usr/bin/arch -k = unknown -/usr/convex/getsysinfo = unknown -/usr/bin/hostinfo = unknown -/bin/machine = unknown -/usr/bin/oslevel = unknown -/bin/universe = unknown - -PATH: /usr/local/google/home/joeyparrish/hacking/steel/external/chromium/third_party/llvm-build/Release+Asserts/bin -PATH: /usr/lib/google-golang/bin -PATH: /usr/local/buildtools/java/jdk/bin -PATH: /usr/local/sbin -PATH: /usr/local/bin -PATH: /usr/sbin -PATH: /usr/bin -PATH: /sbin -PATH: /bin -PATH: /usr/local/google/home/joeyparrish/hacking/depot_tools - - -## ----------- ## -## Core tests. ## -## ----------- ## - -configure:2293: checking for a BSD-compatible install -configure:2361: result: /usr/bin/install -c -configure:2372: checking whether build environment is sane -configure:2422: result: yes -configure:2563: checking for a thread-safe mkdir -p -configure:2602: result: /bin/mkdir -p -configure:2615: checking for gawk -configure:2631: found /usr/bin/gawk -configure:2642: result: gawk -configure:2653: checking whether make sets $(MAKE) -configure:2675: result: yes -configure:2805: checking for gcc -configure:2821: found /usr/bin/gcc -configure:2832: result: gcc -configure:3061: checking for C compiler version -configure:3070: gcc --version >&5 -gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2 -Copyright (C) 2013 Free Software Foundation, Inc. -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -configure:3081: $? = 0 -configure:3070: gcc -v >&5 -Using built-in specs. -COLLECT_GCC=gcc -COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper -Target: x86_64-linux-gnu -Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.2-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu -Thread model: posix -gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) -configure:3081: $? = 0 -configure:3070: gcc -V >&5 -gcc: error: unrecognized command line option '-V' -gcc: fatal error: no input files -compilation terminated. -configure:3081: $? = 4 -configure:3070: gcc -qversion >&5 -gcc: error: unrecognized command line option '-qversion' -gcc: fatal error: no input files -compilation terminated. -configure:3081: $? = 4 -configure:3101: checking whether the C compiler works -configure:3123: gcc conftest.c >&5 -configure:3127: $? = 0 -configure:3175: result: yes -configure:3178: checking for C compiler default output file name -configure:3180: result: a.out -configure:3186: checking for suffix of executables -configure:3193: gcc -o conftest conftest.c >&5 -configure:3197: $? = 0 -configure:3219: result: -configure:3241: checking whether we are cross compiling -configure:3249: gcc -o conftest conftest.c >&5 -configure:3253: $? = 0 -configure:3260: ./conftest -configure:3264: $? = 0 -configure:3279: result: no -configure:3284: checking for suffix of object files -configure:3306: gcc -c conftest.c >&5 -configure:3310: $? = 0 -configure:3331: result: o -configure:3335: checking whether we are using the GNU C compiler -configure:3354: gcc -c conftest.c >&5 -configure:3354: $? = 0 -configure:3363: result: yes -configure:3372: checking whether gcc accepts -g -configure:3392: gcc -c -g conftest.c >&5 -configure:3392: $? = 0 -configure:3433: result: yes -configure:3450: checking for gcc option to accept ISO C89 -configure:3514: gcc -c conftest.c >&5 -configure:3514: $? = 0 -configure:3527: result: none needed -configure:3558: checking for style of include used by make -configure:3586: result: GNU -configure:3612: checking dependency style of gcc -configure:3723: result: gcc3 -configure:3796: checking for g++ -configure:3812: found /usr/bin/g++ -configure:3823: result: g++ -configure:3850: checking for C++ compiler version -configure:3859: g++ --version >&5 -g++ (Ubuntu 4.8.2-19ubuntu1) 4.8.2 -Copyright (C) 2013 Free Software Foundation, Inc. -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -configure:3870: $? = 0 -configure:3859: g++ -v >&5 -Using built-in specs. -COLLECT_GCC=g++ -COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper -Target: x86_64-linux-gnu -Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.2-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu -Thread model: posix -gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) -configure:3870: $? = 0 -configure:3859: g++ -V >&5 -g++: error: unrecognized command line option '-V' -g++: fatal error: no input files -compilation terminated. -configure:3870: $? = 4 -configure:3859: g++ -qversion >&5 -g++: error: unrecognized command line option '-qversion' -g++: fatal error: no input files -compilation terminated. -configure:3870: $? = 4 -configure:3874: checking whether we are using the GNU C++ compiler -configure:3893: g++ -c -g -DNDEBUG conftest.cpp >&5 -configure:3893: $? = 0 -configure:3902: result: yes -configure:3911: checking whether g++ accepts -g -configure:3931: g++ -c -g conftest.cpp >&5 -configure:3931: $? = 0 -configure:3972: result: yes -configure:3997: checking dependency style of g++ -configure:4108: result: gcc3 -configure:4158: checking build system type -configure:4172: result: x86_64-unknown-linux-gnu -configure:4192: checking host system type -configure:4205: result: x86_64-unknown-linux-gnu -configure:4246: checking how to print strings -configure:4273: result: printf -configure:4294: checking for a sed that does not truncate output -configure:4358: result: /bin/sed -configure:4376: checking for grep that handles long lines and -e -configure:4434: result: /bin/grep -configure:4439: checking for egrep -configure:4501: result: /bin/grep -E -configure:4506: checking for fgrep -configure:4568: result: /bin/grep -F -configure:4603: checking for ld used by gcc -configure:4670: result: /usr/bin/ld -configure:4677: checking if the linker (/usr/bin/ld) is GNU ld -configure:4692: result: yes -configure:4704: checking for BSD- or MS-compatible name lister (nm) -configure:4753: result: /usr/bin/nm -B -configure:4883: checking the name lister (/usr/bin/nm -B) interface -configure:4890: g++ -c -g -DNDEBUG conftest.cpp >&5 -configure:4893: /usr/bin/nm -B "conftest.o" -configure:4896: output -0000000000000000 B some_variable -configure:4903: result: BSD nm -configure:4906: checking whether ln -s works -configure:4910: result: yes -configure:4918: checking the maximum length of command line arguments -configure:5048: result: 1572864 -configure:5065: checking whether the shell understands some XSI constructs -configure:5075: result: yes -configure:5079: checking whether the shell understands "+=" -configure:5085: result: yes -configure:5120: checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format -configure:5160: result: func_convert_file_noop -configure:5167: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format -configure:5187: result: func_convert_file_noop -configure:5194: checking for /usr/bin/ld option to reload object files -configure:5201: result: -r -configure:5275: checking for objdump -configure:5291: found /usr/bin/objdump -configure:5302: result: objdump -configure:5334: checking how to recognize dependent libraries -configure:5536: result: pass_all -configure:5621: checking for dlltool -configure:5651: result: no -configure:5681: checking how to associate runtime and link libraries -configure:5708: result: printf %s\n -configure:5769: checking for ar -configure:5785: found /usr/bin/ar -configure:5796: result: ar -configure:5833: checking for archiver @FILE support -configure:5850: g++ -c -g -DNDEBUG conftest.cpp >&5 -configure:5850: $? = 0 -configure:5853: ar cru libconftest.a @conftest.lst >&5 -configure:5856: $? = 0 -configure:5861: ar cru libconftest.a @conftest.lst >&5 -ar: conftest.o: No such file or directory -configure:5864: $? = 1 -configure:5876: result: @ -configure:5934: checking for strip -configure:5950: found /usr/bin/strip -configure:5961: result: strip -configure:6033: checking for ranlib -configure:6049: found /usr/bin/ranlib -configure:6060: result: ranlib -configure:6162: checking command to parse /usr/bin/nm -B output from gcc object -configure:6282: g++ -c -g -DNDEBUG conftest.cpp >&5 -configure:6285: $? = 0 -configure:6289: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm -configure:6292: $? = 0 -configure:6358: g++ -o conftest -g -DNDEBUG conftest.cpp conftstm.o >&5 -configure:6361: $? = 0 -configure:6399: result: ok -configure:6436: checking for sysroot -configure:6466: result: no -configure:6544: g++ -c -g -DNDEBUG conftest.cpp >&5 -configure:6547: $? = 0 -configure:6723: checking for mt -configure:6739: found /bin/mt -configure:6750: result: mt -configure:6773: checking if mt is a manifest tool -configure:6779: mt '-?' -configure:6787: result: no -configure:7429: checking how to run the C preprocessor -configure:7460: gcc -E conftest.c -configure:7460: $? = 0 -configure:7474: gcc -E conftest.c -conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory - #include - ^ -compilation terminated. -configure:7474: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "Google C++ Testing Framework" -| #define PACKAGE_TARNAME "gtest" -| #define PACKAGE_VERSION "1.6.0" -| #define PACKAGE_STRING "Google C++ Testing Framework 1.6.0" -| #define PACKAGE_BUGREPORT "googletestframework@googlegroups.com" -| #define PACKAGE_URL "" -| #define PACKAGE "gtest" -| #define VERSION "1.6.0" -| /* end confdefs.h. */ -| #include -configure:7499: result: gcc -E -configure:7519: gcc -E conftest.c -configure:7519: $? = 0 -configure:7533: gcc -E conftest.c -conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory - #include - ^ -compilation terminated. -configure:7533: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "Google C++ Testing Framework" -| #define PACKAGE_TARNAME "gtest" -| #define PACKAGE_VERSION "1.6.0" -| #define PACKAGE_STRING "Google C++ Testing Framework 1.6.0" -| #define PACKAGE_BUGREPORT "googletestframework@googlegroups.com" -| #define PACKAGE_URL "" -| #define PACKAGE "gtest" -| #define VERSION "1.6.0" -| /* end confdefs.h. */ -| #include -configure:7562: checking for ANSI C header files -configure:7582: gcc -c conftest.c >&5 -configure:7582: $? = 0 -configure:7655: gcc -o conftest conftest.c >&5 -configure:7655: $? = 0 -configure:7655: ./conftest -configure:7655: $? = 0 -configure:7666: result: yes -configure:7679: checking for sys/types.h -configure:7679: gcc -c conftest.c >&5 -configure:7679: $? = 0 -configure:7679: result: yes -configure:7679: checking for sys/stat.h -configure:7679: gcc -c conftest.c >&5 -configure:7679: $? = 0 -configure:7679: result: yes -configure:7679: checking for stdlib.h -configure:7679: gcc -c conftest.c >&5 -configure:7679: $? = 0 -configure:7679: result: yes -configure:7679: checking for string.h -configure:7679: gcc -c conftest.c >&5 -configure:7679: $? = 0 -configure:7679: result: yes -configure:7679: checking for memory.h -configure:7679: gcc -c conftest.c >&5 -configure:7679: $? = 0 -configure:7679: result: yes -configure:7679: checking for strings.h -configure:7679: gcc -c conftest.c >&5 -configure:7679: $? = 0 -configure:7679: result: yes -configure:7679: checking for inttypes.h -configure:7679: gcc -c conftest.c >&5 -configure:7679: $? = 0 -configure:7679: result: yes -configure:7679: checking for stdint.h -configure:7679: gcc -c conftest.c >&5 -configure:7679: $? = 0 -configure:7679: result: yes -configure:7679: checking for unistd.h -configure:7679: gcc -c conftest.c >&5 -configure:7679: $? = 0 -configure:7679: result: yes -configure:7693: checking for dlfcn.h -configure:7693: gcc -c conftest.c >&5 -configure:7693: $? = 0 -configure:7693: result: yes -configure:7909: checking for objdir -configure:7924: result: .libs -configure:8195: checking if gcc supports -fno-rtti -fno-exceptions -configure:8213: gcc -c -fno-rtti -fno-exceptions conftest.c >&5 -cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default] -configure:8217: $? = 0 -configure:8230: result: no -configure:8557: checking for gcc option to produce PIC -configure:8564: result: -fPIC -DPIC -configure:8572: checking if gcc PIC flag -fPIC -DPIC works -configure:8590: gcc -c -fPIC -DPIC -DPIC conftest.c >&5 -configure:8594: $? = 0 -configure:8607: result: yes -configure:8636: checking if gcc static flag -static works -configure:8664: result: yes -configure:8679: checking if gcc supports -c -o file.o -configure:8700: gcc -c -o out/conftest2.o conftest.c >&5 -configure:8704: $? = 0 -configure:8726: result: yes -configure:8734: checking if gcc supports -c -o file.o -configure:8781: result: yes -configure:8814: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries -configure:9971: result: yes -configure:10008: checking whether -lc should be explicitly linked in -configure:10016: gcc -c conftest.c >&5 -configure:10019: $? = 0 -configure:10034: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1 -configure:10037: $? = 0 -configure:10051: result: no -configure:10211: checking dynamic linker characteristics -configure:10722: gcc -o conftest -Wl,-rpath -Wl,/foo conftest.c >&5 -configure:10722: $? = 0 -configure:10956: result: GNU/Linux ld.so -configure:11063: checking how to hardcode library paths into programs -configure:11088: result: immediate -configure:11628: checking whether stripping libraries is possible -configure:11633: result: yes -configure:11668: checking if libtool supports shared libraries -configure:11670: result: yes -configure:11673: checking whether to build shared libraries -configure:11694: result: yes -configure:11697: checking whether to build static libraries -configure:11701: result: yes -configure:11724: checking how to run the C++ preprocessor -configure:11751: g++ -E conftest.cpp -configure:11751: $? = 0 -configure:11765: g++ -E conftest.cpp -conftest.cpp:23:28: fatal error: ac_nonexistent.h: No such file or directory - #include - ^ -compilation terminated. -configure:11765: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "Google C++ Testing Framework" -| #define PACKAGE_TARNAME "gtest" -| #define PACKAGE_VERSION "1.6.0" -| #define PACKAGE_STRING "Google C++ Testing Framework 1.6.0" -| #define PACKAGE_BUGREPORT "googletestframework@googlegroups.com" -| #define PACKAGE_URL "" -| #define PACKAGE "gtest" -| #define VERSION "1.6.0" -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_DLFCN_H 1 -| #define LT_OBJDIR ".libs/" -| /* end confdefs.h. */ -| #include -configure:11790: result: g++ -E -configure:11810: g++ -E conftest.cpp -configure:11810: $? = 0 -configure:11824: g++ -E conftest.cpp -conftest.cpp:23:28: fatal error: ac_nonexistent.h: No such file or directory - #include - ^ -compilation terminated. -configure:11824: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "Google C++ Testing Framework" -| #define PACKAGE_TARNAME "gtest" -| #define PACKAGE_VERSION "1.6.0" -| #define PACKAGE_STRING "Google C++ Testing Framework 1.6.0" -| #define PACKAGE_BUGREPORT "googletestframework@googlegroups.com" -| #define PACKAGE_URL "" -| #define PACKAGE "gtest" -| #define VERSION "1.6.0" -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_DLFCN_H 1 -| #define LT_OBJDIR ".libs/" -| /* end confdefs.h. */ -| #include -configure:11993: checking for ld used by g++ -configure:12060: result: /usr/bin/ld -m elf_x86_64 -configure:12067: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld -configure:12082: result: yes -configure:12137: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries -configure:13142: result: yes -configure:13178: g++ -c -g -DNDEBUG conftest.cpp >&5 -configure:13181: $? = 0 -configure:13701: checking for g++ option to produce PIC -configure:13708: result: -fPIC -DPIC -configure:13716: checking if g++ PIC flag -fPIC -DPIC works -configure:13734: g++ -c -g -DNDEBUG -fPIC -DPIC -DPIC conftest.cpp >&5 -configure:13738: $? = 0 -configure:13751: result: yes -configure:13774: checking if g++ static flag -static works -configure:13802: result: yes -configure:13814: checking if g++ supports -c -o file.o -configure:13835: g++ -c -g -DNDEBUG -o out/conftest2.o conftest.cpp >&5 -configure:13839: $? = 0 -configure:13861: result: yes -configure:13866: checking if g++ supports -c -o file.o -configure:13913: result: yes -configure:13943: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries -configure:13982: result: yes -configure:14123: checking dynamic linker characteristics -configure:14802: result: GNU/Linux ld.so -configure:14855: checking how to hardcode library paths into programs -configure:14880: result: immediate -configure:14950: checking for python -configure:14968: found /usr/bin/python -configure:14981: result: /usr/bin/python -configure:14999: /usr/bin/python -c import sys # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. # map returns an iterator in Python 3.0 and a list in 2.x minver = list(map(int, '2.3'.split('.'))) + [0, 0, 0] minverhex = 0 # xrange is not present in Python 3.0 and range returns an iterator for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex) -configure:15002: $? = 0 -configure:15195: checking for the pthreads library -lpthreads -configure:15228: gcc -o conftest conftest.c -lpthreads >&5 -conftest.c: In function 'main': -conftest.c:28:22: warning: null argument where non-null required (argument 1) [-Wnonnull] - pthread_attr_init(0); pthread_cleanup_push(0, 0); - ^ -conftest.c:29:22: warning: null argument where non-null required (argument 1) [-Wnonnull] - pthread_create(0,0,0,0); pthread_cleanup_pop(0); - ^ -conftest.c:29:22: warning: null argument where non-null required (argument 3) [-Wnonnull] -/usr/bin/ld: cannot find -lpthreads -collect2: error: ld returned 1 exit status -configure:15228: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "Google C++ Testing Framework" -| #define PACKAGE_TARNAME "gtest" -| #define PACKAGE_VERSION "1.6.0" -| #define PACKAGE_STRING "Google C++ Testing Framework 1.6.0" -| #define PACKAGE_BUGREPORT "googletestframework@googlegroups.com" -| #define PACKAGE_URL "" -| #define PACKAGE "gtest" -| #define VERSION "1.6.0" -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_DLFCN_H 1 -| #define LT_OBJDIR ".libs/" -| /* end confdefs.h. */ -| #include -| int -| main () -| { -| pthread_t th; pthread_join(th, 0); -| pthread_attr_init(0); pthread_cleanup_push(0, 0); -| pthread_create(0,0,0,0); pthread_cleanup_pop(0); -| ; -| return 0; -| } -configure:15237: result: no -configure:15140: checking whether pthreads work without any flags -configure:15228: gcc -o conftest conftest.c >&5 -conftest.c: In function 'main': -conftest.c:28:22: warning: null argument where non-null required (argument 1) [-Wnonnull] - pthread_attr_init(0); pthread_cleanup_push(0, 0); - ^ -conftest.c:29:22: warning: null argument where non-null required (argument 1) [-Wnonnull] - pthread_create(0,0,0,0); pthread_cleanup_pop(0); - ^ -conftest.c:29:22: warning: null argument where non-null required (argument 3) [-Wnonnull] -/tmp/cci1yiuu.o: In function `main': -conftest.c:(.text+0x1b): undefined reference to `pthread_join' -conftest.c:(.text+0x7e): undefined reference to `__pthread_register_cancel' -conftest.c:(.text+0x97): undefined reference to `pthread_create' -conftest.c:(.text+0xa3): undefined reference to `__pthread_unregister_cancel' -collect2: error: ld returned 1 exit status -configure:15228: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "Google C++ Testing Framework" -| #define PACKAGE_TARNAME "gtest" -| #define PACKAGE_VERSION "1.6.0" -| #define PACKAGE_STRING "Google C++ Testing Framework 1.6.0" -| #define PACKAGE_BUGREPORT "googletestframework@googlegroups.com" -| #define PACKAGE_URL "" -| #define PACKAGE "gtest" -| #define VERSION "1.6.0" -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_DLFCN_H 1 -| #define LT_OBJDIR ".libs/" -| /* end confdefs.h. */ -| #include -| int -| main () -| { -| pthread_t th; pthread_join(th, 0); -| pthread_attr_init(0); pthread_cleanup_push(0, 0); -| pthread_create(0,0,0,0); pthread_cleanup_pop(0); -| ; -| return 0; -| } -configure:15237: result: no -configure:15145: checking whether pthreads work with -Kthread -configure:15228: gcc -o conftest -Kthread conftest.c >&5 -gcc: error: unrecognized command line option '-Kthread' -configure:15228: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "Google C++ Testing Framework" -| #define PACKAGE_TARNAME "gtest" -| #define PACKAGE_VERSION "1.6.0" -| #define PACKAGE_STRING "Google C++ Testing Framework 1.6.0" -| #define PACKAGE_BUGREPORT "googletestframework@googlegroups.com" -| #define PACKAGE_URL "" -| #define PACKAGE "gtest" -| #define VERSION "1.6.0" -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_DLFCN_H 1 -| #define LT_OBJDIR ".libs/" -| /* end confdefs.h. */ -| #include -| int -| main () -| { -| pthread_t th; pthread_join(th, 0); -| pthread_attr_init(0); pthread_cleanup_push(0, 0); -| pthread_create(0,0,0,0); pthread_cleanup_pop(0); -| ; -| return 0; -| } -configure:15237: result: no -configure:15145: checking whether pthreads work with -kthread -configure:15228: gcc -o conftest -kthread conftest.c >&5 -gcc: error: unrecognized command line option '-kthread' -configure:15228: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "Google C++ Testing Framework" -| #define PACKAGE_TARNAME "gtest" -| #define PACKAGE_VERSION "1.6.0" -| #define PACKAGE_STRING "Google C++ Testing Framework 1.6.0" -| #define PACKAGE_BUGREPORT "googletestframework@googlegroups.com" -| #define PACKAGE_URL "" -| #define PACKAGE "gtest" -| #define VERSION "1.6.0" -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_DLFCN_H 1 -| #define LT_OBJDIR ".libs/" -| /* end confdefs.h. */ -| #include -| int -| main () -| { -| pthread_t th; pthread_join(th, 0); -| pthread_attr_init(0); pthread_cleanup_push(0, 0); -| pthread_create(0,0,0,0); pthread_cleanup_pop(0); -| ; -| return 0; -| } -configure:15237: result: no -configure:15195: checking for the pthreads library -llthread -configure:15228: gcc -o conftest conftest.c -llthread >&5 -conftest.c: In function 'main': -conftest.c:28:22: warning: null argument where non-null required (argument 1) [-Wnonnull] - pthread_attr_init(0); pthread_cleanup_push(0, 0); - ^ -conftest.c:29:22: warning: null argument where non-null required (argument 1) [-Wnonnull] - pthread_create(0,0,0,0); pthread_cleanup_pop(0); - ^ -conftest.c:29:22: warning: null argument where non-null required (argument 3) [-Wnonnull] -/usr/bin/ld: cannot find -llthread -collect2: error: ld returned 1 exit status -configure:15228: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "Google C++ Testing Framework" -| #define PACKAGE_TARNAME "gtest" -| #define PACKAGE_VERSION "1.6.0" -| #define PACKAGE_STRING "Google C++ Testing Framework 1.6.0" -| #define PACKAGE_BUGREPORT "googletestframework@googlegroups.com" -| #define PACKAGE_URL "" -| #define PACKAGE "gtest" -| #define VERSION "1.6.0" -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_DLFCN_H 1 -| #define LT_OBJDIR ".libs/" -| /* end confdefs.h. */ -| #include -| int -| main () -| { -| pthread_t th; pthread_join(th, 0); -| pthread_attr_init(0); pthread_cleanup_push(0, 0); -| pthread_create(0,0,0,0); pthread_cleanup_pop(0); -| ; -| return 0; -| } -configure:15237: result: no -configure:15145: checking whether pthreads work with -pthread -configure:15228: gcc -o conftest -pthread conftest.c >&5 -conftest.c: In function 'main': -conftest.c:28:22: warning: null argument where non-null required (argument 1) [-Wnonnull] - pthread_attr_init(0); pthread_cleanup_push(0, 0); - ^ -conftest.c:29:22: warning: null argument where non-null required (argument 1) [-Wnonnull] - pthread_create(0,0,0,0); pthread_cleanup_pop(0); - ^ -conftest.c:29:22: warning: null argument where non-null required (argument 3) [-Wnonnull] -configure:15228: $? = 0 -configure:15237: result: yes -configure:15256: checking for joinable pthread attribute -configure:15271: gcc -o conftest -pthread conftest.c >&5 -configure:15271: $? = 0 -configure:15277: result: PTHREAD_CREATE_JOINABLE -configure:15287: checking if more special flags are required for pthreads -configure:15294: result: no -configure:15383: checking whether to check for GCC pthread/shared inconsistencies -configure:15396: gcc -o conftest -shared -fPIC -Wl,-z,defs -pthread conftest.c >&5 -configure:15396: $? = 0 -configure:15408: result: yes -configure:15414: checking whether -pthread is sufficient with -shared -configure:15429: gcc -o conftest -shared -fPIC -Wl,-z,defs -pthread conftest.c >&5 -conftest.c: In function 'main': -conftest.c:28:8: warning: null argument where non-null required (argument 1) [-Wnonnull] - pthread_attr_init(0); pthread_cleanup_push(0, 0); - ^ -conftest.c:29:8: warning: null argument where non-null required (argument 1) [-Wnonnull] - pthread_create(0,0,0,0); pthread_cleanup_pop(0); - ^ -conftest.c:29:8: warning: null argument where non-null required (argument 3) [-Wnonnull] -configure:15429: $? = 0 -configure:15436: result: yes -configure:15718: creating ./config.status - -## ---------------------- ## -## Running config.status. ## -## ---------------------- ## - -This file was extended by Google C++ Testing Framework config.status 1.6.0, which was -generated by GNU Autoconf 2.68. Invocation command line was - - CONFIG_FILES = - CONFIG_HEADERS = - CONFIG_LINKS = - CONFIG_COMMANDS = - $ ./config.status - -on horcrux.kir.corp.google.com - -config.status:1162: creating Makefile -config.status:1162: creating scripts/gtest-config -config.status:1162: creating build-aux/config.h -config.status:1391: executing depfiles commands -config.status:1391: executing libtool commands - -## ---------------- ## -## Cache variables. ## -## ---------------- ## - -ac_cv_build=x86_64-unknown-linux-gnu -ac_cv_c_compiler_gnu=yes -ac_cv_cxx_compiler_gnu=yes -ac_cv_env_CCC_set= -ac_cv_env_CCC_value= -ac_cv_env_CC_set= -ac_cv_env_CC_value= -ac_cv_env_CFLAGS_set=set -ac_cv_env_CFLAGS_value= -ac_cv_env_CPPFLAGS_set= -ac_cv_env_CPPFLAGS_value= -ac_cv_env_CPP_set= -ac_cv_env_CPP_value= -ac_cv_env_CXXCPP_set= -ac_cv_env_CXXCPP_value= -ac_cv_env_CXXFLAGS_set=set -ac_cv_env_CXXFLAGS_value=' -g -DNDEBUG' -ac_cv_env_CXX_set= -ac_cv_env_CXX_value= -ac_cv_env_LDFLAGS_set= -ac_cv_env_LDFLAGS_value= -ac_cv_env_LIBS_set= -ac_cv_env_LIBS_value= -ac_cv_env_build_alias_set= -ac_cv_env_build_alias_value= -ac_cv_env_host_alias_set= -ac_cv_env_host_alias_value= -ac_cv_env_target_alias_set= -ac_cv_env_target_alias_value= -ac_cv_header_dlfcn_h=yes -ac_cv_header_inttypes_h=yes -ac_cv_header_memory_h=yes -ac_cv_header_stdc=yes -ac_cv_header_stdint_h=yes -ac_cv_header_stdlib_h=yes -ac_cv_header_string_h=yes -ac_cv_header_strings_h=yes -ac_cv_header_sys_stat_h=yes -ac_cv_header_sys_types_h=yes -ac_cv_header_unistd_h=yes -ac_cv_host=x86_64-unknown-linux-gnu -ac_cv_objext=o -ac_cv_path_EGREP='/bin/grep -E' -ac_cv_path_FGREP='/bin/grep -F' -ac_cv_path_GREP=/bin/grep -ac_cv_path_PYTHON=/usr/bin/python -ac_cv_path_SED=/bin/sed -ac_cv_path_install='/usr/bin/install -c' -ac_cv_path_mkdir=/bin/mkdir -ac_cv_prog_AWK=gawk -ac_cv_prog_CPP='gcc -E' -ac_cv_prog_CXXCPP='g++ -E' -ac_cv_prog_ac_ct_AR=ar -ac_cv_prog_ac_ct_CC=gcc -ac_cv_prog_ac_ct_CXX=g++ -ac_cv_prog_ac_ct_MANIFEST_TOOL=mt -ac_cv_prog_ac_ct_OBJDUMP=objdump -ac_cv_prog_ac_ct_RANLIB=ranlib -ac_cv_prog_ac_ct_STRIP=strip -ac_cv_prog_cc_c89= -ac_cv_prog_cc_g=yes -ac_cv_prog_cxx_g=yes -ac_cv_prog_make_make_set=yes -am_cv_CC_dependencies_compiler_type=gcc3 -am_cv_CXX_dependencies_compiler_type=gcc3 -lt_cv_ar_at_file=@ -lt_cv_archive_cmds_need_lc=no -lt_cv_deplibs_check_method=pass_all -lt_cv_file_magic_cmd='$MAGIC_CMD' -lt_cv_file_magic_test_file= -lt_cv_ld_reload_flag=-r -lt_cv_nm_interface='BSD nm' -lt_cv_objdir=.libs -lt_cv_path_LD=/usr/bin/ld -lt_cv_path_LDCXX='/usr/bin/ld -m elf_x86_64' -lt_cv_path_NM='/usr/bin/nm -B' -lt_cv_path_mainfest_tool=no -lt_cv_prog_compiler_c_o=yes -lt_cv_prog_compiler_c_o_CXX=yes -lt_cv_prog_compiler_pic='-fPIC -DPIC' -lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC' -lt_cv_prog_compiler_pic_works=yes -lt_cv_prog_compiler_pic_works_CXX=yes -lt_cv_prog_compiler_rtti_exceptions=no -lt_cv_prog_compiler_static_works=yes -lt_cv_prog_compiler_static_works_CXX=yes -lt_cv_prog_gnu_ld=yes -lt_cv_prog_gnu_ldcxx=yes -lt_cv_sharedlib_from_linklib_cmd='printf %s\n' -lt_cv_shlibpath_overrides_runpath=no -lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' -lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' -lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' -lt_cv_sys_max_cmd_len=1572864 -lt_cv_to_host_file_cmd=func_convert_file_noop -lt_cv_to_tool_file_cmd=func_convert_file_noop - -## ----------------- ## -## Output variables. ## -## ----------------- ## - -ACLOCAL='${SHELL} /tmp/tmp.Y9MHI5h24O/protobuf-2.5.0/gtest/build-aux/missing --run aclocal-1.11' -AMDEPBACKSLASH='\' -AMDEP_FALSE='#' -AMDEP_TRUE='' -AMTAR='$${TAR-tar}' -AR='ar' -AUTOCONF='${SHELL} /tmp/tmp.Y9MHI5h24O/protobuf-2.5.0/gtest/build-aux/missing --run autoconf' -AUTOHEADER='${SHELL} /tmp/tmp.Y9MHI5h24O/protobuf-2.5.0/gtest/build-aux/missing --run autoheader' -AUTOMAKE='${SHELL} /tmp/tmp.Y9MHI5h24O/protobuf-2.5.0/gtest/build-aux/missing --run automake-1.11' -AWK='gawk' -CC='gcc' -CCDEPMODE='depmode=gcc3' -CFLAGS='' -CPP='gcc -E' -CPPFLAGS='' -CXX='g++' -CXXCPP='g++ -E' -CXXDEPMODE='depmode=gcc3' -CXXFLAGS=' -g -DNDEBUG' -CYGPATH_W='echo' -DEFS='-DHAVE_CONFIG_H' -DEPDIR='.deps' -DLLTOOL='false' -DSYMUTIL='' -DUMPBIN='' -ECHO_C='' -ECHO_N='-n' -ECHO_T='' -EGREP='/bin/grep -E' -EXEEXT='' -FGREP='/bin/grep -F' -GREP='/bin/grep' -HAVE_PTHREADS_FALSE='#' -HAVE_PTHREADS_TRUE='' -HAVE_PYTHON_FALSE='#' -HAVE_PYTHON_TRUE='' -INSTALL_DATA='${INSTALL} -m 644' -INSTALL_PROGRAM='${INSTALL}' -INSTALL_SCRIPT='${INSTALL}' -INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' -LD='/usr/bin/ld -m elf_x86_64' -LDFLAGS='' -LIBOBJS='' -LIBS='' -LIBTOOL='$(SHELL) $(top_builddir)/libtool' -LIPO='' -LN_S='ln -s' -LTLIBOBJS='' -MAKEINFO='${SHELL} /tmp/tmp.Y9MHI5h24O/protobuf-2.5.0/gtest/build-aux/missing --run makeinfo' -MANIFEST_TOOL=':' -MKDIR_P='/bin/mkdir -p' -NM='/usr/bin/nm -B' -NMEDIT='' -OBJDUMP='objdump' -OBJEXT='o' -OTOOL64='' -OTOOL='' -PACKAGE='gtest' -PACKAGE_BUGREPORT='googletestframework@googlegroups.com' -PACKAGE_NAME='Google C++ Testing Framework' -PACKAGE_STRING='Google C++ Testing Framework 1.6.0' -PACKAGE_TARNAME='gtest' -PACKAGE_URL='' -PACKAGE_VERSION='1.6.0' -PATH_SEPARATOR=':' -PTHREAD_CC='gcc' -PTHREAD_CFLAGS='-pthread' -PTHREAD_LIBS='' -PYTHON='/usr/bin/python' -RANLIB='ranlib' -SED='/bin/sed' -SET_MAKE='' -SHELL='/bin/sh' -STRIP='strip' -VERSION='1.6.0' -ac_ct_AR='ar' -ac_ct_CC='gcc' -ac_ct_CXX='g++' -ac_ct_DUMPBIN='' -acx_pthread_config='' -am__EXEEXT_FALSE='' -am__EXEEXT_TRUE='#' -am__fastdepCC_FALSE='#' -am__fastdepCC_TRUE='' -am__fastdepCXX_FALSE='#' -am__fastdepCXX_TRUE='' -am__include='include' -am__isrc='' -am__leading_dot='.' -am__nodep='_no' -am__quote='' -am__tar='$${TAR-tar} chof - "$$tardir"' -am__untar='$${TAR-tar} xf -' -bindir='${exec_prefix}/bin' -build='x86_64-unknown-linux-gnu' -build_alias='' -build_cpu='x86_64' -build_os='linux-gnu' -build_vendor='unknown' -datadir='${datarootdir}' -datarootdir='${prefix}/share' -docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' -dvidir='${docdir}' -exec_prefix='${prefix}' -host='x86_64-unknown-linux-gnu' -host_alias='' -host_cpu='x86_64' -host_os='linux-gnu' -host_vendor='unknown' -htmldir='${docdir}' -includedir='${prefix}/include' -infodir='${datarootdir}/info' -install_sh='${SHELL} /tmp/tmp.Y9MHI5h24O/protobuf-2.5.0/gtest/build-aux/install-sh' -libdir='${exec_prefix}/lib' -libexecdir='${exec_prefix}/libexec' -localedir='${datarootdir}/locale' -localstatedir='${prefix}/var' -mandir='${datarootdir}/man' -mkdir_p='/bin/mkdir -p' -oldincludedir='/usr/include' -pdfdir='${docdir}' -prefix='/usr/local' -program_transform_name='s,x,x,' -psdir='${docdir}' -sbindir='${exec_prefix}/sbin' -sharedstatedir='${prefix}/com' -sysconfdir='${prefix}/etc' -target_alias='' - -## ----------- ## -## confdefs.h. ## -## ----------- ## - -/* confdefs.h */ -#define PACKAGE_NAME "Google C++ Testing Framework" -#define PACKAGE_TARNAME "gtest" -#define PACKAGE_VERSION "1.6.0" -#define PACKAGE_STRING "Google C++ Testing Framework 1.6.0" -#define PACKAGE_BUGREPORT "googletestframework@googlegroups.com" -#define PACKAGE_URL "" -#define PACKAGE "gtest" -#define VERSION "1.6.0" -#define STDC_HEADERS 1 -#define HAVE_SYS_TYPES_H 1 -#define HAVE_SYS_STAT_H 1 -#define HAVE_STDLIB_H 1 -#define HAVE_STRING_H 1 -#define HAVE_MEMORY_H 1 -#define HAVE_STRINGS_H 1 -#define HAVE_INTTYPES_H 1 -#define HAVE_STDINT_H 1 -#define HAVE_UNISTD_H 1 -#define HAVE_DLFCN_H 1 -#define LT_OBJDIR ".libs/" -#define HAVE_PTHREAD 1 - -configure: exit 0 diff --git a/third_party/protobuf/gtest/config.status b/third_party/protobuf/gtest/config.status deleted file mode 100755 index 792c0fe4..00000000 --- a/third_party/protobuf/gtest/config.status +++ /dev/null @@ -1,2296 +0,0 @@ -#! /bin/sh -# Generated by configure. -# Run this file to recreate the current configuration. -# Compiler output produced by configure, useful for debugging -# configure, is in config.log if it exists. - -debug=false -ac_cs_recheck=false -ac_cs_silent=false - -SHELL=${CONFIG_SHELL-/bin/sh} -export SHELL -## -------------------- ## -## M4sh Initialization. ## -## -------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in #( - *posix*) : - set -o posix ;; #( - *) : - ;; -esac -fi - - -as_nl=' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -as_myself= -case $0 in #(( - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break - done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - exit 1 -fi - -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - - -# as_fn_error STATUS ERROR [LINENO LOG_FD] -# ---------------------------------------- -# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are -# provided, also output the error to LOG_FD, referencing LINENO. Then exit the -# script with STATUS, using 1 if that was 0. -as_fn_error () -{ - as_status=$1; test $as_status -eq 0 && as_status=1 - if test "$4"; then - as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 - fi - $as_echo "$as_me: error: $2" >&2 - as_fn_exit $as_status -} # as_fn_error - - -# as_fn_set_status STATUS -# ----------------------- -# Set $? to STATUS, without forking. -as_fn_set_status () -{ - return $1 -} # as_fn_set_status - -# as_fn_exit STATUS -# ----------------- -# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. -as_fn_exit () -{ - set +e - as_fn_set_status $1 - exit $1 -} # as_fn_exit - -# as_fn_unset VAR -# --------------- -# Portably unset VAR. -as_fn_unset () -{ - { eval $1=; unset $1;} -} -as_unset=as_fn_unset -# as_fn_append VAR VALUE -# ---------------------- -# Append the text in VALUE to the end of the definition contained in VAR. Take -# advantage of any shell optimizations that allow amortized linear growth over -# repeated appends, instead of the typical quadratic growth present in naive -# implementations. -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : - eval 'as_fn_append () - { - eval $1+=\$2 - }' -else - as_fn_append () - { - eval $1=\$$1\$2 - } -fi # as_fn_append - -# as_fn_arith ARG... -# ------------------ -# Perform arithmetic evaluation on the ARGs, and store the result in the -# global $as_val. Take advantage of shells that can avoid forks. The arguments -# must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : - eval 'as_fn_arith () - { - as_val=$(( $* )) - }' -else - as_fn_arith () - { - as_val=`expr "$@" || test $? -eq 1` - } -fi # as_fn_arith - - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in #((((( --n*) - case `echo 'xy\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - xy) ECHO_C='\c';; - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null - ECHO_T=' ';; - esac;; -*) - ECHO_N='-n';; -esac - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir 2>/dev/null -fi -if (echo >conf$$.file) 2>/dev/null; then - if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln - else - as_ln_s='cp -p' - fi -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - - -# as_fn_mkdir_p -# ------------- -# Create "$as_dir" as a directory, including parents if necessary. -as_fn_mkdir_p () -{ - - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || eval $as_mkdir_p || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" - - -} # as_fn_mkdir_p -if mkdir -p . 2>/dev/null; then - as_mkdir_p='mkdir -p "$as_dir"' -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in #( - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - -exec 6>&1 -## ----------------------------------- ## -## Main body of $CONFIG_STATUS script. ## -## ----------------------------------- ## -# Save the log message, to keep $0 and so on meaningful, and to -# report actual input values of CONFIG_FILES etc. instead of their -# values after options handling. -ac_log=" -This file was extended by Google C++ Testing Framework $as_me 1.6.0, which was -generated by GNU Autoconf 2.68. Invocation command line was - - CONFIG_FILES = $CONFIG_FILES - CONFIG_HEADERS = $CONFIG_HEADERS - CONFIG_LINKS = $CONFIG_LINKS - CONFIG_COMMANDS = $CONFIG_COMMANDS - $ $0 $@ - -on `(hostname || uname -n) 2>/dev/null | sed 1q` -" - -# Files that config.status was made for. -config_files=" Makefile scripts/gtest-config" -config_headers=" build-aux/config.h" -config_commands=" depfiles libtool" - -ac_cs_usage="\ -\`$as_me' instantiates files and other configuration actions -from templates according to the current configuration. Unless the files -and actions are specified as TAGs, all are instantiated by default. - -Usage: $0 [OPTION]... [TAG]... - - -h, --help print this help, then exit - -V, --version print version number and configuration settings, then exit - --config print configuration, then exit - -q, --quiet, --silent - do not print progress messages - -d, --debug don't remove temporary files - --recheck update $as_me by reconfiguring in the same conditions - --file=FILE[:TEMPLATE] - instantiate the configuration file FILE - --header=FILE[:TEMPLATE] - instantiate the configuration header FILE - -Configuration files: -$config_files - -Configuration headers: -$config_headers - -Configuration commands: -$config_commands - -Report bugs to ." - -ac_cs_config="'--disable-option-checking' '--prefix=/usr/local' '--cache-file=/dev/null' '--srcdir=.' 'CFLAGS=' 'CXXFLAGS= -g -DNDEBUG'" -ac_cs_version="\ -Google C++ Testing Framework config.status 1.6.0 -configured by ./configure, generated by GNU Autoconf 2.68, - with options \"$ac_cs_config\" - -Copyright (C) 2010 Free Software Foundation, Inc. -This config.status script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it." - -ac_pwd='/tmp/tmp.Y9MHI5h24O/protobuf-2.5.0/gtest' -srcdir='.' -INSTALL='/usr/bin/install -c' -MKDIR_P='/bin/mkdir -p' -AWK='gawk' -test -n "$AWK" || AWK=awk -# The default lists apply if the user does not specify any file. -ac_need_defaults=: -while test $# != 0 -do - case $1 in - --*=?*) - ac_option=`expr "X$1" : 'X\([^=]*\)='` - ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` - ac_shift=: - ;; - --*=) - ac_option=`expr "X$1" : 'X\([^=]*\)='` - ac_optarg= - ac_shift=: - ;; - *) - ac_option=$1 - ac_optarg=$2 - ac_shift=shift - ;; - esac - - case $ac_option in - # Handling of the options. - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - ac_cs_recheck=: ;; - --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - $as_echo "$ac_cs_version"; exit ;; - --config | --confi | --conf | --con | --co | --c ) - $as_echo "$ac_cs_config"; exit ;; - --debug | --debu | --deb | --de | --d | -d ) - debug=: ;; - --file | --fil | --fi | --f ) - $ac_shift - case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; - '') as_fn_error $? "missing file argument" ;; - esac - as_fn_append CONFIG_FILES " '$ac_optarg'" - ac_need_defaults=false;; - --header | --heade | --head | --hea ) - $ac_shift - case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - as_fn_append CONFIG_HEADERS " '$ac_optarg'" - ac_need_defaults=false;; - --he | --h) - # Conflict between --help and --header - as_fn_error $? "ambiguous option: \`$1' -Try \`$0 --help' for more information.";; - --help | --hel | -h ) - $as_echo "$ac_cs_usage"; exit ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil | --si | --s) - ac_cs_silent=: ;; - - # This is an error. - -*) as_fn_error $? "unrecognized option: \`$1' -Try \`$0 --help' for more information." ;; - - *) as_fn_append ac_config_targets " $1" - ac_need_defaults=false ;; - - esac - shift -done - -ac_configure_extra_args= - -if $ac_cs_silent; then - exec 6>/dev/null - ac_configure_extra_args="$ac_configure_extra_args --silent" -fi - -if $ac_cs_recheck; then - set X '/bin/sh' './configure' '--disable-option-checking' '--prefix=/usr/local' '--cache-file=/dev/null' '--srcdir=.' 'CFLAGS=' 'CXXFLAGS= -g -DNDEBUG' $ac_configure_extra_args --no-create --no-recursion - shift - $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6 - CONFIG_SHELL='/bin/sh' - export CONFIG_SHELL - exec "$@" -fi - -exec 5>>config.log -{ - echo - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX -## Running $as_me. ## -_ASBOX - $as_echo "$ac_log" -} >&5 - -# -# INIT-COMMANDS -# -AMDEP_TRUE="" ac_aux_dir="build-aux" - - -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -sed_quote_subst='s/\(["`$\\]\)/\\\1/g' -double_quote_subst='s/\(["`\\]\)/\\\1/g' -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' -macro_version='2.4.2' -macro_revision='1.3337' -enable_shared='yes' -enable_static='yes' -pic_mode='default' -enable_fast_install='yes' -SHELL='/bin/sh' -ECHO='printf %s\n' -PATH_SEPARATOR=':' -host_alias='' -host='x86_64-unknown-linux-gnu' -host_os='linux-gnu' -build_alias='' -build='x86_64-unknown-linux-gnu' -build_os='linux-gnu' -SED='/bin/sed' -Xsed='/bin/sed -e 1s/^X//' -GREP='/bin/grep' -EGREP='/bin/grep -E' -FGREP='/bin/grep -F' -LD='/usr/bin/ld -m elf_x86_64' -NM='/usr/bin/nm -B' -LN_S='ln -s' -max_cmd_len='1572864' -ac_objext='o' -exeext='' -lt_unset='unset' -lt_SP2NL='tr \040 \012' -lt_NL2SP='tr \015\012 \040\040' -lt_cv_to_host_file_cmd='func_convert_file_noop' -lt_cv_to_tool_file_cmd='func_convert_file_noop' -reload_flag=' -r' -reload_cmds='$LD$reload_flag -o $output$reload_objs' -OBJDUMP='objdump' -deplibs_check_method='pass_all' -file_magic_cmd='$MAGIC_CMD' -file_magic_glob='' -want_nocaseglob='no' -DLLTOOL='false' -sharedlib_from_linklib_cmd='printf %s\n' -AR='ar' -AR_FLAGS='cru' -archiver_list_spec='@' -STRIP='strip' -RANLIB='ranlib' -old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $tool_oldlib' -old_postuninstall_cmds='' -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib' -lock_old_archive_extraction='no' -CC='gcc' -CFLAGS='' -compiler='g++' -GCC='yes' -lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' -lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' -lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' -nm_file_list_spec='@' -lt_sysroot='' -objdir='.libs' -MAGIC_CMD='file' -lt_prog_compiler_no_builtin_flag=' -fno-builtin' -lt_prog_compiler_pic=' -fPIC -DPIC' -lt_prog_compiler_wl='-Wl,' -lt_prog_compiler_static='-static' -lt_cv_prog_compiler_c_o='yes' -need_locks='no' -MANIFEST_TOOL=':' -DSYMUTIL='' -NMEDIT='' -LIPO='' -OTOOL='' -OTOOL64='' -libext='a' -shrext_cmds='.so' -extract_expsyms_cmds='' -archive_cmds_need_lc='no' -enable_shared_with_static_runtimes='no' -export_dynamic_flag_spec='${wl}--export-dynamic' -whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' -compiler_needs_object='no' -old_archive_from_new_cmds='' -old_archive_from_expsyms_cmds='' -archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' -module_cmds='' -module_expsym_cmds='' -with_gnu_ld='yes' -allow_undefined_flag='' -no_undefined_flag='' -hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' -hardcode_libdir_separator='' -hardcode_direct='no' -hardcode_direct_absolute='no' -hardcode_minus_L='no' -hardcode_shlibpath_var='unsupported' -hardcode_automatic='no' -inherit_rpath='no' -link_all_deplibs='no' -always_export_symbols='no' -export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' -exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' -include_expsyms='' -prelink_cmds='' -postlink_cmds='' -file_list_spec='' -variables_saved_for_relink='PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH' -need_lib_prefix='no' -need_version='no' -version_type='linux' -runpath_var='LD_RUN_PATH' -shlibpath_var='LD_LIBRARY_PATH' -shlibpath_overrides_runpath='no' -libname_spec='lib$name' -library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -soname_spec='${libname}${release}${shared_ext}$major' -install_override_mode='' -postinstall_cmds='' -postuninstall_cmds='' -finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' -finish_eval='' -hardcode_into_libs='yes' -sys_lib_search_path_spec='/usr/lib/gcc/x86_64-linux-gnu/4.8 /usr/lib/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib ' -sys_lib_dlsearch_path_spec='/lib /usr/lib /usr/lib/x86_64-linux-gnu/fakechroot /usr/lib/x86_64-linux-gnu/libfakeroot /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /lib/i686-linux-gnu /usr/lib/i686-linux-gnu /usr/local/lib /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/mesa-egl /usr/lib/nvidia-340 /usr/lib32/nvidia-340 /usr/lib/x86_64-linux-gnu/mir/clientplatform/mesa /lib32 /usr/lib32 /libx32 /usr/libx32 ' -hardcode_action='immediate' -enable_dlopen='unknown' -enable_dlopen_self='unknown' -enable_dlopen_self_static='unknown' -old_striplib='strip --strip-debug' -striplib='strip --strip-unneeded' -compiler_lib_search_dirs='' -predep_objects='' -postdep_objects='' -predeps='' -postdeps='' -compiler_lib_search_path='' -LD_CXX='/usr/bin/ld -m elf_x86_64' -reload_flag_CXX=' -r' -reload_cmds_CXX='$LD$reload_flag -o $output$reload_objs' -old_archive_cmds_CXX='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib' -compiler_CXX='g++' -GCC_CXX='yes' -lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' -lt_prog_compiler_pic_CXX=' -fPIC -DPIC' -lt_prog_compiler_wl_CXX='-Wl,' -lt_prog_compiler_static_CXX='-static' -lt_cv_prog_compiler_c_o_CXX='yes' -archive_cmds_need_lc_CXX='no' -enable_shared_with_static_runtimes_CXX='no' -export_dynamic_flag_spec_CXX='${wl}--export-dynamic' -whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' -compiler_needs_object_CXX='no' -old_archive_from_new_cmds_CXX='' -old_archive_from_expsyms_cmds_CXX='' -archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' -archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' -module_cmds_CXX='' -module_expsym_cmds_CXX='' -with_gnu_ld_CXX='yes' -allow_undefined_flag_CXX='' -no_undefined_flag_CXX='' -hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' -hardcode_libdir_separator_CXX='' -hardcode_direct_CXX='no' -hardcode_direct_absolute_CXX='no' -hardcode_minus_L_CXX='no' -hardcode_shlibpath_var_CXX='unsupported' -hardcode_automatic_CXX='no' -inherit_rpath_CXX='no' -link_all_deplibs_CXX='no' -always_export_symbols_CXX='no' -export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' -exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' -include_expsyms_CXX='' -prelink_cmds_CXX='' -postlink_cmds_CXX='' -file_list_spec_CXX='' -hardcode_action_CXX='immediate' -compiler_lib_search_dirs_CXX='/usr/lib/gcc/x86_64-linux-gnu/4.8 /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /usr/lib/gcc/x86_64-linux-gnu/4.8/../../..' -predep_objects_CXX='/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.8/crtbeginS.o' -postdep_objects_CXX='/usr/lib/gcc/x86_64-linux-gnu/4.8/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crtn.o' -predeps_CXX='' -postdeps_CXX='-lstdc++ -lm -lgcc_s -lc -lgcc_s' -compiler_lib_search_path_CXX='-L/usr/lib/gcc/x86_64-linux-gnu/4.8 -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../..' - -LTCC='gcc' -LTCFLAGS='' -compiler='gcc' - -# A function that is used when there is no print builtin or printf. -func_fallback_echo () -{ - eval 'cat <<_LTECHO_EOF -$1 -_LTECHO_EOF' -} - -# Quote evaled strings. -for var in SHELL ECHO PATH_SEPARATOR SED GREP EGREP FGREP LD NM LN_S lt_SP2NL lt_NL2SP reload_flag OBJDUMP deplibs_check_method file_magic_cmd file_magic_glob want_nocaseglob DLLTOOL sharedlib_from_linklib_cmd AR AR_FLAGS archiver_list_spec STRIP RANLIB CC CFLAGS compiler lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl lt_cv_sys_global_symbol_to_c_name_address lt_cv_sys_global_symbol_to_c_name_address_lib_prefix nm_file_list_spec lt_prog_compiler_no_builtin_flag lt_prog_compiler_pic lt_prog_compiler_wl lt_prog_compiler_static lt_cv_prog_compiler_c_o need_locks MANIFEST_TOOL DSYMUTIL NMEDIT LIPO OTOOL OTOOL64 shrext_cmds export_dynamic_flag_spec whole_archive_flag_spec compiler_needs_object with_gnu_ld allow_undefined_flag no_undefined_flag hardcode_libdir_flag_spec hardcode_libdir_separator exclude_expsyms include_expsyms file_list_spec variables_saved_for_relink libname_spec library_names_spec soname_spec install_override_mode finish_eval old_striplib striplib compiler_lib_search_dirs predep_objects postdep_objects predeps postdeps compiler_lib_search_path LD_CXX reload_flag_CXX compiler_CXX lt_prog_compiler_no_builtin_flag_CXX lt_prog_compiler_pic_CXX lt_prog_compiler_wl_CXX lt_prog_compiler_static_CXX lt_cv_prog_compiler_c_o_CXX export_dynamic_flag_spec_CXX whole_archive_flag_spec_CXX compiler_needs_object_CXX with_gnu_ld_CXX allow_undefined_flag_CXX no_undefined_flag_CXX hardcode_libdir_flag_spec_CXX hardcode_libdir_separator_CXX exclude_expsyms_CXX include_expsyms_CXX file_list_spec_CXX compiler_lib_search_dirs_CXX predep_objects_CXX postdep_objects_CXX predeps_CXX postdeps_CXX compiler_lib_search_path_CXX; do - case `eval \\$ECHO \\""\\$$var"\\"` in - *[\\\`\"\$]*) - eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED \"\$sed_quote_subst\"\`\\\"" - ;; - *) - eval "lt_$var=\\\"\$$var\\\"" - ;; - esac -done - -# Double-quote double-evaled strings. -for var in reload_cmds old_postinstall_cmds old_postuninstall_cmds old_archive_cmds extract_expsyms_cmds old_archive_from_new_cmds old_archive_from_expsyms_cmds archive_cmds archive_expsym_cmds module_cmds module_expsym_cmds export_symbols_cmds prelink_cmds postlink_cmds postinstall_cmds postuninstall_cmds finish_cmds sys_lib_search_path_spec sys_lib_dlsearch_path_spec reload_cmds_CXX old_archive_cmds_CXX old_archive_from_new_cmds_CXX old_archive_from_expsyms_cmds_CXX archive_cmds_CXX archive_expsym_cmds_CXX module_cmds_CXX module_expsym_cmds_CXX export_symbols_cmds_CXX prelink_cmds_CXX postlink_cmds_CXX; do - case `eval \\$ECHO \\""\\$$var"\\"` in - *[\\\`\"\$]*) - eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" - ;; - *) - eval "lt_$var=\\\"\$$var\\\"" - ;; - esac -done - -ac_aux_dir='build-aux' -xsi_shell='yes' -lt_shell_append='yes' - -# See if we are running on zsh, and set the options which allow our -# commands through without removal of \ escapes INIT. -if test -n "${ZSH_VERSION+set}" ; then - setopt NO_GLOB_SUBST -fi - - - PACKAGE='gtest' - VERSION='1.6.0' - TIMESTAMP='' - RM='rm -f' - ofile='libtool' - - - - - - - -# Handling of arguments. -for ac_config_target in $ac_config_targets -do - case $ac_config_target in - "build-aux/config.h") CONFIG_HEADERS="$CONFIG_HEADERS build-aux/config.h" ;; - "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; - "scripts/gtest-config") CONFIG_FILES="$CONFIG_FILES scripts/gtest-config" ;; - "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; - "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; - - *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; - esac -done - - -# If the user did not use the arguments to specify the items to instantiate, -# then the envvar interface is used. Set only those that are not. -# We use the long form for the default assignment because of an extremely -# bizarre bug on SunOS 4.1.3. -if $ac_need_defaults; then - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands -fi - -# Have a temporary directory for convenience. Make it in the build tree -# simply because there is no reason against having it here, and in addition, -# creating and moving files from /tmp can sometimes cause problems. -# Hook for its removal unless debugging. -# Note that there is a small window in which the directory will not be cleaned: -# after its creation but before its name has been assigned to `$tmp'. -$debug || -{ - tmp= ac_tmp= - trap 'exit_status=$? - : "${ac_tmp:=$tmp}" - { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status -' 0 - trap 'as_fn_exit 1' 1 2 13 15 -} -# Create a (secure) tmp directory for tmp files. - -{ - tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && - test -d "$tmp" -} || -{ - tmp=./conf$$-$RANDOM - (umask 077 && mkdir "$tmp") -} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 -ac_tmp=$tmp - -# Set up the scripts for CONFIG_FILES section. -# No need to generate them if there are no CONFIG_FILES. -# This happens for instance with `./config.status config.h'. -if test -n "$CONFIG_FILES"; then - - -ac_cr=`echo X | tr X '\015'` -# On cygwin, bash can eat \r inside `` if the user requested igncr. -# But we know of no other shell where ac_cr would be empty at this -# point, so we can use a bashism as a fallback. -if test "x$ac_cr" = x; then - eval ac_cr=\$\'\\r\' -fi -ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` -if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then - ac_cs_awk_cr='\\r' -else - ac_cs_awk_cr=$ac_cr -fi - -echo 'BEGIN {' >"$ac_tmp/subs1.awk" && -cat >>"$ac_tmp/subs1.awk" <<\_ACAWK && -S["am__EXEEXT_FALSE"]="" -S["am__EXEEXT_TRUE"]="#" -S["LTLIBOBJS"]="" -S["LIBOBJS"]="" -S["HAVE_PTHREADS_FALSE"]="#" -S["HAVE_PTHREADS_TRUE"]="" -S["PTHREAD_CFLAGS"]="-pthread" -S["PTHREAD_LIBS"]="" -S["PTHREAD_CC"]="gcc" -S["acx_pthread_config"]="" -S["HAVE_PYTHON_FALSE"]="#" -S["HAVE_PYTHON_TRUE"]="" -S["PYTHON"]="/usr/bin/python" -S["CXXCPP"]="g++ -E" -S["CPP"]="gcc -E" -S["OTOOL64"]="" -S["OTOOL"]="" -S["LIPO"]="" -S["NMEDIT"]="" -S["DSYMUTIL"]="" -S["MANIFEST_TOOL"]=":" -S["RANLIB"]="ranlib" -S["ac_ct_AR"]="ar" -S["AR"]="ar" -S["DLLTOOL"]="false" -S["OBJDUMP"]="objdump" -S["LN_S"]="ln -s" -S["NM"]="/usr/bin/nm -B" -S["ac_ct_DUMPBIN"]="" -S["DUMPBIN"]="" -S["LD"]="/usr/bin/ld -m elf_x86_64" -S["FGREP"]="/bin/grep -F" -S["EGREP"]="/bin/grep -E" -S["GREP"]="/bin/grep" -S["SED"]="/bin/sed" -S["host_os"]="linux-gnu" -S["host_vendor"]="unknown" -S["host_cpu"]="x86_64" -S["host"]="x86_64-unknown-linux-gnu" -S["build_os"]="linux-gnu" -S["build_vendor"]="unknown" -S["build_cpu"]="x86_64" -S["build"]="x86_64-unknown-linux-gnu" -S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool" -S["am__fastdepCXX_FALSE"]="#" -S["am__fastdepCXX_TRUE"]="" -S["CXXDEPMODE"]="depmode=gcc3" -S["ac_ct_CXX"]="g++" -S["CXXFLAGS"]=" -g -DNDEBUG" -S["CXX"]="g++" -S["am__fastdepCC_FALSE"]="#" -S["am__fastdepCC_TRUE"]="" -S["CCDEPMODE"]="depmode=gcc3" -S["am__nodep"]="_no" -S["AMDEPBACKSLASH"]="\\" -S["AMDEP_FALSE"]="#" -S["AMDEP_TRUE"]="" -S["am__quote"]="" -S["am__include"]="include" -S["DEPDIR"]=".deps" -S["OBJEXT"]="o" -S["EXEEXT"]="" -S["ac_ct_CC"]="gcc" -S["CPPFLAGS"]="" -S["LDFLAGS"]="" -S["CFLAGS"]="" -S["CC"]="gcc" -S["am__untar"]="$${TAR-tar} xf -" -S["am__tar"]="$${TAR-tar} chof - \"$$tardir\"" -S["AMTAR"]="$${TAR-tar}" -S["am__leading_dot"]="." -S["SET_MAKE"]="" -S["AWK"]="gawk" -S["mkdir_p"]="/bin/mkdir -p" -S["MKDIR_P"]="/bin/mkdir -p" -S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s" -S["STRIP"]="strip" -S["install_sh"]="${SHELL} /tmp/tmp.Y9MHI5h24O/protobuf-2.5.0/gtest/build-aux/install-sh" -S["MAKEINFO"]="${SHELL} /tmp/tmp.Y9MHI5h24O/protobuf-2.5.0/gtest/build-aux/missing --run makeinfo" -S["AUTOHEADER"]="${SHELL} /tmp/tmp.Y9MHI5h24O/protobuf-2.5.0/gtest/build-aux/missing --run autoheader" -S["AUTOMAKE"]="${SHELL} /tmp/tmp.Y9MHI5h24O/protobuf-2.5.0/gtest/build-aux/missing --run automake-1.11" -S["AUTOCONF"]="${SHELL} /tmp/tmp.Y9MHI5h24O/protobuf-2.5.0/gtest/build-aux/missing --run autoconf" -S["ACLOCAL"]="${SHELL} /tmp/tmp.Y9MHI5h24O/protobuf-2.5.0/gtest/build-aux/missing --run aclocal-1.11" -S["VERSION"]="1.6.0" -S["PACKAGE"]="gtest" -S["CYGPATH_W"]="echo" -S["am__isrc"]="" -S["INSTALL_DATA"]="${INSTALL} -m 644" -S["INSTALL_SCRIPT"]="${INSTALL}" -S["INSTALL_PROGRAM"]="${INSTALL}" -S["target_alias"]="" -S["host_alias"]="" -S["build_alias"]="" -S["LIBS"]="" -S["ECHO_T"]="" -S["ECHO_N"]="-n" -S["ECHO_C"]="" -S["DEFS"]="-DHAVE_CONFIG_H" -S["mandir"]="${datarootdir}/man" -S["localedir"]="${datarootdir}/locale" -S["libdir"]="${exec_prefix}/lib" -S["psdir"]="${docdir}" -S["pdfdir"]="${docdir}" -S["dvidir"]="${docdir}" -S["htmldir"]="${docdir}" -S["infodir"]="${datarootdir}/info" -S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}" -S["oldincludedir"]="/usr/include" -S["includedir"]="${prefix}/include" -S["localstatedir"]="${prefix}/var" -S["sharedstatedir"]="${prefix}/com" -S["sysconfdir"]="${prefix}/etc" -S["datadir"]="${datarootdir}" -S["datarootdir"]="${prefix}/share" -S["libexecdir"]="${exec_prefix}/libexec" -S["sbindir"]="${exec_prefix}/sbin" -S["bindir"]="${exec_prefix}/bin" -S["program_transform_name"]="s,x,x," -S["prefix"]="/usr/local" -S["exec_prefix"]="${prefix}" -S["PACKAGE_URL"]="" -S["PACKAGE_BUGREPORT"]="googletestframework@googlegroups.com" -S["PACKAGE_STRING"]="Google C++ Testing Framework 1.6.0" -S["PACKAGE_VERSION"]="1.6.0" -S["PACKAGE_TARNAME"]="gtest" -S["PACKAGE_NAME"]="Google C++ Testing Framework" -S["PATH_SEPARATOR"]=":" -S["SHELL"]="/bin/sh" -_ACAWK -cat >>"$ac_tmp/subs1.awk" <<_ACAWK && - for (key in S) S_is_set[key] = 1 - FS = "" - -} -{ - line = $ 0 - nfields = split(line, field, "@") - substed = 0 - len = length(field[1]) - for (i = 2; i < nfields; i++) { - key = field[i] - keylen = length(key) - if (S_is_set[key]) { - value = S[key] - line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) - len += length(value) + length(field[++i]) - substed = 1 - } else - len += 1 + keylen - } - - print line -} - -_ACAWK -if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then - sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" -else - cat -fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ - || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 -fi # test -n "$CONFIG_FILES" - -# Set up the scripts for CONFIG_HEADERS section. -# No need to generate them if there are no CONFIG_HEADERS. -# This happens for instance with `./config.status Makefile'. -if test -n "$CONFIG_HEADERS"; then -cat >"$ac_tmp/defines.awk" <<\_ACAWK || -BEGIN { -D["PACKAGE_NAME"]=" \"Google C++ Testing Framework\"" -D["PACKAGE_TARNAME"]=" \"gtest\"" -D["PACKAGE_VERSION"]=" \"1.6.0\"" -D["PACKAGE_STRING"]=" \"Google C++ Testing Framework 1.6.0\"" -D["PACKAGE_BUGREPORT"]=" \"googletestframework@googlegroups.com\"" -D["PACKAGE_URL"]=" \"\"" -D["PACKAGE"]=" \"gtest\"" -D["VERSION"]=" \"1.6.0\"" -D["STDC_HEADERS"]=" 1" -D["HAVE_SYS_TYPES_H"]=" 1" -D["HAVE_SYS_STAT_H"]=" 1" -D["HAVE_STDLIB_H"]=" 1" -D["HAVE_STRING_H"]=" 1" -D["HAVE_MEMORY_H"]=" 1" -D["HAVE_STRINGS_H"]=" 1" -D["HAVE_INTTYPES_H"]=" 1" -D["HAVE_STDINT_H"]=" 1" -D["HAVE_UNISTD_H"]=" 1" -D["HAVE_DLFCN_H"]=" 1" -D["LT_OBJDIR"]=" \".libs/\"" -D["HAVE_PTHREAD"]=" 1" - for (key in D) D_is_set[key] = 1 - FS = "" -} -/^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ { - line = $ 0 - split(line, arg, " ") - if (arg[1] == "#") { - defundef = arg[2] - mac1 = arg[3] - } else { - defundef = substr(arg[1], 2) - mac1 = arg[2] - } - split(mac1, mac2, "(") #) - macro = mac2[1] - prefix = substr(line, 1, index(line, defundef) - 1) - if (D_is_set[macro]) { - # Preserve the white space surrounding the "#". - print prefix "define", macro P[macro] D[macro] - next - } else { - # Replace #undef with comments. This is necessary, for example, - # in the case of _POSIX_SOURCE, which is predefined and required - # on some systems where configure will not decide to define it. - if (defundef == "undef") { - print "/*", prefix defundef, macro, "*/" - next - } - } -} -{ print } -_ACAWK - as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 -fi # test -n "$CONFIG_HEADERS" - - -eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" -shift -for ac_tag -do - case $ac_tag in - :[FHLC]) ac_mode=$ac_tag; continue;; - esac - case $ac_mode$ac_tag in - :[FHL]*:*);; - :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; - :[FH]-) ac_tag=-:-;; - :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; - esac - ac_save_IFS=$IFS - IFS=: - set x $ac_tag - IFS=$ac_save_IFS - shift - ac_file=$1 - shift - - case $ac_mode in - :L) ac_source=$1;; - :[FH]) - ac_file_inputs= - for ac_f - do - case $ac_f in - -) ac_f="$ac_tmp/stdin";; - *) # Look for the file first in the build tree, then in the source tree - # (if the path is not absolute). The absolute path cannot be DOS-style, - # because $ac_f cannot contain `:'. - test -f "$ac_f" || - case $ac_f in - [\\/$]*) false;; - *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; - esac || - as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; - esac - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac - as_fn_append ac_file_inputs " '$ac_f'" - done - - # Let's still pretend it is `configure' which instantiates (i.e., don't - # use $as_me), people would be surprised to read: - # /* config.h. Generated by config.status. */ - configure_input='Generated from '` - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' - `' by configure.' - if test x"$ac_file" != x-; then - configure_input="$ac_file. $configure_input" - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 -$as_echo "$as_me: creating $ac_file" >&6;} - fi - # Neutralize special characters interpreted by sed in replacement strings. - case $configure_input in #( - *\&* | *\|* | *\\* ) - ac_sed_conf_input=`$as_echo "$configure_input" | - sed 's/[\\\\&|]/\\\\&/g'`;; #( - *) ac_sed_conf_input=$configure_input;; - esac - - case $ac_tag in - *:-:* | *:-) cat >"$ac_tmp/stdin" \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; - esac - ;; - esac - - ac_dir=`$as_dirname -- "$ac_file" || -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$ac_file" : 'X\(//\)[^/]' \| \ - X"$ac_file" : 'X\(//\)$' \| \ - X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$ac_file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - as_dir="$ac_dir"; as_fn_mkdir_p - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - - case $ac_mode in - :F) - # - # CONFIG_FILE - # - - case $INSTALL in - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; - *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; - esac - ac_MKDIR_P=$MKDIR_P - case $MKDIR_P in - [\\/$]* | ?:[\\/]* ) ;; - */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; - esac -# If the template does not know about datarootdir, expand it. -# FIXME: This hack should be removed a few years after 2.60. -ac_datarootdir_hack=; ac_datarootdir_seen= -ac_sed_dataroot=' -/datarootdir/ { - p - q -} -/@datadir@/p -/@docdir@/p -/@infodir@/p -/@localedir@/p -/@mandir@/p' -case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in -*datarootdir*) ac_datarootdir_seen=yes;; -*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} - ac_datarootdir_hack=' - s&@datadir@&${datarootdir}&g - s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g - s&@infodir@&${datarootdir}/info&g - s&@localedir@&${datarootdir}/locale&g - s&@mandir@&${datarootdir}/man&g - s&\${datarootdir}&${prefix}/share&g' ;; -esac -ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{ -h -s/// -s/^/:/ -s/[ ]*$/:/ -s/:\$(srcdir):/:/g -s/:\${srcdir}:/:/g -s/:@srcdir@:/:/g -s/^:*// -s/:*$// -x -s/\(=[ ]*\).*/\1/ -G -s/\n// -s/^[^=]*=[ ]*$// -} - -:t -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -s|@configure_input@|$ac_sed_conf_input|;t t -s&@top_builddir@&$ac_top_builddir_sub&;t t -s&@top_build_prefix@&$ac_top_build_prefix&;t t -s&@srcdir@&$ac_srcdir&;t t -s&@abs_srcdir@&$ac_abs_srcdir&;t t -s&@top_srcdir@&$ac_top_srcdir&;t t -s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t -s&@builddir@&$ac_builddir&;t t -s&@abs_builddir@&$ac_abs_builddir&;t t -s&@abs_top_builddir@&$ac_abs_top_builddir&;t t -s&@INSTALL@&$ac_INSTALL&;t t -s&@MKDIR_P@&$ac_MKDIR_P&;t t -$ac_datarootdir_hack -" -eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ - >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 - -test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && - { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ - "$ac_tmp/out"`; test -z "$ac_out"; } && - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined" >&5 -$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined" >&2;} - - rm -f "$ac_tmp/stdin" - case $ac_file in - -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; - *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; - esac \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 - ;; - :H) - # - # CONFIG_HEADER - # - if test x"$ac_file" != x-; then - { - $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" - } >"$ac_tmp/config.h" \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 - if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 -$as_echo "$as_me: $ac_file is unchanged" >&6;} - else - rm -f "$ac_file" - mv "$ac_tmp/config.h" "$ac_file" \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 - fi - else - $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ - || as_fn_error $? "could not create -" "$LINENO" 5 - fi -# Compute "$ac_file"'s index in $config_headers. -_am_arg="$ac_file" -_am_stamp_count=1 -for _am_header in $config_headers :; do - case $_am_header in - $_am_arg | $_am_arg:* ) - break ;; - * ) - _am_stamp_count=`expr $_am_stamp_count + 1` ;; - esac -done -echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || -$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$_am_arg" : 'X\(//\)[^/]' \| \ - X"$_am_arg" : 'X\(//\)$' \| \ - X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$_am_arg" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'`/stamp-h$_am_stamp_count - ;; - - :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 -$as_echo "$as_me: executing $ac_file commands" >&6;} - ;; - esac - - - case $ac_file$ac_mode in - "scripts/gtest-config":F) chmod +x scripts/gtest-config ;; - "depfiles":C) test x"$AMDEP_TRUE" != x"" || { - # Autoconf 2.62 quotes --file arguments for eval, but not when files - # are listed without --file. Let's play safe and only enable the eval - # if we detect the quoting. - case $CONFIG_FILES in - *\'*) eval set x "$CONFIG_FILES" ;; - *) set x $CONFIG_FILES ;; - esac - shift - for mf - do - # Strip MF so we end up with the name of the file. - mf=`echo "$mf" | sed -e 's/:.*$//'` - # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named `Makefile.in', but - # some people rename them; so instead we look at the file content. - # Grep'ing the first line is not enough: some people post-process - # each Makefile.in and add a new line on top of each file to say so. - # Grep'ing the whole file is not good either: AIX grep has a line - # limit of 2048, but all sed's we know have understand at least 4000. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then - dirpart=`$as_dirname -- "$mf" || -$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$mf" : 'X\(//\)[^/]' \| \ - X"$mf" : 'X\(//\)$' \| \ - X"$mf" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$mf" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - else - continue - fi - # Extract the definition of DEPDIR, am__include, and am__quote - # from the Makefile without running `make'. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` - test -z "$DEPDIR" && continue - am__include=`sed -n 's/^am__include = //p' < "$mf"` - test -z "am__include" && continue - am__quote=`sed -n 's/^am__quote = //p' < "$mf"` - # When using ansi2knr, U may be empty or an underscore; expand it - U=`sed -n 's/^U = //p' < "$mf"` - # Find all dependency output files, they are included files with - # $(DEPDIR) in their names. We invoke sed twice because it is the - # simplest approach to changing $(DEPDIR) to its actual value in the - # expansion. - for file in `sed -n " - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do - # Make sure the directory exists. - test -f "$dirpart/$file" && continue - fdir=`$as_dirname -- "$file" || -$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$file" : 'X\(//\)[^/]' \| \ - X"$file" : 'X\(//\)$' \| \ - X"$file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - as_dir=$dirpart/$fdir; as_fn_mkdir_p - # echo "creating $dirpart/$file" - echo '# dummy' > "$dirpart/$file" - done - done -} - ;; - "libtool":C) - - # See if we are running on zsh, and set the options which allow our - # commands through without removal of \ escapes. - if test -n "${ZSH_VERSION+set}" ; then - setopt NO_GLOB_SUBST - fi - - cfgfile="${ofile}T" - trap "$RM \"$cfgfile\"; exit 1" 1 2 15 - $RM "$cfgfile" - - cat <<_LT_EOF >> "$cfgfile" -#! $SHELL - -# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. -# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: -# NOTE: Changes made to this file will be lost: look at ltmain.sh. -# -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, -# 2006, 2007, 2008, 2009, 2010, 2011 Free Software -# Foundation, Inc. -# Written by Gordon Matzigkeit, 1996 -# -# This file is part of GNU Libtool. -# -# GNU Libtool is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of -# the License, or (at your option) any later version. -# -# As a special exception to the GNU General Public License, -# if you distribute this file as part of a program or library that -# is built using GNU Libtool, you may include this file under the -# same distribution terms that you use for the rest of that program. -# -# GNU Libtool is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with GNU Libtool; see the file COPYING. If not, a copy -# can be downloaded from http://www.gnu.org/licenses/gpl.html, or -# obtained by writing to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -# The names of the tagged configurations supported by this script. -available_tags="CXX " - -# ### BEGIN LIBTOOL CONFIG - -# Which release of libtool.m4 was used? -macro_version=$macro_version -macro_revision=$macro_revision - -# Whether or not to build shared libraries. -build_libtool_libs=$enable_shared - -# Whether or not to build static libraries. -build_old_libs=$enable_static - -# What type of objects to build. -pic_mode=$pic_mode - -# Whether or not to optimize for fast installation. -fast_install=$enable_fast_install - -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL - -# An echo program that protects backslashes. -ECHO=$lt_ECHO - -# The PATH separator for the build system. -PATH_SEPARATOR=$lt_PATH_SEPARATOR - -# The host system. -host_alias=$host_alias -host=$host -host_os=$host_os - -# The build system. -build_alias=$build_alias -build=$build -build_os=$build_os - -# A sed program that does not truncate output. -SED=$lt_SED - -# Sed that helps us avoid accidentally triggering echo(1) options like -n. -Xsed="\$SED -e 1s/^X//" - -# A grep program that handles long lines. -GREP=$lt_GREP - -# An ERE matcher. -EGREP=$lt_EGREP - -# A literal string matcher. -FGREP=$lt_FGREP - -# A BSD- or MS-compatible name lister. -NM=$lt_NM - -# Whether we need soft or hard links. -LN_S=$lt_LN_S - -# What is the maximum length of a command? -max_cmd_len=$max_cmd_len - -# Object file suffix (normally "o"). -objext=$ac_objext - -# Executable file suffix (normally ""). -exeext=$exeext - -# whether the shell understands "unset". -lt_unset=$lt_unset - -# turn spaces into newlines. -SP2NL=$lt_lt_SP2NL - -# turn newlines into spaces. -NL2SP=$lt_lt_NL2SP - -# convert \$build file names to \$host format. -to_host_file_cmd=$lt_cv_to_host_file_cmd - -# convert \$build files to toolchain format. -to_tool_file_cmd=$lt_cv_to_tool_file_cmd - -# An object symbol dumper. -OBJDUMP=$lt_OBJDUMP - -# Method to check whether dependent libraries are shared objects. -deplibs_check_method=$lt_deplibs_check_method - -# Command to use when deplibs_check_method = "file_magic". -file_magic_cmd=$lt_file_magic_cmd - -# How to find potential files when deplibs_check_method = "file_magic". -file_magic_glob=$lt_file_magic_glob - -# Find potential files using nocaseglob when deplibs_check_method = "file_magic". -want_nocaseglob=$lt_want_nocaseglob - -# DLL creation program. -DLLTOOL=$lt_DLLTOOL - -# Command to associate shared and link libraries. -sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd - -# The archiver. -AR=$lt_AR - -# Flags to create an archive. -AR_FLAGS=$lt_AR_FLAGS - -# How to feed a file listing to the archiver. -archiver_list_spec=$lt_archiver_list_spec - -# A symbol stripping program. -STRIP=$lt_STRIP - -# Commands used to install an old-style archive. -RANLIB=$lt_RANLIB -old_postinstall_cmds=$lt_old_postinstall_cmds -old_postuninstall_cmds=$lt_old_postuninstall_cmds - -# Whether to use a lock for old archive extraction. -lock_old_archive_extraction=$lock_old_archive_extraction - -# A C compiler. -LTCC=$lt_CC - -# LTCC compiler flags. -LTCFLAGS=$lt_CFLAGS - -# Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe - -# Transform the output of nm in a proper C declaration. -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl - -# Transform the output of nm in a C name address pair. -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address - -# Transform the output of nm in a C name address pair when lib prefix is needed. -global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix - -# Specify filename containing input files for \$NM. -nm_file_list_spec=$lt_nm_file_list_spec - -# The root where to search for dependent libraries,and in which our libraries should be installed. -lt_sysroot=$lt_sysroot - -# The name of the directory that contains temporary libtool files. -objdir=$objdir - -# Used to examine libraries when file_magic_cmd begins with "file". -MAGIC_CMD=$MAGIC_CMD - -# Must we lock files when doing compilation? -need_locks=$lt_need_locks - -# Manifest tool. -MANIFEST_TOOL=$lt_MANIFEST_TOOL - -# Tool to manipulate archived DWARF debug symbol files on Mac OS X. -DSYMUTIL=$lt_DSYMUTIL - -# Tool to change global to local symbols on Mac OS X. -NMEDIT=$lt_NMEDIT - -# Tool to manipulate fat objects and archives on Mac OS X. -LIPO=$lt_LIPO - -# ldd/readelf like tool for Mach-O binaries on Mac OS X. -OTOOL=$lt_OTOOL - -# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. -OTOOL64=$lt_OTOOL64 - -# Old archive suffix (normally "a"). -libext=$libext - -# Shared library suffix (normally ".so"). -shrext_cmds=$lt_shrext_cmds - -# The commands to extract the exported symbol list from a shared archive. -extract_expsyms_cmds=$lt_extract_expsyms_cmds - -# Variables whose values should be saved in libtool wrapper scripts and -# restored at link time. -variables_saved_for_relink=$lt_variables_saved_for_relink - -# Do we need the "lib" prefix for modules? -need_lib_prefix=$need_lib_prefix - -# Do we need a version for libraries? -need_version=$need_version - -# Library versioning type. -version_type=$version_type - -# Shared library runtime path variable. -runpath_var=$runpath_var - -# Shared library path variable. -shlibpath_var=$shlibpath_var - -# Is shlibpath searched before the hard-coded library search path? -shlibpath_overrides_runpath=$shlibpath_overrides_runpath - -# Format of library name prefix. -libname_spec=$lt_libname_spec - -# List of archive names. First name is the real one, the rest are links. -# The last name is the one that the linker finds with -lNAME -library_names_spec=$lt_library_names_spec - -# The coded name of the library, if different from the real name. -soname_spec=$lt_soname_spec - -# Permission mode override for installation of shared libraries. -install_override_mode=$lt_install_override_mode - -# Command to use after installation of a shared archive. -postinstall_cmds=$lt_postinstall_cmds - -# Command to use after uninstallation of a shared archive. -postuninstall_cmds=$lt_postuninstall_cmds - -# Commands used to finish a libtool library installation in a directory. -finish_cmds=$lt_finish_cmds - -# As "finish_cmds", except a single script fragment to be evaled but -# not shown. -finish_eval=$lt_finish_eval - -# Whether we should hardcode library paths into libraries. -hardcode_into_libs=$hardcode_into_libs - -# Compile-time system search path for libraries. -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec - -# Run-time system search path for libraries. -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec - -# Whether dlopen is supported. -dlopen_support=$enable_dlopen - -# Whether dlopen of programs is supported. -dlopen_self=$enable_dlopen_self - -# Whether dlopen of statically linked programs is supported. -dlopen_self_static=$enable_dlopen_self_static - -# Commands to strip libraries. -old_striplib=$lt_old_striplib -striplib=$lt_striplib - - -# The linker used to build libraries. -LD=$lt_LD - -# How to create reloadable object files. -reload_flag=$lt_reload_flag -reload_cmds=$lt_reload_cmds - -# Commands used to build an old-style archive. -old_archive_cmds=$lt_old_archive_cmds - -# A language specific compiler. -CC=$lt_compiler - -# Is the compiler the GNU compiler? -with_gcc=$GCC - -# Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag - -# Additional compiler flags for building library objects. -pic_flag=$lt_lt_prog_compiler_pic - -# How to pass a linker flag through the compiler. -wl=$lt_lt_prog_compiler_wl - -# Compiler flag to prevent dynamic linking. -link_static_flag=$lt_lt_prog_compiler_static - -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_lt_cv_prog_compiler_c_o - -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$archive_cmds_need_lc - -# Whether or not to disallow shared libs when runtime libs are static. -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes - -# Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec - -# Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec - -# Whether the compiler copes with passing no objects directly. -compiler_needs_object=$lt_compiler_needs_object - -# Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds - -# Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds - -# Commands used to build a shared archive. -archive_cmds=$lt_archive_cmds -archive_expsym_cmds=$lt_archive_expsym_cmds - -# Commands used to build a loadable module if different from building -# a shared archive. -module_cmds=$lt_module_cmds -module_expsym_cmds=$lt_module_expsym_cmds - -# Whether we are building with GNU ld or not. -with_gnu_ld=$lt_with_gnu_ld - -# Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag - -# Flag that enforces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag - -# Flag to hardcode \$libdir into a binary during linking. -# This must work even if \$libdir does not exist -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec - -# Whether we need a single "-rpath" flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator - -# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes -# DIR into the resulting binary. -hardcode_direct=$hardcode_direct - -# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes -# DIR into the resulting binary and the resulting library dependency is -# "absolute",i.e impossible to change by setting \${shlibpath_var} if the -# library is relocated. -hardcode_direct_absolute=$hardcode_direct_absolute - -# Set to "yes" if using the -LDIR flag during linking hardcodes DIR -# into the resulting binary. -hardcode_minus_L=$hardcode_minus_L - -# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR -# into the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var - -# Set to "yes" if building a shared library automatically hardcodes DIR -# into the library and all subsequent libraries and executables linked -# against it. -hardcode_automatic=$hardcode_automatic - -# Set to yes if linker adds runtime paths of dependent libraries -# to runtime path list. -inherit_rpath=$inherit_rpath - -# Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs - -# Set to "yes" if exported symbols are required. -always_export_symbols=$always_export_symbols - -# The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds - -# Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms - -# Symbols that must always be exported. -include_expsyms=$lt_include_expsyms - -# Commands necessary for linking programs (against libraries) with templates. -prelink_cmds=$lt_prelink_cmds - -# Commands necessary for finishing linking programs. -postlink_cmds=$lt_postlink_cmds - -# Specify filename containing input files. -file_list_spec=$lt_file_list_spec - -# How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action - -# The directories searched by this compiler when creating a shared library. -compiler_lib_search_dirs=$lt_compiler_lib_search_dirs - -# Dependencies to place before and after the objects being linked to -# create a shared library. -predep_objects=$lt_predep_objects -postdep_objects=$lt_postdep_objects -predeps=$lt_predeps -postdeps=$lt_postdeps - -# The library search path used internally by the compiler when linking -# a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path - -# ### END LIBTOOL CONFIG - -_LT_EOF - - case $host_os in - aix3*) - cat <<\_LT_EOF >> "$cfgfile" -# AIX sometimes has problems with the GCC collect2 program. For some -# reason, if we set the COLLECT_NAMES environment variable, the problems -# vanish in a puff of smoke. -if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES -fi -_LT_EOF - ;; - esac - - -ltmain="$ac_aux_dir/ltmain.sh" - - - # We use sed instead of cat because bash on DJGPP gets confused if - # if finds mixed CR/LF and LF-only lines. Since sed operates in - # text mode, it properly converts lines to CR/LF. This bash problem - # is reportedly fixed, but why not run on old versions too? - sed '$q' "$ltmain" >> "$cfgfile" \ - || (rm -f "$cfgfile"; exit 1) - - if test x"$xsi_shell" = xyes; then - sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ -func_dirname ()\ -{\ -\ case ${1} in\ -\ */*) func_dirname_result="${1%/*}${2}" ;;\ -\ * ) func_dirname_result="${3}" ;;\ -\ esac\ -} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - sed -e '/^func_basename ()$/,/^} # func_basename /c\ -func_basename ()\ -{\ -\ func_basename_result="${1##*/}"\ -} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ -func_dirname_and_basename ()\ -{\ -\ case ${1} in\ -\ */*) func_dirname_result="${1%/*}${2}" ;;\ -\ * ) func_dirname_result="${3}" ;;\ -\ esac\ -\ func_basename_result="${1##*/}"\ -} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ -func_stripname ()\ -{\ -\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ -\ # positional parameters, so assign one to ordinary parameter first.\ -\ func_stripname_result=${3}\ -\ func_stripname_result=${func_stripname_result#"${1}"}\ -\ func_stripname_result=${func_stripname_result%"${2}"}\ -} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ -func_split_long_opt ()\ -{\ -\ func_split_long_opt_name=${1%%=*}\ -\ func_split_long_opt_arg=${1#*=}\ -} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ -func_split_short_opt ()\ -{\ -\ func_split_short_opt_arg=${1#??}\ -\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ -} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ -func_lo2o ()\ -{\ -\ case ${1} in\ -\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ -\ *) func_lo2o_result=${1} ;;\ -\ esac\ -} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - sed -e '/^func_xform ()$/,/^} # func_xform /c\ -func_xform ()\ -{\ - func_xform_result=${1%.*}.lo\ -} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - sed -e '/^func_arith ()$/,/^} # func_arith /c\ -func_arith ()\ -{\ - func_arith_result=$(( $* ))\ -} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - sed -e '/^func_len ()$/,/^} # func_len /c\ -func_len ()\ -{\ - func_len_result=${#1}\ -} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - -fi - -if test x"$lt_shell_append" = xyes; then - sed -e '/^func_append ()$/,/^} # func_append /c\ -func_append ()\ -{\ - eval "${1}+=\\${2}"\ -} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ -func_append_quoted ()\ -{\ -\ func_quote_for_eval "${2}"\ -\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ -} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - # Save a `func_append' function call where possible by direct use of '+=' - sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") - test 0 -eq $? || _lt_function_replace_fail=: -else - # Save a `func_append' function call even when '+=' is not available - sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") - test 0 -eq $? || _lt_function_replace_fail=: -fi - -if test x"$_lt_function_replace_fail" = x":"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 -$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} -fi - - - mv -f "$cfgfile" "$ofile" || - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") - chmod +x "$ofile" - - - cat <<_LT_EOF >> "$ofile" - -# ### BEGIN LIBTOOL TAG CONFIG: CXX - -# The linker used to build libraries. -LD=$lt_LD_CXX - -# How to create reloadable object files. -reload_flag=$lt_reload_flag_CXX -reload_cmds=$lt_reload_cmds_CXX - -# Commands used to build an old-style archive. -old_archive_cmds=$lt_old_archive_cmds_CXX - -# A language specific compiler. -CC=$lt_compiler_CXX - -# Is the compiler the GNU compiler? -with_gcc=$GCC_CXX - -# Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX - -# Additional compiler flags for building library objects. -pic_flag=$lt_lt_prog_compiler_pic_CXX - -# How to pass a linker flag through the compiler. -wl=$lt_lt_prog_compiler_wl_CXX - -# Compiler flag to prevent dynamic linking. -link_static_flag=$lt_lt_prog_compiler_static_CXX - -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX - -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$archive_cmds_need_lc_CXX - -# Whether or not to disallow shared libs when runtime libs are static. -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX - -# Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX - -# Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX - -# Whether the compiler copes with passing no objects directly. -compiler_needs_object=$lt_compiler_needs_object_CXX - -# Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX - -# Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX - -# Commands used to build a shared archive. -archive_cmds=$lt_archive_cmds_CXX -archive_expsym_cmds=$lt_archive_expsym_cmds_CXX - -# Commands used to build a loadable module if different from building -# a shared archive. -module_cmds=$lt_module_cmds_CXX -module_expsym_cmds=$lt_module_expsym_cmds_CXX - -# Whether we are building with GNU ld or not. -with_gnu_ld=$lt_with_gnu_ld_CXX - -# Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag_CXX - -# Flag that enforces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag_CXX - -# Flag to hardcode \$libdir into a binary during linking. -# This must work even if \$libdir does not exist -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX - -# Whether we need a single "-rpath" flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX - -# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes -# DIR into the resulting binary. -hardcode_direct=$hardcode_direct_CXX - -# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes -# DIR into the resulting binary and the resulting library dependency is -# "absolute",i.e impossible to change by setting \${shlibpath_var} if the -# library is relocated. -hardcode_direct_absolute=$hardcode_direct_absolute_CXX - -# Set to "yes" if using the -LDIR flag during linking hardcodes DIR -# into the resulting binary. -hardcode_minus_L=$hardcode_minus_L_CXX - -# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR -# into the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX - -# Set to "yes" if building a shared library automatically hardcodes DIR -# into the library and all subsequent libraries and executables linked -# against it. -hardcode_automatic=$hardcode_automatic_CXX - -# Set to yes if linker adds runtime paths of dependent libraries -# to runtime path list. -inherit_rpath=$inherit_rpath_CXX - -# Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs_CXX - -# Set to "yes" if exported symbols are required. -always_export_symbols=$always_export_symbols_CXX - -# The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds_CXX - -# Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms_CXX - -# Symbols that must always be exported. -include_expsyms=$lt_include_expsyms_CXX - -# Commands necessary for linking programs (against libraries) with templates. -prelink_cmds=$lt_prelink_cmds_CXX - -# Commands necessary for finishing linking programs. -postlink_cmds=$lt_postlink_cmds_CXX - -# Specify filename containing input files. -file_list_spec=$lt_file_list_spec_CXX - -# How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action_CXX - -# The directories searched by this compiler when creating a shared library. -compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX - -# Dependencies to place before and after the objects being linked to -# create a shared library. -predep_objects=$lt_predep_objects_CXX -postdep_objects=$lt_postdep_objects_CXX -predeps=$lt_predeps_CXX -postdeps=$lt_postdeps_CXX - -# The library search path used internally by the compiler when linking -# a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path_CXX - -# ### END LIBTOOL TAG CONFIG: CXX -_LT_EOF - - ;; - - esac -done # for ac_tag - - -as_fn_exit 0 diff --git a/third_party/protobuf/python/google/protobuf/__init__.py b/third_party/protobuf/python/google/protobuf/__init__.py index 9ce06a81..e69de29b 100755 --- a/third_party/protobuf/python/google/protobuf/__init__.py +++ b/third_party/protobuf/python/google/protobuf/__init__.py @@ -1 +0,0 @@ -# dummy diff --git a/third_party/protobuf/python/google/protobuf/internal/__init__.py b/third_party/protobuf/python/google/protobuf/internal/__init__.py index 9ce06a81..e69de29b 100755 --- a/third_party/protobuf/python/google/protobuf/internal/__init__.py +++ b/third_party/protobuf/python/google/protobuf/internal/__init__.py @@ -1 +0,0 @@ -# dummy diff --git a/third_party/stringencoders/src/config.h b/third_party/stringencoders/src/config.h index 48630b0f..e69de29b 100644 --- a/third_party/stringencoders/src/config.h +++ b/third_party/stringencoders/src/config.h @@ -1 +0,0 @@ -// dummy